Skip to content

fix: add unlimited storage permission to agent#529

Merged
DaniAkash merged 1 commit intomainfrom
fix/add-unlimited-storage-permission
Mar 23, 2026
Merged

fix: add unlimited storage permission to agent#529
DaniAkash merged 1 commit intomainfrom
fix/add-unlimited-storage-permission

Conversation

@DaniAkash
Copy link
Contributor

This pull request makes a minor update to the permissions configuration for the browser extension agent. The only change is the addition of the unlimitedStorage permission, which allows the extension to store an unlimited amount of data locally.

  • Added the unlimitedStorage permission to the permissions array in wxt.config.ts to enable the extension to store more data locally.

@github-actions github-actions bot added the fix label Mar 23, 2026
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 23, 2026

Greptile Summary

This PR adds the unlimitedStorage permission to the Chrome extension manifest in wxt.config.ts, allowing the extension to exceed the default quota limits for chrome.storage.local, IndexedDB, and other local storage APIs. The change is intentionally minimal: a single line addition that correctly sits alongside the existing storage permission (which is required for unlimitedStorage to take effect).

  • Adds 'unlimitedStorage' to the permissions array in the WXT extension manifest
  • No logic or behavioral changes — config only
  • No issues found with the change itself

Confidence Score: 5/5

  • This PR is safe to merge — it's a single-line config addition with no logic changes and no risk of regressions.
  • The change is a trivial, well-understood Chrome extension manifest update. unlimitedStorage is a standard permission that works in conjunction with the already-present storage permission. There are no code logic changes, no new dependencies, and no security concerns introduced by this permission beyond what the extension already requests.
  • No files require special attention.

Important Files Changed

Filename Overview
packages/browseros-agent/apps/agent/wxt.config.ts Adds unlimitedStorage permission alongside the existing storage permission in the Chrome extension manifest — a correct, minimal config-only change.

Sequence Diagram

sequenceDiagram
    participant Ext as BrowserOS Extension
    participant ChromeRuntime as Chrome Runtime
    participant Storage as chrome.storage.local / IndexedDB

    Ext->>ChromeRuntime: Request permissions (storage + unlimitedStorage)
    ChromeRuntime-->>Ext: Grants unlimited quota
    Ext->>Storage: Write large data (e.g. agent state, preferences)
    Storage-->>Ext: Success (no quota exceeded error)
Loading

Reviews (1): Last reviewed commit: "fix: add unlimited storage permission to..." | Re-trigger Greptile

@DaniAkash DaniAkash merged commit ecf2efa into main Mar 23, 2026
9 of 10 checks passed
@DaniAkash DaniAkash deleted the fix/add-unlimited-storage-permission branch March 23, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant