feat: add cross-context messaging resolver
Co-authored-by: Thinh Dinh <tobalsan@users.noreply.github.com>
This commit is contained in:
@@ -134,6 +134,33 @@ export type ToolsConfig = {
|
||||
timeoutSeconds?: number;
|
||||
};
|
||||
};
|
||||
/** Message tool configuration. */
|
||||
message?: {
|
||||
/**
|
||||
* @deprecated Use tools.message.crossContext settings.
|
||||
* Allows cross-context sends across providers.
|
||||
*/
|
||||
allowCrossContextSend?: boolean;
|
||||
crossContext?: {
|
||||
/** Allow sends to other channels within the same provider (default: true). */
|
||||
allowWithinProvider?: boolean;
|
||||
/** Allow sends across different providers (default: false). */
|
||||
allowAcrossProviders?: boolean;
|
||||
/** Cross-context marker configuration. */
|
||||
marker?: {
|
||||
/** Enable origin markers for cross-context sends (default: true). */
|
||||
enabled?: boolean;
|
||||
/** Text prefix template, supports {channel}. */
|
||||
prefix?: string;
|
||||
/** Text suffix template, supports {channel}. */
|
||||
suffix?: string;
|
||||
};
|
||||
};
|
||||
broadcast?: {
|
||||
/** Enable broadcast action (default: true). */
|
||||
enabled?: boolean;
|
||||
};
|
||||
};
|
||||
agentToAgent?: {
|
||||
/** Enable agent-to-agent messaging tools. Default: false. */
|
||||
enabled?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user