Skip to main content

Runtime observation

Use watchRun or watchObservation on the TypeScript runtime client. Observation reads durable server output and separate response/memory/graph state; it runs no model/tool or memory write.

Retained output parts include text/deltas, registered tool phases, approvals, memory-receipt artifact references, media-job references and status/errors. Cursor resume binds attempt and sequence. Disconnect removes only the local observer; explicit cancellation is separate.

AI SDK 7's remote transport emits metadata and data-cortex-* parts for the same retained state. Keep a runtime watcher when you need later indexing updates after chat response finality.

Legacy root provider layer-tracking hooks remain compatibility for advanced local server operations. They are distinct from backend run observation and cannot certify current memory readiness. See streaming, runtime API and remote API.