mirror of https://github.com/openclaw/openclaw.git
* 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
|
||
|---|---|---|
| .. | ||
| attachments | ||
| monitor-handler | ||
| attachments.test.ts | ||
| attachments.ts | ||
| channel.directory.test.ts | ||
| channel.ts | ||
| conversation-store-fs.test.ts | ||
| conversation-store-fs.ts | ||
| conversation-store-memory.ts | ||
| conversation-store.ts | ||
| directory-live.ts | ||
| errors.test.ts | ||
| errors.ts | ||
| file-consent-helpers.test.ts | ||
| file-consent-helpers.ts | ||
| file-consent.ts | ||
| file-lock.ts | ||
| graph-chat.ts | ||
| graph-upload.test.ts | ||
| graph-upload.ts | ||
| graph-users.test.ts | ||
| graph-users.ts | ||
| graph.ts | ||
| inbound.test.ts | ||
| inbound.ts | ||
| index.ts | ||
| media-helpers.test.ts | ||
| media-helpers.ts | ||
| mentions.test.ts | ||
| mentions.ts | ||
| messenger.test.ts | ||
| messenger.ts | ||
| monitor-handler.file-consent.test.ts | ||
| monitor-handler.ts | ||
| monitor-types.ts | ||
| monitor.lifecycle.test.ts | ||
| monitor.test.ts | ||
| monitor.ts | ||
| onboarding.ts | ||
| outbound.test.ts | ||
| outbound.ts | ||
| pending-uploads.ts | ||
| policy.test.ts | ||
| policy.ts | ||
| polls-store-memory.ts | ||
| polls-store.test.ts | ||
| polls.test.ts | ||
| polls.ts | ||
| probe.test.ts | ||
| probe.ts | ||
| reply-dispatcher.ts | ||
| resolve-allowlist.test.ts | ||
| resolve-allowlist.ts | ||
| revoked-context.test.ts | ||
| revoked-context.ts | ||
| runtime.ts | ||
| sdk-types.ts | ||
| sdk.ts | ||
| secret-input.ts | ||
| send-context.ts | ||
| send.test.ts | ||
| send.ts | ||
| sent-message-cache.test.ts | ||
| sent-message-cache.ts | ||
| storage.ts | ||
| store-fs.ts | ||
| test-runtime.ts | ||
| token-response.test.ts | ||
| token-response.ts | ||
| token.test.ts | ||
| token.ts | ||