swanadiva
8ea4b6e990
feat: Implement SSH client with authentication support (Task 5)
...
- Add SSH client with Connect/Execute/Close/IsConnected
- Implement password, key, and both authentication methods
- Support default key discovery (~/.ssh/id_ed25519, id_rsa, etc.)
- Support passphrase-protected keys via ParsePrivateKeyWithPassphrase
- Path expansion for ~ in KeyID
- Integrate with HandleSSHError for user-friendly errors
- All 4 SSH tests passing + 5 error tests still passing (9 total)
Progress: Tasks 1-5 complete (~40%)
2026-06-22 16:16:16 +07:00
swanadiva
6fd25e4d02
feat: Implement error handling framework (Task 4)
...
- Add AppError with error codes and hints system
- Implement ConnectionError for SSH-specific errors
- Add HandleSSHError for intelligent SSH error parsing
- Add FormatConnectionError for user-friendly output
- All 5 test functions passing (TestAppError, TestConnectionError,
TestHandleSSHError, TestHandleSSHErrorNil, TestFormatConnectionError)
- Update PROJECT_STATE.md to reflect Task 4 completion
Progress: Tasks 1-4 complete (~30%)
2026-06-22 16:12:28 +07:00