Repository navigation
Releases
v0.12.0
spov 0.12.0 runs jobs on a schedule: the same job on a cadence, hourly at most, on a hosted server. A pull-request job started from the browser can now leave its branch and its pull request to the goal.
Upgrading
- Update spov with
spov update, orbrew upgrade --cask spovfor a Homebrew install. - Run the migration on a hosted server. It adds the schedules and their run history (
00045_schedules).spov serve migrate upapplies it, as the Kamal and Kubernetes deploy steps already do. - The sandbox image is unchanged, so there is nothing to rebuild.
Scheduled jobs
A schedule is a stored job, either report or pr, with a cadence and an IANA time zone. Each run is an ordinary job, created as the schedule's owner and judged like any other.
-
Cadences:
- hourly, daily, weekly, or monthly (days 1 to 28);
- or five cron fields;
- at most once an hour.
-
Saving checks the job as a create would, without creating anything.
-
Who a run acts as: every run is created as the schedule's owner, and never with admin rights.
- Each fire checks the owner again, as a sign-in would.
- Someone removed from the allowlist, or a deleted service account, starts nothing.
- Removing a person pauses their schedules first.
-
Skips and failures:
- A run is skipped while the schedule's previous job is unfinished, or when you are at your job limit.
- If the server was down past one or more runs, the missed runs are recorded as one entry, and only the newest of them runs.
- Three failed runs in a row pause the schedule.
- Each schedule keeps its newest 50 runs in its history.
-
Limits: you can have 20 schedules. Run now starts a run immediately, and counts toward the same per-minute limit as starting a job or session.
-
In the browser: Schedules, reached from the Jobs page, lists your schedules. A schedule's page shows its next runs and its history, with each job linked, plus Run now, Pause, Resume and Delete. A job a schedule started says so on the jobs list and on its session page.
-
In the CLI:
spov jobs schedule create|list|show|edit|pause|resume|delete|run. It takes every flag ofspov jobs create, plus--hourly,--daily 09:30,--weekly "mon 09:00",--monthly,--cronand--tz, which defaults to this machine's zone. For example:spov jobs schedule create deps "update the dependencies" --repo acme/app --kind pr --daily 02:00
-
A local server answers that schedules need a hosted server.
-
Who owns the schedule matters. A service account's schedules keep running after the token that created them is revoked, until the account itself is deleted.
The pull-request policy in the browser
A pull-request job on /jobs/new, and in the schedule form, has a new Branch and pull request choice:
- A new branch and a pull request is spov's usual flow, and the default.
- The goal says how leaves the branch and how the pull request is opened to the goal. Use it to add to an open pull request's branch, or to follow your team's way of opening one.
It's the same setting as spov jobs create --pr-policy goal. With it, the agent is still told never to push to the default branch, and the job's pull request is looked up on its forge by branch. Branch protection on the forge is what actually guards the default branch.
Also in this release
- The fallback model list, used when models.dev can't be reached, is refreshed.
v0.11.0
spov 0.11.0 can update itself: spov update installs the latest release after verifying its signature, and spov tells you once a day when a newer release is out.
Upgrading
- This one last time, update the way you installed.
-
With the install script, run it again:
curl -fsSL https://github.com/jimutt/spov/releases/latest/download/install.sh | sh -s -- --with-opencodeFrom 0.11.0 on,
spov updatedoes it. -
With Homebrew, run
brew upgrade --cask spov, as before.
-
- A hosted server needs no migration. Deploy it as usual. Its
GET /api/v1/menow names its build, whichspov versionreads. - Building from source needs Go 1.27.
spov update
- Without arguments, it installs the latest release:
- downloads the release for this machine;
- verifies the signature on the release's checksums with Sigstore (no
cosignneeded), which must come from spov's release workflow at that release's own tag; - checks the archive against those checksums;
- checks that the new binary runs and reports the version asked for;
- replaces the binary in one atomic step.
- The new spov finishes the job:
- It installs the OpenCode version it pins, where spov looks for it, checked against the integrity spov records. That now covers macOS as well as Linux.
- It says whether the sandbox image for that version is built, or to run
spov init.
- Your local spov server:
- An idle one is stopped, so the next command starts one of the new build.
- One with live sessions is named, and spov asks before going on. The sessions carry on in their sandboxes, and the next command restarts the server on the new build.
- It never moves you to a lower version on its own.
spov update --version 0.10.2installs an older release, after a loud warning that it has nospov update, and a question, or--yes. - What it refuses:
- A Homebrew install: it names
brew upgrade --cask spov. - A build from source: it names
go install. - A directory spov cannot write to.
- A Homebrew install: it names
--jsonprints one JSON view of what was done.
A notice when a release is out
-
Once a day, spov asks GitHub which release is the latest: one request to
releases/latest, which shows GitHub your address. When a newer one exists, it says so in one line:spov 0.11.1 is available (you have 0.11.0): spov updateThe line appears as
spov fly's launch view closes, and inspov version. A Homebrew install is toldbrew upgrade --cask spovinstead. -
When nothing is asked: off a terminal, under
CI, or once you turn it off. -
To turn it off, set
updates.check: falsein your user file, orSPOV_UPDATES_CHECK=false. A repository's.spov.yamlcannot set it.- A spov older than 0.11.0 refuses a user file that sets
updates. Remove the key before downgrading.
- A spov older than 0.11.0 refuses a user file that sets
-
With a hosted server,
spov versionalso says when the server runs another build, for examplethe server runs 0.10.2 (this spov is 0.11.0).
Also in this release
- spov builds on Go 1.27.4. The binary grows by about 1 MB: the signature check adds 3.7 MB, and Go 1.27 saves 2.8 MB.
v0.10.2
spov 0.10.2 moves sandboxes to OpenCode 2.4.2 and lets you choose a model's reasoning mode before a session or a job starts, in the browser and in the CLI.
Upgrading
The OpenCode pin is now 2.4.2, so each machine and server needs a few steps:
- Build the new sandbox image once. Launches fail with "image not published" until you do.
- Locally: run
spov serve image build, orspov init, which offers to. - On a deployment: the Kamal
pre-deployhook and the Kubernetes image-build Job already run it.
- Locally: run
- Update the local OpenCode client. Run the install command again with
--with-opencode. A client one minor version behind still attaches, with a warning. - Run the migration on a hosted server. It adds the table that keeps the reasoning modes your organisation's sandboxes report (
00044_model_modes_seen);spov serve migrate upapplies it, as the deploy steps do.
Choose a reasoning mode before a launch
A model's reasoning modes are OpenCode's own names for it, such as low, high or max. Until now you could change a session's mode only once its sandbox was running.
- Browser:
/jobs/newand/sessions/newdraw a Reasoning choice beside the model when the chosen model has modes.- Settings sets one for your default model.
- Switching to another model keeps the mode if that model offers it too.
- CLI:
spov flyandspov jobs createtake--reasoning <mode>, and shell completion offers the model's modes.--reasoning defaultruns the model's own default. - Checked before anything starts:
- A mode the model doesn't offer is refused when you create the session or job, and the error names the modes it does offer.
- The modes known before a launch are the ones your organisation's sandboxes have reported, or else a snapshot shipped with this build.
- Checked again in the sandbox:
- When the first conversation opens, the sandbox's own list is checked again.
- A mode it doesn't offer is dropped, with a note on the session page, rather than failing every turn.
OpenCode 2.4.2
- Sandboxes run 2.4.2, checked against its OpenAPI document, its stored messages and its plugin API, as every bump is.
- No automation tools in jobs. A job's sandbox turns OpenCode's automation tools off, so its agent doesn't see them; an interactive session keeps them.
- A model list that's still being built is read again. A sandbox can report its model list before OpenCode has built it. spov now asks again a few times instead of keeping an empty list.
Also in this release
- A job waits for its background shell commands. OpenCode runs long commands in the background. A job's loop now holds while one of its commands runs, as it does for a running subagent, so the agent no longer declares completion before the result arrives.
- The model list spov falls back to when models.dev can't be reached is refreshed.
v0.10.1
spov 0.10.1 fixes how the session page draws what OpenCode 2.3 adds to a conversation by itself. A job's transcript showed raw <shell …> markup, and whole AGENTS.md files, as if spov had written them.
There is no migration. A server and its CLI update independently, as before.
What OpenCode adds is folded, and never tagged spov
OpenCode 2.3 posts messages of its own into a conversation, in any session:
- the result of a background shell command, when it ends;
- the result of a command a person ran from their own client (the TUI's
!); - a directory's
AGENTS.md, the first time the agent works under it.
On a job's page every such message carried the "spov" tag and was drawn in full. Now:
- A shell command's result is one quiet line: who ran it, the command, and how it ended (finished, exit 3, cancelled). A press opens the command and its output, without OpenCode's markup.
- Instructions and anything else OpenCode adds are folded under OpenCode's own summary, such as "Loaded spov/AGENTS.md".
- The "spov" tag marks only spov's own messages: a job's goal, its continuations and its stop marker.
- A subagent's card folds them the same way, instead of drawing them as the subagent's words.
The server tells the two apart because OpenCode marks everything it adds, and spov marks nothing it sends (DL-180).
Also in this release
- No more bare "reasoning.ended" lines. Some providers, Claude through OpenRouter among them, send the model's thoughts with no text. A lone empty thought was drawn as its event name, and a folded run counted thoughts that had nothing inside. An empty thought is now neither drawn nor counted (DL-181).
- The README says to run
brew updatefirst when Homebrew calls the cask invalid. - The model list spov falls back to when models.dev cannot be reached is refreshed.
v0.10.0
spov 0.10.0 brings back up to 1 GiB when a session syncs to your checkout, where it used to stop at 32 MiB. The transfer streams through the server, and a sync-back that is too large is refused before it starts, with the largest files named. Sync jobs follow the same limit.
Before upgrading
There is no migration. Three things to know:
- A hosted server behind a proxy needs it to pass long responses through. A sync-back now streams for up to 45 minutes:
- Kamal:
deploy/kamal/config/deploy.ymlnow setsproxy.response_timeout: 3600andproxy.buffering.responses: false. Copy those two settings into your own config. - The nginx ingress: see
deploy/k8s/ingress.example.yaml. It turns buffering off, sets long timeouts and allows 25 MiB request bodies; the controller's 1 MiB default already refuses a synced launch's bundle. - Any other proxy: Long responses through a proxy.
- Kamal:
- Older CLIs keep working against a new server, through the previous route and its 32 MiB limit; the refusal says to update spov. A new CLI also works against an older server.
- Kamal's
pre-deployhook now also publishes the sandbox image after migrating, so a release that raises the OpenCode pin no longer leaves launches failing. On Kubernetes, the newdeploy/k8s/image-build-job.yamldoes the same.
Sync-back up to 1 GiB
When you quit a synced spov fly (or run spov stop --sync or spov jobs apply), the sandbox's commits and uncommitted files come back through the server as they are read, instead of in one 32 MiB answer.
- The limit. The commits and the uncommitted files may come to 1 GiB together, with no one file over 256 MiB and at most 200,000 changed files.
- Measured before anything is sent. The sandbox checks the limit first, so a sync-back over it is refused in seconds with the largest files named. Add generated output to
.gitignore, or remove the files in the sandbox, and quit again. The session keeps running. - Progress. A sync-back over 16 MiB says how large it is, and on a terminal counts what has arrived.
- Ctrl-C during the transfer stops it and changes nothing; syncing again is safe. Once spov writes into your checkout, it finishes first.
- The landing is unchanged. It still never overwrites what
git statusshows as untracked or ignored. The transfer is held in a directory under your checkout's.gitwhile it lands, so the largest sync-back needs a few GiB free there.
Sync jobs are judged against the same limit, so a job with 32 MiB to 1 GiB of changes now succeeds, and spov jobs apply takes it.
The seed a launch sends stays at 16 MiB. A checkout over that now says what would let the sandbox clone instead: add a remote on a configured forge and push, configure the platform, or add its credential.
Also in this release
- A launch writes everything it set up in one transaction. Its git token's expiry, its OpenCode sign-in and its credential proxy's certificate are now written together with the session becoming running. A server that restarted in between could leave a session that was never renewed.
- The browser's repository picker no longer draws a note under public repositories a fine-grained token may only read (DL-179).
- Deployment templates brought up to date:
deploy/README.mdnow gives the current quota defaults (5 sessions, 4 jobs), says health checks answer 204, and explainsserver.trusted_proxiesbehind Kamal and an ingress;- new
deploy/kamal/secrets.examplenaming every secret Kamal requires; - the Kubernetes migrate Job can be rerun for an upgrade;
smoke.sh --urlworks behind a proxy that routes by host.
- Docs:
docs/development.mdnow explains how spov records its design decisions (Decision-Linked Development), and the README is shorter.
v0.9.0
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/nameand to a browser launch of one repository, on a server that runs the credential proxy, and it matches what a syncedspov flyalways did. The repository's wholeopencode.jsonand.opencode/now apply: its plugins, and also its permission rules, model and MCP servers. To keep such a session in/workspace, setlanding: .in your config. A server without the proxy keeps/workspaceas 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.jsonwhen the session runs inside it, and OpenCode merges them with yours. - Under
agentegress, 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.
v0.8.5
spov 0.8.5 makes long agent runs easy to read on a phone, puts the agent's last message after the thinking that led to it, fixes a resumed session's sandbox clock, and installs through Homebrew without a warning.
Before upgrading
There is no migration. Building spov from source now needs Go 1.26.10 or later.
Long runs on a phone
A run of thoughts and tool calls opens in a sheet over the page on a phone, so the conversation stays where you left it. Close it with Close, Back or Escape. On a wide screen a run still opens in place, and its summary line stays at the top of the screen while you read it, so you can fold it from anywhere.
While the agent works, the newest folded run also names its latest step, such as read src/player/seek.ts, so a session that writes little to you still shows what it is doing.
The answer after its reasoning
The agent's last message used to be drawn above the thinking that led to it, so a finished session seemed to keep thinking after it had answered. Each message now follows its own step's reasoning.
A resumed session's clock
A resumed session's details showed its first sandbox's start and a stop time already past. The clock bar, the time left and the running time now count from the sandbox the session runs on now.
Installing
brew install jimutt/tap/spov no longer warns that the cask uses a deprecated postflight block. spov init is clearer when you start with nothing: it says once that an OpenCode subscription or a provider's key will do, and its links point at the documentation on GitHub.
Dependencies
Go modules and web packages are up to date, along with bun 1.4.5 and GoReleaser 2.20.3.
v0.8.4
spov 0.8.4 keeps the phone's session bar on screen in Firefox for Android, makes resuming a stopped session as simple as sending a message, and raises the default concurrency limits.
Before upgrading
There is no migration.
The default limits are higher. A hosted server that sets no limits of its own now allows five concurrent sessions and four unfinished jobs per user, up from three and two. To keep the old values, set quotas.max_concurrent_sessions: 3 and quotas.max_concurrent_jobs: 2 in the server's config, as docs/configuration.md describes.
The session bar stays on screen on a phone
In Firefox for Android the bar at the top of a live session (the way back, the title and the details button) could vanish while a reply arrived, and come back only on the next touch. Firefox stopped drawing it whenever the page scrolled itself instantly to keep up with new messages.
Every scroll the page makes is now smooth: following new messages, keeping the newest one above the keyboard, returning to the end after you send, and Jump to latest. Jump to latest no longer flashes up while the page is already on its way to the end.
Resuming from the message box
A stopped session that can be resumed now shows the same message box as a running one, with the placeholder "Resume session". Write what you want and press Send: the session resumes and your message is its first. The separate resume box, its explanation and its second confirmation are gone. The Resume button in the session's details still asks first, and resumes without a message.
Quieter waiting messages
A message the agent has not read yet now says just "Waiting" (or "Queued") beside Cancel, instead of a sentence about when it will be read.
A limit meter that fits a phone
The concurrency meter on the sessions and jobs pages uses smaller ticks on a narrow screen, so it stays on one line beside its count.
v0.8.3
spov 0.8.3 lets you choose a model's reasoning mode in a running session, makes the agent's thinking readable in the transcript, and makes Back from a new session return to the list.
Before upgrading
- Run the migration.
spov serve migrate upadds one table (session_model_variants, migration 43). A local server needs nothing.
Reasoning modes in a running session
The composer has a Reasoning choice beside the model: Default, then the modes that model offers, such as low, high and max, or none and thinking. The list is what the session's own OpenCode reports for that model, so it is never a generic set of levels, and a model without modes shows no choice.
- Choosing a mode switches at once, as choosing a model does. The model chip names it, for example
glm-5.3-flash · max. - Changing the model keeps your mode when the new model offers it, and otherwise goes back to Default.
- The list is read once from the session's sandbox when spov starts recording it, so it appears a moment after the session starts.
- On a phone the choice sits with the model in the composer's folded options.
- The choice is offered only in a running session, not on the new session or new job forms.
A model switch through the API (POST /api/v1/sessions/{ref}/model) now refuses a #mode that the model does not offer in that session, and says which modes it does offer.
Reading the agent's thinking
Opening a run of tool calls and thinking now shows each thought whole, in readable text, instead of two faint italic lines. Each tool call stays one line; press it to see its whole input, laid out when it is JSON, and its error if it failed. Very long inputs are cut at 20,000 characters with a note of how much was left out.
Back returns to the list
Starting a session or a job from its form no longer leaves the form in the browser history. Back from the new session, on a phone or a desktop, returns to the list you opened the form from.
Access tokens
The Tokens page is now called Access tokens and says what is on it: your sign-ins to spov from spov login. It points to Settings → Credentials for the keys your sessions use to reach a model provider or a git forge, and that section points back.
v0.8.2
spov 0.8.2 makes the session page on a phone behave like a chat app, makes a new session's first screen friendlier, and points spov init at the OpenCode subscription sign-in.
There is no migration and nothing to change before upgrading from 0.8.1.
A new session's first screen
- While the sandbox boots, the page says "Starting the sandbox" with a spinner, and that the message box appears once the agent is ready.
- Once the session is running and nothing has been said yet, it asks "What do you want to work on?". It no longer shows "nothing has been recorded for this session" in the warning colour for a session that has just started. A session that is not running still shows that warning when nothing was recorded.
- A job's session says the agent is starting on the job instead.
The message box on a phone
- The message box sits at the foot of the screen even when the conversation is short. Before, it sat directly under the last message.
- When the keyboard opens, the box rides above it, and if you were at the end of the conversation the newest message stays in view.
- Sending keeps the box focused, so the keyboard no longer closes and reopens on every send. The box clears as you send; if the server refuses the message, your words come back into the box.
- Jump to latest keeps the keyboard open.
- Dragging the conversation while you type closes the keyboard, as in a chat app.
Safari on iPhone does not resize the page for its keyboard, so there the box still relies on Safari scrolling it into view.
spov init leads with the OpenCode subscription
At the model step, spov init now offers "Use an OpenCode Go or Zen subscription: sign in, no API key needed" first, ahead of pasting a provider's API key. The step's fix line leads with spov login opencode, and when Modal is not connected yet init names that command for later. The README and docs/sessions.md follow the same order.