Repository navigation
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.