












@@ -467,16 +467,23 @@ releases.
467467| `channelRouteIdentityKey(...)` | `channelRouteDedupeKey(...)` |
468468| `channelRouteKey(...)` | `channelRouteCompactKey(...)` |
469469| `ComparableChannelTarget` | `ChannelRouteParsedTarget` |
470-| `resolveComparableTargetForChannel(...)` | `resolveRouteTargetForChannel(...)` |
471-| `resolveComparableTargetForLoadedChannel(...)` | `resolveRouteTargetForLoadedChannel(...)` |
472470| `comparableChannelTargetsMatch(...)` | `channelRouteTargetsMatchExact(...)` |
473471| `comparableChannelTargetsShareRoute(...)` | `channelRouteTargetsShareConversation(...)` |
474472475473The modern route helpers normalize `{ channel, to, accountId, threadId }`
476474consistently across native approvals, reply suppression, inbound dedupe,
477-cron delivery, and session routing. If your plugin owns custom target
478-grammar, use `resolveChannelRouteTargetWithParser(...)` to adapt that
479-parser into the same route target contract.
475+cron delivery, and session routing.
476+477+Do not add new uses of `ChannelMessagingAdapter.parseExplicitTarget` or
478+the parser-backed loaded-route helpers (`parseExplicitTargetForLoadedChannel`
479+or `resolveRouteTargetForLoadedChannel`) or
480+`resolveChannelRouteTargetWithParser(...)` from `plugin-sdk/channel-route`.
481+Those hooks are deprecated and remain only for older plugins during the
482+migration window. New channel plugins should use
483+`messaging.targetResolver.resolveTarget(...)` for target id normalization
484+and directory-miss fallback, `messaging.inferTargetChatType(...)` when core
485+needs an early peer kind, and `messaging.resolveOutboundSessionRoute(...)`
486+for provider-native session and thread identity.
480487481488</Step>
482489@@ -518,7 +525,7 @@ releases.
518525| `plugin-sdk/channel-lifecycle` | Account status and draft stream lifecycle helpers | `createAccountStatusSink`, draft preview finalization helpers |
519526| `plugin-sdk/inbound-envelope` | Inbound envelope helpers | Shared route + envelope builder helpers |
520527| `plugin-sdk/inbound-reply-dispatch` | Inbound reply helpers | Shared record-and-dispatch helpers |
521-| `plugin-sdk/messaging-targets` | Messaging target parsing | Target parsing/matching helpers |
528+| `plugin-sdk/messaging-targets` | Deprecated target parsing import path | Use `plugin-sdk/channel-targets` for generic target parsing helpers, `plugin-sdk/channel-route` for route comparison, and plugin-owned `messaging.targetResolver` / `messaging.resolveOutboundSessionRoute` for provider-specific target resolution |
522529| `plugin-sdk/outbound-media` | Outbound media helpers | Shared outbound media loading |
523530| `plugin-sdk/outbound-send-deps` | Outbound send dependency helpers | Lightweight `resolveOutboundSendDep` lookup without importing the full outbound runtime |
524531| `plugin-sdk/outbound-runtime` | Outbound runtime helpers | Outbound delivery, identity/send delegate, session, formatting, and payload planning helpers |
此內容由慣性聚合(RSS閱讀器)自動聚合整理,僅供閱讀參考。 原文來自 — 版權歸原作者所有。