Repository navigation
feat(security): a log, global rules you can see and edit, and an MCP page - #96
Merged
Merged
Conversation
…page The security page keeps only the two protections that act on traffic, outbound redaction and tool-call inspection, and opens on a log of what they caught. Each protection shows its mode and every rule: built-in rules turn off one at a time, custom rules are regular expressions edited in dialogs, and any rule can be tried on a sample first. Both are global, so the upstream dialog, the upstream list and route rules lose their security settings. MCP servers, skills and hooks and the config scan move to a new MCP page. The overview drops the leak banner; its security counts follow the selected range, match the log and open it. Traffic badges now come from history too, and request details list every hit. Co-Authored-By: Claude Opus 5 <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.
Rebuilds the security page around the two protections that act on traffic, and moves everything about client configuration to a new MCP page. Pins core v0.18.0 (ThinkWatchProject/ThinkWatch-Core#85), where both protections became global.
Security page
Three tabs: Log, Outbound redaction, Tool-call inspection.
MCP page
The sidebar badge and scan notifications now point here, and the page opens on Findings when something is new.
Overview
The credential-leak banner is gone. The security block keeps two rows. Their counts follow the selected range and are the same rows as the log. A non-zero count opens the log with that type and range; the live view opens the last 24 hours, which is what its counts cover.
Elsewhere
Checks
tsc,vitest(181 passed), andcargo clippy -D warningspluscargo testinsrc-tauriall pass. Every screen was checked in an isolated mock preview, using the real rule data from core, in Chinese and English, dark and light, at 1100×720.🤖 Generated with Claude Code