New:Socket for Asana Is Now Available.Learn more
Get Started

@vaur94/opencode2-goal

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaur94/opencode2-goal

Minimal persistent Goal plugin for OpenCode V2.

npmnpm
Version
0.1.0
Version published
Weekly downloads
26
-50%
Maintainers
1
Weekly downloads
 
Created
Source

opencode2-goal

Minimal persistent Goal plugin for OpenCode V2.

Behavior

  • /goal <objective> sets or replaces the current session goal.
  • /goal status shows it.
  • /goal pause, /goal resume, and /goal clear manage it.
  • Active goals are injected as compact session context.
  • Active goals remain active across service restarts.
  • There are no planners, evaluators, verifiers, rounds, budgets, retries, or autonomous loops.

The /goal command is model-mediated by OpenCode V2. Lifecycle mutations are implemented by one non-CodeMode goal_manage tool and require an explicit user request. State is stored per session under ${XDG_STATE_HOME:-~/.local/state}/opencode2-goal/sessions.

Development

bun install
bun run check

Local loading

Add the built bundle as its own entry in opencode.json:

{
  "plugins": [
    "/home/ugur/Projects/opencode2-goal/dist/plugin.js"
  ]
}

The plugin owns /goal and the exposed goal_manage tool.

FAQs

Package last updated on 15 Aug 2026

Related posts