mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 09:02:15 +00:00
feat: add Codex app-server controls
This commit is contained in:
@@ -162,6 +162,7 @@ export async function executePluginCommand(params: {
|
||||
gatewayClientScopes?: PluginCommandContext["gatewayClientScopes"];
|
||||
sessionKey?: PluginCommandContext["sessionKey"];
|
||||
sessionId?: PluginCommandContext["sessionId"];
|
||||
sessionFile?: PluginCommandContext["sessionFile"];
|
||||
commandBody: string;
|
||||
config: OpenClawConfig;
|
||||
from?: PluginCommandContext["from"];
|
||||
@@ -202,6 +203,7 @@ export async function executePluginCommand(params: {
|
||||
gatewayClientScopes: params.gatewayClientScopes,
|
||||
sessionKey: params.sessionKey,
|
||||
sessionId: params.sessionId,
|
||||
sessionFile: params.sessionFile,
|
||||
args: sanitizedArgs,
|
||||
commandBody,
|
||||
config,
|
||||
|
||||
@@ -1822,6 +1822,8 @@ export type PluginCommandContext = {
|
||||
sessionKey?: string;
|
||||
/** Ephemeral host session id for the active conversation when available. */
|
||||
sessionId?: string;
|
||||
/** Transcript file for the active OpenClaw session when available. */
|
||||
sessionFile?: string;
|
||||
/** Raw command arguments after the command name */
|
||||
args?: string;
|
||||
/** The full normalized command body */
|
||||
|
||||
Reference in New Issue
Block a user