feat: 完成一大波类型修复, 虽然 any 很多

This commit is contained in:
claude-code-best
2026-03-31 23:43:39 +08:00
parent dd9cd782a7
commit 91f77ea571
55 changed files with 156 additions and 81 deletions

View File

@@ -65,8 +65,8 @@ export function getMcpInstructionsDelta(
attachmentCount++
if (msg.attachment.type !== 'mcp_instructions_delta') continue
midCount++
for (const n of msg.attachment.addedNames) announced.add(n)
for (const n of msg.attachment.removedNames) announced.delete(n)
for (const n of (msg.attachment as any).addedNames) announced.add(n)
for (const n of (msg.attachment as any).removedNames) announced.delete(n)
}
const connected = mcpClients.filter(