What's wrong with this entry?
Anonymous. No account, no email.
The main changes revolve around the tR5 function (previously Sy0) which handles tool permissions:
// New implementation with tool name parsing
function tR5({ allowedToolsCli, disallowedToolsCli, permissionMode }) {
let parsedAllowed = fc1(allowedToolsCli), // Parse comma-separated values
parsedDisallowed = fc1(disallowedToolsCli);
return Fb0(
{
mode: permissionMode,
alwaysAllowRules: { cliArg: parsedAllowed },
alwaysDenyRules: { cliArg: parsedDisallowed },
},
Db0(),
);
}
Where fc1 is the new parsing function that:
- Handles null/undefined inputs gracefully
- Splits comma-separated values
- Trims whitespace from each tool name
- Filters out empty strings
This enhancement makes it easier to specify multiple tools in scripts and command-line usage without needing to repeat the flag multiple times.