Files
tsukino 5a3a844527 feat: add plugin permission control system (#211)
* Add plugin permission control system

- Add RequestPermission interface to plugin-sdk types
- Extend PluginConfig with requests[] and urls[] permission arrays
- Create permissionValidator.ts with validation functions:
  - validateProvePermission() for prove() calls
  - validateOpenWindowPermission() for openWindow() calls
  - deriveProxyUrl() for automatic proxy URL derivation
  - matchesPathnamePattern() using URLPattern API
- Update SessionManager to validate permissions before execution
- Update ConfirmationManager to pass permissions to popup
- Update ConfirmPopup UI to display network and URL permissions
- Add URLPattern type declaration to global.d.ts
- Update demo plugins (twitter.js, swissbank.js) with permissions
- Add comprehensive tests for permission validation
- Add Chrome Web Store listing documentation

* Fix lint

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2026-01-06 19:16:01 +08:00
..
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00