@kodycodes/cli 1.26.3 → 1.27.0

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.
Files changed (167) hide show
  1. package/README.md +175 -167
  2. package/dist/add-mcp-install.d.ts +1 -1
  3. package/dist/api-token.d.ts +1 -1
  4. package/dist/{auth-4FW6GCLG.js → auth-6ZE6QQXA.js} +13 -8
  5. package/dist/auth-bootstrap.d.ts +1 -1
  6. package/dist/auth.d.ts +27 -3
  7. package/dist/bin.js +18 -18
  8. package/dist/capability-proxy.d.ts +1 -1
  9. package/dist/{chunk-D55XPY3T.js → chunk-2IHISXHN.js} +58 -27
  10. package/dist/chunk-2IHISXHN.js.map +6 -0
  11. package/dist/{chunk-SMURF26I.js → chunk-2XPH7L2P.js} +1 -1
  12. package/dist/chunk-2XPH7L2P.js.map +6 -0
  13. package/dist/{chunk-RM34N3KI.js → chunk-3H72XY5R.js} +16 -6
  14. package/dist/chunk-3H72XY5R.js.map +6 -0
  15. package/dist/{chunk-G4YN6XP5.js → chunk-4GIFJVGT.js} +1 -1
  16. package/dist/chunk-4GIFJVGT.js.map +6 -0
  17. package/dist/{chunk-R4IUV5P5.js → chunk-5JIRHJQP.js} +397 -45
  18. package/dist/chunk-5JIRHJQP.js.map +6 -0
  19. package/dist/chunk-5ZBJAP6G.js +2005 -0
  20. package/dist/chunk-5ZBJAP6G.js.map +6 -0
  21. package/dist/{chunk-6XQP5SWX.js → chunk-6ZYUGXVW.js} +1 -1
  22. package/dist/chunk-6ZYUGXVW.js.map +6 -0
  23. package/dist/{chunk-OVGXPRSY.js → chunk-7PRJ36I5.js} +4 -1
  24. package/dist/{chunk-OVGXPRSY.js.map → chunk-7PRJ36I5.js.map} +1 -1
  25. package/dist/{chunk-IHP6PV6X.js → chunk-BTL3PJ2H.js} +1 -12
  26. package/dist/chunk-BTL3PJ2H.js.map +6 -0
  27. package/dist/{chunk-VQS5YSCI.js → chunk-CPS7HW4T.js} +8 -6
  28. package/dist/{chunk-VQS5YSCI.js.map → chunk-CPS7HW4T.js.map} +1 -1
  29. package/dist/{chunk-TIL35OWA.js → chunk-D366STO5.js} +238 -146
  30. package/dist/chunk-D366STO5.js.map +6 -0
  31. package/dist/{chunk-BISUL7CE.js → chunk-DW5UTJ6T.js} +14 -5
  32. package/dist/chunk-DW5UTJ6T.js.map +6 -0
  33. package/dist/{target-3QHY7JT4.js → chunk-EJXEVGWF.js} +8 -6
  34. package/dist/chunk-EJXEVGWF.js.map +6 -0
  35. package/dist/{chunk-XDCOWU5R.js → chunk-FBEZ6PZ7.js} +64 -14
  36. package/dist/chunk-FBEZ6PZ7.js.map +6 -0
  37. package/dist/{chunk-SXHULGL4.js → chunk-JOMBXQOS.js} +18 -9
  38. package/dist/chunk-JOMBXQOS.js.map +6 -0
  39. package/dist/{chunk-64XN367G.js → chunk-LU7I7CQ4.js} +66 -44
  40. package/dist/chunk-LU7I7CQ4.js.map +6 -0
  41. package/dist/{chunk-EOCV74B2.js → chunk-OZDWOZLV.js} +41 -25
  42. package/dist/chunk-OZDWOZLV.js.map +6 -0
  43. package/dist/{chunk-75RZUXQL.js → chunk-SLNAWWQK.js} +4 -2
  44. package/dist/{chunk-75RZUXQL.js.map → chunk-SLNAWWQK.js.map} +1 -1
  45. package/dist/{chunk-64IM6G4Z.js → chunk-TUUFQYWP.js} +13 -6
  46. package/dist/chunk-TUUFQYWP.js.map +6 -0
  47. package/dist/{chunk-QHBCP4OB.js → chunk-UW6AWLXX.js} +6 -7
  48. package/dist/chunk-W2SAFAT4.js +1563 -0
  49. package/dist/chunk-W2SAFAT4.js.map +6 -0
  50. package/dist/{chunk-BPGY4IE7.js → chunk-XV6D6HSG.js} +1 -1
  51. package/dist/chunk-XV6D6HSG.js.map +6 -0
  52. package/dist/{chunk-XOPPGRUP.js → chunk-Y4FOJETX.js} +17 -6
  53. package/dist/chunk-Y4FOJETX.js.map +6 -0
  54. package/dist/{chunk-PDWCKWQF.js → chunk-YDWTXEKQ.js} +26 -10
  55. package/dist/chunk-YDWTXEKQ.js.map +6 -0
  56. package/dist/{chunk-JWEFKKAD.js → chunk-ZILB2HWE.js} +1 -1
  57. package/dist/chunk-ZILB2HWE.js.map +6 -0
  58. package/dist/cli.js +19 -19
  59. package/dist/defaults.d.ts +1 -1
  60. package/dist/detect-running-hosts.d.ts +1 -1
  61. package/dist/dev/dev-assets.d.ts +1 -1
  62. package/dist/dev/dev-registry.d.ts +1 -1
  63. package/dist/dev/error-page.d.ts +1 -1
  64. package/dist/dev/live-reload.d.ts +2 -2
  65. package/dist/{dev-command-3LX234N6.js → dev-command-5PDEIWOC.js} +236 -111
  66. package/dist/dev-command-5PDEIWOC.js.map +6 -0
  67. package/dist/dev-command.d.ts +1 -1
  68. package/dist/discover-login-identity.d.ts +6 -7
  69. package/dist/discover-org.d.ts +2 -3
  70. package/dist/generated/openapi-routes.d.ts +6 -0
  71. package/dist/{git-credential-FUE3JE3T.js → git-credential-INB2UV4C.js} +32 -25
  72. package/dist/git-credential-INB2UV4C.js.map +6 -0
  73. package/dist/{install-ZML2TCDG.js → install-ONEJRYZ3.js} +147 -113
  74. package/dist/install-ONEJRYZ3.js.map +6 -0
  75. package/dist/install.d.ts +1 -1
  76. package/dist/{local-execute-SZV6XN4T.js → local-execute-I3BP5NEQ.js} +81 -54
  77. package/dist/local-execute-I3BP5NEQ.js.map +6 -0
  78. package/dist/local-execute-auth.d.ts +2 -2
  79. package/dist/local-execute.d.ts +1 -1
  80. package/dist/local-gateway-fetch-forward.d.ts +2 -2
  81. package/dist/local-package-run-JFKNSNWM.js +23 -0
  82. package/dist/local-package-run.d.ts +2 -2
  83. package/dist/mock/mock-fetch-gateway.d.ts +2 -2
  84. package/dist/mock/mock-supported.d.ts +1 -1
  85. package/dist/{mock-dep-resolve-TVABDNR7.js → mock-dep-resolve-B5ZH4U3H.js} +14 -6
  86. package/dist/mock-dep-resolve-B5ZH4U3H.js.map +6 -0
  87. package/dist/{mock-fetch-gateway-B5TFGGQS.js → mock-fetch-gateway-S2ULVFAI.js} +7 -6
  88. package/dist/{mock-local-deps-5SZT3PWT.js → mock-local-deps-2VVNJLFF.js} +20 -17
  89. package/dist/mock-local-deps-2VVNJLFF.js.map +6 -0
  90. package/dist/mock-local-deps.d.ts +1 -1
  91. package/dist/{mock-server-SV2IKC4I.js → mock-server-TFO7Q26H.js} +8 -7
  92. package/dist/oauth-browser.d.ts +42 -0
  93. package/dist/oauth-provider.d.ts +14 -19
  94. package/dist/{open-api-client-DVVMLY7P.js → open-api-client-SR4B7265.js} +11 -10
  95. package/dist/open-api-client.d.ts +2 -1
  96. package/dist/{org-X7B5BI4R.js → org-535LB4PD.js} +8 -6
  97. package/dist/org-535LB4PD.js.map +6 -0
  98. package/dist/org-resolve.d.ts +2 -0
  99. package/dist/package-app-dev.d.ts +2 -2
  100. package/dist/{package-manifest-QH2RU64C.js → package-manifest-DFF6XCPV.js} +5 -4
  101. package/dist/{remote-execute-QMQDVHOY.js → remote-execute-JN6DRFEU.js} +49 -30
  102. package/dist/remote-execute-JN6DRFEU.js.map +6 -0
  103. package/dist/remote-execute.d.ts +3 -3
  104. package/dist/{setup-git-5KCUBYPB.js → setup-git-MHK563LB.js} +11 -12
  105. package/dist/setup-git.d.ts +1 -1
  106. package/dist/{skill-ENPATRIW.js → skill-D74XVI6T.js} +26 -8
  107. package/dist/skill-D74XVI6T.js.map +6 -0
  108. package/dist/{store-WTMRH527.js → store-27J4CQZ2.js} +4 -4
  109. package/dist/{structured-error-C65GQ53Z.js → structured-error-5MLWXYR3.js} +4 -3
  110. package/dist/structured-error.d.ts +1 -1
  111. package/dist/target-33ATHDUF.js +17 -0
  112. package/package.json +6 -5
  113. package/skills/kody/SKILL.md +53 -50
  114. package/dist/chunk-4D6ORNXY.js +0 -24404
  115. package/dist/chunk-4D6ORNXY.js.map +0 -6
  116. package/dist/chunk-64IM6G4Z.js.map +0 -6
  117. package/dist/chunk-64XN367G.js.map +0 -6
  118. package/dist/chunk-6XQP5SWX.js.map +0 -6
  119. package/dist/chunk-BISUL7CE.js.map +0 -6
  120. package/dist/chunk-BPGY4IE7.js.map +0 -6
  121. package/dist/chunk-D55XPY3T.js.map +0 -6
  122. package/dist/chunk-EOCV74B2.js.map +0 -6
  123. package/dist/chunk-FBVNFWR6.js +0 -437
  124. package/dist/chunk-FBVNFWR6.js.map +0 -6
  125. package/dist/chunk-G4YN6XP5.js.map +0 -6
  126. package/dist/chunk-G6LJWROP.js +0 -18
  127. package/dist/chunk-G6LJWROP.js.map +0 -6
  128. package/dist/chunk-IHP6PV6X.js.map +0 -6
  129. package/dist/chunk-JWEFKKAD.js.map +0 -6
  130. package/dist/chunk-LWNB26KO.js +0 -147
  131. package/dist/chunk-LWNB26KO.js.map +0 -6
  132. package/dist/chunk-PDWCKWQF.js.map +0 -6
  133. package/dist/chunk-R4IUV5P5.js.map +0 -6
  134. package/dist/chunk-RM34N3KI.js.map +0 -6
  135. package/dist/chunk-RTWUNV76.js +0 -309
  136. package/dist/chunk-RTWUNV76.js.map +0 -6
  137. package/dist/chunk-SMURF26I.js.map +0 -6
  138. package/dist/chunk-SXHULGL4.js.map +0 -6
  139. package/dist/chunk-TIL35OWA.js.map +0 -6
  140. package/dist/chunk-XDCOWU5R.js.map +0 -6
  141. package/dist/chunk-XOPPGRUP.js.map +0 -6
  142. package/dist/dev-command-3LX234N6.js.map +0 -6
  143. package/dist/git-credential-FUE3JE3T.js.map +0 -6
  144. package/dist/install-ZML2TCDG.js.map +0 -6
  145. package/dist/local-execute-SZV6XN4T.js.map +0 -6
  146. package/dist/local-package-run-2TMCAZZ2.js +0 -23
  147. package/dist/mcp-G2AWTIXR.js +0 -21
  148. package/dist/mcp.d.ts +0 -34
  149. package/dist/mock-dep-resolve-TVABDNR7.js.map +0 -6
  150. package/dist/mock-local-deps-5SZT3PWT.js.map +0 -6
  151. package/dist/org-X7B5BI4R.js.map +0 -6
  152. package/dist/remote-execute-QMQDVHOY.js.map +0 -6
  153. package/dist/skill-ENPATRIW.js.map +0 -6
  154. package/dist/target-3QHY7JT4.js.map +0 -6
  155. package/dist/webapi-NTVP4BO3.js +0 -2482
  156. package/dist/webapi-NTVP4BO3.js.map +0 -6
  157. /package/dist/{auth-4FW6GCLG.js.map → auth-6ZE6QQXA.js.map} +0 -0
  158. /package/dist/{chunk-QHBCP4OB.js.map → chunk-UW6AWLXX.js.map} +0 -0
  159. /package/dist/{local-package-run-2TMCAZZ2.js.map → local-package-run-JFKNSNWM.js.map} +0 -0
  160. /package/dist/{mcp-G2AWTIXR.js.map → mock-fetch-gateway-S2ULVFAI.js.map} +0 -0
  161. /package/dist/{mock-fetch-gateway-B5TFGGQS.js.map → mock-server-TFO7Q26H.js.map} +0 -0
  162. /package/dist/{mock-server-SV2IKC4I.js.map → open-api-client-SR4B7265.js.map} +0 -0
  163. /package/dist/{open-api-client-DVVMLY7P.js.map → package-manifest-DFF6XCPV.js.map} +0 -0
  164. /package/dist/{package-manifest-QH2RU64C.js.map → setup-git-MHK563LB.js.map} +0 -0
  165. /package/dist/{setup-git-5KCUBYPB.js.map → store-27J4CQZ2.js.map} +0 -0
  166. /package/dist/{store-WTMRH527.js.map → structured-error-5MLWXYR3.js.map} +0 -0
  167. /package/dist/{structured-error-C65GQ53Z.js.map → target-33ATHDUF.js.map} +0 -0
