diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 36ca44bf6..f619f12da 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "6d271762ab50fb4376b8859bcf55eefb2d3814ea", - "syncedAt": "2026-04-25T01:55:34.105Z" + "sha": "5e640b93dae6a273286c66d93d20a82ae56ed533", + "syncedAt": "2026-04-25T01:55:53.943Z" } diff --git a/docs/plugins/sdk-channel-plugins.md b/docs/plugins/sdk-channel-plugins.md index b4939dd20..bc468b379 100644 --- a/docs/plugins/sdk-channel-plugins.md +++ b/docs/plugins/sdk-channel-plugins.md @@ -466,6 +466,14 @@ should use `resolveInboundMentionDecision({ facts, policy })`. You can also pass raw adapter objects instead of the declarative options if you need full control. + + Raw outbound adapters may define a `chunker(text, limit, ctx)` function. + The optional `ctx.formatting` carries delivery-time formatting decisions + such as `maxLinesPerMessage`; apply it before sending so reply threading + and chunk boundaries are resolved once by shared outbound delivery. + Send contexts also include `replyToIdSource` (`implicit` or `explicit`) + when a native reply target was resolved, so payload helpers can preserve + explicit reply tags without consuming an implicit single-use reply slot. diff --git a/docs/plugins/sdk-migration.md b/docs/plugins/sdk-migration.md index ac7002349..fd91c9f99 100644 --- a/docs/plugins/sdk-migration.md +++ b/docs/plugins/sdk-migration.md @@ -262,7 +262,7 @@ releases. | `plugin-sdk/inbound-reply-dispatch` | Inbound reply helpers | Shared record-and-dispatch helpers | | `plugin-sdk/messaging-targets` | Messaging target parsing | Target parsing/matching helpers | | `plugin-sdk/outbound-media` | Outbound media helpers | Shared outbound media loading | - | `plugin-sdk/outbound-runtime` | Outbound runtime helpers | Outbound identity/send delegate and payload planning helpers | + | `plugin-sdk/outbound-runtime` | Outbound runtime helpers | Outbound delivery, identity/send delegate, session, formatting, and payload planning helpers | | `plugin-sdk/thread-bindings-runtime` | Thread-binding helpers | Thread-binding lifecycle and adapter helpers | | `plugin-sdk/agent-media-payload` | Legacy media payload helpers | Agent media payload builder for legacy field layouts | | `plugin-sdk/channel-runtime` | Deprecated compatibility shim | Legacy channel runtime utilities only | diff --git a/docs/plugins/sdk-subpaths.md b/docs/plugins/sdk-subpaths.md index 6469d9651..8726e1c3f 100644 --- a/docs/plugins/sdk-subpaths.md +++ b/docs/plugins/sdk-subpaths.md @@ -50,7 +50,7 @@ For the plugin authoring guide, see [Plugin SDK overview](/plugins/sdk-overview) | `plugin-sdk/inbound-reply-dispatch` | Shared inbound record-and-dispatch helpers | | `plugin-sdk/messaging-targets` | Target parsing/matching helpers | | `plugin-sdk/outbound-media` | Shared outbound media loading helpers | - | `plugin-sdk/outbound-runtime` | Outbound identity, send delegate, and payload planning helpers | + | `plugin-sdk/outbound-runtime` | Outbound delivery, identity, send delegate, session, formatting, and payload planning helpers | | `plugin-sdk/poll-runtime` | Narrow poll normalization helpers | | `plugin-sdk/thread-bindings-runtime` | Thread-binding lifecycle and adapter helpers | | `plugin-sdk/agent-media-payload` | Legacy agent media payload builder |