feat(cli): add privacy_mode for blurring PII in the TUI - #12442
Open
IamCoder18 wants to merge 1 commit into
Open
feat(cli): add privacy_mode for blurring PII in the TUI#12442IamCoder18 wants to merge 1 commit into
IamCoder18 wants to merge 1 commit into
Conversation
Add a `privacy_mode` config flag that masks personal/team information in the always-visible sidebar footer and requires explicit confirmation before `/profile` reveals the full account details. The CLI `kilo profile` command is unaffected. Always-visible sidebar: - Personal/team balance renders as `•••` when the flag is on - Team label collapses to "Team credits" instead of the org name - Kilo Pass period usage, bonus, and renew date are hidden `/profile` gate: - Show a DialogConfirm (default: Cancel, action: Reveal) that warns email, name, balance, and team will be exposed before fetching the profile `/privacy` command: - Toggles `privacy_mode` in the global config and refreshes sync Mechanism: - New top-level `privacy_mode` boolean in ConfigV1.Info (kilocode_change) - Registered in the overlay field paths so it's editable - SDK regenerated for the new SdkConfig field - DialogConfirm extended with optional `confirmLabel` and `defaultOption` props (kilocode_change) for the gate UX All edits are isolated to kilocode paths or wrapped in kilocode_change markers to keep the upstream diff minimal.
Contributor
Code Review SummaryStatus: 3 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (8 files)
Fix these issues in Kilo Cloud Reviewed by claude-sonnet-5 · Input: 54 · Output: 15.3K · Cached: 1.4M Review guidance: REVIEW.md from base branch |
Contributor
Author
|
Cloud PR to add to the schema: Kilo-Org/cloud#4658 |
Contributor
Author
Ready to review |
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.
Issue
Closes #12441
Context
Add a
privacy_modeconfig flag for the TUI that blurs always-visible personal information (balance, team name, Kilo Pass usage) and requires explicit confirmation before/profilereveals the full account details. The CLIkilo profilecommand is unaffected.Implementation
The new
privacy_modeboolean is a top-levelConfigV1.Infofield and registered in the overlay field paths so it's editable from the settings surface.•••, team label collapses from"Acme Corp team"to"Team credits", and the Kilo Pass block is hidden.pii.tsexports only the singleREDACTED_BALANCEconstant./profileshows aDialogConfirmbefore fetching when the flag is on./privacyslash command toggles the flag.Screenshots / Video
Redacted balance
/profile command
How to Test
Manual/local verification
Verified locally with
/privacy, see screenshots.Reviewer test steps
/privacyor Enable privacy mode in the TUI's command picker.Checklist
Get in Touch
Discord: @IamCoder18