cc-hooks-ts 2.1.90 → 2.1.91

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
@@ -212,7 +212,7 @@ declare const HookInputSchemas: {
212
212
  readonly type: v.LiteralSchema<"removeRules", undefined>;
213
213
  }, undefined>, v.ObjectSchema<{
214
214
  readonly destination: v.PicklistSchema<["userSettings", "projectSettings", "localSettings", "session", "cliArg"], undefined>;
215
- readonly mode: v.PicklistSchema<["acceptEdits", "bypassPermissions", "default", "dontAsk", "plan"], undefined>;
215
+ readonly mode: v.PicklistSchema<["acceptEdits", "bypassPermissions", "default", "dontAsk", "plan", "auto"], undefined>;
216
216
  readonly type: v.LiteralSchema<"setMode", undefined>;
217
217
  }, undefined>, v.ObjectSchema<{
218
218
  readonly destination: v.PicklistSchema<["userSettings", "projectSettings", "localSettings", "session", "cliArg"], undefined>;
@@ -529,7 +529,7 @@ declare const permissionUpdateSchema: v.VariantSchema<"type", [v.ObjectSchema<{
529
529
  readonly type: v.LiteralSchema<"removeRules", undefined>;
530
530
  }, undefined>, v.ObjectSchema<{
531
531
  readonly destination: v.PicklistSchema<["userSettings", "projectSettings", "localSettings", "session", "cliArg"], undefined>;
532
- readonly mode: v.PicklistSchema<["acceptEdits", "bypassPermissions", "default", "dontAsk", "plan"], undefined>;
532
+ readonly mode: v.PicklistSchema<["acceptEdits", "bypassPermissions", "default", "dontAsk", "plan", "auto"], undefined>;
533
533
  readonly type: v.LiteralSchema<"setMode", undefined>;
534
534
  }, undefined>, v.ObjectSchema<{
535
535
  readonly destination: v.PicklistSchema<["userSettings", "projectSettings", "localSettings", "session", "cliArg"], undefined>;
package/dist/index.mjs CHANGED
@@ -134,7 +134,8 @@ const permissionUpdateSchema = v.variant("type", [
134
134
  "bypassPermissions",
135
135
  "default",
136
136
  "dontAsk",
137
- "plan"
137
+ "plan",
138
+ "auto"
138
139
  ]),
139
140
  type: v.literal("setMode")
140
141
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-hooks-ts",
3
- "version": "2.1.90",
3
+ "version": "2.1.91",
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.90",
65
+ "@anthropic-ai/claude-agent-sdk": "0.2.91",
66
66
  "get-stdin": "10.0.0",
67
67
  "valibot": "^1.1.0"
68
68
  },