openclaw/src
Robby (AI-assisted) 8e495db23c fix(history): add LRU eviction for groupHistories to prevent memory leak
Add evictOldHistoryKeys() function that removes oldest keys when the
history map exceeds MAX_HISTORY_KEYS (1000). Called automatically in
appendHistoryEntry() to bound memory growth.

The map previously grew unbounded as users interacted with more groups
over time. Growth is O(unique groups) not O(messages), but still causes
slow memory accumulation on long-running instances.

Fixes #2384
2026-01-26 21:09:15 +00:00
..
acp fix: stabilize acp streams and tests 2026-01-18 08:54:00 +00:00
agents Merge branch 'main' into feat/tools-alsoAllow 2026-01-26 20:39:09 +00:00
auto-reply fix(history): add LRU eviction for groupHistories to prevent memory leak 2026-01-26 21:09:15 +00:00
browser Browser: add URL fallback for relay tab matching (#1999) 2026-01-25 21:04:41 -06:00
canvas-host chore: update a2ui bundle hash 2026-01-22 08:48:09 +00:00
channels fix(discord): honor threadId for thread-reply 2026-01-26 14:28:28 -06:00
cli refactor(auth)!: remove external CLI OAuth reuse 2026-01-26 19:05:00 +00:00
commands test(auth): update auth profile coverage 2026-01-26 19:05:00 +00:00
config test(config): enforce allow+alsoAllow mutual exclusion 2026-01-26 10:42:03 -08:00
cron fix(security): prevent prompt injection via external hooks (gmail, we… (#1827) 2026-01-26 13:34:04 +00:00
daemon test: stabilize service-env path tests on windows 2026-01-24 04:36:52 +00:00
discord docs: Add Oracle Cloud (OCI) platform guide (#2333) 2026-01-26 11:23:11 -08:00
docs refactor: route channel runtime via plugin api 2026-01-18 11:01:16 +00:00
gateway Merge branch 'main' into feat/tools-alsoAllow 2026-01-26 19:15:39 +00:00
hooks refactor: centralize config update logging 2026-01-23 04:01:26 +00:00
imessage fix(imessage): normalize messaging targets (#1708) 2026-01-25 13:43:32 +00:00
infra test(auth): update auth profile coverage 2026-01-26 19:05:00 +00:00
line feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
link-understanding Add link understanding tool support (#1637) 2026-01-25 00:15:54 +00:00
logging fix: gate diagnostic logs behind verbose 2026-01-24 05:06:42 +00:00
macos fix: type gateway lock handle 2026-01-21 23:05:11 +00:00
markdown fix: add per-channel markdown table conversion (#1495) (thanks @odysseus0) 2026-01-23 18:39:25 +00:00
media fix: harden url fetch dns pinning 2026-01-26 16:05:29 +00:00
media-understanding fix: skip image understanding for vision models (#1747) 2026-01-25 09:57:19 +00:00
memory chore: filter noisy warnings 2026-01-24 10:48:33 +00:00
node-host fix: honor tools.exec ask/security in approvals 2026-01-24 04:53:44 +00:00
pairing feat: add /allowlist command 2026-01-21 05:34:53 +00:00
plugin-sdk feat(plugins): sync plugin commands to Telegram menu and export gateway types 2026-01-26 22:28:14 +05:30
plugins feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
process fix: harden exec spawn fallback 2026-01-25 06:37:39 +00:00
providers fix: log config update in copilot auth 2026-01-23 07:23:52 +00:00
routing Routing: precompile session key regexes (#1697) 2026-01-25 21:15:20 -06:00
security test: stub windows ACL for include perms audit 2026-01-26 20:28:20 +00:00
sessions fix: inherit model overrides for thread sessions 2026-01-22 06:03:23 +00:00
shared/text fix: unify reasoning tags + agent ids (#1613) (thanks @kyleok) (#1629) 2026-01-24 19:56:02 +00:00
signal fix: stop sending tool summaries to channels 2026-01-25 11:54:29 +00:00
slack fix(slack): handle file redirects 2026-01-26 17:01:22 +00:00
telegram fix: telegram sendPayload and plugin auth (#1917) (thanks @JoshuaLelon) 2026-01-26 22:28:14 +05:30
terminal fix: clarify auth order exclusions 2026-01-24 01:18:03 +00:00
test-helpers refactor: add hook guards and test helpers 2026-01-18 06:15:24 +00:00
test-utils feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
tts refactor: align voice-call TTS with core config 2026-01-25 09:29:57 +00:00
tui TUI: guard against overflow width crashes (#1686) 2026-01-25 21:18:16 -06:00
types TTS: gate auto audio on inbound voice notes (#1667) 2026-01-25 04:35:20 +00:00
utils feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
web fix: stop sending tool summaries to channels 2026-01-25 11:54:29 +00:00
whatsapp refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
wizard refactor(auth)!: remove external CLI OAuth reuse 2026-01-26 19:05:00 +00:00
channel-web.barrel.test.ts
channel-web.ts
docker-setup.test.ts fix: update docker gateway command 2026-01-24 03:24:28 +00:00
entry.ts chore: filter noisy warnings 2026-01-24 10:48:33 +00:00
git-hooks.test.ts fix: add git hook setup and stable config hash sorting 2026-01-19 02:02:17 +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
index.ts fix: tame invalid config logging 2026-01-21 01:58:47 +00:00
logger.test.ts fix: align rolling logs to local time 2026-01-22 07:02:52 +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
polls.ts
postinstall-patcher.test.ts
runtime.ts perf: speed up memory batch polling 2026-01-18 03:55:14 +00:00
utils.test.ts
utils.ts refactor: centralize config update logging 2026-01-23 04:01:26 +00:00
version.ts