fix: serialize paginated session searches

This commit is contained in:
Hypatia May
2026-07-24 19:47:23 +08:00
parent 795af3174e
commit 66585635c8
16 changed files with 133 additions and 39 deletions

View File

@@ -211,7 +211,6 @@ export function apply(ctx: Context, config: Config): void {
parameters: SESSION_SEARCH_PARAMETERS,
output: TEXT_OUTPUT,
timeoutMs: resolved.searchTimeoutMs,
isConcurrencySafe: () => true,
execute: (args, exec) => executeSessionSearch(ctx, args, exec, resolved.maxSearchResults),
presentCall: presentSessionSearchCall,
}))
@@ -222,7 +221,6 @@ export function apply(ctx: Context, config: Config): void {
parameters: EVENT_SEARCH_PARAMETERS,
output: TEXT_OUTPUT,
timeoutMs: resolved.searchTimeoutMs,
isConcurrencySafe: () => true,
execute: (args, exec) => executeEventSearch(ctx, args, exec, resolved.maxSearchResults),
presentCall: presentEventSearchCall,
}))