Description:
Starting from v0.9.4, I noticed that the default highlighted option in the TUI permission request dialog has changed. This alters the established interaction pattern and may cause users to accidentally deny an action when they intend to quickly confirm it.
Steps to Reproduce:
In the CodeWhale TUI (v0.9.4), trigger an action that requires user approval for tool usage (e.g., executing a shell command).
Observe the permission request dialog.
Actual Behavior:
The dialog defaults to (or highlights) the option: [3 / d / n] Deny this call.
This means that if a user habitually presses Enter to confirm, they will deny the tool execution.
Expected Behavior:
Based on previous releases, the default highlighted option should be: [1 / y] Allow once.
This way, pressing Enter quickly approves the action, which aligns with intuition and previous usage habits.
Screenshot:
Environment:
CodeWhale: v0.9.4
OS: macOS Tahoe 26.5.2
Terminal: iTerm2 3.6.11
Additional Context:
I'm not sure whether this change is intentional or an unintended regression. If it was deliberately made to improve security (e.g., defaulting to deny for high-risk operations), then this issue could be converted into a feature discussion or a documentation update request. Otherwise, it may be a bug that should be fixed to restore a smoother interaction flow.
Description:
Starting from v0.9.4, I noticed that the default highlighted option in the TUI permission request dialog has changed. This alters the established interaction pattern and may cause users to accidentally deny an action when they intend to quickly confirm it.
Steps to Reproduce:
In the CodeWhale TUI (v0.9.4), trigger an action that requires user approval for tool usage (e.g., executing a shell command).
Observe the permission request dialog.
Actual Behavior:
The dialog defaults to (or highlights) the option: [3 / d / n] Deny this call.
This means that if a user habitually presses Enter to confirm, they will deny the tool execution.
Expected Behavior:
Based on previous releases, the default highlighted option should be: [1 / y] Allow once.
This way, pressing Enter quickly approves the action, which aligns with intuition and previous usage habits.
Screenshot:
Environment:
Additional Context:
I'm not sure whether this change is intentional or an unintended regression. If it was deliberately made to improve security (e.g., defaulting to deny for high-risk operations), then this issue could be converted into a feature discussion or a documentation update request. Otherwise, it may be a bug that should be fixed to restore a smoother interaction flow.