Skip to content

ClawGod v1.0.6

Choose a tag to compare

@0Chencc 0Chencc released this 16 Apr 09:01
· 22 commits to main since this release

Fixes

  • Patch verifier catches silent failures on new cli.js versions — the patcher previously reported "already applied" whenever a regex had zero matches, which silently masked regressions on v2.1.110 where two filter patches had stopped matching. Each patch now declares a sentinel string; 0 matches with the sentinel still present is reported as a hard failure.
  • Attachment filter bypass — v2.1.110 compatibility — extended regex to match the new fn()!=="ant"&&paY.has(...) form alongside the legacy ){if(...) form. In v2.1.110 paY is an empty Set so the filter is effectively a no-op, but the patch now guards against future repopulation.
  • Message list filter bypass — v2.1.110 compatibility — split into two branches: legacy ternary (fn()!=="ant"?...:...) and the v2.1.92+ s_8 form (if(fn()==="ant")return _;let z=...;return FaY(_,z)). Both shapes now patch cleanly.
  • Unique check no longer masks regex staleness — patches marked unique:true used to fail immediately on 0 matches; they now fall through to sentinel verification.

Infrastructure

  • Installers remove the old ~/.clawgod/extract-natives.mjs scratch file after native-module extraction completes (cleanup).

Install / Upgrade

macOS / Linux:

curl -fsSL https://github.com/0Chencc/clawgod/releases/latest/download/install.sh | bash

Windows (PowerShell):

irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iex

Verified against: v2.1.92 and v2.1.110 (23 patches applied, 0 failed, re-run on patched file correctly reports "already applied" via sentinel).

Closes: #19, #23, #27, #31