Skip to content

Commit 2fa6fd8

Browse files
fix: report the 100 MB browser recording limit
Browser recordings share the ordinary-file upload cap, so the tool description and too-large error still claimed 50 MiB after the cap rose. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent b651243 commit 2fa6fd8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/mcp/toolkits/preview/tools.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const PreviewRecordingStartTool = safeBrowserTool(
233233
const PreviewRecordingStopTool = safeBrowserTool(
234234
Tool.make("preview_recording_stop", {
235235
description:
236-
"Stop recording the collaborative browser tab selected by tabId, or this agent session's current tab when omitted, and transfer the compressed recording once (up to 50 MiB) to an evidence file readable in this agent's environment. Returns its environment-local path after transfer succeeds.",
236+
"Stop recording the collaborative browser tab selected by tabId, or this agent session's current tab when omitted, and transfer the compressed recording once (up to 100 MB) to an evidence file readable in this agent's environment. Returns its environment-local path after transfer succeeds.",
237237
parameters: PreviewAutomationTabTargetInput,
238238
success: Schema.Struct({ ...PreviewAutomationRecordingArtifact.fields, ...presentationFields }),
239239
failure: PreviewAutomationError,

‎packages/contracts/src/previewAutomation.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ export class PreviewAutomationRecordingTooLargeError extends Schema.TaggedError<
910910
{ threadId: ThreadId, cause: Schema.optional(Schema.Defect()) },
911911
) {
912912
override get message(): string {
913-
return "The recording exceeds 50 MiB. The saved copy remains on the desktop.";
913+
return "The recording exceeds 100 MB. The saved copy remains on the desktop.";
914914
}
915915
}
916916

0 commit comments

Comments
 (0)