An open-source, faster Devin alternative
TypeScript
docs: fix MDX parse error — drop {#anchor} heading syntax
Igor Zalutskif8f7966dfa22
diff --git a/docs/agent-sessions/concepts.mdx b/docs/agent-sessions/concepts.mdxindex 41d1bf19..b58a1430 100644--- a/docs/agent-sessions/concepts.mdx+++ b/docs/agent-sessions/concepts.mdx@@ -27,7 +27,7 @@ One durable run: an append-only **event log** plus the pinned snapshot and a lif| `failed` | The run errored out. || `archived` | Closed; read-only. |-A session also carries `last_turn = { state: "ok" \| "error", result_event_id?, error? }`, so a one-off run tells you whether it finished and what it produced. By convention, the **final result is a `user`-level `message` event**.+A session also carries `last_turn = { state: "ok" | "error", result_event_id?, error? }`, so a one-off run tells you whether it finished and what it produced. By convention, the **final result is a `user`-level `message` event**.## Event@@ -47,7 +47,7 @@ Every step is an event, appended in order:Inbound and outbound messages share one [envelope](/agent-sessions/messaging#the-envelope) shape.-## seq / cursor / head {#cursors}+## seq / cursor / head- **`seq`** — a monotonic id assigned to each event; the cursor space.- **`head`** — the highest `seq` in the session.@@ -55,7 +55,7 @@ Inbound and outbound messages share one [envelope](/agent-sessions/messaging#theRead or stream with `after=<seq>` and you get everything since that point — this is how **resume** works: reconnect with the last `seq` you saw.-## Levels {#levels}+## LevelsEvery event has a visibility level; filter the stream and webhooks by it.diff --git a/docs/agent-sessions/durability.mdx b/docs/agent-sessions/durability.mdxindex d3b8fdc2..c6cf7c6d 100644--- a/docs/agent-sessions/durability.mdx+++ b/docs/agent-sessions/durability.mdx@@ -26,7 +26,7 @@ When a session has nothing to do it goes **idle** and its sandbox **hibernates**<Note>This mirrors [sandbox hibernation](/sandboxes/timeout): idle ≈ free, fast wake. Sessions manage it for you — you don't set a timeout per turn.</Note>-## Limits (be precise) {#limits}+## LimitsWhat's guaranteed today, and what isn't:diff --git a/docs/agent-sessions/messaging.mdx b/docs/agent-sessions/messaging.mdxindex 8f7d3b01..32dc1319 100644--- a/docs/agent-sessions/messaging.mdx+++ b/docs/agent-sessions/messaging.mdx@@ -17,7 +17,7 @@ curl https://api.opencomputer.dev/v3/sessions/$ID/messages \Pass `idempotency_key` so retries (flaky network, double-click) are de-duplicated — the same key is applied at most once.-## The envelope {#the-envelope}+## The envelopeEvery inbound and outbound message normalizes to this shape. The core fields are fixed; anything source-specific lives under `raw`, which the platform never interprets.