Repository navigation
v2.4.2 — /dream cache injection workaround & Bun SEA code signing
What's New
Documents why binary patching fails and provides a working cache injection workaround for force-activating /dream.
scripts/patch-dream.sh
New utility that injects tengu_kairos_dream=true into the local GrowthBook cache with a 30-second filesystem watcher that survives the SDK's cache writeback during startup.
bash scripts/patch-dream.sh # inject + start watcher, then launch claude
bash scripts/patch-dream.sh --check
bash scripts/patch-dream.sh --restoreL62 — Lazy isEnabled dispatch
- Commands are always registered;
isEnabledis checked at dispatch time viaVe(), not at startup - Flag changes take effect immediately without restart
L68 — GrowthBook deep mechanics
- Bun SEA code signing: macOS SIGKILLs modified binaries — binary patching is not viable
- Lazy SDK init: wrapped in memoized thunk, fires on first flag access
- Destructive cache writeback:
yQq()replaces entirecachedGrowthBookFeatureswithObject.fromEntries(Nb), wiping non-server keys - Flag absence vs explicit false:
tengu_kairos_dreamis absent (not false) from server response —Nbnever contains it, cache fallback IS consulted but gets wiped by writeback - Cache injection workaround: inject + poll to survive the single writeback event
Install
claude plugin marketplace add https://github.com/yaniv-golan/claude-code-internals
claude plugin install claude-code-internals@claude-code-internals-marketplaceFull Changelog: v2.4.1...v2.4.2