MCPcopy Index your code
hub / github.com/TanStack/ai / attach

Method attach

packages/ai-sandbox/src/run.ts:151–156  ·  view source on GitHub ↗

Resumable client tail — replay from `fromSeq`, then live-tail to terminal.

(
    runId: string,
    opts?: { fromSeq?: number; signal?: AbortSignal },
  )

Source from the content-addressed store, hash-verified

149
150 /** Resumable client tail — replay from `fromSeq`, then live-tail to terminal. */
151 attach(
152 runId: string,
153 opts?: { fromSeq?: number; signal?: AbortSignal },
154 ): AsyncIterable<RunEvent> {
155 return this.log.read(runId, opts)
156 }
157
158 /** Current run record, or null if the run is unknown. */
159 status(runId: string): Promise<RunRecord | null> {

Callers 2

pumpFunction · 0.80
run.test.tsFile · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected