Commit 6024183
committed
refactor(cli): consolidate input modes into extensible system
- Replace isBashMode/isReferralMode booleans with single inputMode state
- Create input-modes.ts with mode configurations (icon, color, placeholder)
- Simplify chat-input-bar.tsx by removing if/else chains
- Update all mode-related code to use new system
- Makes adding future modes (e.g. debug, search) easier1 parent a9dd46b commit 6024183
File tree
6 files changed
+329
-228
lines changed- cli/src
- __tests__
- components
- hooks
- state
- utils
6 files changed
+329
-228
lines changed
0 commit comments