Skip to content

Commit ca85bcc

Browse files
committed
docs(mcp): TODO for human-readable --output-max-size sizes
1 parent 6f05cce commit ca85bcc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/playwright-core/src/tools/mcp/program.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export function decorateMCPCommand(command: Command) {
5959
.option('--image-responses <mode>', 'whether to send image responses to the client. Can be "allow" or "omit", Defaults to "allow".', enumParser.bind(null, '--image-responses', ['allow', 'omit']))
6060
.option('--no-sandbox', 'disable the sandbox for all process types that are normally sandboxed.')
6161
.option('--output-dir <path>', 'path to the directory for output files.')
62+
// TODO: accept human-readable sizes like "10MB" / "1GiB" in addition to raw bytes.
6263
.option('--output-max-size <bytes>', 'Threshold for evicting old output files, in bytes.', numberParser)
6364
.option('--output-mode <mode>', 'whether to save snapshots, console messages, network logs to a file or to the standard output. Can be "file" or "stdout". Default is "stdout".', enumParser.bind(null, '--output-mode', ['file', 'stdout']))
6465
.option('--port <port>', 'port to listen on for SSE transport.')

0 commit comments

Comments
 (0)