refactor(reply): clarify explicit reply tags in off mode (#16189)

* refactor(reply): clarify explicit reply tags in off mode

* fix(plugin-sdk): alias account-id subpath for extensions
This commit is contained in:
Peter Steinberger
2026-02-14 14:15:37 +01:00
committed by GitHub
parent 6f7d31c426
commit ef70a55b7a
8 changed files with 112 additions and 51 deletions

View File

@@ -223,6 +223,16 @@ export type ChannelThreadingAdapter = {
accountId?: string | null;
chatType?: string | null;
}) => "off" | "first" | "all";
/**
* When replyToMode is "off", allow explicit reply tags/directives to keep replyToId.
*
* Default in shared reply flow: true for known providers; per-channel opt-out supported.
*/
allowExplicitReplyTagsWhenOff?: boolean;
/**
* Deprecated alias for allowExplicitReplyTagsWhenOff.
* Kept for compatibility with older extensions/docks.
*/
allowTagsWhenOff?: boolean;
buildToolContext?: (params: {
cfg: OpenClawConfig;