@enactprotocol/mcp-server 1.2.2 → 1.2.3
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/index.js +35 -31
- package/dist/index.js.bak +35 -31
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -35969,7 +35969,7 @@ var require_high_level_opt = __commonJS((exports, module) => {
|
|
|
35969
35969
|
]).reduce((set2, kv) => (set2[kv[0]] = kv[1], set2), Object.create(null)) : {};
|
|
35970
35970
|
});
|
|
35971
35971
|
|
|
35972
|
-
// ../../node_modules/
|
|
35972
|
+
// ../../node_modules/minipass/index.js
|
|
35973
35973
|
var require_minipass = __commonJS((exports) => {
|
|
35974
35974
|
var proc = typeof process === "object" && process ? process : {
|
|
35975
35975
|
stdout: null,
|
|
@@ -223121,8 +223121,16 @@ var ResourceContentsSchema = exports_external.object({
|
|
|
223121
223121
|
var TextResourceContentsSchema = ResourceContentsSchema.extend({
|
|
223122
223122
|
text: exports_external.string()
|
|
223123
223123
|
});
|
|
223124
|
+
var Base64Schema = exports_external.string().refine((val) => {
|
|
223125
|
+
try {
|
|
223126
|
+
atob(val);
|
|
223127
|
+
return true;
|
|
223128
|
+
} catch (_a) {
|
|
223129
|
+
return false;
|
|
223130
|
+
}
|
|
223131
|
+
}, { message: "Invalid Base64 string" });
|
|
223124
223132
|
var BlobResourceContentsSchema = ResourceContentsSchema.extend({
|
|
223125
|
-
blob:
|
|
223133
|
+
blob: Base64Schema
|
|
223126
223134
|
});
|
|
223127
223135
|
var ResourceSchema = BaseMetadataSchema.extend({
|
|
223128
223136
|
uri: exports_external.string(),
|
|
@@ -223208,13 +223216,13 @@ var TextContentSchema = exports_external.object({
|
|
|
223208
223216
|
}).passthrough();
|
|
223209
223217
|
var ImageContentSchema = exports_external.object({
|
|
223210
223218
|
type: exports_external.literal("image"),
|
|
223211
|
-
data:
|
|
223219
|
+
data: Base64Schema,
|
|
223212
223220
|
mimeType: exports_external.string(),
|
|
223213
223221
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
223214
223222
|
}).passthrough();
|
|
223215
223223
|
var AudioContentSchema = exports_external.object({
|
|
223216
223224
|
type: exports_external.literal("audio"),
|
|
223217
|
-
data:
|
|
223225
|
+
data: Base64Schema,
|
|
223218
223226
|
mimeType: exports_external.string(),
|
|
223219
223227
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
223220
223228
|
}).passthrough();
|
|
@@ -225965,7 +225973,7 @@ class StdioServerTransport {
|
|
|
225965
225973
|
}
|
|
225966
225974
|
}
|
|
225967
225975
|
|
|
225968
|
-
//
|
|
225976
|
+
// ../shared/dist/api/enact-api.js
|
|
225969
225977
|
class EnactApiClient {
|
|
225970
225978
|
constructor(baseUrl = "https://enact.tools", supabaseUrl = "https://xjnhhxwxovjifdxdwzih.supabase.co") {
|
|
225971
225979
|
this.baseUrl = baseUrl.replace(/\/$/, "");
|
|
@@ -226263,7 +226271,7 @@ class EnactApiError extends Error {
|
|
|
226263
226271
|
}
|
|
226264
226272
|
}
|
|
226265
226273
|
|
|
226266
|
-
//
|
|
226274
|
+
// ../shared/dist/exec/validate.js
|
|
226267
226275
|
function validateAgainstSchema(value, schema, fieldName) {
|
|
226268
226276
|
const { type, format, enum: enumValues, minimum, maximum, pattern, required } = schema;
|
|
226269
226277
|
if (type) {
|
|
@@ -226389,14 +226397,14 @@ function validateInputs(tool, inputs) {
|
|
|
226389
226397
|
return validatedInputs;
|
|
226390
226398
|
}
|
|
226391
226399
|
|
|
226392
|
-
//
|
|
226400
|
+
// ../shared/dist/core/DirectExecutionProvider.js
|
|
226393
226401
|
import { spawn } from "child_process";
|
|
226394
226402
|
|
|
226395
|
-
//
|
|
226403
|
+
// ../shared/dist/types.js
|
|
226396
226404
|
class ExecutionProvider {
|
|
226397
226405
|
}
|
|
226398
226406
|
|
|
226399
|
-
//
|
|
226407
|
+
// ../shared/dist/exec/logger.js
|
|
226400
226408
|
var import_pino = __toESM(require_pino(), 1);
|
|
226401
226409
|
var isSilentMode = () => process.env.CI === "true" || false || process.env.ENACT_SILENT === "true" || process.env.ENACT_SKIP_INTERACTIVE === "true";
|
|
226402
226410
|
var logger = import_pino.default({
|
|
@@ -226444,7 +226452,7 @@ var wrappedLogger = {
|
|
|
226444
226452
|
};
|
|
226445
226453
|
var logger_default = wrappedLogger;
|
|
226446
226454
|
|
|
226447
|
-
//
|
|
226455
|
+
// ../shared/dist/utils/timeout.js
|
|
226448
226456
|
function parseTimeout(timeout) {
|
|
226449
226457
|
const match = timeout.match(/^(\d+)([smh])$/);
|
|
226450
226458
|
if (!match) {
|
|
@@ -226464,7 +226472,7 @@ function parseTimeout(timeout) {
|
|
|
226464
226472
|
}
|
|
226465
226473
|
}
|
|
226466
226474
|
|
|
226467
|
-
//
|
|
226475
|
+
// ../shared/dist/core/DirectExecutionProvider.js
|
|
226468
226476
|
class DirectExecutionProvider extends ExecutionProvider {
|
|
226469
226477
|
async resolveEnvironmentVariables(envConfig, namespace) {
|
|
226470
226478
|
const resolved = {};
|
|
@@ -235037,7 +235045,7 @@ var import_typescript = __toESM(require_typescript(), 1);
|
|
|
235037
235045
|
var __filename2 = fileURLToPath3(import.meta.url);
|
|
235038
235046
|
var __dirname2 = path5.dirname(__filename2);
|
|
235039
235047
|
var moduleSrcDirectory = `${__dirname2}/../../src/`;
|
|
235040
|
-
//
|
|
235048
|
+
// ../shared/dist/core/DaggerExecutionProvider.js
|
|
235041
235049
|
import fs3 from "fs/promises";
|
|
235042
235050
|
import path6 from "path";
|
|
235043
235051
|
import crypto3 from "crypto";
|
|
@@ -235832,7 +235840,7 @@ class DaggerExecutionProvider extends ExecutionProvider {
|
|
|
235832
235840
|
}
|
|
235833
235841
|
}
|
|
235834
235842
|
|
|
235835
|
-
//
|
|
235843
|
+
// ../shared/dist/utils/env-loader.js
|
|
235836
235844
|
var import_dotenv = __toESM(require_main(), 1);
|
|
235837
235845
|
import { join as join2 } from "path";
|
|
235838
235846
|
import { homedir as homedir2 } from "os";
|
|
@@ -235994,7 +236002,7 @@ function generateConfigLink(missingVars, toolName) {
|
|
|
235994
236002
|
return `${webUrl}/?vars=${encodedVars}&package=${encodedPackage}`;
|
|
235995
236003
|
}
|
|
235996
236004
|
|
|
235997
|
-
//
|
|
236005
|
+
// ../shared/dist/core/EnactCore.js
|
|
235998
236006
|
var import_yaml = __toESM(require_dist3(), 1);
|
|
235999
236007
|
|
|
236000
236008
|
// ../../node_modules/@enactprotocol/security/dist/index.js
|
|
@@ -238709,7 +238717,7 @@ class SigningService {
|
|
|
238709
238717
|
}
|
|
238710
238718
|
}
|
|
238711
238719
|
|
|
238712
|
-
//
|
|
238720
|
+
// ../shared/dist/core/EnactCore.js
|
|
238713
238721
|
class EnactCore {
|
|
238714
238722
|
constructor(options = {}) {
|
|
238715
238723
|
this.options = {
|
|
@@ -238921,7 +238929,7 @@ class EnactCore {
|
|
|
238921
238929
|
};
|
|
238922
238930
|
const referenceSignature = {
|
|
238923
238931
|
signature: tool.signatures[0].value,
|
|
238924
|
-
publicKey:
|
|
238932
|
+
publicKey: "",
|
|
238925
238933
|
algorithm: tool.signatures[0].algorithm,
|
|
238926
238934
|
timestamp: new Date(tool.signatures[0].created).getTime()
|
|
238927
238935
|
};
|
|
@@ -238929,10 +238937,6 @@ class EnactCore {
|
|
|
238929
238937
|
const docString = JSON.stringify(canonicalDoc);
|
|
238930
238938
|
const messageHash = CryptoUtils.hash(docString);
|
|
238931
238939
|
const directVerify = CryptoUtils.verify(referenceSignature.publicKey, messageHash, referenceSignature.signature);
|
|
238932
|
-
console.log("Direct crypto verification result:", directVerify);
|
|
238933
|
-
const trustedKeys = KeyManager.getAllTrustedPublicKeys();
|
|
238934
|
-
console.log("Trusted keys:", trustedKeys);
|
|
238935
|
-
console.log("Is our public key trusted?", trustedKeys.includes(referenceSignature.publicKey));
|
|
238936
238940
|
const isValid2 = SigningService.verifyDocument(documentForVerification, referenceSignature, { includeFields: ["command"] });
|
|
238937
238941
|
console.log("Final verification result:", isValid2);
|
|
238938
238942
|
if (!isValid2) {
|
|
@@ -239120,14 +239124,14 @@ class EnactCore {
|
|
|
239120
239124
|
return `exec_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`;
|
|
239121
239125
|
}
|
|
239122
239126
|
}
|
|
239123
|
-
//
|
|
239127
|
+
// ../shared/dist/utils/config.js
|
|
239124
239128
|
import { homedir as homedir3 } from "os";
|
|
239125
239129
|
import { join as join3 } from "path";
|
|
239126
239130
|
var CONFIG_DIR2 = join3(homedir3(), ".enact");
|
|
239127
239131
|
var CONFIG_FILE = join3(CONFIG_DIR2, "config.json");
|
|
239128
|
-
//
|
|
239129
|
-
var __dirname = "/Users/keithgroves/projects/enact/enact-cli/packages/
|
|
239130
|
-
//
|
|
239132
|
+
// ../shared/dist/utils/help.js
|
|
239133
|
+
var __dirname = "/Users/keithgroves/projects/enact/enact-cli/packages/shared/dist/utils";
|
|
239134
|
+
// ../shared/dist/utils/logger.js
|
|
239131
239135
|
var LogLevel;
|
|
239132
239136
|
(function(LogLevel2) {
|
|
239133
239137
|
LogLevel2[LogLevel2["DEBUG"] = 0] = "DEBUG";
|
|
@@ -239137,7 +239141,7 @@ var LogLevel;
|
|
|
239137
239141
|
LogLevel2[LogLevel2["ERROR"] = 4] = "ERROR";
|
|
239138
239142
|
})(LogLevel || (LogLevel = {}));
|
|
239139
239143
|
var currentLogLevel = LogLevel.INFO;
|
|
239140
|
-
//
|
|
239144
|
+
// ../shared/dist/utils/silent-monitor.js
|
|
239141
239145
|
class McpSilentOperationMonitor {
|
|
239142
239146
|
getOriginalConsoleError() {
|
|
239143
239147
|
return this.originalConsoleError;
|
|
@@ -239265,9 +239269,9 @@ function validateSilentEnvironment() {
|
|
|
239265
239269
|
issues
|
|
239266
239270
|
};
|
|
239267
239271
|
}
|
|
239268
|
-
//
|
|
239269
|
-
var __filename = "/Users/keithgroves/projects/enact/enact-cli/packages/
|
|
239270
|
-
//
|
|
239272
|
+
// ../shared/dist/utils/version.js
|
|
239273
|
+
var __filename = "/Users/keithgroves/projects/enact/enact-cli/packages/shared/dist/utils/version.js";
|
|
239274
|
+
// ../shared/dist/web/env-manager-server.js
|
|
239271
239275
|
import { createServer } from "http";
|
|
239272
239276
|
import { parse as parse3 } from "url";
|
|
239273
239277
|
import { readFile as readFile2, writeFile, mkdir, readdir, stat as stat2 } from "fs/promises";
|
|
@@ -239548,7 +239552,7 @@ function startEnvManagerServer(port = 5555) {
|
|
|
239548
239552
|
});
|
|
239549
239553
|
});
|
|
239550
239554
|
}
|
|
239551
|
-
//
|
|
239555
|
+
// ../shared/dist/LocalToolResolver.js
|
|
239552
239556
|
var yaml2 = __toESM(require_dist3(), 1);
|
|
239553
239557
|
import { promises as fs5, readFileSync as readFileSync3, writeFileSync } from "fs";
|
|
239554
239558
|
import { join as join5, resolve, basename as basename2 } from "path";
|
|
@@ -239834,7 +239838,7 @@ Use the MCP tools to manage this directory programmatically.
|
|
|
239834
239838
|
}
|
|
239835
239839
|
}
|
|
239836
239840
|
var LocalToolResolver_default = LocalToolResolver;
|
|
239837
|
-
//
|
|
239841
|
+
// ../shared/dist/services/McpCoreService.js
|
|
239838
239842
|
class McpCoreService {
|
|
239839
239843
|
constructor(options) {
|
|
239840
239844
|
this.core = new EnactCore({
|
|
@@ -239904,7 +239908,7 @@ class McpCoreService {
|
|
|
239904
239908
|
}
|
|
239905
239909
|
}
|
|
239906
239910
|
var mcpCoreService = new McpCoreService;
|
|
239907
|
-
//
|
|
239911
|
+
// ../shared/dist/lib/enact-direct.js
|
|
239908
239912
|
class EnactDirect {
|
|
239909
239913
|
constructor(options = {}) {
|
|
239910
239914
|
this.core = new EnactCore({
|
package/dist/index.js.bak
CHANGED
|
@@ -35968,7 +35968,7 @@ var require_high_level_opt = __commonJS((exports, module) => {
|
|
|
35968
35968
|
]).reduce((set2, kv) => (set2[kv[0]] = kv[1], set2), Object.create(null)) : {};
|
|
35969
35969
|
});
|
|
35970
35970
|
|
|
35971
|
-
// ../../node_modules/
|
|
35971
|
+
// ../../node_modules/minipass/index.js
|
|
35972
35972
|
var require_minipass = __commonJS((exports) => {
|
|
35973
35973
|
var proc = typeof process === "object" && process ? process : {
|
|
35974
35974
|
stdout: null,
|
|
@@ -223120,8 +223120,16 @@ var ResourceContentsSchema = exports_external.object({
|
|
|
223120
223120
|
var TextResourceContentsSchema = ResourceContentsSchema.extend({
|
|
223121
223121
|
text: exports_external.string()
|
|
223122
223122
|
});
|
|
223123
|
+
var Base64Schema = exports_external.string().refine((val) => {
|
|
223124
|
+
try {
|
|
223125
|
+
atob(val);
|
|
223126
|
+
return true;
|
|
223127
|
+
} catch (_a) {
|
|
223128
|
+
return false;
|
|
223129
|
+
}
|
|
223130
|
+
}, { message: "Invalid Base64 string" });
|
|
223123
223131
|
var BlobResourceContentsSchema = ResourceContentsSchema.extend({
|
|
223124
|
-
blob:
|
|
223132
|
+
blob: Base64Schema
|
|
223125
223133
|
});
|
|
223126
223134
|
var ResourceSchema = BaseMetadataSchema.extend({
|
|
223127
223135
|
uri: exports_external.string(),
|
|
@@ -223207,13 +223215,13 @@ var TextContentSchema = exports_external.object({
|
|
|
223207
223215
|
}).passthrough();
|
|
223208
223216
|
var ImageContentSchema = exports_external.object({
|
|
223209
223217
|
type: exports_external.literal("image"),
|
|
223210
|
-
data:
|
|
223218
|
+
data: Base64Schema,
|
|
223211
223219
|
mimeType: exports_external.string(),
|
|
223212
223220
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
223213
223221
|
}).passthrough();
|
|
223214
223222
|
var AudioContentSchema = exports_external.object({
|
|
223215
223223
|
type: exports_external.literal("audio"),
|
|
223216
|
-
data:
|
|
223224
|
+
data: Base64Schema,
|
|
223217
223225
|
mimeType: exports_external.string(),
|
|
223218
223226
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
223219
223227
|
}).passthrough();
|
|
@@ -225964,7 +225972,7 @@ class StdioServerTransport {
|
|
|
225964
225972
|
}
|
|
225965
225973
|
}
|
|
225966
225974
|
|
|
225967
|
-
//
|
|
225975
|
+
// ../shared/dist/api/enact-api.js
|
|
225968
225976
|
class EnactApiClient {
|
|
225969
225977
|
constructor(baseUrl = "https://enact.tools", supabaseUrl = "https://xjnhhxwxovjifdxdwzih.supabase.co") {
|
|
225970
225978
|
this.baseUrl = baseUrl.replace(/\/$/, "");
|
|
@@ -226262,7 +226270,7 @@ class EnactApiError extends Error {
|
|
|
226262
226270
|
}
|
|
226263
226271
|
}
|
|
226264
226272
|
|
|
226265
|
-
//
|
|
226273
|
+
// ../shared/dist/exec/validate.js
|
|
226266
226274
|
function validateAgainstSchema(value, schema, fieldName) {
|
|
226267
226275
|
const { type, format, enum: enumValues, minimum, maximum, pattern, required } = schema;
|
|
226268
226276
|
if (type) {
|
|
@@ -226388,14 +226396,14 @@ function validateInputs(tool, inputs) {
|
|
|
226388
226396
|
return validatedInputs;
|
|
226389
226397
|
}
|
|
226390
226398
|
|
|
226391
|
-
//
|
|
226399
|
+
// ../shared/dist/core/DirectExecutionProvider.js
|
|
226392
226400
|
import { spawn } from "child_process";
|
|
226393
226401
|
|
|
226394
|
-
//
|
|
226402
|
+
// ../shared/dist/types.js
|
|
226395
226403
|
class ExecutionProvider {
|
|
226396
226404
|
}
|
|
226397
226405
|
|
|
226398
|
-
//
|
|
226406
|
+
// ../shared/dist/exec/logger.js
|
|
226399
226407
|
var import_pino = __toESM(require_pino(), 1);
|
|
226400
226408
|
var isSilentMode = () => process.env.CI === "true" || false || process.env.ENACT_SILENT === "true" || process.env.ENACT_SKIP_INTERACTIVE === "true";
|
|
226401
226409
|
var logger = import_pino.default({
|
|
@@ -226443,7 +226451,7 @@ var wrappedLogger = {
|
|
|
226443
226451
|
};
|
|
226444
226452
|
var logger_default = wrappedLogger;
|
|
226445
226453
|
|
|
226446
|
-
//
|
|
226454
|
+
// ../shared/dist/utils/timeout.js
|
|
226447
226455
|
function parseTimeout(timeout) {
|
|
226448
226456
|
const match = timeout.match(/^(\d+)([smh])$/);
|
|
226449
226457
|
if (!match) {
|
|
@@ -226463,7 +226471,7 @@ function parseTimeout(timeout) {
|
|
|
226463
226471
|
}
|
|
226464
226472
|
}
|
|
226465
226473
|
|
|
226466
|
-
//
|
|
226474
|
+
// ../shared/dist/core/DirectExecutionProvider.js
|
|
226467
226475
|
class DirectExecutionProvider extends ExecutionProvider {
|
|
226468
226476
|
async resolveEnvironmentVariables(envConfig, namespace) {
|
|
226469
226477
|
const resolved = {};
|
|
@@ -235036,7 +235044,7 @@ var import_typescript = __toESM(require_typescript(), 1);
|
|
|
235036
235044
|
var __filename2 = fileURLToPath3(import.meta.url);
|
|
235037
235045
|
var __dirname2 = path5.dirname(__filename2);
|
|
235038
235046
|
var moduleSrcDirectory = `${__dirname2}/../../src/`;
|
|
235039
|
-
//
|
|
235047
|
+
// ../shared/dist/core/DaggerExecutionProvider.js
|
|
235040
235048
|
import fs3 from "fs/promises";
|
|
235041
235049
|
import path6 from "path";
|
|
235042
235050
|
import crypto3 from "crypto";
|
|
@@ -235831,7 +235839,7 @@ class DaggerExecutionProvider extends ExecutionProvider {
|
|
|
235831
235839
|
}
|
|
235832
235840
|
}
|
|
235833
235841
|
|
|
235834
|
-
//
|
|
235842
|
+
// ../shared/dist/utils/env-loader.js
|
|
235835
235843
|
var import_dotenv = __toESM(require_main(), 1);
|
|
235836
235844
|
import { join as join2 } from "path";
|
|
235837
235845
|
import { homedir as homedir2 } from "os";
|
|
@@ -235993,7 +236001,7 @@ function generateConfigLink(missingVars, toolName) {
|
|
|
235993
236001
|
return `${webUrl}/?vars=${encodedVars}&package=${encodedPackage}`;
|
|
235994
236002
|
}
|
|
235995
236003
|
|
|
235996
|
-
//
|
|
236004
|
+
// ../shared/dist/core/EnactCore.js
|
|
235997
236005
|
var import_yaml = __toESM(require_dist3(), 1);
|
|
235998
236006
|
|
|
235999
236007
|
// ../../node_modules/@enactprotocol/security/dist/index.js
|
|
@@ -238708,7 +238716,7 @@ class SigningService {
|
|
|
238708
238716
|
}
|
|
238709
238717
|
}
|
|
238710
238718
|
|
|
238711
|
-
//
|
|
238719
|
+
// ../shared/dist/core/EnactCore.js
|
|
238712
238720
|
class EnactCore {
|
|
238713
238721
|
constructor(options = {}) {
|
|
238714
238722
|
this.options = {
|
|
@@ -238920,7 +238928,7 @@ class EnactCore {
|
|
|
238920
238928
|
};
|
|
238921
238929
|
const referenceSignature = {
|
|
238922
238930
|
signature: tool.signatures[0].value,
|
|
238923
|
-
publicKey:
|
|
238931
|
+
publicKey: "",
|
|
238924
238932
|
algorithm: tool.signatures[0].algorithm,
|
|
238925
238933
|
timestamp: new Date(tool.signatures[0].created).getTime()
|
|
238926
238934
|
};
|
|
@@ -238928,10 +238936,6 @@ class EnactCore {
|
|
|
238928
238936
|
const docString = JSON.stringify(canonicalDoc);
|
|
238929
238937
|
const messageHash = CryptoUtils.hash(docString);
|
|
238930
238938
|
const directVerify = CryptoUtils.verify(referenceSignature.publicKey, messageHash, referenceSignature.signature);
|
|
238931
|
-
console.log("Direct crypto verification result:", directVerify);
|
|
238932
|
-
const trustedKeys = KeyManager.getAllTrustedPublicKeys();
|
|
238933
|
-
console.log("Trusted keys:", trustedKeys);
|
|
238934
|
-
console.log("Is our public key trusted?", trustedKeys.includes(referenceSignature.publicKey));
|
|
238935
238939
|
const isValid2 = SigningService.verifyDocument(documentForVerification, referenceSignature, { includeFields: ["command"] });
|
|
238936
238940
|
console.log("Final verification result:", isValid2);
|
|
238937
238941
|
if (!isValid2) {
|
|
@@ -239119,14 +239123,14 @@ class EnactCore {
|
|
|
239119
239123
|
return `exec_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`;
|
|
239120
239124
|
}
|
|
239121
239125
|
}
|
|
239122
|
-
//
|
|
239126
|
+
// ../shared/dist/utils/config.js
|
|
239123
239127
|
import { homedir as homedir3 } from "os";
|
|
239124
239128
|
import { join as join3 } from "path";
|
|
239125
239129
|
var CONFIG_DIR2 = join3(homedir3(), ".enact");
|
|
239126
239130
|
var CONFIG_FILE = join3(CONFIG_DIR2, "config.json");
|
|
239127
|
-
//
|
|
239128
|
-
var __dirname = "/Users/keithgroves/projects/enact/enact-cli/packages/
|
|
239129
|
-
//
|
|
239131
|
+
// ../shared/dist/utils/help.js
|
|
239132
|
+
var __dirname = "/Users/keithgroves/projects/enact/enact-cli/packages/shared/dist/utils";
|
|
239133
|
+
// ../shared/dist/utils/logger.js
|
|
239130
239134
|
var LogLevel;
|
|
239131
239135
|
(function(LogLevel2) {
|
|
239132
239136
|
LogLevel2[LogLevel2["DEBUG"] = 0] = "DEBUG";
|
|
@@ -239136,7 +239140,7 @@ var LogLevel;
|
|
|
239136
239140
|
LogLevel2[LogLevel2["ERROR"] = 4] = "ERROR";
|
|
239137
239141
|
})(LogLevel || (LogLevel = {}));
|
|
239138
239142
|
var currentLogLevel = LogLevel.INFO;
|
|
239139
|
-
//
|
|
239143
|
+
// ../shared/dist/utils/silent-monitor.js
|
|
239140
239144
|
class McpSilentOperationMonitor {
|
|
239141
239145
|
getOriginalConsoleError() {
|
|
239142
239146
|
return this.originalConsoleError;
|
|
@@ -239264,9 +239268,9 @@ function validateSilentEnvironment() {
|
|
|
239264
239268
|
issues
|
|
239265
239269
|
};
|
|
239266
239270
|
}
|
|
239267
|
-
//
|
|
239268
|
-
var __filename = "/Users/keithgroves/projects/enact/enact-cli/packages/
|
|
239269
|
-
//
|
|
239271
|
+
// ../shared/dist/utils/version.js
|
|
239272
|
+
var __filename = "/Users/keithgroves/projects/enact/enact-cli/packages/shared/dist/utils/version.js";
|
|
239273
|
+
// ../shared/dist/web/env-manager-server.js
|
|
239270
239274
|
import { createServer } from "http";
|
|
239271
239275
|
import { parse as parse3 } from "url";
|
|
239272
239276
|
import { readFile as readFile2, writeFile, mkdir, readdir, stat as stat2 } from "fs/promises";
|
|
@@ -239547,7 +239551,7 @@ function startEnvManagerServer(port = 5555) {
|
|
|
239547
239551
|
});
|
|
239548
239552
|
});
|
|
239549
239553
|
}
|
|
239550
|
-
//
|
|
239554
|
+
// ../shared/dist/LocalToolResolver.js
|
|
239551
239555
|
var yaml2 = __toESM(require_dist3(), 1);
|
|
239552
239556
|
import { promises as fs5, readFileSync as readFileSync3, writeFileSync } from "fs";
|
|
239553
239557
|
import { join as join5, resolve, basename as basename2 } from "path";
|
|
@@ -239833,7 +239837,7 @@ Use the MCP tools to manage this directory programmatically.
|
|
|
239833
239837
|
}
|
|
239834
239838
|
}
|
|
239835
239839
|
var LocalToolResolver_default = LocalToolResolver;
|
|
239836
|
-
//
|
|
239840
|
+
// ../shared/dist/services/McpCoreService.js
|
|
239837
239841
|
class McpCoreService {
|
|
239838
239842
|
constructor(options) {
|
|
239839
239843
|
this.core = new EnactCore({
|
|
@@ -239903,7 +239907,7 @@ class McpCoreService {
|
|
|
239903
239907
|
}
|
|
239904
239908
|
}
|
|
239905
239909
|
var mcpCoreService = new McpCoreService;
|
|
239906
|
-
//
|
|
239910
|
+
// ../shared/dist/lib/enact-direct.js
|
|
239907
239911
|
class EnactDirect {
|
|
239908
239912
|
constructor(options = {}) {
|
|
239909
239913
|
this.core = new EnactCore({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enactprotocol/mcp-server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "MCP server for the Enact Protocol - enables AI tools integration via Model Context Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"node": ">=18.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@enactprotocol/shared": "1.2.
|
|
44
|
+
"@enactprotocol/shared": "1.2.3",
|
|
45
45
|
"@modelcontextprotocol/sdk": "^1.13.0",
|
|
46
46
|
"zod": "^3.25.67"
|
|
47
47
|
},
|