An open-source, faster Devin alternative
TypeScript
docs: ask runs on MicroVM sessions; a turn resumes a suspended session
utpal nadiger via Computeracc3debe3fe4
diff --git a/docs/agents/api.mdx b/docs/agents/api.mdxindex 66861a5e..d440a17b 100644--- a/docs/agents/api.mdx+++ b/docs/agents/api.mdx@@ -334,6 +334,10 @@ repeated key whatever the existing turn has reached, `completed`, `failed`or `cancelled` once it has settled. Follow the turn in the event log; theresponse does not wait for it.+A turn sent to a suspended session resumes it: the turn is `queued` while+the session is `resuming`, and runs once the runtime reconnects. There is no+need to resume the session first.+The key identifies the request, not only the call. A repeat with the same`input`, `payload` and `mode` is the existing turn: key order inside thepayload does not matter, an omitted `mode` means `queue`, and whitespace indiff --git a/docs/agents/linear.mdx b/docs/agents/linear.mdxindex 18bd465b..ef2f77ba 100644--- a/docs/agents/linear.mdx+++ b/docs/agents/linear.mdx@@ -126,5 +126,4 @@ workspace; delete it there if you no longer need it.- One connection per agent per environment, and one per Linear app.- No concurrency limit: every delegated issue runs its own session.-- `ask` isn't available in sessions with `executionMode: "microvm"`.- Stopping a session doesn't stop issues it delegated.diff --git a/docs/agents/tools.mdx b/docs/agents/tools.mdxindex 88d819ff..9af6bacf 100644--- a/docs/agents/tools.mdx+++ b/docs/agents/tools.mdx@@ -318,8 +318,7 @@ tools that cannot write, and select the writing tools on the turn thatcarries the answer.The id `ask` is reserved: `defineTool({ name: "ask" })` is refused, both by-`defineTool` and by the CLI's build. `ask` runs on the default runtime for new deployments;-sessions with `executionMode: "microvm"` cannot select it.+`defineTool` and by the CLI's build.`ask` is different from [waiting for a person](#wait-for-a-person-before-writing):`ask` ends a turn with an open question the agent reasons about when it is