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

@@ -156,7 +156,9 @@ export async function* handleStopHooks(
// but before gracefulShutdownSync (see drainPendingExtraction).
void extractMemoriesModule!.executeExtractMemories(
stopHookContext,
toolUseContext.appendSystemMessage as ((msg: import('../types/message.js').SystemMessage) => void) | undefined,
toolUseContext.appendSystemMessage as
| ((msg: import('../types/message.js').SystemMessage) => void)
| undefined,
)
}
if (!toolUseContext.agentId && !poorMode) {
@@ -231,7 +233,8 @@ export async function* handleStopHooks(
) {
if (attachment.type === 'hook_non_blocking_error') {
hookErrors.push(
(attachment.stderr as string) || `Exit code ${attachment.exitCode}`,
(attachment.stderr as string) ||
`Exit code ${attachment.exitCode}`,
)
// Non-blocking errors always have output
hasOutput = true