feat: add Codex app-server controls

This commit is contained in:
Peter Steinberger
2026-04-10 22:18:23 +01:00
parent 0f0891656b
commit 31a0b7bd42
22 changed files with 1162 additions and 93 deletions

View File

@@ -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,

View File

@@ -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 */