@x402scan/mcp 0.0.7-beta.1 → 0.0.7-beta.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.
@@ -0,0 +1,657 @@
1
+ import { Clients, clientMetadata } from './chunk-47GMMJYJ.js';
2
+ import { getBalance, DIST_TAG } from './chunk-BGSCKUEG.js';
3
+ import { wait, promptDeposit } from './chunk-NV5QXA6N.js';
4
+ import { getWallet, log, err, safeWriteFile, redeemInviteCode, safeReadFile, resultFromThrowable } from './chunk-4ESXGYV6.js';
5
+ import './chunk-PLDDJCW6.js';
6
+ import chalk2 from 'chalk';
7
+ import { intro, outro, log as log$1, select, confirm, stream, spinner } from '@clack/prompts';
8
+ import z from 'zod';
9
+ import fs from 'fs';
10
+ import os from 'os';
11
+ import path2 from 'path';
12
+ import process2 from 'process';
13
+ import * as TOML from '@iarna/toml';
14
+ import yaml from 'js-yaml';
15
+ import * as jsonc from 'jsonc-parser';
16
+
17
+ var getClient = async ({ client: flagClient, yes }) => {
18
+ if (yes) {
19
+ if (!flagClient) {
20
+ throw new Error(
21
+ `Client is required when yes is true. Pass --client as one of these values: ${Object.values(Clients).join(", ")}`
22
+ );
23
+ }
24
+ const parsedClient2 = z.enum(Clients).safeParse(flagClient);
25
+ if (!parsedClient2.success) {
26
+ throw new Error(
27
+ `${flagClient} is not a valid client. Valid options are: ${Object.values(Clients).join(", ")}`
28
+ );
29
+ }
30
+ return parsedClient2.data;
31
+ }
32
+ const parsedClient = z.enum(Clients).safeParse(flagClient);
33
+ if (parsedClient.success) {
34
+ return parsedClient.data;
35
+ }
36
+ if (flagClient) {
37
+ log$1.error(`${flagClient} is not a valid client. Please select a client`);
38
+ }
39
+ const client = await select({
40
+ message: "Where would you like to install the x402scan MCP server?",
41
+ options: Object.values(Clients).map((client2) => {
42
+ const metadata = clientMetadata[client2];
43
+ return {
44
+ label: metadata.name,
45
+ value: client2
46
+ };
47
+ }),
48
+ maxItems: 7
49
+ });
50
+ const parsedClientSelection = z.enum(Clients).safeParse(client);
51
+ if (parsedClientSelection.success) {
52
+ return parsedClientSelection.data;
53
+ }
54
+ outro(chalk2.bold.red("No MCP client selected"));
55
+ process.exit(0);
56
+ };
57
+ var Platforms = /* @__PURE__ */ ((Platforms2) => {
58
+ Platforms2["Windows"] = "win32";
59
+ Platforms2["MacOS"] = "darwin";
60
+ Platforms2["Linux"] = "linux";
61
+ return Platforms2;
62
+ })(Platforms || {});
63
+ var getPlatformPath = () => {
64
+ const platform = z.enum(Platforms).safeParse(process2.platform);
65
+ if (!platform.success) {
66
+ throw new Error(`Invalid platform: ${process2.platform}`);
67
+ }
68
+ const homeDir = os.homedir();
69
+ switch (platform.data) {
70
+ case "win32" /* Windows */:
71
+ return {
72
+ baseDir: process2.env.APPDATA ?? path2.join(homeDir, "AppData", "Roaming"),
73
+ vscodePath: path2.join("Code", "User")
74
+ };
75
+ case "darwin" /* MacOS */:
76
+ return {
77
+ baseDir: path2.join(homeDir, "Library", "Application Support"),
78
+ vscodePath: path2.join("Code", "User")
79
+ };
80
+ case "linux" /* Linux */:
81
+ return {
82
+ baseDir: process2.env.XDG_CONFIG_HOME ?? path2.join(homeDir, ".config"),
83
+ vscodePath: path2.join("Code/User")
84
+ };
85
+ default:
86
+ throw new Error(`Invalid platform: ${process2.platform}`);
87
+ }
88
+ };
89
+
90
+ // src/cli/install/2-add-server/lib/result.ts
91
+ var errorType = "config";
92
+ var surface = "config_file";
93
+ var configResultFromThrowable = (fn, error) => resultFromThrowable(errorType, surface, fn, error);
94
+
95
+ // src/cli/install/2-add-server/lib/file-types.ts
96
+ var parseContent = (fileContent, format, path3) => {
97
+ return configResultFromThrowable(
98
+ () => {
99
+ let config;
100
+ if (format === "yaml" /* YAML */) {
101
+ config = yaml.load(fileContent);
102
+ } else if (format === "toml" /* TOML */) {
103
+ config = TOML.parse(fileContent);
104
+ } else if (path3.endsWith(".jsonc")) {
105
+ config = jsonc.parse(fileContent);
106
+ } else {
107
+ config = JSON.parse(fileContent);
108
+ }
109
+ return {
110
+ config,
111
+ fileContent
112
+ };
113
+ },
114
+ (e) => ({
115
+ cause: "parse_config",
116
+ message: e instanceof Error ? e.message : "Failed to parse config file"
117
+ })
118
+ );
119
+ };
120
+ var parseClientConfig = async ({ format, path: path3 }) => {
121
+ const readResult = await safeReadFile("config_file", path3);
122
+ if (readResult.isErr()) return readResult;
123
+ const parseResult = parseContent(readResult.value, format, path3);
124
+ if (parseResult.isErr()) return parseResult;
125
+ return parseResult;
126
+ };
127
+ var serializeJsonc = (config, originalContent) => {
128
+ return configResultFromThrowable(
129
+ () => {
130
+ const modifications = [];
131
+ for (const key of Object.keys(config)) {
132
+ const keyPath = [key];
133
+ const edits = jsonc.modify(originalContent, keyPath, config[key], {
134
+ formattingOptions: { tabSize: 2, insertSpaces: true }
135
+ });
136
+ modifications.push(...edits);
137
+ }
138
+ return jsonc.applyEdits(originalContent, modifications);
139
+ },
140
+ (e) => ({
141
+ cause: "serialize_config",
142
+ message: e instanceof Error ? e.message : "Failed to serialize JSONC"
143
+ })
144
+ );
145
+ };
146
+ var serializeClientConfig = ({ format, path: path3 }, config, originalContent) => {
147
+ if (format === "yaml" /* YAML */) {
148
+ return yaml.dump(config, {
149
+ indent: 2,
150
+ lineWidth: -1,
151
+ noRefs: true
152
+ });
153
+ }
154
+ if (format === "toml" /* TOML */) {
155
+ return TOML.stringify(config);
156
+ }
157
+ if (path3.endsWith(".jsonc") && originalContent) {
158
+ const result = serializeJsonc(config, originalContent);
159
+ if (result.isOk()) {
160
+ return result.value;
161
+ }
162
+ console.log(`Error applying JSONC edits: ${result.error.message}`);
163
+ console.log("Falling back to JSON.stringify (comments will be lost)");
164
+ return JSON.stringify(config, null, 2);
165
+ }
166
+ return JSON.stringify(config, null, 2);
167
+ };
168
+ var stringifyObject = (config, format) => {
169
+ if (format === "yaml" /* YAML */) {
170
+ return yaml.dump(config, {
171
+ indent: 2,
172
+ lineWidth: -1,
173
+ noRefs: true
174
+ });
175
+ }
176
+ if (format === "toml" /* TOML */) {
177
+ return TOML.stringify(config);
178
+ }
179
+ return JSON.stringify(config, null, 2);
180
+ };
181
+
182
+ // src/cli/install/2-add-server/lib/client-config-file.ts
183
+ var getClientConfigFile = (client) => {
184
+ const homeDir = os.homedir();
185
+ const { baseDir, vscodePath } = getPlatformPath();
186
+ switch (client) {
187
+ case "claude" /* Claude */:
188
+ return {
189
+ path: path2.join(baseDir, "Claude", "claude_desktop_config.json"),
190
+ configKey: "mcpServers",
191
+ format: "json" /* JSON */
192
+ };
193
+ case "cline" /* Cline */:
194
+ return {
195
+ path: path2.join(
196
+ baseDir,
197
+ vscodePath,
198
+ "globalStorage",
199
+ "saoudrizwan.claude-dev",
200
+ "settings",
201
+ "cline_mcp_settings.json"
202
+ ),
203
+ configKey: "mcpServers",
204
+ format: "json" /* JSON */
205
+ };
206
+ case "roo-cline" /* RooCline */:
207
+ return {
208
+ path: path2.join(
209
+ baseDir,
210
+ vscodePath,
211
+ "globalStorage",
212
+ "rooveterinaryinc.roo-cline",
213
+ "settings",
214
+ "mcp_settings.json"
215
+ ),
216
+ configKey: "mcpServers",
217
+ format: "json" /* JSON */
218
+ };
219
+ case "windsurf" /* Windsurf */:
220
+ return {
221
+ path: path2.join(homeDir, ".codeium", "windsurf", "mcp_config.json"),
222
+ configKey: "mcpServers",
223
+ format: "json" /* JSON */
224
+ };
225
+ case "cursor" /* Cursor */:
226
+ return {
227
+ path: path2.join(homeDir, ".cursor", "mcp.json"),
228
+ configKey: "mcpServers",
229
+ format: "json" /* JSON */
230
+ };
231
+ case "warp" /* Warp */:
232
+ return {
233
+ path: "no-local-config",
234
+ // it's okay this isn't a real path, we never use it
235
+ configKey: "mcpServers",
236
+ format: "json" /* JSON */
237
+ };
238
+ case "gemini-cli" /* GeminiCli */:
239
+ return {
240
+ path: path2.join(homeDir, ".gemini", "settings.json"),
241
+ configKey: "mcpServers",
242
+ format: "json" /* JSON */
243
+ };
244
+ case "vscode" /* Vscode */:
245
+ return {
246
+ path: path2.join(baseDir, vscodePath, "mcp.json"),
247
+ configKey: "mcpServers",
248
+ format: "json" /* JSON */
249
+ };
250
+ case "claude-code" /* ClaudeCode */:
251
+ return {
252
+ path: path2.join(homeDir, ".claude.json"),
253
+ configKey: "mcpServers",
254
+ format: "json" /* JSON */
255
+ };
256
+ case "goose" /* Goose */:
257
+ return {
258
+ path: path2.join(homeDir, ".config", "goose", "config.yaml"),
259
+ configKey: "extensions",
260
+ format: "yaml" /* YAML */
261
+ };
262
+ case "zed" /* Zed */:
263
+ return {
264
+ path: process2.platform === "win32" ? path2.join(
265
+ process2.env.APPDATA ?? path2.join(homeDir, "AppData", "Roaming"),
266
+ "Zed",
267
+ "settings.json"
268
+ ) : path2.join(homeDir, ".config", "zed", "settings.json"),
269
+ configKey: "context_servers",
270
+ format: "json" /* JSON */
271
+ };
272
+ case "codex" /* Codex */:
273
+ return {
274
+ path: path2.join(
275
+ process2.env.CODEX_HOME ?? path2.join(homeDir, ".codex"),
276
+ "config.toml"
277
+ ),
278
+ configKey: "mcp_servers",
279
+ format: "toml" /* TOML */
280
+ };
281
+ case "opencode" /* Opencode */: {
282
+ const jsonPath = path2.join(
283
+ homeDir,
284
+ ".config",
285
+ "opencode",
286
+ "opencode.json"
287
+ );
288
+ const jsoncPath = jsonPath.replace(".json", ".jsonc");
289
+ if (fs.existsSync(jsoncPath)) {
290
+ log.info(`Found .jsonc file for OpenCode, using: ${jsoncPath}`);
291
+ return {
292
+ path: jsoncPath,
293
+ configKey: "mcp",
294
+ format: "json" /* JSON */
295
+ };
296
+ }
297
+ return {
298
+ path: jsonPath,
299
+ configKey: "mcp",
300
+ format: "json" /* JSON */
301
+ };
302
+ }
303
+ default:
304
+ throw new Error(`Unknown client: ${String(client)}`);
305
+ }
306
+ };
307
+
308
+ // src/cli/install/2-add-server/lib/nested-values.ts
309
+ var getNestedValue = (obj, path3) => {
310
+ const keys = path3.split(".");
311
+ let current = obj;
312
+ for (const key of keys) {
313
+ if (current && typeof current === "object" && key in current) {
314
+ current = current[key];
315
+ } else {
316
+ return void 0;
317
+ }
318
+ }
319
+ return current;
320
+ };
321
+ var setNestedValue = (obj, path3, value) => {
322
+ const keys = path3.split(".");
323
+ const lastKey = keys.pop();
324
+ if (!lastKey) return;
325
+ const target = keys.reduce((current, key) => {
326
+ current[key] ??= {};
327
+ return current[key];
328
+ }, obj);
329
+ target[lastKey] = value;
330
+ };
331
+
332
+ // src/cli/install/2-add-server/index.ts
333
+ var getMcpConfig = (globalFlags) => {
334
+ if (globalFlags.dev) {
335
+ return {
336
+ serverName: "x402",
337
+ command: "node",
338
+ args: [`${process.cwd()}/dist/esm/index.js`, "--dev"]
339
+ };
340
+ }
341
+ return {
342
+ serverName: "x402",
343
+ command: "npx",
344
+ args: ["-y", `@x402scan/mcp@${DIST_TAG}`]
345
+ };
346
+ };
347
+ var addServer = async (client, globalFlags) => {
348
+ const { serverName, command, args } = getMcpConfig(globalFlags);
349
+ if (client === "warp" /* Warp */) {
350
+ log$1.info(
351
+ chalk2.bold.yellow("Warp requires a manual installation through their UI.")
352
+ );
353
+ log$1.message(
354
+ "Please copy the following configuration object and add it to your Warp MCP config:"
355
+ );
356
+ console.log();
357
+ console.log(
358
+ JSON.stringify(
359
+ {
360
+ [serverName]: {
361
+ command,
362
+ args,
363
+ working_directory: null,
364
+ start_on_launch: true
365
+ }
366
+ },
367
+ null,
368
+ 2
369
+ )
370
+ );
371
+ console.log();
372
+ log$1.message(
373
+ `Read Warp's documentation at https://docs.warp.dev/knowledge-and-collaboration/mcp`
374
+ );
375
+ const addedToWarp = await confirm({
376
+ message: "Did you add the MCP server to your Warp config?"
377
+ });
378
+ if (!addedToWarp) {
379
+ return err("user", "install", {
380
+ cause: "warp_mcp_server_not_added",
381
+ message: "Warp MCP server not added"
382
+ });
383
+ }
384
+ }
385
+ const clientFileTarget = getClientConfigFile(client);
386
+ const { name } = clientMetadata[client];
387
+ let config = {};
388
+ let content = void 0;
389
+ log.info(`Checking if config file exists at: ${clientFileTarget.path}`);
390
+ if (!fs.existsSync(clientFileTarget.path)) {
391
+ log.info("Config file not found, creating default empty config");
392
+ setNestedValue(config, clientFileTarget.configKey, {});
393
+ log.info("Config created successfully");
394
+ if (!globalFlags.yes) {
395
+ await wait({
396
+ startText: "Locating config file",
397
+ stopText: `No config found, creating default empty config`,
398
+ ms: 1e3
399
+ });
400
+ }
401
+ } else {
402
+ log.info("Config file found, reading config file content");
403
+ const parseResult = await parseClientConfig(clientFileTarget);
404
+ if (parseResult.isErr()) {
405
+ log$1.error(
406
+ chalk2.bold.red(`Error reading config: ${parseResult.error.message}`)
407
+ );
408
+ outro(chalk2.bold.red(`Error adding x402scan MCP to ${name}`));
409
+ process.exit(1);
410
+ }
411
+ const { config: rawConfig, fileContent } = parseResult.value;
412
+ config = rawConfig;
413
+ content = fileContent;
414
+ const existingValue = getNestedValue(rawConfig, clientFileTarget.configKey);
415
+ if (!existingValue) {
416
+ setNestedValue(rawConfig, clientFileTarget.configKey, {});
417
+ }
418
+ if (!globalFlags.yes) {
419
+ await wait({
420
+ startText: `Locating config file`,
421
+ stopText: `Config loaded from ${clientFileTarget.path}`,
422
+ ms: 1e3
423
+ });
424
+ }
425
+ }
426
+ const servers = getNestedValue(config, clientFileTarget.configKey);
427
+ if (!servers || typeof servers !== "object") {
428
+ log.error(`Invalid ${clientFileTarget.configKey} structure in config`);
429
+ log$1.error(
430
+ chalk2.bold.red(
431
+ `Invalid ${clientFileTarget.configKey} structure in config`
432
+ )
433
+ );
434
+ outro(chalk2.bold.red(`Error adding x402scan MCP to ${name}`));
435
+ process.exit(1);
436
+ }
437
+ if (client === "goose" /* Goose */) {
438
+ servers[serverName] = {
439
+ name: serverName,
440
+ cmd: command,
441
+ args,
442
+ enabled: true,
443
+ envs: {},
444
+ type: "stdio",
445
+ timeout: 300
446
+ };
447
+ } else if (client === "zed" /* Zed */) {
448
+ servers[serverName] = {
449
+ source: "custom",
450
+ command,
451
+ args,
452
+ env: {}
453
+ };
454
+ } else if (client === "opencode" /* Opencode */) {
455
+ servers[serverName] = {
456
+ type: "local",
457
+ command,
458
+ args,
459
+ enabled: true,
460
+ environment: {}
461
+ };
462
+ } else {
463
+ servers[serverName] = {
464
+ command,
465
+ args
466
+ };
467
+ }
468
+ if (!globalFlags.yes) {
469
+ await new Promise((resolve) => setTimeout(resolve, 1e3));
470
+ log$1.step(
471
+ `The following will be added to ${chalk2.bold.underline(clientFileTarget.path)}`
472
+ );
473
+ }
474
+ const configStr = formatDiffByFormat(
475
+ {
476
+ [clientFileTarget.configKey]: {
477
+ [serverName]: servers[serverName]
478
+ }
479
+ },
480
+ clientFileTarget.format
481
+ );
482
+ if (!globalFlags.yes) {
483
+ await stream.message(
484
+ (async function* () {
485
+ for (const num of Array.from(
486
+ { length: configStr.length },
487
+ (_, i) => i
488
+ )) {
489
+ const char = configStr[num];
490
+ yield char;
491
+ if (!["\n", " ", "\u2500", "\u256E", "\u256D", "\u2570", "\u256F", "\u2502"].includes(char)) {
492
+ await new Promise((resolve) => setTimeout(resolve, 5));
493
+ } else {
494
+ await new Promise((resolve) => setTimeout(resolve, 2));
495
+ }
496
+ }
497
+ })()
498
+ );
499
+ await new Promise((resolve) => setTimeout(resolve, 1e3));
500
+ }
501
+ const isConfirmed = globalFlags.yes ? true : await confirm({
502
+ message: `Would you like to proceed?`,
503
+ active: "Install MCP",
504
+ inactive: "Cancel"
505
+ });
506
+ if (isConfirmed !== true) {
507
+ outro(chalk2.bold.red("Installation cancelled"));
508
+ process.exit(0);
509
+ }
510
+ const configContent = serializeClientConfig(
511
+ clientFileTarget,
512
+ config,
513
+ content
514
+ );
515
+ const writeResult = await safeWriteFile(
516
+ "config_file",
517
+ clientFileTarget.path,
518
+ configContent
519
+ );
520
+ if (writeResult.isErr()) {
521
+ log$1.error(
522
+ chalk2.bold.red(`Error writing config: ${writeResult.error.message}`)
523
+ );
524
+ outro(chalk2.bold.red(`Error adding x402scan MCP to ${name}`));
525
+ process.exit(1);
526
+ }
527
+ log$1.success(chalk2.bold.green(`Added x402scan MCP to ${name}`));
528
+ };
529
+ var formatDiffByFormat = (obj, format) => {
530
+ const str = stringifyObject(obj, format);
531
+ switch (format) {
532
+ case "json" /* JSON */: {
533
+ const numLines = str.split("\n").length;
534
+ return str.split("\n").map((line, index) => {
535
+ const diffLines = [0, 1, numLines - 2, numLines - 1];
536
+ const isDiffLine = !diffLines.includes(index);
537
+ if (isDiffLine) {
538
+ return `${chalk2.bold.green(`+ ${line.slice(2)}`)}`;
539
+ }
540
+ return line;
541
+ }).join("\n");
542
+ }
543
+ case "yaml" /* YAML */: {
544
+ return str.split("\n").map((line, index) => {
545
+ const diffLines = [0, 1, str.length - 2, str.length - 1];
546
+ const isDiffLine = !diffLines.includes(index);
547
+ if (isDiffLine) {
548
+ return `${chalk2.bold.green(`+ ${line.slice(2)}`)}`;
549
+ }
550
+ return line;
551
+ }).join("\n");
552
+ }
553
+ case "toml" /* TOML */: {
554
+ return str.split("\n").filter((line) => line.trim() !== "").map((line) => {
555
+ return `${chalk2.bold.green(`+ ${line.trim()}`)}`;
556
+ }).join("\n");
557
+ }
558
+ }
559
+ };
560
+ var redeemInviteCode2 = async (props, flags) => {
561
+ const s = spinner();
562
+ if (!flags.yes) {
563
+ s.start("Redeeming invite code...");
564
+ }
565
+ const result = await redeemInviteCode(props);
566
+ return result.match(
567
+ async ({ amount, txHash }) => {
568
+ if (!flags.yes) {
569
+ s.stop("Invite code redeemed successfully!");
570
+ await wait({
571
+ startText: "Processing...",
572
+ stopText: chalk2.green(
573
+ `${chalk2.bold(amount)} USDC has been sent to your wallet!`
574
+ ),
575
+ ms: 1e3
576
+ });
577
+ }
578
+ log$1.info(chalk2.dim(`Transaction: https://basescan.org/tx/${txHash}`));
579
+ return true;
580
+ },
581
+ (error) => {
582
+ if (!flags.yes) {
583
+ s.stop("Invite code redemption failed");
584
+ }
585
+ log$1.warning(
586
+ chalk2.yellow(`Failed to redeem invite code: ${error.message}`)
587
+ );
588
+ return false;
589
+ }
590
+ );
591
+ };
592
+ var addFunds = async ({ flags, address, isNew }) => {
593
+ if (isNew) {
594
+ if (!flags.yes) {
595
+ await new Promise((resolve) => setTimeout(resolve, 1e3));
596
+ }
597
+ log$1.info("To use paid API tools, you will need USDC in your wallet.");
598
+ await promptDeposit({ address, flags, surface: "add-funds" });
599
+ } else {
600
+ const { start, stop } = spinner();
601
+ start("Checking balance...");
602
+ const balanceResult = await getBalance({
603
+ address,
604
+ flags,
605
+ surface: "add-funds"
606
+ });
607
+ if (balanceResult.isOk()) {
608
+ stop(`Balance: ${chalk2.bold(`${balanceResult.value.balance} USDC`)} `);
609
+ } else {
610
+ stop(`Error: ${balanceResult.error.message}`);
611
+ return;
612
+ }
613
+ const balance = balanceResult.value;
614
+ if (balance.balance < 1) {
615
+ log$1.warning(
616
+ chalk2.bold(
617
+ `Your balance is low (${balance.balance} USDC). Consider topping up.`
618
+ )
619
+ );
620
+ await promptDeposit({ address, flags, surface: "install" });
621
+ }
622
+ }
623
+ };
624
+
625
+ // src/cli/install/index.ts
626
+ var installMcpServer = async (flags) => {
627
+ intro(chalk2.green.bold(`Install x402scan MCP`));
628
+ const walletResult = await getWallet();
629
+ if (walletResult.isErr()) {
630
+ log.error(JSON.stringify(walletResult.error, null, 2));
631
+ outro(chalk2.bold.red("Failed to get wallet"));
632
+ process.exit(1);
633
+ }
634
+ const {
635
+ account: { address },
636
+ isNew
637
+ } = walletResult.value;
638
+ const client = await getClient(flags);
639
+ await addServer(client, flags);
640
+ const inviteRedeemed = flags.invite ? await redeemInviteCode2(
641
+ {
642
+ code: flags.invite,
643
+ dev: flags.dev,
644
+ address,
645
+ surface: "install"
646
+ },
647
+ flags
648
+ ) : false;
649
+ if (!inviteRedeemed) {
650
+ await addFunds({ flags, address, isNew });
651
+ }
652
+ outro(chalk2.bold.green("Your x402scan MCP server is ready to use!"));
653
+ };
654
+
655
+ export { installMcpServer };
656
+ //# sourceMappingURL=install-F5WF4NGY.js.map
657
+ //# sourceMappingURL=install-F5WF4NGY.js.map