Expand description
travsr-plugin-sdk — ergonomic plugin authoring for the Travsr plugin system.
Structs§
- Edge
- A directed, typed edge between two nodes.
- FfiMarker
- Handshake
Request - Handshake
Response - Invoke
Request - Invoke
Response - Node
- A node in the code graph.
- NodeId
- Opaque, content-addressed identifier for a node in the graph.
- Parse
Request - Parse
Response - Plugin
Error - VName
- Kythe-style globally unique identifier for a code entity.
Enums§
- FfiMarker
Kind - Language
- Source language of a graph node.
- Plugin
Request - Plugin
Response
Constants§
- PROTOCOL_
VERSION - Current protocol version. Bump on any breaking wire change.
Traits§
- Plugin
- Implemented once per language. Stateless and Send+Sync so a single instance is shared across walker threads (in-process) or drives one child process (sidecar).
Functions§
- run_
plugin - Run the plugin event loop on stdin/stdout. Blocks until stdin closes.