Skip to content

feat: add gemini integration#6

Open
cipriandrei10 wants to merge 5 commits intotomtev:mainfrom
cipriandrei10:feature/gemini-cli-integration
Open

feat: add gemini integration#6
cipriandrei10 wants to merge 5 commits intotomtev:mainfrom
cipriandrei10:feature/gemini-cli-integration

Conversation

@cipriandrei10
Copy link

@cipriandrei10 cipriandrei10 commented Mar 22, 2026

This PR adds support for the Gemini CLI.

- Added Gemini to supported AI tools in the CLI and Tauri app.
- Implemented a specialized JSON chat file watcher for Gemini to bridge responses to Telegram without breaking the interactive local terminal UI.
- Added Gemini presets, icons, and setup commands to the desktop app.
- Created stub files for missing Slack and Internal channel implementations to fix local build errors.
…aner UI

- Reset prompt detection state on each new assistant message to support consecutive approvals.
- Filter out TUI box-drawing characters from Telegram button text.
- Standardize Gemini approval patterns to catch all permission request variations.
- Add full support for Gemini JSON format in session history/peek.
- Extracted and generalized prompt detection for arbitrary numbered menus.
- Improved cleanup of TUI artifacts and keyboard hints for cleaner Telegram buttons.
- Added comprehensive unit tests for Gemini-specific PTY patterns.
- Refined extraction logic to filter out TUI box-drawing characters and UI labels.
- Smart look-back to find the actual bash command even in complex interactive layouts.
- Updated integration tests to cover boxed 'Action Required' terminal output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant