Skip to content

Covel v0.0.57

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 04:24
· 2 commits to main since this release
137b471

[0.0.57] - 2026-12-03

In a server-saved game, you can now rewrite an earlier turn and switch between the two story routes without losing the original. Fork a snapshot when you want a separate save, or export the story as a JSON archive to read outside Covel.

Before upgrading from v0.0.56 or earlier, let pending jobs finish and back up your SQLite or PostgreSQL database. This release needs a fresh database even if you never created a branch. See the upgrade notes before installing.

The macOS Apple Silicon build has no Developer ID signature or notarization. The Windows x64 build has no publisher certificate signature.

Breaking changes in v0.0.57

  • SQLite and PostgreSQL development databases at schema version 9 or earlier must be recreated. Schema 10 stores the parent execution boundary for each branch. This applies even when no branches were created; see storage.
  • Deleting a turn with descendants now requires confirmation. API clients must send cascade: true and the confirmed expectedDeletedNodeIds after checking the deletion scope with the player. A leaf still accepts an empty request body. See Turn Branches.
  • Old queued runtime jobs cannot resume on an unknown route. Let pending jobs finish before upgrading. If an old job still needs to run, trigger its original action again on the intended route; the server does not migrate version 1 execution payloads.

Added

  • Export a full save as a versioned JSON archive. Open Menu → Export save to download covel-archive.json: the active route's history (including messages no longer on screen, but not alternate routes), including story, supported cards, submitted answers, world, characters, and supported game state, for reading or adapting the story. Media are listed by reference only. It omits credentials, hidden plugin data, private character fields, diagnostic traces, and recovery checkpoints, and a failed read never downloads an incomplete file. See export a save archive and the archive endpoint.
  • Plugin pages can offer a snapshots button. A declarative contributes.ui.view may embed SessionSnapshotsButton, which opens the host's own Snapshots and forks dialog — the same entry as the session menu. The button takes no parameters, fires only on a real click, and every save decision stays inside the dialog, so a plugin can never create or fork a save silently. See live session view components.
  • Save a snapshot and fork an earlier point in a game. Open Menu → Snapshots and forks in any session style, save the current progress, or choose an existing snapshot to open a separate save. See snapshots and forks.
  • Story Routes (in-session turn branching). Rewrite a past player turn in a server-saved game to try a different action from the same starting point. The original route stays saved. Switch routes below the player message or from Menu → Story Routes, where you can also name a route or confirm deletion of a turn and its continuations. See Story Routes and Turn Branches.

Changed

  • Workspace toolchain and eligible dependencies are refreshed within the seven-day release-age policy. Aligns Node 26.13.1 and pnpm 12.23.0 across mise, package.json, CI, and Docker; upgrades the PostgreSQL client postgres to 4.1.1 (verified against live PostgreSQL 18 contract and integration suites); and updates Hono 4.13.21, @hono/node-server 2.1.11, Vitest 5.1.1 (including the tools scaffold), Playwright 1.65.1, @json-render/* 0.23.2, i18next 27.2.6, react-i18next 18.0.3, lucide-react 1.79.0, react-resizable-panels 4.24.1, tailwind-merge 3.7.1, tailwind-lint 0.17.2, Vue 3.5.46, Turbo 2.11.13, oxlint 1.95.0, oxc-parser 0.160.0, fallow 3.48.0, @copilotkit/aimock 1.48.1, and the scoped PostCSS override to 8.5.33.
  • Name saves and confirm forks. Name a save before play, rename it during play or in Saved games, and review the source turn and editable name before creating a fork. Saved games groups forks under their source saves. See snapshots and forks.

Fixed

  • Copy error no longer repeats the error message. Reports copied from a failed view or plugin panel keep the browser's stack trace without adding a second copy of its heading.
  • Editing a provider endpoint or model configuration name twice no longer triggers a false conflict. You can keep typing while the first edit saves, then leave the field to save the newer value. Changes from another window still raise a conflict.
  • Branch history and retries respect the route that was visible at the fork. Executions appended to an ancestor later no longer enter a child's timeline, and a manual or queued retry cannot use an execution from a different route.
  • A branch switch no longer leaves a partially updated conversation. The Web client reads the branch summary and view at one epoch, keeps the old conversation on a transient failure, and retries before accepting more input.
  • Reloaded or expired configuration flows no longer complete from late results. Form submissions, device polling and loopback callbacks preserve the terminal state. Completing a flow refreshes its provider sources once; reading the result does not refresh them again.
  • Plugin removal no longer waits indefinitely for a nested secret operation. During removal, a callback that holds one key can finish using it; a request for another key fails instead of blocking cleanup.
  • Turn branch groundwork. Rebuilding state from persisted branch nodes now keeps their messages and applies state deletions correctly. Browser checkpoints no longer carry references to branch nodes they do not contain, and media cleanup protects files still used by a branch.
  • Cross-branch isolation for recovery, background jobs, and snapshot forks. Switching branches clears recovery prompts from earlier epochs, scopes executionSteps to the active branch path and epoch, and blocks retries of background jobs queued on an earlier branch (409 runtime_job_branch_mismatch). Manual snapshots record the active branch's turn, and forking a snapshot captured on an inactive branch copies that branch's chat history, model history, and state. See Turn Branches.
  • Deleting a route preserves its saved snapshots. An interrupted rewrite restores the parent route on restart. Runtime retries and previous-turn failure summaries now use the selected route, not a sibling’s later turn.
  • Opening character forms now use the standard form action. A model can no longer leave the player stuck at character creation by inventing an action name the session cannot accept.

Security

  • Dev scripts and desktop packaging move to patched cross-spawn and glob releases. Upgrades cross-spawn to 7.1.2 (via an exact minimumReleaseAgeExclude entry) across root dev scripts and electron-builder transitive consumers to patch Windows batch-file command injection (GHSA-ghv9-86vm-4v8m, GHSA-w3gc-668g-rf8f), backslash argument injection (GHSA-m6qr-m48x-3xhh), and the 7.1.0 %~dp0 regression, while updating @electron/asar's glob override to 14.0.6 (GHSA-qxr8-q827-836c) with minimatch 11.0.9 within the seven-day release-age policy.
  • Desktop packaging moves to patched tar 8.0.5. Overrides tar to 8.0.5 (via an exact minimumReleaseAgeExclude entry) for app-builder-lib and node-gyp@12.4.0 to remediate the UnpackSync sync-stream hang advisory (GHSA-25mm-r35j-6hgm / CVE-2026-140252) and includes a pinned node-gyp@12.4.0 patch adapting its streamed header-tarball download to tar 8's input API.
  • Desktop upgrades to Electron 45.4.1 (Node 24.22.3, Chromium 156.0.8078.100), and source/Docker deployments move to Node 26.13.1 and Undici 8.13.1. Picks up the latest Electron, Node, and Undici security and stability fixes within the seven-day release-age policy. See runtime and HTTP client updates.
  • Removing or upgrading a plugin no longer reveals concealed snapshot exports. New revisions remember their visibility at publication; snapshots without a marker keep those values for restore but never show them to players.
  • Provider-source connection tests no longer display upstream or plugin error text. The probe reports the failure kind and HTTP status when available.
  • A completed grant update can no longer be overwritten by an older cache read. Permission checks keep the newly published decision when concurrent reads finish out of order.

Upgrade notes for v0.0.57

  1. Let queued jobs finish. If one is interrupted, trigger its original action again on the intended route rather than retrying the old job.
  2. Stop Covel. For SQLite, back up the database and media. For PostgreSQL, take a database backup (for example with pg_dump), verify you can restore it to a separate database, and keep a copy of the media. Keep the old data for use with the old version and point v0.0.57 at a fresh database. There is no migration from schema 9 or earlier. The JSON story archive is for reading, not for restoring a database.
  3. Browser-private saves use a separate format: v3 checkpoints from v0.0.56 are still supported. Recreate browser-private saves from v0.0.55 and earlier.
  4. If you maintain a client that deletes a turn with descendants, show the player the entire deletion scope. Send cascade: true and expectedDeletedNodeIds containing the target and every descendant, each exactly once. A leaf still accepts an empty request body.

What's Changed

  • feat(web): add session snapshot forks by @ackness in #570
  • feat(web): show snapshot turns and label world save history by @ackness in #572
  • chore(ai-provider): update LiteLLM model data to 71186b8b by @github-actions[bot] in #571
  • feat: add save names, fork confirmation, and JSON archive export by @ackness in #573
  • fix(deps): patch cross-spawn and glob Dependabot advisories by @ackness in #574
  • chore(deps): refresh toolchain, Electron 45.4.1, postgres 4.1.1, and eligible dependencies by @ackness in #575
  • fix(branching): fix turn-node materialization, approval order, and media scan by @ackness in #576
  • feat(branching)!: rewrite historical turns into switchable story routes by @ackness in #577
  • Fix/branch history and plugin lifecycle by @ackness in #579
  • fix(deps): patch node-tar Dependabot advisory #35 by @ackness in #578
  • fix(web): avoid duplicate headers in copied errors by @ackness in #580
  • fix(web): preserve newer provider edits when a save completes by @ackness in #581
  • test(store): handle vector upsert rejection before awaiting deletion by @ackness in #582
  • chore(release): prepare Covel v0.0.57 by @ackness in #583

Full Changelog: v0.0.56...v0.0.57