Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/server / registry / ServerAgentLike
Interface: ServerAgentLike
Defined in: packages/server/src/registry/index.ts:21
Minimal shape the server needs from an Agent. Compatible with the Agent interface from @graphorin/agent but kept structurally so we avoid the peer dependency.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
id | readonly | string | packages/server/src/registry/index.ts:22 |
Methods
run()
ts
run(input, options?): Promise<unknown>;Defined in: packages/server/src/registry/index.ts:23
Parameters
| Parameter | Type |
|---|---|
input | unknown |
options? | { sessionId?: string; signal?: AbortSignal; userId?: string; } |
options.sessionId? | string |
options.signal? | AbortSignal |
options.userId? | string |
Returns
Promise<unknown>