ClawGod v1.0.6
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
sentinelstring; 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.110paYis 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_8form (if(fn()==="ant")return _;let z=...;return FaY(_,z)). Both shapes now patch cleanly. - Unique check no longer masks regex staleness — patches marked
unique:trueused to fail immediately on 0 matches; they now fall through to sentinel verification.
Infrastructure
- Installers remove the old
~/.clawgod/extract-natives.mjsscratch file after native-module extraction completes (cleanup).
Install / Upgrade
macOS / Linux:
curl -fsSL https://github.com/0Chencc/clawgod/releases/latest/download/install.sh | bashWindows (PowerShell):
irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iexVerified against: v2.1.92 and v2.1.110 (23 patches applied, 0 failed, re-run on patched file correctly reports "already applied" via sentinel).