An open-source, faster Devin alternative
TypeScript
docs: a microvm session still cancels immediately on interrupt
Igor Zalutskife0f939abea8
diff --git a/docs/agents/api.mdx b/docs/agents/api.mdxindex f976750c..7272dacf 100644--- a/docs/agents/api.mdx+++ b/docs/agents/api.mdx@@ -211,6 +211,12 @@ replacement is confirmed; the turn's `turn.cancelled` event records how thestop settled ([Session events](/agents/events#turns)). An idle session isreturned unchanged.+A session whose `executionMode` (reported when it is created) is `microvm`+still cancels immediately: the response shows it `idle` with the turn+already `cancelled`, the commands the turn started are not waited for, and+its `turn.cancelled` event carries `reason` alone, none of the settlement+fields, until sessions in that mode settle the same way.+## Turns```bashdiff --git a/docs/agents/events.mdx b/docs/agents/events.mdxindex d5675515..2a0313fe 100644--- a/docs/agents/events.mdx+++ b/docs/agents/events.mdx@@ -50,7 +50,11 @@ unknown type as informational and keep reading.`stopping` follows an [interrupt](/agents/api#end-and-interrupt) or aninterrupt-mode turn: the session stays there until the stopped turn'scommands are confirmed stopped or its computer is replaced, then `idle`-follows and the next turn starts.+follows and the next turn starts. A session whose `executionMode` is+`microvm` does not pass through `stopping`: an interrupt cancels its turn+immediately, without waiting for the turn's commands, and the+`turn.cancelled` event carries `reason` alone, none of the settlement+fields, until sessions in that mode settle the same way.### Turnsdiff --git a/docs/agents/tools.mdx b/docs/agents/tools.mdxindex 51fbb8ab..5ff8fec1 100644--- a/docs/agents/tools.mdx+++ b/docs/agents/tools.mdx@@ -345,7 +345,10 @@ stopped or the computer is replaced by a fresh one with the session'sworkspace, which the next command does on its own. The same rule settlesan [interrupt](/agents/api#end-and-interrupt): the turn is cancelled onlyafter its commands are confirmed stopped, and a stop that cannot be-confirmed replaces the computer.+confirmed replaces the computer. A session whose `executionMode` is+`microvm` still cancels immediately on interrupt, without waiting for its+commands to be confirmed stopped, until sessions in that mode settle the+same way.## Tools versus skills and MCP