mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 19:32:27 +00:00
fix: unify plugin tool thread defaults via delivery context
This commit is contained in:
@@ -51,6 +51,7 @@ import type {
|
||||
SpeechTelephonySynthesisResult,
|
||||
SpeechVoiceOption,
|
||||
} from "../tts/provider-types.js";
|
||||
import type { DeliveryContext } from "../utils/delivery-context.js";
|
||||
import type { WizardPrompter } from "../wizard/prompts.js";
|
||||
import type { SecretInputMode } from "./provider-auth-types.js";
|
||||
import type { createVpsAwareOAuthHandlers } from "./provider-oauth-flow.js";
|
||||
@@ -125,6 +126,8 @@ export type OpenClawPluginToolContext = {
|
||||
};
|
||||
messageChannel?: string;
|
||||
agentAccountId?: string;
|
||||
/** Trusted ambient delivery route for the active agent/session. */
|
||||
deliveryContext?: DeliveryContext;
|
||||
/** Trusted sender id from inbound context (runtime-provided, not tool args). */
|
||||
requesterSenderId?: string;
|
||||
/** Whether the trusted sender is an owner. */
|
||||
|
||||
Reference in New Issue
Block a user