opencode-durmemo-goal
v0.1.8
Published
Session goals for OpenCode
Readme
opencode-durmemo-goal
One goal per OpenCode session, kept in durmemo. The goal is injected into the session context so the agent keeps chasing it.
Needs opencode-durmemo installed alongside it.
Install
{
"$schema": "https://opencode.ai/config.json",
"plugins": ["opencode-durmemo", "opencode-durmemo-goal"]
}Order matters. List durmemo first.
Use as a human
Set the goal from the prompt with a tag:
#goal[Ship the login page]You can also pass a status: #goal[Ship the login page, paused].
Or tell the agent to use the tools below.
Use as an agent
Five tools under the goal namespace:
goal_set_goalsets the description. Marks it ongoing.goal_get_goalreads the description and status.goal_pause_goalpauses it. The context line tells you not to chase it until resumed.goal_resume_goalmarks it ongoing again.goal_stop_goalclears it.
The goal is stored per session under the goal topic, so normal durmemo tagging rules apply. goal_set_goal tags the topic for you.
