mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
- Add taskPermissions field to historyItemSchema so permissions survive VS Code restarts - Pass taskPermissions through taskMetadata when saving task history - Restore permissions via toTaskPermissions() in createTaskWithHistoryItem - Add isSafeRegex() heuristic that detects nested quantifiers and excessive pattern length (ReDoS vectors) - Apply safety check in both Zod schema validation (parse time) and matchesAnyPattern() (runtime belt-and-suspenders) - Add 32 new tests covering isSafeRegex, schema rejection of unsafe patterns, runtime skipping, HistoryItem round-trip, and edge cases Addresses remaining considerations from PR #12337 review before merge. |
||
|---|---|---|
| .. | ||
| build | ||
| config-eslint | ||
| config-typescript | ||
| core | ||
| ipc | ||
| types | ||
| vscode-shim | ||