hvip-mcp-server 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/dist/{index.mjs → bundle.mjs} +1 -423
- package/dist/index.js +2 -0
- package/package.json +4 -3
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
#!/usr/bin/env node
|
|
3
2
|
var __create = Object.create;
|
|
4
3
|
var __defProp = Object.defineProperty;
|
|
5
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var
|
|
10
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
11
|
-
}) : x)(function(x) {
|
|
12
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
|
-
});
|
|
15
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
8
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
16
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
17
10
|
};
|
|
18
11
|
var __export = (target, all) => {
|
|
@@ -36,410 +29,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
36
29
|
mod
|
|
37
30
|
));
|
|
38
31
|
|
|
39
|
-
// node_modules/dotenv/package.json
|
|
40
|
-
var require_package = __commonJS({
|
|
41
|
-
"node_modules/dotenv/package.json"(exports, module) {
|
|
42
|
-
module.exports = {
|
|
43
|
-
name: "dotenv",
|
|
44
|
-
version: "16.6.1",
|
|
45
|
-
description: "Loads environment variables from .env file",
|
|
46
|
-
main: "lib/main.js",
|
|
47
|
-
types: "lib/main.d.ts",
|
|
48
|
-
exports: {
|
|
49
|
-
".": {
|
|
50
|
-
types: "./lib/main.d.ts",
|
|
51
|
-
require: "./lib/main.js",
|
|
52
|
-
default: "./lib/main.js"
|
|
53
|
-
},
|
|
54
|
-
"./config": "./config.js",
|
|
55
|
-
"./config.js": "./config.js",
|
|
56
|
-
"./lib/env-options": "./lib/env-options.js",
|
|
57
|
-
"./lib/env-options.js": "./lib/env-options.js",
|
|
58
|
-
"./lib/cli-options": "./lib/cli-options.js",
|
|
59
|
-
"./lib/cli-options.js": "./lib/cli-options.js",
|
|
60
|
-
"./package.json": "./package.json"
|
|
61
|
-
},
|
|
62
|
-
scripts: {
|
|
63
|
-
"dts-check": "tsc --project tests/types/tsconfig.json",
|
|
64
|
-
lint: "standard",
|
|
65
|
-
pretest: "npm run lint && npm run dts-check",
|
|
66
|
-
test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
|
|
67
|
-
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
|
|
68
|
-
prerelease: "npm test",
|
|
69
|
-
release: "standard-version"
|
|
70
|
-
},
|
|
71
|
-
repository: {
|
|
72
|
-
type: "git",
|
|
73
|
-
url: "git://github.com/motdotla/dotenv.git"
|
|
74
|
-
},
|
|
75
|
-
homepage: "https://github.com/motdotla/dotenv#readme",
|
|
76
|
-
funding: "https://dotenvx.com",
|
|
77
|
-
keywords: [
|
|
78
|
-
"dotenv",
|
|
79
|
-
"env",
|
|
80
|
-
".env",
|
|
81
|
-
"environment",
|
|
82
|
-
"variables",
|
|
83
|
-
"config",
|
|
84
|
-
"settings"
|
|
85
|
-
],
|
|
86
|
-
readmeFilename: "README.md",
|
|
87
|
-
license: "BSD-2-Clause",
|
|
88
|
-
devDependencies: {
|
|
89
|
-
"@types/node": "^18.11.3",
|
|
90
|
-
decache: "^4.6.2",
|
|
91
|
-
sinon: "^14.0.1",
|
|
92
|
-
standard: "^17.0.0",
|
|
93
|
-
"standard-version": "^9.5.0",
|
|
94
|
-
tap: "^19.2.0",
|
|
95
|
-
typescript: "^4.8.4"
|
|
96
|
-
},
|
|
97
|
-
engines: {
|
|
98
|
-
node: ">=12"
|
|
99
|
-
},
|
|
100
|
-
browser: {
|
|
101
|
-
fs: false
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
// node_modules/dotenv/lib/main.js
|
|
108
|
-
var require_main = __commonJS({
|
|
109
|
-
"node_modules/dotenv/lib/main.js"(exports, module) {
|
|
110
|
-
var fs = __require("fs");
|
|
111
|
-
var path = __require("path");
|
|
112
|
-
var os = __require("os");
|
|
113
|
-
var crypto2 = __require("crypto");
|
|
114
|
-
var packageJson = require_package();
|
|
115
|
-
var version2 = packageJson.version;
|
|
116
|
-
var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
|
|
117
|
-
function parse3(src) {
|
|
118
|
-
const obj = {};
|
|
119
|
-
let lines = src.toString();
|
|
120
|
-
lines = lines.replace(/\r\n?/mg, "\n");
|
|
121
|
-
let match;
|
|
122
|
-
while ((match = LINE.exec(lines)) != null) {
|
|
123
|
-
const key = match[1];
|
|
124
|
-
let value = match[2] || "";
|
|
125
|
-
value = value.trim();
|
|
126
|
-
const maybeQuote = value[0];
|
|
127
|
-
value = value.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
|
|
128
|
-
if (maybeQuote === '"') {
|
|
129
|
-
value = value.replace(/\\n/g, "\n");
|
|
130
|
-
value = value.replace(/\\r/g, "\r");
|
|
131
|
-
}
|
|
132
|
-
obj[key] = value;
|
|
133
|
-
}
|
|
134
|
-
return obj;
|
|
135
|
-
}
|
|
136
|
-
function _parseVault(options) {
|
|
137
|
-
options = options || {};
|
|
138
|
-
const vaultPath = _vaultPath(options);
|
|
139
|
-
options.path = vaultPath;
|
|
140
|
-
const result = DotenvModule.configDotenv(options);
|
|
141
|
-
if (!result.parsed) {
|
|
142
|
-
const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
|
|
143
|
-
err.code = "MISSING_DATA";
|
|
144
|
-
throw err;
|
|
145
|
-
}
|
|
146
|
-
const keys = _dotenvKey(options).split(",");
|
|
147
|
-
const length = keys.length;
|
|
148
|
-
let decrypted;
|
|
149
|
-
for (let i = 0; i < length; i++) {
|
|
150
|
-
try {
|
|
151
|
-
const key = keys[i].trim();
|
|
152
|
-
const attrs = _instructions(result, key);
|
|
153
|
-
decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
|
|
154
|
-
break;
|
|
155
|
-
} catch (error2) {
|
|
156
|
-
if (i + 1 >= length) {
|
|
157
|
-
throw error2;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
return DotenvModule.parse(decrypted);
|
|
162
|
-
}
|
|
163
|
-
function _warn(message) {
|
|
164
|
-
console.log(`[dotenv@${version2}][WARN] ${message}`);
|
|
165
|
-
}
|
|
166
|
-
function _debug(message) {
|
|
167
|
-
console.log(`[dotenv@${version2}][DEBUG] ${message}`);
|
|
168
|
-
}
|
|
169
|
-
function _log(message) {
|
|
170
|
-
console.log(`[dotenv@${version2}] ${message}`);
|
|
171
|
-
}
|
|
172
|
-
function _dotenvKey(options) {
|
|
173
|
-
if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) {
|
|
174
|
-
return options.DOTENV_KEY;
|
|
175
|
-
}
|
|
176
|
-
if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
|
|
177
|
-
return process.env.DOTENV_KEY;
|
|
178
|
-
}
|
|
179
|
-
return "";
|
|
180
|
-
}
|
|
181
|
-
function _instructions(result, dotenvKey) {
|
|
182
|
-
let uri;
|
|
183
|
-
try {
|
|
184
|
-
uri = new URL(dotenvKey);
|
|
185
|
-
} catch (error2) {
|
|
186
|
-
if (error2.code === "ERR_INVALID_URL") {
|
|
187
|
-
const err = new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");
|
|
188
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
189
|
-
throw err;
|
|
190
|
-
}
|
|
191
|
-
throw error2;
|
|
192
|
-
}
|
|
193
|
-
const key = uri.password;
|
|
194
|
-
if (!key) {
|
|
195
|
-
const err = new Error("INVALID_DOTENV_KEY: Missing key part");
|
|
196
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
197
|
-
throw err;
|
|
198
|
-
}
|
|
199
|
-
const environment = uri.searchParams.get("environment");
|
|
200
|
-
if (!environment) {
|
|
201
|
-
const err = new Error("INVALID_DOTENV_KEY: Missing environment part");
|
|
202
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
203
|
-
throw err;
|
|
204
|
-
}
|
|
205
|
-
const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`;
|
|
206
|
-
const ciphertext = result.parsed[environmentKey];
|
|
207
|
-
if (!ciphertext) {
|
|
208
|
-
const err = new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`);
|
|
209
|
-
err.code = "NOT_FOUND_DOTENV_ENVIRONMENT";
|
|
210
|
-
throw err;
|
|
211
|
-
}
|
|
212
|
-
return { ciphertext, key };
|
|
213
|
-
}
|
|
214
|
-
function _vaultPath(options) {
|
|
215
|
-
let possibleVaultPath = null;
|
|
216
|
-
if (options && options.path && options.path.length > 0) {
|
|
217
|
-
if (Array.isArray(options.path)) {
|
|
218
|
-
for (const filepath of options.path) {
|
|
219
|
-
if (fs.existsSync(filepath)) {
|
|
220
|
-
possibleVaultPath = filepath.endsWith(".vault") ? filepath : `${filepath}.vault`;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
} else {
|
|
224
|
-
possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
|
|
225
|
-
}
|
|
226
|
-
} else {
|
|
227
|
-
possibleVaultPath = path.resolve(process.cwd(), ".env.vault");
|
|
228
|
-
}
|
|
229
|
-
if (fs.existsSync(possibleVaultPath)) {
|
|
230
|
-
return possibleVaultPath;
|
|
231
|
-
}
|
|
232
|
-
return null;
|
|
233
|
-
}
|
|
234
|
-
function _resolveHome(envPath) {
|
|
235
|
-
return envPath[0] === "~" ? path.join(os.homedir(), envPath.slice(1)) : envPath;
|
|
236
|
-
}
|
|
237
|
-
function _configVault(options) {
|
|
238
|
-
const debug = Boolean(options && options.debug);
|
|
239
|
-
const quiet = options && "quiet" in options ? options.quiet : true;
|
|
240
|
-
if (debug || !quiet) {
|
|
241
|
-
_log("Loading env from encrypted .env.vault");
|
|
242
|
-
}
|
|
243
|
-
const parsed = DotenvModule._parseVault(options);
|
|
244
|
-
let processEnv = process.env;
|
|
245
|
-
if (options && options.processEnv != null) {
|
|
246
|
-
processEnv = options.processEnv;
|
|
247
|
-
}
|
|
248
|
-
DotenvModule.populate(processEnv, parsed, options);
|
|
249
|
-
return { parsed };
|
|
250
|
-
}
|
|
251
|
-
function configDotenv(options) {
|
|
252
|
-
const dotenvPath = path.resolve(process.cwd(), ".env");
|
|
253
|
-
let encoding = "utf8";
|
|
254
|
-
const debug = Boolean(options && options.debug);
|
|
255
|
-
const quiet = options && "quiet" in options ? options.quiet : true;
|
|
256
|
-
if (options && options.encoding) {
|
|
257
|
-
encoding = options.encoding;
|
|
258
|
-
} else {
|
|
259
|
-
if (debug) {
|
|
260
|
-
_debug("No encoding is specified. UTF-8 is used by default");
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
let optionPaths = [dotenvPath];
|
|
264
|
-
if (options && options.path) {
|
|
265
|
-
if (!Array.isArray(options.path)) {
|
|
266
|
-
optionPaths = [_resolveHome(options.path)];
|
|
267
|
-
} else {
|
|
268
|
-
optionPaths = [];
|
|
269
|
-
for (const filepath of options.path) {
|
|
270
|
-
optionPaths.push(_resolveHome(filepath));
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
let lastError;
|
|
275
|
-
const parsedAll = {};
|
|
276
|
-
for (const path2 of optionPaths) {
|
|
277
|
-
try {
|
|
278
|
-
const parsed = DotenvModule.parse(fs.readFileSync(path2, { encoding }));
|
|
279
|
-
DotenvModule.populate(parsedAll, parsed, options);
|
|
280
|
-
} catch (e) {
|
|
281
|
-
if (debug) {
|
|
282
|
-
_debug(`Failed to load ${path2} ${e.message}`);
|
|
283
|
-
}
|
|
284
|
-
lastError = e;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
let processEnv = process.env;
|
|
288
|
-
if (options && options.processEnv != null) {
|
|
289
|
-
processEnv = options.processEnv;
|
|
290
|
-
}
|
|
291
|
-
DotenvModule.populate(processEnv, parsedAll, options);
|
|
292
|
-
if (debug || !quiet) {
|
|
293
|
-
const keysCount = Object.keys(parsedAll).length;
|
|
294
|
-
const shortPaths = [];
|
|
295
|
-
for (const filePath of optionPaths) {
|
|
296
|
-
try {
|
|
297
|
-
const relative = path.relative(process.cwd(), filePath);
|
|
298
|
-
shortPaths.push(relative);
|
|
299
|
-
} catch (e) {
|
|
300
|
-
if (debug) {
|
|
301
|
-
_debug(`Failed to load ${filePath} ${e.message}`);
|
|
302
|
-
}
|
|
303
|
-
lastError = e;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
_log(`injecting env (${keysCount}) from ${shortPaths.join(",")}`);
|
|
307
|
-
}
|
|
308
|
-
if (lastError) {
|
|
309
|
-
return { parsed: parsedAll, error: lastError };
|
|
310
|
-
} else {
|
|
311
|
-
return { parsed: parsedAll };
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
function config2(options) {
|
|
315
|
-
if (_dotenvKey(options).length === 0) {
|
|
316
|
-
return DotenvModule.configDotenv(options);
|
|
317
|
-
}
|
|
318
|
-
const vaultPath = _vaultPath(options);
|
|
319
|
-
if (!vaultPath) {
|
|
320
|
-
_warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`);
|
|
321
|
-
return DotenvModule.configDotenv(options);
|
|
322
|
-
}
|
|
323
|
-
return DotenvModule._configVault(options);
|
|
324
|
-
}
|
|
325
|
-
function decrypt(encrypted, keyStr) {
|
|
326
|
-
const key = Buffer.from(keyStr.slice(-64), "hex");
|
|
327
|
-
let ciphertext = Buffer.from(encrypted, "base64");
|
|
328
|
-
const nonce = ciphertext.subarray(0, 12);
|
|
329
|
-
const authTag = ciphertext.subarray(-16);
|
|
330
|
-
ciphertext = ciphertext.subarray(12, -16);
|
|
331
|
-
try {
|
|
332
|
-
const aesgcm = crypto2.createDecipheriv("aes-256-gcm", key, nonce);
|
|
333
|
-
aesgcm.setAuthTag(authTag);
|
|
334
|
-
return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
|
|
335
|
-
} catch (error2) {
|
|
336
|
-
const isRange = error2 instanceof RangeError;
|
|
337
|
-
const invalidKeyLength = error2.message === "Invalid key length";
|
|
338
|
-
const decryptionFailed = error2.message === "Unsupported state or unable to authenticate data";
|
|
339
|
-
if (isRange || invalidKeyLength) {
|
|
340
|
-
const err = new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
|
|
341
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
342
|
-
throw err;
|
|
343
|
-
} else if (decryptionFailed) {
|
|
344
|
-
const err = new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");
|
|
345
|
-
err.code = "DECRYPTION_FAILED";
|
|
346
|
-
throw err;
|
|
347
|
-
} else {
|
|
348
|
-
throw error2;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
function populate(processEnv, parsed, options = {}) {
|
|
353
|
-
const debug = Boolean(options && options.debug);
|
|
354
|
-
const override = Boolean(options && options.override);
|
|
355
|
-
if (typeof parsed !== "object") {
|
|
356
|
-
const err = new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");
|
|
357
|
-
err.code = "OBJECT_REQUIRED";
|
|
358
|
-
throw err;
|
|
359
|
-
}
|
|
360
|
-
for (const key of Object.keys(parsed)) {
|
|
361
|
-
if (Object.prototype.hasOwnProperty.call(processEnv, key)) {
|
|
362
|
-
if (override === true) {
|
|
363
|
-
processEnv[key] = parsed[key];
|
|
364
|
-
}
|
|
365
|
-
if (debug) {
|
|
366
|
-
if (override === true) {
|
|
367
|
-
_debug(`"${key}" is already defined and WAS overwritten`);
|
|
368
|
-
} else {
|
|
369
|
-
_debug(`"${key}" is already defined and was NOT overwritten`);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
} else {
|
|
373
|
-
processEnv[key] = parsed[key];
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
var DotenvModule = {
|
|
378
|
-
configDotenv,
|
|
379
|
-
_configVault,
|
|
380
|
-
_parseVault,
|
|
381
|
-
config: config2,
|
|
382
|
-
decrypt,
|
|
383
|
-
parse: parse3,
|
|
384
|
-
populate
|
|
385
|
-
};
|
|
386
|
-
module.exports.configDotenv = DotenvModule.configDotenv;
|
|
387
|
-
module.exports._configVault = DotenvModule._configVault;
|
|
388
|
-
module.exports._parseVault = DotenvModule._parseVault;
|
|
389
|
-
module.exports.config = DotenvModule.config;
|
|
390
|
-
module.exports.decrypt = DotenvModule.decrypt;
|
|
391
|
-
module.exports.parse = DotenvModule.parse;
|
|
392
|
-
module.exports.populate = DotenvModule.populate;
|
|
393
|
-
module.exports = DotenvModule;
|
|
394
|
-
}
|
|
395
|
-
});
|
|
396
|
-
|
|
397
|
-
// node_modules/dotenv/lib/env-options.js
|
|
398
|
-
var require_env_options = __commonJS({
|
|
399
|
-
"node_modules/dotenv/lib/env-options.js"(exports, module) {
|
|
400
|
-
var options = {};
|
|
401
|
-
if (process.env.DOTENV_CONFIG_ENCODING != null) {
|
|
402
|
-
options.encoding = process.env.DOTENV_CONFIG_ENCODING;
|
|
403
|
-
}
|
|
404
|
-
if (process.env.DOTENV_CONFIG_PATH != null) {
|
|
405
|
-
options.path = process.env.DOTENV_CONFIG_PATH;
|
|
406
|
-
}
|
|
407
|
-
if (process.env.DOTENV_CONFIG_QUIET != null) {
|
|
408
|
-
options.quiet = process.env.DOTENV_CONFIG_QUIET;
|
|
409
|
-
}
|
|
410
|
-
if (process.env.DOTENV_CONFIG_DEBUG != null) {
|
|
411
|
-
options.debug = process.env.DOTENV_CONFIG_DEBUG;
|
|
412
|
-
}
|
|
413
|
-
if (process.env.DOTENV_CONFIG_OVERRIDE != null) {
|
|
414
|
-
options.override = process.env.DOTENV_CONFIG_OVERRIDE;
|
|
415
|
-
}
|
|
416
|
-
if (process.env.DOTENV_CONFIG_DOTENV_KEY != null) {
|
|
417
|
-
options.DOTENV_KEY = process.env.DOTENV_CONFIG_DOTENV_KEY;
|
|
418
|
-
}
|
|
419
|
-
module.exports = options;
|
|
420
|
-
}
|
|
421
|
-
});
|
|
422
|
-
|
|
423
|
-
// node_modules/dotenv/lib/cli-options.js
|
|
424
|
-
var require_cli_options = __commonJS({
|
|
425
|
-
"node_modules/dotenv/lib/cli-options.js"(exports, module) {
|
|
426
|
-
var re = /^dotenv_config_(encoding|path|quiet|debug|override|DOTENV_KEY)=(.+)$/;
|
|
427
|
-
module.exports = function optionMatcher(args) {
|
|
428
|
-
const options = args.reduce(function(acc, cur) {
|
|
429
|
-
const matches = cur.match(re);
|
|
430
|
-
if (matches) {
|
|
431
|
-
acc[matches[1]] = matches[2];
|
|
432
|
-
}
|
|
433
|
-
return acc;
|
|
434
|
-
}, {});
|
|
435
|
-
if (!("quiet" in options)) {
|
|
436
|
-
options.quiet = "true";
|
|
437
|
-
}
|
|
438
|
-
return options;
|
|
439
|
-
};
|
|
440
|
-
}
|
|
441
|
-
});
|
|
442
|
-
|
|
443
32
|
// node_modules/ajv/dist/compile/codegen/code.js
|
|
444
33
|
var require_code = __commonJS({
|
|
445
34
|
"node_modules/ajv/dist/compile/codegen/code.js"(exports) {
|
|
@@ -7296,17 +6885,6 @@ var require_dist = __commonJS({
|
|
|
7296
6885
|
}
|
|
7297
6886
|
});
|
|
7298
6887
|
|
|
7299
|
-
// node_modules/dotenv/config.js
|
|
7300
|
-
(function() {
|
|
7301
|
-
require_main().config(
|
|
7302
|
-
Object.assign(
|
|
7303
|
-
{},
|
|
7304
|
-
require_env_options(),
|
|
7305
|
-
require_cli_options()(process.argv)
|
|
7306
|
-
)
|
|
7307
|
-
);
|
|
7308
|
-
})();
|
|
7309
|
-
|
|
7310
6888
|
// node_modules/zod/v3/external.js
|
|
7311
6889
|
var external_exports = {};
|
|
7312
6890
|
__export(external_exports, {
|
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hvip-mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "OKX ecosystem MCP server — full API coverage for AI agents",
|
|
5
5
|
"homepage": "https://hvip.one",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bin": {
|
|
9
|
-
"hvip-mcp": "./dist/index.
|
|
9
|
+
"hvip-mcp": "./dist/index.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
|
-
"dist/index.
|
|
12
|
+
"dist/index.js",
|
|
13
|
+
"dist/bundle.mjs"
|
|
13
14
|
],
|
|
14
15
|
"scripts": {
|
|
15
16
|
"build": "node build.mjs",
|