@kwonye/mcpx 0.1.79 → 0.1.80
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-fsf33sgp.js → cli-08mgt3c8.js} +4 -1
- package/dist/{cli-7edpy4nk.js → cli-0ztrmp65.js} +1 -1
- package/dist/{cli-w4m7471h.js → cli-f2a6pkds.js} +9 -12
- package/dist/{cli-s4py8ckf.js → cli-ma89vavk.js} +42 -11
- package/dist/{cli-ydr75jw4.js → cli-wcxyqz7g.js} +10 -13
- package/dist/cli.js +12 -10
- package/dist/{config-79j3jpra.js → config-p8tjffpa.js} +2 -2
- package/dist/core/daemon.d.ts.map +1 -1
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +10 -4
- package/dist/core/paths.d.ts +1 -0
- package/dist/core/paths.d.ts.map +1 -1
- package/dist/core/registry.d.ts +1 -0
- package/dist/core/registry.d.ts.map +1 -1
- package/dist/core/update.d.ts +1 -0
- package/dist/core/update.d.ts.map +1 -1
- package/dist/{registry-1s14wd58.js → registry-b3cetq7x.js} +4 -2
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -44,6 +44,9 @@ function getPidPath() {
|
|
|
44
44
|
function getLogPath() {
|
|
45
45
|
return path.join(getLogDir(), "daemon.log");
|
|
46
46
|
}
|
|
47
|
+
function getGatewayTokenPath(secretName) {
|
|
48
|
+
return path.join(getConfigRoot(), "mcpx", `${secretName}.token`);
|
|
49
|
+
}
|
|
47
50
|
function getUpdatesDir() {
|
|
48
51
|
return path.join(getDataRoot(), "mcpx", "updates");
|
|
49
52
|
}
|
|
@@ -102,4 +105,4 @@ function sha256(value) {
|
|
|
102
105
|
return crypto.createHash("sha256").update(value).digest("hex");
|
|
103
106
|
}
|
|
104
107
|
|
|
105
|
-
export { homeDir, getConfigPath, getSkillsDir, getManagedIndexPath, getSecretNamesPath, getPidPath, getLogPath, getUpdatesDir, getStagedVersionPath, getUpdateLockPath, ensureDir, ensureParentDir, findProjectConfigPath, readJsonFile, writeJsonAtomic, sha256 };
|
|
108
|
+
export { homeDir, getConfigPath, getSkillsDir, getManagedIndexPath, getSecretNamesPath, getPidPath, getLogPath, getGatewayTokenPath, getUpdatesDir, getStagedVersionPath, getUpdateLockPath, ensureDir, ensureParentDir, findProjectConfigPath, readJsonFile, writeJsonAtomic, sha256 };
|
|
@@ -2,12 +2,11 @@ import {
|
|
|
2
2
|
loadConfig,
|
|
3
3
|
loadMergedConfig,
|
|
4
4
|
saveConfig
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-0ztrmp65.js";
|
|
6
6
|
import {
|
|
7
7
|
SecretsManager,
|
|
8
|
-
ensureGatewayToken
|
|
9
|
-
|
|
10
|
-
} from "./cli-s4py8ckf.js";
|
|
8
|
+
ensureGatewayToken
|
|
9
|
+
} from "./cli-ma89vavk.js";
|
|
11
10
|
import {
|
|
12
11
|
ensureDir,
|
|
13
12
|
ensureParentDir,
|
|
@@ -22,7 +21,7 @@ import {
|
|
|
22
21
|
readJsonFile,
|
|
23
22
|
sha256,
|
|
24
23
|
writeJsonAtomic
|
|
25
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-08mgt3c8.js";
|
|
26
25
|
import {
|
|
27
26
|
isServerEnabled
|
|
28
27
|
} from "./cli-s4gspqdf.js";
|
|
@@ -2246,6 +2245,9 @@ function stageUpdate(version, cliPath) {
|
|
|
2246
2245
|
};
|
|
2247
2246
|
fs7.writeFileSync(getStagedVersionPath(), JSON.stringify(stagedInfo, null, 2), "utf8");
|
|
2248
2247
|
}
|
|
2248
|
+
function shouldUseStagedCli(stagedVersion, currentVersion) {
|
|
2249
|
+
return compareVersions(stagedVersion, currentVersion) > 0;
|
|
2250
|
+
}
|
|
2249
2251
|
function clearStagedUpdate() {
|
|
2250
2252
|
const stagedPath = getStagedVersionPath();
|
|
2251
2253
|
if (fs7.existsSync(stagedPath)) {
|
|
@@ -3660,12 +3662,7 @@ function readDaemonLogs(maxLines = 200) {
|
|
|
3660
3662
|
}
|
|
3661
3663
|
function runDaemonForeground(config, port, secrets) {
|
|
3662
3664
|
return new Promise((resolve, reject) => {
|
|
3663
|
-
const
|
|
3664
|
-
const token = secrets.getSecret(tokenName);
|
|
3665
|
-
if (!token) {
|
|
3666
|
-
reject(new Error(`Local gateway token not found: ${tokenName}`));
|
|
3667
|
-
return;
|
|
3668
|
-
}
|
|
3665
|
+
const token = ensureGatewayToken(config, secrets);
|
|
3669
3666
|
const server = createGatewayServer({
|
|
3670
3667
|
port,
|
|
3671
3668
|
expectedToken: token,
|
|
@@ -3793,4 +3790,4 @@ async function buildStatusReport(config, managedIndex, daemon = getDaemonStatus(
|
|
|
3793
3790
|
};
|
|
3794
3791
|
}
|
|
3795
3792
|
|
|
3796
|
-
export { listSkills, getSkill, saveSkill, deleteSkill, probeHttpAuthRequirement, fetchRegistryServerDetail, selectBestPackage, extractRequiredInputs, mapRegistryToSpec, getAdapters, loadManagedIndex, getGatewayUrl, syncAllClients, toSecretRef, secretRefName, defaultAuthSecretName, resolveAuthTarget, applyAuthReference, removeAuthReference, listAuthBindings, maybePrefixBearer, buildEnrichedPath, isOAuthReference, oauthReferenceServerName, runOAuthLogin, getOAuthAccessToken, APP_VERSION, compareVersions, checkForUpdates, getStagedUpdate, clearStagedUpdate, getStagedCliPath, startBackgroundUpdateCheck, runBackgroundUpdate, performUpdate, performRollback, getDaemonStatus, startDaemon, stopDaemon, restartDaemon, readDaemonLogs, runDaemonForeground, STATUS_CLIENTS, buildStatusReport };
|
|
3793
|
+
export { listSkills, getSkill, saveSkill, deleteSkill, probeHttpAuthRequirement, fetchRegistryServerDetail, selectBestPackage, extractRequiredInputs, mapRegistryToSpec, getAdapters, loadManagedIndex, getGatewayUrl, syncAllClients, toSecretRef, secretRefName, defaultAuthSecretName, resolveAuthTarget, applyAuthReference, removeAuthReference, listAuthBindings, maybePrefixBearer, buildEnrichedPath, isOAuthReference, oauthReferenceServerName, runOAuthLogin, getOAuthAccessToken, APP_VERSION, compareVersions, checkForUpdates, getStagedUpdate, shouldUseStagedCli, clearStagedUpdate, getStagedCliPath, startBackgroundUpdateCheck, runBackgroundUpdate, performUpdate, performRollback, getDaemonStatus, startDaemon, stopDaemon, restartDaemon, readDaemonLogs, runDaemonForeground, STATUS_CLIENTS, buildStatusReport };
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ensureParentDir,
|
|
3
|
+
getGatewayTokenPath,
|
|
2
4
|
getSecretNamesPath,
|
|
3
5
|
readJsonFile,
|
|
4
6
|
writeJsonAtomic
|
|
5
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-08mgt3c8.js";
|
|
6
8
|
import {
|
|
7
9
|
__require,
|
|
8
10
|
normalizeServerSpecEnabled
|
|
9
11
|
} from "./cli-s4gspqdf.js";
|
|
10
12
|
|
|
11
13
|
// src/core/registry.ts
|
|
14
|
+
import crypto from "node:crypto";
|
|
15
|
+
import fs from "node:fs";
|
|
12
16
|
import path from "node:path";
|
|
13
17
|
function validateServerName(name) {
|
|
14
18
|
if (!/^[a-zA-Z0-9][a-zA-Z0-9._-]{0,62}$/.test(name)) {
|
|
@@ -53,11 +57,38 @@ function getGatewayTokenSecretName(config) {
|
|
|
53
57
|
}
|
|
54
58
|
function ensureGatewayToken(config, secrets) {
|
|
55
59
|
const secretName = getGatewayTokenSecretName(config);
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
const tokenPath = getGatewayTokenPath(secretName);
|
|
61
|
+
const envValue = process.env[`MCPX_SECRET_${secretName}`];
|
|
62
|
+
if (envValue && envValue.length > 0) {
|
|
63
|
+
return envValue;
|
|
64
|
+
}
|
|
65
|
+
try {
|
|
66
|
+
const fileValue = fs.readFileSync(tokenPath, "utf8").trim();
|
|
67
|
+
if (fileValue) {
|
|
68
|
+
return fileValue;
|
|
69
|
+
}
|
|
70
|
+
} catch {}
|
|
71
|
+
const keychainValue = secrets.getSecret(secretName);
|
|
72
|
+
if (keychainValue) {
|
|
73
|
+
ensureParentDir(tokenPath);
|
|
74
|
+
fs.writeFileSync(tokenPath, keychainValue, { mode: 384 });
|
|
75
|
+
return keychainValue;
|
|
76
|
+
}
|
|
77
|
+
const token = crypto.randomBytes(32).toString("base64url");
|
|
78
|
+
ensureParentDir(tokenPath);
|
|
79
|
+
fs.writeFileSync(tokenPath, token, { mode: 384 });
|
|
80
|
+
return token;
|
|
81
|
+
}
|
|
82
|
+
function rotateGatewayToken(config, secrets) {
|
|
83
|
+
const secretName = getGatewayTokenSecretName(config);
|
|
84
|
+
const token = crypto.randomBytes(32).toString("base64url");
|
|
85
|
+
const tokenPath = getGatewayTokenPath(secretName);
|
|
86
|
+
ensureParentDir(tokenPath);
|
|
87
|
+
fs.writeFileSync(tokenPath, token, { mode: 384 });
|
|
88
|
+
try {
|
|
89
|
+
secrets.setSecret(secretName, token);
|
|
90
|
+
} catch {}
|
|
91
|
+
return token;
|
|
61
92
|
}
|
|
62
93
|
function registerProject(globalConfig, projectPath, name) {
|
|
63
94
|
if (!globalConfig.projects) {
|
|
@@ -76,8 +107,8 @@ function unregisterProject(globalConfig, projectPath) {
|
|
|
76
107
|
}
|
|
77
108
|
|
|
78
109
|
// src/core/secrets.ts
|
|
79
|
-
import
|
|
80
|
-
import
|
|
110
|
+
import crypto2 from "node:crypto";
|
|
111
|
+
import fs2 from "node:fs";
|
|
81
112
|
var keytarSync = null;
|
|
82
113
|
try {
|
|
83
114
|
const keytar = (()=>{throw new Error("Cannot require module "+"../node_modules/keytar/lib/keytar.js");})();
|
|
@@ -168,7 +199,7 @@ class SecretsManager {
|
|
|
168
199
|
return secret;
|
|
169
200
|
}
|
|
170
201
|
rotateLocalToken(secretName = "local_gateway_token") {
|
|
171
|
-
const token =
|
|
202
|
+
const token = crypto2.randomBytes(32).toString("base64url");
|
|
172
203
|
this.setSecret(secretName, token);
|
|
173
204
|
return token;
|
|
174
205
|
}
|
|
@@ -177,11 +208,11 @@ function readSecretValueFromStdin() {
|
|
|
177
208
|
if (process.stdin.isTTY) {
|
|
178
209
|
throw new Error("No value provided. Use --value or pipe a value via stdin.");
|
|
179
210
|
}
|
|
180
|
-
const content =
|
|
211
|
+
const content = fs2.readFileSync(process.stdin.fd, "utf8").trim();
|
|
181
212
|
if (content.length === 0) {
|
|
182
213
|
throw new Error("Empty secret value provided.");
|
|
183
214
|
}
|
|
184
215
|
return content;
|
|
185
216
|
}
|
|
186
217
|
|
|
187
|
-
export { SecretsManager, readSecretValueFromStdin, validateServerName, addServer, removeServer, updateServer, setServerEnabled, getGatewayTokenSecretName, ensureGatewayToken, registerProject, unregisterProject };
|
|
218
|
+
export { SecretsManager, readSecretValueFromStdin, validateServerName, addServer, removeServer, updateServer, setServerEnabled, getGatewayTokenSecretName, ensureGatewayToken, rotateGatewayToken, registerProject, unregisterProject };
|
|
@@ -2,12 +2,11 @@ import {
|
|
|
2
2
|
loadConfig,
|
|
3
3
|
loadMergedConfig,
|
|
4
4
|
saveConfig
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-0ztrmp65.js";
|
|
6
6
|
import {
|
|
7
7
|
SecretsManager,
|
|
8
|
-
ensureGatewayToken
|
|
9
|
-
|
|
10
|
-
} from "./cli-s4py8ckf.js";
|
|
8
|
+
ensureGatewayToken
|
|
9
|
+
} from "./cli-ma89vavk.js";
|
|
11
10
|
import {
|
|
12
11
|
ensureDir,
|
|
13
12
|
ensureParentDir,
|
|
@@ -22,7 +21,7 @@ import {
|
|
|
22
21
|
readJsonFile,
|
|
23
22
|
sha256,
|
|
24
23
|
writeJsonAtomic
|
|
25
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-08mgt3c8.js";
|
|
26
25
|
import {
|
|
27
26
|
isServerEnabled
|
|
28
27
|
} from "./cli-s4gspqdf.js";
|
|
@@ -2172,7 +2171,7 @@ async function getOAuthAccessToken(serverName, spec, secrets, options = {}) {
|
|
|
2172
2171
|
}
|
|
2173
2172
|
|
|
2174
2173
|
// src/version.ts
|
|
2175
|
-
var APP_VERSION = "0.1.
|
|
2174
|
+
var APP_VERSION = "0.1.80";
|
|
2176
2175
|
|
|
2177
2176
|
// src/core/update.ts
|
|
2178
2177
|
import fs7 from "node:fs";
|
|
@@ -2246,6 +2245,9 @@ function stageUpdate(version, cliPath) {
|
|
|
2246
2245
|
};
|
|
2247
2246
|
fs7.writeFileSync(getStagedVersionPath(), JSON.stringify(stagedInfo, null, 2), "utf8");
|
|
2248
2247
|
}
|
|
2248
|
+
function shouldUseStagedCli(stagedVersion, currentVersion) {
|
|
2249
|
+
return compareVersions(stagedVersion, currentVersion) > 0;
|
|
2250
|
+
}
|
|
2249
2251
|
function clearStagedUpdate() {
|
|
2250
2252
|
const stagedPath = getStagedVersionPath();
|
|
2251
2253
|
if (fs7.existsSync(stagedPath)) {
|
|
@@ -3660,12 +3662,7 @@ function readDaemonLogs(maxLines = 200) {
|
|
|
3660
3662
|
}
|
|
3661
3663
|
function runDaemonForeground(config, port, secrets) {
|
|
3662
3664
|
return new Promise((resolve, reject) => {
|
|
3663
|
-
const
|
|
3664
|
-
const token = secrets.getSecret(tokenName);
|
|
3665
|
-
if (!token) {
|
|
3666
|
-
reject(new Error(`Local gateway token not found: ${tokenName}`));
|
|
3667
|
-
return;
|
|
3668
|
-
}
|
|
3665
|
+
const token = ensureGatewayToken(config, secrets);
|
|
3669
3666
|
const server = createGatewayServer({
|
|
3670
3667
|
port,
|
|
3671
3668
|
expectedToken: token,
|
|
@@ -3793,4 +3790,4 @@ async function buildStatusReport(config, managedIndex, daemon = getDaemonStatus(
|
|
|
3793
3790
|
};
|
|
3794
3791
|
}
|
|
3795
3792
|
|
|
3796
|
-
export { listSkills, getSkill, saveSkill, deleteSkill, probeHttpAuthRequirement, fetchRegistryServerDetail, selectBestPackage, extractRequiredInputs, mapRegistryToSpec, getAdapters, loadManagedIndex, getGatewayUrl, syncAllClients, toSecretRef, secretRefName, defaultAuthSecretName, resolveAuthTarget, applyAuthReference, removeAuthReference, listAuthBindings, maybePrefixBearer, buildEnrichedPath, isOAuthReference, oauthReferenceServerName, runOAuthLogin, getOAuthAccessToken, APP_VERSION, compareVersions, checkForUpdates, getStagedUpdate, clearStagedUpdate, getStagedCliPath, startBackgroundUpdateCheck, runBackgroundUpdate, performUpdate, performRollback, getDaemonStatus, startDaemon, stopDaemon, restartDaemon, readDaemonLogs, runDaemonForeground, STATUS_CLIENTS, buildStatusReport };
|
|
3793
|
+
export { listSkills, getSkill, saveSkill, deleteSkill, probeHttpAuthRequirement, fetchRegistryServerDetail, selectBestPackage, extractRequiredInputs, mapRegistryToSpec, getAdapters, loadManagedIndex, getGatewayUrl, syncAllClients, toSecretRef, secretRefName, defaultAuthSecretName, resolveAuthTarget, applyAuthReference, removeAuthReference, listAuthBindings, maybePrefixBearer, buildEnrichedPath, isOAuthReference, oauthReferenceServerName, runOAuthLogin, getOAuthAccessToken, APP_VERSION, compareVersions, checkForUpdates, getStagedUpdate, shouldUseStagedCli, clearStagedUpdate, getStagedCliPath, startBackgroundUpdateCheck, runBackgroundUpdate, performUpdate, performRollback, getDaemonStatus, startDaemon, stopDaemon, restartDaemon, readDaemonLogs, runDaemonForeground, STATUS_CLIENTS, buildStatusReport };
|
package/dist/cli.js
CHANGED
|
@@ -33,11 +33,12 @@ import {
|
|
|
33
33
|
saveSkill,
|
|
34
34
|
secretRefName,
|
|
35
35
|
selectBestPackage,
|
|
36
|
+
shouldUseStagedCli,
|
|
36
37
|
startDaemon,
|
|
37
38
|
stopDaemon,
|
|
38
39
|
syncAllClients,
|
|
39
40
|
toSecretRef
|
|
40
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-wcxyqz7g.js";
|
|
41
42
|
import {
|
|
42
43
|
loadConfig,
|
|
43
44
|
loadMergedConfig,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
resolveActiveConfig,
|
|
46
47
|
saveConfig,
|
|
47
48
|
saveProjectConfig
|
|
48
|
-
} from "./cli-
|
|
49
|
+
} from "./cli-0ztrmp65.js";
|
|
49
50
|
import {
|
|
50
51
|
SecretsManager,
|
|
51
52
|
addServer,
|
|
@@ -53,12 +54,13 @@ import {
|
|
|
53
54
|
readSecretValueFromStdin,
|
|
54
55
|
registerProject,
|
|
55
56
|
removeServer,
|
|
57
|
+
rotateGatewayToken,
|
|
56
58
|
setServerEnabled
|
|
57
|
-
} from "./cli-
|
|
59
|
+
} from "./cli-ma89vavk.js";
|
|
58
60
|
import {
|
|
59
61
|
getConfigPath,
|
|
60
62
|
getManagedIndexPath
|
|
61
|
-
} from "./cli-
|
|
63
|
+
} from "./cli-08mgt3c8.js";
|
|
62
64
|
import {
|
|
63
65
|
__require,
|
|
64
66
|
isServerEnabled
|
|
@@ -2186,9 +2188,9 @@ function registerAuthCommands(program) {
|
|
|
2186
2188
|
}
|
|
2187
2189
|
});
|
|
2188
2190
|
auth.command("rotate-local-token").description("Rotate bearer token used for local client->mcpx auth").action(async () => {
|
|
2189
|
-
const secrets = new SecretsManager;
|
|
2190
|
-
secrets.rotateLocalToken("local_gateway_token");
|
|
2191
2191
|
const config = loadConfig();
|
|
2192
|
+
const secrets = new SecretsManager;
|
|
2193
|
+
rotateGatewayToken(config, secrets);
|
|
2192
2194
|
await restartDaemon(config, process.argv[1] ?? "", secrets);
|
|
2193
2195
|
process.stdout.write(`Rotated local gateway token and restarted daemon.
|
|
2194
2196
|
`);
|
|
@@ -2321,11 +2323,11 @@ function registerProjectCommands(program, cliPath) {
|
|
|
2321
2323
|
name: projectName,
|
|
2322
2324
|
servers: {}
|
|
2323
2325
|
};
|
|
2324
|
-
const { saveProjectConfig: saveProjectConfig2 } = await import("./config-
|
|
2326
|
+
const { saveProjectConfig: saveProjectConfig2 } = await import("./config-p8tjffpa.js");
|
|
2325
2327
|
saveProjectConfig2(localConfig, targetPath);
|
|
2326
2328
|
process.stdout.write(`Initialized project configuration at: ${targetPath}
|
|
2327
2329
|
`);
|
|
2328
|
-
const { registerProject: registerProject2 } = await import("./registry-
|
|
2330
|
+
const { registerProject: registerProject2 } = await import("./registry-b3cetq7x.js");
|
|
2329
2331
|
const globalConfig = loadConfig();
|
|
2330
2332
|
registerProject2(globalConfig, process.cwd(), projectName);
|
|
2331
2333
|
saveConfig(globalConfig);
|
|
@@ -2356,7 +2358,7 @@ function registerProjectCommands(program, cliPath) {
|
|
|
2356
2358
|
process.exit(1);
|
|
2357
2359
|
}
|
|
2358
2360
|
const entry = globalConfig.projects[resolvedPath];
|
|
2359
|
-
const { unregisterProject: unregisterProject2 } = await import("./registry-
|
|
2361
|
+
const { unregisterProject: unregisterProject2 } = await import("./registry-b3cetq7x.js");
|
|
2360
2362
|
unregisterProject2(globalConfig, resolvedPath);
|
|
2361
2363
|
saveConfig(globalConfig);
|
|
2362
2364
|
process.stdout.write(`Unregistered project "${entry.name}" (${resolvedPath}) from the global configuration.
|
|
@@ -2390,7 +2392,7 @@ async function runCli(argv = process.argv) {
|
|
|
2390
2392
|
if (!isUpdateCommand) {
|
|
2391
2393
|
const stagedCliPath = getStagedCliPath();
|
|
2392
2394
|
const stagedInfo = getStagedUpdate();
|
|
2393
|
-
if (stagedCliPath && stagedInfo && stagedCliPath !== argv[1]) {
|
|
2395
|
+
if (stagedCliPath && stagedInfo && stagedCliPath !== argv[1] && shouldUseStagedCli(stagedInfo.version, APP_VERSION)) {
|
|
2394
2396
|
execFileSync(process.execPath, [stagedCliPath, ...rawArgs], {
|
|
2395
2397
|
stdio: "inherit",
|
|
2396
2398
|
env: {
|
|
@@ -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,CAA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E,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;AA6BD,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,CA+C1H;AAED,wBAAgB,UAAU,IAAI;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CA2BlE;AAED,wBAAsB,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAG5H;AAED,wBAAgB,cAAc,CAAC,QAAQ,SAAM,GAAG,MAAM,CAQrD;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAqB5G"}
|
package/dist/core/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { getDaemonStatus, startDaemon, stopDaemon, restartDaemon, readDaemonLogs
|
|
|
6
6
|
export type { DaemonStatus, DaemonStartResult } from "./daemon.js";
|
|
7
7
|
export { syncAllClients, getGatewayUrl } from "./sync.js";
|
|
8
8
|
export type { SyncSummary } from "./sync.js";
|
|
9
|
-
export { addServer, removeServer, updateServer, setServerEnabled, registerProject, unregisterProject } from "./registry.js";
|
|
9
|
+
export { addServer, removeServer, updateServer, setServerEnabled, registerProject, unregisterProject, ensureGatewayToken, rotateGatewayToken } from "./registry.js";
|
|
10
10
|
export { listSkills, getSkill, saveSkill, deleteSkill } from "./skills.js";
|
|
11
11
|
export { SecretsManager } from "./secrets.js";
|
|
12
12
|
export { applyAuthReference, removeAuthReference, listAuthBindings, resolveAuthTarget, defaultAuthSecretName, maybePrefixBearer, secretRefName, toSecretRef } from "./server-auth.js";
|
|
@@ -16,7 +16,7 @@ export { probeHttpAuthRequirement } from "./auth-probe.js";
|
|
|
16
16
|
export type { HttpAuthProbeResult } from "./auth-probe.js";
|
|
17
17
|
export { loadManagedIndex } from "./managed-index.js";
|
|
18
18
|
export { getConfigPath, getManagedIndexPath } from "./paths.js";
|
|
19
|
-
export { checkForUpdates, getStagedUpdate, getStagedCliPath, clearStagedUpdate, compareVersions } from "./update.js";
|
|
19
|
+
export { checkForUpdates, getStagedUpdate, getStagedCliPath, clearStagedUpdate, compareVersions, shouldUseStagedCli } from "./update.js";
|
|
20
20
|
export type { UpdateStatus, StagedUpdateInfo } from "./update.js";
|
|
21
21
|
export { startBackgroundUpdateCheck, performUpdate, performRollback } from "./update-manager.js";
|
|
22
22
|
export { fetchRegistryServerDetail, selectBestPackage, extractRequiredInputs, mapRegistryToSpec } from "./registry-client.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,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC5H,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAA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eAAe,EACf,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACpB,UAAU,EACV,mBAAmB,EACpB,MAAM,aAAa,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -35,12 +35,13 @@ import {
|
|
|
35
35
|
saveSkill,
|
|
36
36
|
secretRefName,
|
|
37
37
|
selectBestPackage,
|
|
38
|
+
shouldUseStagedCli,
|
|
38
39
|
startBackgroundUpdateCheck,
|
|
39
40
|
startDaemon,
|
|
40
41
|
stopDaemon,
|
|
41
42
|
syncAllClients,
|
|
42
43
|
toSecretRef
|
|
43
|
-
} from "../cli-
|
|
44
|
+
} from "../cli-wcxyqz7g.js";
|
|
44
45
|
import {
|
|
45
46
|
defaultConfig,
|
|
46
47
|
loadConfig,
|
|
@@ -50,20 +51,22 @@ import {
|
|
|
50
51
|
saveConfig,
|
|
51
52
|
saveProjectConfig,
|
|
52
53
|
tokenizeCommandLine
|
|
53
|
-
} from "../cli-
|
|
54
|
+
} from "../cli-0ztrmp65.js";
|
|
54
55
|
import {
|
|
55
56
|
SecretsManager,
|
|
56
57
|
addServer,
|
|
58
|
+
ensureGatewayToken,
|
|
57
59
|
registerProject,
|
|
58
60
|
removeServer,
|
|
61
|
+
rotateGatewayToken,
|
|
59
62
|
setServerEnabled,
|
|
60
63
|
unregisterProject,
|
|
61
64
|
updateServer
|
|
62
|
-
} from "../cli-
|
|
65
|
+
} from "../cli-ma89vavk.js";
|
|
63
66
|
import {
|
|
64
67
|
getConfigPath,
|
|
65
68
|
getManagedIndexPath
|
|
66
|
-
} from "../cli-
|
|
69
|
+
} from "../cli-08mgt3c8.js";
|
|
67
70
|
import"../cli-s4gspqdf.js";
|
|
68
71
|
export {
|
|
69
72
|
updateServer,
|
|
@@ -74,6 +77,7 @@ export {
|
|
|
74
77
|
stopDaemon,
|
|
75
78
|
startDaemon,
|
|
76
79
|
startBackgroundUpdateCheck,
|
|
80
|
+
shouldUseStagedCli,
|
|
77
81
|
setServerEnabled,
|
|
78
82
|
selectBestPackage,
|
|
79
83
|
secretRefName,
|
|
@@ -82,6 +86,7 @@ export {
|
|
|
82
86
|
saveConfig,
|
|
83
87
|
runOAuthLogin,
|
|
84
88
|
runDaemonForeground,
|
|
89
|
+
rotateGatewayToken,
|
|
85
90
|
restartDaemon,
|
|
86
91
|
resolveAuthTarget,
|
|
87
92
|
removeServer,
|
|
@@ -112,6 +117,7 @@ export {
|
|
|
112
117
|
getConfigPath,
|
|
113
118
|
fetchRegistryServerDetail,
|
|
114
119
|
extractRequiredInputs,
|
|
120
|
+
ensureGatewayToken,
|
|
115
121
|
deleteSkill,
|
|
116
122
|
defaultConfig,
|
|
117
123
|
defaultAuthSecretName,
|
package/dist/core/paths.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare function getRuntimeDir(): string;
|
|
|
10
10
|
export declare function getLogDir(): string;
|
|
11
11
|
export declare function getPidPath(): string;
|
|
12
12
|
export declare function getLogPath(): string;
|
|
13
|
+
export declare function getGatewayTokenPath(secretName: string): string;
|
|
13
14
|
export declare function getUpdatesDir(): string;
|
|
14
15
|
export declare function getStagedVersionPath(): string;
|
|
15
16
|
export declare function getUpdateLockPath(): 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,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;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;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;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,SAAgB,GAAG,MAAM,GAAG,IAAI,CAc7E;AAED,wBAAgB,eAAe,CAAC,QAAQ,SAAgB,GAAG,MAAM,GAAG,IAAI,CAGvE"}
|
package/dist/core/registry.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare function updateServer(config: McpxConfig, name: string, spec: Ups
|
|
|
7
7
|
export declare function setServerEnabled(config: McpxConfig, name: string, enabled: boolean): void;
|
|
8
8
|
export declare function getGatewayTokenSecretName(config: McpxConfig): string;
|
|
9
9
|
export declare function ensureGatewayToken(config: McpxConfig, secrets: SecretsManager): string;
|
|
10
|
+
export declare function rotateGatewayToken(config: McpxConfig, secrets: SecretsManager): string;
|
|
10
11
|
export declare function registerProject(globalConfig: McpxConfig, projectPath: string, name?: string): void;
|
|
11
12
|
export declare function unregisterProject(globalConfig: McpxConfig, projectPath: string): void;
|
|
12
13
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/core/registry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/core/registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8B,KAAK,UAAU,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAIrD;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,UAAQ,GAAG,IAAI,CAQzG;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,UAAQ,GAAG,IAAI,CAMlF;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,IAAI,CAQ7F;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAUzF;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAMpE;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,GAAG,MAAM,CAiCtF;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,GAAG,MAAM,CAetF;AAED,wBAAgB,eAAe,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAUlG;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAIrF"}
|
package/dist/core/update.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare function compareVersions(a: string, b: string): number;
|
|
|
13
13
|
export declare function checkForUpdates(): Promise<UpdateStatus>;
|
|
14
14
|
export declare function getStagedUpdate(): StagedUpdateInfo | null;
|
|
15
15
|
export declare function stageUpdate(version: string, cliPath: string): void;
|
|
16
|
+
export declare function shouldUseStagedCli(stagedVersion: string, currentVersion: string): boolean;
|
|
16
17
|
export declare function clearStagedUpdate(): void;
|
|
17
18
|
export declare function getStagedCliPath(): string | null;
|
|
18
19
|
export declare function removeOldVersions(keepCount?: number): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/core/update.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAY5D;AAED,wBAAsB,eAAe,IAAI,OAAO,CAAC,YAAY,CAAC,CAuB7D;AAED,wBAAgB,eAAe,IAAI,gBAAgB,GAAG,IAAI,CA6BzD;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAWlE;AAED,wBAAgB,iBAAiB,IAAI,IAAI,CAKxC;AAED,wBAAgB,gBAAgB,IAAI,MAAM,GAAG,IAAI,CAGhD;AAED,wBAAgB,iBAAiB,CAAC,SAAS,SAAI,GAAG,IAAI,CAwBrD"}
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/core/update.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAY5D;AAED,wBAAsB,eAAe,IAAI,OAAO,CAAC,YAAY,CAAC,CAuB7D;AAED,wBAAgB,eAAe,IAAI,gBAAgB,GAAG,IAAI,CA6BzD;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAWlE;AAED,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAEzF;AAED,wBAAgB,iBAAiB,IAAI,IAAI,CAKxC;AAED,wBAAgB,gBAAgB,IAAI,MAAM,GAAG,IAAI,CAGhD;AAED,wBAAgB,iBAAiB,CAAC,SAAS,SAAI,GAAG,IAAI,CAwBrD"}
|
|
@@ -4,18 +4,20 @@ import {
|
|
|
4
4
|
getGatewayTokenSecretName,
|
|
5
5
|
registerProject,
|
|
6
6
|
removeServer,
|
|
7
|
+
rotateGatewayToken,
|
|
7
8
|
setServerEnabled,
|
|
8
9
|
unregisterProject,
|
|
9
10
|
updateServer,
|
|
10
11
|
validateServerName
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
12
|
+
} from "./cli-ma89vavk.js";
|
|
13
|
+
import"./cli-08mgt3c8.js";
|
|
13
14
|
import"./cli-s4gspqdf.js";
|
|
14
15
|
export {
|
|
15
16
|
validateServerName,
|
|
16
17
|
updateServer,
|
|
17
18
|
unregisterProject,
|
|
18
19
|
setServerEnabled,
|
|
20
|
+
rotateGatewayToken,
|
|
19
21
|
removeServer,
|
|
20
22
|
registerProject,
|
|
21
23
|
getGatewayTokenSecretName,
|
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.80";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|