Commit graph

22 commits

Author SHA1 Message Date
cte
1b6e0434ab Render profiler for the TUI 2026-01-09 10:12:40 -08:00
cte
1c61e7f0c5 Organize files 2026-01-09 09:33:12 -08:00
Chris Estreich
cf14c73095
CLI auth (#10565)
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-08 20:23:27 -08:00
cte
9ffe49a22b refactor(cli): remove renderLogger and add performance optimizations
- Remove unused renderLogger.ts utility file and all its usages
- Add RAF-style scroll throttling to reduce state updates
- Stabilize useExtensionHost hook return values with useCallback/useMemo
- Add streaming message debouncing to batch rapid partial updates
- Add shallow array equality checks to prevent unnecessary re-renders
2026-01-08 03:05:05 -08:00
cte
8d3a6acb72 refactor(cli): extract hooks, stores, and utils from TUI App component
- Extract extension host logic into useExtensionHost hook
- Extract message handling into useMessageHandlers hook
- Extract task submission into useTaskSubmit hook
- Extract global input handling into useGlobalInput hook
- Extract followup countdown into useFollowupCountdown hook
- Extract focus management into useFocusManagement hook
- Extract picker handlers into usePickerHandlers hook
- Create uiStateStore for UI-specific state (showExitHint, countdown, etc.)
- Extract tool data utilities (extractToolData, formatToolOutput, etc.)
- Extract view utilities (getView function)
- Extract HorizontalLine component
- Reduce App.tsx by ~1400 lines for better maintainability
2026-01-08 02:36:40 -08:00
cte
c83e67eedb Some cleanup 2026-01-07 23:47:16 -08:00
cte
245008a43c Some cleanup 2026-01-07 23:34:37 -08:00
cte
511586d6bb More progress 2026-01-07 22:34:18 -08:00
cte
607390b94a Task history picker fixes. 2026-01-07 19:18:15 -08:00
cte
4a4156085b Fix history picker bug, fix mode switcher bug 2026-01-07 15:15:04 -08:00
cte
7826828c0a More progress 2026-01-07 12:50:57 -08:00
cte
303598f014 More progress 2026-01-07 11:13:37 -08:00
cte
3d7117bb7b More progress 2026-01-07 11:01:06 -08:00
cte
8072a90a7d More progress 2026-01-07 02:13:01 -08:00
cte
e85362fb11 New task slash command 2026-01-07 01:34:27 -08:00
cte
b6f571cadf More progress 2026-01-06 23:09:38 -08:00
cte
c9d52349d5 More progress 2026-01-06 21:28:27 -08:00
cte
a590932727 More progress 2026-01-06 16:22:03 -08:00
cte
262aaa52d1 More progress 2026-01-06 15:39:45 -08:00
cte
930755e44a Change the text input to multiline 2026-01-06 03:18:45 -08:00
cte
ad6ce88583 Add file picker 2026-01-06 02:59:57 -08:00
cte
53ad2e1d6a Add a TUI 2026-01-06 00:49:28 -08:00