Skip to content

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.mdx
index 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 the
stop settled ([Session events](/agents/events#turns)). An idle session is
returned 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
```bash
diff --git a/docs/agents/events.mdx b/docs/agents/events.mdx
index 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 an
interrupt-mode turn: the session stays there until the stopped turn's
commands 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.
### Turns
diff --git a/docs/agents/tools.mdx b/docs/agents/tools.mdx
index 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's
workspace, which the next command does on its own. The same rule settles
an [interrupt](/agents/api#end-and-interrupt): the turn is cancelled only
after 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