mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 16:25:51 +00:00
feat: 全部类型问题解决
This commit is contained in:
@@ -1152,7 +1152,7 @@ export function getLastPeerDmSummary(messages: Message[]): string | undefined {
|
||||
if (!msg) continue
|
||||
|
||||
// Stop at wake-up boundary: a user prompt (string content), not tool results (array content)
|
||||
if (msg.type === 'user' && typeof msg.message.content === 'string') {
|
||||
if (msg.type === 'user' && typeof msg.message!.content === 'string') {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user