@kwonye/mcpx 0.1.73 → 0.1.75
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/adapters/claude-desktop.d.ts.map +1 -1
- package/dist/adapters/kiro.d.ts +2 -1
- package/dist/adapters/kiro.d.ts.map +1 -1
- package/dist/adapters/qwen.d.ts +2 -1
- package/dist/adapters/qwen.d.ts.map +1 -1
- package/dist/adapters/utils/index.d.ts.map +1 -1
- package/dist/{cli-ezvj44tr.js → cli-e9hdd44n.js} +201 -88
- package/dist/{cli-7rggq938.js → cli-fh6jh7fs.js} +202 -89
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +153 -35
- package/dist/core/daemon.d.ts.map +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +9 -1
- package/dist/core/paths.d.ts +1 -0
- package/dist/core/paths.d.ts.map +1 -1
- package/dist/core/proxy.d.ts +2 -0
- package/dist/core/proxy.d.ts.map +1 -0
- package/dist/core/skills.d.ts +6 -0
- package/dist/core/skills.d.ts.map +1 -0
- package/dist/core/sync.d.ts.map +1 -1
- package/dist/types.d.ts +5 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAm/CA,wBAAsB,MAAM,CAAC,IAAI,WAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAkE/D"}
|
package/dist/cli.js
CHANGED
|
@@ -8,13 +8,18 @@ import {
|
|
|
8
8
|
buildStatusReport,
|
|
9
9
|
checkForUpdates,
|
|
10
10
|
defaultAuthSecretName,
|
|
11
|
+
deleteSkill,
|
|
12
|
+
ensureGatewayToken,
|
|
11
13
|
getAdapters,
|
|
12
14
|
getConfigPath,
|
|
13
15
|
getDaemonStatus,
|
|
16
|
+
getGatewayUrl,
|
|
14
17
|
getManagedIndexPath,
|
|
18
|
+
getSkill,
|
|
15
19
|
getStagedCliPath,
|
|
16
20
|
getStagedUpdate,
|
|
17
21
|
listAuthBindings,
|
|
22
|
+
listSkills,
|
|
18
23
|
loadConfig,
|
|
19
24
|
loadManagedIndex,
|
|
20
25
|
maybePrefixBearer,
|
|
@@ -30,13 +35,14 @@ import {
|
|
|
30
35
|
runBackgroundUpdate,
|
|
31
36
|
runDaemonForeground,
|
|
32
37
|
saveConfig,
|
|
38
|
+
saveSkill,
|
|
33
39
|
secretRefName,
|
|
34
40
|
setServerEnabled,
|
|
35
41
|
startDaemon,
|
|
36
42
|
stopDaemon,
|
|
37
43
|
syncAllClients,
|
|
38
44
|
toSecretRef
|
|
39
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-fh6jh7fs.js";
|
|
40
46
|
import {
|
|
41
47
|
isServerEnabled
|
|
42
48
|
} from "./cli-q8de7zb0.js";
|
|
@@ -802,6 +808,77 @@ function parseCompatibilityArgs(argv) {
|
|
|
802
808
|
};
|
|
803
809
|
}
|
|
804
810
|
|
|
811
|
+
// src/core/proxy.ts
|
|
812
|
+
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
813
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
814
|
+
async function runStdioProxy(serverName) {
|
|
815
|
+
const config = loadConfig();
|
|
816
|
+
const secrets = new SecretsManager;
|
|
817
|
+
const localToken = ensureGatewayToken(config, secrets);
|
|
818
|
+
const gatewayUrl = getGatewayUrl(config);
|
|
819
|
+
if (process.env.MCPX_SKIP_DAEMON_AUTOSTART !== "1") {
|
|
820
|
+
const status = getDaemonStatus(config);
|
|
821
|
+
if (!status.running) {
|
|
822
|
+
const cliPath = process.argv[1] ?? "";
|
|
823
|
+
await startDaemon(config, cliPath, secrets);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
const upstreamUrl = new URL(`${gatewayUrl}?upstream=${encodeURIComponent(serverName)}`);
|
|
827
|
+
const httpTransport = new StreamableHTTPClientTransport(upstreamUrl, {
|
|
828
|
+
requestInit: {
|
|
829
|
+
headers: { Authorization: `Bearer ${localToken}` }
|
|
830
|
+
}
|
|
831
|
+
});
|
|
832
|
+
const stdioTransport = new StdioServerTransport;
|
|
833
|
+
let closed = false;
|
|
834
|
+
const shutdown = async (code = 0) => {
|
|
835
|
+
if (closed)
|
|
836
|
+
return;
|
|
837
|
+
closed = true;
|
|
838
|
+
try {
|
|
839
|
+
await httpTransport.close();
|
|
840
|
+
} catch {}
|
|
841
|
+
try {
|
|
842
|
+
await stdioTransport.close();
|
|
843
|
+
} catch {}
|
|
844
|
+
process.exit(code);
|
|
845
|
+
};
|
|
846
|
+
stdioTransport.onmessage = (msg) => {
|
|
847
|
+
httpTransport.send(msg).catch((err) => {
|
|
848
|
+
process.stderr.write(`[mcpx proxy] gateway send failed: ${err.message}
|
|
849
|
+
`);
|
|
850
|
+
});
|
|
851
|
+
};
|
|
852
|
+
httpTransport.onmessage = (msg) => {
|
|
853
|
+
stdioTransport.send(msg).catch((err) => {
|
|
854
|
+
process.stderr.write(`[mcpx proxy] stdio send failed: ${err.message}
|
|
855
|
+
`);
|
|
856
|
+
});
|
|
857
|
+
};
|
|
858
|
+
httpTransport.onerror = (err) => {
|
|
859
|
+
process.stderr.write(`[mcpx proxy] gateway error: ${err.message}
|
|
860
|
+
`);
|
|
861
|
+
};
|
|
862
|
+
stdioTransport.onerror = (err) => {
|
|
863
|
+
process.stderr.write(`[mcpx proxy] stdio error: ${err.message}
|
|
864
|
+
`);
|
|
865
|
+
};
|
|
866
|
+
httpTransport.onclose = () => {
|
|
867
|
+
shutdown(0);
|
|
868
|
+
};
|
|
869
|
+
stdioTransport.onclose = () => {
|
|
870
|
+
shutdown(0);
|
|
871
|
+
};
|
|
872
|
+
process.on("SIGTERM", () => {
|
|
873
|
+
shutdown(0);
|
|
874
|
+
});
|
|
875
|
+
process.on("SIGINT", () => {
|
|
876
|
+
shutdown(0);
|
|
877
|
+
});
|
|
878
|
+
await httpTransport.start();
|
|
879
|
+
await stdioTransport.start();
|
|
880
|
+
}
|
|
881
|
+
|
|
805
882
|
// src/cli.ts
|
|
806
883
|
var VALID_CLIENTS = STATUS_CLIENTS;
|
|
807
884
|
function parseKeyValueFlag(value, label) {
|
|
@@ -969,9 +1046,9 @@ async function ensureDaemonIfEnabled(cliPath, secrets) {
|
|
|
969
1046
|
}
|
|
970
1047
|
await startDaemon(config, cliPath, secrets);
|
|
971
1048
|
}
|
|
972
|
-
async function autoSyncManagedEntries(config) {
|
|
1049
|
+
async function autoSyncManagedEntries(config, cliPath) {
|
|
973
1050
|
const secrets = new SecretsManager;
|
|
974
|
-
await ensureDaemonIfEnabled(
|
|
1051
|
+
await ensureDaemonIfEnabled(cliPath, secrets);
|
|
975
1052
|
const summary = syncAllClients(config, secrets);
|
|
976
1053
|
printSyncSummary(summary, false);
|
|
977
1054
|
ensureExitCodeForSyncFailures(summary.hasErrors);
|
|
@@ -1392,16 +1469,16 @@ async function clearServerAuthInteractively(rl, serverName) {
|
|
|
1392
1469
|
}
|
|
1393
1470
|
saveConfig(config);
|
|
1394
1471
|
}
|
|
1395
|
-
async function reconnectGatewayAndSync() {
|
|
1472
|
+
async function reconnectGatewayAndSync(cliPath) {
|
|
1396
1473
|
const config = loadConfig();
|
|
1397
1474
|
const secrets = new SecretsManager;
|
|
1398
|
-
const restart = await restartDaemon(config,
|
|
1475
|
+
const restart = await restartDaemon(config, cliPath, secrets);
|
|
1399
1476
|
process.stdout.write(`${restart.message} pid=${restart.pid} port=${restart.port}
|
|
1400
1477
|
`);
|
|
1401
1478
|
const summary = syncAllClients(config, secrets);
|
|
1402
1479
|
printSyncSummary(summary, false);
|
|
1403
1480
|
}
|
|
1404
|
-
async function setServerEnabledInteractively(rl, serverName, enabled) {
|
|
1481
|
+
async function setServerEnabledInteractively(rl, serverName, enabled, cliPath) {
|
|
1405
1482
|
const action = enabled ? "enable" : "disable";
|
|
1406
1483
|
const confirmation = await promptLine(rl, `Type "${serverName}" to ${action} this MCP (blank to cancel): `);
|
|
1407
1484
|
if (confirmation !== serverName) {
|
|
@@ -1416,7 +1493,7 @@ async function setServerEnabledInteractively(rl, serverName, enabled) {
|
|
|
1416
1493
|
`);
|
|
1417
1494
|
process.stdout.write(`Auto-syncing managed gateway entries across all supported clients...
|
|
1418
1495
|
`);
|
|
1419
|
-
await autoSyncManagedEntries(config);
|
|
1496
|
+
await autoSyncManagedEntries(config, cliPath);
|
|
1420
1497
|
return true;
|
|
1421
1498
|
}
|
|
1422
1499
|
function buildServerActionTitle(server) {
|
|
@@ -1451,7 +1528,7 @@ function buildServerMenuDetail(server) {
|
|
|
1451
1528
|
const authSummary = server.authBindings.length > 0 ? "\uD83D\uDD10 auth configured • " : "";
|
|
1452
1529
|
return `${authSummary}${syncSummary}${errorSummary}`;
|
|
1453
1530
|
}
|
|
1454
|
-
async function runServerActionsMenu(rl, serverName) {
|
|
1531
|
+
async function runServerActionsMenu(rl, serverName, cliPath) {
|
|
1455
1532
|
while (true) {
|
|
1456
1533
|
const report = loadStatusReport();
|
|
1457
1534
|
const server = report.servers.find((entry) => entry.name === serverName);
|
|
@@ -1479,12 +1556,12 @@ async function runServerActionsMenu(rl, serverName) {
|
|
|
1479
1556
|
} else if (action === 2) {
|
|
1480
1557
|
await clearServerAuthInteractively(rl, serverName);
|
|
1481
1558
|
} else if (action === 3) {
|
|
1482
|
-
const updated = await setServerEnabledInteractively(rl, serverName, !server.enabled);
|
|
1559
|
+
const updated = await setServerEnabledInteractively(rl, serverName, !server.enabled, cliPath);
|
|
1483
1560
|
if (updated) {
|
|
1484
1561
|
return;
|
|
1485
1562
|
}
|
|
1486
1563
|
} else if (action === 4) {
|
|
1487
|
-
await reconnectGatewayAndSync();
|
|
1564
|
+
await reconnectGatewayAndSync(cliPath);
|
|
1488
1565
|
}
|
|
1489
1566
|
} catch (error) {
|
|
1490
1567
|
process.stdout.write(`${error.message}
|
|
@@ -1493,7 +1570,7 @@ async function runServerActionsMenu(rl, serverName) {
|
|
|
1493
1570
|
await promptLine(rl, "Press Enter to continue...");
|
|
1494
1571
|
}
|
|
1495
1572
|
}
|
|
1496
|
-
async function runInteractiveStatusMenu() {
|
|
1573
|
+
async function runInteractiveStatusMenu(cliPath) {
|
|
1497
1574
|
const rl = createInterface({
|
|
1498
1575
|
input: process.stdin,
|
|
1499
1576
|
output: process.stdout
|
|
@@ -1530,13 +1607,13 @@ async function runInteractiveStatusMenu() {
|
|
|
1530
1607
|
if (!server) {
|
|
1531
1608
|
continue;
|
|
1532
1609
|
}
|
|
1533
|
-
await runServerActionsMenu(rl, server.name);
|
|
1610
|
+
await runServerActionsMenu(rl, server.name, cliPath);
|
|
1534
1611
|
}
|
|
1535
1612
|
} finally {
|
|
1536
1613
|
rl.close();
|
|
1537
1614
|
}
|
|
1538
1615
|
}
|
|
1539
|
-
function registerEnabledCommand(parent, enabled) {
|
|
1616
|
+
function registerEnabledCommand(parent, enabled, cliPath) {
|
|
1540
1617
|
parent.command(enabled ? "enable <name>" : "disable <name>").description(`${enabled ? "Enable" : "Disable"} an upstream MCP server`).action(async (name) => {
|
|
1541
1618
|
const config = loadConfig();
|
|
1542
1619
|
setServerEnabled(config, name, enabled);
|
|
@@ -1545,10 +1622,10 @@ function registerEnabledCommand(parent, enabled) {
|
|
|
1545
1622
|
`);
|
|
1546
1623
|
process.stdout.write(`Auto-syncing managed gateway entries across all supported clients...
|
|
1547
1624
|
`);
|
|
1548
|
-
await autoSyncManagedEntries(config);
|
|
1625
|
+
await autoSyncManagedEntries(config, cliPath);
|
|
1549
1626
|
});
|
|
1550
1627
|
}
|
|
1551
|
-
function registerAddCommand(parent) {
|
|
1628
|
+
function registerAddCommand(parent, cliPath) {
|
|
1552
1629
|
parent.command("add [values...]").allowUnknownOption(true).option("--transport <transport>", "MCP transport (auto|http|stdio)", "auto").option("--header <header>", "Header entry in KEY=VALUE form", (value, previous = []) => [...previous, value], []).option("--env <env>", "Env entry in KEY=VALUE form for stdio upstreams", (value, previous = []) => [...previous, value], []).option("--cwd <cwd>", "Working directory for stdio upstream").option("--force", "Overwrite existing server with same name").description("Add an upstream MCP server").action(async (values, options) => {
|
|
1553
1630
|
const config = loadConfig();
|
|
1554
1631
|
const parsed = parseAddServerSpec(values ?? [], options);
|
|
@@ -1559,10 +1636,10 @@ function registerAddCommand(parent) {
|
|
|
1559
1636
|
`);
|
|
1560
1637
|
process.stdout.write(`Auto-syncing managed gateway entries across all supported clients...
|
|
1561
1638
|
`);
|
|
1562
|
-
await autoSyncManagedEntries(config);
|
|
1639
|
+
await autoSyncManagedEntries(config, cliPath);
|
|
1563
1640
|
});
|
|
1564
1641
|
}
|
|
1565
|
-
function registerRemoveCommand(parent) {
|
|
1642
|
+
function registerRemoveCommand(parent, cliPath) {
|
|
1566
1643
|
parent.command("remove <name>").option("--force", "Do not error if server does not exist").description("Remove an upstream MCP server").action(async (name, options) => {
|
|
1567
1644
|
const config = loadConfig();
|
|
1568
1645
|
removeServer(config, name, options.force ?? false);
|
|
@@ -1571,7 +1648,7 @@ function registerRemoveCommand(parent) {
|
|
|
1571
1648
|
`);
|
|
1572
1649
|
process.stdout.write(`Auto-syncing managed gateway entries across all supported clients...
|
|
1573
1650
|
`);
|
|
1574
|
-
await autoSyncManagedEntries(config);
|
|
1651
|
+
await autoSyncManagedEntries(config, cliPath);
|
|
1575
1652
|
});
|
|
1576
1653
|
}
|
|
1577
1654
|
function registerListCommand(parent) {
|
|
@@ -1601,18 +1678,18 @@ function registerListCommand(parent) {
|
|
|
1601
1678
|
}
|
|
1602
1679
|
});
|
|
1603
1680
|
}
|
|
1604
|
-
function registerSyncCommand(program) {
|
|
1681
|
+
function registerSyncCommand(program, cliPath) {
|
|
1605
1682
|
program.command("sync [clients...]").option("--client <id>", "Limit sync to specific client(s), comma-separated or repeated", (value, prev = []) => [...prev, value], []).option("--json", "Output JSON").description("Sync gateway configuration to supported clients (e.g. `mcpx sync claude`)").action(async (clients, options) => {
|
|
1606
1683
|
const config = loadConfig();
|
|
1607
1684
|
const targetClients = parseClientList([...clients ?? [], ...options.client ?? []]);
|
|
1608
1685
|
const secrets = new SecretsManager;
|
|
1609
|
-
await ensureDaemonIfEnabled(
|
|
1686
|
+
await ensureDaemonIfEnabled(cliPath, secrets);
|
|
1610
1687
|
const summary = syncAllClients(config, secrets, targetClients);
|
|
1611
1688
|
printSyncSummary(summary, options.json ?? false);
|
|
1612
1689
|
ensureExitCodeForSyncFailures(summary.hasErrors);
|
|
1613
1690
|
});
|
|
1614
1691
|
}
|
|
1615
|
-
function registerStatusCommand(program) {
|
|
1692
|
+
function registerStatusCommand(program, cliPath) {
|
|
1616
1693
|
program.command("status").option("--no-interactive", "Disable interactive status menu").option("--json", "Output JSON").description("Show gateway, daemon, MCP inventory, and client sync status").action(async (options) => {
|
|
1617
1694
|
const report = loadStatusReport();
|
|
1618
1695
|
if (options.json) {
|
|
@@ -1622,7 +1699,7 @@ function registerStatusCommand(program) {
|
|
|
1622
1699
|
}
|
|
1623
1700
|
const interactive = (options.interactive ?? true) && process.stdin.isTTY && process.stdout.isTTY;
|
|
1624
1701
|
if (interactive) {
|
|
1625
|
-
await runInteractiveStatusMenu();
|
|
1702
|
+
await runInteractiveStatusMenu(cliPath);
|
|
1626
1703
|
return;
|
|
1627
1704
|
}
|
|
1628
1705
|
printStatusReportText(report);
|
|
@@ -1856,6 +1933,39 @@ function registerAuthCommands(program) {
|
|
|
1856
1933
|
process.stdout.write("Run `mcpx sync <client>` (or `mcpx sync`) to update managed `mcpx` entries with the new token.\n");
|
|
1857
1934
|
});
|
|
1858
1935
|
}
|
|
1936
|
+
function registerSkillsCommands(program) {
|
|
1937
|
+
const skill = program.command("skill").description("Manage shared agent skills");
|
|
1938
|
+
skill.command("ls").description("List all skills").action(() => {
|
|
1939
|
+
const skills = listSkills();
|
|
1940
|
+
if (skills.length === 0) {
|
|
1941
|
+
process.stdout.write(`No skills found.
|
|
1942
|
+
`);
|
|
1943
|
+
return;
|
|
1944
|
+
}
|
|
1945
|
+
for (const s of skills) {
|
|
1946
|
+
process.stdout.write(`- ${s.id}
|
|
1947
|
+
`);
|
|
1948
|
+
}
|
|
1949
|
+
});
|
|
1950
|
+
skill.command("add <id>").description("Add a new skill").action(async (id) => {
|
|
1951
|
+
const existing = getSkill(id);
|
|
1952
|
+
if (existing) {
|
|
1953
|
+
process.stderr.write(`Skill "${id}" already exists.
|
|
1954
|
+
`);
|
|
1955
|
+
process.exit(1);
|
|
1956
|
+
}
|
|
1957
|
+
saveSkill(id, `# ${id}
|
|
1958
|
+
|
|
1959
|
+
Add your instructions here.`);
|
|
1960
|
+
process.stdout.write(`Skill "${id}" created.
|
|
1961
|
+
`);
|
|
1962
|
+
});
|
|
1963
|
+
skill.command("rm <id>").description("Remove a skill").action((id) => {
|
|
1964
|
+
deleteSkill(id);
|
|
1965
|
+
process.stdout.write(`Skill "${id}" removed.
|
|
1966
|
+
`);
|
|
1967
|
+
});
|
|
1968
|
+
}
|
|
1859
1969
|
function registerClientsCommands(program) {
|
|
1860
1970
|
const clients = program.command("clients").description("Client adapter utilities");
|
|
1861
1971
|
clients.command("list").option("--json", "Output JSON").description("List supported clients and detected config paths").action((options) => {
|
|
@@ -1933,12 +2043,17 @@ function registerUpdateCommand(program) {
|
|
|
1933
2043
|
}
|
|
1934
2044
|
});
|
|
1935
2045
|
}
|
|
1936
|
-
function
|
|
2046
|
+
function registerProxyCommand(program) {
|
|
2047
|
+
program.command("proxy <name>").description("Run a stdio MCP proxy bridging to the local mcpx HTTP gateway for the given upstream server").action(async (name) => {
|
|
2048
|
+
await runStdioProxy(name);
|
|
2049
|
+
});
|
|
2050
|
+
}
|
|
2051
|
+
function registerMcpCompat(program, cliPath) {
|
|
1937
2052
|
const mcp = program.command("mcp").description("Compatibility namespace for MCP commands");
|
|
1938
|
-
registerAddCommand(mcp);
|
|
1939
|
-
registerRemoveCommand(mcp);
|
|
1940
|
-
registerEnabledCommand(mcp, true);
|
|
1941
|
-
registerEnabledCommand(mcp, false);
|
|
2053
|
+
registerAddCommand(mcp, cliPath);
|
|
2054
|
+
registerRemoveCommand(mcp, cliPath);
|
|
2055
|
+
registerEnabledCommand(mcp, true, cliPath);
|
|
2056
|
+
registerEnabledCommand(mcp, false, cliPath);
|
|
1942
2057
|
registerListCommand(mcp);
|
|
1943
2058
|
}
|
|
1944
2059
|
async function runCli(argv = process.argv) {
|
|
@@ -1973,25 +2088,28 @@ async function runCli(argv = process.argv) {
|
|
|
1973
2088
|
argv = [argv[0], argv[1], "add", ...compat.normalizedArgs];
|
|
1974
2089
|
}
|
|
1975
2090
|
}
|
|
2091
|
+
const cliPath = argv[1] ?? "";
|
|
1976
2092
|
const program = new Command;
|
|
1977
2093
|
program.name("mcpx").description("HTTP-first MCP gateway and multi-client installer").version(APP_VERSION);
|
|
1978
|
-
registerAddCommand(program);
|
|
1979
|
-
registerRemoveCommand(program);
|
|
1980
|
-
registerEnabledCommand(program, true);
|
|
1981
|
-
registerEnabledCommand(program, false);
|
|
2094
|
+
registerAddCommand(program, cliPath);
|
|
2095
|
+
registerRemoveCommand(program, cliPath);
|
|
2096
|
+
registerEnabledCommand(program, true, cliPath);
|
|
2097
|
+
registerEnabledCommand(program, false, cliPath);
|
|
1982
2098
|
registerListCommand(program);
|
|
1983
|
-
registerSyncCommand(program);
|
|
1984
|
-
registerStatusCommand(program);
|
|
2099
|
+
registerSyncCommand(program, cliPath);
|
|
2100
|
+
registerStatusCommand(program, cliPath);
|
|
1985
2101
|
registerDoctorCommand(program);
|
|
1986
2102
|
registerDaemonCommands(program);
|
|
1987
2103
|
registerSecretsCommands(program);
|
|
1988
2104
|
registerAuthCommands(program);
|
|
1989
2105
|
registerClientsCommands(program);
|
|
1990
|
-
|
|
2106
|
+
registerSkillsCommands(program);
|
|
2107
|
+
registerProxyCommand(program);
|
|
2108
|
+
registerMcpCompat(program, cliPath);
|
|
1991
2109
|
registerUpdateCommand(program);
|
|
1992
2110
|
await program.parseAsync(argv);
|
|
1993
2111
|
}
|
|
1994
|
-
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
|
|
2112
|
+
if (process.argv[1] && import.meta.url === pathToFileURL(fs.realpathSync(process.argv[1])).href) {
|
|
1995
2113
|
runCli().catch((error) => {
|
|
1996
2114
|
process.stderr.write(`${error.message}
|
|
1997
2115
|
`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daemon.d.ts","sourceRoot":"","sources":["../../src/core/daemon.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AA6CD,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAmB5E;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,YAAY,CAmBhE;AAED,wBAAsB,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"daemon.d.ts","sourceRoot":"","sources":["../../src/core/daem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us, DaemonStartResult } from "./daemon.js";
|
|
|
4
4
|
export { syncAllClients, getGatewayUrl } from "./sync.js";
|
|
5
5
|
export type { SyncSummary } from "./sync.js";
|
|
6
6
|
export { addServer, removeServer, updateServer, setServerEnabled } from "./registry.js";
|
|
7
|
+
export { listSkills, getSkill, saveSkill, deleteSkill } from "./skills.js";
|
|
7
8
|
export { SecretsManager } from "./secrets.js";
|
|
8
9
|
export { applyAuthReference, removeAuthReference, listAuthBindings, resolveAuthTarget, defaultAuthSecretName, maybePrefixBearer, secretRefName, toSecretRef } from "./server-auth.js";
|
|
9
10
|
export { buildStatusReport, STATUS_CLIENTS } from "./status.js";
|
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGpE,OAAO,EACL,eAAe,EACf,WAAW,EACX,UAAU,EACV,aAAa,EACb,cAAc,EACd,mBAAmB,EACpB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGnE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1D,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGxF,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAChE,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AAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACpB,UAAU,EACV,mBAAmB,EACpB,MAAM,aAAa,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -9,13 +9,16 @@ import {
|
|
|
9
9
|
compareVersions,
|
|
10
10
|
defaultAuthSecretName,
|
|
11
11
|
defaultConfig,
|
|
12
|
+
deleteSkill,
|
|
12
13
|
getConfigPath,
|
|
13
14
|
getDaemonStatus,
|
|
14
15
|
getGatewayUrl,
|
|
15
16
|
getManagedIndexPath,
|
|
17
|
+
getSkill,
|
|
16
18
|
getStagedCliPath,
|
|
17
19
|
getStagedUpdate,
|
|
18
20
|
listAuthBindings,
|
|
21
|
+
listSkills,
|
|
19
22
|
loadConfig,
|
|
20
23
|
loadManagedIndex,
|
|
21
24
|
maybePrefixBearer,
|
|
@@ -29,6 +32,7 @@ import {
|
|
|
29
32
|
restartDaemon,
|
|
30
33
|
runDaemonForeground,
|
|
31
34
|
saveConfig,
|
|
35
|
+
saveSkill,
|
|
32
36
|
secretRefName,
|
|
33
37
|
setServerEnabled,
|
|
34
38
|
startBackgroundUpdateCheck,
|
|
@@ -37,7 +41,7 @@ import {
|
|
|
37
41
|
syncAllClients,
|
|
38
42
|
toSecretRef,
|
|
39
43
|
updateServer
|
|
40
|
-
} from "../cli-
|
|
44
|
+
} from "../cli-fh6jh7fs.js";
|
|
41
45
|
import"../cli-q8de7zb0.js";
|
|
42
46
|
export {
|
|
43
47
|
updateServer,
|
|
@@ -48,6 +52,7 @@ export {
|
|
|
48
52
|
startBackgroundUpdateCheck,
|
|
49
53
|
setServerEnabled,
|
|
50
54
|
secretRefName,
|
|
55
|
+
saveSkill,
|
|
51
56
|
saveConfig,
|
|
52
57
|
runDaemonForeground,
|
|
53
58
|
restartDaemon,
|
|
@@ -61,13 +66,16 @@ export {
|
|
|
61
66
|
maybePrefixBearer,
|
|
62
67
|
loadManagedIndex,
|
|
63
68
|
loadConfig,
|
|
69
|
+
listSkills,
|
|
64
70
|
listAuthBindings,
|
|
65
71
|
getStagedUpdate,
|
|
66
72
|
getStagedCliPath,
|
|
73
|
+
getSkill,
|
|
67
74
|
getManagedIndexPath,
|
|
68
75
|
getGatewayUrl,
|
|
69
76
|
getDaemonStatus,
|
|
70
77
|
getConfigPath,
|
|
78
|
+
deleteSkill,
|
|
71
79
|
defaultConfig,
|
|
72
80
|
defaultAuthSecretName,
|
|
73
81
|
compareVersions,
|
package/dist/core/paths.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare function getConfigRoot(): string;
|
|
|
3
3
|
export declare function getDataRoot(): string;
|
|
4
4
|
export declare function getStateRoot(): string;
|
|
5
5
|
export declare function getConfigPath(): string;
|
|
6
|
+
export declare function getSkillsDir(): string;
|
|
6
7
|
export declare function getManagedIndexPath(): string;
|
|
7
8
|
export declare function getSecretNamesPath(): string;
|
|
8
9
|
export declare function getRuntimeDir(): string;
|
package/dist/core/paths.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/core/paths.ts"],"names":[],"mappings":"AAaA,wBAAgB,OAAO,IAAI,MAAM,CAEhC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAED,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE/C;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAEtD"}
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/core/paths.ts"],"names":[],"mappings":"AAaA,wBAAgB,OAAO,IAAI,MAAM,CAEhC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAED,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE/C;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAEtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/core/proxy.ts"],"names":[],"mappings":"AASA,wBAAsB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA2DrE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Skill } from "../types.js";
|
|
2
|
+
export declare function listSkills(): Skill[];
|
|
3
|
+
export declare function getSkill(id: string): Skill | null;
|
|
4
|
+
export declare function saveSkill(id: string, content: string): void;
|
|
5
|
+
export declare function deleteSkill(id: string): void;
|
|
6
|
+
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/core/skills.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,wBAAgB,UAAU,IAAI,KAAK,EAAE,CAkBpC;AAED,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAUjD;AAED,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAM3D;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAO5C"}
|
package/dist/core/sync.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../src/core/sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EAER,UAAU,EACV,gBAAgB,EAChB,UAAU,EACX,MAAM,aAAa,CAAC;AAQrB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../src/core/sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EAER,UAAU,EACV,gBAAgB,EAChB,UAAU,EACX,MAAM,aAAa,CAAC;AAQrB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAExD;AAcD,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAG,WAAW,CA8HnH"}
|
package/dist/types.d.ts
CHANGED
|
@@ -101,12 +101,17 @@ export interface SyncResult {
|
|
|
101
101
|
configPath?: string;
|
|
102
102
|
message?: string;
|
|
103
103
|
}
|
|
104
|
+
export interface Skill {
|
|
105
|
+
id: string;
|
|
106
|
+
content: string;
|
|
107
|
+
}
|
|
104
108
|
export interface ClientAdapter {
|
|
105
109
|
id: ClientId;
|
|
106
110
|
detectConfigPath(): string | null;
|
|
107
111
|
supportsHttp(): boolean;
|
|
108
112
|
scanForImports(config: McpxConfig, managedIndex: ManagedIndex): ClientImportScanResult;
|
|
109
113
|
syncGateway(config: McpxConfig, options: SyncClientOptions): SyncResult;
|
|
114
|
+
syncSkills?(skills: Skill[]): void;
|
|
110
115
|
}
|
|
111
116
|
export interface SyncClientOptions {
|
|
112
117
|
managedEntries: ManagedGatewayEntry[];
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5H,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,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AAC;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAEjE;AAED,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,kBAAkB,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAK1G"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const APP_VERSION = "0.1.
|
|
1
|
+
export declare const APP_VERSION = "0.1.75";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|