Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/agent / progress / ProgressIO
Interface: ProgressIO
Defined in: packages/agent/src/progress/index.ts:78
Public surface returned by createProgressIO. Used by the agent runtime to back agent.progress.write / read.
Stable
Methods
read()
ts
read(currentRunId, options?): Promise<readonly ProgressArtifactRef[]>;Defined in: packages/agent/src/progress/index.ts:84
Parameters
| Parameter | Type |
|---|---|
currentRunId | string |
options? | ProgressReadOptions |
Returns
Promise<readonly ProgressArtifactRef[]>
rootFor()
ts
rootFor(runId): string;Defined in: packages/agent/src/progress/index.ts:88
Parameters
| Parameter | Type |
|---|---|
runId | string |
Returns
string
write()
ts
write(
runId,
content,
options?): Promise<ProgressArtifactRef>;Defined in: packages/agent/src/progress/index.ts:79
Parameters
| Parameter | Type |
|---|---|
runId | string |
content | string |
options? | ProgressWriteOptions |
Returns
Promise<ProgressArtifactRef>