Commit Graph
30 Commits
Author SHA1 Message Date
Chris Scott 4cfe692bd2 refactor(sse): batch parts directory-aware and serialize backend writes 2026-06-06 00:23:24 -04:00
Chris Scott 98c198e0e0 feat: add sub-agent task rendering and improve task tool display 2026-04-24 09:18:15 -04:00
Chris Scott adf77516e5 feat(frontend): add simple chat mode (#190)
* loop: simple-chat-mode completed after 1 iterations

* feat(frontend): add simple chat mode for user messages and clean up redundant optimistic filtering

* refactor(frontend): consolidate status indicators and simplify simple chat mode

- Merge MiniScanner and CompactStatusIndicator into SessionStatusIndicator with size and showLabel props
- Hide step-finish cost/token display in simpleChatMode
- Update SessionCard and PromptInput to use unified SessionStatusIndicator
- Add tests for step-finish rendering in simpleChatMode
2026-04-23 11:37:24 -04:00
Chris Scott 725122b588 refactor: inline message parts with batched SSE updates (#137) 2026-02-16 10:47:37 -05:00
Chris Scott 5de419ee28 fix issues (#136)
* fix: prevent delete button click when card is not swiped open

* refactor: improve CreateRepoInput type safety

* security: require AUTH_SECRET and use secure random generation

* fix: SSH key path validation, async passphrase stripping, and port handling

* fix: use correct console methods for logger levels

* Add error handling to DB update functions and improve migration logging

* Add error handling for session lookup in auth middleware

* Add structured git error handling with user-friendly messages

- Parse git errors with specific error codes (AUTH_FAILED, REPO_NOT_FOUND,
  PUSH_REJECTED, MERGE_CONFLICT, etc.) and appropriate HTTP status codes
- Return structured error responses with summary and detail from backend
- Add GitErrorBanner component for better error display in UI
- Add optional onError callback to useGit hook for external error handling

* Make IPC server initialization/disposal async and fix SSH host key handler

* add try-catch error handling in frontend lib utilities

* remove unresolved promise handlers in speech synthesizer callbacks

* Extract error types to shared package

* Import GitErrorCode from shared package

* Refactor API layer to use shared FetchError and fetchWrapper

* Update prompt parser and source control components

* Extract MCP server list to separate component with improved badge menu UX

* merge useSettingsDialogUrl into useSettingsDialog and extract getRepoDisplayName utility

* add separate loading state for passkey sign in

* refactor hooks: use fetchWrapper, improve error handling, add proper types

* replace browser confirm() with DeleteDialog component in settings

* fix: add missing variables parameter in React Query onError callbacks

* Refactor message parts to use separate Zustand store

* Update QuestionPrompt styling for light/dark mode
2026-02-15 19:48:03 -05:00
Chris Scott cb21e66339 Refactor task list display and enhance model selection with provider validation (#125) 2026-02-13 20:35:07 -05:00
Chris Scott e6156f3c47 chore: bump version to 0.7.3, set package to public, and add per-session agent mode switching
Changes:
- Bump version to 0.7.3
- Set package.private to false
- Add useSessionAgent hook for per-session agent mode
- Remove global mode preference, use session-level mode
- Add mobile drag-and-drop toggle for repo list
- Improve repo card UI with truncation and compact status
- Fix TypeScript errors in repo.ts (undefined handling)
2026-01-23 17:08:18 -05:00
Chris Scott b0f67c6328 Improve message editing UI with inline edit button and mobile responsiveness 2026-01-22 22:26:20 -05:00
Chris Scott 023e51d98b Add optimistic UI updates for prompt sending and fix duplicate logic in message editing 2026-01-22 21:11:16 -05:00
Chris Scott 078fbd1a05 Add config sync mode to prevent config file overwrites on startup (#63)
Fixes #62

- Config file in workspace volume is now the source of truth
* Preserve raw config content with comments instead of re-stringifying parsed JSON
* Sync provider credentials to OpenCode server when adding or removing API keys
* Add error handling for session errors with toast notifications and inline message display
* Refactor provider settings to manage API keys directly with edit/delete support
2026-01-15 10:39:38 -05:00
Chris Scott cd8d87710e Fix message ID comparison for alphanumeric IDs 2026-01-13 00:16:09 -05:00
Chris Scott a6fd795eaa Implement session-level todo state management with inline display 2026-01-04 18:08:09 -05:00
Chris Scott ac188c953b Remove console.log debug statements and cleanup debug code 2025-12-25 10:38:01 -05:00
Chris ScottandChris Scott 0cbfe2e358 Fix pnpm resources (#29)
* Add message undo/refresh features and stop audio floating button

* Exclude workspace directory from pnpm workspace detection

---------

Co-authored-by: Chris Scott <chris@cstech.dev>
2025-12-21 09:46:38 -05:00
OpenCode Agent 6c4daaeae7 Add message undo/refresh functionality with editable user prompts
- Add revertMessage and unrevertSession methods to OpenCode API client
- Create useRemoveMessage and useRefreshMessage hooks for message operations
- Add MessageActionButtons component with X (remove) and refresh buttons
- Add EditableUserMessage component for editing prompts before resend
- Update MessageThread to integrate action buttons and editable messages
- Update AGENTS.md with improved guidelines and pnpm preference
2025-12-16 18:53:31 +00:00
Chris Scott 7fdf776b50 Add message queuing and retry handling with status indicators 2025-12-07 23:47:23 -05:00
Chris Scott dc7964021d Add @ mention support for agents and files, extract CopyButton component 2025-12-06 11:21:06 -08:00
Chris Scott 8c0689eac8 Update UI components and refactor message display 2025-11-29 20:23:45 -05:00
Chris Scott 2d7de3496f Consolidate all scroll logic into useAutoScroll hook 2025-11-29 12:13:38 -05:00
Chris Scott 494d2907fa Move useAutoScroll hook to SessionDetail and pass scroll functions to children 2025-11-29 12:07:23 -05:00
Chris Scott 2a74d6d7f5 Extract scroll logic into reusable useAutoScroll hook 2025-11-29 12:00:46 -05:00
Chris Scott 652b08d363 Auto-scroll during streaming after user sends a message 2025-11-29 11:58:47 -05:00
Chris Scott 8317eb9e98 Simplify scroll behavior to only auto-scroll on initial session load 2025-11-29 10:11:52 -05:00
Chris Scott ae929a7c96 Fix intermittent mobile scroll lock and suppress expected git errors on empty repos 2025-11-29 00:02:10 -05:00
Chris Scott f90683071f Fix mobile scroll on session reload and git errors on empty repos 2025-11-28 22:33:51 -05:00
Chris Scott fb91b4d3a3 Add TTS support with OpenAI-compatible endpoint configuration
- Add TTS settings schema and configuration UI with validation
- Create backend TTS proxy with 24hr file-based caching
- Add frontend useTTS hook with Cache API caching
- Add TTS playback button on assistant messages (step-finish)
- Include test button to verify TTS configuration
2025-11-28 19:52:35 -05:00
Chris Scott 64e49a8a52 Improve chat UI with scroll management and bash command handling 2025-11-28 17:07:51 -05:00
Chris Scott 9a2ebc9652 Fix mobile chat layout overflow and sticky prompt input 2025-11-27 22:00:36 -05:00
Chris Scott 4cac704207 Optimize file browser performance with memoization and improve virtualized text rendering 2025-11-27 14:19:33 -05:00
Chris Scott bbf66c259b Initial release v0.2.5 2025-11-23 23:25:27 -05:00