@cotal-ai/connector-claude-code 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/dist/extension.d.ts +9 -0
- package/dist/extension.d.ts.map +1 -0
- package/dist/extension.js +57 -0
- package/dist/extension.js.map +1 -0
- package/dist/hook.cjs +16577 -0
- package/dist/hook.d.ts +2 -0
- package/dist/hook.d.ts.map +1 -0
- package/dist/hook.js +10 -0
- package/dist/hook.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp.cjs +48641 -0
- package/dist/mcp.d.ts +2 -0
- package/dist/mcp.d.ts.map +1 -0
- package/dist/mcp.js +181 -0
- package/dist/mcp.js.map +1 -0
- package/package.json +37 -0
package/dist/hook.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../src/hook.ts"],"names":[],"mappings":""}
|
package/dist/hook.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cotal Claude Code lifecycle hook — a one-liner over the shared relay.
|
|
3
|
+
*
|
|
4
|
+
* Claude Code runs this on a lifecycle event and pipes the event JSON on stdin;
|
|
5
|
+
* the relay (in @cotal-ai/connector-core) forwards it to this session's connector
|
|
6
|
+
* control socket and prints the reply. It never blocks the session.
|
|
7
|
+
*/
|
|
8
|
+
import { runHookRelay } from "@cotal-ai/connector-core";
|
|
9
|
+
void runHookRelay().catch(() => process.exit(0));
|
|
10
|
+
//# sourceMappingURL=hook.js.map
|
package/dist/hook.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../src/hook.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,KAAK,YAAY,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC,CAAC,kDAAkD"}
|