feat: 问就是封包

This commit is contained in:
claude-code-best
2026-03-31 23:32:58 +08:00
parent d7a729ca68
commit dd9cd782a7
67 changed files with 423 additions and 172 deletions

View File

@@ -251,12 +251,12 @@ export async function processUserInput({
...hookResult.message,
attachment: {
...hookResult.message.attachment,
content: applyTruncation(hookResult.message.attachment.content),
content: applyTruncation(hookResult.message.attachment.content as string),
},
})
} as AttachmentMessage)
break
default:
result.messages.push(hookResult.message)
result.messages.push(hookResult.message as AttachmentMessage)
break
}
}