cc-hooks-ts 2.1.76 → 2.1.77

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
@@ -327,7 +327,7 @@ declare const HookInputSchemas: {
327
327
  } & {
328
328
  file_path: v.StringSchema<undefined>;
329
329
  globs: v.ExactOptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
330
- load_reason: v.PicklistSchema<["session_start", "nested_traversal", "path_glob_match", "include"], undefined>;
330
+ load_reason: v.PicklistSchema<["session_start", "nested_traversal", "path_glob_match", "include", "compact"], undefined>;
331
331
  memory_type: v.PicklistSchema<["User", "Project", "Local", "Managed"], undefined>;
332
332
  parent_file_path: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
333
333
  trigger_file_path: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
package/dist/index.mjs CHANGED
@@ -292,7 +292,8 @@ const HookInputSchemas = {
292
292
  "session_start",
293
293
  "nested_traversal",
294
294
  "path_glob_match",
295
- "include"
295
+ "include",
296
+ "compact"
296
297
  ]),
297
298
  memory_type: v.picklist([
298
299
  "User",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-hooks-ts",
3
- "version": "2.1.76",
3
+ "version": "2.1.77",
4
4
  "type": "module",
5
5
  "description": "Write claude code hooks with type safety",
6
6
  "sideEffects": false,
@@ -43,14 +43,14 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@arethetypeswrong/core": "0.18.2",
46
- "@types/node": "25.4.0",
46
+ "@types/node": "25.5.0",
47
47
  "@typescript/native-preview": "7.0.0-dev.20260311.1",
48
48
  "@virtual-live-lab/eslint-config": "2.3.1",
49
49
  "@virtual-live-lab/tsconfig": "2.1.21",
50
50
  "eslint": "9.39.2",
51
51
  "eslint-plugin-import-access": "3.1.0",
52
52
  "oxfmt": "0.28.0",
53
- "pkg-pr-new": "0.0.65",
53
+ "pkg-pr-new": "0.0.66",
54
54
  "publint": "0.3.18",
55
55
  "release-it": "19.2.4",
56
56
  "release-it-pnpm": "4.6.6",
@@ -59,10 +59,10 @@
59
59
  "typescript": "5.9.3",
60
60
  "typescript-eslint": "8.57.0",
61
61
  "unplugin-unused": "0.5.7",
62
- "vitest": "4.0.18"
62
+ "vitest": "4.1.0"
63
63
  },
64
64
  "dependencies": {
65
- "@anthropic-ai/claude-agent-sdk": "0.2.76",
65
+ "@anthropic-ai/claude-agent-sdk": "0.2.77",
66
66
  "get-stdin": "10.0.0",
67
67
  "valibot": "^1.1.0"
68
68
  },