opencode-atuin-history
v0.1.0
Published
OpenCode plugin that records agent bash commands in Atuin shell history
Downloads
107
Maintainers
Readme
opencode-atuin-history
An OpenCode plugin that records bash commands run by the agent in
Atuin shell history, attributed to a dedicated opencode author.
How it works
- Sets
ATUIN_SESSION,ATUIN_HOST_NAME, andATUIN_HISTORY_AUTHORin the shell environment so all agent-spawned shells share a consistent Atuin identity - After each
bashtool execution, callsatuin history start/atuin history endto record the command with its exit code and duration
Commands appear in your Atuin history tagged with opencode@<hostname>, making them easy to
filter or exclude.
Prerequisites
Atuin must be installed and on $PATH.
Installation
npm install opencode-atuin-historyAdd to your ~/.config/opencode/opencode.json:
{
"plugin": ["opencode-atuin-history"]
}