You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dc49be6
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(tools-shell): dedupe shared web-fetch, convert, signal, and timer helpers
Zero-behavior-change merges/inlines only; pinned message text byte-identical.
Summary: extract shared web-fetch args parser, truncation suffix, and fetch-timeout message helpers; share the whitespace-normalization tail between HTML converters; reuse the shared caught-error formatter in exec runner; share one never-aborted signal per tool test file; collapse timer-clear guards in background-shell behind a local closure.
Verification: bun run typecheck (exit 0); lane tests 156 pass / 0 fail, identical to pristine-worktree baseline; html-convert snapshots byte-identical before/after.
@@ -352,7 +377,10 @@ export function createExaMCPWebFetchTool(
352
377
if(err===timeoutError){
353
378
return{
354
379
callId: call.id,
355
-
content: `Error: Request to ${parsed.url} timed out after ${timeoutSeconds}s. Retry with a larger timeout parameter (up to 120s) if the site is slow.`,
0 commit comments