fix(cli): correct misleading config hint

This commit is contained in:
Alex Alecu
2026-04-07 14:20:40 +03:00
parent c4ebdb8a96
commit 6a4df6669f
@@ -427,10 +427,10 @@ export function PermissionPrompt(props: { request: PermissionRequest }) {
</text>
<text fg={theme.text}>{current.title}</text>
</box>
{/* kilocode_change start - point config protection prompts to command palette */}
{/* kilocode_change start - explain config file edits always require approval */}
<Show when={props.request.metadata?.[ConfigProtection.DISABLE_ALWAYS_KEY]}>
<box paddingLeft={4} flexShrink={0}>
<text fg={theme.textMuted}>Use {keybind.print("command_list")} to toggle auto-approve mode</text>
<text fg={theme.textMuted}>Config file edits always require approval</text>
</box>
</Show>
{/* kilocode_change end */}