Skip to content

v0.10.2

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:42
· 35 commits to main since this release
96b0eff

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, or spov init, which offers to.
    • On a deployment: the Kamal pre-deploy hook and the Kubernetes image-build Job already run it.
  • 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 up applies 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/new and /sessions/new draw 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 fly and spov jobs create take --reasoning <mode>, and shell completion offers the model's modes. --reasoning default runs 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.