Commit Graph
410 Commits
Author SHA1 Message Date
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
Chris Scott a02f7a2e98 Bump version to 0.8.21 (#99)
* Add timeout handling and recovery for OpenCode upgrade/install operations

- Extract DEFAULT_AGENTS_MD to constants file
- Add 90s timeout for opencode upgrade/install commands
- Implement server recovery when upgrade/install fails
- Update frontend error handling for recovery status
- Add settings route tests

* Add centralized query cache invalidation utility

* Bump version to 0.8.21
v0.8.21
2026-01-30 22:39:24 -05:00
Chris Scott 3661f0a271 Fix file routes path handling and improve error utilities (#96) 2026-01-29 21:57:31 -05:00
Chris Scott 6dab89d6c4 Add GitHub Copilot code review setup and CI workflow (#93) 2026-01-29 08:44:28 -05:00
Serge the Lion 485fc67aa7 docs: update recommended NodeJS version in docs (#86) 2026-01-27 11:25:43 -05:00
Chris Scott 82c16816cc Update demo GIF with slower animation 2026-01-27 10:06:41 -05:00
Chris Scott 4a0485daf0 Reduce demo GIF height in README for better fit 2026-01-27 09:53:39 -05:00
Chris Scott d72a12675c Merge branch 'dev' v0.8.2 2026-01-27 09:52:15 -05:00
Chris Scott 7edb54b6d9 Bump version to 0.8.2 2026-01-27 09:51:59 -05:00
Chris Scott a05535e0ef Fix SSE reliability and message delivery for production environments (#85)
* Switch to sync prompt endpoint for reliable message delivery

Use the synchronous /message endpoint instead of /prompt_async to ensure
the UI receives authoritative response data. This matches OpenCode TUI
behavior and prevents message desync during sub-agent tasks.

* Add SSE heartbeat to prevent Cloudflare 524 timeout
2026-01-27 09:50:15 -05:00
Chris Scott b56f1fdf7e Add SSE heartbeat to prevent Cloudflare 524 timeout 2026-01-27 09:39:58 -05:00
Chris Scott ffa7e413d4 Switch to sync prompt endpoint for reliable message delivery
Use the synchronous /message endpoint instead of /prompt_async to ensure
the UI receives authoritative response data. This matches OpenCode TUI
behavior and prevents message desync during sub-agent tasks.
2026-01-27 09:16:11 -05:00
Chris Scott d78bb120ed fix sse frontend issue (#84) 2026-01-27 00:38:59 -05:00
Chris Scott 020f4564f5 Bump version to 0.8.1 v0.8.1 2026-01-26 23:20:42 -05:00
Chris Scott 52fd2381a2 Add Speech-to-Text feature documentation to README 2026-01-26 23:17:05 -05:00
Chris Scott 5562228703 Add GitHub Actions workflow to deploy MkDocs to GitHub Pages 2026-01-26 23:12:09 -05:00
Chris Scott da6cad8b3a Add comprehensive documentation and download feature (#83)
* fix: markdown files now default to rendered view and render properly

- Add .md and .mdx MIME type support in backend (files.ts, defaults.ts)
- Add key props to FilePreview components to force proper remounting when switching files
- Fix markdown file detection with case-insensitive extension check
- Reset markdownPreview state when file changes to ensure correct default view
- Add onContentLoaded callback to VirtualizedTextView for reactive content updates
- Add fullContent state to properly handle large markdown file rendering
- Add error handling for async content loading to prevent blank screens
- Reduce loading timeout from 50ms to 0ms for more responsive loading

Fixes issues where:
- Markdown files opened in raw view instead of rendered view
- Large markdown files (12k+ lines) showed blank after loading completed
- State persisted incorrectly when switching between different file types

* Add directory download feature with ZIP archive support

* Improve voice recording UX with loading states and better transcript handling

* Fix auth config for prod/dev ports and add documentation

Update AUTH_TRUSTED_ORIGINS and PASSKEY_ORIGIN to use backend port 5003 (frontend uses 5173 in dev). Add comprehensive auth documentation covering secrets, trusted origins, admin reset, and passkeys. Update README and add mkdocs config.

* Remove roadmap section from README
2026-01-26 23:09:27 -05:00
Chris Scott 358abbf20e Bump version to 0.8.0 and remove CHANGELOG.md (using GitHub Releases) v0.8.0 2026-01-26 13:10:26 -05:00
Chris Scott cb1714a4e0 Merge dev: STT feature, git date fixes, and session improvements (#82)
* fix session last active

* Feature/sst (#81)

* Use CSS field-sizing for textarea auto-height and abort STT recording on clear

* Fix invalid date display in git commits

* Use Unix timestamps for git log dates
2026-01-26 13:03:02 -05:00
Chris Scott 21010956f7 fix session last active (#80) 2026-01-25 22:49:04 -05:00
Chris Scott 50d74bff9f Fix session timestamp display showing NaN on mobile 2026-01-25 21:22:44 -05:00
Chris Scott 555d664306 Fix SSE client cleanup on disconnect and remove test endpoint 2026-01-25 21:22:44 -05:00
CS 1f868f46ca Fix SSE duplicate Transfer-Encoding headers
Replace Hono's streamSSE with manual stream implementation to avoid
sending duplicate Transfer-Encoding: chunked headers which cause
nginx/Cloudflare to reject responses with 502 errors.

Manually formats SSE messages with proper event/data structure
and sets Content-Type: text/event-stream headers.
2026-01-25 21:22:44 -05:00
Chris Scott 5d5c4d140a Add SSE test endpoint for debugging tunnel issues 2026-01-25 21:22:15 -05:00
Chris Scott 2c9b7dcebb Add proxy-compatible headers to SSE stream endpoint 2026-01-25 21:22:15 -05:00
Chris Scott ee5cb4173f SSE proxy compatibility and worktree support (#79) 2026-01-25 21:13:07 -05:00
Chris Scott 204e79c713 Add worktree support and consolidate branch management UI (#78)
* Fix git credential saving and improve host matching

- Fix token masking bug in GitCredentialDialog that corrupted tokens on edit
- Add tokenEdited state to preserve original token when not modified
- Default new credential host to https://github.com
- Add normalizeHostname helper for consistent host comparison
- Improve credential lookup logging to show configured vs requested hosts
- Remove overly permissive fuzzy matching that could leak tokens

* Make OpenCode reload non-fatal when saving git credentials

Settings are now saved to database even if the OpenCode server reload
fails. The reload error is returned separately so the UI can inform
the user that credentials were saved but the server needs a manual
restart.

* Fix git fetch using credentials in silent mode

Previously, silent mode (used for UI fetch operations) would skip
credential lookup entirely and return empty, causing auth failures.
Now credentials are always looked up via IPC regardless of silent mode.

* Add worktree support and consolidate branch management UI

* Remove duplicate SECURE_COOKIES property from auth config

* Bump version to 0.7.8
v0.7.8
2026-01-25 11:06:57 -05:00
Chris Scott fb9413782a Bump version to 0.7.7 v0.7.7 2026-01-25 00:39:37 -05:00
Chris Scott 24aa4f6c83 Dev (#77)
* Fix git credential saving and improve host matching

- Fix token masking bug in GitCredentialDialog that corrupted tokens on edit
- Add tokenEdited state to preserve original token when not modified
- Default new credential host to https://github.com
- Add normalizeHostname helper for consistent host comparison
- Improve credential lookup logging to show configured vs requested hosts
- Remove overly permissive fuzzy matching that could leak tokens

* Make OpenCode reload non-fatal when saving git credentials

Settings are now saved to database even if the OpenCode server reload
fails. The reload error is returned separately so the UI can inform
the user that credentials were saved but the server needs a manual
restart.

* Fix git fetch using credentials in silent mode

Previously, silent mode (used for UI fetch operations) would skip
credential lookup entirely and return empty, causing auth failures.
Now credentials are always looked up via IPC regardless of silent mode.
2026-01-25 00:38:47 -05:00
Chris Scott 3a8d4993c1 Bump version to 0.7.6 v0.7.6 2026-01-24 23:49:16 -05:00
Chris Scott b9f0d539eb Add documentation for HTTP/LAN deployment configuration 2026-01-24 23:49:01 -05:00
Chris Scott 6cca332e0a Fix admin password reset to use Better Auth hashing 2026-01-24 23:48:46 -05:00
CS 31d8d53f7c Add AUTH_SECURE_COOKIES config and improve CORS origin handling 2026-01-24 23:36:25 -05:00
Chris Scott 10fd14ac4d Add baseURL and basePath to Better Auth config 2026-01-24 18:35:16 -05:00
Chris Scott ddb3ce214d Add debug logging for auth troubleshooting 2026-01-24 18:34:54 -05:00
Chris Scott ae09fa8492 Fix CORS to support credentials for cross-origin auth 2026-01-24 18:29:16 -05:00
Chris Scott 887f4867ab Fix SSE auth by adding withCredentials for cross-origin support 2026-01-24 18:28:59 -05:00
Chris Scott b34bf94290 Add AUTH_TRUSTED_ORIGINS config for remote access 2026-01-24 18:12:34 -05:00
Chris Scott 03a9fc0fc5 Remove unused SANDBOX_TTL_HOURS and CLEANUP_INTERVAL_MINUTES env vars 2026-01-24 17:54:34 -05:00