openclaw/test
scoootscooob 7764f717e9
refactor: make OutboundSendDeps dynamic with channel-ID keys (#45517)
* refactor: make OutboundSendDeps dynamic with channel-ID keys

Replace hardcoded per-channel send fields (sendTelegram, sendDiscord,
etc.) with a dynamic index-signature type keyed by channel ID. This
unblocks moving channel implementations to extensions without breaking
the outbound dispatch contract.

- OutboundSendDeps and CliDeps are now { [channelId: string]: unknown }
- Each outbound adapter resolves its send fn via bracket access with cast
- Lazy-loading preserved via createLazySender with module cache
- Delete 6 deps-send-*.runtime.ts one-liner re-export files
- Harden guardrail scan against deleted-but-tracked files


* fix: preserve outbound send-deps compatibility

* style: fix formatting issues (import order, extra bracket, trailing whitespace)



* fix: resolve type errors from dynamic OutboundSendDeps in tests and extension

* fix: remove unused OutboundSendDeps import from deliver.test-helpers
2026-03-14 02:42:21 -07:00
..
fixtures refactor(security): simplify system.run approval model 2026-03-11 01:43:06 +00:00
helpers fix(runtime): duplicate messages, share singleton state across bundled chunks (#43683) 2026-03-12 14:59:27 -04:00
mocks chore: Fix types. 2026-02-17 13:40:17 +09:00
scripts feature(context): extend plugin system to support custom context management (#22201) 2026-03-06 05:31:59 -08:00
appcast.test.ts fix(test): stabilize appcast version assertion 2026-03-03 05:51:50 +00:00
cli-json-stdout.e2e.test.ts fix(cli): keep json preflight stdout machine-readable 2026-03-02 03:10:02 +00:00
gateway.multi.e2e.test.ts refactor: extract telegram lane delivery and e2e harness 2026-02-22 21:33:20 +01:00
git-hooks-pre-commit.test.ts perf(test): trim fixture and serialization overhead in integration suites 2026-03-03 01:09:07 +00:00
global-setup.ts
openclaw-npm-release-check.test.ts fix: make node-llama-cpp optional for npm installs 2026-03-12 16:45:59 +00:00
release-check.test.ts fix: harden windows npm runtime path 2026-03-12 23:03:19 +00:00
setup.ts refactor: make OutboundSendDeps dynamic with channel-ID keys (#45517) 2026-03-14 02:42:21 -07:00
test-env.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
ui.presenter-next-run.test.ts Web UI: add full cron edit parity, all-jobs run history, and compact filters (openclaw#24155) thanks @Takhoffman 2026-02-22 23:05:42 -06:00