cc-hooks-ts 2.1.161 → 2.1.163
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 +8 -0
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -961,6 +961,10 @@ interface StopHookOutput extends CommonHookOutputs {
|
|
|
961
961
|
* Reason for the decision.
|
|
962
962
|
*/
|
|
963
963
|
reason?: string;
|
|
964
|
+
hookSpecificOutput?: {
|
|
965
|
+
hookEventName: "Stop";
|
|
966
|
+
additionalContext?: string;
|
|
967
|
+
};
|
|
964
968
|
}
|
|
965
969
|
interface SubagentStartHookOutput extends CommonHookOutputs {
|
|
966
970
|
hookSpecificOutput?: {
|
|
@@ -983,6 +987,10 @@ interface SubagentStopHookOutput extends CommonHookOutputs {
|
|
|
983
987
|
* Reason for the decision.
|
|
984
988
|
*/
|
|
985
989
|
reason?: string;
|
|
990
|
+
hookSpecificOutput?: {
|
|
991
|
+
hookEventName: "SubagentStop";
|
|
992
|
+
additionalContext?: string;
|
|
993
|
+
};
|
|
986
994
|
}
|
|
987
995
|
interface SessionStartHookOutput extends CommonHookOutputs {
|
|
988
996
|
hookSpecificOutput?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-hooks-ts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.163",
|
|
4
4
|
"description": "Write claude code hooks with type safety",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anthropic",
|
|
@@ -39,23 +39,23 @@
|
|
|
39
39
|
"registry": "https://registry.npmjs.org/"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
42
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.163",
|
|
43
43
|
"get-stdin": "10.0.0",
|
|
44
44
|
"valibot": "1.4.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@arethetypeswrong/core": "0.18.3",
|
|
48
48
|
"@types/node": "25.9.1",
|
|
49
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
49
|
+
"@typescript/native-preview": "7.0.0-dev.20260601.1",
|
|
50
50
|
"@virtual-live-lab/tsconfig": "2.1.23",
|
|
51
51
|
"pkg-pr-new": "0.0.75",
|
|
52
52
|
"publint": "0.3.21",
|
|
53
53
|
"release-it": "20.2.0",
|
|
54
54
|
"release-it-pnpm": "4.6.6",
|
|
55
|
-
"type-fest": "5.
|
|
55
|
+
"type-fest": "5.7.0",
|
|
56
56
|
"typescript": "6.0.3",
|
|
57
57
|
"unplugin-unused": "0.5.7",
|
|
58
|
-
"vite-plus": "0.1.
|
|
58
|
+
"vite-plus": "0.1.24"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": "^20.12.0 || ^22.0.0 || >=24.0.0"
|