You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 79b38a6
Browse filesBrowse the repository at this point in the historyBrowse files
feat: add support for sudo and password-requiring commands
Add SecureInput system for handling password prompts in interactive
commands (sudo, ssh -t, ansible -K, etc.).
- Create SecureInput namespace with event-based password request system
- Add PTY-based execution path in Bash tool for interactive commands
- Auto-detect commands needing interaction via pattern matching
- Detect password prompts and request secure input from user
- Sanitize output to remove password prompts before sending to LLM
- Add server routes for secure-input submit/cancel
- Add TUI SecureInputPrompt component
- Add web app SecureInputPrompt component
- Integrate secure_input into sync contexts
Security: Password goes directly to PTY, never stored or logged.
60s timeout, max 3 retry attempts.
Refs: anomalyco#9808
Co-Authored-By: Claude Opus 4.5 <[email protected]>
0 commit comments