Commit Graph

32 Commits

Author SHA1 Message Date
Shantur Rathore
91ace25333 Batch hydrate normalized messages for session load 2025-11-26 10:57:39 +00:00
Shantur Rathore
a71c8ab34f chore: rebrand client and add icon tooling 2025-11-13 22:58:57 +00:00
Shantur Rathore
ad86154d47 chore: archive task 054 2025-10-28 20:19:28 +00:00
Shantur Rathore
c6889bef1f chore: archive task 053 2025-10-28 20:11:41 +00:00
Shantur Rathore
2c204b3b28 chore: archive task 052 2025-10-28 20:09:56 +00:00
Shantur Rathore
522bb7ac05 chore: archive task 051 2025-10-28 20:07:16 +00:00
Shantur Rathore
a01b9b79ac chore: archive task 050 2025-10-28 20:04:04 +00:00
Shantur Rathore
e3009f1aad chore: archive task 049 2025-10-28 20:01:17 +00:00
Shantur Rathore
7267baf23d docs: queue remaining style cleanup tasks 2025-10-28 19:58:56 +00:00
Shantur Rathore
e179d452e4 chore: archive task 048 2025-10-28 19:53:12 +00:00
Shantur Rathore
1b99bf2297 chore: archive task 047 2025-10-28 19:49:23 +00:00
Shantur Rathore
a355d9c4b8 chore: archive task 046 2025-10-28 19:44:11 +00:00
Shantur Rathore
cb56eed4f9 docs: add tailwind refactor follow-up tasks 2025-10-28 19:40:33 +00:00
Shantur Rathore
377595c19d chore: archive task 045 2025-10-28 18:59:01 +00:00
Shantur Rathore
63327d02ec chore: archive task 044 2025-10-28 18:56:27 +00:00
Shantur Rathore
1b07109a40 chore: archive task 043 2025-10-28 18:54:50 +00:00
Shantur Rathore
455f623dcf chore: archive task 042 2025-10-28 18:49:21 +00:00
Shantur Rathore
03e8254714 chore: archive task 041 2025-10-28 18:46:35 +00:00
Shantur Rathore
0a3ac6cbf2 docs: add theme overhaul task series 2025-10-28 18:42:54 +00:00
Shantur Rathore
af304dd6d3 Move image clipboard task to done 2025-10-24 13:15:01 +01:00
Shantur Rathore
3c73a6bc4a Refactor to unified picker showing both agents and files 2025-10-24 13:09:49 +01:00
Shantur Rathore
83fa3d2dc4 Mark task 022 as complete 2025-10-24 01:19:10 +01:00
Shantur Rathore
7138fb4e23 Implement long paste handling with text attachments
- Detect pastes >150 chars or >3 lines
- Convert long pastes to text attachments
- Show clipboard icon for text attachments
- Display summary (e.g., 'pasted #1 (10 lines)')
- Auto-increment paste counter
- Reset counter on message send
- Short pastes insert normally
2025-10-24 01:19:00 +01:00
Shantur Rathore
6e4fa9479e Mark task 021 as complete 2025-10-23 22:46:34 +01:00
Shantur Rathore
54569b166d Add command palette with 19 commands and improved keyboard navigation
Implement VSCode-style command palette (Cmd+Shift+P) with comprehensive command organization:
- 19 commands organized into 5 categories: Instance, Session, Agent & Model, Input & Focus, System
- Category-based grouping with proper visual hierarchy
- Keyboard shortcuts displayed for all applicable commands
- Search/filter by command name, description, keywords, or category

Add keyboard shortcuts:
- Cmd+Shift+A: Open agent selector
- Cmd+Shift+M: Open model selector (existing)
- Instance/Session navigation shortcuts (Cmd+[/], Cmd+Shift+[/])

Fix keyboard navigation:
- Model selector now highlights options with arrow keys using data-[highlighted] attribute
- Agent selector properly opens via keyboard shortcut
- Global keyboard handler skips Combobox/Select components to allow native navigation

