Repository navigation
Releases
Releases · AeonDave/opencode-dot-env
v0.1.0
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.