Commit Graph
448 Commits
Author SHA1 Message Date
Chris Scott 19963f579e fix: remove automatic orphaned directory cleanup on startup (#128) (#132) 2026-02-14 08:46:57 -05:00
Chris Scott 67c750300c Bump version to 0.8.30 v0.8.30 2026-02-13 23:45:45 -05:00
Chris Scott 626e2b1954 fix: service worker improvements for PWA reliability (#127) 2026-02-13 23:43:29 -05:00
Chris Scott 79b034d3ba Add swipe-to-delete functionality and manage mode for session cards (#126)
Introduces swipe gesture on mobile to reveal delete button, plus manage mode toggle enabling bulk selection and deletion capabilities
2026-02-13 22:21:00 -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 b42f7b5010 Resize social preview image to 1200x630 2026-02-13 13:44:36 -05:00
Chris Scott 8131f1d411 Bump version to 0.8.29 2026-02-13 13:44:36 -05:00
Chris Scott e3051b8aef Implement PWA splash screens and fix service worker registration (#124)
- Add iOS splash screen images and media query entries for all device sizes
- Fix splash screen media query for iPhone SE/8 (375x667 at 2x)
- Simplify registerServiceWorker to fire-and-forget void function
- Add workbox-core and workbox-window as dev dependencies for SW build
2026-02-13 09:12:56 -05:00
Chris Scott 87dc4edef8 fix: add missing environment setup steps to Docker quickstart
- Set NODE_ENV=production in .env.example
- Add AUTH_SECRET generation and env file copy to Docker quickstart
- Resolve issues #122: missing AUTH_SECRET and NODE_ENV causing startup failures
2026-02-13 00:15:11 -05:00
Chris Scott 3f9c398b31 feat: MCP OAuth flow improvements (#123)
Rewrite OAuth flow handle authentication entirely in web app with secure proxy
- Add MCP OAuth proxy with origin validation and callback handling
- Remove auto OAuth method from authentication flow
- Fix TypeScript build errors
- Add directory support for MCP OAuth flows and improve config manager UI
- Reload session caches after MCP connection changes
2026-02-13 00:10:56 -05:00
Chris Scott 7824d52fb8 Bump version to 0.8.28 v0.8.28 2026-02-11 22:59:12 -05:00
Chris Scott 7341dce1ef Add skip SSH host key verification and fix self-hosted server support (#121)
* Add SSH host key verification with automatic trust and SCP-style URL support

* Fix TypeScript errors for SSH host key schema and test mocks
2026-02-11 22:58:13 -05:00
Chris Scott 677ce748cd Improve git settings UI and credential management (#119)
Remove collapsible sections and batch save, implement immediate credential CRUD with toast feedback. Add default hosts for credential types and improve responsive layout in credential dialog.
2026-02-08 19:24:04 -05:00
Chris Scott abec58282b Add SSH Authentication feature and bump version to 0.8.27
- Add SSH key authentication for git repositories
- Host key verification with fingerprint display
- Support for passphrase-protected SSH keys
- Custom SSH port support for non-standard ports
- Known hosts management with change detection
- Update documentation in README and docs/features/git.md
- Add SSH authentication to features overview
v0.8.27
2026-02-08 14:31:38 -05:00
Chris Scott 6b30d13124 Feat/improve cache load state (#118)
* Fix auth logout redirect and add tree node spacing

* Remove app loader animation and related cleanup

Removes custom app loader UI from index.html and useEffect in App.tsx that handled loader fade-out transition
2026-02-08 14:20:55 -05:00
Chris Scott bfe7954825 Fix dialog positioning main (#117)
* Fix mobileFullscreen dialog positioning on desktop

* Refactor dialogs with consistent footer layout and z-index stacking
2026-02-08 12:30:19 -05:00
Chris Scott 20af85ea9f Fix mobileFullscreen dialog positioning on desktop (#116) 2026-02-08 10:03:02 -05:00
Chris Scott f5ffffba7b Improve dialog z-index layering and GitCredentialDialog responsiveness (#115) 2026-02-08 09:55:37 -05:00
Chris Scott 414f39b809 feat: SSH Authentication Keys v2 (#113)
* feat: add SSH authentication keys v2 for Git operations

Add comprehensive SSH key authentication support for Git operations including:
- SSH host key verification with user approval flow
- Encrypted SSH key storage with passphrase support
- SSH connection testing endpoint
- Real-time host key change warnings

Backend changes:
- New SSHHostKeyHandler for managing host key verification via IPC
- Add passphrase handler for locked SSH keys
- Add SSH key manager utilities (key writing, validation, cleanup)
- Add crypto utilities for secure key/secret encryption
- Add SSH validation utilities for key format checking
- Add SSH routes for host key response handling
- Enhance GitAuthService with SSH setup and environment methods
- Update GitService to handle SSH authentication for push/fetch/pull
- Update OpenCode server to support SSH keys with SSH config generation
- Add database migration for trusted_ssh_hosts table
- Add settings endpoint for SSH connection testing

Frontend changes:
- Add SSHHostKeyDialog for host key verification UI
- Add PassphraseModal for SSH key passphrase input
- Update GitCredentialDialog with SSH key type and testing
- Update GitSettings to manage SSH keys
- Add SSH API client and hooks (useSSH, usePassphraseHandler)

Shared changes:
- Add SSH schemas and types

Test coverage:
- Integration tests for SSH flow
- IPC handler tests for host key and passphrase
- SSH route tests
- SSH utility validation tests
- Updated existing tests for SSH-aware changes
2026-02-08 00:06:44 -05:00
Chris Scott 3d5ee463d7 docs: update AGENTS.md to use port 5003 for backend 2026-02-07 00:00:25 -05:00
Chris Scott a513712745 docs: comprehensive documentation updates for v2 infrastructure changes 2026-02-06 23:59:58 -05:00
Chris Scott 67ace0ae89 Update README with hero social preview image 2026-02-06 23:26:22 -05:00
Chris Scott e3716bb294 Refactor: Consolidate git services into single GitService class + Settings dialog improvements (#111)
* refactor: consolidate git services into single GitService class

Merges GitBranchService, GitCommitService, GitDiffService, GitFetchPullService,
GitLogService, GitPushService, and GitStatusService into one cohesive GitService
that simplifies architecture and follows SOLID principles. Updates all route
handlers and tests to use the new consolidated service. Moves GitBranch interface
to shared types location.

* Refactor settings dialog to use URL-based state management with tab synchronization

* Update social preview image
2026-02-06 21:59:18 -05:00
Chris Scott b5eef317bd Replace X icon with SquareFill for stop button 2026-02-06 12:36:59 -05:00
Chris Scott e25acf6e61 chore: bump version to 0.8.25 v0.8.25 2026-02-06 11:24:31 -05:00
Chris Scott ae644e851d feat: add push notifications with VAPID (#110)
* Add OAuth authentication support for MCP servers

* Improve mobile text sizing with responsive text classes

* refactor: improve virtualized text viewer with React Query infinite scroll and simplified buffering

* Add push notifications with VAPID and PWA support

* feat: add VAPID environment variables for push notifications

* Replace SquareFill with MicOff icon for stop recording buttons

* Send push notifications when app is not focused

* Fix stop generation button icons to use X instead of MicOff

* feat: enhance push notification logging and debugging

- Add structured logging throughout push notification flow
- Improve error handling with detailed diagnostics
- Add /api/notifications/debug endpoint for troubleshooting
- Enhanced test notification response with per-subscription results
- Add service worker logging and better install/activate handling

* Improve VAPID push notification configuration with validation and better defaults

- Add validation warnings for VAPID_SUBJECT format (requires mailto: prefix for iOS/Safari)
- Expose VAPID details via notifications API endpoint
- Update default VAPID_SUBJECT from mailto:admin@opencode.local to empty string
- Enhance VAPID logging with key lengths and subject info
- Improve documentation in .env.example with setup instructions

* Fix notification URL to use repo ID instead of filesystem path

* Clean up push notification logging and debug endpoints

* Add push notifications documentation
2026-02-06 11:23:10 -05:00
Chris Scott 3d9e9b8322 chore: bump version to 0.8.24 v0.8.24 2026-02-05 20:20:14 -05:00
Chris Scott f570758b74 refactor: improve virtualized text viewer with React Query infinite scroll and simplified buffering (#108)
* Add OAuth authentication support for MCP servers

* Improve mobile text sizing with responsive text classes

* refactor: improve virtualized text viewer with React Query infinite scroll and simplified buffering
2026-02-05 20:18:27 -05:00
Chris Scott c453235839 Frontend improvements: responsive design, SSE reliability, and cache management (#107)
* Add SSE reconnection before critical actions and handle Cloudflare 524 errors

* refactor: improve responsive layout in QuestionPrompt component

* fix: proper cache updates for OpenCode version on install/upgrade
2026-02-05 18:55:40 -05:00
Chris Scott 30747cb416 Merge dev to main - Fetch API migration & install method detection 2026-02-03 16:46:09 -05:00
Chris Scott 8955573037 Update settings tests to expect opencode install method argument 2026-02-03 16:46:04 -05:00
Chris Scott 99a8f8881a Fix getProviders return type handling in frontend 2026-02-03 16:36:59 -05:00
Chris Scott e3cf6482ef Add OpenCode install method detection and improve process termination handling 2026-02-03 16:04:32 -05:00
Chris Scott bdd0408346 Fix missing timer cleanup in TTS route tests
Add afterEach to useRealTimers to prevent timer leak between tests
in getCachedAudio describe block
2026-02-03 15:35:11 -05:00
Chris Scott 8233fec1a9 Standardize on fetch and remove axios dependency 2026-02-02 23:58:16 -05:00
Chris Scott 264451a1f7 Merge branch 'main' into dev 2026-02-02 22:28:21 -05:00
Chris Scott 6764c6b513 Refactor voice settings to optionally support API-less STT and reorganize settings UI
- Make STT API key optional and remove continuous mode field
- Consolidate TTS and STT settings into new Voice settings tab
- Convert audio recorder from MediaRecorder to AudioContext with WAV output
- Improve STT backend validation and response handling
- Update tests for optional API key scenarios
2026-02-02 22:27:45 -05:00
Chris Scott 395d41eb6e chore: bump version to 0.8.22 v0.8.22 2026-02-01 21:53:58 -05:00
Chris Scott 8c7db54e2b Merge branch 'main' into dev 2026-02-01 21:50:16 -05:00
Chris Scott 40c954488e Merge dev to main - SSE refactoring & UI improvements (#105)
* Remove unused variables from routes and migrations

* Use structured logging instead of console in archive service

* Remove unused test variables and configure ESLint for test files

* refactor sse directory management with reference counting and improve message invalidation

* simplify question prompt Other option handling and increase max height

Remove redundant Cancel/Confirm buttons, use main Next/Confirm button for custom input, prevent double selection in single-select mode, auto-scroll textarea on focus, increase max-height from 40vh to 70vh
2026-02-01 21:49:29 -05:00
Chris Scott 13ea42c532 simplify question prompt Other option handling and increase max height
Remove redundant Cancel/Confirm buttons, use main Next/Confirm button for custom input, prevent double selection in single-select mode, auto-scroll textarea on focus, increase max-height from 40vh to 70vh
2026-02-01 21:44:53 -05:00
Chris Scott 910f18f2aa refactor sse directory management with reference counting and improve message invalidation 2026-02-01 21:15:42 -05:00
Chris Scott 504ad64b58 Remove unused test variables and configure ESLint for test files 2026-02-01 21:08:38 -05:00
Chris Scott 89a53d7645 Use structured logging instead of console in archive service 2026-02-01 21:08:38 -05:00
Chris Scott 65434c166a Remove unused variables from routes and migrations 2026-02-01 21:08:37 -05:00
Chris Scott 81e1fba687 Merge dev to main - UI improvements & code cleanup (#104)
* Fix TypeScript error in git-errors.ts

* Remove code review documentation

* Improve stt response time

* Fix repo navigation when download dialog closes
2026-02-01 14:11:27 -05:00
Chris Scott 059b9a172c chore (#103)
* Fix TypeScript error in git-errors.ts

* Remove code review documentation
2026-02-01 11:05:22 -05:00
Chris Scott 11eddb1de3 Security: Update dependencies for CVE fixes and infrastructure improvements (#102)
* Update dependencies for CVE security fixes

- Update hono from ^4.10.1 to ^4.11.7
- Update react-router-dom from ^7.9.4 to ^7.13.0

All tests passing, no breaking changes detected

* Refactor SSE to use Hono's built-in streamSSE

* Revert SSE implementation and update Docker upgrade script
2026-02-01 10:58:39 -05:00
theepicsaxguy c32819fc1c feat: auto-create remote branches on push (#91) 2026-01-31 12:06:07 -05:00
Chris Scott eccd49e877 Enhance download options and improve git error handling (#100)
* Fix download dialog to show gitignored paths with opt-in selection

- Add getIgnoredPathsList API to detect gitignored files from git root
- Fix git check-ignore to run from proper git root directory
- Add ignored paths checkboxes in download dialog for opt-in inclusion
- Support includeGit and includePaths options in download endpoints
- Fix dialog button event handling to prevent page reload

* Add clone timeout and improve git error handling

* Refactor path extraction in download-zip endpoint
2026-01-31 09:39:45 -05:00