@cotal-ai/connector-claude-code 0.27.0 → 0.28.0-hack-20260823202734
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 +3 -2
- package/dist/hook.cjs +22 -15
- package/dist/hooks.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/mcp.cjs +360 -36
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -15,7 +15,8 @@ See [docs/connect-claude.md](../../docs/connect-claude.md) for the integration g
|
|
|
15
15
|
The full set of Claude Code hook events, grouped by lifecycle — this is Claude *product*
|
|
16
16
|
surface, kept here with the adapter rather than in the protocol docs. Source:
|
|
17
17
|
[code.claude.com/docs/en/hooks](https://code.claude.com/docs/en/hooks) (Claude Code
|
|
18
|
-
2.1.16x, 31 events
|
|
18
|
+
2.1.16x, 31 events; the `StopFailure` matchers re-read off 2.1.237's own hook schema, which
|
|
19
|
+
carries two the earlier list was missing). The connector consumes the subset mapped in
|
|
19
20
|
[docs/connect-claude.md](../../docs/connect-claude.md) (presence mapping + message
|
|
20
21
|
delivery); the rest are listed for completeness.
|
|
21
22
|
|
|
@@ -32,7 +33,7 @@ delivery); the rest are listed for completeness.
|
|
|
32
33
|
| `UserPromptSubmit` | user submits a prompt, before Claude processes it | (none) |
|
|
33
34
|
| `UserPromptExpansion` | a typed command expands into a prompt | command name |
|
|
34
35
|
| `Stop` | Claude finishes responding | (none) |
|
|
35
|
-
| `StopFailure` | turn ends due to an API error | `rate_limit`, `authentication_failed`, `oauth_org_not_allowed`, `billing_error`, `invalid_request`, `model_not_found`, `server_error`, `max_output_tokens`, `unknown` |
|
|
36
|
+
| `StopFailure` | turn ends due to an API error | `rate_limit`, `overloaded`, `authentication_failed`, `oauth_org_not_allowed`, `account_on_hold`, `billing_error`, `invalid_request`, `model_not_found`, `server_error`, `max_output_tokens`, `unknown` |
|
|
36
37
|
|
|
37
38
|
### Per tool call (agentic loop)
|
|
38
39
|
| Event | Fires when | Matchers |
|