@cotal-ai/connector-claude-code 0.36.0 → 0.37.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/dist/extension.d.ts.map +1 -1
- package/dist/hook.cjs +31 -31
- package/dist/hooks.d.ts +4 -4
- package/dist/hooks.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +201 -45
- package/dist/mcp.cjs +734 -177
- package/dist/setup.d.ts +3 -0
- package/dist/setup.d.ts.map +1 -0
- package/package.json +6 -4
- package/skills-plugin/.claude-plugin/plugin.json +6 -0
package/dist/hooks.d.ts
CHANGED
|
@@ -65,10 +65,10 @@ export interface WakePolicy {
|
|
|
65
65
|
* A nudge only ever *wakes* a turn — the body is surfaced by the hook handler above (or by an
|
|
66
66
|
* explicit `cotal_inbox` pull). It stays gated on a *mutable* `channelActive` flag (flipped true
|
|
67
67
|
* only after the MCP handshake confirms the client speaks claude/channel). If it fires before
|
|
68
|
-
* then it simply no-ops;
|
|
69
|
-
*
|
|
70
|
-
* ack-dropped at ingest (not buffered), so
|
|
71
|
-
*
|
|
68
|
+
* then it simply no-ops; the false-to-true activation reconciles the remembered mention first,
|
|
69
|
+
* otherwise one buffered wake. A focus @mention needs that reconcile because its body was already
|
|
70
|
+
* ack-dropped at ingest (not buffered), so there is no local copy or durable redelivery to wake the
|
|
71
|
+
* session later.
|
|
72
72
|
*
|
|
73
73
|
* **A rejected push is retried.** The notification can fail (a closed or wedged stdio pipe), and it
|
|
74
74
|
* is the ONLY thing that wakes an idle session: no later hook fires on its own, so a dropped nudge
|
package/dist/hooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings":"AAcA,OAAO,EAIL,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;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index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|