harnesstap 1.6.2 → 1.6.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.
Files changed (163) hide show
  1. package/dist/apply-OAYLXE7A.js +50 -0
  2. package/dist/{approve-2VEAGEYX.js → approve-BYOKU7NL.js} +9 -9
  3. package/dist/{audit-2KSDWKR7.js → audit-ZRLCCXA6.js} +9 -9
  4. package/dist/{auth-VSOK5XXO.js → auth-MLJLYZS6.js} +7 -7
  5. package/dist/bin.js +2 -2
  6. package/dist/{chunk-QKXPKKZO.js → chunk-23K6WPAF.js} +199 -36
  7. package/dist/chunk-23K6WPAF.js.map +1 -0
  8. package/dist/{chunk-66LQ4B65.js → chunk-25CGHZB4.js} +14 -14
  9. package/dist/{chunk-3YXS6AN5.js → chunk-27P4QC4H.js} +2 -2
  10. package/dist/{chunk-HL2M67GG.js → chunk-2UEPUL6V.js} +2 -2
  11. package/dist/{chunk-Z24TLVN5.js → chunk-2ZDSVNY3.js} +3 -3
  12. package/dist/{chunk-CO6YFR3D.js → chunk-3U4RLIJO.js} +2 -2
  13. package/dist/{chunk-Y4RNG5OY.js → chunk-45D464P5.js} +2 -2
  14. package/dist/{chunk-US54JBMX.js → chunk-5Q64JHNZ.js} +6 -6
  15. package/dist/{chunk-3TIUWC2Z.js → chunk-6VNECDST.js} +10 -10
  16. package/dist/{chunk-RP4BBXDP.js → chunk-6XZU4LBV.js} +2 -2
  17. package/dist/{chunk-ZQSL5DNH.js → chunk-ABMM5WPI.js} +34 -34
  18. package/dist/{chunk-Y4I7ZCAE.js → chunk-AC4MZGWB.js} +2 -2
  19. package/dist/chunk-AC4MZGWB.js.map +1 -0
  20. package/dist/{chunk-AY55OHND.js → chunk-BARY5FWC.js} +2 -2
  21. package/dist/{chunk-THOVAUGF.js → chunk-BE2IXOJP.js} +37 -36
  22. package/dist/chunk-BE2IXOJP.js.map +1 -0
  23. package/dist/{chunk-ZEXB4ORV.js → chunk-C2UAAYWX.js} +8 -8
  24. package/dist/{chunk-32JTZAO7.js → chunk-E7RESK5E.js} +3 -3
  25. package/dist/{chunk-4MK2BRYB.js → chunk-EW2TT67U.js} +8 -8
  26. package/dist/{chunk-U3BFGU66.js → chunk-FZMXT5RI.js} +2 -2
  27. package/dist/{chunk-J7WZWGDH.js → chunk-GH5RSDM7.js} +2 -2
  28. package/dist/{chunk-B5LCF5J2.js → chunk-IQMA3KR4.js} +2 -2
  29. package/dist/{chunk-NAIB6MPR.js → chunk-IVANCXPK.js} +2 -2
  30. package/dist/{chunk-I6KQT3PW.js → chunk-IWDGQ5XE.js} +2 -2
  31. package/dist/{chunk-4YHTVGRE.js → chunk-J5X3PVNK.js} +2 -2
  32. package/dist/{chunk-Q4UO2MDZ.js → chunk-JHD2OQ4U.js} +2 -2
  33. package/dist/{chunk-OQLNXYL5.js → chunk-LPJD4NVJ.js} +197 -34
  34. package/dist/chunk-LPJD4NVJ.js.map +1 -0
  35. package/dist/{chunk-CPZM54UB.js → chunk-LU3R56QQ.js} +7 -7
  36. package/dist/{chunk-SBUP7UHE.js → chunk-MSW6LIFP.js} +3 -3
  37. package/dist/{chunk-6YIVNY56.js → chunk-NODXQZ5O.js} +4 -4
  38. package/dist/{chunk-XIQACTMH.js → chunk-O544TQL2.js} +3 -3
  39. package/dist/{chunk-2AMFXAQB.js → chunk-OR3UZE32.js} +2 -2
  40. package/dist/{chunk-GVNXAIXG.js → chunk-OTQZJBN5.js} +6 -6
  41. package/dist/{chunk-R4TM7KE5.js → chunk-PFVE3DK3.js} +4 -4
  42. package/dist/{chunk-THKF6P4Q.js → chunk-PGLJCFMB.js} +6 -6
  43. package/dist/{chunk-EA7EROYV.js → chunk-ROFEGDSG.js} +11 -6
  44. package/dist/chunk-ROFEGDSG.js.map +1 -0
  45. package/dist/{chunk-S5L5KKUX.js → chunk-RSCKIYXN.js} +12 -12
  46. package/dist/{chunk-LY7NVETO.js → chunk-SFXD3LLX.js} +10 -5
  47. package/dist/{chunk-LY7NVETO.js.map → chunk-SFXD3LLX.js.map} +1 -1
  48. package/dist/{chunk-FAL7MVPU.js → chunk-TXCLULAD.js} +5 -5
  49. package/dist/{chunk-VVU5ZFRV.js → chunk-W3JWELFZ.js} +3 -3
  50. package/dist/{chunk-BRISZWFM.js → chunk-WSV2CCVB.js} +2 -2
  51. package/dist/{chunk-RV7Q6ZJZ.js → chunk-XSOVNEOR.js} +6 -6
  52. package/dist/{chunk-JRHQSSD4.js → chunk-YB2G4RTT.js} +4 -4
  53. package/dist/{chunk-YWKLUVCC.js → chunk-YZ4N7SGK.js} +2 -2
  54. package/dist/{compile-EQFNP5PS.js → compile-VQCD2OZW.js} +32 -32
  55. package/dist/{config-NALKAQZW.js → config-KZ5LWGYQ.js} +11 -11
  56. package/dist/{cursor-local-install-KY3PVFZY.js → cursor-local-install-2NGQGKEL.js} +4 -4
  57. package/dist/{cursor-local-install-6DRGQ6U7.js → cursor-local-install-U37XN246.js} +6 -6
  58. package/dist/{doctor-PSFWURF6.js → doctor-X5JM5W56.js} +9 -9
  59. package/dist/{environment-IH6UHY5Q.js → environment-SIUHJOHY.js} +16 -16
  60. package/dist/{github-42TN2FWA.js → github-A77OWJ2W.js} +7 -7
  61. package/dist/{harness-464THUQE.js → harness-723EAMJB.js} +12 -12
  62. package/dist/{help-GITID5T7.js → help-GD7Y63RX.js} +12 -12
  63. package/dist/help-GD7Y63RX.js.map +1 -0
  64. package/dist/{help-2WLAAUHJ.js → help-ROM4HT25.js} +3 -3
  65. package/dist/{host-plugin-view-kept-USEF3O7L.js → host-plugin-view-kept-LYVO2IUQ.js} +9 -9
  66. package/dist/index.js +9 -9
  67. package/dist/{init-ZRBNVSSY.js → init-5TMSOHGO.js} +17 -17
  68. package/dist/live-read-cache-27REZZS3.js +12 -0
  69. package/dist/{live-read-cache-V7PNM5C7.js → live-read-cache-D3UJPZJ5.js} +4 -4
  70. package/dist/{lock-FOGZUIAX.js → lock-YNOXNNPG.js} +8 -8
  71. package/dist/{marketplace-HRBZHD72.js → marketplace-3SWHTO5P.js} +7 -7
  72. package/dist/{mcp-QKKRROXZ.js → mcp-DGQP7RKX.js} +32 -32
  73. package/dist/{migrate-LTIWDOB4.js → migrate-BRM75WNY.js} +14 -14
  74. package/dist/{notifications-D7XCAXPE.js → notifications-OZF3AFXJ.js} +12 -12
  75. package/dist/open-LYS3MFZP.js +20 -0
  76. package/dist/{pack-K6XBNLDU.js → pack-5J7LTFPI.js} +8 -8
  77. package/dist/plugin-QBNOTK3Z.js +47 -0
  78. package/dist/plugin-from-project-K37YB26C.js +15 -0
  79. package/dist/{policy-HSCKBNAV.js → policy-3F3X75OD.js} +8 -8
  80. package/dist/{profile-BGYKPWC7.js → profile-QJRRN4QB.js} +27 -27
  81. package/dist/{project-NGMOEYZY.js → project-O7P3M4RV.js} +14 -14
  82. package/dist/{resource-C2L3SYQP.js → resource-P7RZZPSD.js} +23 -23
  83. package/dist/status-refresh-worker.js +3 -3
  84. package/dist/{version-XQS3VKYR.js → version-COQ4MQP3.js} +2 -2
  85. package/package.json +7 -2
  86. package/dist/apply-REDAJFNT.js +0 -50
  87. package/dist/chunk-EA7EROYV.js.map +0 -1
  88. package/dist/chunk-OQLNXYL5.js.map +0 -1
  89. package/dist/chunk-QKXPKKZO.js.map +0 -1
  90. package/dist/chunk-THOVAUGF.js.map +0 -1
  91. package/dist/chunk-Y4I7ZCAE.js.map +0 -1
  92. package/dist/help-GITID5T7.js.map +0 -1
  93. package/dist/live-read-cache-EXERTB5C.js +0 -12
  94. package/dist/open-DGLJYZVH.js +0 -20
  95. package/dist/plugin-3V7YESUD.js +0 -47
  96. package/dist/plugin-from-project-QZQCQVMR.js +0 -15
  97. /package/dist/{apply-REDAJFNT.js.map → apply-OAYLXE7A.js.map} +0 -0
  98. /package/dist/{approve-2VEAGEYX.js.map → approve-BYOKU7NL.js.map} +0 -0
  99. /package/dist/{audit-2KSDWKR7.js.map → audit-ZRLCCXA6.js.map} +0 -0
  100. /package/dist/{auth-VSOK5XXO.js.map → auth-MLJLYZS6.js.map} +0 -0
  101. /package/dist/{chunk-66LQ4B65.js.map → chunk-25CGHZB4.js.map} +0 -0
  102. /package/dist/{chunk-3YXS6AN5.js.map → chunk-27P4QC4H.js.map} +0 -0
  103. /package/dist/{chunk-HL2M67GG.js.map → chunk-2UEPUL6V.js.map} +0 -0
  104. /package/dist/{chunk-Z24TLVN5.js.map → chunk-2ZDSVNY3.js.map} +0 -0
  105. /package/dist/{chunk-CO6YFR3D.js.map → chunk-3U4RLIJO.js.map} +0 -0
  106. /package/dist/{chunk-Y4RNG5OY.js.map → chunk-45D464P5.js.map} +0 -0
  107. /package/dist/{chunk-US54JBMX.js.map → chunk-5Q64JHNZ.js.map} +0 -0
  108. /package/dist/{chunk-3TIUWC2Z.js.map → chunk-6VNECDST.js.map} +0 -0
  109. /package/dist/{chunk-RP4BBXDP.js.map → chunk-6XZU4LBV.js.map} +0 -0
  110. /package/dist/{chunk-ZQSL5DNH.js.map → chunk-ABMM5WPI.js.map} +0 -0
  111. /package/dist/{chunk-AY55OHND.js.map → chunk-BARY5FWC.js.map} +0 -0
  112. /package/dist/{chunk-ZEXB4ORV.js.map → chunk-C2UAAYWX.js.map} +0 -0
  113. /package/dist/{chunk-32JTZAO7.js.map → chunk-E7RESK5E.js.map} +0 -0
  114. /package/dist/{chunk-4MK2BRYB.js.map → chunk-EW2TT67U.js.map} +0 -0
  115. /package/dist/{chunk-U3BFGU66.js.map → chunk-FZMXT5RI.js.map} +0 -0
  116. /package/dist/{chunk-J7WZWGDH.js.map → chunk-GH5RSDM7.js.map} +0 -0
  117. /package/dist/{chunk-B5LCF5J2.js.map → chunk-IQMA3KR4.js.map} +0 -0
  118. /package/dist/{chunk-NAIB6MPR.js.map → chunk-IVANCXPK.js.map} +0 -0
  119. /package/dist/{chunk-I6KQT3PW.js.map → chunk-IWDGQ5XE.js.map} +0 -0
  120. /package/dist/{chunk-4YHTVGRE.js.map → chunk-J5X3PVNK.js.map} +0 -0
  121. /package/dist/{chunk-Q4UO2MDZ.js.map → chunk-JHD2OQ4U.js.map} +0 -0
  122. /package/dist/{chunk-CPZM54UB.js.map → chunk-LU3R56QQ.js.map} +0 -0
  123. /package/dist/{chunk-SBUP7UHE.js.map → chunk-MSW6LIFP.js.map} +0 -0
  124. /package/dist/{chunk-6YIVNY56.js.map → chunk-NODXQZ5O.js.map} +0 -0
  125. /package/dist/{chunk-XIQACTMH.js.map → chunk-O544TQL2.js.map} +0 -0
  126. /package/dist/{chunk-2AMFXAQB.js.map → chunk-OR3UZE32.js.map} +0 -0
  127. /package/dist/{chunk-GVNXAIXG.js.map → chunk-OTQZJBN5.js.map} +0 -0
  128. /package/dist/{chunk-R4TM7KE5.js.map → chunk-PFVE3DK3.js.map} +0 -0
  129. /package/dist/{chunk-THKF6P4Q.js.map → chunk-PGLJCFMB.js.map} +0 -0
  130. /package/dist/{chunk-S5L5KKUX.js.map → chunk-RSCKIYXN.js.map} +0 -0
  131. /package/dist/{chunk-FAL7MVPU.js.map → chunk-TXCLULAD.js.map} +0 -0
  132. /package/dist/{chunk-VVU5ZFRV.js.map → chunk-W3JWELFZ.js.map} +0 -0
  133. /package/dist/{chunk-BRISZWFM.js.map → chunk-WSV2CCVB.js.map} +0 -0
  134. /package/dist/{chunk-RV7Q6ZJZ.js.map → chunk-XSOVNEOR.js.map} +0 -0
  135. /package/dist/{chunk-JRHQSSD4.js.map → chunk-YB2G4RTT.js.map} +0 -0
  136. /package/dist/{chunk-YWKLUVCC.js.map → chunk-YZ4N7SGK.js.map} +0 -0
  137. /package/dist/{compile-EQFNP5PS.js.map → compile-VQCD2OZW.js.map} +0 -0
  138. /package/dist/{config-NALKAQZW.js.map → config-KZ5LWGYQ.js.map} +0 -0
  139. /package/dist/{cursor-local-install-6DRGQ6U7.js.map → cursor-local-install-2NGQGKEL.js.map} +0 -0
  140. /package/dist/{cursor-local-install-KY3PVFZY.js.map → cursor-local-install-U37XN246.js.map} +0 -0
  141. /package/dist/{doctor-PSFWURF6.js.map → doctor-X5JM5W56.js.map} +0 -0
  142. /package/dist/{environment-IH6UHY5Q.js.map → environment-SIUHJOHY.js.map} +0 -0
  143. /package/dist/{github-42TN2FWA.js.map → github-A77OWJ2W.js.map} +0 -0
  144. /package/dist/{harness-464THUQE.js.map → harness-723EAMJB.js.map} +0 -0
  145. /package/dist/{help-2WLAAUHJ.js.map → help-ROM4HT25.js.map} +0 -0
  146. /package/dist/{host-plugin-view-kept-USEF3O7L.js.map → host-plugin-view-kept-LYVO2IUQ.js.map} +0 -0
  147. /package/dist/{init-ZRBNVSSY.js.map → init-5TMSOHGO.js.map} +0 -0
  148. /package/dist/{live-read-cache-EXERTB5C.js.map → live-read-cache-27REZZS3.js.map} +0 -0
  149. /package/dist/{live-read-cache-V7PNM5C7.js.map → live-read-cache-D3UJPZJ5.js.map} +0 -0
  150. /package/dist/{lock-FOGZUIAX.js.map → lock-YNOXNNPG.js.map} +0 -0
  151. /package/dist/{marketplace-HRBZHD72.js.map → marketplace-3SWHTO5P.js.map} +0 -0
  152. /package/dist/{mcp-QKKRROXZ.js.map → mcp-DGQP7RKX.js.map} +0 -0
  153. /package/dist/{migrate-LTIWDOB4.js.map → migrate-BRM75WNY.js.map} +0 -0
  154. /package/dist/{notifications-D7XCAXPE.js.map → notifications-OZF3AFXJ.js.map} +0 -0
  155. /package/dist/{open-DGLJYZVH.js.map → open-LYS3MFZP.js.map} +0 -0
  156. /package/dist/{pack-K6XBNLDU.js.map → pack-5J7LTFPI.js.map} +0 -0
  157. /package/dist/{plugin-3V7YESUD.js.map → plugin-QBNOTK3Z.js.map} +0 -0
  158. /package/dist/{plugin-from-project-QZQCQVMR.js.map → plugin-from-project-K37YB26C.js.map} +0 -0
  159. /package/dist/{policy-HSCKBNAV.js.map → policy-3F3X75OD.js.map} +0 -0
  160. /package/dist/{profile-BGYKPWC7.js.map → profile-QJRRN4QB.js.map} +0 -0
  161. /package/dist/{project-NGMOEYZY.js.map → project-O7P3M4RV.js.map} +0 -0
  162. /package/dist/{resource-C2L3SYQP.js.map → resource-P7RZZPSD.js.map} +0 -0
  163. /package/dist/{version-XQS3VKYR.js.map → version-COQ4MQP3.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  isCommandTimeoutStderr,
8
8
  mapGitStderr,
9
9
  ui
10
- } from "./chunk-Y4I7ZCAE.js";
10
+ } from "./chunk-AC4MZGWB.js";
11
11
  import {
12
12
  CLI_ERRORS,
13
13
  CLI_HINTS,
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-UEA4NCY2.js";
22
22
  import {
23
23
  PACKAGE_VERSION
24
- } from "./chunk-LY7NVETO.js";
24
+ } from "./chunk-SFXD3LLX.js";
25
25
  import {
26
26
  __publicField
27
27
  } from "./chunk-MKLJBW5N.js";