Improve discoverability:
- Prominent centered Command Palette hint in connection status bar
- Keyboard shortcut hints next to agent and model selectors

Complete task 020-command-palette
2025-10-23 22:32:49 +01:00
Shantur Rathore
b06b8104a5 Add task specifications for Phase 5 advanced input features
- 015-keyboard-shortcuts.md (completed)
- 020-command-palette.md (completed)
- 021-file-attachments.md (next: @mentions, drag-drop, chips)
- 022-long-paste-handling.md (summarize long pastes)
- 023-symbol-attachments.md (LSP integration)
- 024-agent-attachments.md (agent context)
- 025-image-clipboard-support.md (image handling)
2025-10-23 21:40:19 +01:00
Shantur Rathore
3c5c4755b8 Add logs tab with real-time server output and consolidate syntax highlighting
- Implement dedicated Logs tab showing stdout/stderr from OpenCode server
- Add log level parsing (INFO, ERROR, WARN, DEBUG) with color coding
- Stream logs from main process to renderer via IPC events
- Persist scroll position and auto-scroll state per instance
- Synchronize instance IDs between renderer and main process
- Consolidate syntax highlighting to single shared highlighter instance
- Optimize markdown rendering with global highlighter initialization
- Fix code block copy button to always appear on right side
- Enable debug logging with --print-logs --log-level DEBUG flags
2025-10-23 11:14:35 +01:00
Shantur Rathore
b836086978 Add markdown rendering with syntax highlighting and copy buttons
- Implement markdown parser using marked with Shiki syntax highlighting
- Add CodeBlockInline component for tool call outputs with syntax highlighting
- Add Markdown component for assistant message text with code blocks
- Add ThemeProvider for light/dark mode support
- Add copy buttons to all code blocks (markdown and tool calls)
- Support 20+ languages: TypeScript, JavaScript, Python, Bash, JSON, HTML, CSS, C++, Java, C, C#, Rust, Go, PHP, Ruby, Swift, Kotlin, and more
- Auto-detect language from file extensions in tool call outputs
- Apply consistent styling for code blocks across the application
- Fix whitespace handling in markdown-rendered text
- Add language labels to all code blocks
2025-10-23 10:07:17 +01:00
Shantur Rathore
7cf0f9a179 Add agent and model selection with automatic defaults and subagent support
- Implement automatic agent/model selection for new sessions (first agent, prioritize Anthropic default)
- Extract and restore agent/model from last assistant message when resuming sessions
- Add subagent support: child sessions can select subagents, parent sessions cannot
- Display subagent badge in agent dropdown for identification
- Truncate agent descriptions to 50 characters in dropdown
- Improve model search to include full provider/model ID path
- Auto-select input text on focus for easy model search
- Add getDefaultModel() with priority: agent model → Anthropic → first provider
2025-10-23 09:25:26 +01:00
Shantur Rathore
0add900f1b Mark task 010 as complete 2025-10-23 01:18:32 +01:00
Shantur Rathore
d7f619486e Implement comprehensive tool call rendering with state persistence
- Implement tool-specific rendering for all 14 tool types (read, edit, write, bash, webfetch, todowrite, task, etc.)
- Each tool shows contextually relevant information (file previews, diffs, command output, todo lists)
- Add metadata-driven content display using preview, diff, output, and todos from tool state
- Implement status-based rendering (pending, running, completed, error) with animations
- Create global state store for expandable items (tool calls and reasoning sections)
- Fix state persistence: expanded tool calls and reasoning sections remain expanded when new messages arrive
- Fix scroll position preservation during live message updates
- Fix reasoning toggle loop by replacing native details element with custom expandable
- Add comprehensive documentation in TOOL_CALL_IMPLEMENTATION.md
- Reduce font sizes for better readability in expanded tool content
- Add proper keying to For loops to prevent component recreation
- Match TUI patterns for tool names, actions, and content formatting
2025-10-23 01:18:25 +01:00
Shantur Rathore
fa77b4e82e Working messages display 2025-10-22 22:10:51 +01:00