cc-hooks-ts 2.1.157 → 2.1.161

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
@@ -175,7 +175,7 @@ declare const HookInputSchemas: {
175
175
  readonly transcript_path: v.StringSchema<undefined>;
176
176
  readonly hook_event_name: v.LiteralSchema<"StopFailure", undefined>;
177
177
  } & {
178
- error: v.PicklistSchema<["authentication_failed", "oauth_org_not_allowed", "billing_error", "rate_limit", "invalid_request", "model_not_found", "server_error", "unknown", "max_output_tokens"], undefined>;
178
+ error: v.PicklistSchema<["authentication_failed", "oauth_org_not_allowed", "billing_error", "rate_limit", "overloaded", "invalid_request", "model_not_found", "server_error", "unknown", "max_output_tokens"], undefined>;
179
179
  error_details: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
180
180
  last_assistant_message: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
181
181
  }, undefined>;
package/dist/index.mjs CHANGED
@@ -251,6 +251,7 @@ const HookInputSchemas = {
251
251
  "oauth_org_not_allowed",
252
252
  "billing_error",
253
253
  "rate_limit",
254
+ "overloaded",
254
255
  "invalid_request",
255
256
  "model_not_found",
256
257
  "server_error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-hooks-ts",
3
- "version": "2.1.157",
3
+ "version": "2.1.161",
4
4
  "description": "Write claude code hooks with type safety",
5
5
  "keywords": [
6
6
  "anthropic",
@@ -39,18 +39,18 @@
39
39
  "registry": "https://registry.npmjs.org/"
40
40
  },
41
41
  "dependencies": {
42
- "@anthropic-ai/claude-agent-sdk": "0.3.157",
42
+ "@anthropic-ai/claude-agent-sdk": "0.3.161",
43
43
  "get-stdin": "10.0.0",
44
44
  "valibot": "1.4.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@arethetypeswrong/core": "0.18.2",
47
+ "@arethetypeswrong/core": "0.18.3",
48
48
  "@types/node": "25.9.1",
49
49
  "@typescript/native-preview": "7.0.0-dev.20260527.2",
50
50
  "@virtual-live-lab/tsconfig": "2.1.23",
51
51
  "pkg-pr-new": "0.0.75",
52
52
  "publint": "0.3.21",
53
- "release-it": "20.0.1",
53
+ "release-it": "20.2.0",
54
54
  "release-it-pnpm": "4.6.6",
55
55
  "type-fest": "5.6.0",
56
56
  "typescript": "6.0.3",