@@ -7,25 +7,25 @@ import {
7
7
  hostCatalog,
8
8
  hostConfigPath,
9
9
  parseHostIds
10
- } from "./chunk-PDWCKWQF.js";
10
+ } from "./chunk-YDWTXEKQ.js";
11
11
  import {
12
12
  which
13
- } from "./chunk-6XQP5SWX.js";
13
+ } from "./chunk-6ZYUGXVW.js";
14
14
  import {
15
15
  openUrl
16
- } from "./chunk-JWEFKKAD.js";
16
+ } from "./chunk-ZILB2HWE.js";
17
17
  import {
18
18
  onboardingUrl
19
- } from "./chunk-IHP6PV6X.js";
19
+ } from "./chunk-BTL3PJ2H.js";
20
20
  import {
21
21
  __commonJS,
22
22
  __require,
23
23
  __toESM
24
- } from "./chunk-QHBCP4OB.js";
24
+ } from "./chunk-UW6AWLXX.js";
25
25
 
26
- // node_modules/cli-width/index.js
26
+ // ../../node_modules/cli-width/index.js
27
27
  var require_cli_width = __commonJS({
28
- "node_modules/cli-width/index.js"(exports2, module2) {
28
+ "../../node_modules/cli-width/index.js"(exports2, module2) {
29
29
  "use strict";
30
30
  module2.exports = cliWidth2;
31
31
  function normalizeOpts(options) {
@@ -66,9 +66,9 @@ var require_cli_width = __commonJS({
66
66
  }
67
67
  });
68
68
 
69
- // node_modules/mute-stream/lib/index.js
69
+ // ../../node_modules/mute-stream/lib/index.js
70
70
  var require_lib = __commonJS({
71
- "node_modules/mute-stream/lib/index.js"(exports2, module2) {
71
+ "../../node_modules/mute-stream/lib/index.js"(exports2, module2) {
72
72
  var Stream = __require("stream");
73
73
  var MuteStream2 = class extends Stream {
74
74
  #isTTY = null;
@@ -188,9 +188,9 @@ var require_lib = __commonJS({
188
188
  }
189
189
  });
190
190
 
191
- // node_modules/sisteransi/src/index.js
191
+ // ../../node_modules/sisteransi/src/index.js
192
192
  var require_src = __commonJS({
193
- "node_modules/sisteransi/src/index.js"(exports2, module2) {
193
+ "../../node_modules/sisteransi/src/index.js"(exports2, module2) {
194
194
  "use strict";
195
195
  var ESC3 = "\x1B";
196
196
  var CSI2 = `${ESC3}[`;
@@ -244,9 +244,9 @@ var require_src = __commonJS({
244
244
  }
245
245
  });
246
246
 
247
- // node_modules/@iarna/toml/lib/parser.js
247
+ // ../../node_modules/@iarna/toml/lib/parser.js
248
248
  var require_parser = __commonJS({
249
- "node_modules/@iarna/toml/lib/parser.js"(exports2, module2) {
249
+ "../../node_modules/@iarna/toml/lib/parser.js"(exports2, module2) {
250
250
  "use strict";
251
251
  var ParserEND = 1114112;
252
252
  var ParserError = class _ParserError extends Error {
@@ -369,9 +369,9 @@ var require_parser = __commonJS({
369
369
  }
370
370
  });
371
371
 
372
- // node_modules/@iarna/toml/lib/create-datetime.js
372
+ // ../../node_modules/@iarna/toml/lib/create-datetime.js
373
373
  var require_create_datetime = __commonJS({
374
- "node_modules/@iarna/toml/lib/create-datetime.js"(exports2, module2) {
374
+ "../../node_modules/@iarna/toml/lib/create-datetime.js"(exports2, module2) {
375
375
  "use strict";
376
376
  module2.exports = (value) => {
377
377
  const date = new Date(value);
@@ -384,9 +384,9 @@ var require_create_datetime = __commonJS({
384
384
  }
385
385
  });
386
386
 
387
- // node_modules/@iarna/toml/lib/format-num.js
387
+ // ../../node_modules/@iarna/toml/lib/format-num.js
388
388
  var require_format_num = __commonJS({
389
- "node_modules/@iarna/toml/lib/format-num.js"(exports2, module2) {
389
+ "../../node_modules/@iarna/toml/lib/format-num.js"(exports2, module2) {
390
390
  "use strict";
391
391
  module2.exports = (d, num) => {
392
392
  num = String(num);
@@ -396,9 +396,9 @@ var require_format_num = __commonJS({
396
396
  }
397
397
  });
398
398
 
399
- // node_modules/@iarna/toml/lib/create-datetime-float.js
399
+ // ../../node_modules/@iarna/toml/lib/create-datetime-float.js
400
400
  var require_create_datetime_float = __commonJS({
401
- "node_modules/@iarna/toml/lib/create-datetime-float.js"(exports2, module2) {
401
+ "../../node_modules/@iarna/toml/lib/create-datetime-float.js"(exports2, module2) {
402
402
  "use strict";
403
403
  var f = require_format_num();
404
404
  var FloatingDateTime = class extends Date {
@@ -423,9 +423,9 @@ var require_create_datetime_float = __commonJS({
423
423
  }
424
424
  });
425
425
 
426
- // node_modules/@iarna/toml/lib/create-date.js
426
+ // ../../node_modules/@iarna/toml/lib/create-date.js
427
427
  var require_create_date = __commonJS({
428
- "node_modules/@iarna/toml/lib/create-date.js"(exports2, module2) {
428
+ "../../node_modules/@iarna/toml/lib/create-date.js"(exports2, module2) {
429
429
  "use strict";
430
430
  var f = require_format_num();
431
431
  var DateTime = global.Date;
@@ -449,9 +449,9 @@ var require_create_date = __commonJS({
449
449
  }
450
450
  });
451
451
 
452
- // node_modules/@iarna/toml/lib/create-time.js
452
+ // ../../node_modules/@iarna/toml/lib/create-time.js
453
453
  var require_create_time = __commonJS({
454
- "node_modules/@iarna/toml/lib/create-time.js"(exports2, module2) {
454
+ "../../node_modules/@iarna/toml/lib/create-time.js"(exports2, module2) {
455
455
  "use strict";
456
456
  var f = require_format_num();
457
457
  var Time = class extends Date {
@@ -474,9 +474,9 @@ var require_create_time = __commonJS({
474
474
  }
475
475
  });
476
476
 
477
- // node_modules/@iarna/toml/lib/toml-parser.js
477
+ // ../../node_modules/@iarna/toml/lib/toml-parser.js
478
478
  var require_toml_parser = __commonJS({
479
- "node_modules/@iarna/toml/lib/toml-parser.js"(exports, module) {
479
+ "../../node_modules/@iarna/toml/lib/toml-parser.js"(exports, module) {
480
480
  "use strict";
481
481
  module.exports = makeParserClass(require_parser());
482
482
  module.exports.makeParserClass = makeParserClass;
@@ -574,8 +574,8 @@ var require_toml_parser = __commonJS({
574
574
  function isAlphaNumHyphen(cp) {
575
575
  return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;
576
576
  }
577
- var _type = Symbol("type");
578
- var _declared = Symbol("declared");
577
+ var _type = /* @__PURE__ */ Symbol("type");
578
+ var _declared = /* @__PURE__ */ Symbol("declared");
579
579
  var hasOwnProperty = Object.prototype.hasOwnProperty;
580
580
  var defineProperty = Object.defineProperty;
581
581
  var descriptor = { configurable: true, enumerable: true, writable: true, value: void 0 };
@@ -584,7 +584,7 @@ var require_toml_parser = __commonJS({
584
584
  if (key === "__proto__") defineProperty(obj, "__proto__", descriptor);
585
585
  return false;
586
586
  }
587
- var INLINE_TABLE = Symbol("inline-table");
587
+ var INLINE_TABLE = /* @__PURE__ */ Symbol("inline-table");
588
588
  function InlineTable() {
589
589
  return Object.defineProperties({}, {
590
590
  [_type]: { value: INLINE_TABLE }
@@ -594,7 +594,7 @@ var require_toml_parser = __commonJS({
594
594
  if (obj === null || typeof obj !== "object") return false;
595
595
  return obj[_type] === INLINE_TABLE;
596
596
  }
597
- var TABLE = Symbol("table");
597
+ var TABLE = /* @__PURE__ */ Symbol("table");
598
598
  function Table() {
599
599
  return Object.defineProperties({}, {
600
600
  [_type]: { value: TABLE },
@@ -605,8 +605,8 @@ var require_toml_parser = __commonJS({
605
605
  if (obj === null || typeof obj !== "object") return false;
606
606
  return obj[_type] === TABLE;
607
607
  }
608
- var _contentType = Symbol("content-type");
609
- var INLINE_LIST = Symbol("inline-list");
608
+ var _contentType = /* @__PURE__ */ Symbol("content-type");
609
+ var INLINE_LIST = /* @__PURE__ */ Symbol("inline-list");
610
610
  function InlineList(type2) {
611
611
  return Object.defineProperties([], {
612
612
  [_type]: { value: INLINE_LIST },
@@ -617,7 +617,7 @@ var require_toml_parser = __commonJS({
617
617
  if (obj === null || typeof obj !== "object") return false;
618
618
  return obj[_type] === INLINE_LIST;
619
619
  }
620
- var LIST = Symbol("list");
620
+ var LIST = /* @__PURE__ */ Symbol("list");
621
621
  function List() {
622
622
  return Object.defineProperties([], {
623
623
  [_type]: { value: LIST }
@@ -658,7 +658,7 @@ var require_toml_parser = __commonJS({
658
658
  return this.value;
659
659
  }
660
660
  };
661
- var INTEGER = Symbol("integer");
661
+ var INTEGER = /* @__PURE__ */ Symbol("integer");
662
662
  function Integer(value) {
663
663
  let num = Number(value);
664
664
  if (Object.is(num, -0)) num = 0;
@@ -678,7 +678,7 @@ var require_toml_parser = __commonJS({
678
678
  if (obj === null || typeof obj !== "object") return false;
679
679
  return obj[_type] === INTEGER;
680
680
  }
681
- var FLOAT = Symbol("float");
681
+ var FLOAT = /* @__PURE__ */ Symbol("float");
682
682
  function Float(value) {
683
683
  return Object.defineProperties(new Number(value), {
684
684
  [_type]: { value: FLOAT },
@@ -1787,9 +1787,9 @@ var require_toml_parser = __commonJS({
1787
1787
  }
1788
1788
  });
1789
1789
 
1790
- // node_modules/@iarna/toml/parse-pretty-error.js
1790
+ // ../../node_modules/@iarna/toml/parse-pretty-error.js
1791
1791
  var require_parse_pretty_error = __commonJS({
1792
- "node_modules/@iarna/toml/parse-pretty-error.js"(exports2, module2) {
1792
+ "../../node_modules/@iarna/toml/parse-pretty-error.js"(exports2, module2) {
1793
1793
  "use strict";
1794
1794
  module2.exports = prettyError;
1795
1795
  function prettyError(err, buf) {
@@ -1823,9 +1823,9 @@ var require_parse_pretty_error = __commonJS({
1823
1823
  }
1824
1824
  });
1825
1825
 
1826
- // node_modules/@iarna/toml/parse-string.js
1826
+ // ../../node_modules/@iarna/toml/parse-string.js
1827
1827
  var require_parse_string = __commonJS({
1828
- "node_modules/@iarna/toml/parse-string.js"(exports2, module2) {
1828
+ "../../node_modules/@iarna/toml/parse-string.js"(exports2, module2) {
1829
1829
  "use strict";
1830
1830
  module2.exports = parseString;
1831
1831
  var TOMLParser = require_toml_parser();
@@ -1845,9 +1845,9 @@ var require_parse_string = __commonJS({
1845
1845
  }
1846
1846
  });
1847
1847
 
1848
- // node_modules/@iarna/toml/parse-async.js
1848
+ // ../../node_modules/@iarna/toml/parse-async.js
1849
1849
  var require_parse_async = __commonJS({
1850
- "node_modules/@iarna/toml/parse-async.js"(exports2, module2) {
1850
+ "../../node_modules/@iarna/toml/parse-async.js"(exports2, module2) {
1851
1851
  "use strict";
1852
1852
  module2.exports = parseAsync;
1853
1853
  var TOMLParser = require_toml_parser();
@@ -1879,9 +1879,9 @@ var require_parse_async = __commonJS({
1879
1879
  }
1880
1880
  });
1881
1881
 
1882
- // node_modules/@iarna/toml/parse-stream.js
1882
+ // ../../node_modules/@iarna/toml/parse-stream.js
1883
1883
  var require_parse_stream = __commonJS({
1884
- "node_modules/@iarna/toml/parse-stream.js"(exports2, module2) {
1884
+ "../../node_modules/@iarna/toml/parse-stream.js"(exports2, module2) {
1885
1885
  "use strict";
1886
1886
  module2.exports = parseStream;
1887
1887
  var stream = __require("stream");
@@ -1958,9 +1958,9 @@ var require_parse_stream = __commonJS({
1958
1958
  }
1959
1959
  });
1960
1960
 
1961
- // node_modules/@iarna/toml/parse.js
1961
+ // ../../node_modules/@iarna/toml/parse.js
1962
1962
  var require_parse = __commonJS({
1963
- "node_modules/@iarna/toml/parse.js"(exports2, module2) {
1963
+ "../../node_modules/@iarna/toml/parse.js"(exports2, module2) {
1964
1964
  "use strict";
1965
1965
  module2.exports = require_parse_string();
1966
1966
  module2.exports.async = require_parse_async();
@@ -1969,9 +1969,9 @@ var require_parse = __commonJS({
1969
1969
  }
1970
1970
  });
1971
1971
 
1972
- // node_modules/@iarna/toml/stringify.js
1972
+ // ../../node_modules/@iarna/toml/stringify.js
1973
1973
  var require_stringify = __commonJS({
1974
- "node_modules/@iarna/toml/stringify.js"(exports2, module2) {
1974
+ "../../node_modules/@iarna/toml/stringify.js"(exports2, module2) {
1975
1975
  "use strict";
1976
1976
  module2.exports = stringify2;
1977
1977
  module2.exports.value = stringifyInline;
@@ -2230,9 +2230,9 @@ var require_stringify = __commonJS({
2230
2230
  }
2231
2231
  });
2232
2232
 
2233
- // node_modules/@iarna/toml/toml.js
2233
+ // ../../node_modules/@iarna/toml/toml.js
2234
2234
  var require_toml = __commonJS({
2235
- "node_modules/@iarna/toml/toml.js"(exports2) {
2235
+ "../../node_modules/@iarna/toml/toml.js"(exports2) {
2236
2236
  "use strict";
2237
2237
  exports2.parse = require_parse();
2238
2238
  exports2.stringify = require_stringify();
@@ -2242,7 +2242,7 @@ var require_toml = __commonJS({
2242
2242
  // src/install.ts
2243
2243
  import { homedir } from "node:os";
2244
2244
 
2245
- // node_modules/@inquirer/core/dist/lib/key.js
2245
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/key.js
2246
2246
  var keybindings = ["emacs", "vim"];
2247
2247
  var keybindingLookup = new Set(keybindings);
2248
2248
  function isKeybinding(value) {
@@ -2270,7 +2270,7 @@ var isSpaceKey = (key) => key.name === "space";
2270
2270
  var isNumberKey = (key) => "1234567890".includes(key.name);
2271
2271
  var isEnterKey = (key) => key.name === "enter" || key.name === "return";
2272
2272
 
2273
- // node_modules/@inquirer/core/dist/lib/errors.js
2273
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/errors.js
2274
2274
  var AbortPromptError = class extends Error {
2275
2275
  name = "AbortPromptError";
2276
2276
  message = "Prompt was aborted";
@@ -2293,10 +2293,10 @@ var ValidationError = class extends Error {
2293
2293
  name = "ValidationError";
2294
2294
  };
2295
2295
 
2296
- // node_modules/@inquirer/core/dist/lib/use-state.js
2296
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/use-state.js
2297
2297
  import { AsyncResource as AsyncResource2 } from "node:async_hooks";
2298
2298
 
2299
- // node_modules/@inquirer/core/dist/lib/hook-engine.js
2299
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/hook-engine.js
2300
2300
  import { AsyncLocalStorage, AsyncResource } from "node:async_hooks";
2301
2301
  var hookStorage = new AsyncLocalStorage();
2302
2302
  function createStore(rl) {
@@ -2400,7 +2400,7 @@ var effectScheduler = {
2400
2400
  }
2401
2401
  };
2402
2402
 
2403
- // node_modules/@inquirer/core/dist/lib/use-state.js
2403
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/use-state.js
2404
2404
  function isFactory(value) {
2405
2405
  return typeof value === "function";
2406
2406
  }
@@ -2426,7 +2426,7 @@ function useState(defaultValue) {
2426
2426
  });
2427
2427
  }
2428
2428
 
2429
- // node_modules/@inquirer/core/dist/lib/use-effect.js
2429
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/use-effect.js
2430
2430
  function useEffect(cb, depArray) {
2431
2431
  withPointer((pointer) => {
2432
2432
  const oldDeps = pointer.get();
@@ -2438,10 +2438,10 @@ function useEffect(cb, depArray) {
2438
2438
  });
2439
2439
  }
2440
2440
 
2441
- // node_modules/@inquirer/core/dist/lib/theme.js
2441
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/theme.js
2442
2442
  import { styleText } from "node:util";
2443
2443
 
2444
- // node_modules/@inquirer/figures/dist/index.js
2444
+ // ../../node_modules/@inquirer/figures/dist/index.js
2445
2445
  import process2 from "node:process";
2446
2446
  function isUnicodeSupported() {
2447
2447
  if (!process2.platform.startsWith("win")) {
@@ -2734,7 +2734,7 @@ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
2734
2734
  var dist_default = figures;
2735
2735
  var replacements = Object.entries(specialMainSymbols);
2736
2736
 
2737
- // node_modules/@inquirer/core/dist/lib/theme.js
2737
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/theme.js
2738
2738
  var defaultTheme = {
2739
2739
  prefix: {
2740
2740
  idle: styleText("blue", "?"),
@@ -2762,7 +2762,7 @@ function getDefaultTheme() {
2762
2762
  };
2763
2763
  }
2764
2764
 
2765
- // node_modules/@inquirer/core/dist/lib/make-theme.js
2765
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/make-theme.js
2766
2766
  function isPlainObject(value) {
2767
2767
  if (typeof value !== "object" || value === null)
2768
2768
  return false;
@@ -2790,7 +2790,7 @@ function makeTheme(...themes) {
2790
2790
  return deepMerge(...themesToMerge);
2791
2791
  }
2792
2792
 
2793
- // node_modules/@inquirer/core/dist/lib/use-prefix.js
2793
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/use-prefix.js
2794
2794
  function usePrefix({ status = "idle", theme }) {
2795
2795
  const [showLoader, setShowLoader] = useState(false);
2796
2796
  const [tick, setTick] = useState(0);
@@ -2821,7 +2821,7 @@ function usePrefix({ status = "idle", theme }) {
2821
2821
  return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
2822
2822
  }
2823
2823
 
2824
- // node_modules/@inquirer/core/dist/lib/use-memo.js
2824
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/use-memo.js
2825
2825
  function useMemo(fn, dependencies) {
2826
2826
  return withPointer((pointer) => {
2827
2827
  const prev = pointer.get();
@@ -2834,12 +2834,12 @@ function useMemo(fn, dependencies) {
2834
2834
  });
2835
2835
  }
2836
2836
 
2837
- // node_modules/@inquirer/core/dist/lib/use-ref.js
2837
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/use-ref.js
2838
2838
  function useRef(val) {
2839
2839
  return useState({ current: val })[0];
2840
2840
  }
2841
2841
 
2842
- // node_modules/@inquirer/core/dist/lib/use-keypress.js
2842
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/use-keypress.js
2843
2843
  function useKeypress(userHandler) {
2844
2844
  const signal = useRef(userHandler);
2845
2845
  signal.current = userHandler;
@@ -2858,10 +2858,10 @@ function useKeypress(userHandler) {
2858
2858
  }, []);
2859
2859
  }
2860
2860
 
2861
- // node_modules/@inquirer/core/dist/lib/utils.js
2861
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/utils.js
2862
2862
  var import_cli_width = __toESM(require_cli_width(), 1);
2863
2863
 
2864
- // node_modules/fast-string-truncated-width/dist/utils.js
2864
+ // ../../node_modules/fast-string-truncated-width/dist/utils.js
2865
2865
  var getCodePointsLength = /* @__PURE__ */ (() => {
2866
2866
  const SURROGATE_PAIR_RE = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
2867
2867
  return (input) => {
@@ -2880,7 +2880,7 @@ var isWideNotCJKTNotEmoji = (x) => {
2880
2880
  return x === 8987 || x === 9001 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
2881
2881
  };
2882
2882
 
2883
- // node_modules/fast-string-truncated-width/dist/index.js
2883
+ // ../../node_modules/fast-string-truncated-width/dist/index.js
2884
2884
  var ANSI_RE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]|\u001b\]8;[^;]*;.*?(?:\u0007|\u001b\u005c)/y;
2885
2885
  var CONTROL_RE = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y;
2886
2886
  var CJKT_WIDE_RE = /(?:(?![\uFF61-\uFF9F\uFF00-\uFFEF])[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Tangut}]){1,1000}/yu;
@@ -2978,7 +2978,7 @@ var getStringTruncatedWidth = (input, truncationOptions = {}, widthOptions = {})
2978
2978
  };
2979
2979
  var dist_default2 = getStringTruncatedWidth;
2980
2980
 
2981
- // node_modules/fast-string-width/dist/index.js
2981
+ // ../../node_modules/fast-string-width/dist/index.js
2982
2982
  var NO_TRUNCATION2 = {
2983
2983
  limit: Infinity,
2984
2984
  ellipsis: "",
@@ -2989,7 +2989,7 @@ var fastStringWidth = (input, options = {}) => {
2989
2989
  };
2990
2990
  var dist_default3 = fastStringWidth;
2991
2991
 
2992
- // node_modules/fast-wrap-ansi/lib/main.js
2992
+ // ../../node_modules/fast-wrap-ansi/lib/main.js
2993
2993
  var ESC = "\x1B";
2994
2994
  var CSI = "\x9B";
2995
2995
  var END_CODE = 39;
@@ -3197,7 +3197,7 @@ function wrapAnsi(string, columns, options) {
3197
3197
  return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
3198
3198
  }
3199
3199
 
3200
- // node_modules/@inquirer/core/dist/lib/utils.js
3200
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/utils.js
3201
3201
  function breakLines(content, width) {
3202
3202
  return content.split("\n").flatMap((line) => wrapAnsi(line, width, { trim: false, wordWrap: false }).split("\n").map((str2) => str2.trimEnd())).join("\n");
3203
3203
  }
@@ -3205,7 +3205,7 @@ function readlineWidth() {
3205
3205
  return (0, import_cli_width.default)({ defaultWidth: 80, output: readline().output });
3206
3206
  }
3207
3207
 
3208
- // node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js
3208
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js
3209
3209
  function usePointerPosition({ active, renderedItems, pageSize, loop }) {
3210
3210
  const state = useRef({
3211
3211
  lastPointer: active,
@@ -3294,11 +3294,11 @@ function usePagination({ items, active, renderItem, pageSize, loop = true }) {
3294
3294
  return pageBuffer.filter((line) => typeof line === "string").join("\n");
3295
3295
  }
3296
3296
 
3297
- // node_modules/@inquirer/core/dist/lib/create-prompt.js
3297
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/create-prompt.js
3298
3298
  import * as readline2 from "node:readline";
3299
3299
  import { AsyncResource as AsyncResource3 } from "node:async_hooks";
3300
3300
 
3301
- // node_modules/@inquirer/type/dist/utils.js
3301
+ // ../../node_modules/@inquirer/type/dist/utils.js
3302
3302
  function withResolver() {
3303
3303
  let resolve;
3304
3304
  let reject;
@@ -3309,10 +3309,10 @@ function withResolver() {
3309
3309
  return { promise, resolve, reject };
3310
3310
  }
3311
3311
 
3312
- // node_modules/@inquirer/core/dist/lib/create-prompt.js
3312
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/create-prompt.js
3313
3313
  var import_mute_stream = __toESM(require_lib(), 1);
3314
3314
 
3315
- // node_modules/signal-exit/dist/mjs/signals.js
3315
+ // ../../node_modules/@inquirer/checkbox/node_modules/signal-exit/dist/mjs/signals.js
3316
3316
  var signals = [];
3317
3317
  signals.push("SIGHUP", "SIGINT", "SIGTERM");
3318
3318
  if (process.platform !== "win32") {
@@ -3336,9 +3336,9 @@ if (process.platform === "linux") {
3336
3336
  signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
3337
3337
  }
3338
3338
 
3339
- // node_modules/signal-exit/dist/mjs/index.js
3339
+ // ../../node_modules/@inquirer/checkbox/node_modules/signal-exit/dist/mjs/index.js
3340
3340
  var processOk = (process4) => !!process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
3341
- var kExitEmitter = Symbol.for("signal-exit emitter");
3341
+ var kExitEmitter = /* @__PURE__ */ Symbol.for("signal-exit emitter");
3342
3342
  var global2 = globalThis;
3343
3343
  var ObjectDefineProperty = Object.defineProperty.bind(Object);
3344
3344
  var Emitter = class {
@@ -3563,10 +3563,10 @@ var {
3563
3563
  unload
3564
3564
  } = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback());
3565
3565
 
3566
- // node_modules/@inquirer/core/dist/lib/screen-manager.js
3566
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/screen-manager.js
3567
3567
  import { stripVTControlCharacters } from "node:util";
3568
3568
 
3569
- // node_modules/@inquirer/ansi/dist/index.js
3569
+ // ../../node_modules/@inquirer/ansi/dist/index.js
3570
3570
  var ESC2 = "\x1B[";
3571
3571
  var cursorLeft = ESC2 + "G";
3572
3572
  var cursorHide = ESC2 + "?25l";
@@ -3582,7 +3582,7 @@ var cursorTo = (x, y2) => {
3582
3582
  var eraseLine = ESC2 + "2K";
3583
3583
  var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
3584
3584
 
3585
- // node_modules/@inquirer/core/dist/lib/screen-manager.js
3585
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/screen-manager.js
3586
3586
  var height = (content) => content.split("\n").length;
3587
3587
  var lastLine = (content) => content.split("\n").pop() ?? "";
3588
3588
  var ScreenManager = class {
@@ -3643,7 +3643,7 @@ var ScreenManager = class {
3643
3643
  }
3644
3644
  };
3645
3645
 
3646
- // node_modules/@inquirer/core/dist/lib/create-prompt.js
3646
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/create-prompt.js
3647
3647
  import path from "node:path";
3648
3648
  var nativeSetImmediate = globalThis.setImmediate;
3649
3649
  function listenTo(target, event, listener) {
@@ -3761,7 +3761,7 @@ function createPrompt(view) {
3761
3761
  return prompt;
3762
3762
  }
3763
3763
 
3764
- // node_modules/@inquirer/core/dist/lib/Separator.js
3764
+ // ../../node_modules/@inquirer/checkbox/node_modules/@inquirer/core/dist/lib/Separator.js
3765
3765
  import { styleText as styleText2 } from "node:util";
3766
3766
  var Separator = class {
3767
3767
  separator = styleText2("dim", Array.from({ length: 15 }).join(dist_default.line));
@@ -3776,7 +3776,7 @@ var Separator = class {
3776
3776
  }
3777
3777
  };
3778
3778
 
3779
- // node_modules/@inquirer/checkbox/dist/index.js
3779
+ // ../../node_modules/@inquirer/checkbox/dist/index.js
3780
3780
  import { styleText as styleText3 } from "node:util";
3781
3781
  var checkboxTheme = {
3782
3782
  icon: {
@@ -3976,17 +3976,19 @@ async function listRunningProcesses() {
3976
3976
  }));
3977
3977
  }
3978
3978
  function detectRunningHosts(processes, catalog = hostCatalog) {
3979
- return catalog.filter((host) => processes.some((process4) => host.matches(process4)));
3979
+ return catalog.filter(
3980
+ (host) => processes.some((process4) => host.matches(process4))
3981
+ );
3980
3982
  }
3981
3983
 
3982
3984
  // src/install-hosts.ts
3983
3985
  import { mkdir, readFile, writeFile } from "node:fs/promises";
3984
3986
  import { spawn } from "node:child_process";
3985
3987
 
3986
- // node_modules/add-mcp/dist/chunk-BQ566E5O.js
3988
+ // ../../node_modules/add-mcp/dist/chunk-BQ566E5O.js
3987
3989
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
3988
3990
 
3989
- // node_modules/jsonc-parser/lib/esm/impl/scanner.js
3991
+ // ../../node_modules/jsonc-parser/lib/esm/impl/scanner.js
3990
3992
  function createScanner(text, ignoreTrivia = false) {
3991
3993
  const len = text.length;
3992
3994
  let pos = 0, value = "", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0;
@@ -4407,7 +4409,7 @@ var CharacterCodes;
4407
4409
  CharacterCodes2[CharacterCodes2["tab"] = 9] = "tab";
4408
4410
  })(CharacterCodes || (CharacterCodes = {}));
4409
4411
 
4410
- // node_modules/jsonc-parser/lib/esm/impl/string-intern.js
4412
+ // ../../node_modules/jsonc-parser/lib/esm/impl/string-intern.js
4411
4413
  var cachedSpaces = new Array(20).fill(0).map((_, index) => {
4412
4414
  return " ".repeat(index);
4413
4415
  });
@@ -4438,7 +4440,7 @@ var cachedBreakLinesWithSpaces = {
4438
4440
  };
4439
4441
  var supportedEols = ["\n", "\r", "\r\n"];
4440
4442
 
4441
- // node_modules/jsonc-parser/lib/esm/impl/format.js
4443
+ // ../../node_modules/jsonc-parser/lib/esm/impl/format.js
4442
4444
  function format(documentText, range, options) {
4443
4445
  let initialIndentLevel;
4444
4446
  let formatText;
@@ -4674,7 +4676,7 @@ function isEOL(text, offset) {
4674
4676
  return "\r\n".indexOf(text.charAt(offset)) !== -1;
4675
4677
  }
4676
4678
 
4677
- // node_modules/jsonc-parser/lib/esm/impl/parser.js
4679
+ // ../../node_modules/jsonc-parser/lib/esm/impl/parser.js
4678
4680
  var ParseOptions;
4679
4681
  (function(ParseOptions2) {
4680
4682
  ParseOptions2.DEFAULT = {
@@ -5160,7 +5162,7 @@ function getNodeType(value) {
5160
5162
  }
5161
5163
  }
5162
5164
 
5163
- // node_modules/jsonc-parser/lib/esm/impl/edit.js
5165
+ // ../../node_modules/jsonc-parser/lib/esm/impl/edit.js
5164
5166
  function setProperty(text, originalPath, value, options) {
5165
5167
  const path2 = originalPath.slice();
5166
5168
  const errors = [];
@@ -5304,7 +5306,7 @@ function applyEdit(text, edit) {
5304
5306
  return text.substring(0, edit.offset) + edit.content + text.substring(edit.offset + edit.length);
5305
5307
  }
5306
5308
 
5307
- // node_modules/jsonc-parser/lib/esm/main.js
5309
+ // ../../node_modules/jsonc-parser/lib/esm/main.js
5308
5310
  var ScanError;
5309
5311
  (function(ScanError2) {
5310
5312
  ScanError2[ScanError2["None"] = 0] = "None";
@@ -5381,11 +5383,11 @@ function applyEdits(text, edits) {
5381
5383
  return text;
5382
5384
  }
5383
5385
 
5384
- // node_modules/add-mcp/dist/chunk-BQ566E5O.js
5386
+ // ../../node_modules/add-mcp/dist/chunk-BQ566E5O.js
5385
5387
  import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
5386
5388
  import { dirname as dirname2 } from "path";
5387
5389
 
5388
- // node_modules/@clack/core/dist/index.mjs
5390
+ // ../../node_modules/add-mcp/node_modules/@clack/core/dist/index.mjs
5389
5391
  var import_sisteransi = __toESM(require_src(), 1);
5390
5392
  function J({ onlyFirst: t = false } = {}) {
5391
5393
  const F = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
@@ -5472,9 +5474,8 @@ var y = `${rD}8;;`;
5472
5474
  var aD = ["up", "down", "left", "right", "space", "enter", "cancel"];
5473
5475
  var c = { actions: new Set(aD), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]) };
5474
5476
  var xD = globalThis.process.platform.startsWith("win");
5475
- var S = Symbol("clack:cancel");
5476
5477
 
5477
- // node_modules/@clack/prompts/dist/index.mjs
5478
+ // ../../node_modules/add-mcp/node_modules/@clack/prompts/dist/index.mjs
5478
5479
  import p from "node:process";
5479
5480
  var import_sisteransi2 = __toESM(require_src(), 1);
5480
5481
  function X2() {
@@ -5485,7 +5486,7 @@ var u = (s, n) => E ? s : n;
5485
5486
  var ee = u("\u25C6", "*");
5486
5487
  var A = u("\u25A0", "x");
5487
5488
  var B = u("\u25B2", "x");
5488
- var S2 = u("\u25C7", "o");
5489
+ var S = u("\u25C7", "o");
5489
5490
  var te = u("\u250C", "T");
5490
5491
  var a = u("\u2502", "|");
5491
5492
  var m2 = u("\u2514", "\u2014");
@@ -5504,14 +5505,14 @@ var oe = u("\u25C6", "*");
5504
5505
  var ce = u("\u25B2", "!");
5505
5506
  var le = u("\u25A0", "x");
5506
5507
 
5507
- // node_modules/add-mcp/dist/chunk-BQ566E5O.js
5508
+ // ../../node_modules/add-mcp/dist/chunk-BQ566E5O.js
5508
5509
  import { homedir as homedir2 } from "os";
5509
5510
  import { dirname as dirname3, join as join2 } from "path";
5510
5511
  import { existsSync as existsSync3, readFileSync as readFileSync3 } from "fs";
5511
5512
  import { readFileSync as readFileSync4, writeFileSync as writeFileSync2, existsSync as existsSync4, mkdirSync as mkdirSync2 } from "fs";
5512
5513
  import { dirname as dirname4 } from "path";
5513
5514
 
5514
- // node_modules/js-yaml/dist/js-yaml.mjs
5515
+ // ../../node_modules/js-yaml/dist/js-yaml.mjs
5515
5516
  function getDefaultExportFromCjs(x) {
5516
5517
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
5517
5518
  }
@@ -8577,7 +8578,7 @@ var {
8577
8578
  safeDump
8578
8579
  } = yaml;
8579
8580
 
8580
- // node_modules/add-mcp/dist/chunk-BQ566E5O.js
8581
+ // ../../node_modules/add-mcp/dist/chunk-BQ566E5O.js
8581
8582
  var TOML = __toESM(require_toml(), 1);
8582
8583
  import { readFileSync as readFileSync5, writeFileSync as writeFileSync3, existsSync as existsSync5, mkdirSync as mkdirSync3 } from "fs";
8583
8584
  import { dirname as dirname5 } from "path";
@@ -10084,7 +10085,7 @@ function installServerForAgent(serverName, serverConfig, agentType, options = {}
10084
10085
  }
10085
10086
  }
10086
10087
 
10087
- // node_modules/add-mcp/dist/lib.js
10088
+ // ../../node_modules/add-mcp/dist/lib.js
10088
10089
  function isKnownAgent(agentType) {
10089
10090
  return Object.prototype.hasOwnProperty.call(agents, agentType);
10090
10091
  }
@@ -10254,8 +10255,10 @@ async function defaultRunCommand(command, args) {
10254
10255
  });
10255
10256
  }
10256
10257
  async function defaultOpenApp(name) {
10257
- if (process.platform === "darwin") return defaultRunCommand("open", ["-a", name]);
10258
- if (process.platform === "win32") return defaultRunCommand("cmd", ["/c", "start", "", name]);
10258
+ if (process.platform === "darwin")
10259
+ return defaultRunCommand("open", ["-a", name]);
10260
+ if (process.platform === "win32")
10261
+ return defaultRunCommand("cmd", ["/c", "start", "", name]);
10259
10262
  return defaultRunCommand(name, []);
10260
10263
  }
10261
10264
  function runtimeMethods(runtime) {
@@ -10300,7 +10303,10 @@ function writeAddMcpHost(id, mcpUrl, runtime) {
10300
10303
  }
10301
10304
  );
10302
10305
  if (!result.success) {
10303
- return { changed: false, error: result.error ?? `add-mcp could not configure ${id}.` };
10306
+ return {
10307
+ changed: false,
10308
+ error: result.error ?? `add-mcp could not configure ${id}.`
10309
+ };
10304
10310
  }
10305
10311
  return { path: result.path, changed: true };
10306
10312
  }
@@ -10440,13 +10446,23 @@ async function applyHost(input) {
10440
10446
  };
10441
10447
  }
10442
10448
  case "vscode-insiders": {
10443
- const written = await writeLeftoverFile(input.id, input.mcpUrl, input.runtime);
10449
+ const written = await writeLeftoverFile(
10450
+ input.id,
10451
+ input.mcpUrl,
10452
+ input.runtime
10453
+ );
10444
10454
  const url = buildVsCodeInstallUrl(input.mcpUrl, "vscode-insiders");
10445
10455
  const opened = written?.changed ? await io.openUrl(url) : false;
10446
- return leftoverResult(host.label, input.id, written, [
10447
- "Use Agent mode in Copilot Chat after the server is added.",
10448
- oauthNote
10449
- ], opened ? url : void 0);
10456
+ return leftoverResult(
10457
+ host.label,
10458
+ input.id,
10459
+ written,
10460
+ [
10461
+ "Use Agent mode in Copilot Chat after the server is added.",
10462
+ oauthNote
10463
+ ],
10464
+ opened ? url : void 0
10465
+ );
10450
10466
  }
10451
10467
  case "goose": {
10452
10468
  const written = writeMappedHost(input);
@@ -10455,7 +10471,10 @@ async function applyHost(input) {
10455
10471
  return {
10456
10472
  ...written,
10457
10473
  opened: opened ? url : void 0,
10458
- instructions: ["Restart Goose if the extension does not appear.", oauthNote]
10474
+ instructions: [
10475
+ "Restart Goose if the extension does not appear.",
10476
+ oauthNote
10477
+ ]
10459
10478
  };
10460
10479
  }
10461
10480
  case "codex": {
@@ -10465,7 +10484,10 @@ async function applyHost(input) {
10465
10484
  }
10466
10485
  return {
10467
10486
  ...written,
10468
- instructions: ["If OAuth does not start, run: codex mcp login kody", oauthNote]
10487
+ instructions: [
10488
+ "If OAuth does not start, run: codex mcp login kody",
10489
+ oauthNote
10490
+ ]
10469
10491
  };
10470
10492
  }
10471
10493
  case "opencode": {
@@ -10475,7 +10497,10 @@ async function applyHost(input) {
10475
10497
  }
10476
10498
  return {
10477
10499
  ...written,
10478
- instructions: ["If OAuth does not start, run: opencode mcp auth kody", oauthNote]
10500
+ instructions: [
10501
+ "If OAuth does not start, run: opencode mcp auth kody",
10502
+ oauthNote
10503
+ ]
10479
10504
  };
10480
10505
  }
10481
10506
  case "windsurf":
@@ -10498,7 +10523,11 @@ async function applyHost(input) {
10498
10523
  case "qwen-code":
10499
10524
  case "amazon-q":
10500
10525
  case "visual-studio": {
10501
- const written = await writeLeftoverFile(input.id, input.mcpUrl, input.runtime);
10526
+ const written = await writeLeftoverFile(
10527
+ input.id,
10528
+ input.mcpUrl,
10529
+ input.runtime
10530
+ );
10502
10531
  return leftoverResult(host.label, input.id, written, [
10503
10532
  `Restart ${host.label} if the new server does not appear.`,
10504
10533
  oauthNote
@@ -10546,7 +10575,10 @@ function leftoverResult(label, id, written, instructions, opened) {
10546
10575
  id,
10547
10576
  label,
10548
10577
  status: "manual",
10549
- instructions: [`${label} has no automatic config path for this scope.`, ...instructions]
10578
+ instructions: [
10579
+ `${label} has no automatic config path for this scope.`,
10580
+ ...instructions
10581
+ ]
10550
10582
  };
10551
10583
  }
10552
10584
  return {
@@ -10614,7 +10646,9 @@ async function runInstall(options, io = {}) {
10614
10646
  return { code: 1, results: [] };
10615
10647
  } else {
10616
10648
  const choose = io.chooseHosts ?? defaultChooseHosts;
10617
- selected = await choose(detected.map((host) => ({ id: host.id, label: host.label })));
10649
+ selected = await choose(
10650
+ detected.map((host) => ({ id: host.id, label: host.label }))
10651
+ );
10618
10652
  if (selected.length === 0) {
10619
10653
  write(`No clients selected.
10620
10654
  ${webClientsOnboardingNote(mcpUrl)}
@@ -10691,4 +10725,4 @@ export {
10691
10725
  noRunningAgentsMessage,
10692
10726
  runInstall
10693
10727
  };
10694
- //# sourceMappingURL=install-ZML2TCDG.js.map
10728
+ //# sourceMappingURL=install-ONEJRYZ3.js.map