@@ -1596,6 +1596,9 @@ import { basename as basename14, dirname as dirname29, join as join108, sep as s
1596
1596
  import { Worker, parentPort } from "worker_threads";
1597
1597
 
1598
1598
  // src/platforms/registry.ts
1599
+ var AGENTS_CONVENTION_PREVIOUS_SKILLS = {
1600
+ kilo: { project: ".kilocode/skills/", global: "~/.kilocode/skills/" }
1601
+ };
1599
1602
  var AGENTS_CONVENTION_MCP = {
1600
1603
  droid: { project: ".factory/mcp.json", global: "~/.factory/mcp.json" }
1601
1604
  };
@@ -1748,11 +1751,16 @@ var PLATFORMS = [
1748
1751
  { path: "~/.agents/AGENTS.md", surfaces: ["instructions"] }
1749
1752
  ]
1750
1753
  }),
1754
+ // Copilot reads workspace MCP servers from `.mcp.json` (`.github/mcp.json`
1755
+ // only when the folder has no `.mcp.json`); `.vscode/mcp.json` is no longer read.
1756
+ // https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers
1757
+ // https://code.visualstudio.com/docs/agents/reference/mcp-configuration
1751
1758
  def("github-copilot", "GitHub Copilot", ["instructions", "skills", "rules", "mcp", "agents"], {
1752
1759
  instructions: ".github/copilot-instructions.md",
1753
1760
  rules: ".github/instructions/",
1754
1761
  skills: ".agents/skills/",
1755
- agents: ".github/agents/"
1762
+ agents: ".github/agents/",
1763
+ mcp: ".mcp.json"
1756
1764
  }, {
1757
1765
  skills: "~/.copilot/skills/",
1758
1766
  settings: "~/.copilot/mcp-config.json"
@@ -1760,7 +1768,7 @@ var PLATFORMS = [
1760
1768
  def("copilot-cli", "Copilot CLI", ["instructions", "skills", "mcp", "agents"], {
1761
1769
  instructions: "AGENTS.md",
1762
1770
  skills: ".agents/skills/",
1763
- mcp: ".copilot/mcp-config.json",
1771
+ mcp: ".mcp.json",
1764
1772
  agents: ".github/agents/"
1765
1773
  }, {
1766
1774
  skills: "~/.copilot/skills/",
@@ -1780,14 +1788,31 @@ var PLATFORMS = [
1780
1788
  skills: "~/.gemini/skills/",
1781
1789
  settings: "~/.gemini/settings.json"
1782
1790
  }, "instruction-only"),
1791
+ // Windsurf is now Devin Desktop. Its Devin Local agent uses the Devin CLI
1792
+ // layout: rules in `.devin/rules/` with `trigger` frontmatter (`.windsurf/rules/`
1793
+ // and `.windsurfrules` still load), skills in `.agents/skills/` and
1794
+ // `~/.agents/skills/` (also `~/.config/devin/skills/`), MCP in `.devin/mcp_config.json` and
1795
+ // `~/.config/devin/mcp_config.json`.
1796
+ // https://docs.devin.ai/desktop/devin-local/customizations
1783
1797
  def("windsurf", "Windsurf", ["instructions", "skills", "rules", "mcp"], {
1784
1798
  instructions: ".windsurfrules",
1785
- rules: ".windsurf/rules/",
1786
- skills: ".agents/skills/"
1799
+ rules: ".devin/rules/",
1800
+ legacy_rules: ".windsurf/rules/",
1801
+ skills: ".agents/skills/",
1802
+ mcp: ".devin/mcp_config.json",
1803
+ pathAlternates: {
1804
+ rules: [".windsurf/rules/"],
1805
+ skills: [".devin/skills/", ".windsurf/skills/"]
1806
+ }
1787
1807
  }, {
1788
- skills: "~/.codeium/windsurf/skills/",
1789
- settings: "~/.codeium/windsurf/mcp_config.json"
1790
- }, "instruction-only"),
1808
+ skills: "~/.agents/skills/",
1809
+ rules: "~/.devin/rules/",
1810
+ mcp: "~/.config/devin/mcp_config.json",
1811
+ settings: "~/.codeium/windsurf/mcp_config.json",
1812
+ pathAlternates: {
1813
+ skills: ["~/.config/devin/skills/", "~/.codeium/windsurf/skills/"]
1814
+ }
1815
+ }),
1791
1816
  def("cline", "Cline", ["instructions", "skills", "rules", "mcp"], {
1792
1817
  instructions: "AGENTS.md",
1793
1818
  rules: ".clinerules/",
@@ -1926,16 +1951,26 @@ var PLATFORMS = [
1926
1951
  skills: "~/.agents/skills/",
1927
1952
  settings: "~/.config/zed/settings.json"
1928
1953
  }),
1929
- def("devin", "Devin", ["instructions", "skills"], {
1954
+ // Devin CLI keeps MCP servers in dedicated `mcp_config.json` files (servers
1955
+ // still in `config.json` are migrated by Devin on startup) and rules in
1956
+ // `.devin/rules/` with `trigger` frontmatter.
1957
+ // https://docs.devin.ai/cli/extensibility/mcp
1958
+ // https://docs.devin.ai/cli/extensibility/rules
1959
+ def("devin", "Devin", ["instructions", "skills", "rules", "mcp"], {
1930
1960
  instructions: "AGENTS.md",
1931
1961
  skills: ".agents/skills/",
1962
+ rules: ".devin/rules/",
1963
+ mcp: ".devin/mcp_config.json",
1932
1964
  settings: ".devin/config.json",
1933
1965
  pathAlternates: {
1934
- instructions: ["AGENTS.local.md", "AGENT.md"]
1966
+ instructions: ["AGENTS.local.md", "AGENT.md"],
1967
+ skills: [".devin/skills/"]
1935
1968
  }
1936
1969
  }, {
1937
1970
  instructions: "~/.config/devin/AGENTS.md",
1938
1971
  skills: "~/.agents/skills/",
1972
+ rules: "~/.devin/rules/",
1973
+ mcp: "~/.config/devin/mcp_config.json",
1939
1974
  settings: "~/.config/devin/config.json"
1940
1975
  }),
1941
1976
  def("jules", "Jules", ["instructions", "skills"], {
@@ -2061,7 +2096,9 @@ var PLATFORMS = [
2061
2096
  // ── .agents/ convention platforms (skills + instructions) ───────────
2062
2097
  ...[
2063
2098
  ["amp", "Amp", ".agents/skills/", "~/.config/agents/skills/"],
2064
- ["kilo", "Kilo Code", ".kilocode/skills/", "~/.kilocode/skills/"],
2099
+ // Kilo moved its skills from `.kilocode/` to `.kilo/`:
2100
+ // https://kilo.ai/docs/customize/skills
2101
+ ["kilo", "Kilo Code", ".kilo/skills/", "~/.kilo/skills/"],
2065
2102
  ["augment", "Augment", ".augment/skills/", "~/.augment/skills/"],
2066
2103
  ["firebender", "Firebender", ".agents/skills/", "~/.firebender/skills/"],
2067
2104
  ["junie", "Junie", ".junie/skills/", "~/.junie/skills/"],
@@ -2078,13 +2115,16 @@ var PLATFORMS = [
2078
2115
  ["neovate", "Neovate", ".neovate/skills/", "~/.neovate/skills/"]
2079
2116
  ].map(([id, name, projSkills, globalSkills]) => {
2080
2117
  const mcp = AGENTS_CONVENTION_MCP[id];
2118
+ const previous = AGENTS_CONVENTION_PREVIOUS_SKILLS[id];
2081
2119
  return def(id, name, mcp ? ["instructions", "skills", "mcp"] : ["instructions", "skills"], {
2082
2120
  instructions: "AGENTS.md",
2083
2121
  skills: projSkills,
2084
- ...mcp ? { mcp: mcp.project } : {}
2122
+ ...mcp ? { mcp: mcp.project } : {},
2123
+ ...previous ? { pathAlternates: { skills: [previous.project] } } : {}
2085
2124
  }, {
2086
2125
  skills: globalSkills,
2087
- ...mcp ? { settings: mcp.global } : {}
2126
+ ...mcp ? { settings: mcp.global } : {},
2127
+ ...previous ? { pathAlternates: { skills: [previous.global] } } : {}
2088
2128
  });
2089
2129
  })
2090
2130
  ];
@@ -2723,7 +2763,7 @@ var CursorPluginProvider = class {
2723
2763
  return results;
2724
2764
  }
2725
2765
  async install(ctx, opts) {
2726
- const { installCursorLocalPlugin } = await import("./cursor-local-install-KY3PVFZY.js");
2766
+ const { installCursorLocalPlugin } = await import("./cursor-local-install-2NGQGKEL.js");
2727
2767
  return installCursorLocalPlugin(ctx, opts);
2728
2768
  }
2729
2769
  };
@@ -3285,7 +3325,7 @@ function inferMcpTransport(entry) {
3285
3325
  const typeValue = entry.type ?? entry.transport;
3286
3326
  if (typeof typeValue === "string") {
3287
3327
  const normalized = typeValue.toLowerCase();
3288
- if (normalized === "http" || normalized === "remote" || normalized === "sse" || normalized === "streamable_http" || normalized === "streamable-http") {
3328
+ if (normalized === "http" || normalized === "remote" || normalized === "sse" || normalized === "streamable_http" || normalized === "streamable-http" || normalized === "streamablehttp") {
3289
3329
  return "http";
3290
3330
  }
3291
3331
  if (normalized === "stdio") {
@@ -3295,11 +3335,19 @@ function inferMcpTransport(entry) {
3295
3335
  if (entry.protocol === "sse") {
3296
3336
  return "http";
3297
3337
  }
3298
- if (typeof entry.url === "string" || typeof entry.uri === "string") {
3338
+ if (typeof entry.url === "string" || typeof entry.uri === "string" || typeof entry.serverUrl === "string" || typeof entry.httpUrl === "string") {
3299
3339
  return "http";
3300
3340
  }
3301
3341
  return "stdio";
3302
3342
  }
3343
+ function remoteTransportFromEntry(entry, rawType) {
3344
+ if (rawType === "sse") return "sse";
3345
+ if (rawType === "streamable-http" || rawType === "streamableHttp") return "streamable-http";
3346
+ if (typeof entry.httpUrl === "string" && typeof entry.url !== "string") {
3347
+ return "streamable-http";
3348
+ }
3349
+ return void 0;
3350
+ }
3303
3351
  function parseMcpServerEntry(entry) {
3304
3352
  if (!isRecord2(entry)) {
3305
3353
  return null;
@@ -3317,12 +3365,14 @@ function parseMcpServerEntry(entry) {
3317
3365
  if (Array.isArray(entry.args)) {
3318
3366
  args = entry.args.filter((arg) => typeof arg === "string");
3319
3367
  }
3320
- const url = typeof entry.url === "string" ? entry.url : typeof entry.uri === "string" ? entry.uri : void 0;
3368
+ const url = [entry.url, entry.uri, entry.serverUrl, entry.httpUrl].find(
3369
+ (value) => typeof value === "string"
3370
+ );
3321
3371
  const env = parseStringRecord(entry.env ?? entry.envs ?? entry.environment);
3322
3372
  const headers = parseStringRecord(entry.headers);
3323
3373
  const auth = parseAuthMetadata(entry.auth);
3324
3374
  const rawType = typeof entry.type === "string" ? entry.type : void 0;
3325
- const http_transport = rawType === "streamable-http" || rawType === "sse" ? rawType : void 0;
3375
+ const http_transport = remoteTransportFromEntry(entry, rawType);
3326
3376
  const connection_type = rawType;
3327
3377
  const cwd = typeof entry.cwd === "string" ? entry.cwd : void 0;
3328
3378
  const env_file = typeof entry.envFile === "string" ? entry.envFile : typeof entry.env_file === "string" ? entry.env_file : void 0;
@@ -9955,6 +10005,13 @@ var CursorSerializer = class extends BaseSerializer {
9955
10005
  // src/platforms/codex.ts
9956
10006
  import { join as join33 } from "path";
9957
10007
  import { parse as parse2 } from "smol-toml";
10008
+ function stringRecord(value) {
10009
+ if (!isRecord10(value)) return void 0;
10010
+ const entries = Object.entries(value).filter(
10011
+ (entry) => typeof entry[1] === "string"
10012
+ );
10013
+ return entries.length > 0 ? Object.fromEntries(entries) : void 0;
10014
+ }
9958
10015
  var FILESYSTEM_PERMISSION_PREFIX = "filesystem:";
9959
10016
  var NETWORK_PERMISSION_PREFIX = "network:";
9960
10017
  function isRecord10(value) {
@@ -10069,6 +10126,9 @@ function buildMcpServers(mcps) {
10069
10126
  const entry = {};
10070
10127
  if (metadata.transport === "http" || metadata.url) {
10071
10128
  if (metadata.url) entry.url = metadata.url;
10129
+ if (metadata.headers && Object.keys(metadata.headers).length > 0) {
10130
+ entry.http_headers = metadata.headers;
10131
+ }
10072
10132
  } else {
10073
10133
  if (metadata.command) entry.command = metadata.command;
10074
10134
  if (metadata.args && metadata.args.length > 0) entry.args = metadata.args;
@@ -10122,12 +10182,14 @@ var CodexSerializer = class extends BaseSerializer {
10122
10182
  for (const [name, entryValue] of Object.entries(mcpServers)) {
10123
10183
  if (!isRecord10(entryValue)) continue;
10124
10184
  const entry = entryValue;
10185
+ const headers = stringRecord(entry.http_headers);
10125
10186
  const metadata = {
10126
10187
  transport: entry.url ? "http" : "stdio",
10127
10188
  command: entry.command,
10128
10189
  args: entry.args,
10129
10190
  url: entry.url,
10130
10191
  env: entry.env,
10192
+ ...headers ? { headers } : {},
10131
10193
  ...typeof entry.cwd === "string" ? { cwd: entry.cwd } : {},
10132
10194
  ...parseMcpToolFilters(entryValue)
10133
10195
  };
@@ -11277,10 +11339,29 @@ function listInstalledCopilotPluginPinCreateInputs(homeRoot) {
11277
11339
 
11278
11340
  // src/platforms/copilot.ts
11279
11341
  var INSTRUCTIONS_FILE_SUFFIX = ".instructions.md";
11342
+ var PROJECT_MCP_ALTERNATES = [".github/mcp.json", ".copilot/mcp-config.json"];
11280
11343
  function parseApplyTo(value) {
11281
11344
  const raw = Array.isArray(value) ? value.filter((item) => typeof item === "string") : typeof value === "string" ? value.split(",") : [];
11282
11345
  return raw.map((glob) => glob.trim()).filter((glob) => glob.length > 0);
11283
11346
  }
11347
+ function emitWorkspaceMcpEntry(meta) {
11348
+ if (meta.transport === "http" || meta.url) {
11349
+ const sse = meta.http_transport === "sse" || meta.connection_type === "sse";
11350
+ return {
11351
+ type: sse ? "sse" : "http",
11352
+ ...meta.url ? { url: meta.url } : {},
11353
+ ...meta.headers && Object.keys(meta.headers).length > 0 ? { headers: meta.headers } : {},
11354
+ ...meta.enabled_tools ? { tools: meta.enabled_tools } : {}
11355
+ };
11356
+ }
11357
+ return {
11358
+ type: "stdio",
11359
+ ...meta.command ? { command: meta.command } : {},
11360
+ ...meta.args && meta.args.length > 0 ? { args: meta.args } : {},
11361
+ ...meta.env && Object.keys(meta.env).length > 0 ? { env: meta.env } : {},
11362
+ ...meta.enabled_tools ? { tools: meta.enabled_tools } : {}
11363
+ };
11364
+ }
11284
11365
  var CopilotSerializer = class extends BaseSerializer {
11285
11366
  constructor(platformId) {
11286
11367
  super();
@@ -11290,6 +11371,19 @@ var CopilotSerializer = class extends BaseSerializer {
11290
11371
  if (!p) throw new Error(`${platformId} platform not found in registry`);
11291
11372
  this.platform = p;
11292
11373
  }
11374
+ /**
11375
+ * Servers captured from `.github/mcp.json` or the old project
11376
+ * `.copilot/mcp-config.json` belong in the workspace `.mcp.json` now.
11377
+ */
11378
+ mcpServersForTarget(resources, targetMcpPath) {
11379
+ const selected = new Set(super.mcpServersForTarget(resources, targetMcpPath));
11380
+ if (!targetMcpPath || targetMcpPath !== this.platform.projectPaths.mcp) {
11381
+ return [...selected];
11382
+ }
11383
+ return resources.filter(
11384
+ (resource) => selected.has(resource) || resource.type === "mcp_server" && !isClaudeLocalMcpResource(resource) && resourceHarnessScope(resource).kind !== "subset" && PROJECT_MCP_ALTERNATES.some((path) => sourceMatchesManagedPath(resource.source, path))
11385
+ );
11386
+ }
11293
11387
  async scan(projectRoot) {
11294
11388
  const resources = [];
11295
11389
  if (this.platform.projectPaths.instructions) {
@@ -11352,15 +11446,17 @@ var CopilotSerializer = class extends BaseSerializer {
11352
11446
  }
11353
11447
  }
11354
11448
  if (this.platform.projectPaths.mcp) {
11355
- const configPathValue = this.platform.projectPaths.mcp;
11356
- const configPath = join37(projectRoot, configPathValue);
11357
- const configContent = this.readFile(configPath);
11358
- if (configContent) {
11449
+ const seen = /* @__PURE__ */ new Set();
11450
+ for (const configPathValue of [this.platform.projectPaths.mcp, ...PROJECT_MCP_ALTERNATES]) {
11451
+ const configContent = this.readFile(join37(projectRoot, configPathValue));
11452
+ if (!configContent) continue;
11359
11453
  try {
11360
11454
  const document = JSON.parse(configContent);
11361
11455
  for (const [name, metadata] of Object.entries(
11362
11456
  parseMcpServersDocument(document)
11363
11457
  )) {
11458
+ if (seen.has(name)) continue;
11459
+ seen.add(name);
11364
11460
  resources.push(
11365
11461
  this.makeResource(
11366
11462
  "mcp_server",
@@ -11485,7 +11581,20 @@ ${r.content}`);
11485
11581
  }
11486
11582
  }
11487
11583
  const mcps = this.mcpServersForTarget(resources, mcpPath);
11488
- if (mcps.length > 0 && mcpPath) {
11584
+ if (mcps.length > 0 && mcpPath && target === "project") {
11585
+ const servers = {};
11586
+ for (const r of mcps) {
11587
+ servers[r.name] = emitWorkspaceMcpEntry(r.metadata);
11588
+ }
11589
+ files.push({
11590
+ path: mcpPath,
11591
+ content: overlayJsonPreservingFormat(
11592
+ this.readFile(join37(_projectRoot, mcpPath)),
11593
+ { mcpServers: servers },
11594
+ { mergeObjectKeys: ["mcpServers"], onUnparseable: "keep" }
11595
+ )
11596
+ });
11597
+ } else if (mcps.length > 0 && mcpPath) {
11489
11598
  const mcpServers = {};
11490
11599
  for (const r of mcps) {
11491
11600
  const meta = r.metadata;
@@ -13502,12 +13611,34 @@ var SHARED_MCP_FORMATS = {
13502
13611
  droid: {
13503
13612
  wrapper: "mcpServers",
13504
13613
  emit: (metadata) => emitPlainMcpServerEntry(metadata, { typeField: true, disabledToolsKey: "disabledTools" })
13614
+ },
13615
+ devin: { wrapper: "mcpServers", emit: (metadata) => devinMcpEntry(metadata) },
13616
+ windsurf: { wrapper: "mcpServers", emit: (metadata) => devinMcpEntry(metadata) }
13617
+ };
13618
+ function devinMcpEntry(metadata) {
13619
+ const entry = emitPlainMcpServerEntry(metadata, { disabledToolsKey: "disabledTools" });
13620
+ if ((metadata.transport === "http" || metadata.url) && metadata.http_transport === "sse") {
13621
+ entry.transport = "sse";
13505
13622
  }
13623
+ return entry;
13624
+ }
13625
+ var PREVIOUS_MCP_PATHS = {
13626
+ windsurf: { project: [], global: ["~/.codeium/windsurf/mcp_config.json"] },
13627
+ devin: { project: [".devin/config.json"], global: ["~/.config/devin/config.json"] }
13506
13628
  };
13629
+ function remoteTypeField(platformId, metadata) {
13630
+ if (platformId !== "cline") return {};
13631
+ const sse = metadata.http_transport === "sse" || metadata.connection_type === "sse";
13632
+ return { type: sse ? "sse" : "streamableHttp" };
13633
+ }
13507
13634
  var COMMANDS_AS_SKILLS = /* @__PURE__ */ new Set(["antigravity"]);
13508
13635
  var RULE_FILE_FORMATS = {
13509
13636
  roo: "plain",
13510
- antigravity: "antigravity"
13637
+ antigravity: "antigravity",
13638
+ // Devin Local and Devin CLI use the same `trigger` values:
13639
+ // https://docs.devin.ai/cli/extensibility/rules
13640
+ windsurf: "antigravity",
13641
+ devin: "antigravity"
13511
13642
  };
13512
13643
  function antigravityRuleFrontmatter(description, metadata) {
13513
13644
  const globs = metadata?.globs ?? [];
@@ -13546,6 +13677,18 @@ var GenericAgentsSerializer = class extends BaseSerializer {
13546
13677
  if (!p) throw new Error(`${platformId} platform not found in registry`);
13547
13678
  this.platform = p;
13548
13679
  }
13680
+ /** Servers captured from a previous MCP file of this harness move to its current one. */
13681
+ mcpServersForTarget(resources, targetMcpPath) {
13682
+ const selected = new Set(super.mcpServersForTarget(resources, targetMcpPath));
13683
+ const previous = PREVIOUS_MCP_PATHS[this.platformId];
13684
+ if (!targetMcpPath || !previous) {
13685
+ return [...selected];
13686
+ }
13687
+ const previousPaths = [...previous.project, ...previous.global];
13688
+ return resources.filter(
13689
+ (resource) => selected.has(resource) || resource.type === "mcp_server" && !isClaudeLocalMcpResource(resource) && resourceHarnessScope(resource).kind !== "subset" && previousPaths.some((path) => sourceMatchesManagedPath(resource.source, path))
13690
+ );
13691
+ }
13549
13692
  scanRulesAt(fullPath, displayPath) {
13550
13693
  const resources = [];
13551
13694
  if (displayPath.endsWith("/")) {
@@ -13685,6 +13828,12 @@ var GenericAgentsSerializer = class extends BaseSerializer {
13685
13828
  if (mcpPath) {
13686
13829
  resources.push(...this.scanMcpAt(join46(projectRoot, mcpPath), mcpPath));
13687
13830
  }
13831
+ for (const previous of PREVIOUS_MCP_PATHS[this.platformId]?.project ?? []) {
13832
+ const known = new Set(resources.filter((r) => r.type === "mcp_server").map((r) => r.name));
13833
+ resources.push(
13834
+ ...this.scanMcpAt(join46(projectRoot, previous), previous).filter((r) => !known.has(r.name))
13835
+ );
13836
+ }
13688
13837
  return resources;
13689
13838
  }
13690
13839
  async scanGlobal(homeRoot) {
@@ -13714,6 +13863,15 @@ var GenericAgentsSerializer = class extends BaseSerializer {
13714
13863
  )
13715
13864
  );
13716
13865
  }
13866
+ for (const alternate of this.platform.globalPaths.pathAlternates?.skills ?? []) {
13867
+ const known = new Set(resources.filter((r) => r.type === "skill").map((r) => r.name));
13868
+ resources.push(
13869
+ ...this.scanSkillsDirAt(
13870
+ resolveGlobalPath2(homeRoot, alternate),
13871
+ alternate.replace(/\/$/, "")
13872
+ ).filter((r) => !known.has(r.name))
13873
+ );
13874
+ }
13717
13875
  const rulesPath = this.platform.globalPaths.rules;
13718
13876
  if (rulesPath) {
13719
13877
  resources.push(
@@ -13765,12 +13923,18 @@ var GenericAgentsSerializer = class extends BaseSerializer {
13765
13923
  )
13766
13924
  );
13767
13925
  }
13768
- const mcpPath = this.platform.globalPaths.settings;
13926
+ const mcpPath = this.platform.globalPaths.mcp ?? this.platform.globalPaths.settings;
13769
13927
  if (mcpPath) {
13770
13928
  resources.push(
13771
13929
  ...this.scanMcpAt(resolveGlobalPath2(homeRoot, mcpPath), mcpPath)
13772
13930
  );
13773
13931
  }
13932
+ for (const previous of PREVIOUS_MCP_PATHS[this.platformId]?.global ?? []) {
13933
+ const known = new Set(resources.filter((r) => r.type === "mcp_server").map((r) => r.name));
13934
+ resources.push(
13935
+ ...this.scanMcpAt(resolveGlobalPath2(homeRoot, previous), previous).filter((r) => !known.has(r.name))
13936
+ );
13937
+ }
13774
13938
  return resources;
13775
13939
  }
13776
13940
  ruleFileContent(format, r, md) {
@@ -13809,7 +13973,7 @@ var GenericAgentsSerializer = class extends BaseSerializer {
13809
13973
  const skillsPath = this.toTargetRelativePath(targetPaths.skills, target) ?? (target === "project" ? ".agents/skills/" : void 0);
13810
13974
  const rulesPath = this.toTargetRelativePath(targetPaths.rules, target);
13811
13975
  const mcpPath = this.toTargetRelativePath(
13812
- target === "global" ? targetPaths.settings : targetPaths.mcp,
13976
+ target === "global" ? targetPaths.mcp ?? targetPaths.settings : targetPaths.mcp,
13813
13977
  target
13814
13978
  );
13815
13979
  const agentsPath = this.toTargetRelativePath(targetPaths.agents, target);
@@ -13969,9 +14133,8 @@ ${r.content}`);
13969
14133
  if (!meta) continue;
13970
14134
  if (meta.transport === "http") {
13971
14135
  servers[r.name] = {
14136
+ ...remoteTypeField(this.platformId, meta),
13972
14137
  url: meta.url,
13973
- protocol: "sse",
13974
- env: meta.env,
13975
14138
  ...meta.headers && Object.keys(meta.headers).length > 0 ? { headers: meta.headers } : {}
13976
14139
  };
13977
14140
  } else {
@@ -15288,7 +15451,7 @@ function stringArray(value) {
15288
15451
  if (!Array.isArray(value) || value.some((entry) => typeof entry !== "string")) return void 0;
15289
15452
  return value;
15290
15453
  }
15291
- function stringRecord(value) {
15454
+ function stringRecord2(value) {
15292
15455
  if (!isRecord18(value)) return void 0;
15293
15456
  const record = {};
15294
15457
  for (const [key, entry] of Object.entries(value)) {
@@ -15322,7 +15485,7 @@ function parseServer(_name, entry, root) {
15322
15485
  }
15323
15486
  let env;
15324
15487
  if (entry.env !== void 0) {
15325
- env = stringRecord(entry.env);
15488
+ env = stringRecord2(entry.env);
15326
15489
  if (!env) return { reason: "env must be an object of strings" };
15327
15490
  for (const key of Object.keys(env)) {
15328
15491
  if (RESERVED_ENV.has(key)) {
@@ -15355,7 +15518,7 @@ function parseServer(_name, entry, root) {
15355
15518
  if (entry.headers !== void 0) {
15356
15519
  const headerError = headerProblem(entry.headers);
15357
15520
  if (headerError) return { reason: headerError };
15358
- headers = stringRecord(entry.headers);
15521
+ headers = stringRecord2(entry.headers);
15359
15522
  }
15360
15523
  const metadata = {
15361
15524
  transport: "http",
@@ -21761,7 +21924,7 @@ async function materializeFiles(files, rootPath, options = {}) {
21761
21924
  };
21762
21925
  }
21763
21926
  async function clearLiveReadCachesAfterWrite() {
21764
- const { clearLiveReadCaches: clearLiveReadCaches2 } = await import("./live-read-cache-V7PNM5C7.js");
21927
+ const { clearLiveReadCaches: clearLiveReadCaches2 } = await import("./live-read-cache-D3UJPZJ5.js");
21765
21928
  clearLiveReadCaches2();
21766
21929
  }
21767
21930
  async function applyToGlobal(resources, platforms, homeRoot, options = {}) {
@@ -32333,4 +32496,4 @@ export {
32333
32496
  hashOnDiskFile,
32334
32497
  diffHostPluginView
32335
32498
  };
32336
- //# sourceMappingURL=chunk-OQLNXYL5.js.map
32499
+ //# sourceMappingURL=chunk-LPJD4NVJ.js.map