@@ -210,6 +210,35 @@ session.delegate_task(
210210session.tool_definitions()
211211```
212212
213+ Planning is explicit and observable. In ` auto ` mode the runtime performs
214+ structured pre-analysis without a brittle keyword gate; ` enabled ` forces it, and
215+ ` disabled ` lets SDK callers opt out for latency-sensitive requests. Planning
216+ state is emitted as run-scoped events so product UIs can render a TaskList and
217+ update each item as work progresses.
218+
219+ Run tracking is also part of the public surface:
220+
221+ ``` js
222+ const runs = await session .runs ()
223+ const latest = runs .at (- 1 )
224+
225+ if (latest) {
226+ console .log (await session .runSnapshot (latest .id ))
227+ console .log (await session .runEvents (latest .id ))
228+ await session .cancelRun (latest .id )
229+ }
230+ ```
231+
232+ ``` python
233+ runs = session.runs()
234+ latest = runs[- 1 ] if runs else None
235+
236+ if latest:
237+ print (session.run_snapshot(latest[" id" ]))
238+ print (session.run_events(latest[" id" ]))
239+ session.cancel_run(latest[" id" ])
240+ ```
241+
213242### 5. Delegated Tasks Isolate Context
214243
215244Delegated tasks are not there to create more chat. They isolate local work.
@@ -361,8 +390,9 @@ Core delegation primitives:
361390- ` task ` — run one focused delegated child run
362391- ` parallel_task ` — run independent delegated child runs concurrently
363392
364- The older model-visible team shortcut and duplicate 1.x control-plane API are
365- removed in 2.0. Multi-agent work enters through the delegation core.
393+ The older model-visible team shortcut and duplicate lifecycle control-plane API
394+ are no longer part of the public surface. Multi-agent work enters through the
395+ delegation core.
366396
367397Optional lane queues are also outside the default path. They are for explicit
368398external/hybrid dispatch, priority experiments, and operational integrations;
0 commit comments