Skip to content

v3.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 01:13
· 108 commits to main since this release
v3.7.0

v3.7.0 (2026-11-23)

💥 Breaking changes

  • Provider credentials are gateways now: Migration turns provider credentials into gateways. A provider setting it could not convert does not stop the config from loading, but launching that profile fails with a pointer to aide gateway add: a provider endpoint (such as ANTHROPIC_BASE_URL) or CLAUDE_CODE_USE_* switch in env: or credentials:, or a provider API key in env: (keep keys in a secret store via credentials:). aide env set refuses provider keys, endpoints and switches in any scope, and aide profile migrate no longer moves env: keys into credentials:.
  • Removed flags and commands: the launch flags --credential and --adopt, aide gateway rename (use aide gateway edit --name) and aide project set --no-credentials. The launch flag --gateway takes a single value.
  • Deprecated aliases: aide gateway add keeps --token-stdin, --token-env, --store and --ttl as aliases for --key-stdin, --from-env=VAR, --secret-store and --refresh-ttl. --auth login is an alias for --gateway none.

✨ New

  • Explicit per-agent gateway choice (gateway_choice:) and no silent billing switches: Every gateway-capable agent (claude, codex, pi, omp, opencode) now resolves its gateway choice explicitly from --gateway <name|none>, the repository preference (aide gateway use <name|none> --agent <a> --repo or aide project set --gateway <name|none> --agent <a>), or the profile's gateway_choice:. none selects the agent's own login. When claude or codex has gateways marked and no choice set, aide prompts with an interactive picker on a terminal and exits with code 78 (EX_CONFIG) in scripts, naming the candidate gateways and commands to fix it.
  • Built-in gateway presets and cloud provider switches: aide gateway add <preset> supports built-in presets (anthropic, openai, codex, openrouter, openrouter-anthropic, opencode-go, zai, ollama) with --from-env[=VAR], --key-stdin, --no-auth (loopback only), --api (anthropic-messages, openai-chat, openai-responses), --model, and --default-for <a>. bedrock and vertex presets configure cloud provider switches (--region, --project) and automatically grant the aws or gcp capability for that launch.
  • Single gateway across all five agents: A custom gateway serves claude, pi, omp, opencode, and codex from one gateways.<name> entry, writing aide-<name> provider entries and routing Codex to <base_url>/v1 (wire_api = "responses") and the remaining agents to <base_url> internally. Keys are injected as AIDE_GW_<NAME>_KEY (or ANTHROPIC_AUTH_TOKEN / ANTHROPIC_API_KEY for Claude), and OpenCode receives its startup model through OPENCODE_CONFIG_CONTENT.
  • Self-healing gateway and credential migration with backups: Legacy base_url: gateways, LLM provider credentials: (anthropic, openai, codex, openrouter, and custom endpoint routes), keyless Bedrock/Vertex bindings, env: provider switches/endpoints, and default_credentials: automatically migrate to gateways: and gateway_choice: with timestamped backups under ~/.local/state/aide/migrations/ (preview or apply explicitly with aide config migrate [--write]). Read-only configs run from the in-memory translation.
  • Gateway visibility in banner, which, status, prompt, and statusline: The launch banner, aide which, aide status, and aide gateway list show each agent's active gateway, choice source, key location (store/key → ENV_VAR), and per-agent sync status without decrypting secrets (aide status counts store keys in clear). aide prompt --gateway (preferences.prompt_gateway: true) and aide statusline (statusline.gateway) render an opt-in gateway segment (⇄<gw>, ⇄login, ⇄?).
  • Unified agent / agents terminology: Standardized CLI flags (--agent, --agents), YAML keys (agents:), banner labels (Agents), and JSON fields (agent, agents, agent_source, agent_config_dir, available_agents) across gateway, project, which, and status, while keeping --harness, --harnesses, and harnesses: as backward-compatible aliases.
  • Opt-in gpu capability: aide --with gpu (or capabilities: [gpu]) lets agents use the GPU for compute and offscreen rendering. On macOS (Apple Silicon) it adds the Metal and IOSurface sandbox rules, so Metal and offscreen OpenGL work. On Linux (Landlock) it adds read-only GPU sysfs, driver-registry and /opt/rocm* paths plus the *_VISIBLE_DEVICES variables; this is untested on real GPU hardware, and hosts on the bubblewrap fallback get no GPU. It is never enabled by project markers. See GPU.
  • Glob paths in custom guards and nested denies on Linux: custom guard paths such as ~/.ssh/prod_* expand at launch on macOS and Linux (new matching files need a relaunch). Under Landlock, a deny inside a read-only grant (custom guard, never_allow, denied_extra) is now enforced by splitting that grant into its entries. Denies inside writable grants still cannot be enforced by Landlock, and aide sandbox test now marks them # not enforced.
  • Age key setup without a terminal: aide gateway add --generate-age-key lets a script create the first age key, and setup now explains why no key was found (SOPS_AGE_KEY / SOPS_AGE_KEY_FILE holding no usable identity, or only a YubiKey present without --age-key).

