Commit Graph
33 Commits
Author SHA1 Message Date
Chris Scott 913c427f6b Add roadmap link to README 2026-01-15 18:19:24 -05:00
Chris Scott 614c6ebce8 Fix local development instructions to use pnpm
Closes #35
2025-12-29 23:19:05 -05:00
Chris Scott 87f79c63af Fix chat screenshot sizing in README 2025-12-26 22:30:54 -05:00
Chris Scott 1e508174b9 Fix inline diff to match mobile column layout 2025-12-26 22:23:43 -05:00
Chris Scott 817fe3d370 Add height constraint to inline diff screenshot 2025-12-26 22:23:04 -05:00
Chris Scott df37cb0669 Reduce inline diff screenshot width to 500px 2025-12-26 22:22:46 -05:00
Chris Scott e8c62d7f3f Add width constraint to inline diff screenshot 2025-12-26 22:22:21 -05:00
Chris Scott a951ce1021 Fix inline diff screenshot URL 2025-12-26 22:21:58 -05:00
Chris Scott 3224bf7923 Reorganize screenshots section with table layout 2025-12-26 22:20:23 -05:00
Chris Scott e51537d92d Update README screenshots with new images 2025-12-26 22:12:00 -05:00
Chris Scott ecf00cc4ef Update README with TTS features and Mermaid diagram support 2025-12-21 23:48:49 -05:00
Chris Scott 433c2da50d Add global AGENTS.md editor and expose dev server ports 5100-5103 2025-12-12 23:38:14 -05:00
Chris Scott af9f645f30 Add ZIP download feature for repositories
- Add archive service to create ZIP files excluding gitignored files
- Add download endpoint to backend repo routes
- Add download button to repo cards with loading state
- Update README with new ZIP download feature
2025-12-12 20:48:38 -05:00
Chris Scott fa814d4926 Update README with mobile-first description and code formatting 2025-12-12 19:16:49 -05:00
Chris Scott 7a647cb316 Fix README Docker clone URL to use correct repository username
- Update clone URL from cstech-dev to chriswritescode-dev
- Fixes issue #17 where users couldn't clone the repository
- Ensures Docker installation instructions work correctly
2025-12-12 14:08:41 -05:00
Chris Scott d648ef38f0 Revert asset URLs to working opencode-web releases, keep container name update
- Keep demo assets pointing to existing opencode-web releases
- Keep docker exec command updated to opencode-manager container name
2025-12-12 14:06:11 -05:00
Chris Scott 38d5727a95 Update README references from opencode-web to opencode-manager
- Update demo asset URLs to new repository
- Update docker exec command to use new container name
- Update version numbers in asset URLs to 0.4.0
2025-12-12 14:04:04 -05:00
Chris Scott 8d0d961e50 Rename project from opencode-webui to opencode-manager
- Update package names from opencode-webui to opencode-manager
- Update all backend import statements to use @opencode-manager/shared
- Update Docker configuration and container name
- Update README.md with new repository URLs and project title
- Update frontend assets and titles
- Update version to 0.4.0
- Update docker entrypoint script comments

