feat: update webui extensions, models, and agent config
This commit is contained in:
@@ -546,7 +546,15 @@ export async function runRpcMode(runtimeHost: AgentSessionRuntime): Promise<neve
|
||||
// =================================================================
|
||||
|
||||
case "bash": {
|
||||
const result = await session.executeBash(command.command);
|
||||
let partialOutput = "";
|
||||
const result = await session.executeBash(
|
||||
command.command,
|
||||
(chunk) => {
|
||||
partialOutput += chunk;
|
||||
output({ type: "bash_update", command: command.command, partialOutput });
|
||||
},
|
||||
{ excludeFromContext: command.excludeFromContext },
|
||||
);
|
||||
return success(id, "bash", result);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ export type RpcCommand =
|
||||
| { id?: string; type: "abort_retry" }
|
||||
|
||||
// Bash
|
||||
| { id?: string; type: "bash"; command: string }
|
||||
| { id?: string; type: "bash"; command: string; excludeFromContext?: boolean }
|
||||
| { id?: string; type: "abort_bash" }
|
||||
|
||||
// Session
|
||||
|
||||
Reference in New Issue
Block a user