
Security News
pnpm 12’s Rust Rewrite Cuts Install Times by Up to 90%
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.
@vaur94/opencode2-goal
Advanced tools
Persistent autonomous Goal loop for OpenCode V2.
/goal <objective> sets or replaces the current session goal and starts its continuation loop./goal status shows it./goal pause, /goal resume, and /goal clear manage the loop.The /goal command is model-mediated by OpenCode V2. Lifecycle mutations are
implemented by one non-CodeMode goal_manage tool. User-controlled lifecycle
actions remain user-controlled; the agent receives only the additional authority
to call complete with an evidence ledger. Continuations are durable
synthetic session inputs; they retain the selected agent, model, permissions,
and safety rules. State is stored per session under
${XDG_STATE_HOME:-~/.local/state}/opencode2-goal/sessions.
The plugin also starts an authenticated loopback backend for trusted local clients such as
opencode2-web. Its random endpoint and bearer credential are written with mode 0600 to
${XDG_STATE_HOME:-~/.local/state}/opencode2-goal/backend.json. The credential must remain in
the bridge process and must never be sent to a browser.
GET /v1/goals returns all persisted goals and process-lifetime telemetry counters.GET /v1/goals/:sessionID returns one goal.POST /v1/goals/:sessionID accepts set, update, pause, stop, resume, or clear.GET /v1/events streams snapshots, lifecycle changes, and execution telemetry over SSE.pause and stop both immediately pause the goal and interrupt its current execution without
deleting state. update interrupts the old execution, replaces the objective, and immediately
wakes the loop. resume also wakes the loop without waiting for another session event.
Plugin options apiPort and apiDiscoveryFile can override the random port and discovery path.
bun install
bun run check
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
Evidence-checked autonomous Goal loop for OpenCode V2.
We found that @vaur94/opencode2-goal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.

Research
/Security News
Thirteen malicious Packagist themes expose visitors on unpatched iPhones to a WebKit-to-kernel exploit chain that steals device data and wallet seeds.