openclaw/src
Taron Sung bd100bdde6 fix(plugins): invoke before_compaction and after_compaction hooks during compaction
Fixes #3728

The before_compaction and after_compaction plugin hooks were defined in
plugins/hooks.ts but never invoked. This commit adds the missing calls
in the compaction pipeline (compact.ts) so plugins can:
- Flush external context stores before compaction
- Inject recovery instructions after compaction
- Coordinate with external memory systems

AI-assisted: Yes (Claude)
Testing: Lightly tested - linter passes, existing tests pass
2026-01-29 13:00:23 +09:00
..
acp refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agents fix(plugins): invoke before_compaction and after_compaction hooks during compaction 2026-01-29 13:00:23 +09:00
auto-reply feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
browser refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
canvas-host chore: stop tracking a2ui bundle hash 2026-01-27 16:07:33 -05:00
channels fix(discord): add missing type exports and fix unused imports 2026-01-28 11:04:07 +05:30
cli fix: local updates for PR #3600 2026-01-28 22:00:11 -05:00
commands fix: banner spacing 2026-01-28 11:39:35 -05:00
compat fix: add MACOS_APP_SOURCES_DIR constant and update test to use new path 2026-01-27 14:17:20 -06:00
config fix: local updates for PR #3600 2026-01-28 22:00:11 -05:00
cron test: handle legacy cron swift path 2026-01-28 00:31:58 +00:00
daemon Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
discord Discord: fix resolveDiscordTarget parse options 2026-01-28 00:37:21 -06:00
docs bugfix:The Mintlify navbar (logo + search bar with ⌘K) scrolls away w… (#2445) 2026-01-26 17:39:10 -08:00
gateway refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
hooks fix: use fileURLToPath for Windows compatibility 2026-01-28 16:42:39 +05:30
imessage refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
infra feat(routing): add per-account-channel-peer session scope 2026-01-28 11:42:33 +05:30
line refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
link-understanding refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logging refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
macos refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
markdown refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
media fix(media): add missing MIME type mappings for audio/video files 2026-01-28 13:17:50 +01:00
media-understanding fix: add security hardening for media text attachments (#3700) 2026-01-29 02:39:01 +00:00
memory fix: local updates for PR #3600 2026-01-28 22:00:11 -05:00
node-host refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
pairing refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
plugin-sdk refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
plugins refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
process fix: harden exec spawn fallback 2026-01-25 06:37:39 +00:00
providers refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
routing feat(routing): add per-account-channel-peer session scope 2026-01-28 11:42:33 +05:30
scripts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
security fix: wire per-account dm scope guidance (#3095) (thanks @jarvis-sam) 2026-01-28 11:42:33 +05:30
sessions refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
shared/text fix: unify reasoning tags + agent ids (#1613) (thanks @kyleok) (#1629) 2026-01-24 19:56:02 +00:00
signal refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
slack refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
telegram Fix text attachment MIME misclassification (#3628) 2026-01-29 02:33:03 +00:00
terminal chore: update molt.bot domains 2026-01-27 12:21:01 +00:00
test-helpers refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
test-utils feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
tts fix: tts base url runtime read (#3341) (thanks @hclsys) 2026-01-28 23:30:29 +00:00
tui refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
types TTS: gate auto audio on inbound voice notes (#1667) 2026-01-25 04:35:20 +00:00
utils refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web fix: wire per-account dm scope guidance (#3095) (thanks @jarvis-sam) 2026-01-28 11:42:33 +05:30
whatsapp refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
wizard refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
channel-web.barrel.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
channel-web.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
docker-setup.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
entry.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
git-hooks.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
globals.test.ts
globals.ts CLI: streamline startup paths and env parsing 2026-01-18 23:10:39 +00:00
index.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
index.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logger.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logger.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
logging.ts fix: unblock bundled plugin load 2026-01-18 19:34:21 +00:00
polls.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
polls.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
postinstall-patcher.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
runtime.ts perf: speed up memory batch polling 2026-01-18 03:55:14 +00:00
utils.test.ts fix: migrate legacy state/config paths 2026-01-28 00:16:00 +00:00
utils.ts fix: migrate legacy state/config paths 2026-01-28 00:16:00 +00:00
version.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00