@kwonye/mcpx 0.1.80 → 0.1.81
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-f2a6pkds.js → cli-6bv85kke.js} +1 -1
- package/dist/{cli-wcxyqz7g.js → cli-7bax8twd.js} +2 -2
- package/dist/{cli-ma89vavk.js → cli-e6jzjwh5.js} +3 -2
- package/dist/cli.js +4 -4
- package/dist/core/index.js +2 -2
- package/dist/core/secrets.d.ts.map +1 -1
- package/dist/{registry-b3cetq7x.js → registry-7rxwynsy.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
SecretsManager,
|
|
8
8
|
ensureGatewayToken
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-e6jzjwh5.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureDir,
|
|
12
12
|
ensureParentDir,
|
|
@@ -2171,7 +2171,7 @@ async function getOAuthAccessToken(serverName, spec, secrets, options = {}) {
|
|
|
2171
2171
|
}
|
|
2172
2172
|
|
|
2173
2173
|
// src/version.ts
|
|
2174
|
-
var APP_VERSION = "0.1.
|
|
2174
|
+
var APP_VERSION = "0.1.81";
|
|
2175
2175
|
|
|
2176
2176
|
// src/core/update.ts
|
|
2177
2177
|
import fs7 from "node:fs";
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
writeJsonAtomic
|
|
7
7
|
} from "./cli-08mgt3c8.js";
|
|
8
8
|
import {
|
|
9
|
-
__require,
|
|
10
9
|
normalizeServerSpecEnabled
|
|
11
10
|
} from "./cli-s4gspqdf.js";
|
|
12
11
|
|
|
@@ -109,9 +108,11 @@ function unregisterProject(globalConfig, projectPath) {
|
|
|
109
108
|
// src/core/secrets.ts
|
|
110
109
|
import crypto2 from "node:crypto";
|
|
111
110
|
import fs2 from "node:fs";
|
|
111
|
+
import { createRequire } from "node:module";
|
|
112
112
|
var keytarSync = null;
|
|
113
113
|
try {
|
|
114
|
-
const
|
|
114
|
+
const _require = createRequire(import.meta.url);
|
|
115
|
+
const keytar = _require("keytar");
|
|
115
116
|
keytarSync = keytar;
|
|
116
117
|
} catch {
|
|
117
118
|
keytarSync = null;
|
package/dist/cli.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
stopDaemon,
|
|
39
39
|
syncAllClients,
|
|
40
40
|
toSecretRef
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-7bax8twd.js";
|
|
42
42
|
import {
|
|
43
43
|
loadConfig,
|
|
44
44
|
loadMergedConfig,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
removeServer,
|
|
57
57
|
rotateGatewayToken,
|
|
58
58
|
setServerEnabled
|
|
59
|
-
} from "./cli-
|
|
59
|
+
} from "./cli-e6jzjwh5.js";
|
|
60
60
|
import {
|
|
61
61
|
getConfigPath,
|
|
62
62
|
getManagedIndexPath
|
|
@@ -2327,7 +2327,7 @@ function registerProjectCommands(program, cliPath) {
|
|
|
2327
2327
|
saveProjectConfig2(localConfig, targetPath);
|
|
2328
2328
|
process.stdout.write(`Initialized project configuration at: ${targetPath}
|
|
2329
2329
|
`);
|
|
2330
|
-
const { registerProject: registerProject2 } = await import("./registry-
|
|
2330
|
+
const { registerProject: registerProject2 } = await import("./registry-7rxwynsy.js");
|
|
2331
2331
|
const globalConfig = loadConfig();
|
|
2332
2332
|
registerProject2(globalConfig, process.cwd(), projectName);
|
|
2333
2333
|
saveConfig(globalConfig);
|
|
@@ -2358,7 +2358,7 @@ function registerProjectCommands(program, cliPath) {
|
|
|
2358
2358
|
process.exit(1);
|
|
2359
2359
|
}
|
|
2360
2360
|
const entry = globalConfig.projects[resolvedPath];
|
|
2361
|
-
const { unregisterProject: unregisterProject2 } = await import("./registry-
|
|
2361
|
+
const { unregisterProject: unregisterProject2 } = await import("./registry-7rxwynsy.js");
|
|
2362
2362
|
unregisterProject2(globalConfig, resolvedPath);
|
|
2363
2363
|
saveConfig(globalConfig);
|
|
2364
2364
|
process.stdout.write(`Unregistered project "${entry.name}" (${resolvedPath}) from the global configuration.
|
package/dist/core/index.js
CHANGED
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
stopDaemon,
|
|
42
42
|
syncAllClients,
|
|
43
43
|
toSecretRef
|
|
44
|
-
} from "../cli-
|
|
44
|
+
} from "../cli-7bax8twd.js";
|
|
45
45
|
import {
|
|
46
46
|
defaultConfig,
|
|
47
47
|
loadConfig,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
setServerEnabled,
|
|
63
63
|
unregisterProject,
|
|
64
64
|
updateServer
|
|
65
|
-
} from "../cli-
|
|
65
|
+
} from "../cli-e6jzjwh5.js";
|
|
66
66
|
import {
|
|
67
67
|
getConfigPath,
|
|
68
68
|
getManagedIndexPath
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/core/secrets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/core/secrets.ts"],"names":[],"mappings":"AAyCA,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;gBAE3B,OAAO,SAAS,EAAE,aAAa,SAAuB;IAKlE,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,eAAe;IAQvB,OAAO,CAAC,iBAAiB;IAMzB,eAAe,IAAI,MAAM,EAAE;IAI3B,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAa5C,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAYhC,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAqBtC,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAczC,gBAAgB,CAAC,UAAU,SAAwB,GAAG,MAAM;CAK7D;AAED,wBAAgB,wBAAwB,IAAI,MAAM,CAWjD"}
|
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.81";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kwonye/mcpx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.81",
|
|
4
4
|
"description": "HTTP-first MCP gateway and cross-client installer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dev": "bun run src/cli.ts --",
|
|
46
46
|
"sync-version": "bun scripts/sync-version.mjs",
|
|
47
47
|
"prebuild": "bun run sync-version",
|
|
48
|
-
"build": "bun build src/cli.ts src/core/index.ts src/types.ts --outdir dist --target node --format esm --splitting --external commander --external hono --external zod --external \"@modelcontextprotocol/sdk\" --external \"@iarna/toml\" && tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationMap",
|
|
48
|
+
"build": "bun build src/cli.ts src/core/index.ts src/types.ts --outdir dist --target node --format esm --splitting --external commander --external hono --external zod --external \"@modelcontextprotocol/sdk\" --external \"@iarna/toml\" --external keytar && tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationMap",
|
|
49
49
|
"prepublishOnly": "bun run build",
|
|
50
50
|
"test": "bun test",
|
|
51
51
|
"test:watch": "bun test --watch"
|