style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -551,7 +551,9 @@ export function extractDiscoveredToolNames(messages: Message[]): Set<string> {
// check rather than isCompactBoundaryMessage — utils/messages.ts imports
// from this file, so importing back would be circular.
if (msg.type === 'system' && msg.subtype === 'compact_boundary') {
const carried = (msg as any).compactMetadata?.preCompactDiscoveredTools as string[] | undefined
const carried = (msg as any).compactMetadata?.preCompactDiscoveredTools as
| string[]
| undefined
if (carried) {
for (const name of carried) discoveredTools.add(name)
carriedFromBoundary += carried.length