Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:25
· 77 commits to main since this release
7f42d7c

spov 0.9.0 adds support for OpenCode plugins: your own in every sandbox, a repository's own when a session runs inside it. It also fixes spov's guide for the agent, which never reached a session working inside a repository.

Before upgrading

There is no migration. Two things behave differently:

  • A session with one repository now starts inside it. This applies to spov fly --repo owner/name and to a browser launch of one repository, on a server that runs the credential proxy, and it matches what a synced spov fly always did. The repository's whole opencode.json and .opencode/ now apply: its plugins, and also its permission rules, model and MCP servers. To keep such a session in /workspace, set landing: . in your config. A server without the proxy keeps /workspace as before.
  • spov supports OpenCode 2 only. The README now says so; plugins written only for OpenCode 1 don't load.

OpenCode plugins

List OpenCode 2 plugins as npm packages, and every interactive session gets them:

sandbox:
  plugins: [envsitter-guard@0.1.1, opencode-rules@2.0.0]

--plugin on spov fly replaces the list for one launch. A sandbox template can carry a list too (the new OpenCode plugins field), which is how a session started from the browser gets your plugins. The session's page lists them under Workspace.

  • A repository's own plugins load from its opencode.json when the session runs inside it, and OpenCode merges them with yours.
  • Under agent egress, a session with plugins also reaches the npm registry they install from, and the launch says so.
  • What a plugin injects into the conversation (rules, reminders) is drawn folded as Added by OpenCode or a plugin, never as spov's words.
  • Jobs don't take plugins yet.

OpenCode plugins explains how to add them, what a plugin needs from the sandbox, and which plugins were tried.

spov's guide reaches sessions inside a repository

spov writes a guide for the agent at /workspace/AGENTS.md: the repositories, the scratchpad, and what to do when a forge command is refused. OpenCode's own search for it stops at a repository's root, so a session working inside a repository never had it. That includes every synced spov fly, a configured landing and a sync job. spov now lists the guide in OpenCode's config for those sessions, and the guide says where the session works.