Skip to content

v0.1.27 — shared claude binary across agents

Choose a tag to compare

@lodar lodar released this 30 May 16:34
· 119 commits to main since this release

Claude agents now run the single shared /home/claude Claude Code install (codex-style) instead of each self-staging a ~230M per-user copy on launch.

What changed

  • 5dive-agent-start sets DISABLE_UPDATES=1 + DISABLE_AUTOUPDATER=1 for claude agents (STAGE_GUARD), suppressing Claude Code's on-launch per-user self-stage. The systemd unit already execs the shared /home/claude/.local/bin/claude (TYPE_BIN[claude]); only the claude user updates that copy via the 03:00 soft-update.
  • Companion change in 5dive-api soft-updates.sh: prune_claude_versions removes stale ~/.local/share/claude/versions/* the native installer never cleaned up.

Effect: ~230M saved per claude agent + ~230M per stale version. grok/agy/codex were already shared. Existing VMs heal at the next 03:00 update.