molecule-core/workspace-template/adapters
Hongming Wang 1ff544eba8 feat(adapters): add gemini-cli runtime adapter (closes #332) (#379)
Adds a `gemini-cli` workspace runtime backed by Google's Gemini CLI
(@google/gemini-cli, ~101k ★, Apache 2.0). Mirrors the claude-code
adapter pattern: Docker image installs the CLI, CLIAgentExecutor
drives the subprocess, A2A MCP tools wire via ~/.gemini/settings.json.

Changes:
- workspace-template/adapters/gemini_cli/ — new adapter (Dockerfile,
  adapter.py, __init__.py, requirements.txt); setup() seeds GEMINI.md
  from system-prompt.md and injects A2A MCP server into settings.json
- workspace-template/cli_executor.py — adds gemini-cli to
  RUNTIME_PRESETS (--yolo flag, -p prompt, --model, GEMINI_API_KEY env
  auth); adds mcp_via_settings preset flag to skip --mcp-config
  injection for runtimes that own their own settings file
- workspace-configs-templates/gemini-cli/ — default config.yaml +
  system-prompt.md template
- tests/test_adapters.py — adds gemini-cli to expected adapter set
- CLAUDE.md — documents new runtime row in the image table

Requires: GEMINI_API_KEY global secret. Build:
  bash workspace-template/build-all.sh gemini-cli

Co-authored-by: DevOps Engineer <devops@molecule.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 23:30:00 -07:00
..
autogen initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
claude_code feat: GET /workspaces/:id/transcript — live agent session log 2026-04-15 14:29:43 -07:00
crewai initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
deepagents initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
gemini_cli feat(adapters): add gemini-cli runtime adapter (closes #332) (#379) 2026-04-15 23:30:00 -07:00
hermes feat(hermes): Phase 2d-i — system-prompt.md injection on all 3 dispatch paths 2026-04-15 16:21:47 -07:00
langgraph initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
openclaw initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
__init__.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
base.py feat: GET /workspaces/:id/transcript — live agent session log 2026-04-15 14:29:43 -07:00
shared_runtime.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00