cc-hooks-ts 2.1.121 → 2.1.126

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/index.d.mts CHANGED
@@ -131,7 +131,7 @@ declare const HookInputSchemas: {
131
131
  readonly transcript_path: v.StringSchema<undefined>;
132
132
  readonly hook_event_name: v.LiteralSchema<"StopFailure", undefined>;
133
133
  } & {
134
- error: v.PicklistSchema<["authentication_failed", "billing_error", "rate_limit", "invalid_request", "server_error", "unknown", "max_output_tokens"], undefined>;
134
+ error: v.PicklistSchema<["authentication_failed", "oauth_org_not_allowed", "billing_error", "rate_limit", "invalid_request", "server_error", "unknown", "max_output_tokens"], undefined>;
135
135
  error_details: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
136
136
  last_assistant_message: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
137
137
  }, undefined>;
package/dist/index.mjs CHANGED
@@ -228,6 +228,7 @@ const HookInputSchemas = {
228
228
  StopFailure: buildHookInputSchema("StopFailure", {
229
229
  error: v.picklist([
230
230
  "authentication_failed",
231
+ "oauth_org_not_allowed",
231
232
  "billing_error",
232
233
  "rate_limit",
233
234
  "invalid_request",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-hooks-ts",
3
- "version": "2.1.121",
3
+ "version": "2.1.126",
4
4
  "type": "module",
5
5
  "description": "Write claude code hooks with type safety",
6
6
  "sideEffects": false,
@@ -62,7 +62,7 @@
62
62
  "vitest": "4.1.2"
63
63
  },
64
64
  "dependencies": {
65
- "@anthropic-ai/claude-agent-sdk": "0.2.121",
65
+ "@anthropic-ai/claude-agent-sdk": "0.2.126",
66
66
  "get-stdin": "10.0.0",
67
67
  "valibot": "^1.1.0"
68
68
  },