MCPcopy
hub / github.com/opentrace/opentrace / TraversePayload

Interface TraversePayload

plugins/opencode/src/graph-client.ts:98–104  ·  plugins/opencode/src/graph-client.ts::TraversePayload

* Shape of `opentrace traverse --json`. The CLI envelope also carries * `start`/`direction`/`depth`/`relType`/`totalResults` echo fields; we * only consume `results`, but the CLI may add fields here without * breaking us.

Source from the content-addressed store, hash-verified

96 * breaking us.
97 */
98interface TraversePayload {
99 results: Array<{
100 node: any
101 relationship: { id: string; type: string; properties?: Record<string, any> }
102 depth: number
103 }>
104}
105
106/**
107 * Default cap on results returned from {@link GraphClient.traverse} and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected