What changed in caveman from 3 to 4

2 releases numbered after v3.2.0 up to and including v4.0.1, stable releases only. v3.2.0 and v4.0.1 are the newest stable releases of 3 and 4 we track; this page follows them as new ones ship.

37 changes across 2 releases

Added 9

v4.0.0

  • Running npx @caveman-ai/cli opens a one-screen setup that finds coding agents and their logins, shows planned changes, and applies them on Enter, with --yes required when no terminal is available
  • Module switching via caveman on|off backed by a registry index (modules.json) verified against the signed checksum manifest, plus a module lockfile recording installed modules
  • New commands: caveman stop, a status grid, an offline caveman doctor, caveman providers add|remove|login|local, and caveman providers cloud on|off
  • caveman-auto model with a 1M context window appears in Claude Code and OpenCode model pickers, with routing applied only to Auto requests
  • For routable requests the proxy asks Cloud's route stage for a model and effort and selects from the user's configured providers
  • Translators between Messages, Chat Completions and Responses cover all nine directions, enabling Claude Code to run on Responses hosts such as the ChatGPT plan
  • A signed-in runtime sends runtime/v1 event batches to Cloud while respecting the telemetry opt-out
  • The binary release mirrors Caveman Blocks v0.1.0-rc.4, pinned by its checksum list digest, with each Blocks binary published under the same signed manifest
  • Catalog adds Sonnet 5.5, Haiku 5.5, GPT-6.1 Sol and GPT-6 Luna
Changed 12

v4.0.1

  • The @caveman-ai/pi npm package 0.3.1 reads Caveman 4's config and port
  • Memory retries longer on SQLite contention
  • /caveman-compress asks for a file path instead of improvising on pasted text and states that the file is sent to the model provider
  • Tested agent pins moved to current Claude Code, Codex, OpenCode, Gemini, Kilo and Qwen releases

v4.0.0

  • install.sh and install.ps1 now finish with the same setup, pinned to the CLI shipped in this release
  • Configuration is consolidated into ~/.caveman/cloud.json, with older config migrated once and the telemetry opt-out carried over
  • If the route key is refused or a billing limit is hit, the request is sent unrouted and caveman status reports the reason
  • The proxy keeps the Anthropic prompt cache warm during paused sessions, with warm timing based on measured return times, at most two concurrent warms, and caveman stats listing every warm
  • Sessions stay on their model across Cloud pauses and transient failures so a model switch does not rewrite the cached prefix
  • Blocks usage counts fall under the same telemetry notice and opt-out as Caveman's
  • @caveman-ai/cli moves from 2.1.0 to 4.0.0 to match the product version, and binaries move from bin-v2.1.0 to bin-v4.0.0
  • The npx github:JuliusBrussee/caveman installer depends on CLI ^4.0.0 so that --uninstall runs a CLI that understands what 4.0 wrote
Fixed 15

v4.0.1

  • caveman off --all no longer leaves the Caveman Blocks hook in Claude Code's settings on Windows, and repeated caveman setup runs no longer add duplicate copies
  • An npm .cmd shim that forwards to a native .exe launches correctly again on Windows
  • Hook child processes no longer flash a console window on Windows
  • caveman sync uploads large backlogs of local spans in batches so stores over the 16 MiB import cap no longer fail with a request body limit error
  • The ExperimentalWarning SQLite line is no longer printed during caveman sync
  • On OpenCode 2, subagent spawns no longer reset the mode for every session, so stop caveman and /ultracave persist
  • The OpenCode provider-not-routed warning now reports where the provider actually sends requests
  • caveman wrap pi after caveman enable pi no longer loads the extension twice and cause Pi to exit with code 1
  • Routing a model in Pi no longer resets the thinking level set with --thinking high
  • Caveman works with Pi 1.1+ custom-message turns
  • The prompt hook gives up after 2 seconds when the host sends no complete payload, consistent with the other hooks
  • Caveman Blocks honors CLAUDE_CONFIG_DIR and CODEX_HOME instead of always writing the hook into ~/.claude
  • caveman status no longer reports account refresh offline after signing in to a different account
  • A key sent in both auth headers through the proxy keeps its bearer token
  • A Termux-built proxy is recognised as Caveman's own
Security 1

v4.0.0

  • Sign-in uses the shared device flow and refuses plain-HTTP Cloud endpoints other than this machine

Original release notes, newest first

The list above is our reading of these notes; the originals from Julius Brussee are here, one fold per release.

v4.0.1Caveman 4.0.1

Caveman 4.0.1 fixes what turned up in the first hours of 4.0.0: a Windows uninstall bug, a sync that could never catch up, and problems on OpenCode 2 and Pi.

Windows
  • caveman off --all left the Caveman Blocks hook in Claude Code's settings, and every caveman setup added another copy. Blocks v0.1.0-rc.5 installs its binary as .exe, recognises the entries rc.4 wrote, and replaces them on the next caveman setup.
  • An npm .cmd shim that forwards to a native .exe launches again.
  • Hook child processes no longer flash a console window.
