@ken-jo/agent-connector 0.4.92 → 0.4.93
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 +44 -22
- package/dist/{action-CVIEPX4U.js → action-DOWHWEDZ.js} +9 -9
- package/dist/{amazon-q-TIT7FIW3.js → amazon-q-ETMAGY3D.js} +3 -3
- package/dist/{amp-NF3OAAUG.js → amp-67BZONGF.js} +3 -3
- package/dist/{antigravity-7LPK7QOY.js → antigravity-VXLDLTO7.js} +4 -4
- package/dist/{antigravity-cli-MDEMPPAH.js → antigravity-cli-OM6SC3PE.js} +4 -4
- package/dist/{chunk-7UT6OB52.js → chunk-2RIFORQS.js} +2 -2
- package/dist/{chunk-JFXL4HYA.js → chunk-6WZODR3Z.js} +2 -2
- package/dist/{chunk-IBLYVAWH.js → chunk-B5W3RHTI.js} +48 -20
- package/dist/{chunk-IBLYVAWH.js.map → chunk-B5W3RHTI.js.map} +1 -1
- package/dist/{chunk-447JWFZO.js → chunk-EHP7WISI.js} +5 -5
- package/dist/{chunk-FBCBHEGB.js → chunk-I5TO42QC.js} +3 -3
- package/dist/{chunk-3C5AASHM.js → chunk-JKKU2WKG.js} +2 -2
- package/dist/{chunk-AY3VFNOH.js → chunk-KJLFGQQM.js} +178 -8
- package/dist/chunk-KJLFGQQM.js.map +1 -0
- package/dist/{chunk-JVO6NBTT.js → chunk-KSPMSRVU.js} +26 -14
- package/dist/chunk-KSPMSRVU.js.map +1 -0
- package/dist/{chunk-WFEHWTLM.js → chunk-MGTDQLJJ.js} +2 -2
- package/dist/{chunk-5Z36KVU2.js → chunk-OEADFFKO.js} +18 -18
- package/dist/{chunk-L26PSQTY.js → chunk-P23RVIUY.js} +4 -4
- package/dist/{chunk-KA55FISM.js → chunk-SILKSP2Y.js} +43 -43
- package/dist/{chunk-JO2IM2JL.js → chunk-TTKSYJRY.js} +6 -6
- package/dist/{chunk-M2H7JURF.js → chunk-UMQ6NBQR.js} +2 -2
- package/dist/chunk-UMQ6NBQR.js.map +1 -0
- package/dist/{chunk-DI5S6TXJ.js → chunk-XC5SJ35F.js} +2 -2
- package/dist/{chunk-FO5CEXXN.js → chunk-ZMAJ2XFD.js} +2 -2
- package/dist/{claude-code-7RS4YVGZ.js → claude-code-DUZNOAS2.js} +6 -6
- package/dist/cli/sdk.js +5 -5
- package/dist/cli.js +1 -1
- package/dist/{cline-BZQAUYPC.js → cline-25KW25IN.js} +3 -3
- package/dist/{codebuddy-G42IKGKB.js → codebuddy-ZNYQACMF.js} +3 -3
- package/dist/{codebuff-5RLTLZAU.js → codebuff-VR6JUDIY.js} +3 -3
- package/dist/{codex-XHAMJILX.js → codex-CPNKTXG3.js} +3 -3
- package/dist/{continue-JLIB7R7X.js → continue-WU2IB5KS.js} +3 -3
- package/dist/{copilot-cli-XZSUYNQZ.js → copilot-cli-PAP377OM.js} +3 -3
- package/dist/{crush-ESERLVLT.js → crush-3AVQA4YU.js} +3 -3
- package/dist/{cursor-FUDOV5VK.js → cursor-GSLUET3V.js} +4 -4
- package/dist/define-connector-LQFJL_at.d.ts +89 -0
- package/dist/{detect-Z5BDTY6B.js → detect-DYQNUMXL.js} +4 -4
- package/dist/{devin-Y7PWKVHY.js → devin-QMEM3OFA.js} +3 -3
- package/dist/{doctor-GAP27PP2.js → doctor-H6XXAR63.js} +14 -14
- package/dist/{droid-DTO5POTK.js → droid-MOKV53J4.js} +3 -3
- package/dist/{gemini-cli-RBIG6U2F.js → gemini-cli-47ZHCOZR.js} +3 -3
- package/dist/{goose-VGNOP5J2.js → goose-4EI5MYTI.js} +3 -3
- package/dist/{grok-cli-2RFBK6J3.js → grok-cli-QYQPDSVB.js} +3 -3
- package/dist/{hermes-NUKFWZI5.js → hermes-F75OSK3Y.js} +3 -3
- package/dist/{hook-XPR3AHDI.js → hook-GIQTUDMN.js} +9 -9
- package/dist/index.d.ts +15 -88
- package/dist/index.js +13 -5
- package/dist/{install-O32TDIZP.js → install-T27662FW.js} +11 -11
- package/dist/{introspect-BkId4LGP.d.ts → introspect-D4fEGuhN.d.ts} +1 -1
- package/dist/{jetbrains-copilot-FXZ5AOTS.js → jetbrains-copilot-ZGIWI6YV.js} +3 -3
- package/dist/{junie-TSXIZSCE.js → junie-DIFN2P22.js} +3 -3
- package/dist/{kilo-JLH3KVZJ.js → kilo-EMZJBEBB.js} +3 -3
- package/dist/{kilo-cli-5W36VJQZ.js → kilo-cli-S3GXBPAE.js} +3 -3
- package/dist/{kimi-R62W7HKZ.js → kimi-IQJOIY6B.js} +3 -3
- package/dist/{kiro-AUJMGIBL.js → kiro-BYX4HEAJ.js} +3 -3
- package/dist/{leaderboard-YWMOSJBC.js → leaderboard-CIMQBOUS.js} +2 -2
- package/dist/{mimo-code-PGLFFVER.js → mimo-code-7R53QDHB.js} +3 -3
- package/dist/{mistral-vibe-36CZVQNQ.js → mistral-vibe-LHJ55FSB.js} +3 -3
- package/dist/{mux-HWL4N5KH.js → mux-NYCNGL43.js} +3 -3
- package/dist/{nemoclaw-QPHETUXM.js → nemoclaw-WSIPSE7U.js} +4 -4
- package/dist/{omp-3TFMTJ5U.js → omp-562NK5BJ.js} +3 -3
- package/dist/{open-interpreter-UTBKE2EH.js → open-interpreter-I2CNOEXY.js} +3 -3
- package/dist/{openclaw-RYFO5TLY.js → openclaw-7EYBQS4R.js} +4 -4
- package/dist/{opencode-JX7GBE5Q.js → opencode-YS4WX2E2.js} +3 -3
- package/dist/{openhands-AZW4PXJ3.js → openhands-QMYIKNOS.js} +3 -3
- package/dist/{package-2KKUGZFS.js → package-LIPZKHAQ.js} +9 -9
- package/dist/{pi-MRI3EBWU.js → pi-644FIN3A.js} +3 -3
- package/dist/{qwen-code-ISR6BEET.js → qwen-code-STDMX7EM.js} +3 -3
- package/dist/{roo-code-6TSCME4R.js → roo-code-DLPIHHQ6.js} +3 -3
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +7 -7
- package/dist/sdk/index.d.ts +4 -4
- package/dist/sdk/index.js +4 -4
- package/dist/sdk/test.d.ts +2 -2
- package/dist/sdk/test.js +7 -7
- package/dist/{serve-EPRN7F2X.js → serve-ABTO2NA2.js} +9 -9
- package/dist/{status-B2PG6YKR.js → status-J7SOUH7O.js} +7 -7
- package/dist/{statusline-5ERFMYSM.js → statusline-QF4G724E.js} +8 -8
- package/dist/{telemetry-ZMCAWBWB.js → telemetry-EICCFEIF.js} +6 -6
- package/dist/{trae-7KDCYIMN.js → trae-UOYD6JZZ.js} +3 -3
- package/dist/{types-D0RqWxT8.d.ts → types-BhcUEIJJ.d.ts} +39 -3
- package/dist/{uninstall-M76BHLTH.js → uninstall-NJNNZZZY.js} +11 -11
- package/dist/{upgrade-JLSCNAQA.js → upgrade-TIBUOQNM.js} +11 -11
- package/dist/{usage-5I72HWCR.js → usage-VEVBWPLS.js} +2 -2
- package/dist/{usage-event-HIX4ZI45.js → usage-event-GRQE7XWT.js} +8 -8
- package/dist/{vscode-copilot-LILHAPJI.js → vscode-copilot-NIMH2DGU.js} +3 -3
- package/dist/{warp-KJUCWEA3.js → warp-QYJGKURM.js} +3 -3
- package/dist/{windsurf-5TGGQR5I.js → windsurf-75LLZ37C.js} +3 -3
- package/dist/{zed-EL3JCZ25.js → zed-HKAZXEJW.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-AY3VFNOH.js.map +0 -1
- package/dist/chunk-JVO6NBTT.js.map +0 -1
- package/dist/chunk-M2H7JURF.js.map +0 -1
- /package/dist/{action-CVIEPX4U.js.map → action-DOWHWEDZ.js.map} +0 -0
- /package/dist/{amazon-q-TIT7FIW3.js.map → amazon-q-ETMAGY3D.js.map} +0 -0
- /package/dist/{amp-NF3OAAUG.js.map → amp-67BZONGF.js.map} +0 -0
- /package/dist/{antigravity-7LPK7QOY.js.map → antigravity-VXLDLTO7.js.map} +0 -0
- /package/dist/{antigravity-cli-MDEMPPAH.js.map → antigravity-cli-OM6SC3PE.js.map} +0 -0
- /package/dist/{chunk-7UT6OB52.js.map → chunk-2RIFORQS.js.map} +0 -0
- /package/dist/{chunk-JFXL4HYA.js.map → chunk-6WZODR3Z.js.map} +0 -0
- /package/dist/{chunk-447JWFZO.js.map → chunk-EHP7WISI.js.map} +0 -0
- /package/dist/{chunk-FBCBHEGB.js.map → chunk-I5TO42QC.js.map} +0 -0
- /package/dist/{chunk-3C5AASHM.js.map → chunk-JKKU2WKG.js.map} +0 -0
- /package/dist/{chunk-WFEHWTLM.js.map → chunk-MGTDQLJJ.js.map} +0 -0
- /package/dist/{chunk-5Z36KVU2.js.map → chunk-OEADFFKO.js.map} +0 -0
- /package/dist/{chunk-L26PSQTY.js.map → chunk-P23RVIUY.js.map} +0 -0
- /package/dist/{chunk-KA55FISM.js.map → chunk-SILKSP2Y.js.map} +0 -0
- /package/dist/{chunk-JO2IM2JL.js.map → chunk-TTKSYJRY.js.map} +0 -0
- /package/dist/{chunk-DI5S6TXJ.js.map → chunk-XC5SJ35F.js.map} +0 -0
- /package/dist/{chunk-FO5CEXXN.js.map → chunk-ZMAJ2XFD.js.map} +0 -0
- /package/dist/{claude-code-7RS4YVGZ.js.map → claude-code-DUZNOAS2.js.map} +0 -0
- /package/dist/{cline-BZQAUYPC.js.map → cline-25KW25IN.js.map} +0 -0
- /package/dist/{codebuddy-G42IKGKB.js.map → codebuddy-ZNYQACMF.js.map} +0 -0
- /package/dist/{codebuff-5RLTLZAU.js.map → codebuff-VR6JUDIY.js.map} +0 -0
- /package/dist/{codex-XHAMJILX.js.map → codex-CPNKTXG3.js.map} +0 -0
- /package/dist/{continue-JLIB7R7X.js.map → continue-WU2IB5KS.js.map} +0 -0
- /package/dist/{copilot-cli-XZSUYNQZ.js.map → copilot-cli-PAP377OM.js.map} +0 -0
- /package/dist/{crush-ESERLVLT.js.map → crush-3AVQA4YU.js.map} +0 -0
- /package/dist/{cursor-FUDOV5VK.js.map → cursor-GSLUET3V.js.map} +0 -0
- /package/dist/{detect-Z5BDTY6B.js.map → detect-DYQNUMXL.js.map} +0 -0
- /package/dist/{devin-Y7PWKVHY.js.map → devin-QMEM3OFA.js.map} +0 -0
- /package/dist/{doctor-GAP27PP2.js.map → doctor-H6XXAR63.js.map} +0 -0
- /package/dist/{droid-DTO5POTK.js.map → droid-MOKV53J4.js.map} +0 -0
- /package/dist/{gemini-cli-RBIG6U2F.js.map → gemini-cli-47ZHCOZR.js.map} +0 -0
- /package/dist/{goose-VGNOP5J2.js.map → goose-4EI5MYTI.js.map} +0 -0
- /package/dist/{grok-cli-2RFBK6J3.js.map → grok-cli-QYQPDSVB.js.map} +0 -0
- /package/dist/{hermes-NUKFWZI5.js.map → hermes-F75OSK3Y.js.map} +0 -0
- /package/dist/{hook-XPR3AHDI.js.map → hook-GIQTUDMN.js.map} +0 -0
- /package/dist/{install-O32TDIZP.js.map → install-T27662FW.js.map} +0 -0
- /package/dist/{jetbrains-copilot-FXZ5AOTS.js.map → jetbrains-copilot-ZGIWI6YV.js.map} +0 -0
- /package/dist/{junie-TSXIZSCE.js.map → junie-DIFN2P22.js.map} +0 -0
- /package/dist/{kilo-JLH3KVZJ.js.map → kilo-EMZJBEBB.js.map} +0 -0
- /package/dist/{kilo-cli-5W36VJQZ.js.map → kilo-cli-S3GXBPAE.js.map} +0 -0
- /package/dist/{kimi-R62W7HKZ.js.map → kimi-IQJOIY6B.js.map} +0 -0
- /package/dist/{kiro-AUJMGIBL.js.map → kiro-BYX4HEAJ.js.map} +0 -0
- /package/dist/{leaderboard-YWMOSJBC.js.map → leaderboard-CIMQBOUS.js.map} +0 -0
- /package/dist/{mimo-code-PGLFFVER.js.map → mimo-code-7R53QDHB.js.map} +0 -0
- /package/dist/{mistral-vibe-36CZVQNQ.js.map → mistral-vibe-LHJ55FSB.js.map} +0 -0
- /package/dist/{mux-HWL4N5KH.js.map → mux-NYCNGL43.js.map} +0 -0
- /package/dist/{nemoclaw-QPHETUXM.js.map → nemoclaw-WSIPSE7U.js.map} +0 -0
- /package/dist/{omp-3TFMTJ5U.js.map → omp-562NK5BJ.js.map} +0 -0
- /package/dist/{open-interpreter-UTBKE2EH.js.map → open-interpreter-I2CNOEXY.js.map} +0 -0
- /package/dist/{openclaw-RYFO5TLY.js.map → openclaw-7EYBQS4R.js.map} +0 -0
- /package/dist/{opencode-JX7GBE5Q.js.map → opencode-YS4WX2E2.js.map} +0 -0
- /package/dist/{openhands-AZW4PXJ3.js.map → openhands-QMYIKNOS.js.map} +0 -0
- /package/dist/{package-2KKUGZFS.js.map → package-LIPZKHAQ.js.map} +0 -0
- /package/dist/{pi-MRI3EBWU.js.map → pi-644FIN3A.js.map} +0 -0
- /package/dist/{qwen-code-ISR6BEET.js.map → qwen-code-STDMX7EM.js.map} +0 -0
- /package/dist/{roo-code-6TSCME4R.js.map → roo-code-DLPIHHQ6.js.map} +0 -0
- /package/dist/{serve-EPRN7F2X.js.map → serve-ABTO2NA2.js.map} +0 -0
- /package/dist/{status-B2PG6YKR.js.map → status-J7SOUH7O.js.map} +0 -0
- /package/dist/{statusline-5ERFMYSM.js.map → statusline-QF4G724E.js.map} +0 -0
- /package/dist/{telemetry-ZMCAWBWB.js.map → telemetry-EICCFEIF.js.map} +0 -0
- /package/dist/{trae-7KDCYIMN.js.map → trae-UOYD6JZZ.js.map} +0 -0
- /package/dist/{uninstall-M76BHLTH.js.map → uninstall-NJNNZZZY.js.map} +0 -0
- /package/dist/{upgrade-JLSCNAQA.js.map → upgrade-TIBUOQNM.js.map} +0 -0
- /package/dist/{usage-5I72HWCR.js.map → usage-VEVBWPLS.js.map} +0 -0
- /package/dist/{usage-event-HIX4ZI45.js.map → usage-event-GRQE7XWT.js.map} +0 -0
- /package/dist/{vscode-copilot-LILHAPJI.js.map → vscode-copilot-NIMH2DGU.js.map} +0 -0
- /package/dist/{warp-KJUCWEA3.js.map → warp-QYJGKURM.js.map} +0 -0
- /package/dist/{windsurf-5TGGQR5I.js.map → windsurf-75LLZ37C.js.map} +0 -0
- /package/dist/{zed-EL3JCZ25.js.map → zed-HKAZXEJW.js.map} +0 -0
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./chunk-BEFVJ2OE.js";
|
|
14
14
|
import {
|
|
15
15
|
BaseAdapter
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
17
17
|
import {
|
|
18
18
|
buildHomeBinHookCommand,
|
|
19
19
|
buildWrappedStdio,
|
|
20
20
|
isHomeBinHookCommand
|
|
21
21
|
} from "./chunk-4NHXLXSD.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-UMQ6NBQR.js";
|
|
23
23
|
import "./chunk-GZGLCCEE.js";
|
|
24
24
|
|
|
25
25
|
// src/adapters/continue/index.ts
|
|
@@ -769,4 +769,4 @@ export {
|
|
|
769
769
|
adapter,
|
|
770
770
|
continue_default as default
|
|
771
771
|
};
|
|
772
|
-
//# sourceMappingURL=continue-
|
|
772
|
+
//# sourceMappingURL=continue-WU2IB5KS.js.map
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
BaseAdapter,
|
|
10
10
|
renderSkillMd,
|
|
11
11
|
renderSubagentMd
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
13
13
|
import {
|
|
14
14
|
buildHomeBinHookCommand,
|
|
15
15
|
buildWrappedStdio,
|
|
16
16
|
isHomeBinHookCommand
|
|
17
17
|
} from "./chunk-4NHXLXSD.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-UMQ6NBQR.js";
|
|
19
19
|
import "./chunk-GZGLCCEE.js";
|
|
20
20
|
|
|
21
21
|
// src/adapters/copilot-cli/index.ts
|
|
@@ -819,4 +819,4 @@ export {
|
|
|
819
819
|
adapter,
|
|
820
820
|
copilot_cli_default as default
|
|
821
821
|
};
|
|
822
|
-
//# sourceMappingURL=copilot-cli-
|
|
822
|
+
//# sourceMappingURL=copilot-cli-PAP377OM.js.map
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
BaseAdapter,
|
|
11
11
|
renderSkillMd
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
13
13
|
import {
|
|
14
14
|
buildHomeBinHookCommand,
|
|
15
15
|
buildWrappedStdio,
|
|
16
16
|
isHomeBinHookCommand
|
|
17
17
|
} from "./chunk-4NHXLXSD.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-UMQ6NBQR.js";
|
|
19
19
|
import "./chunk-GZGLCCEE.js";
|
|
20
20
|
|
|
21
21
|
// src/adapters/crush/index.ts
|
|
@@ -495,4 +495,4 @@ export {
|
|
|
495
495
|
adapter,
|
|
496
496
|
crush_default as default
|
|
497
497
|
};
|
|
498
|
-
//# sourceMappingURL=crush-
|
|
498
|
+
//# sourceMappingURL=crush-3AVQA4YU.js.map
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
CursorAdapter,
|
|
6
6
|
adapter,
|
|
7
7
|
cursor_default
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6WZODR3Z.js";
|
|
9
9
|
import "./chunk-H53QZQJI.js";
|
|
10
10
|
import "./chunk-BEFVJ2OE.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MGTDQLJJ.js";
|
|
12
12
|
import "./chunk-4NHXLXSD.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-UMQ6NBQR.js";
|
|
14
14
|
import "./chunk-GZGLCCEE.js";
|
|
15
15
|
export {
|
|
16
16
|
CURSOR_EVENT_MAP,
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
adapter,
|
|
20
20
|
cursor_default as default
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=cursor-
|
|
22
|
+
//# sourceMappingURL=cursor-GSLUET3V.js.map
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { A as ActionDef, Q as CommandDef, V as ConfigPatchDef, c as ConnectorConfig, v as ResolvedConnector, e as HookEventName, H as HookDefinition, k as MemoryDef, N as NativeHookDef, Y as SkillDef, z as StatuslineDef, Z as SubagentDef } from './types-BhcUEIJJ.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* core/define-connector — the public write-once entry point.
|
|
5
|
+
*
|
|
6
|
+
* Validates a ConnectorConfig and normalizes it into a ResolvedConnector with
|
|
7
|
+
* every optional field resolved to a default. Validation is intentionally
|
|
8
|
+
* dependency-free (no zod) to keep the single-binary install lean.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** Thrown on an invalid connector configuration. */
|
|
12
|
+
declare class ConnectorConfigError extends Error {
|
|
13
|
+
constructor(message: string);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Validate + normalize a connector definition.
|
|
17
|
+
* Returns a ResolvedConnector that adapters and the CLI consume directly.
|
|
18
|
+
*/
|
|
19
|
+
declare function defineConnector(config: ConnectorConfig): ResolvedConnector;
|
|
20
|
+
/**
|
|
21
|
+
* Typed identity helper for authoring a status line in its own module:
|
|
22
|
+
* export const myStatusline = defineStatusline({ render: (ctx) => "…" });
|
|
23
|
+
* Mirrors the (informal) defineX helpers; gives the developer full type
|
|
24
|
+
* inference on {@link StatuslineContext} without importing the type by hand.
|
|
25
|
+
*/
|
|
26
|
+
declare const defineStatusline: (def: StatuslineDef) => StatuslineDef;
|
|
27
|
+
/**
|
|
28
|
+
* Typed identity helper for authoring ONE normalized lifecycle hook in its own
|
|
29
|
+
* module, EVENT-PARAMETERIZED so the handler's payload narrows to that event:
|
|
30
|
+
*
|
|
31
|
+
* export const onPre = defineHook("PreToolUse", {
|
|
32
|
+
* handler(evt) { evt.toolName // ← typed as a PreToolUseEvent, not the union
|
|
33
|
+
* return { decision: "deny", reason: "no" };
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
*
|
|
37
|
+
* The leading `event` argument exists ONLY to infer `E`; the def is returned
|
|
38
|
+
* unchanged (identity — validation still happens in defineConnector). Passing
|
|
39
|
+
* `HookDefinition` without an event would widen the handler param to the full
|
|
40
|
+
* {@link HookEventName} union and lose per-event narrowing, so the event tag is
|
|
41
|
+
* required.
|
|
42
|
+
*/
|
|
43
|
+
declare const defineHook: <E extends HookEventName>(event: E, def: HookDefinition<E>) => HookDefinition<E>;
|
|
44
|
+
/**
|
|
45
|
+
* Typed identity helper for authoring a slash {@link CommandDef} in its own
|
|
46
|
+
* module. Returns the def unchanged (kebab-case name + prompt are validated by
|
|
47
|
+
* defineConnector when the connector is assembled).
|
|
48
|
+
*/
|
|
49
|
+
declare const defineCommand: (def: CommandDef) => CommandDef;
|
|
50
|
+
/**
|
|
51
|
+
* Typed identity helper for authoring an Agent {@link SkillDef} in its own
|
|
52
|
+
* module. Returns the def unchanged (name/description/body + safe resource keys
|
|
53
|
+
* are validated by defineConnector).
|
|
54
|
+
*/
|
|
55
|
+
declare const defineSkill: (def: SkillDef) => SkillDef;
|
|
56
|
+
/**
|
|
57
|
+
* Typed identity helper for authoring a {@link SubagentDef} in its own module.
|
|
58
|
+
* Returns the def unchanged (name/description/prompt validated by defineConnector).
|
|
59
|
+
*/
|
|
60
|
+
declare const defineSubagent: (def: SubagentDef) => SubagentDef;
|
|
61
|
+
/**
|
|
62
|
+
* Typed identity helper for authoring a {@link MemoryDef} (standing-guidance
|
|
63
|
+
* managed block) in its own module. Returns the def unchanged (name/content +
|
|
64
|
+
* byte budget + marker-token guard validated by defineConnector).
|
|
65
|
+
*/
|
|
66
|
+
declare const defineMemory: (def: MemoryDef) => MemoryDef;
|
|
67
|
+
/**
|
|
68
|
+
* Typed identity helper for authoring a user-invokable {@link ActionDef} in its
|
|
69
|
+
* own module. Returns the def unchanged (kebab-case unique id + run-is-function
|
|
70
|
+
* + the per-host hosts map validated by defineConnector when the connector is
|
|
71
|
+
* assembled).
|
|
72
|
+
*/
|
|
73
|
+
declare const defineAction: (def: ActionDef) => ActionDef;
|
|
74
|
+
/**
|
|
75
|
+
* Typed identity helper for authoring a declarative {@link ConfigPatchDef}
|
|
76
|
+
* (set-if-absent host-config key patch) in its own module. Returns the def
|
|
77
|
+
* unchanged (leaf-path grammar + namespace guard + required reason validated by
|
|
78
|
+
* defineConnector when it appears under `platforms[<id>].configPatch`).
|
|
79
|
+
*/
|
|
80
|
+
declare const defineConfigPatch: (def: ConfigPatchDef) => ConfigPatchDef;
|
|
81
|
+
/**
|
|
82
|
+
* Typed identity helper for authoring a {@link NativeHookDef} (host-native
|
|
83
|
+
* passthrough hook) in its own module. Returns the def unchanged (event-name
|
|
84
|
+
* collision + handler-is-function validated by defineConnector when it appears
|
|
85
|
+
* under `platforms[<id>].nativeHooks`).
|
|
86
|
+
*/
|
|
87
|
+
declare const defineNativeHook: (def: NativeHookDef) => NativeHookDef;
|
|
88
|
+
|
|
89
|
+
export { ConnectorConfigError as C, defineCommand as a, defineConfigPatch as b, defineConnector as c, defineAction as d, defineHook as e, defineMemory as f, defineNativeHook as g, defineSkill as h, defineStatusline as i, defineSubagent as j };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
print
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OEADFFKO.js";
|
|
5
5
|
import {
|
|
6
6
|
detectInstalledPlatforms
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-ZMAJ2XFD.js";
|
|
8
|
+
import "./chunk-SILKSP2Y.js";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/detect.ts
|
|
11
11
|
import { parseArgs } from "util";
|
|
@@ -71,4 +71,4 @@ async function run(argv) {
|
|
|
71
71
|
export {
|
|
72
72
|
run
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=detect-
|
|
74
|
+
//# sourceMappingURL=detect-DYQNUMXL.js.map
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
} from "./chunk-BEFVJ2OE.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseAdapter
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
11
11
|
import {
|
|
12
12
|
buildWrappedStdio,
|
|
13
13
|
isHomeBinHookCommand
|
|
14
14
|
} from "./chunk-4NHXLXSD.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-UMQ6NBQR.js";
|
|
16
16
|
import "./chunk-GZGLCCEE.js";
|
|
17
17
|
|
|
18
18
|
// src/adapters/devin/index.ts
|
|
@@ -507,4 +507,4 @@ export {
|
|
|
507
507
|
adapter,
|
|
508
508
|
devin_default as default
|
|
509
509
|
};
|
|
510
|
-
//# sourceMappingURL=devin-
|
|
510
|
+
//# sourceMappingURL=devin-QMEM3OFA.js.map
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
marketplaceDoctorChecks,
|
|
4
4
|
syncConnector
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-TTKSYJRY.js";
|
|
6
|
+
import "./chunk-B5W3RHTI.js";
|
|
7
7
|
import {
|
|
8
8
|
readMarketplaceInstalls
|
|
9
9
|
} from "./chunk-2Y2MZRLP.js";
|
|
10
10
|
import "./chunk-UM5S7DKK.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-6WZODR3Z.js";
|
|
12
12
|
import "./chunk-OPXAP3AC.js";
|
|
13
13
|
import {
|
|
14
14
|
fail,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseScope,
|
|
17
17
|
parseTargets,
|
|
18
18
|
print
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OEADFFKO.js";
|
|
20
20
|
import {
|
|
21
21
|
LineBuffer,
|
|
22
22
|
idKey,
|
|
@@ -27,33 +27,33 @@ import {
|
|
|
27
27
|
} from "./chunk-Z2MRSS2I.js";
|
|
28
28
|
import {
|
|
29
29
|
detectInstalledPlatforms
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZMAJ2XFD.js";
|
|
31
31
|
import {
|
|
32
32
|
explainHooks
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-P23RVIUY.js";
|
|
34
|
+
import "./chunk-I5TO42QC.js";
|
|
35
35
|
import "./chunk-KHO5WNTP.js";
|
|
36
36
|
import "./chunk-IVAWP6HH.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-2RIFORQS.js";
|
|
38
38
|
import {
|
|
39
39
|
findConnectorConfig,
|
|
40
40
|
listRegisteredConnectors,
|
|
41
41
|
loadConnectorFromPath,
|
|
42
42
|
readRegisteredMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KSPMSRVU.js";
|
|
44
44
|
import {
|
|
45
45
|
MCP_PROTOCOL_VERSION
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-KJLFGQQM.js";
|
|
47
47
|
import {
|
|
48
48
|
REGISTERED_PLATFORM_IDS,
|
|
49
49
|
loadAdapter
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-SILKSP2Y.js";
|
|
51
51
|
import "./chunk-NBYKLUF6.js";
|
|
52
52
|
import "./chunk-H53QZQJI.js";
|
|
53
53
|
import "./chunk-BEFVJ2OE.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-MGTDQLJJ.js";
|
|
55
55
|
import "./chunk-4NHXLXSD.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-UMQ6NBQR.js";
|
|
57
57
|
import {
|
|
58
58
|
dataRoot,
|
|
59
59
|
homeBinPath
|
|
@@ -627,4 +627,4 @@ async function run(argv) {
|
|
|
627
627
|
export {
|
|
628
628
|
run
|
|
629
629
|
};
|
|
630
|
-
//# sourceMappingURL=doctor-
|
|
630
|
+
//# sourceMappingURL=doctor-H6XXAR63.js.map
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BaseAdapter,
|
|
10
10
|
renderCommandMd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
12
12
|
import {
|
|
13
13
|
buildWrappedStdio,
|
|
14
14
|
isHomeBinHookCommand
|
|
15
15
|
} from "./chunk-4NHXLXSD.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-UMQ6NBQR.js";
|
|
17
17
|
import "./chunk-GZGLCCEE.js";
|
|
18
18
|
|
|
19
19
|
// src/adapters/droid/index.ts
|
|
@@ -649,4 +649,4 @@ export {
|
|
|
649
649
|
adapter,
|
|
650
650
|
droid_default as default
|
|
651
651
|
};
|
|
652
|
-
//# sourceMappingURL=droid-
|
|
652
|
+
//# sourceMappingURL=droid-MOKV53J4.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
BaseAdapter,
|
|
13
13
|
renderSkillMd,
|
|
14
14
|
renderSubagentMd
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
16
16
|
import {
|
|
17
17
|
buildHomeBinHookCommand,
|
|
18
18
|
buildUsageEventCommand,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isHostNativeUsageEnabled,
|
|
22
22
|
isUsageEventCommand
|
|
23
23
|
} from "./chunk-4NHXLXSD.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-UMQ6NBQR.js";
|
|
25
25
|
import "./chunk-GZGLCCEE.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/gemini-cli/index.ts
|
|
@@ -770,4 +770,4 @@ export {
|
|
|
770
770
|
adapter,
|
|
771
771
|
gemini_cli_default as default
|
|
772
772
|
};
|
|
773
|
-
//# sourceMappingURL=gemini-cli-
|
|
773
|
+
//# sourceMappingURL=gemini-cli-47ZHCOZR.js.map
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
removeFromObjectMap,
|
|
18
18
|
renderSkillMd,
|
|
19
19
|
upsertInObjectMap
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
21
21
|
import {
|
|
22
22
|
buildWrappedStdio,
|
|
23
23
|
isHomeBinHookCommand
|
|
24
24
|
} from "./chunk-4NHXLXSD.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-UMQ6NBQR.js";
|
|
26
26
|
import "./chunk-GZGLCCEE.js";
|
|
27
27
|
|
|
28
28
|
// src/adapters/goose/index.ts
|
|
@@ -603,4 +603,4 @@ export {
|
|
|
603
603
|
adapter,
|
|
604
604
|
goose_default as default
|
|
605
605
|
};
|
|
606
|
-
//# sourceMappingURL=goose-
|
|
606
|
+
//# sourceMappingURL=goose-4EI5MYTI.js.map
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
} from "./chunk-BEFVJ2OE.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseAdapter
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
11
11
|
import {
|
|
12
12
|
buildWrappedStdio,
|
|
13
13
|
isHomeBinHookCommand
|
|
14
14
|
} from "./chunk-4NHXLXSD.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-UMQ6NBQR.js";
|
|
16
16
|
import "./chunk-GZGLCCEE.js";
|
|
17
17
|
|
|
18
18
|
// src/adapters/grok-cli/index.ts
|
|
@@ -479,4 +479,4 @@ export {
|
|
|
479
479
|
adapter,
|
|
480
480
|
grok_cli_default as default
|
|
481
481
|
};
|
|
482
|
-
//# sourceMappingURL=grok-cli-
|
|
482
|
+
//# sourceMappingURL=grok-cli-QYQPDSVB.js.map
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
removeFromObjectMap,
|
|
13
13
|
renderSkillMd,
|
|
14
14
|
upsertInObjectMap
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MGTDQLJJ.js";
|
|
16
16
|
import {
|
|
17
17
|
buildHomeBinHookCommand,
|
|
18
18
|
buildWrappedStdio,
|
|
19
19
|
isHomeBinActionCommand,
|
|
20
20
|
isHomeBinHookCommand
|
|
21
21
|
} from "./chunk-4NHXLXSD.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-UMQ6NBQR.js";
|
|
23
23
|
import "./chunk-GZGLCCEE.js";
|
|
24
24
|
|
|
25
25
|
// src/adapters/hermes/index.ts
|
|
@@ -836,4 +836,4 @@ export {
|
|
|
836
836
|
adapter,
|
|
837
837
|
hermes_default as default
|
|
838
838
|
};
|
|
839
|
-
//# sourceMappingURL=hermes-
|
|
839
|
+
//# sourceMappingURL=hermes-F75OSK3Y.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fail
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-OEADFFKO.js";
|
|
5
|
+
import "./chunk-EHP7WISI.js";
|
|
6
6
|
import "./chunk-OP4KBXUO.js";
|
|
7
7
|
import "./chunk-Z2MRSS2I.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ZMAJ2XFD.js";
|
|
9
9
|
import {
|
|
10
10
|
isNativeHookDeclared,
|
|
11
11
|
runHook,
|
|
12
12
|
runNativeHook
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I5TO42QC.js";
|
|
14
14
|
import "./chunk-KHO5WNTP.js";
|
|
15
15
|
import "./chunk-IVAWP6HH.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-KSPMSRVU.js";
|
|
17
|
+
import "./chunk-KJLFGQQM.js";
|
|
18
|
+
import "./chunk-SILKSP2Y.js";
|
|
19
19
|
import "./chunk-NBYKLUF6.js";
|
|
20
20
|
import "./chunk-4NHXLXSD.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-UMQ6NBQR.js";
|
|
22
22
|
import "./chunk-GZGLCCEE.js";
|
|
23
23
|
|
|
24
24
|
// src/cli/commands/hook.ts
|
|
@@ -93,4 +93,4 @@ export {
|
|
|
93
93
|
HOOK_EVENTS,
|
|
94
94
|
run
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=hook-
|
|
96
|
+
//# sourceMappingURL=hook-GIQTUDMN.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,90 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { C as ConnectorConfigError, d as defineAction, a as defineCommand, b as defineConfigPatch, c as defineConnector, e as defineHook, f as defineMemory, g as defineNativeHook, h as defineSkill, i as defineStatusline, j as defineSubagent } from './define-connector-LQFJL_at.js';
|
|
2
|
+
import { S as ServerDef, M as McpPackageIdentity, R as ResolvedMcpPackageIdentity } from './types-BhcUEIJJ.js';
|
|
3
|
+
export { A as ActionDef, a as ActionResult, b as AuthSpec, C as ChangeRecord, c as ConnectorConfig, D as DetectedPlatform, d as DiagnosticResult, E as EventPayloadMap, H as HookDefinition, e as HookEventName, f as HookParadigm, g as HookResponse, h as HooksConfig, i as HostCtx, I as InstallResult, j as InstallScope, k as MemoryDef, N as NativeHookDef, l as NativeHookEvent, m as NotificationEvent, P as PermissionRequestEvent, n as PlatformCapabilities, o as PlatformId, p as PlatformMemoryOverride, q as PlatformOverride, r as PostToolUseEvent, s as PostToolUseFailureEvent, t as PreCompactEvent, u as PreToolUseEvent, v as ResolvedConnector, w as SessionEndEvent, x as SessionStartEvent, y as StatuslineContext, z as StatuslineDef, B as StopEvent, F as SubagentStartEvent, G as SubagentStopEvent, T as TelemetryAccessor, J as TelemetryConfig, K as TelemetryUsageSummary, L as ToolFilter, O as Transport, U as UserPromptSubmitEvent } from './types-BhcUEIJJ.js';
|
|
3
4
|
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
/** Derive the host-facing MCP server key from a package name. */
|
|
6
|
+
declare function deriveHostAliasFromPackageName(packageName: string): string | undefined;
|
|
7
|
+
/** Derive the host-facing MCP server key from an MCP registry name. */
|
|
8
|
+
declare function deriveHostAliasFromMcpName(mcpName: string): string | undefined;
|
|
9
|
+
/** Infer an npm package from common npx-style stdio server definitions. */
|
|
10
|
+
declare function inferNpmPackageFromServer(server: ServerDef | undefined): string | undefined;
|
|
11
|
+
declare function resolveMcpPackageIdentity(input: {
|
|
12
|
+
id?: string;
|
|
13
|
+
mcp?: McpPackageIdentity;
|
|
14
|
+
server?: ServerDef;
|
|
15
|
+
}): ResolvedMcpPackageIdentity;
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
declare class ConnectorConfigError extends Error {
|
|
14
|
-
constructor(message: string);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Validate + normalize a connector definition.
|
|
18
|
-
* Returns a ResolvedConnector that adapters and the CLI consume directly.
|
|
19
|
-
*/
|
|
20
|
-
declare function defineConnector(config: ConnectorConfig): ResolvedConnector;
|
|
21
|
-
/**
|
|
22
|
-
* Typed identity helper for authoring a status line in its own module:
|
|
23
|
-
* export const myStatusline = defineStatusline({ render: (ctx) => "…" });
|
|
24
|
-
* Mirrors the (informal) defineX helpers; gives the developer full type
|
|
25
|
-
* inference on {@link StatuslineContext} without importing the type by hand.
|
|
26
|
-
*/
|
|
27
|
-
declare const defineStatusline: (def: StatuslineDef) => StatuslineDef;
|
|
28
|
-
/**
|
|
29
|
-
* Typed identity helper for authoring ONE normalized lifecycle hook in its own
|
|
30
|
-
* module, EVENT-PARAMETERIZED so the handler's payload narrows to that event:
|
|
31
|
-
*
|
|
32
|
-
* export const onPre = defineHook("PreToolUse", {
|
|
33
|
-
* handler(evt) { evt.toolName // ← typed as a PreToolUseEvent, not the union
|
|
34
|
-
* return { decision: "deny", reason: "no" };
|
|
35
|
-
* },
|
|
36
|
-
* });
|
|
37
|
-
*
|
|
38
|
-
* The leading `event` argument exists ONLY to infer `E`; the def is returned
|
|
39
|
-
* unchanged (identity — validation still happens in defineConnector). Passing
|
|
40
|
-
* `HookDefinition` without an event would widen the handler param to the full
|
|
41
|
-
* {@link HookEventName} union and lose per-event narrowing, so the event tag is
|
|
42
|
-
* required.
|
|
43
|
-
*/
|
|
44
|
-
declare const defineHook: <E extends HookEventName>(event: E, def: HookDefinition<E>) => HookDefinition<E>;
|
|
45
|
-
/**
|
|
46
|
-
* Typed identity helper for authoring a slash {@link CommandDef} in its own
|
|
47
|
-
* module. Returns the def unchanged (kebab-case name + prompt are validated by
|
|
48
|
-
* defineConnector when the connector is assembled).
|
|
49
|
-
*/
|
|
50
|
-
declare const defineCommand: (def: CommandDef) => CommandDef;
|
|
51
|
-
/**
|
|
52
|
-
* Typed identity helper for authoring an Agent {@link SkillDef} in its own
|
|
53
|
-
* module. Returns the def unchanged (name/description/body + safe resource keys
|
|
54
|
-
* are validated by defineConnector).
|
|
55
|
-
*/
|
|
56
|
-
declare const defineSkill: (def: SkillDef) => SkillDef;
|
|
57
|
-
/**
|
|
58
|
-
* Typed identity helper for authoring a {@link SubagentDef} in its own module.
|
|
59
|
-
* Returns the def unchanged (name/description/prompt validated by defineConnector).
|
|
60
|
-
*/
|
|
61
|
-
declare const defineSubagent: (def: SubagentDef) => SubagentDef;
|
|
62
|
-
/**
|
|
63
|
-
* Typed identity helper for authoring a {@link MemoryDef} (standing-guidance
|
|
64
|
-
* managed block) in its own module. Returns the def unchanged (name/content +
|
|
65
|
-
* byte budget + marker-token guard validated by defineConnector).
|
|
66
|
-
*/
|
|
67
|
-
declare const defineMemory: (def: MemoryDef) => MemoryDef;
|
|
68
|
-
/**
|
|
69
|
-
* Typed identity helper for authoring a user-invokable {@link ActionDef} in its
|
|
70
|
-
* own module. Returns the def unchanged (kebab-case unique id + run-is-function
|
|
71
|
-
* + the per-host hosts map validated by defineConnector when the connector is
|
|
72
|
-
* assembled).
|
|
73
|
-
*/
|
|
74
|
-
declare const defineAction: (def: ActionDef) => ActionDef;
|
|
75
|
-
/**
|
|
76
|
-
* Typed identity helper for authoring a declarative {@link ConfigPatchDef}
|
|
77
|
-
* (set-if-absent host-config key patch) in its own module. Returns the def
|
|
78
|
-
* unchanged (leaf-path grammar + namespace guard + required reason validated by
|
|
79
|
-
* defineConnector when it appears under `platforms[<id>].configPatch`).
|
|
80
|
-
*/
|
|
81
|
-
declare const defineConfigPatch: (def: ConfigPatchDef) => ConfigPatchDef;
|
|
82
|
-
/**
|
|
83
|
-
* Typed identity helper for authoring a {@link NativeHookDef} (host-native
|
|
84
|
-
* passthrough hook) in its own module. Returns the def unchanged (event-name
|
|
85
|
-
* collision + handler-is-function validated by defineConnector when it appears
|
|
86
|
-
* under `platforms[<id>].nativeHooks`).
|
|
87
|
-
*/
|
|
88
|
-
declare const defineNativeHook: (def: NativeHookDef) => NativeHookDef;
|
|
89
|
-
|
|
90
|
-
export { ActionDef, ConnectorConfig, ConnectorConfigError, HookDefinition, HookEventName, MemoryDef, NativeHookDef, ResolvedConnector, StatuslineDef, defineAction, defineCommand, defineConfigPatch, defineConnector, defineHook, defineMemory, defineNativeHook, defineSkill, defineStatusline, defineSubagent };
|
|
17
|
+
export { McpPackageIdentity, ResolvedMcpPackageIdentity, ServerDef, deriveHostAliasFromMcpName, deriveHostAliasFromPackageName, inferNpmPackageFromServer, resolveMcpPackageIdentity };
|
package/dist/index.js
CHANGED
|
@@ -10,11 +10,15 @@ import {
|
|
|
10
10
|
defineNativeHook,
|
|
11
11
|
defineSkill,
|
|
12
12
|
defineStatusline,
|
|
13
|
-
defineSubagent
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
defineSubagent,
|
|
14
|
+
deriveHostAliasFromMcpName,
|
|
15
|
+
deriveHostAliasFromPackageName,
|
|
16
|
+
inferNpmPackageFromServer,
|
|
17
|
+
resolveMcpPackageIdentity
|
|
18
|
+
} from "./chunk-KJLFGQQM.js";
|
|
19
|
+
import "./chunk-SILKSP2Y.js";
|
|
16
20
|
import "./chunk-NBYKLUF6.js";
|
|
17
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-UMQ6NBQR.js";
|
|
18
22
|
import "./chunk-GZGLCCEE.js";
|
|
19
23
|
export {
|
|
20
24
|
ConnectorConfigError,
|
|
@@ -27,6 +31,10 @@ export {
|
|
|
27
31
|
defineNativeHook,
|
|
28
32
|
defineSkill,
|
|
29
33
|
defineStatusline,
|
|
30
|
-
defineSubagent
|
|
34
|
+
defineSubagent,
|
|
35
|
+
deriveHostAliasFromMcpName,
|
|
36
|
+
deriveHostAliasFromPackageName,
|
|
37
|
+
inferNpmPackageFromServer,
|
|
38
|
+
resolveMcpPackageIdentity
|
|
31
39
|
};
|
|
32
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
installConnector,
|
|
4
4
|
installViaMarketplace,
|
|
5
5
|
parseInstallMethod
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-TTKSYJRY.js";
|
|
7
|
+
import "./chunk-B5W3RHTI.js";
|
|
8
8
|
import "./chunk-2Y2MZRLP.js";
|
|
9
9
|
import "./chunk-UM5S7DKK.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6WZODR3Z.js";
|
|
11
11
|
import "./chunk-OPXAP3AC.js";
|
|
12
12
|
import {
|
|
13
13
|
buildConnectorSummary,
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
parseTargets,
|
|
18
18
|
print,
|
|
19
19
|
renderInstallResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OEADFFKO.js";
|
|
21
21
|
import "./chunk-Z2MRSS2I.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-ZMAJ2XFD.js";
|
|
23
23
|
import "./chunk-KHO5WNTP.js";
|
|
24
24
|
import {
|
|
25
25
|
findConnectorConfig,
|
|
26
26
|
loadConnectorFromPath
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-KSPMSRVU.js";
|
|
28
|
+
import "./chunk-KJLFGQQM.js";
|
|
29
|
+
import "./chunk-SILKSP2Y.js";
|
|
30
30
|
import "./chunk-NBYKLUF6.js";
|
|
31
31
|
import "./chunk-H53QZQJI.js";
|
|
32
32
|
import "./chunk-BEFVJ2OE.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-MGTDQLJJ.js";
|
|
34
34
|
import "./chunk-4NHXLXSD.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-UMQ6NBQR.js";
|
|
36
36
|
import {
|
|
37
37
|
sourcesDir
|
|
38
38
|
} from "./chunk-GZGLCCEE.js";
|
|
@@ -379,4 +379,4 @@ async function run(argv) {
|
|
|
379
379
|
export {
|
|
380
380
|
run
|
|
381
381
|
};
|
|
382
|
-
//# sourceMappingURL=install-
|
|
382
|
+
//# sourceMappingURL=install-T27662FW.js.map
|