mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 19:00:21 +00:00
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:
committed by
GitHub
parent
6f7d31c426
commit
ef70a55b7a
@@ -369,7 +369,7 @@ const DOCKS: Record<ChatChannelId, ChannelDock> = {
|
||||
threading: {
|
||||
resolveReplyToMode: ({ cfg, accountId, chatType }) =>
|
||||
resolveSlackReplyToMode(resolveSlackAccount({ cfg, accountId }), chatType),
|
||||
allowTagsWhenOff: true,
|
||||
allowExplicitReplyTagsWhenOff: true,
|
||||
buildToolContext: (params) => buildSlackThreadingToolContext(params),
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user