Skip to content

Commit 1978362

Browse files
authored
refactor: Remove YOLO permission mode references (#137)
Drop residual YOLO mode mentions from docs, styles, and UI types to match current plan/edit permission set and avoid dead enum values.
1 parent 4f3c123 commit 1978362

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ When writing user-facing documentation, follow these principles:
5454
## Features
5555

5656
- 🔀 Git worktree integration for multi-branch workflows
57-
- 🤖 Multiple AI permission modes (plan/edit/yolo)
57+
- 🤖 Multiple AI permission modes (plan/edit)
5858
- 📦 Multi-project management
5959
- 💬 Persistent session history
6060
- ⌨️ Keyboard-first interface

docs/AGENTS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ This project uses **Make** as the primary build orchestrator. See `Makefile` for
249249
const MODE_COLORS: Record<UIPermissionMode, string> = {
250250
plan: "var(--color-plan-mode)",
251251
edit: "var(--color-edit-mode)",
252-
yolo: "var(--color-yolo-mode)",
253252
};
254253

255254
// ❌ Avoid - Can miss cases, typos won't be caught

docs/theme/custom.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
--color-plan-mode-hover: color-mix(in srgb, var(--color-plan-mode), white 20%);
2121
--color-exec-mode: hsl(268.56 94.04% 55.19%);
2222
--color-edit-mode: hsl(120 50% 35%);
23-
--color-yolo-mode: hsl(0 70% 45%);
2423
--color-interrupted: hsl(38 92% 50%);
2524

2625
/* Docs-specific tokens */

src/styles/colors.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ export const GlobalColors = () => (
3636
--color-edit-mode-alpha: hsl(from var(--color-edit-mode) h s l / 0.1);
3737
--color-edit-mode-alpha-hover: hsl(from var(--color-edit-mode) h s l / 0.15);
3838
39-
/* YOLO Mode Colors */
40-
--color-yolo-mode: hsl(0 70% 45%);
41-
--color-yolo-mode-hover: color-mix(in srgb, var(--color-yolo-mode), white 20%);
42-
--color-yolo-mode-light: color-mix(in srgb, var(--color-yolo-mode) 60%, white);
43-
--color-yolo-mode-alpha: hsl(from var(--color-yolo-mode) h s l / 0.1);
44-
--color-yolo-mode-alpha-hover: hsl(from var(--color-yolo-mode) h s l / 0.15);
45-
4639
/* Editing Mode Colors */
4740
--color-editing-mode: hsl(30 100% 50%);
4841
--color-editing-mode-alpha: hsl(from var(--color-editing-mode) h s l / 0.1);

src/types/global.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { IPCApi } from "./ipc";
22

33
// Our simplified permission modes for UI
4-
export type UIPermissionMode = "plan" | "edit" | "yolo";
4+
export type UIPermissionMode = "plan" | "edit";
55

66
// Claude SDK permission modes
77
export type SDKPermissionMode = "default" | "acceptEdits" | "bypassPermissions" | "plan";

0 commit comments

Comments
 (0)