hermes-agent/hermes_cli
Teknium 3eb653c74d
Inspired by Energy: extend `hermes import-agent` with Gemini CLI support
Energy's launch messaging leads with "import memories & skills — no fresh
start" as a core onboarding move. Hermes already imports Claude Code and
Codex setups; this widens the same no-fresh-start funnel to the third
major CLI agent, Google Gemini CLI (~/.gemini):

- GEMINI.md            -> memory entries in memories/MEMORY.md
- settings.json tools.allowed (run_shell_command(...)/ShellTool(...) rules,
  plus the legacy flat allowedTools key) -> config.yaml command_allowlist
- settings.json mcpServers -> config.yaml mcp_servers, honoring Gemini's
  httpUrl > url transport precedence; the per-server trust:true flag is
  deliberately dropped so Hermes approval settings stay untouched
- skills/<name>/SKILL.md -> skills/gemini-imports/<name>/
- extensions/ reported skipped with guidance (they bundle their own MCP
  servers/context)

Secrets rule unchanged: oauth_creds.json never read, secret-looking env
vars and Authorization headers stripped and reported.

Refactors the Claude allowlist merge into a shared _merge_command_allowlist
so both mappers use one merge path. 10 new tests (60 total in the file).
2026-08-07 19:17:08 -07:00
..
dashboard_auth
observability
proxy
subcommands Inspired by Energy: extend `hermes import-agent` with Gemini CLI support 2026-08-07 19:17:08 -07:00
web_routers refactor(cron): polish registration partial-failure surfaces 2026-08-07 17:45:06 +05:30
__init__.py
_early_recovery.py
_parser.py
_scan_venv_blockers.py
_startup_fast.py
_subprocess_compat.py
active_sessions.py
agent_import.py Inspired by Energy: extend `hermes import-agent` with Gemini CLI support 2026-08-07 19:17:08 -07:00
agent_plugins.py fix(plugins): address portable MCP review feedback 2026-08-07 09:44:21 -07:00
approval_mode.py
approvals_suggest.py feat(cli): add `hermes approvals test` — dry-run approval verdict CLI 2026-08-07 08:57:39 -07:00
approvals_test.py feat(cli): add `hermes approvals test` — dry-run approval verdict CLI 2026-08-07 08:57:39 -07:00
auth.py fix: show explicit member spend cap message instead of 'no credits' 2026-08-07 19:47:40 +05:30
auth_commands.py
azure_detect.py
backup.py
bang_shell.py
banner.py
blueprint_cmd.py refactor(cron): polish registration partial-failure surfaces 2026-08-07 17:45:06 +05:30
browser_connect.py
build_info.py
bundles.py
callbacks.py
checkpoints.py
claw.py
cli_agent_setup_mixin.py fix(agent): finish the #80622 bug class — sibling predicates, refund ordering, prompt carve-out, honest skip response 2026-08-07 19:44:35 +05:30
cli_billing_mixin.py
cli_commands_mixin.py fix(agent): finish the #80622 bug class — sibling predicates, refund ordering, prompt carve-out, honest skip response 2026-08-07 19:44:35 +05:30
cli_output.py
clipboard.py
codex_models.py
codex_runtime_plugin_migration.py
codex_runtime_switch.py
colors.py
commands.py
completion.py
config.py feat(terminal): graceful degradation for remote backend connection failures 2026-08-07 09:07:55 -07:00
config_defaults.py feat(terminal): graceful degradation for remote backend connection failures 2026-08-07 09:07:55 -07:00
config_migrations.py
console_engine.py
container_boot.py
context_switch_guard.py
copilot_auth.py
credential_lifecycle.py
cron.py feat(cron): per-job durable notepad — KV scratchpad surviving scheduled runs 2026-08-07 08:57:48 -07:00
curator.py
curses_ui.py
dashboard_procs.py
dashboard_register.py
debug.py
default_soul.py
dep_ensure.py
diagnostics_upload.py
dingtalk_auth.py
doctor.py feat(doctor): add opt-in `hermes doctor --live` real-call backend probes 2026-08-07 09:07:48 -07:00
doctor_live.py feat(doctor): add opt-in `hermes doctor --live` real-call backend probes 2026-08-07 09:07:48 -07:00
dump.py
env_loader.py
fallback_cmd.py
fallback_config.py
focus_view.py
gateway.py
gateway_enroll.py
gateway_windows.py
goals.py
gui_uninstall.py
heartbeat.py
hooks.py
init_command.py
input_sanitize.py
inventory.py
journey.py
kanban.py
kanban_db.py feat(kanban,mcp): orphaned-card reconciliation + per-server MCP identity header 2026-08-07 08:58:20 -07:00
kanban_decompose.py
kanban_diagnostics.py
kanban_specify.py
kanban_swarm.py
lifecycle.py
linux_desktop_entry.py
logs.py
main.py Port from superagent-ai/grok-cli: verify subsystem (run-recipe detection + environment manifest + hermes verify smoke runner) 2026-08-07 10:11:05 -07:00
managed_scope.py
managed_uv.py
mcp_catalog.py
mcp_config.py
mcp_picker.py
mcp_security.py
mcp_startup.py fix(review): harden portable plugin boundaries 2026-08-07 09:44:21 -07:00
mem_trim.py
memory_oauth.py
memory_setup.py
middleware.py
migrate.py
moa_cmd.py
moa_config.py
model_catalog.py
model_cost_guard.py
model_normalize.py
model_search.py
model_setup_flows.py
model_switch.py perf(model): disk-cache custom-provider /v1/models probes 2026-08-07 21:02:40 +05:30
models.py fix(models): corrupt-at cache rows degrade to live fetch in cached_provider_model_ids 2026-08-07 23:00:28 +05:30
nous_account.py fix: show explicit member spend cap message instead of 'no credits' 2026-08-07 19:47:40 +05:30
nous_auth_keepalive.py
nous_billing.py
nous_subscription.py
npm_engine.py
onepassword_secrets_cli.py
oneshot.py
pairing.py
partial_compress.py
pets.py
platforms.py
plugins.py fix(plugins): address portable MCP review feedback 2026-08-07 09:44:21 -07:00
plugins_cmd.py feat(plugins): load portable agent components 2026-08-07 09:44:21 -07:00
portal_cli.py
profile_describer.py
profile_distribution.py
profiles.py
projects_cmd.py
projects_db.py
prompt_size.py
prompt_stash.py
provider_catalog.py
providers.py
proxy_cli.py
psutil_android.py
pt_input_extras.py
pty_bridge.py
pty_session.py
relaunch.py
route_identity.py
runtime_provider.py
secret_prompt.py
secrets_cli.py
security_advisories.py
security_audit.py
security_audit_startup.py
send_cmd.py
service_manager.py
session_export.py
session_export_html.py
session_export_md.py
session_filters.py
session_listing.py
session_recap.py
session_recovery.py
sessions_cmd.py
setup.py
setup_hidden_env.py
setup_whatsapp_cloud.py
skills_config.py
skills_hub.py
skin_cmd.py
skin_engine.py
slack_cli.py
slash_exec.py
sqlite_runtime.py
sqlite_safe_read.py
sqlite_util.py
status.py feat(cli): global emergency stop — `hermes pause` / `hermes resume` 2026-08-07 08:58:14 -07:00
stdio.py
suggestions_cmd.py refactor(cron): polish registration partial-failure surfaces 2026-08-07 17:45:06 +05:30
telegram_managed_bot.py
timefmt.py
timeouts.py
tips.py
tools_config.py
toolset_validation.py
uninstall.py
update_cmd.py
update_lock.py
urllib_security.py
vercel_auth.py
verify_cmd.py Integrate verify subsystem with the existing verification stack 2026-08-07 10:11:05 -07:00
voice.py
web_deps.py
web_git.py
web_models.py
web_server.py fix(dashboard): fold one-field doctor category into general tab 2026-08-07 09:07:48 -07:00
webhook.py
win_pty_bridge.py
windows_ssh_runtime.py
write_approval_commands.py
xai_retirement.py