Skip to content

Releases

v0.1.0

Choose a tag to compare

@AeonDave AeonDave released this 12 Jun 13:12

First release of opencode-dotenv.

Load a .env next to your OpenCode config into the process and resolve {env:VAR} / ${VAR} placeholders across config files. Cross-platform, zero runtime dependencies.

Features

  • Loads .env from the OpenCode config dir on plugin init (before MCP servers and providers initialize).
  • config hook rewrites {env:VAR} / ${VAR} literals that survive into the merged config.
  • shell.env hook injects loaded variables into the bash tool and terminals.
  • Configurable via OPENCODE_DOTENV_DIR, OPENCODE_DOTENV_PATH, OPENCODE_DOTENV_OVERRIDE, OPENCODE_DOTENV_SILENT.

Quality

  • 48 unit/integration tests (\�un test), strict TypeScript typecheck.