Chris Scott
7c8a4fe64c
refactor: extract CredentialProvider service and consolidate git-auth utilities ( #283 )
...
* refactor: extract CredentialProvider service and consolidate git-auth utilities
* refactor: add git-credentials route and gh env plugin, pass internal token to OpenCode
* refactor: update credential provider integration and git route
* refactor: integrate credential provider across git auth, routes, and IPC
2026-06-20 23:20:39 -04:00
Chris Scott and Chris Scott
389120559f
fix(frontend): remove permission immediately after responding ( #205 )
...
* fix(backend): normalize git credential extraheaders
* fix(frontend): remove permission immediately after responding
Call removePermission synchronously after a successful API response,
matching the existing pattern used by replyToQuestion and rejectQuestion.
This ensures the UI updates promptly even if the SSE permission.replied
event is delayed or missed.
---------
Co-authored-by: Chris Scott <>
2026-04-28 16:14:25 -04:00
Chris Scott
55ec3440f8
Fix SSH credential host matching and Bitbucket test detection ( #174 , #175 ) ( #178 )
2026-04-05 18:12:06 -04: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
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
ed4bc17987
add typecheck script and fix TypeScript errors ( #48 )
2026-01-04 17:11:53 -05:00
Chris Scott
b7e5390ab7
Replace global git config with environment-based identity management
2026-01-02 21:50:52 -05:00