fix: 修复类型问题

This commit is contained in:
claude-code-best
2026-04-10 17:34:01 +08:00
parent e70319e8f5
commit ff03fe7fcb
18 changed files with 70 additions and 56 deletions

View File

@@ -679,7 +679,7 @@ export class StructuredIO {
{
subtype: 'hook_callback',
callback_id: callbackId,
input: input as Parameters<HookCallback['callback']>[0],
input: input as any,
tool_use_id: toolUseID || undefined,
},
hookJSONOutputSchema(),