🐛 Bug Fixes

  • Isolate named-profile agent config directories so gateway writers never modify shared native directories (~/.claude, ~/.codex), migrating native-dir pins in env: to config_dir_name / config_dirs:.
  • Keep plain non-LLM credentials: (GITHUB_TOKEN, gemini) active alongside --gateway <gw> overrides instead of dropping the profile's default plain credentials.
  • custom_guards: and guard_types: in sandbox.yaml now take effect. They were parsed but never registered, so a default-type guard left its path readable and an opt-in custom guard in guards_extra failed with "unknown guard name". aide sandbox guards now lists custom guards.
  • aide usage --profile <name> no longer includes usage from agents aide cannot scope to a profile (such as Antigravity); that usage is counted under the default profile and --all only.

Changelog

  • 2bbb9e6 Add composable Greptile review configuration
  • 79a85b1 Add design spec for the gpu capability
  • 6cf353b Add design spec for unscoped agents in usage
  • 4992e2a Add gateway redesign spec
  • ba9c8dc Add opt-in gpu capability for macOS
  • 91db14b Add the built-in gateway preset catalog
  • dabb99b Convert provider credentials into gateways
  • 20284a5 Deduplicate gateway defaults and pickers
  • 553817c Derive a gateway choice only from legacy gateways
  • 4c3a225 Document PR review workflow and update commands
  • 1ad6fdd Document gateways, choices, migration and exit 78
  • 353b57d Document how release versions are chosen
  • 678aeba Document provider credential migration
  • 9387f1a Document the gpu capability
  • a199889 Grant GPU sysfs and driver paths on Linux
  • ec03460 Isolate named-profile agent folders
  • 7d3cc5b Keep credential conversion routing-exact
  • b43e12e Keep gateway url and preset in agreement
  • 3aebab8 Keep the preset on a gateway added from one
  • 515dc4e Keep unscoped agents out of named-profile usage
  • 5799b6e Launch Claude on a cloud provider switch
  • 5c8ffb1 Let age key setup run without a terminal
  • faa3a54 Mark the gateway wire-protocol limit as lifted
  • c3df103 Migrate legacy gateways with backups
  • b2607a8 Open gateway add to every preset and wire protocol
  • bd309c8 Prepare release notes for v3.7.0
  • e7bebc6 Register custom guards from sandbox.yaml
  • c7d5760 Reject gateway add flags that do not apply
  • cb56d22 Reject keyless gateways that are not on loopback
  • a578275 Remove code unreachable from main
  • 9df22d5 Remove the legacy credential path
  • 9b2fcde Resolve gateway endpoints from preset or url
  • fc54bcd Resolve gateway endpoints in one place
  • 7f5f4b8 Resolve saved non-gateway selections to none
  • 2a1cd8e Resolve the gateway choice per agent at launch
  • cc4c9ed Route all agents through one gateway
  • e6691dd Send Claude keys by header and validate kinds
  • 0e7eb09 Show gateway choices in banner, which and status
  • ac3da8f Start OpenCode on the chosen gateway
  • 213a14e Support gateway segment in prompt and statusline
  • d0f69e0 Support guard globs and nested Landlock denies
  • 06e38ec Translate legacy gateways in memory at load
  • 263338c Unify Git and Beads hooks under pre-commit
  • 3ae3fdf Update gateway, project and flag commands
  • 69d022b Write every wire protocol into agent files
  • f5fdd4e Write gateway entries as aide-