Sync
  • caveman sync uploads a large backlog of local spans in batches. Before, a store over the 16 MiB import cap failed with "Request body exceeds configured limit" on every retry.
  • The ExperimentalWarning: SQLite line is gone.
  • Known issue: the practice-findings part of caveman sync still reports "Request rejected". That is a Caveman Cloud bug and needs no CLI update once Cloud is fixed.
OpenCode
  • On OpenCode 2, a subagent spawn reset the mode for every session, undoing "stop caveman" and /ultracave. Subagent sessions no longer touch the mode.
  • The "provider is not routed" warning reads where a provider actually sends requests.
Pi
  • caveman wrap pi after caveman enable pi loaded the extension twice and Pi exited 1.
  • Routing a model no longer resets the thinking level (--thinking high stayed only until session start).
  • Works with Pi 1.1+ custom-message turns.
  • @caveman-ai/pi 0.3.1: the npm package now reads Caveman 4's config and port.
Claude Code and Codex
  • The prompt hook gives up after 2 seconds when the host sends no complete payload, like the other hooks.
  • Blocks honors CLAUDE_CONFIG_DIR and CODEX_HOME; it used to write the hook into ~/.claude regardless.
  • caveman status no longer says "account refresh offline" after signing in to a different account.
Smaller fixes
  • Proxy: one key sent in both auth headers keeps its bearer; a Termux-built proxy is recognised as Caveman's own.
  • Memory: longer retry on SQLite contention.
  • /caveman-compress asks for a file path instead of improvising on pasted text, and says that the file goes to your model provider.
  • Tested agent pins moved to current Claude Code, Codex, OpenCode, Gemini, Kilo and Qwen releases.
Versions
  • @caveman-ai/cli 4.0.0 → 4.0.1, binaries bin-v4.0.0 → bin-v4.0.1, @caveman-ai/pi 0.3.0 → 0.3.1, Blocks v0.1.0-rc.4 → v0.1.0-rc.5.
Companion releases

View originalPermalink

v4.0.0Caveman 4.0.0

Caveman 4.0.0 makes npx @caveman-ai/cli the one install, adds Auto routing through Caveman Cloud on top of the local proxy, and ships Caveman Blocks as a module.

One command to install
  • npx @caveman-ai/cli opens a one-screen setup. It finds your coding agents and their logins (every Claude Code profile), shows what it will change, applies on Enter, then offers to start the agent. Without a terminal it applies only with --yes.
  • install.sh and install.ps1 end in the same setup, pinned to the CLI this release ships.
  • caveman on|off switches modules from a registry. The module index (modules.json) is listed in the signed checksum manifest of the binary release, and the CLI refuses an index that manifest does not list. A module lockfile records what is installed.
  • New commands: caveman stop, a status grid, an offline caveman doctor, caveman providers add|remove|login|local and caveman providers cloud on|off.
  • One config home: ~/.caveman/cloud.json. Older config migrates once, without races, and the telemetry opt-out carries over.
  • Sign-in uses the shared device flow. It refuses plain-HTTP Clouds other than this machine.
Auto routing (signed in to Caveman Cloud)
  • caveman-auto shows up in the Claude Code and OpenCode model pickers with a 1M context window. Routing applies only to Auto, and that includes Claude Pro/Max logins and ChatGPT logins (Codex, OpenCode).
  • For each routable request the proxy asks Cloud's route stage for a model and effort (contracts route-ask-v1) and picks from the providers you set up. If the key is refused or a billing limit is hit, the request goes through unrouted and caveman status says why.
  • Translators between Messages, Chat Completions and Responses cover all nine directions, so Claude Code can run on Responses hosts such as the ChatGPT plan.
  • A signed-in runtime sends runtime/v1 event batches to Cloud and respects the telemetry opt-out.
Cache
  • The proxy keeps the Anthropic prompt cache warm while a session is paused. Warm timing comes from measured return times, at most two warms run at once, and caveman stats lists every warm.
  • A session stays on its model across Cloud pauses and transient failures, so a model switch doesn't rewrite the cached prefix.
Caveman Blocks
  • The binary release mirrors caveman-ai/blocks v0.1.0-rc.4 (pinned by the digest of its checksum list). Each Blocks binary is republished under the same signed manifest as the other binaries. Blocks usage counts fall under the same telemetry notice and opt-out as Caveman's.
Catalog
  • Adds Sonnet 5.5, Haiku 5.5, GPT-6.1 Sol and GPT-6 Luna.
Versions
  • @caveman-ai/cli goes from 2.1.0 to 4.0.0 to match the product version. Binaries move from bin-v2.1.0 to bin-v4.0.0.
  • The npx github:JuliusBrussee/caveman installer depends on CLI ^4.0.0, so -- --uninstall runs a CLI that understands what 4.0 wrote.
Companion releases

Full changes: https://github.com/JuliusBrussee/caveman/compare/v3.2.0...v4.0.0

Release smoke: https://github.com/JuliusBrussee/caveman/actions/runs/38431102855

View originalPermalink