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
upload_file always fails from the CLI: Expected array, received string at filePaths #2741
yargs parses each [--flag] token as another optional positional. Since a variadic positional has to be the last one, filePaths can never be variadic, so yargs always hands the daemon a plain string and the tool's z.array(z.string()) schema rejects it. Setting type: 'array' on the positional does not change this.
upload_file is currently the only tool with a required array argument, so it is the only command affected.
PR #2668 marks array-typed required args as variadic (<filePaths..>) and moves the [--flag] tokens into the command's usage() line, which is all they were for. --help output is unchanged apart from the .. marker on upload_file.
Activity
fix: accept multiple file paths for upload_file in the CLI (ChromeDev…