openclaw/src
Marcus Castro eed8cd383f
fix(agent): search all agent stores when resolving --session-id (#13579)
* fix(agent): search all agent stores when resolving --session-id

When `--session-id` was provided without `--to` or `--agent`, the reverse
lookup only searched the default agent's session store. Sessions created
under a specific agent (e.g. `--agent mybot`) live in that agent's store
file, so the lookup silently failed and the session was not reused.

Now `resolveSessionKeyForRequest` iterates all configured agent stores
when the primary store doesn't contain the requested sessionId.

Fixes #12881

* fix: search other agent stores when --to key does not match --session-id

When --to derives a session key whose stored sessionId doesn't match the
requested --session-id, the cross-store search now also runs. This handles
the case where a user provides both --to and --session-id targeting a
session in a different agent's store.
2026-02-13 18:46:54 +01:00
..
acp fix: close OC-02 gaps in ACP permission + gateway HTTP deny config (#15390) (thanks @aether-ai-agent) 2026-02-13 14:30:06 +01:00
agents perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
auto-reply perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
browser perf: use .abort.bind() instead of arrow closures to prevent memory leaks (#7174) 2026-02-13 18:13:18 +01:00
canvas-host perf(test): reduce module reload overhead in key suites 2026-02-13 15:45:19 +00:00
channels fix(slack): apply limit parameter to emoji-list action (#13421) 2026-02-13 18:20:41 +01:00
cli perf(test): remove extra module resets in cli and message suites 2026-02-13 16:08:38 +00:00
commands fix(agent): search all agent stores when resolving --session-id (#13579) 2026-02-13 18:46:54 +01:00
compat
config perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
cron test: migrate suites to e2e coverage layout 2026-02-13 14:28:22 +00:00
daemon perf(test): optimize heavy suites and stabilize lock timing 2026-02-13 13:29:07 +00:00
discord Discord: fix bare guild ID misrouted as channel ID in parser 2026-02-13 11:03:10 -06:00
docs
gateway perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
hooks fix: increase image tool maxTokens from 512 to 4096 (#11770) 2026-02-13 17:52:27 +01:00
imessage fix(imessage): prevent rpc spawn in tests 2026-02-13 17:36:37 +01:00
infra fix: use relayAbort helper for addEventListener to preserve AbortError reason 2026-02-13 18:13:18 +01:00
line
link-understanding fix(security): block private/loopback/metadata IPs in link-understanding URL detection (#15604) 2026-02-13 18:38:40 +01:00
logging perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
macos
markdown
media perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
media-understanding perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
memory perf(test): remove module reloads in browser and embedding suites 2026-02-13 15:31:17 +00:00
node-host
pairing
plugin-sdk
plugins perf(test): replace module resets with direct spies and runtime seams 2026-02-13 16:04:49 +00:00
process fix(windows): normalize env entries for spawn 2026-02-13 17:48:04 +01:00
providers perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
routing fix: add discord role allowlists (#10650) (thanks @Minidoracat) 2026-02-12 19:52:24 -06:00
scripts
security perf(test): replace module resets with direct spies and runtime seams 2026-02-13 16:04:49 +00:00
sessions fix: preserve inter-session input provenance (thanks @anbecker) 2026-02-13 02:02:01 +01:00
shared/text
signal perf(test): reduce module reload churn in unit suites 2026-02-13 15:19:13 +00:00
slack fix(slack): override video/* MIME to audio/* for voice messages (#14941) 2026-02-13 18:09:04 +01:00
telegram perf(test): reduce module reload overhead in key suites 2026-02-13 15:45:19 +00:00
terminal fix(onboarding): exit cleanly after web ui hatch 2026-02-13 03:20:32 +01:00
test-helpers
test-utils
tts perf: use .abort.bind() instead of arrow closures to prevent memory leaks (#7174) 2026-02-13 18:13:18 +01:00
tui
types
utils fix: use relayAbort helper for addEventListener to preserve AbortError reason 2026-02-13 18:13:18 +01:00
web fix: execute sandboxed file ops inside containers (#4026) 2026-02-13 16:29:10 +01:00
whatsapp
wizard fix(configure): reject literal "undefined" and "null" gateway auth tokens (#13767) 2026-02-13 17:04:41 +01:00
channel-web.barrel.test.ts
channel-web.ts
docker-setup.test.ts fix(tts): strip markdown before sending text to TTS engines (#13237) 2026-02-12 10:46:57 -05:00
entry.ts
extensionAPI.ts
globals.test.ts
globals.ts
index.test.ts
index.ts
logger.test.ts
logger.ts
logging.ts perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
polls.test.ts
polls.ts
runtime.ts
utils.test.ts
utils.ts
version.test.ts
version.ts