Gemini CLI Integration and Node Version Update #35
kaanozhan
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Added Google Gemini CLI as the third supported AI tool in Frame, alongside Claude Code and Codex CLI.
What changed
5 files modified:
Architectural approach
We took a different approach than Codex:
┌─────────────┬───────────────────────────────────┬────────────────────────────────────────────────────────────────────┐
│ Tool │ Strategy │ Reason │
├─────────────┼───────────────────────────────────┼────────────────────────────────────────────────────────────────────┤
│ Claude Code │ Reads CLAUDE.md natively │ Built-in support │
├─────────────┼───────────────────────────────────┼────────────────────────────────────────────────────────────────────┤
│ Codex CLI │ Wrapper script (.frame/bin/codex) │ No native file reading, needs AGENTS.md injected as initial prompt │
├─────────────┼───────────────────────────────────┼────────────────────────────────────────────────────────────────────┤
│ Gemini CLI │ Reads GEMINI.md natively │ Built-in support, same as Claude Code │
└─────────────┴───────────────────────────────────┴────────────────────────────────────────────────────────────────────┘
Since Gemini CLI natively reads GEMINI.md, we used the same symlink pattern as Claude Code (GEMINI.md → AGENTS.md) instead of a
wrapper script. Cleaner integration, no extra scripts needed.
Node.js version requirement
Gemini CLI requires Node.js 20+ due to its string-width dependency using the /v regex flag. Node.js 18 throws SyntaxError: Invalid
regular expression flags.
Fix: nvm install 20 && nvm alias default 20 && npm install
No impact on Frame — Electron 28, node-pty, and xterm.js are all compatible with Node 20.
Important: nvm alias default 20 is critical — without it, terminals spawned by Frame still use the old default version.
Beta Was this translation helpful? Give feedback.
All reactions