Skip to main content

handle_ui_browser_set_files

Function handle_ui_browser_set_files 

Source
pub(crate) async fn handle_ui_browser_set_files(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<UiBrowserSetFilesRequest>,
) -> impl IntoResponse
Expand description

POST /api/v1/ui/browser/set_files — backs BrowserSetFiles. Only files inside the calling agent’s own workspace are allowed (spec §5.3): its launch directory for a host agent, the folder mounted at /workspace for a container agent.