feat: update webui extensions, models, and agent config
Some checks failed
CI / build-check-test (push) Has been cancelled
npm audit / audit (push) Has been cancelled

This commit is contained in:
2026-06-10 21:45:53 +08:00
parent cf5edd6394
commit d51a055d78
64 changed files with 3238 additions and 1665 deletions

View File

@@ -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);
}

View File

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