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.
- package/dist/apply-OAYLXE7A.js +50 -0
- package/dist/{approve-2VEAGEYX.js → approve-BYOKU7NL.js} +9 -9
- package/dist/{audit-2KSDWKR7.js → audit-ZRLCCXA6.js} +9 -9
- package/dist/{auth-VSOK5XXO.js → auth-MLJLYZS6.js} +7 -7
- package/dist/bin.js +2 -2
- package/dist/{chunk-QKXPKKZO.js → chunk-23K6WPAF.js} +199 -36
- package/dist/chunk-23K6WPAF.js.map +1 -0
- package/dist/{chunk-66LQ4B65.js → chunk-25CGHZB4.js} +14 -14
- package/dist/{chunk-3YXS6AN5.js → chunk-27P4QC4H.js} +2 -2
- package/dist/{chunk-HL2M67GG.js → chunk-2UEPUL6V.js} +2 -2
- package/dist/{chunk-Z24TLVN5.js → chunk-2ZDSVNY3.js} +3 -3
- package/dist/{chunk-CO6YFR3D.js → chunk-3U4RLIJO.js} +2 -2
- package/dist/{chunk-Y4RNG5OY.js → chunk-45D464P5.js} +2 -2
- package/dist/{chunk-US54JBMX.js → chunk-5Q64JHNZ.js} +6 -6
- package/dist/{chunk-3TIUWC2Z.js → chunk-6VNECDST.js} +10 -10
- package/dist/{chunk-RP4BBXDP.js → chunk-6XZU4LBV.js} +2 -2
- package/dist/{chunk-ZQSL5DNH.js → chunk-ABMM5WPI.js} +34 -34
- package/dist/{chunk-Y4I7ZCAE.js → chunk-AC4MZGWB.js} +2 -2
- package/dist/chunk-AC4MZGWB.js.map +1 -0
- package/dist/{chunk-AY55OHND.js → chunk-BARY5FWC.js} +2 -2
- package/dist/{chunk-THOVAUGF.js → chunk-BE2IXOJP.js} +37 -36
- package/dist/chunk-BE2IXOJP.js.map +1 -0
- package/dist/{chunk-ZEXB4ORV.js → chunk-C2UAAYWX.js} +8 -8
- package/dist/{chunk-32JTZAO7.js → chunk-E7RESK5E.js} +3 -3
- package/dist/{chunk-4MK2BRYB.js → chunk-EW2TT67U.js} +8 -8
- package/dist/{chunk-U3BFGU66.js → chunk-FZMXT5RI.js} +2 -2
- package/dist/{chunk-J7WZWGDH.js → chunk-GH5RSDM7.js} +2 -2
- package/dist/{chunk-B5LCF5J2.js → chunk-IQMA3KR4.js} +2 -2
- package/dist/{chunk-NAIB6MPR.js → chunk-IVANCXPK.js} +2 -2
- package/dist/{chunk-I6KQT3PW.js → chunk-IWDGQ5XE.js} +2 -2
- package/dist/{chunk-4YHTVGRE.js → chunk-J5X3PVNK.js} +2 -2
- package/dist/{chunk-Q4UO2MDZ.js → chunk-JHD2OQ4U.js} +2 -2
- package/dist/{chunk-OQLNXYL5.js → chunk-LPJD4NVJ.js} +197 -34
- package/dist/chunk-LPJD4NVJ.js.map +1 -0
- package/dist/{chunk-CPZM54UB.js → chunk-LU3R56QQ.js} +7 -7
- package/dist/{chunk-SBUP7UHE.js → chunk-MSW6LIFP.js} +3 -3
- package/dist/{chunk-6YIVNY56.js → chunk-NODXQZ5O.js} +4 -4
- package/dist/{chunk-XIQACTMH.js → chunk-O544TQL2.js} +3 -3
- package/dist/{chunk-2AMFXAQB.js → chunk-OR3UZE32.js} +2 -2
- package/dist/{chunk-GVNXAIXG.js → chunk-OTQZJBN5.js} +6 -6
- package/dist/{chunk-R4TM7KE5.js → chunk-PFVE3DK3.js} +4 -4
- package/dist/{chunk-THKF6P4Q.js → chunk-PGLJCFMB.js} +6 -6
- package/dist/{chunk-EA7EROYV.js → chunk-ROFEGDSG.js} +11 -6
- package/dist/chunk-ROFEGDSG.js.map +1 -0
- package/dist/{chunk-S5L5KKUX.js → chunk-RSCKIYXN.js} +12 -12
- package/dist/{chunk-LY7NVETO.js → chunk-SFXD3LLX.js} +10 -5
- package/dist/{chunk-LY7NVETO.js.map → chunk-SFXD3LLX.js.map} +1 -1
- package/dist/{chunk-FAL7MVPU.js → chunk-TXCLULAD.js} +5 -5
- package/dist/{chunk-VVU5ZFRV.js → chunk-W3JWELFZ.js} +3 -3
- package/dist/{chunk-BRISZWFM.js → chunk-WSV2CCVB.js} +2 -2
- package/dist/{chunk-RV7Q6ZJZ.js → chunk-XSOVNEOR.js} +6 -6
- package/dist/{chunk-JRHQSSD4.js → chunk-YB2G4RTT.js} +4 -4
- package/dist/{chunk-YWKLUVCC.js → chunk-YZ4N7SGK.js} +2 -2
- package/dist/{compile-EQFNP5PS.js → compile-VQCD2OZW.js} +32 -32
- package/dist/{config-NALKAQZW.js → config-KZ5LWGYQ.js} +11 -11
- package/dist/{cursor-local-install-KY3PVFZY.js → cursor-local-install-2NGQGKEL.js} +4 -4
- package/dist/{cursor-local-install-6DRGQ6U7.js → cursor-local-install-U37XN246.js} +6 -6
- package/dist/{doctor-PSFWURF6.js → doctor-X5JM5W56.js} +9 -9
- package/dist/{environment-IH6UHY5Q.js → environment-SIUHJOHY.js} +16 -16
- package/dist/{github-42TN2FWA.js → github-A77OWJ2W.js} +7 -7
- package/dist/{harness-464THUQE.js → harness-723EAMJB.js} +12 -12
- package/dist/{help-GITID5T7.js → help-GD7Y63RX.js} +12 -12
- package/dist/help-GD7Y63RX.js.map +1 -0
- package/dist/{help-2WLAAUHJ.js → help-ROM4HT25.js} +3 -3
- package/dist/{host-plugin-view-kept-USEF3O7L.js → host-plugin-view-kept-LYVO2IUQ.js} +9 -9
- package/dist/index.js +9 -9
- package/dist/{init-ZRBNVSSY.js → init-5TMSOHGO.js} +17 -17
- package/dist/live-read-cache-27REZZS3.js +12 -0
- package/dist/{live-read-cache-V7PNM5C7.js → live-read-cache-D3UJPZJ5.js} +4 -4
- package/dist/{lock-FOGZUIAX.js → lock-YNOXNNPG.js} +8 -8
- package/dist/{marketplace-HRBZHD72.js → marketplace-3SWHTO5P.js} +7 -7
- package/dist/{mcp-QKKRROXZ.js → mcp-DGQP7RKX.js} +32 -32
- package/dist/{migrate-LTIWDOB4.js → migrate-BRM75WNY.js} +14 -14
- package/dist/{notifications-D7XCAXPE.js → notifications-OZF3AFXJ.js} +12 -12
- package/dist/open-LYS3MFZP.js +20 -0
- package/dist/{pack-K6XBNLDU.js → pack-5J7LTFPI.js} +8 -8
- package/dist/plugin-QBNOTK3Z.js +47 -0
- package/dist/plugin-from-project-K37YB26C.js +15 -0
- package/dist/{policy-HSCKBNAV.js → policy-3F3X75OD.js} +8 -8
- package/dist/{profile-BGYKPWC7.js → profile-QJRRN4QB.js} +27 -27
- package/dist/{project-NGMOEYZY.js → project-O7P3M4RV.js} +14 -14
- package/dist/{resource-C2L3SYQP.js → resource-P7RZZPSD.js} +23 -23
- package/dist/status-refresh-worker.js +3 -3
- package/dist/{version-XQS3VKYR.js → version-COQ4MQP3.js} +2 -2
- package/package.json +7 -2
- package/dist/apply-REDAJFNT.js +0 -50
- package/dist/chunk-EA7EROYV.js.map +0 -1
- package/dist/chunk-OQLNXYL5.js.map +0 -1
- package/dist/chunk-QKXPKKZO.js.map +0 -1
- package/dist/chunk-THOVAUGF.js.map +0 -1
- package/dist/chunk-Y4I7ZCAE.js.map +0 -1
- package/dist/help-GITID5T7.js.map +0 -1
- package/dist/live-read-cache-EXERTB5C.js +0 -12
- package/dist/open-DGLJYZVH.js +0 -20
- package/dist/plugin-3V7YESUD.js +0 -47
- package/dist/plugin-from-project-QZQCQVMR.js +0 -15
- /package/dist/{apply-REDAJFNT.js.map → apply-OAYLXE7A.js.map} +0 -0
- /package/dist/{approve-2VEAGEYX.js.map → approve-BYOKU7NL.js.map} +0 -0
- /package/dist/{audit-2KSDWKR7.js.map → audit-ZRLCCXA6.js.map} +0 -0
- /package/dist/{auth-VSOK5XXO.js.map → auth-MLJLYZS6.js.map} +0 -0
- /package/dist/{chunk-66LQ4B65.js.map → chunk-25CGHZB4.js.map} +0 -0
- /package/dist/{chunk-3YXS6AN5.js.map → chunk-27P4QC4H.js.map} +0 -0
- /package/dist/{chunk-HL2M67GG.js.map → chunk-2UEPUL6V.js.map} +0 -0
- /package/dist/{chunk-Z24TLVN5.js.map → chunk-2ZDSVNY3.js.map} +0 -0
- /package/dist/{chunk-CO6YFR3D.js.map → chunk-3U4RLIJO.js.map} +0 -0
- /package/dist/{chunk-Y4RNG5OY.js.map → chunk-45D464P5.js.map} +0 -0
- /package/dist/{chunk-US54JBMX.js.map → chunk-5Q64JHNZ.js.map} +0 -0
- /package/dist/{chunk-3TIUWC2Z.js.map → chunk-6VNECDST.js.map} +0 -0
- /package/dist/{chunk-RP4BBXDP.js.map → chunk-6XZU4LBV.js.map} +0 -0
- /package/dist/{chunk-ZQSL5DNH.js.map → chunk-ABMM5WPI.js.map} +0 -0
- /package/dist/{chunk-AY55OHND.js.map → chunk-BARY5FWC.js.map} +0 -0
- /package/dist/{chunk-ZEXB4ORV.js.map → chunk-C2UAAYWX.js.map} +0 -0
- /package/dist/{chunk-32JTZAO7.js.map → chunk-E7RESK5E.js.map} +0 -0
- /package/dist/{chunk-4MK2BRYB.js.map → chunk-EW2TT67U.js.map} +0 -0
- /package/dist/{chunk-U3BFGU66.js.map → chunk-FZMXT5RI.js.map} +0 -0
- /package/dist/{chunk-J7WZWGDH.js.map → chunk-GH5RSDM7.js.map} +0 -0
- /package/dist/{chunk-B5LCF5J2.js.map → chunk-IQMA3KR4.js.map} +0 -0
- /package/dist/{chunk-NAIB6MPR.js.map → chunk-IVANCXPK.js.map} +0 -0
- /package/dist/{chunk-I6KQT3PW.js.map → chunk-IWDGQ5XE.js.map} +0 -0
- /package/dist/{chunk-4YHTVGRE.js.map → chunk-J5X3PVNK.js.map} +0 -0
- /package/dist/{chunk-Q4UO2MDZ.js.map → chunk-JHD2OQ4U.js.map} +0 -0
- /package/dist/{chunk-CPZM54UB.js.map → chunk-LU3R56QQ.js.map} +0 -0
- /package/dist/{chunk-SBUP7UHE.js.map → chunk-MSW6LIFP.js.map} +0 -0
- /package/dist/{chunk-6YIVNY56.js.map → chunk-NODXQZ5O.js.map} +0 -0
- /package/dist/{chunk-XIQACTMH.js.map → chunk-O544TQL2.js.map} +0 -0
- /package/dist/{chunk-2AMFXAQB.js.map → chunk-OR3UZE32.js.map} +0 -0
- /package/dist/{chunk-GVNXAIXG.js.map → chunk-OTQZJBN5.js.map} +0 -0
- /package/dist/{chunk-R4TM7KE5.js.map → chunk-PFVE3DK3.js.map} +0 -0
- /package/dist/{chunk-THKF6P4Q.js.map → chunk-PGLJCFMB.js.map} +0 -0
- /package/dist/{chunk-S5L5KKUX.js.map → chunk-RSCKIYXN.js.map} +0 -0
- /package/dist/{chunk-FAL7MVPU.js.map → chunk-TXCLULAD.js.map} +0 -0
- /package/dist/{chunk-VVU5ZFRV.js.map → chunk-W3JWELFZ.js.map} +0 -0
- /package/dist/{chunk-BRISZWFM.js.map → chunk-WSV2CCVB.js.map} +0 -0
- /package/dist/{chunk-RV7Q6ZJZ.js.map → chunk-XSOVNEOR.js.map} +0 -0
- /package/dist/{chunk-JRHQSSD4.js.map → chunk-YB2G4RTT.js.map} +0 -0
- /package/dist/{chunk-YWKLUVCC.js.map → chunk-YZ4N7SGK.js.map} +0 -0
- /package/dist/{compile-EQFNP5PS.js.map → compile-VQCD2OZW.js.map} +0 -0
- /package/dist/{config-NALKAQZW.js.map → config-KZ5LWGYQ.js.map} +0 -0
- /package/dist/{cursor-local-install-6DRGQ6U7.js.map → cursor-local-install-2NGQGKEL.js.map} +0 -0
- /package/dist/{cursor-local-install-KY3PVFZY.js.map → cursor-local-install-U37XN246.js.map} +0 -0
- /package/dist/{doctor-PSFWURF6.js.map → doctor-X5JM5W56.js.map} +0 -0
- /package/dist/{environment-IH6UHY5Q.js.map → environment-SIUHJOHY.js.map} +0 -0
- /package/dist/{github-42TN2FWA.js.map → github-A77OWJ2W.js.map} +0 -0
- /package/dist/{harness-464THUQE.js.map → harness-723EAMJB.js.map} +0 -0
- /package/dist/{help-2WLAAUHJ.js.map → help-ROM4HT25.js.map} +0 -0
- /package/dist/{host-plugin-view-kept-USEF3O7L.js.map → host-plugin-view-kept-LYVO2IUQ.js.map} +0 -0
- /package/dist/{init-ZRBNVSSY.js.map → init-5TMSOHGO.js.map} +0 -0
- /package/dist/{live-read-cache-EXERTB5C.js.map → live-read-cache-27REZZS3.js.map} +0 -0
- /package/dist/{live-read-cache-V7PNM5C7.js.map → live-read-cache-D3UJPZJ5.js.map} +0 -0
- /package/dist/{lock-FOGZUIAX.js.map → lock-YNOXNNPG.js.map} +0 -0
- /package/dist/{marketplace-HRBZHD72.js.map → marketplace-3SWHTO5P.js.map} +0 -0
- /package/dist/{mcp-QKKRROXZ.js.map → mcp-DGQP7RKX.js.map} +0 -0
- /package/dist/{migrate-LTIWDOB4.js.map → migrate-BRM75WNY.js.map} +0 -0
- /package/dist/{notifications-D7XCAXPE.js.map → notifications-OZF3AFXJ.js.map} +0 -0
- /package/dist/{open-DGLJYZVH.js.map → open-LYS3MFZP.js.map} +0 -0
- /package/dist/{pack-K6XBNLDU.js.map → pack-5J7LTFPI.js.map} +0 -0
- /package/dist/{plugin-3V7YESUD.js.map → plugin-QBNOTK3Z.js.map} +0 -0
- /package/dist/{plugin-from-project-QZQCQVMR.js.map → plugin-from-project-K37YB26C.js.map} +0 -0
- /package/dist/{policy-HSCKBNAV.js.map → policy-3F3X75OD.js.map} +0 -0
- /package/dist/{profile-BGYKPWC7.js.map → profile-QJRRN4QB.js.map} +0 -0
- /package/dist/{project-NGMOEYZY.js.map → project-O7P3M4RV.js.map} +0 -0
- /package/dist/{resource-C2L3SYQP.js.map → resource-P7RZZPSD.js.map} +0 -0
- /package/dist/{version-XQS3VKYR.js.map → version-COQ4MQP3.js.map} +0 -0
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
shouldUseWizard,
|
|
43
43
|
statSync,
|
|
44
44
|
wellKnownMarketplaceEntry
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-W3JWELFZ.js";
|
|
46
46
|
import {
|
|
47
47
|
AP_PACKAGE_MEDIA_TYPE,
|
|
48
48
|
DEFAULT_CATALOG_SLUG,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
resolveCatalogScope,
|
|
63
63
|
resolveRemotePluginSelector,
|
|
64
64
|
trackPluginInstalled
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FZMXT5RI.js";
|
|
66
66
|
import {
|
|
67
67
|
loadSettings
|
|
68
68
|
} from "./chunk-CWXCZBJR.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
ensureGithubGitConfigArgs,
|
|
71
71
|
githubHttpsRemoteForAuth,
|
|
72
72
|
resolveGithubAccessToken
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-OR3UZE32.js";
|
|
74
74
|
import {
|
|
75
75
|
CLI_ERRORS,
|
|
76
76
|
CLI_HINTS,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
traceRecord,
|
|
108
108
|
traceSpan,
|
|
109
109
|
ui
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-ROFEGDSG.js";
|
|
111
111
|
|
|
112
112
|
// src/plugins/cursor-inventory.ts
|
|
113
113
|
import { isAbsolute, join as join3, relative as relative2 } from "path";
|
|
@@ -692,6 +692,9 @@ import { basename as basename13, dirname as dirname28, join as join95, sep as se
|
|
|
692
692
|
import { Worker, parentPort } from "worker_threads";
|
|
693
693
|
|
|
694
694
|
// src/platforms/registry.ts
|
|
695
|
+
var AGENTS_CONVENTION_PREVIOUS_SKILLS = {
|
|
696
|
+
kilo: { project: ".kilocode/skills/", global: "~/.kilocode/skills/" }
|
|
697
|
+
};
|
|
695
698
|
var AGENTS_CONVENTION_MCP = {
|
|
696
699
|
droid: { project: ".factory/mcp.json", global: "~/.factory/mcp.json" }
|
|
697
700
|
};
|
|
@@ -844,11 +847,16 @@ var PLATFORMS = [
|
|
|
844
847
|
{ path: "~/.agents/AGENTS.md", surfaces: ["instructions"] }
|
|
845
848
|
]
|
|
846
849
|
}),
|
|
850
|
+
// Copilot reads workspace MCP servers from `.mcp.json` (`.github/mcp.json`
|
|
851
|
+
// only when the folder has no `.mcp.json`); `.vscode/mcp.json` is no longer read.
|
|
852
|
+
// https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers
|
|
853
|
+
// https://code.visualstudio.com/docs/agents/reference/mcp-configuration
|
|
847
854
|
def("github-copilot", "GitHub Copilot", ["instructions", "skills", "rules", "mcp", "agents"], {
|
|
848
855
|
instructions: ".github/copilot-instructions.md",
|
|
849
856
|
rules: ".github/instructions/",
|
|
850
857
|
skills: ".agents/skills/",
|
|
851
|
-
agents: ".github/agents/"
|
|
858
|
+
agents: ".github/agents/",
|
|
859
|
+
mcp: ".mcp.json"
|
|
852
860
|
}, {
|
|
853
861
|
skills: "~/.copilot/skills/",
|
|
854
862
|
settings: "~/.copilot/mcp-config.json"
|
|
@@ -856,7 +864,7 @@ var PLATFORMS = [
|
|
|
856
864
|
def("copilot-cli", "Copilot CLI", ["instructions", "skills", "mcp", "agents"], {
|
|
857
865
|
instructions: "AGENTS.md",
|
|
858
866
|
skills: ".agents/skills/",
|
|
859
|
-
mcp: ".
|
|
867
|
+
mcp: ".mcp.json",
|
|
860
868
|
agents: ".github/agents/"
|
|
861
869
|
}, {
|
|
862
870
|
skills: "~/.copilot/skills/",
|
|
@@ -876,14 +884,31 @@ var PLATFORMS = [
|
|
|
876
884
|
skills: "~/.gemini/skills/",
|
|
877
885
|
settings: "~/.gemini/settings.json"
|
|
878
886
|
}, "instruction-only"),
|
|
887
|
+
// Windsurf is now Devin Desktop. Its Devin Local agent uses the Devin CLI
|
|
888
|
+
// layout: rules in `.devin/rules/` with `trigger` frontmatter (`.windsurf/rules/`
|
|
889
|
+
// and `.windsurfrules` still load), skills in `.agents/skills/` and
|
|
890
|
+
// `~/.agents/skills/` (also `~/.config/devin/skills/`), MCP in `.devin/mcp_config.json` and
|
|
891
|
+
// `~/.config/devin/mcp_config.json`.
|
|
892
|
+
// https://docs.devin.ai/desktop/devin-local/customizations
|
|
879
893
|
def("windsurf", "Windsurf", ["instructions", "skills", "rules", "mcp"], {
|
|
880
894
|
instructions: ".windsurfrules",
|
|
881
|
-
rules: ".
|
|
882
|
-
|
|
895
|
+
rules: ".devin/rules/",
|
|
896
|
+
legacy_rules: ".windsurf/rules/",
|
|
897
|
+
skills: ".agents/skills/",
|
|
898
|
+
mcp: ".devin/mcp_config.json",
|
|
899
|
+
pathAlternates: {
|
|
900
|
+
rules: [".windsurf/rules/"],
|
|
901
|
+
skills: [".devin/skills/", ".windsurf/skills/"]
|
|
902
|
+
}
|
|
883
903
|
}, {
|
|
884
|
-
skills: "~/.
|
|
885
|
-
|
|
886
|
-
|
|
904
|
+
skills: "~/.agents/skills/",
|
|
905
|
+
rules: "~/.devin/rules/",
|
|
906
|
+
mcp: "~/.config/devin/mcp_config.json",
|
|
907
|
+
settings: "~/.codeium/windsurf/mcp_config.json",
|
|
908
|
+
pathAlternates: {
|
|
909
|
+
skills: ["~/.config/devin/skills/", "~/.codeium/windsurf/skills/"]
|
|
910
|
+
}
|
|
911
|
+
}),
|
|
887
912
|
def("cline", "Cline", ["instructions", "skills", "rules", "mcp"], {
|
|
888
913
|
instructions: "AGENTS.md",
|
|
889
914
|
rules: ".clinerules/",
|
|
@@ -1022,16 +1047,26 @@ var PLATFORMS = [
|
|
|
1022
1047
|
skills: "~/.agents/skills/",
|
|
1023
1048
|
settings: "~/.config/zed/settings.json"
|
|
1024
1049
|
}),
|
|
1025
|
-
|
|
1050
|
+
// Devin CLI keeps MCP servers in dedicated `mcp_config.json` files (servers
|
|
1051
|
+
// still in `config.json` are migrated by Devin on startup) and rules in
|
|
1052
|
+
// `.devin/rules/` with `trigger` frontmatter.
|
|
1053
|
+
// https://docs.devin.ai/cli/extensibility/mcp
|
|
1054
|
+
// https://docs.devin.ai/cli/extensibility/rules
|
|
1055
|
+
def("devin", "Devin", ["instructions", "skills", "rules", "mcp"], {
|
|
1026
1056
|
instructions: "AGENTS.md",
|
|
1027
1057
|
skills: ".agents/skills/",
|
|
1058
|
+
rules: ".devin/rules/",
|
|
1059
|
+
mcp: ".devin/mcp_config.json",
|
|
1028
1060
|
settings: ".devin/config.json",
|
|
1029
1061
|
pathAlternates: {
|
|
1030
|
-
instructions: ["AGENTS.local.md", "AGENT.md"]
|
|
1062
|
+
instructions: ["AGENTS.local.md", "AGENT.md"],
|
|
1063
|
+
skills: [".devin/skills/"]
|
|
1031
1064
|
}
|
|
1032
1065
|
}, {
|
|
1033
1066
|
instructions: "~/.config/devin/AGENTS.md",
|
|
1034
1067
|
skills: "~/.agents/skills/",
|
|
1068
|
+
rules: "~/.devin/rules/",
|
|
1069
|
+
mcp: "~/.config/devin/mcp_config.json",
|
|
1035
1070
|
settings: "~/.config/devin/config.json"
|
|
1036
1071
|
}),
|
|
1037
1072
|
def("jules", "Jules", ["instructions", "skills"], {
|
|
@@ -1157,7 +1192,9 @@ var PLATFORMS = [
|
|
|
1157
1192
|
// ── .agents/ convention platforms (skills + instructions) ───────────
|
|
1158
1193
|
...[
|
|
1159
1194
|
["amp", "Amp", ".agents/skills/", "~/.config/agents/skills/"],
|
|
1160
|
-
|
|
1195
|
+
// Kilo moved its skills from `.kilocode/` to `.kilo/`:
|
|
1196
|
+
// https://kilo.ai/docs/customize/skills
|
|
1197
|
+
["kilo", "Kilo Code", ".kilo/skills/", "~/.kilo/skills/"],
|
|
1161
1198
|
["augment", "Augment", ".augment/skills/", "~/.augment/skills/"],
|
|
1162
1199
|
["firebender", "Firebender", ".agents/skills/", "~/.firebender/skills/"],
|
|
1163
1200
|
["junie", "Junie", ".junie/skills/", "~/.junie/skills/"],
|
|
@@ -1174,13 +1211,16 @@ var PLATFORMS = [
|
|
|
1174
1211
|
["neovate", "Neovate", ".neovate/skills/", "~/.neovate/skills/"]
|
|
1175
1212
|
].map(([id, name, projSkills, globalSkills]) => {
|
|
1176
1213
|
const mcp = AGENTS_CONVENTION_MCP[id];
|
|
1214
|
+
const previous = AGENTS_CONVENTION_PREVIOUS_SKILLS[id];
|
|
1177
1215
|
return def(id, name, mcp ? ["instructions", "skills", "mcp"] : ["instructions", "skills"], {
|
|
1178
1216
|
instructions: "AGENTS.md",
|
|
1179
1217
|
skills: projSkills,
|
|
1180
|
-
...mcp ? { mcp: mcp.project } : {}
|
|
1218
|
+
...mcp ? { mcp: mcp.project } : {},
|
|
1219
|
+
...previous ? { pathAlternates: { skills: [previous.project] } } : {}
|
|
1181
1220
|
}, {
|
|
1182
1221
|
skills: globalSkills,
|
|
1183
|
-
...mcp ? { settings: mcp.global } : {}
|
|
1222
|
+
...mcp ? { settings: mcp.global } : {},
|
|
1223
|
+
...previous ? { pathAlternates: { skills: [previous.global] } } : {}
|
|
1184
1224
|
});
|
|
1185
1225
|
})
|
|
1186
1226
|
];
|
|
@@ -1849,7 +1889,7 @@ var CursorPluginProvider = class {
|
|
|
1849
1889
|
return results;
|
|
1850
1890
|
}
|
|
1851
1891
|
async install(ctx, opts) {
|
|
1852
|
-
const { installCursorLocalPlugin } = await import("./cursor-local-install-
|
|
1892
|
+
const { installCursorLocalPlugin } = await import("./cursor-local-install-U37XN246.js");
|
|
1853
1893
|
return installCursorLocalPlugin(ctx, opts);
|
|
1854
1894
|
}
|
|
1855
1895
|
};
|
|
@@ -2537,7 +2577,7 @@ function inferMcpTransport(entry) {
|
|
|
2537
2577
|
const typeValue = entry.type ?? entry.transport;
|
|
2538
2578
|
if (typeof typeValue === "string") {
|
|
2539
2579
|
const normalized = typeValue.toLowerCase();
|
|
2540
|
-
if (normalized === "http" || normalized === "remote" || normalized === "sse" || normalized === "streamable_http" || normalized === "streamable-http") {
|
|
2580
|
+
if (normalized === "http" || normalized === "remote" || normalized === "sse" || normalized === "streamable_http" || normalized === "streamable-http" || normalized === "streamablehttp") {
|
|
2541
2581
|
return "http";
|
|
2542
2582
|
}
|
|
2543
2583
|
if (normalized === "stdio") {
|
|
@@ -2547,11 +2587,19 @@ function inferMcpTransport(entry) {
|
|
|
2547
2587
|
if (entry.protocol === "sse") {
|
|
2548
2588
|
return "http";
|
|
2549
2589
|
}
|
|
2550
|
-
if (typeof entry.url === "string" || typeof entry.uri === "string") {
|
|
2590
|
+
if (typeof entry.url === "string" || typeof entry.uri === "string" || typeof entry.serverUrl === "string" || typeof entry.httpUrl === "string") {
|
|
2551
2591
|
return "http";
|
|
2552
2592
|
}
|
|
2553
2593
|
return "stdio";
|
|
2554
2594
|
}
|
|
2595
|
+
function remoteTransportFromEntry(entry, rawType) {
|
|
2596
|
+
if (rawType === "sse") return "sse";
|
|
2597
|
+
if (rawType === "streamable-http" || rawType === "streamableHttp") return "streamable-http";
|
|
2598
|
+
if (typeof entry.httpUrl === "string" && typeof entry.url !== "string") {
|
|
2599
|
+
return "streamable-http";
|
|
2600
|
+
}
|
|
2601
|
+
return void 0;
|
|
2602
|
+
}
|
|
2555
2603
|
function parseMcpServerEntry(entry) {
|
|
2556
2604
|
if (!isRecord2(entry)) {
|
|
2557
2605
|
return null;
|
|
@@ -2569,12 +2617,14 @@ function parseMcpServerEntry(entry) {
|
|
|
2569
2617
|
if (Array.isArray(entry.args)) {
|
|
2570
2618
|
args = entry.args.filter((arg) => typeof arg === "string");
|
|
2571
2619
|
}
|
|
2572
|
-
const url =
|
|
2620
|
+
const url = [entry.url, entry.uri, entry.serverUrl, entry.httpUrl].find(
|
|
2621
|
+
(value) => typeof value === "string"
|
|
2622
|
+
);
|
|
2573
2623
|
const env = parseStringRecord(entry.env ?? entry.envs ?? entry.environment);
|
|
2574
2624
|
const headers = parseStringRecord(entry.headers);
|
|
2575
2625
|
const auth = parseAuthMetadata(entry.auth);
|
|
2576
2626
|
const rawType = typeof entry.type === "string" ? entry.type : void 0;
|
|
2577
|
-
const http_transport =
|
|
2627
|
+
const http_transport = remoteTransportFromEntry(entry, rawType);
|
|
2578
2628
|
const connection_type = rawType;
|
|
2579
2629
|
const cwd = typeof entry.cwd === "string" ? entry.cwd : void 0;
|
|
2580
2630
|
const env_file = typeof entry.envFile === "string" ? entry.envFile : typeof entry.env_file === "string" ? entry.env_file : void 0;
|
|
@@ -12114,6 +12164,13 @@ var CursorSerializer = class extends BaseSerializer {
|
|
|
12114
12164
|
// src/platforms/codex.ts
|
|
12115
12165
|
import { join as join27 } from "path";
|
|
12116
12166
|
import { parse as parse2 } from "smol-toml";
|
|
12167
|
+
function stringRecord(value) {
|
|
12168
|
+
if (!isRecord15(value)) return void 0;
|
|
12169
|
+
const entries = Object.entries(value).filter(
|
|
12170
|
+
(entry) => typeof entry[1] === "string"
|
|
12171
|
+
);
|
|
12172
|
+
return entries.length > 0 ? Object.fromEntries(entries) : void 0;
|
|
12173
|
+
}
|
|
12117
12174
|
var FILESYSTEM_PERMISSION_PREFIX = "filesystem:";
|
|
12118
12175
|
var NETWORK_PERMISSION_PREFIX = "network:";
|
|
12119
12176
|
function isRecord15(value) {
|
|
@@ -12228,6 +12285,9 @@ function buildMcpServers(mcps) {
|
|
|
12228
12285
|
const entry = {};
|
|
12229
12286
|
if (metadata.transport === "http" || metadata.url) {
|
|
12230
12287
|
if (metadata.url) entry.url = metadata.url;
|
|
12288
|
+
if (metadata.headers && Object.keys(metadata.headers).length > 0) {
|
|
12289
|
+
entry.http_headers = metadata.headers;
|
|
12290
|
+
}
|
|
12231
12291
|
} else {
|
|
12232
12292
|
if (metadata.command) entry.command = metadata.command;
|
|
12233
12293
|
if (metadata.args && metadata.args.length > 0) entry.args = metadata.args;
|
|
@@ -12281,12 +12341,14 @@ var CodexSerializer = class extends BaseSerializer {
|
|
|
12281
12341
|
for (const [name, entryValue] of Object.entries(mcpServers)) {
|
|
12282
12342
|
if (!isRecord15(entryValue)) continue;
|
|
12283
12343
|
const entry = entryValue;
|
|
12344
|
+
const headers = stringRecord(entry.http_headers);
|
|
12284
12345
|
const metadata = {
|
|
12285
12346
|
transport: entry.url ? "http" : "stdio",
|
|
12286
12347
|
command: entry.command,
|
|
12287
12348
|
args: entry.args,
|
|
12288
12349
|
url: entry.url,
|
|
12289
12350
|
env: entry.env,
|
|
12351
|
+
...headers ? { headers } : {},
|
|
12290
12352
|
...typeof entry.cwd === "string" ? { cwd: entry.cwd } : {},
|
|
12291
12353
|
...parseMcpToolFilters(entryValue)
|
|
12292
12354
|
};
|
|
@@ -13436,10 +13498,29 @@ function listInstalledCopilotPluginPinCreateInputs(homeRoot) {
|
|
|
13436
13498
|
|
|
13437
13499
|
// src/platforms/copilot.ts
|
|
13438
13500
|
var INSTRUCTIONS_FILE_SUFFIX = ".instructions.md";
|
|
13501
|
+
var PROJECT_MCP_ALTERNATES = [".github/mcp.json", ".copilot/mcp-config.json"];
|
|
13439
13502
|
function parseApplyTo(value) {
|
|
13440
13503
|
const raw = Array.isArray(value) ? value.filter((item) => typeof item === "string") : typeof value === "string" ? value.split(",") : [];
|
|
13441
13504
|
return raw.map((glob) => glob.trim()).filter((glob) => glob.length > 0);
|
|
13442
13505
|
}
|
|
13506
|
+
function emitWorkspaceMcpEntry(meta) {
|
|
13507
|
+
if (meta.transport === "http" || meta.url) {
|
|
13508
|
+
const sse = meta.http_transport === "sse" || meta.connection_type === "sse";
|
|
13509
|
+
return {
|
|
13510
|
+
type: sse ? "sse" : "http",
|
|
13511
|
+
...meta.url ? { url: meta.url } : {},
|
|
13512
|
+
...meta.headers && Object.keys(meta.headers).length > 0 ? { headers: meta.headers } : {},
|
|
13513
|
+
...meta.enabled_tools ? { tools: meta.enabled_tools } : {}
|
|
13514
|
+
};
|
|
13515
|
+
}
|
|
13516
|
+
return {
|
|
13517
|
+
type: "stdio",
|
|
13518
|
+
...meta.command ? { command: meta.command } : {},
|
|
13519
|
+
...meta.args && meta.args.length > 0 ? { args: meta.args } : {},
|
|
13520
|
+
...meta.env && Object.keys(meta.env).length > 0 ? { env: meta.env } : {},
|
|
13521
|
+
...meta.enabled_tools ? { tools: meta.enabled_tools } : {}
|
|
13522
|
+
};
|
|
13523
|
+
}
|
|
13443
13524
|
var CopilotSerializer = class extends BaseSerializer {
|
|
13444
13525
|
constructor(platformId) {
|
|
13445
13526
|
super();
|
|
@@ -13448,6 +13529,19 @@ var CopilotSerializer = class extends BaseSerializer {
|
|
|
13448
13529
|
if (!p) throw new Error(`${platformId} platform not found in registry`);
|
|
13449
13530
|
this.platform = p;
|
|
13450
13531
|
}
|
|
13532
|
+
/**
|
|
13533
|
+
* Servers captured from `.github/mcp.json` or the old project
|
|
13534
|
+
* `.copilot/mcp-config.json` belong in the workspace `.mcp.json` now.
|
|
13535
|
+
*/
|
|
13536
|
+
mcpServersForTarget(resources, targetMcpPath) {
|
|
13537
|
+
const selected = new Set(super.mcpServersForTarget(resources, targetMcpPath));
|
|
13538
|
+
if (!targetMcpPath || targetMcpPath !== this.platform.projectPaths.mcp) {
|
|
13539
|
+
return [...selected];
|
|
13540
|
+
}
|
|
13541
|
+
return resources.filter(
|
|
13542
|
+
(resource) => selected.has(resource) || resource.type === "mcp_server" && !isClaudeLocalMcpResource(resource) && resourceHarnessScope(resource).kind !== "subset" && PROJECT_MCP_ALTERNATES.some((path) => sourceMatchesManagedPath(resource.source, path))
|
|
13543
|
+
);
|
|
13544
|
+
}
|
|
13451
13545
|
platform;
|
|
13452
13546
|
async scan(projectRoot) {
|
|
13453
13547
|
const resources = [];
|
|
@@ -13511,15 +13605,17 @@ var CopilotSerializer = class extends BaseSerializer {
|
|
|
13511
13605
|
}
|
|
13512
13606
|
}
|
|
13513
13607
|
if (this.platform.projectPaths.mcp) {
|
|
13514
|
-
const
|
|
13515
|
-
const
|
|
13516
|
-
|
|
13517
|
-
|
|
13608
|
+
const seen = /* @__PURE__ */ new Set();
|
|
13609
|
+
for (const configPathValue of [this.platform.projectPaths.mcp, ...PROJECT_MCP_ALTERNATES]) {
|
|
13610
|
+
const configContent = this.readFile(join31(projectRoot, configPathValue));
|
|
13611
|
+
if (!configContent) continue;
|
|
13518
13612
|
try {
|
|
13519
13613
|
const document = JSON.parse(configContent);
|
|
13520
13614
|
for (const [name, metadata] of Object.entries(
|
|
13521
13615
|
parseMcpServersDocument(document)
|
|
13522
13616
|
)) {
|
|
13617
|
+
if (seen.has(name)) continue;
|
|
13618
|
+
seen.add(name);
|
|
13523
13619
|
resources.push(
|
|
13524
13620
|
this.makeResource(
|
|
13525
13621
|
"mcp_server",
|
|
@@ -13644,7 +13740,20 @@ ${r.content}`);
|
|
|
13644
13740
|
}
|
|
13645
13741
|
}
|
|
13646
13742
|
const mcps = this.mcpServersForTarget(resources, mcpPath);
|
|
13647
|
-
if (mcps.length > 0 && mcpPath) {
|
|
13743
|
+
if (mcps.length > 0 && mcpPath && target === "project") {
|
|
13744
|
+
const servers = {};
|
|
13745
|
+
for (const r of mcps) {
|
|
13746
|
+
servers[r.name] = emitWorkspaceMcpEntry(r.metadata);
|
|
13747
|
+
}
|
|
13748
|
+
files.push({
|
|
13749
|
+
path: mcpPath,
|
|
13750
|
+
content: overlayJsonPreservingFormat(
|
|
13751
|
+
this.readFile(join31(_projectRoot, mcpPath)),
|
|
13752
|
+
{ mcpServers: servers },
|
|
13753
|
+
{ mergeObjectKeys: ["mcpServers"], onUnparseable: "keep" }
|
|
13754
|
+
)
|
|
13755
|
+
});
|
|
13756
|
+
} else if (mcps.length > 0 && mcpPath) {
|
|
13648
13757
|
const mcpServers = {};
|
|
13649
13758
|
for (const r of mcps) {
|
|
13650
13759
|
const meta = r.metadata;
|
|
@@ -15661,12 +15770,34 @@ var SHARED_MCP_FORMATS = {
|
|
|
15661
15770
|
droid: {
|
|
15662
15771
|
wrapper: "mcpServers",
|
|
15663
15772
|
emit: (metadata) => emitPlainMcpServerEntry(metadata, { typeField: true, disabledToolsKey: "disabledTools" })
|
|
15773
|
+
},
|
|
15774
|
+
devin: { wrapper: "mcpServers", emit: (metadata) => devinMcpEntry(metadata) },
|
|
15775
|
+
windsurf: { wrapper: "mcpServers", emit: (metadata) => devinMcpEntry(metadata) }
|
|
15776
|
+
};
|
|
15777
|
+
function devinMcpEntry(metadata) {
|
|
15778
|
+
const entry = emitPlainMcpServerEntry(metadata, { disabledToolsKey: "disabledTools" });
|
|
15779
|
+
if ((metadata.transport === "http" || metadata.url) && metadata.http_transport === "sse") {
|
|
15780
|
+
entry.transport = "sse";
|
|
15664
15781
|
}
|
|
15782
|
+
return entry;
|
|
15783
|
+
}
|
|
15784
|
+
var PREVIOUS_MCP_PATHS = {
|
|
15785
|
+
windsurf: { project: [], global: ["~/.codeium/windsurf/mcp_config.json"] },
|
|
15786
|
+
devin: { project: [".devin/config.json"], global: ["~/.config/devin/config.json"] }
|
|
15665
15787
|
};
|
|
15788
|
+
function remoteTypeField(platformId, metadata) {
|
|
15789
|
+
if (platformId !== "cline") return {};
|
|
15790
|
+
const sse = metadata.http_transport === "sse" || metadata.connection_type === "sse";
|
|
15791
|
+
return { type: sse ? "sse" : "streamableHttp" };
|
|
15792
|
+
}
|
|
15666
15793
|
var COMMANDS_AS_SKILLS = /* @__PURE__ */ new Set(["antigravity"]);
|
|
15667
15794
|
var RULE_FILE_FORMATS = {
|
|
15668
15795
|
roo: "plain",
|
|
15669
|
-
antigravity: "antigravity"
|
|
15796
|
+
antigravity: "antigravity",
|
|
15797
|
+
// Devin Local and Devin CLI use the same `trigger` values:
|
|
15798
|
+
// https://docs.devin.ai/cli/extensibility/rules
|
|
15799
|
+
windsurf: "antigravity",
|
|
15800
|
+
devin: "antigravity"
|
|
15670
15801
|
};
|
|
15671
15802
|
function antigravityRuleFrontmatter(description, metadata) {
|
|
15672
15803
|
const globs = metadata?.globs ?? [];
|
|
@@ -15705,6 +15836,18 @@ var GenericAgentsSerializer = class extends BaseSerializer {
|
|
|
15705
15836
|
if (!p) throw new Error(`${platformId} platform not found in registry`);
|
|
15706
15837
|
this.platform = p;
|
|
15707
15838
|
}
|
|
15839
|
+
/** Servers captured from a previous MCP file of this harness move to its current one. */
|
|
15840
|
+
mcpServersForTarget(resources, targetMcpPath) {
|
|
15841
|
+
const selected = new Set(super.mcpServersForTarget(resources, targetMcpPath));
|
|
15842
|
+
const previous = PREVIOUS_MCP_PATHS[this.platformId];
|
|
15843
|
+
if (!targetMcpPath || !previous) {
|
|
15844
|
+
return [...selected];
|
|
15845
|
+
}
|
|
15846
|
+
const previousPaths = [...previous.project, ...previous.global];
|
|
15847
|
+
return resources.filter(
|
|
15848
|
+
(resource) => selected.has(resource) || resource.type === "mcp_server" && !isClaudeLocalMcpResource(resource) && resourceHarnessScope(resource).kind !== "subset" && previousPaths.some((path) => sourceMatchesManagedPath(resource.source, path))
|
|
15849
|
+
);
|
|
15850
|
+
}
|
|
15708
15851
|
scanRulesAt(fullPath, displayPath) {
|
|
15709
15852
|
const resources = [];
|
|
15710
15853
|
if (displayPath.endsWith("/")) {
|
|
@@ -15844,6 +15987,12 @@ var GenericAgentsSerializer = class extends BaseSerializer {
|
|
|
15844
15987
|
if (mcpPath) {
|
|
15845
15988
|
resources.push(...this.scanMcpAt(join40(projectRoot, mcpPath), mcpPath));
|
|
15846
15989
|
}
|
|
15990
|
+
for (const previous of PREVIOUS_MCP_PATHS[this.platformId]?.project ?? []) {
|
|
15991
|
+
const known = new Set(resources.filter((r) => r.type === "mcp_server").map((r) => r.name));
|
|
15992
|
+
resources.push(
|
|
15993
|
+
...this.scanMcpAt(join40(projectRoot, previous), previous).filter((r) => !known.has(r.name))
|
|
15994
|
+
);
|
|
15995
|
+
}
|
|
15847
15996
|
return resources;
|
|
15848
15997
|
}
|
|
15849
15998
|
async scanGlobal(homeRoot) {
|
|
@@ -15873,6 +16022,15 @@ var GenericAgentsSerializer = class extends BaseSerializer {
|
|
|
15873
16022
|
)
|
|
15874
16023
|
);
|
|
15875
16024
|
}
|
|
16025
|
+
for (const alternate of this.platform.globalPaths.pathAlternates?.skills ?? []) {
|
|
16026
|
+
const known = new Set(resources.filter((r) => r.type === "skill").map((r) => r.name));
|
|
16027
|
+
resources.push(
|
|
16028
|
+
...this.scanSkillsDirAt(
|
|
16029
|
+
resolveGlobalPath2(homeRoot, alternate),
|
|
16030
|
+
alternate.replace(/\/$/, "")
|
|
16031
|
+
).filter((r) => !known.has(r.name))
|
|
16032
|
+
);
|
|
16033
|
+
}
|
|
15876
16034
|
const rulesPath = this.platform.globalPaths.rules;
|
|
15877
16035
|
if (rulesPath) {
|
|
15878
16036
|
resources.push(
|
|
@@ -15924,12 +16082,18 @@ var GenericAgentsSerializer = class extends BaseSerializer {
|
|
|
15924
16082
|
)
|
|
15925
16083
|
);
|
|
15926
16084
|
}
|
|
15927
|
-
const mcpPath = this.platform.globalPaths.settings;
|
|
16085
|
+
const mcpPath = this.platform.globalPaths.mcp ?? this.platform.globalPaths.settings;
|
|
15928
16086
|
if (mcpPath) {
|
|
15929
16087
|
resources.push(
|
|
15930
16088
|
...this.scanMcpAt(resolveGlobalPath2(homeRoot, mcpPath), mcpPath)
|
|
15931
16089
|
);
|
|
15932
16090
|
}
|
|
16091
|
+
for (const previous of PREVIOUS_MCP_PATHS[this.platformId]?.global ?? []) {
|
|
16092
|
+
const known = new Set(resources.filter((r) => r.type === "mcp_server").map((r) => r.name));
|
|
16093
|
+
resources.push(
|
|
16094
|
+
...this.scanMcpAt(resolveGlobalPath2(homeRoot, previous), previous).filter((r) => !known.has(r.name))
|
|
16095
|
+
);
|
|
16096
|
+
}
|
|
15933
16097
|
return resources;
|
|
15934
16098
|
}
|
|
15935
16099
|
ruleFileContent(format, r, md) {
|
|
@@ -15968,7 +16132,7 @@ var GenericAgentsSerializer = class extends BaseSerializer {
|
|
|
15968
16132
|
const skillsPath = this.toTargetRelativePath(targetPaths.skills, target) ?? (target === "project" ? ".agents/skills/" : void 0);
|
|
15969
16133
|
const rulesPath = this.toTargetRelativePath(targetPaths.rules, target);
|
|
15970
16134
|
const mcpPath = this.toTargetRelativePath(
|
|
15971
|
-
target === "global" ? targetPaths.settings : targetPaths.mcp,
|
|
16135
|
+
target === "global" ? targetPaths.mcp ?? targetPaths.settings : targetPaths.mcp,
|
|
15972
16136
|
target
|
|
15973
16137
|
);
|
|
15974
16138
|
const agentsPath = this.toTargetRelativePath(targetPaths.agents, target);
|
|
@@ -16128,9 +16292,8 @@ ${r.content}`);
|
|
|
16128
16292
|
if (!meta) continue;
|
|
16129
16293
|
if (meta.transport === "http") {
|
|
16130
16294
|
servers[r.name] = {
|
|
16295
|
+
...remoteTypeField(this.platformId, meta),
|
|
16131
16296
|
url: meta.url,
|
|
16132
|
-
protocol: "sse",
|
|
16133
|
-
env: meta.env,
|
|
16134
16297
|
...meta.headers && Object.keys(meta.headers).length > 0 ? { headers: meta.headers } : {}
|
|
16135
16298
|
};
|
|
16136
16299
|
} else {
|
|
@@ -19602,7 +19765,7 @@ function stringArray(value) {
|
|
|
19602
19765
|
if (!Array.isArray(value) || value.some((entry) => typeof entry !== "string")) return void 0;
|
|
19603
19766
|
return value;
|
|
19604
19767
|
}
|
|
19605
|
-
function
|
|
19768
|
+
function stringRecord2(value) {
|
|
19606
19769
|
if (!isRecord27(value)) return void 0;
|
|
19607
19770
|
const record = {};
|
|
19608
19771
|
for (const [key, entry] of Object.entries(value)) {
|
|
@@ -19636,7 +19799,7 @@ function parseServer(_name, entry, root) {
|
|
|
19636
19799
|
}
|
|
19637
19800
|
let env;
|
|
19638
19801
|
if (entry.env !== void 0) {
|
|
19639
|
-
env =
|
|
19802
|
+
env = stringRecord2(entry.env);
|
|
19640
19803
|
if (!env) return { reason: "env must be an object of strings" };
|
|
19641
19804
|
for (const key of Object.keys(env)) {
|
|
19642
19805
|
if (RESERVED_ENV.has(key)) {
|
|
@@ -19669,7 +19832,7 @@ function parseServer(_name, entry, root) {
|
|
|
19669
19832
|
if (entry.headers !== void 0) {
|
|
19670
19833
|
const headerError = headerProblem(entry.headers);
|
|
19671
19834
|
if (headerError) return { reason: headerError };
|
|
19672
|
-
headers =
|
|
19835
|
+
headers = stringRecord2(entry.headers);
|
|
19673
19836
|
}
|
|
19674
19837
|
const metadata = {
|
|
19675
19838
|
transport: "http",
|
|
@@ -25810,7 +25973,7 @@ async function materializeFiles(files, rootPath, options = {}) {
|
|
|
25810
25973
|
};
|
|
25811
25974
|
}
|
|
25812
25975
|
async function clearLiveReadCachesAfterWrite() {
|
|
25813
|
-
const { clearLiveReadCaches: clearLiveReadCaches2 } = await import("./live-read-cache-
|
|
25976
|
+
const { clearLiveReadCaches: clearLiveReadCaches2 } = await import("./live-read-cache-27REZZS3.js");
|
|
25814
25977
|
clearLiveReadCaches2();
|
|
25815
25978
|
}
|
|
25816
25979
|
async function applyToGlobal(resources, platforms, homeRoot, options = {}) {
|
|
@@ -40190,4 +40353,4 @@ export {
|
|
|
40190
40353
|
diffHostPluginView,
|
|
40191
40354
|
replaceKeptHostPluginViewFiles
|
|
40192
40355
|
};
|
|
40193
|
-
//# sourceMappingURL=chunk-
|
|
40356
|
+
//# sourceMappingURL=chunk-23K6WPAF.js.map
|