refactor for shadcn
8 months ago
41 files changed
- apps/TUI/component/textarea-keybindings.ts+3−3
- apps/TUI/index.tsx+24−7
- apps/desktop/bun.lock+192−39
- apps/desktop/package.json+4−5
- apps/desktop/src/App.tsx+13−12
- apps/desktop/src/assets/react.svg+0−1
- apps/desktop/src/components/ai-elements/conversation.tsx+72−0
- apps/desktop/src/components/ai-elements/message.tsx+60−0
- apps/desktop/src/components/ai-elements/prompt-input.tsx+90−0
- apps/desktop/src/components/ai-elements/reasoning.tsx+47−0
- apps/desktop/src/components/ai-elements/tool.tsx+109−0
- apps/desktop/src/components/ui/card.tsx+29−0
- apps/desktop/src/components/ui/checkbox.tsx+23−0
- apps/desktop/src/components/ui/collapsible.tsx+7−0
- apps/desktop/src/components/ui/dialog.tsx+71−0
- apps/desktop/src/components/ui/input.tsx+18−0
- apps/desktop/src/components/ui/select.tsx+119−0
- apps/desktop/src/components/ui/textarea.tsx+17−0
- apps/desktop/src/styles.css+48−1401
- apps/desktop/src/styles/tokens.css+55−0
- apps/desktop/src/ui/ChatView.tsx+147−160
- apps/desktop/src/ui/ContextSidebar.tsx+44−42
- apps/desktop/src/ui/PromptModal.tsx+89−173
- apps/desktop/src/ui/Sidebar.tsx+93−133
- apps/desktop/src/ui/SkillsView.tsx+61−58
- apps/desktop/src/ui/TitleBar.tsx+0−65
- apps/desktop/src/ui/chat/toolCards/ToolCard.tsx+25−33
- apps/desktop/src/ui/chat/toolCards/ToolCardMaximized.tsx+0−43
- apps/desktop/src/ui/chat/toolCards/ToolCardMinimized.tsx+0−59
- apps/desktop/src/ui/layout/AppTopBar.tsx+28−35
- apps/desktop/src/ui/layout/PrimaryContent.tsx+8−7
- apps/desktop/src/ui/layout/SettingsContent.tsx+17−8
- apps/desktop/src/ui/layout/SidebarResizer.tsx+4−3
- apps/desktop/src/ui/settings/SettingsShell.tsx+17−13
- apps/desktop/src/ui/settings/components.tsx+0−36
- apps/desktop/src/ui/settings/pages/ProvidersPage.tsx+91−98
- apps/desktop/src/ui/settings/pages/WorkspacesPage.tsx+161−124
- src/server/session.ts+4−1
- test/session.test.ts+59−0
- test/tui.args.test.ts+32−0
- test/tui.textarea-keybindings.test.ts+9−0