OpenCode plugin: execsa subagent TUI controls, configuration, and system instruction injection.
- Registers the
execsasubagent for safe terminal command execution - Injects
<execsaSystemInstructions>and<execsaReminder>into the parent agent's prompt - Pins
temperature: 0for the execsa agent - Provides
/execsaTUI settings dialog for model, steps, temperature, and reminder toggles
- OpenCode v1.4+ with plugin support
- GitHub Copilot authentication or configured provider for the execsa agent
{
"plugin": ["@lkonga/opencode-execsa"]
}If you want the /execsa TUI command, also add to tui.json:
{
"plugin": ["@lkonga/opencode-execsa"]
}If you don't want to install with npm, use file:// paths. Add to opencode.json:
{
"plugin": ["file:///path/to/opencode-execsa/execsa/index.ts"]
}And to tui.json for the /execsa TUI command:
{
"plugin": ["file:///path/to/opencode-execsa/tui.ts"]
}The plugin works with defaults out of the box. To customize, create execsa-config.json in your OpenCode config directory or use the /execsa TUI command:
{
"enabled": "true",
"reminder": "true",
"model": "provider/model-id",
"steps": "15",
"temperature": "0",
"always_extend": "false",
"allow_external_dir": "false",
"nudge_enabled": "false",
"provider_whitelist": "",
"prompt_style": "Default (soft)"
}All settings are configurable via the /execsa TUI command.