feat: add one off commands to app-server v2 (#7452)

This commit is contained in:
jif-oai
2025-12-02 11:56:09 +00:00
committed by GitHub
parent 9ee855ec57
commit 85e687c74a
6 changed files with 66 additions and 3 deletions

View File

@@ -164,6 +164,12 @@ client_request_definitions! {
response: v2::FeedbackUploadResponse,
},
/// Execute a command (argv vector) under the server's sandbox.
OneOffCommandExec => "command/exec" {
params: v2::CommandExecParams,
response: v2::CommandExecResponse,
},
ConfigRead => "config/read" {
params: v2::ConfigReadParams,
response: v2::ConfigReadResponse,