feat(core): implement V2 session.shell (#35183)

This commit is contained in:
James Long
2026-07-03 12:19:09 -04:00
committed by GitHub
parent 5fc4e18b82
commit bd8d858bf7
12 changed files with 414 additions and 152 deletions
+1 -6
View File
@@ -1101,13 +1101,8 @@ export function Prompt(props: PromptProps) {
if (store.mode === "shell") {
move.startSubmit()
void sdk.client.session.shell({
void sdk.client.v2.session.shell({
sessionID,
agent: agent.id,
model: {
providerID: selectedModel.providerID,
modelID: selectedModel.modelID,
},
command: inputText,
})
setStore("mode", "normal")