cc-hooks-ts 2.1.126 → 2.1.128
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 +4 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -780,6 +780,10 @@ interface UserPromptSubmitHookOutput extends CommonHookOutputs {
|
|
|
780
780
|
*/
|
|
781
781
|
additionalContext?: string;
|
|
782
782
|
sessionTitle?: string;
|
|
783
|
+
/**
|
|
784
|
+
* When decision is "block", omit the original prompt from the block message.
|
|
785
|
+
*/
|
|
786
|
+
suppressOriginalPrompt?: boolean;
|
|
783
787
|
};
|
|
784
788
|
reason?: string;
|
|
785
789
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-hooks-ts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.128",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Write claude code hooks with type safety",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"vitest": "4.1.2"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk": "0.2.
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk": "0.2.128",
|
|
66
66
|
"get-stdin": "10.0.0",
|
|
67
|
-
"valibot": "^1.
|
|
67
|
+
"valibot": "^1.3.0"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"check": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build",
|