Skip to content

Persist input capture permission - #24

Merged
daredoole merged 2 commits into
mainfrom
agent/persist-input-capture-permission
Aug 5, 2026
Merged

Persist input capture permission#24
daredoole merged 2 commits into
mainfrom
agent/persist-input-capture-permission

Conversation

@daredoole

Copy link
Copy Markdown
Owner

Summary

  • use InputCapture portal v2 with persist_mode=2
  • securely retain and rotate the single-use portal restore token
  • subscribe before Start so an immediate silent-restore response cannot race the client
  • keep the legacy one-prompt path for portal v1
  • explain the one-time KDE “Allow restoring on future sessions” choice in diagnostics

Validation

  • Release build: pass
  • Release CTest: 22/22 pass
  • ASan/UBSan build: pass
  • ASan/UBSan CTest: 22/22 pass
  • git diff --check: pass

User impact

The first KDE Input Capture dialog still requires explicit user consent. When the user checks Allow restoring on future sessions, subsequent service starts reuse the rotated restore token without prompting again.

@daredoole
daredoole marked this pull request as ready for review August 5, 2026 20:00
@daredoole
daredoole merged commit c2ecbc9 into main Aug 5, 2026
9 checks passed
@daredoole
daredoole deleted the agent/persist-input-capture-permission branch August 5, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant