feat: 全部类型问题解决

This commit is contained in:
claude-code-best
2026-04-11 10:24:00 +08:00
parent 7088fe3c8b
commit 6a70056910
135 changed files with 671 additions and 503 deletions

View File

@@ -136,7 +136,7 @@ export function applyGrouping(
const results: NormalizedUserMessage[] = []
for (const assistantMsg of group) {
const toolUseId = (
assistantMsg.message.content[0] as { id: string }
assistantMsg.message!.content![0] as { id: string }
).id
const resultMsg = resultsByToolUseId.get(toolUseId)
if (resultMsg) {