device-pair: align internal command checks

This commit is contained in:
Josh Lehman
2026-03-22 17:54:43 -07:00
parent a61e5d17f0
commit 3fe96c7b9e
5 changed files with 104 additions and 0 deletions

View File

@@ -184,6 +184,7 @@ export async function executePluginCommand(params: {
channel: string;
channelId?: PluginCommandContext["channelId"];
isAuthorizedSender: boolean;
gatewayClientScopes?: PluginCommandContext["gatewayClientScopes"];
commandBody: string;
config: OpenClawConfig;
from?: PluginCommandContext["from"];
@@ -217,6 +218,7 @@ export async function executePluginCommand(params: {
channel,
channelId: params.channelId,
isAuthorizedSender,
gatewayClientScopes: params.gatewayClientScopes,
args: sanitizedArgs,
commandBody,
config,