Skip to content

v2.10.1 — Fix Upgrade Repo URL, Preserve Config on --upgrade & Fix SessionStart OS Import

Latest

Choose a tag to compare

@thoufeeque22 thoufeeque22 released this 25 Nov 18:08
17f57b6

What's Fixed in ZeroBurn v2.10.1

  • Restored canonical thoufeeque22/zeroburn URLs (replacing <owner>/zeroburn placeholders) in .agents/scripts/init.mjs (with ZEROBURN_UPSTREAM_REPO env override), .agents/hooks/session-start.mjs, .agents/scripts/live-audit.mjs, and benchmarks/try-now.mjs.
  • Preserved existing .agents/project.config.json & stamped upgraded version on --upgrade in .agents/scripts/init.mjs: reads savedUserCfg prior to fs.cpSync, excludes project.config.json from overwriting, reloads plugin.json version post-copy, and merges new template defaults (e.g., maxUnboundedReadBytes) with user settings.
  • Added missing import os from 'node:os' in .agents/hooks/session-start.mjs so checkUpstreamVersion()'s 24-hour cache in os.tmpdir() runs cleanly.

One-Time Bootstrap (if upgrading from <= v2.10.0 with <owner> placeholder)

git clone --depth 1 https://github.com/thoufeeque22/zeroburn /tmp/zb && cp -R /tmp/zb/.agents . && rm -rf /tmp/zb && node .agents/scripts/init.mjs

Full Changelog: v2.10.0...v2.10.1