mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 14:25:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user