feat(security): RQ-2426 — Developer Script Mode toggle + docs#83
Open
dinex-dev wants to merge 3 commits into
Open
feat(security): RQ-2426 — Developer Script Mode toggle + docs#83dinex-dev wants to merge 3 commits into
dinex-dev wants to merge 3 commits into
Conversation
Web UI + docs for the desktop "Developer Script Mode" (safe QuickJS sandbox by default vs opt-in full-access for programmatic code rules). - DesktopSettings: DevScriptMode toggle (off by default, confirm dialog on enable), reads/writes the devScriptMode pref over IPC. - Gated by a new FEATURES.DEVELOPER_SCRIPT_MODE, pinned in compatibility.js to a fail-closed placeholder (99.99.99) — replace with the RQ-2426 desktop release so the toggle only shows on compatible builds. - Docs: new interceptor/desktop-app/developer-script-mode page + nav entry, and cross-links from Modify Request/Response Body and Shared State pages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
dinex-dev
marked this pull request as ready for review
July 17, 2026 08:46
…Mode caption Matches the rule editor's wording instead of the internal 'code rules' term. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Shows an amber 'Dev script mode' indicator in the desktop header whenever full-access script execution is enabled, so it can't be silently forgotten. Desktop-only, gated by FEATURES.DEVELOPER_SCRIPT_MODE; polls the pref so it reflects live toggles. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RQ-2426 — Developer Script Mode toggle + docs (web)
Ticket: RQ-2426 (part of RQ-3555) · PR 3 of 3 (proxy → desktop → web)
What
confirm dialog on enable. Reads/writes the
devScriptModedesktop preference over IPC.FEATURES.DEVELOPER_SCRIPT_MODE, pinned incompatibility.js.interceptor/desktop-app/developer-script-modepage + nav entry, pluscross-links from Modify Request Body / Modify Response Body / Shared State.
compatibility.jscurrently pins the toggle to a fail-closed placeholder"99.99.99"(TODO comment). This keeps the toggle hidden on every desktop version, so it's safe to
deploy web independently. Replace it with the RQ-2426 desktop release version (PR 2) so the
toggle appears only on builds that have the
devScriptModehandlers + sandboxing proxy.Backward compatibility
users are unaffected.
ghost/non-functional control.
Depends on
requestly-proxy#118 (PR 1) and the desktop PR (PR 2). The web deploy is inert until a
compatible desktop version ships.
🤖 Generated with Claude Code