@ken-jo/agent-connector 0.4.44 → 0.4.67
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/README.md +17 -4
- package/dist/{action-72J2TCKQ.js → action-RUM6GP23.js} +12 -12
- package/dist/{amazon-q-UFLBUSHG.js → amazon-q-KXVJFT7Q.js} +7 -11
- package/dist/amazon-q-KXVJFT7Q.js.map +1 -0
- package/dist/{amp-5DJK7VAL.js → amp-WAPHJYTK.js} +38 -63
- package/dist/amp-WAPHJYTK.js.map +1 -0
- package/dist/{antigravity-NWP2TUG6.js → antigravity-GF3RU42A.js} +5 -5
- package/dist/{antigravity-cli-KPNLE7X4.js → antigravity-cli-OH27IFH5.js} +5 -5
- package/dist/{chunk-QY42WGBX.js → chunk-2HCJV6UO.js} +33 -3
- package/dist/chunk-2HCJV6UO.js.map +1 -0
- package/dist/{chunk-ERV4TKRV.js → chunk-3Y23ZYYF.js} +10 -10
- package/dist/chunk-3Y23ZYYF.js.map +1 -0
- package/dist/{chunk-L7ESV37V.js → chunk-7CZKXXBD.js} +4 -2
- package/dist/chunk-7CZKXXBD.js.map +1 -0
- package/dist/{chunk-ZY25RG4Y.js → chunk-ALVXORZM.js} +4 -2
- package/dist/chunk-ALVXORZM.js.map +1 -0
- package/dist/{chunk-M3H7PQWT.js → chunk-AXAHW2KU.js} +4 -2
- package/dist/chunk-AXAHW2KU.js.map +1 -0
- package/dist/{chunk-CFM3JKIR.js → chunk-CSRBMJLU.js} +7 -7
- package/dist/{chunk-F4DSMVZ7.js → chunk-D6ZJS4ND.js} +2 -2
- package/dist/{chunk-B47MDOV3.js → chunk-E45SUUD7.js} +5 -5
- package/dist/{chunk-3Q6YEDCG.js → chunk-F5COBB5F.js} +17 -45
- package/dist/chunk-F5COBB5F.js.map +1 -0
- package/dist/{chunk-5M2SMDA4.js → chunk-GCRRX4MO.js} +2 -2
- package/dist/{chunk-2RPHDVHW.js → chunk-IU42THN7.js} +2 -2
- package/dist/{chunk-VPSHGDDQ.js → chunk-IZ4XQ23W.js} +26 -10
- package/dist/chunk-IZ4XQ23W.js.map +1 -0
- package/dist/{chunk-SBV2QJ5C.js → chunk-LS65GL2P.js} +36 -36
- package/dist/{chunk-IKEXNI2W.js → chunk-NXR4HM5N.js} +18 -18
- package/dist/{chunk-ASHAMORS.js → chunk-P5KA5NVR.js} +2 -2
- package/dist/{chunk-A767JFHW.js → chunk-RHML2NOB.js} +65 -35
- package/dist/chunk-RHML2NOB.js.map +1 -0
- package/dist/{chunk-UXG64P6R.js → chunk-RQCBBLTA.js} +7 -4
- package/dist/chunk-RQCBBLTA.js.map +1 -0
- package/dist/{chunk-LETB5HCK.js → chunk-TZ5KGCE2.js} +2 -2
- package/dist/{chunk-WZWK4ICE.js → chunk-UVBAH263.js} +10 -7
- package/dist/chunk-UVBAH263.js.map +1 -0
- package/dist/{chunk-E3GWKJU5.js → chunk-ZEFUDBTY.js} +5 -5
- package/dist/{chunk-XW46WVR2.js → chunk-ZSMGHEB5.js} +10 -5
- package/dist/chunk-ZSMGHEB5.js.map +1 -0
- package/dist/{claude-code-HXIVRZCY.js → claude-code-WLN43K7I.js} +15 -8
- package/dist/claude-code-WLN43K7I.js.map +1 -0
- package/dist/cli/sdk.js +7 -7
- package/dist/cli.js +1 -1
- package/dist/{cline-AGFJF4AC.js → cline-PEGTGVQD.js} +4 -4
- package/dist/{codebuff-YUQ4PN7G.js → codebuff-UG6LVSOM.js} +4 -4
- package/dist/{codex-FLU37DV3.js → codex-4LVDQXCD.js} +32 -6
- package/dist/codex-4LVDQXCD.js.map +1 -0
- package/dist/{continue-ZMI4YN75.js → continue-DYV5V55Y.js} +9 -5
- package/dist/continue-DYV5V55Y.js.map +1 -0
- package/dist/{copilot-cli-XPRJ5MQB.js → copilot-cli-NVFXFLUF.js} +66 -51
- package/dist/copilot-cli-NVFXFLUF.js.map +1 -0
- package/dist/{crush-3OB5ZTCC.js → crush-PP4HYZLT.js} +4 -4
- package/dist/{cursor-F4HYO2FP.js → cursor-XMXOZKAP.js} +5 -5
- package/dist/{detect-L3NJTBO5.js → detect-IZOWP5AA.js} +4 -4
- package/dist/{doctor-PUE4HO3N.js → doctor-5IVUQ2YH.js} +14 -14
- package/dist/{droid-NZCKYKOV.js → droid-ETNOUIPJ.js} +6 -12
- package/dist/droid-ETNOUIPJ.js.map +1 -0
- package/dist/{gemini-cli-3ZGCXUDD.js → gemini-cli-P7XJXWVH.js} +19 -6
- package/dist/gemini-cli-P7XJXWVH.js.map +1 -0
- package/dist/{goose-MGGNVXJP.js → goose-UZVA6MQC.js} +16 -22
- package/dist/goose-UZVA6MQC.js.map +1 -0
- package/dist/{hermes-L3CBJ37L.js → hermes-IC6R4CII.js} +44 -22
- package/dist/hermes-IC6R4CII.js.map +1 -0
- package/dist/{hook-S3DNNGZX.js → hook-7IUPIHCZ.js} +12 -12
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/{install-7SUJFRYO.js → install-EP6GPQ65.js} +14 -14
- package/dist/{introspect-B164-hj3.d.ts → introspect-BFcXpfUp.d.ts} +1 -1
- package/dist/{jetbrains-copilot-M2LHJBAW.js → jetbrains-copilot-MZO2RQGJ.js} +19 -15
- package/dist/jetbrains-copilot-MZO2RQGJ.js.map +1 -0
- package/dist/{kilo-RMRP2EL7.js → kilo-CCB34CQQ.js} +18 -55
- package/dist/kilo-CCB34CQQ.js.map +1 -0
- package/dist/{kilo-cli-6ITBNHTH.js → kilo-cli-EOMN3WC7.js} +18 -55
- package/dist/kilo-cli-EOMN3WC7.js.map +1 -0
- package/dist/{kimi-QYHWAY54.js → kimi-GUSJME55.js} +8 -4
- package/dist/kimi-GUSJME55.js.map +1 -0
- package/dist/{kiro-2K5UJVGC.js → kiro-6OHZ5RGV.js} +5 -5
- package/dist/kiro-6OHZ5RGV.js.map +1 -0
- package/dist/{leaderboard-2VAAOK3D.js → leaderboard-6I2E5XZK.js} +5 -5
- package/dist/{mimo-code-K7AMX2QW.js → mimo-code-ZPJJ6IIW.js} +21 -56
- package/dist/mimo-code-ZPJJ6IIW.js.map +1 -0
- package/dist/{mux-GT7FWVLH.js → mux-AFTVMGGM.js} +4 -4
- package/dist/{nemoclaw-GQMS6CUM.js → nemoclaw-D5EN4G2Q.js} +5 -5
- package/dist/{omp-2RPYIZUF.js → omp-GKI2PZ7G.js} +17 -46
- package/dist/omp-GKI2PZ7G.js.map +1 -0
- package/dist/{openclaw-P5GMEEGC.js → openclaw-A76PCNBV.js} +5 -5
- package/dist/{opencode-5D2SK3EX.js → opencode-M34E6PI7.js} +21 -56
- package/dist/opencode-M34E6PI7.js.map +1 -0
- package/dist/{package-VUX663ET.js → package-BWLV24OO.js} +11 -11
- package/dist/{pi-ZMM4KJTO.js → pi-HVG6ZWFE.js} +4 -4
- package/dist/{qwen-code-4ZLVGN2C.js → qwen-code-OWLM3I5P.js} +12 -5
- package/dist/qwen-code-OWLM3I5P.js.map +1 -0
- package/dist/{roo-code-67QGLQRM.js → roo-code-RFKKTNNI.js} +4 -4
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +10 -10
- package/dist/sdk/index.d.ts +3 -3
- package/dist/sdk/index.js +6 -6
- package/dist/sdk/test.d.ts +2 -2
- package/dist/sdk/test.js +9 -9
- package/dist/{serve-MOIIYFER.js → serve-CM4HZPMP.js} +12 -12
- package/dist/{status-SCBCWS7H.js → status-BPB4VLQX.js} +10 -10
- package/dist/{statusline-NRPDOPGA.js → statusline-HIKR2I4Q.js} +11 -11
- package/dist/{telemetry-Q55B5NSZ.js → telemetry-SBVUJYNE.js} +10 -10
- package/dist/{trae-TMJPHWZ5.js → trae-FVHQALK3.js} +4 -4
- package/dist/{types-COSBYpKs.d.ts → types-ChUrvw0j.d.ts} +8 -8
- package/dist/{uninstall-SNI7GPQD.js → uninstall-MO3RGGVE.js} +21 -14
- package/dist/uninstall-MO3RGGVE.js.map +1 -0
- package/dist/{upgrade-ZUNBJWJ7.js → upgrade-6XIGSPGY.js} +14 -14
- package/dist/{usage-UQDBIU42.js → usage-IBN36ZVW.js} +2 -2
- package/dist/{usage-event-HPG2BIAY.js → usage-event-4RJP37K6.js} +11 -11
- package/dist/{vscode-copilot-H7JKUKLZ.js → vscode-copilot-6FLDRTKV.js} +26 -19
- package/dist/vscode-copilot-6FLDRTKV.js.map +1 -0
- package/dist/{warp-SVDVKQQI.js → warp-7CC52UJV.js} +4 -4
- package/dist/{windsurf-H36YKOMR.js → windsurf-6ZLQMBQW.js} +4 -4
- package/dist/{zed-LHWJALLZ.js → zed-FULJMNBV.js} +4 -4
- package/package.json +2 -1
- package/dist/amazon-q-UFLBUSHG.js.map +0 -1
- package/dist/amp-5DJK7VAL.js.map +0 -1
- package/dist/chunk-3Q6YEDCG.js.map +0 -1
- package/dist/chunk-A767JFHW.js.map +0 -1
- package/dist/chunk-ERV4TKRV.js.map +0 -1
- package/dist/chunk-L7ESV37V.js.map +0 -1
- package/dist/chunk-M3H7PQWT.js.map +0 -1
- package/dist/chunk-QY42WGBX.js.map +0 -1
- package/dist/chunk-UXG64P6R.js.map +0 -1
- package/dist/chunk-VPSHGDDQ.js.map +0 -1
- package/dist/chunk-WZWK4ICE.js.map +0 -1
- package/dist/chunk-XW46WVR2.js.map +0 -1
- package/dist/chunk-ZY25RG4Y.js.map +0 -1
- package/dist/claude-code-HXIVRZCY.js.map +0 -1
- package/dist/codex-FLU37DV3.js.map +0 -1
- package/dist/continue-ZMI4YN75.js.map +0 -1
- package/dist/copilot-cli-XPRJ5MQB.js.map +0 -1
- package/dist/droid-NZCKYKOV.js.map +0 -1
- package/dist/gemini-cli-3ZGCXUDD.js.map +0 -1
- package/dist/goose-MGGNVXJP.js.map +0 -1
- package/dist/hermes-L3CBJ37L.js.map +0 -1
- package/dist/jetbrains-copilot-M2LHJBAW.js.map +0 -1
- package/dist/kilo-RMRP2EL7.js.map +0 -1
- package/dist/kilo-cli-6ITBNHTH.js.map +0 -1
- package/dist/kimi-QYHWAY54.js.map +0 -1
- package/dist/kiro-2K5UJVGC.js.map +0 -1
- package/dist/mimo-code-K7AMX2QW.js.map +0 -1
- package/dist/omp-2RPYIZUF.js.map +0 -1
- package/dist/opencode-5D2SK3EX.js.map +0 -1
- package/dist/qwen-code-4ZLVGN2C.js.map +0 -1
- package/dist/uninstall-SNI7GPQD.js.map +0 -1
- package/dist/vscode-copilot-H7JKUKLZ.js.map +0 -1
- /package/dist/{action-72J2TCKQ.js.map → action-RUM6GP23.js.map} +0 -0
- /package/dist/{antigravity-NWP2TUG6.js.map → antigravity-GF3RU42A.js.map} +0 -0
- /package/dist/{antigravity-cli-KPNLE7X4.js.map → antigravity-cli-OH27IFH5.js.map} +0 -0
- /package/dist/{chunk-CFM3JKIR.js.map → chunk-CSRBMJLU.js.map} +0 -0
- /package/dist/{chunk-F4DSMVZ7.js.map → chunk-D6ZJS4ND.js.map} +0 -0
- /package/dist/{chunk-B47MDOV3.js.map → chunk-E45SUUD7.js.map} +0 -0
- /package/dist/{chunk-5M2SMDA4.js.map → chunk-GCRRX4MO.js.map} +0 -0
- /package/dist/{chunk-2RPHDVHW.js.map → chunk-IU42THN7.js.map} +0 -0
- /package/dist/{chunk-SBV2QJ5C.js.map → chunk-LS65GL2P.js.map} +0 -0
- /package/dist/{chunk-IKEXNI2W.js.map → chunk-NXR4HM5N.js.map} +0 -0
- /package/dist/{chunk-ASHAMORS.js.map → chunk-P5KA5NVR.js.map} +0 -0
- /package/dist/{chunk-LETB5HCK.js.map → chunk-TZ5KGCE2.js.map} +0 -0
- /package/dist/{chunk-E3GWKJU5.js.map → chunk-ZEFUDBTY.js.map} +0 -0
- /package/dist/{cline-AGFJF4AC.js.map → cline-PEGTGVQD.js.map} +0 -0
- /package/dist/{codebuff-YUQ4PN7G.js.map → codebuff-UG6LVSOM.js.map} +0 -0
- /package/dist/{crush-3OB5ZTCC.js.map → crush-PP4HYZLT.js.map} +0 -0
- /package/dist/{cursor-F4HYO2FP.js.map → cursor-XMXOZKAP.js.map} +0 -0
- /package/dist/{detect-L3NJTBO5.js.map → detect-IZOWP5AA.js.map} +0 -0
- /package/dist/{doctor-PUE4HO3N.js.map → doctor-5IVUQ2YH.js.map} +0 -0
- /package/dist/{hook-S3DNNGZX.js.map → hook-7IUPIHCZ.js.map} +0 -0
- /package/dist/{install-7SUJFRYO.js.map → install-EP6GPQ65.js.map} +0 -0
- /package/dist/{leaderboard-2VAAOK3D.js.map → leaderboard-6I2E5XZK.js.map} +0 -0
- /package/dist/{mux-GT7FWVLH.js.map → mux-AFTVMGGM.js.map} +0 -0
- /package/dist/{nemoclaw-GQMS6CUM.js.map → nemoclaw-D5EN4G2Q.js.map} +0 -0
- /package/dist/{openclaw-P5GMEEGC.js.map → openclaw-A76PCNBV.js.map} +0 -0
- /package/dist/{package-VUX663ET.js.map → package-BWLV24OO.js.map} +0 -0
- /package/dist/{pi-ZMM4KJTO.js.map → pi-HVG6ZWFE.js.map} +0 -0
- /package/dist/{roo-code-67QGLQRM.js.map → roo-code-RFKKTNNI.js.map} +0 -0
- /package/dist/{serve-MOIIYFER.js.map → serve-CM4HZPMP.js.map} +0 -0
- /package/dist/{status-SCBCWS7H.js.map → status-BPB4VLQX.js.map} +0 -0
- /package/dist/{statusline-NRPDOPGA.js.map → statusline-HIKR2I4Q.js.map} +0 -0
- /package/dist/{telemetry-Q55B5NSZ.js.map → telemetry-SBVUJYNE.js.map} +0 -0
- /package/dist/{trae-TMJPHWZ5.js.map → trae-FVHQALK3.js.map} +0 -0
- /package/dist/{upgrade-ZUNBJWJ7.js.map → upgrade-6XIGSPGY.js.map} +0 -0
- /package/dist/{usage-UQDBIU42.js.map → usage-IBN36ZVW.js.map} +0 -0
- /package/dist/{usage-event-HPG2BIAY.js.map → usage-event-4RJP37K6.js.map} +0 -0
- /package/dist/{warp-SVDVKQQI.js.map → warp-7CC52UJV.js.map} +0 -0
- /package/dist/{windsurf-H36YKOMR.js.map → windsurf-6ZLQMBQW.js.map} +0 -0
- /package/dist/{zed-LHWJALLZ.js.map → zed-FULJMNBV.js.map} +0 -0
package/dist/sdk/test.js
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
compileMatcher,
|
|
4
4
|
eventMatcherSubject
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-E45SUUD7.js";
|
|
6
|
+
import "../chunk-D6ZJS4ND.js";
|
|
7
7
|
import "../chunk-KHO5WNTP.js";
|
|
8
8
|
import {
|
|
9
9
|
SURFACE_PREDICATES
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-P5KA5NVR.js";
|
|
11
|
+
import "../chunk-RQCBBLTA.js";
|
|
12
|
+
import "../chunk-UVBAH263.js";
|
|
13
13
|
import {
|
|
14
14
|
allAdapters,
|
|
15
15
|
loadAdapter
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-LS65GL2P.js";
|
|
17
|
+
import "../chunk-7CZKXXBD.js";
|
|
18
|
+
import "../chunk-ALVXORZM.js";
|
|
19
|
+
import "../chunk-2HCJV6UO.js";
|
|
20
20
|
|
|
21
21
|
// src/sdk/test-harness.ts
|
|
22
22
|
function declaredGlobalSurfaces(connector) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fail
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NXR4HM5N.js";
|
|
5
5
|
import {
|
|
6
6
|
runServe
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CSRBMJLU.js";
|
|
8
8
|
import "./chunk-OP4KBXUO.js";
|
|
9
9
|
import "./chunk-7QRUZAUG.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-GCRRX4MO.js";
|
|
11
|
+
import "./chunk-E45SUUD7.js";
|
|
12
|
+
import "./chunk-D6ZJS4ND.js";
|
|
13
13
|
import "./chunk-KHO5WNTP.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-RQCBBLTA.js";
|
|
15
|
+
import "./chunk-UVBAH263.js";
|
|
16
|
+
import "./chunk-LS65GL2P.js";
|
|
17
|
+
import "./chunk-7CZKXXBD.js";
|
|
18
18
|
import "./chunk-TO57WYBB.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-ALVXORZM.js";
|
|
20
|
+
import "./chunk-2HCJV6UO.js";
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/serve.ts
|
|
23
23
|
import { parseArgs } from "util";
|
|
@@ -67,4 +67,4 @@ async function run(argv) {
|
|
|
67
67
|
export {
|
|
68
68
|
run
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=serve-
|
|
70
|
+
//# sourceMappingURL=serve-CM4HZPMP.js.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
marketplaceEvidence
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AXAHW2KU.js";
|
|
5
5
|
import {
|
|
6
6
|
fail,
|
|
7
7
|
parseScope,
|
|
8
8
|
print
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NXR4HM5N.js";
|
|
10
10
|
import {
|
|
11
11
|
detectInstalledPlatforms
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GCRRX4MO.js";
|
|
13
13
|
import {
|
|
14
14
|
findConnectorConfig,
|
|
15
15
|
listRegisteredConnectors,
|
|
16
16
|
loadConnectorFromPath
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-RQCBBLTA.js";
|
|
18
|
+
import "./chunk-UVBAH263.js";
|
|
19
19
|
import {
|
|
20
20
|
loadAdapter
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-LS65GL2P.js";
|
|
22
|
+
import "./chunk-7CZKXXBD.js";
|
|
23
23
|
import "./chunk-UM5S7DKK.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ALVXORZM.js";
|
|
25
25
|
import {
|
|
26
26
|
dataRoot,
|
|
27
27
|
homeBinPath
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2HCJV6UO.js";
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/status.ts
|
|
31
31
|
import { parseArgs } from "util";
|
|
@@ -139,4 +139,4 @@ async function run(argv) {
|
|
|
139
139
|
export {
|
|
140
140
|
run
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=status-
|
|
142
|
+
//# sourceMappingURL=status-BPB4VLQX.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runStatusline
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CSRBMJLU.js";
|
|
5
5
|
import "./chunk-OP4KBXUO.js";
|
|
6
6
|
import "./chunk-7QRUZAUG.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-GCRRX4MO.js";
|
|
8
|
+
import "./chunk-E45SUUD7.js";
|
|
9
|
+
import "./chunk-D6ZJS4ND.js";
|
|
10
10
|
import "./chunk-KHO5WNTP.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-RQCBBLTA.js";
|
|
12
|
+
import "./chunk-UVBAH263.js";
|
|
13
|
+
import "./chunk-LS65GL2P.js";
|
|
14
|
+
import "./chunk-7CZKXXBD.js";
|
|
15
15
|
import "./chunk-TO57WYBB.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ALVXORZM.js";
|
|
17
|
+
import "./chunk-2HCJV6UO.js";
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/statusline.ts
|
|
20
20
|
import { parseArgs } from "util";
|
|
@@ -57,4 +57,4 @@ async function run(argv) {
|
|
|
57
57
|
export {
|
|
58
58
|
run
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=statusline-
|
|
60
|
+
//# sourceMappingURL=statusline-HIKR2I4Q.js.map
|
|
@@ -8,25 +8,25 @@ import {
|
|
|
8
8
|
mcpLeaderboard,
|
|
9
9
|
surfaceLeaderboard,
|
|
10
10
|
toolLeaderboard
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TZ5KGCE2.js";
|
|
12
12
|
import {
|
|
13
13
|
fail,
|
|
14
14
|
print
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NXR4HM5N.js";
|
|
16
16
|
import {
|
|
17
17
|
openStore
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D6ZJS4ND.js";
|
|
19
19
|
import {
|
|
20
20
|
connectorFromMeta,
|
|
21
21
|
listRegisteredConnectors,
|
|
22
22
|
loadRegisteredConnector,
|
|
23
23
|
readRegisteredMeta
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-RQCBBLTA.js";
|
|
25
|
+
import "./chunk-UVBAH263.js";
|
|
26
|
+
import "./chunk-LS65GL2P.js";
|
|
27
|
+
import "./chunk-7CZKXXBD.js";
|
|
28
|
+
import "./chunk-ALVXORZM.js";
|
|
29
|
+
import "./chunk-2HCJV6UO.js";
|
|
30
30
|
|
|
31
31
|
// src/cli/commands/telemetry.ts
|
|
32
32
|
import { writeFileSync } from "fs";
|
|
@@ -349,4 +349,4 @@ export {
|
|
|
349
349
|
parseSince,
|
|
350
350
|
run
|
|
351
351
|
};
|
|
352
|
-
//# sourceMappingURL=telemetry-
|
|
352
|
+
//# sourceMappingURL=telemetry-SBVUJYNE.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
renderSkillMd
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RHML2NOB.js";
|
|
9
9
|
import {
|
|
10
10
|
buildWrappedStdio,
|
|
11
11
|
isHomeBinHookCommand
|
|
12
12
|
} from "./chunk-TO57WYBB.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ALVXORZM.js";
|
|
14
|
+
import "./chunk-2HCJV6UO.js";
|
|
15
15
|
|
|
16
16
|
// src/adapters/trae/index.ts
|
|
17
17
|
import { existsSync } from "fs";
|
|
@@ -271,4 +271,4 @@ export {
|
|
|
271
271
|
adapter,
|
|
272
272
|
trae_default as default
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=trae-
|
|
274
|
+
//# sourceMappingURL=trae-FVHQALK3.js.map
|
|
@@ -28,18 +28,18 @@ type PlatformId = "claude-code" | "codex" | "cursor" | "vscode-copilot" | "jetbr
|
|
|
28
28
|
* Hook I/O paradigm — the deepest cross-platform divergence (report §4).
|
|
29
29
|
* Canonical shipped sets (keep in sync with src/adapters/registry.ts — this
|
|
30
30
|
* comment once drifted and seeded a docs-wide misclassification):
|
|
31
|
-
* - "json-stdio" (
|
|
31
|
+
* - "json-stdio" (18): host pipes JSON to a command on stdin, reads
|
|
32
32
|
* JSON/exit-code back — Claude Code, Codex, Cursor, VS Code/JetBrains
|
|
33
33
|
* Copilot, Copilot CLI, Gemini CLI, Qwen, Kiro, Kimi, Crush, Goose, Hermes,
|
|
34
|
-
* Droid (Factory), Antigravity (+ the agy CLI), Continue. One
|
|
35
|
-
* entrypoint binary handles all of them.
|
|
34
|
+
* Droid (Factory), Antigravity (+ the agy CLI), Continue, Amazon Q. One
|
|
35
|
+
* universal entrypoint binary handles all of them.
|
|
36
36
|
* - "ts-plugin" (8): host loads a JS/TS module exporting lifecycle functions
|
|
37
37
|
* — OpenCode, MiMoCode (an OpenCode fork), Kilo CLI, Kilo, OMP, OpenClaw,
|
|
38
38
|
* NemoClaw (an OpenClaw wrapper/fork), Amp (.amp/plugins/*.ts). Framework
|
|
39
39
|
* generates the module.
|
|
40
|
-
* - "mcp-only" (
|
|
41
|
-
* Codebuff, Mux, Pi,
|
|
42
|
-
*
|
|
40
|
+
* - "mcp-only" (9): no hook layer at all — Warp, Roo Code, Cline, Trae, Zed,
|
|
41
|
+
* Codebuff, Mux, Pi, Windsurf. Only the MCP server (or skills surface) is
|
|
42
|
+
* installed; hooks are reported unavailable.
|
|
43
43
|
*/
|
|
44
44
|
type HookParadigm = "json-stdio" | "ts-plugin" | "mcp-only";
|
|
45
45
|
/**
|
|
@@ -503,8 +503,8 @@ interface PlatformCapabilities {
|
|
|
503
503
|
* Statusline-surface support (a HUD/status line wired at the single home
|
|
504
504
|
* binary). OPTIONAL, read as `?? false` (supportsMemory precedent). Only
|
|
505
505
|
* statusline-supporting adapters set this true; the BaseAdapter
|
|
506
|
-
* install/uninstall defaults skip-warn regardless of the flag
|
|
507
|
-
*
|
|
506
|
+
* install/uninstall defaults skip-warn regardless of the flag. Unlike the
|
|
507
|
+
* content surfaces this is a runtime-dispatched
|
|
508
508
|
* handler — the supporting adapter wires the host's status line at
|
|
509
509
|
* `<homeBin> statusline <host> --connector <id>`.
|
|
510
510
|
*/
|
|
@@ -5,38 +5,40 @@ import {
|
|
|
5
5
|
resolveUninstallTargets,
|
|
6
6
|
uninstallConnector,
|
|
7
7
|
uninstallViaMarketplace
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-IZ4XQ23W.js";
|
|
9
|
+
import "./chunk-ZEFUDBTY.js";
|
|
10
10
|
import {
|
|
11
11
|
marketplaceEvidence,
|
|
12
12
|
readMarketplaceInstalls
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-AXAHW2KU.js";
|
|
14
|
+
import "./chunk-ZSMGHEB5.js";
|
|
15
15
|
import {
|
|
16
16
|
fail,
|
|
17
17
|
parseScope,
|
|
18
18
|
parseTargets,
|
|
19
19
|
print,
|
|
20
20
|
renderInstallResult
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NXR4HM5N.js";
|
|
22
22
|
import "./chunk-7QRUZAUG.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-GCRRX4MO.js";
|
|
24
24
|
import "./chunk-KHO5WNTP.js";
|
|
25
25
|
import {
|
|
26
26
|
findConnectorConfig,
|
|
27
27
|
loadConnectorFromPath
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-RQCBBLTA.js";
|
|
29
|
+
import "./chunk-UVBAH263.js";
|
|
30
|
+
import "./chunk-LS65GL2P.js";
|
|
31
|
+
import "./chunk-7CZKXXBD.js";
|
|
32
32
|
import "./chunk-OPXAP3AC.js";
|
|
33
33
|
import "./chunk-UM5S7DKK.js";
|
|
34
34
|
import "./chunk-H53QZQJI.js";
|
|
35
35
|
import "./chunk-DBQMX75U.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-RHML2NOB.js";
|
|
37
37
|
import "./chunk-TO57WYBB.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import
|
|
38
|
+
import "./chunk-ALVXORZM.js";
|
|
39
|
+
import {
|
|
40
|
+
assertConnectorId
|
|
41
|
+
} from "./chunk-2HCJV6UO.js";
|
|
40
42
|
|
|
41
43
|
// src/cli/commands/uninstall.ts
|
|
42
44
|
import { parseArgs } from "util";
|
|
@@ -79,6 +81,11 @@ async function run(argv) {
|
|
|
79
81
|
"could not determine connector id. Pass --connector-id <id>, --connector <path>, or run inside a project with an agent-connector config."
|
|
80
82
|
);
|
|
81
83
|
}
|
|
84
|
+
try {
|
|
85
|
+
assertConnectorId(connectorId);
|
|
86
|
+
} catch (err) {
|
|
87
|
+
return fail(err instanceof Error ? err.message : String(err));
|
|
88
|
+
}
|
|
82
89
|
const targets = parseTargets(values.targets);
|
|
83
90
|
const dryRun = values["dry-run"];
|
|
84
91
|
if (method === "marketplace") {
|
|
@@ -166,4 +173,4 @@ async function run(argv) {
|
|
|
166
173
|
export {
|
|
167
174
|
run
|
|
168
175
|
};
|
|
169
|
-
//# sourceMappingURL=uninstall-
|
|
176
|
+
//# sourceMappingURL=uninstall-MO3RGGVE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli/commands/uninstall.ts"],"sourcesContent":["/**\n * cli/commands/uninstall — strip a connector's registrations, method-aware.\n *\n * The connector id is taken from --connector-id, or inferred from the local\n * connector config (--connector <path> / findConnectorConfig).\n *\n * --method auto (default) reverses WHATEVER is actually there, per target:\n * targets with marketplace evidence (the state record, or the host's own plugin\n * state) get the HOST plugin uninstall; everything else gets the existing\n * direct adapter strip. Install chooses a method (a user decision); uninstall\n * reverses what exists (a state decision) — and since the double-install guard\n * enforces exactly one method per (connector, host, scope), auto is\n * unambiguous. Explicit --method direct|marketplace forces one path for every\n * target. Config removal vs plugin uninstall is therefore method-resolved:\n * never both, never neither.\n *\n * --purge additionally removes the framework-state this connector left behind:\n * its DATA-dir connector record (connectorDir(id)), the empty marketplace\n * staging root, and, when no connectors remain, the shared home-bin launcher.\n * Without --purge those linger so the connector can be re-synced without\n * re-registering.\n */\n\nimport { parseArgs } from \"node:util\";\n\nimport {\n purgeFrameworkState,\n resolveUninstallTargets,\n uninstallConnector,\n} from \"../../core/installer.js\";\nimport {\n marketplaceEvidence,\n parseUninstallMethod,\n uninstallViaMarketplace,\n} from \"../../core/marketplace.js\";\nimport { readMarketplaceInstalls } from \"../../core/marketplace-state.js\";\nimport { assertConnectorId } from \"../../core/ids.js\";\nimport { findConnectorConfig, loadConnectorFromPath } from \"../../core/load-connector.js\";\nimport type { InstallResult, PlatformId } from \"../../core/types.js\";\nimport { fail, parseScope, parseTargets, print, renderInstallResult } from \"../app.js\";\n\n/** Resolve the connector id from flags, then from a local config file. */\nasync function resolveConnectorId(\n explicitId: string | undefined,\n connectorPath: string | undefined,\n projectDir: string,\n): Promise<string | null> {\n if (explicitId && explicitId.trim() !== \"\") return explicitId;\n const configPath = connectorPath ?? findConnectorConfig(projectDir);\n if (!configPath) return null;\n const { connector } = await loadConnectorFromPath(configPath);\n return connector.id;\n}\n\nexport async function run(argv: string[]): Promise<number> {\n const { values } = parseArgs({\n args: argv,\n options: {\n method: { type: \"string\", default: \"auto\" },\n scope: { type: \"string\", default: \"user\" },\n targets: { type: \"string\" },\n connector: { type: \"string\" },\n \"connector-id\": { type: \"string\" },\n project: { type: \"string\" },\n \"dry-run\": { type: \"boolean\", default: false },\n purge: { type: \"boolean\", default: false },\n },\n allowPositionals: false,\n });\n\n const method = parseUninstallMethod(values.method);\n if (method == null) {\n return fail(`invalid --method \"${values.method}\" (use auto|direct|marketplace)`);\n }\n\n const projectDir = values.project ?? process.cwd();\n\n const scope = parseScope(values.scope);\n if (scope == null) return fail(`invalid --scope \"${values.scope}\" (use user|project)`);\n\n const connectorId = await resolveConnectorId(\n values[\"connector-id\"],\n values.connector,\n projectDir,\n );\n if (!connectorId) {\n return fail(\n \"could not determine connector id. Pass --connector-id <id>, \" +\n \"--connector <path>, or run inside a project with an agent-connector config.\",\n );\n }\n\n // Single choke-point: validate the id BEFORE any path is built or any delete\n // runs. Every branch below (explicit --method marketplace, --method auto, and\n // the direct strip) constructs record / staging-root paths from this id —\n // including the explicit --targets marketplace path, which reaches\n // driver.finishUninstall(id) → rmSync(join(stagingRoot, id)) without otherwise\n // routing the raw id through connectorDir's validation. Failing loud here closes\n // the `--connector-id ../../x` traversal window for ALL of them at once.\n try {\n assertConnectorId(connectorId);\n } catch (err) {\n return fail(err instanceof Error ? err.message : String(err));\n }\n\n const targets = parseTargets(values.targets);\n const dryRun = values[\"dry-run\"];\n\n // ── Explicit --method marketplace: every target goes to the marketplace path\n // (targets default to the recorded installs); framework purge runs here since\n // no direct pass follows.\n if (method === \"marketplace\") {\n const result = await uninstallViaMarketplace({\n connectorId,\n projectDir,\n dryRun,\n purge: values.purge,\n ...(targets ? { targets } : {}),\n });\n if (values.purge) purgeFrameworkState(connectorId, dryRun, result);\n print(renderInstallResult(result, \"uninstall\"));\n return result.changes.some((c) => c.action === \"warn\") ? 1 : 0;\n }\n\n // ── --method auto: partition the resolved targets by marketplace evidence.\n // (--method direct keeps every target on the adapter strip — today's path.)\n let marketplaceTargets: PlatformId[] = [];\n let directTargets: PlatformId[] = [];\n if (method === \"auto\") {\n const resolved = await resolveUninstallTargets(connectorId, targets, projectDir);\n // With no explicit --targets, recorded marketplace platforms are unioned\n // in: the state record IS the authority for what we installed, and host\n // detection can miss a host whose probe-able config dir was relocated.\n // An explicit --targets list is always respected as-is.\n const recorded = targets\n ? []\n : (Object.keys(readMarketplaceInstalls(connectorId)) as PlatformId[]);\n const candidates = [...new Set([...resolved, ...recorded])];\n marketplaceTargets = candidates.filter(\n (id) => marketplaceEvidence(connectorId, id) != null,\n );\n directTargets = resolved.filter((id) => !marketplaceTargets.includes(id));\n }\n\n // No marketplace evidence anywhere (or --method direct): exactly today's\n // single-orchestration path, byte-for-byte — zero behavior change for users\n // who never touched the marketplace method.\n if (marketplaceTargets.length === 0) {\n const result = await uninstallConnector({\n connectorId,\n scope,\n projectDir,\n dryRun,\n purge: values.purge,\n ...(targets ? { targets } : {}),\n });\n print(renderInstallResult(result, \"uninstall\"));\n return result.changes.some((c) => c.action === \"warn\") ? 1 : 0;\n }\n\n const results: InstallResult[] = [\n await uninstallViaMarketplace({\n connectorId,\n projectDir,\n targets: marketplaceTargets,\n dryRun,\n purge: values.purge,\n }),\n ];\n\n // The direct strip runs only for its partition (never both methods on one\n // target). When every target was marketplace-routed, --purge still runs the\n // framework purge (the marketplace records were just cleared, so it can\n // proceed to the connector record + home-bin).\n if (directTargets.length > 0) {\n results.push(\n await uninstallConnector({\n connectorId,\n scope,\n projectDir,\n dryRun,\n purge: values.purge,\n targets: directTargets,\n }),\n );\n } else if (values.purge) {\n const purgeResult: InstallResult = {\n connectorId,\n dryRun,\n changes: [],\n warnings: [],\n };\n if (dryRun) {\n // On a real run the marketplace records are removed BEFORE this purge;\n // calling purgeFrameworkState now would false-refuse on records that the\n // marketplace pass only PLANNED to remove. Report the plan instead.\n purgeResult.changes.push({\n platform: connectorId as PlatformId,\n action: \"remove\",\n detail:\n \"would purge framework state (connector record; home-bin when no connectors remain)\",\n });\n } else {\n purgeFrameworkState(connectorId, dryRun, purgeResult);\n }\n results.push(purgeResult);\n }\n\n const merged: InstallResult = {\n connectorId,\n dryRun,\n changes: results.flatMap((r) => r.changes),\n warnings: results.flatMap((r) => r.warnings),\n };\n print(renderInstallResult(merged, \"uninstall\"));\n return merged.changes.some((c) => c.action === \"warn\") ? 1 : 0;\n}\n"],"mappings":"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","names":[]}
|
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
resolveCliEntry,
|
|
5
5
|
syncConnector,
|
|
6
6
|
upgradeViaMarketplace
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-IZ4XQ23W.js";
|
|
8
|
+
import "./chunk-ZEFUDBTY.js";
|
|
9
|
+
import "./chunk-AXAHW2KU.js";
|
|
10
|
+
import "./chunk-ZSMGHEB5.js";
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
parseScope,
|
|
14
14
|
parseTargets,
|
|
15
15
|
print,
|
|
16
16
|
renderInstallResult
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NXR4HM5N.js";
|
|
18
18
|
import "./chunk-7QRUZAUG.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-GCRRX4MO.js";
|
|
20
20
|
import "./chunk-KHO5WNTP.js";
|
|
21
21
|
import {
|
|
22
22
|
findConnectorConfig,
|
|
23
23
|
loadConnectorFromPath
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-RQCBBLTA.js";
|
|
25
|
+
import "./chunk-UVBAH263.js";
|
|
26
|
+
import "./chunk-LS65GL2P.js";
|
|
27
|
+
import "./chunk-7CZKXXBD.js";
|
|
28
28
|
import "./chunk-OPXAP3AC.js";
|
|
29
29
|
import "./chunk-UM5S7DKK.js";
|
|
30
30
|
import "./chunk-H53QZQJI.js";
|
|
31
31
|
import "./chunk-DBQMX75U.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-RHML2NOB.js";
|
|
33
33
|
import "./chunk-TO57WYBB.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-ALVXORZM.js";
|
|
35
35
|
import {
|
|
36
36
|
ensureHomeBin,
|
|
37
37
|
homeBinPath
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2HCJV6UO.js";
|
|
39
39
|
|
|
40
40
|
// src/cli/commands/upgrade.ts
|
|
41
41
|
import { parseArgs } from "util";
|
|
@@ -127,4 +127,4 @@ Refreshed home binary pointer: ${binPath}`);
|
|
|
127
127
|
export {
|
|
128
128
|
run
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=upgrade-
|
|
130
|
+
//# sourceMappingURL=upgrade-6XIGSPGY.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
print
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NXR4HM5N.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/usage.ts
|
|
17
17
|
import { writeFileSync } from "fs";
|
|
@@ -321,4 +321,4 @@ export {
|
|
|
321
321
|
parseSince,
|
|
322
322
|
run
|
|
323
323
|
};
|
|
324
|
-
//# sourceMappingURL=usage-
|
|
324
|
+
//# sourceMappingURL=usage-IBN36ZVW.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CSRBMJLU.js";
|
|
5
5
|
import "./chunk-OP4KBXUO.js";
|
|
6
6
|
import "./chunk-7QRUZAUG.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-GCRRX4MO.js";
|
|
8
|
+
import "./chunk-E45SUUD7.js";
|
|
9
|
+
import "./chunk-D6ZJS4ND.js";
|
|
10
10
|
import "./chunk-KHO5WNTP.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-RQCBBLTA.js";
|
|
12
|
+
import "./chunk-UVBAH263.js";
|
|
13
|
+
import "./chunk-LS65GL2P.js";
|
|
14
|
+
import "./chunk-7CZKXXBD.js";
|
|
15
15
|
import "./chunk-TO57WYBB.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ALVXORZM.js";
|
|
17
|
+
import "./chunk-2HCJV6UO.js";
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/usage-event.ts
|
|
20
20
|
import { parseArgs } from "util";
|
|
@@ -50,4 +50,4 @@ async function run(argv) {
|
|
|
50
50
|
export {
|
|
51
51
|
run
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=usage-event-
|
|
53
|
+
//# sourceMappingURL=usage-event-4RJP37K6.js.map
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
BaseAdapter,
|
|
10
10
|
renderSkillMd,
|
|
11
11
|
renderSubagentMd
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RHML2NOB.js";
|
|
13
13
|
import {
|
|
14
14
|
buildHomeBinHookCommand,
|
|
15
15
|
buildWrappedStdio,
|
|
16
16
|
isHomeBinHookCommand
|
|
17
17
|
} from "./chunk-TO57WYBB.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ALVXORZM.js";
|
|
19
|
+
import "./chunk-2HCJV6UO.js";
|
|
20
20
|
|
|
21
21
|
// src/adapters/vscode-copilot/index.ts
|
|
22
|
-
import { existsSync
|
|
22
|
+
import { existsSync } from "fs";
|
|
23
23
|
import { homedir } from "os";
|
|
24
24
|
import { dirname, join } from "path";
|
|
25
25
|
var HOST = "vscode-copilot";
|
|
@@ -199,6 +199,8 @@ var VSCodeCopilotAdapter = class extends BaseAdapter {
|
|
|
199
199
|
return [{ platform: this.id, action: "skip", detail: "connector declares no hooks" }];
|
|
200
200
|
}
|
|
201
201
|
const hooksPath = this.getHookConfigPath(ctx);
|
|
202
|
+
const symlink = this.symlinkPathWarning(hooksPath);
|
|
203
|
+
if (symlink) return [symlink];
|
|
202
204
|
const file = this.readJson(hooksPath) ?? {};
|
|
203
205
|
const __skip = this.malformedHookRootSkip(hooksPath, file.hooks);
|
|
204
206
|
if (__skip) return [__skip];
|
|
@@ -256,6 +258,8 @@ var VSCodeCopilotAdapter = class extends BaseAdapter {
|
|
|
256
258
|
}
|
|
257
259
|
uninstallHooks(ctx) {
|
|
258
260
|
const hooksPath = this.getHookConfigPath(ctx);
|
|
261
|
+
const symlink = this.symlinkPathWarning(hooksPath);
|
|
262
|
+
if (symlink) return [symlink];
|
|
259
263
|
const file = this.readJson(hooksPath);
|
|
260
264
|
const hooks = file?.hooks;
|
|
261
265
|
if (!file || !hooks) {
|
|
@@ -290,13 +294,14 @@ var VSCodeCopilotAdapter = class extends BaseAdapter {
|
|
|
290
294
|
}
|
|
291
295
|
if (mutated) {
|
|
292
296
|
if (Object.keys(hooks).length === 0) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
changes.push(
|
|
298
|
+
this.removeManagedFile(
|
|
299
|
+
hooksPath,
|
|
300
|
+
ctx.dryRun,
|
|
301
|
+
"removed empty connector hooks file",
|
|
302
|
+
"no hooks file present"
|
|
303
|
+
)
|
|
304
|
+
);
|
|
300
305
|
changes.push(this.removeDirIfEmpty(dirname(hooksPath), ctx.dryRun));
|
|
301
306
|
} else {
|
|
302
307
|
this.writeJson(hooksPath, file, ctx.dryRun);
|
|
@@ -561,13 +566,12 @@ var VSCodeCopilotAdapter = class extends BaseAdapter {
|
|
|
561
566
|
return ev;
|
|
562
567
|
}
|
|
563
568
|
case "PostToolUse": {
|
|
564
|
-
const toolOutput = toolResponseToString(input.tool_response)
|
|
569
|
+
const toolOutput = toolResponseToString(input.tool_response);
|
|
565
570
|
const ev = {
|
|
566
571
|
...base,
|
|
567
572
|
toolName: input.tool_name ?? "",
|
|
568
573
|
toolInput: input.tool_input ?? {},
|
|
569
|
-
...toolOutput !== void 0 ? { toolOutput } : {}
|
|
570
|
-
...input.error_message ? { isError: true } : {}
|
|
574
|
+
...toolOutput !== void 0 ? { toolOutput } : {}
|
|
571
575
|
};
|
|
572
576
|
return ev;
|
|
573
577
|
}
|
|
@@ -633,8 +637,6 @@ var VSCodeCopilotAdapter = class extends BaseAdapter {
|
|
|
633
637
|
...base,
|
|
634
638
|
...typeof input.agent_id === "string" ? { agentId: input.agent_id } : {},
|
|
635
639
|
...typeof input.agent_type === "string" ? { agentType: input.agent_type } : {},
|
|
636
|
-
...typeof input.agent_transcript_path === "string" ? { agentTranscriptPath: input.agent_transcript_path } : {},
|
|
637
|
-
...typeof input.last_assistant_message === "string" ? { lastAssistantMessage: input.last_assistant_message } : {},
|
|
638
640
|
...typeof input.stop_hook_active === "boolean" ? { stopHookActive: input.stop_hook_active } : {}
|
|
639
641
|
};
|
|
640
642
|
return ev;
|
|
@@ -649,9 +651,14 @@ var VSCodeCopilotAdapter = class extends BaseAdapter {
|
|
|
649
651
|
}
|
|
650
652
|
}
|
|
651
653
|
}
|
|
652
|
-
/**
|
|
654
|
+
/**
|
|
655
|
+
* Resolve the project dir from the wire payload. PRIMARY SOURCE (docs "Common
|
|
656
|
+
* input fields"): the only working-directory field VS Code sends is `cwd`.
|
|
657
|
+
* There is no `workspace_roots` field, so the old `?? workspace_roots[0]`
|
|
658
|
+
* fallback read a host-nonexistent field and is removed.
|
|
659
|
+
*/
|
|
653
660
|
getProjectDir(input) {
|
|
654
|
-
return input.cwd
|
|
661
|
+
return typeof input.cwd === "string" ? input.cwd : void 0;
|
|
655
662
|
}
|
|
656
663
|
// ── Runtime: normalized response → VS Code Copilot native hook reply ──────
|
|
657
664
|
formatReply(event, response) {
|
|
@@ -737,4 +744,4 @@ export {
|
|
|
737
744
|
adapter,
|
|
738
745
|
vscode_copilot_default as default
|
|
739
746
|
};
|
|
740
|
-
//# sourceMappingURL=vscode-copilot-
|
|
747
|
+
//# sourceMappingURL=vscode-copilot-6FLDRTKV.js.map
|