MCPcopy
hub / github.com/opentrace/opentrace / GetNodePayload

Interface GetNodePayload

plugins/opencode/src/graph-client.ts:84–90  ·  plugins/opencode/src/graph-client.ts::GetNodePayload

* Shape of `opentrace get-node --json`. Mirrors NodeDetail but with * untyped node payloads (the CLI emits store-shaped rows that need * `normalizeNode` before they become GraphNodes).

Source from the content-addressed store, hash-verified

82 * `normalizeNode` before they become GraphNodes).
83 */
84interface GetNodePayload {
85 node: any
86 neighbors: Array<{
87 node: any
88 relationship: { type: string; direction: class="st">"incoming" | class="st">"outgoing" }
89 }>
90}
91
92/**
93 * Shape of `opentrace traverse --json`. The CLI envelope also carries

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected