cc-hooks-ts 2.1.84 → 2.1.85
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 +1 -17
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
-
import { AgentInput, AgentOutput, AskUserQuestionInput, AskUserQuestionOutput, BashInput, BashOutput, ConfigInput, ConfigOutput, EnterWorktreeInput, EnterWorktreeOutput, ExitPlanModeInput, ExitPlanModeOutput, ExitWorktreeInput, ExitWorktreeOutput, FileEditInput, FileEditOutput, FileReadInput, FileReadOutput, FileWriteInput, FileWriteOutput, GlobInput, GlobOutput, GrepInput, GrepOutput, ListMcpResourcesInput, ListMcpResourcesOutput, McpInput, McpOutput, NotebookEditInput, NotebookEditOutput, ReadMcpResourceInput, ReadMcpResourceOutput,
|
|
2
|
+
import { AgentInput, AgentOutput, AskUserQuestionInput, AskUserQuestionOutput, BashInput, BashOutput, ConfigInput, ConfigOutput, EnterWorktreeInput, EnterWorktreeOutput, ExitPlanModeInput, ExitPlanModeOutput, ExitWorktreeInput, ExitWorktreeOutput, FileEditInput, FileEditOutput, FileReadInput, FileReadOutput, FileWriteInput, FileWriteOutput, GlobInput, GlobOutput, GrepInput, GrepOutput, ListMcpResourcesInput, ListMcpResourcesOutput, McpInput, McpOutput, NotebookEditInput, NotebookEditOutput, ReadMcpResourceInput, ReadMcpResourceOutput, TaskOutputInput, TaskStopInput, TaskStopOutput, TodoWriteInput, TodoWriteOutput, WebFetchInput, WebFetchOutput, WebSearchInput, WebSearchOutput } from "@anthropic-ai/claude-agent-sdk/sdk-tools";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/types.d.ts
|
|
5
5
|
type Awaitable<T> = Promise<T> | T;
|
|
@@ -1232,14 +1232,6 @@ interface ToolSchema {
|
|
|
1232
1232
|
};
|
|
1233
1233
|
response: unknown;
|
|
1234
1234
|
};
|
|
1235
|
-
SubscribeMcpResource: {
|
|
1236
|
-
input: SubscribeMcpResourceInput;
|
|
1237
|
-
response: SubscribeMcpResourceOutput;
|
|
1238
|
-
};
|
|
1239
|
-
SubscribePolling: {
|
|
1240
|
-
input: SubscribePollingInput;
|
|
1241
|
-
response: SubscribePollingOutput;
|
|
1242
|
-
};
|
|
1243
1235
|
Task: {
|
|
1244
1236
|
input: AgentInput;
|
|
1245
1237
|
response: AgentOutput;
|
|
@@ -1266,14 +1258,6 @@ interface ToolSchema {
|
|
|
1266
1258
|
};
|
|
1267
1259
|
response: unknown;
|
|
1268
1260
|
};
|
|
1269
|
-
UnsubscribeMcpResource: {
|
|
1270
|
-
input: UnsubscribeMcpResourceInput;
|
|
1271
|
-
response: UnsubscribeMcpResourceOutput;
|
|
1272
|
-
};
|
|
1273
|
-
UnsubscribePolling: {
|
|
1274
|
-
input: UnsubscribePollingInput;
|
|
1275
|
-
response: UnsubscribePollingOutput;
|
|
1276
|
-
};
|
|
1277
1261
|
WebFetch: {
|
|
1278
1262
|
input: WebFetchInput;
|
|
1279
1263
|
response: WebFetchOutput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-hooks-ts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.85",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Write claude code hooks with type safety",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@arethetypeswrong/core": "0.18.2",
|
|
46
46
|
"@types/node": "25.5.0",
|
|
47
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
47
|
+
"@typescript/native-preview": "7.0.0-dev.20260326.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",
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"publint": "0.3.18",
|
|
55
55
|
"release-it": "19.2.4",
|
|
56
56
|
"release-it-pnpm": "4.6.6",
|
|
57
|
-
"tsdown": "0.21.
|
|
58
|
-
"type-fest": "5.
|
|
59
|
-
"typescript": "
|
|
60
|
-
"typescript-eslint": "8.57.
|
|
57
|
+
"tsdown": "0.21.5",
|
|
58
|
+
"type-fest": "5.5.0",
|
|
59
|
+
"typescript": "6.0.2",
|
|
60
|
+
"typescript-eslint": "8.57.2",
|
|
61
61
|
"unplugin-unused": "0.5.7",
|
|
62
|
-
"vitest": "4.1.
|
|
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.85",
|
|
66
66
|
"get-stdin": "10.0.0",
|
|
67
67
|
"valibot": "^1.1.0"
|
|
68
68
|
},
|