mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 17:10:20 +00:00
Sessions: move session target shaping to plugins
This commit is contained in:
@@ -382,6 +382,11 @@ export type ChannelThreadingToolContext = {
|
||||
|
||||
export type ChannelMessagingAdapter = {
|
||||
normalizeTarget?: (raw: string) => string | undefined;
|
||||
resolveSessionTarget?: (params: {
|
||||
kind: "group" | "channel";
|
||||
id: string;
|
||||
threadId?: string | null;
|
||||
}) => string | undefined;
|
||||
parseExplicitTarget?: (params: { raw: string }) => {
|
||||
to: string;
|
||||
threadId?: string | number;
|
||||
|
||||
Reference in New Issue
Block a user