This change maintains all functionality while better reflecting the
project's purpose as a comprehensive management interface for OpenCode.
2025-12-12 13:58:08 -05:00
Chris Scott 48b235d3da Simplify OAuth documentation in README 2025-12-07 23:04:24 -05:00
Chris Scott bc99c96021 Add OAuth provider authentication support (#14)
* feat: Implement OAuth support for provider authentication

- Add OAuth routes and API endpoints for authorize/callback flows
- Create OAuthAuthorizeDialog and OAuthCallbackDialog components
- Extend ProviderSettings to support both OAuth and API key auth
- Add OAuth credential support to auth service
- Update shared schemas with OAuth request/response types
- Support both 'auto' and 'code' OAuth flows
- Maintain backward compatibility with existing API key authentication

Backend:
- backend/src/routes/oauth.ts (new)
- backend/src/services/auth.ts (extended)
- backend/src/index.ts (route registration)

Frontend:
- frontend/src/api/oauth.ts (new)
- frontend/src/components/settings/OAuthAuthorizeDialog.tsx (new)
- frontend/src/components/settings/OAuthCallbackDialog.tsx (new)
- frontend/src/components/settings/ProviderSettings.tsx (enhanced)

Shared:
- shared/src/schemas/auth.ts (OAuth schemas)

* feat: Complete OAuth implementation with comprehensive features

- Add comprehensive error handling for OAuth failures with specific error messages
- Implement OAuth token status checking and expiration monitoring
- Add token refresh preparation with 5-minute expiration buffer
- Enhance OAuth API client with detailed error reporting
- Update OAuth routes to include database parameter and token status endpoint
- Add complete OAuth documentation to README with setup guide
- Improve user experience with clear error messages and troubleshooting steps
- Support both auto and code OAuth flows for different providers
- Maintain backward compatibility with existing API key authentication

Error Handling:
- Specific error messages for invalid codes, expiration, access denied
- Graceful fallback for server errors and network issues
- User-friendly error display in OAuth dialogs

Token Management:
- Token status endpoint for checking credential validity
- Expiration monitoring with automatic refresh preparation
- Secure storage of OAuth credentials alongside API keys

Documentation:
- Complete OAuth setup guide in README
- Comparison table for OAuth vs API keys
- Troubleshooting section for common OAuth issues

* fix: Resolve OAuth button opening API key dialog instead

- Add isOAuthMode state to track authentication mode
- Update API key dialog to only open when not in OAuth mode
- Modify OAuth and API key button handlers to set proper mode
- Add proper cleanup handlers to reset OAuth mode on close
- Ensure dialog state management prevents conflicting dialogs

This fixes the issue where clicking 'Add OAuth' would incorrectly
open the API key dialog instead of the OAuth authorization dialog.

* refactor: Address audit findings for OAuth implementation

Critical fixes:
- Remove unused db parameter from createOAuthRoutes()
- Add query invalidation in handleOAuthSuccess to update UI after OAuth
- Remove unused setOAuth and getOAuthWithRefreshCheck methods
- Fix file permission in delete method (add mode: 0o600)

DRY improvements:
- Extract duplicated error handling to shared oauthErrors.ts utility
- Add OAuthMethod constants to replace magic numbers 0/1
- Use centralized OPENCODE_SERVER_URL constant via ENV config
- Remove unused ProviderAuthMethodsResponseSchema import

Code quality:
- Add documentation comment noting types should match shared schemas
- Consolidate error mapping logic into single mapOAuthError function
- Improve code maintainability and reduce duplication

Files changed:
- backend/src/routes/oauth.ts
- backend/src/services/auth.ts
- backend/src/index.ts
- frontend/src/lib/oauthErrors.ts (new)
- frontend/src/api/oauth.ts
- frontend/src/components/settings/OAuthAuthorizeDialog.tsx
- frontend/src/components/settings/OAuthCallbackDialog.tsx
- frontend/src/components/settings/ProviderSettings.tsx

* Store model selection client-side with recent models display

* Limit provider settings to OAuth-capable providers only

* Remove unused code and consolidate model initialization into useModelSelection hook
2025-12-07 23:01:05 -05:00
Chris Scott 680fed3313 Update repository URL in README 2025-12-07 14:38:52 -05:00
Chris Scott ec1d96a77d Fix session caching - enable refetch on focus and reconnect 2025-12-07 14:34:35 -05:00
Chris Scott 21bc210e62 Display mobile screenshots in a row 2025-11-29 18:34:20 -05:00
Chris Scott d650287211 Fix CreateConfigDialog event propagation and mobile scrolling 2025-11-29 18:32:56 -05:00
Chris Scott f797d308d5 Add TTS feature section to README 2025-11-28 19:55:31 -05:00
Chris Scott 86f9d699f0 Update file editing GIF link to v0.3.0 release 2025-11-27 14:52:15 -05:00
Chris Scott 16cc2f6abf Update demo GIF link to v0.3.0 release 2025-11-27 14:51:44 -05:00
Chris Scott 34d79bc9a2 Remove outdated dev Docker commands from README 2025-11-27 14:34:32 -05:00
Chris Scott db032e4af7 Update README with comprehensive feature list and better organization 2025-11-27 14:29:47 -05:00
Chris Scott e4e255b2bc convert demo videos to GIFs 2025-11-23 23:50:41 -05:00
Chris Scott cb81b499db reorder demo videos 2025-11-23 23:46:37 -05:00
Chris Scott b65ecd96e6 add demo videos to README 2025-11-23 23:45:38 -05:00
Chris Scott bbf66c259b Initial release v0.2.5 2025-11-23 23:25:27 -05:00