Skip to content
Query.Farm
Talk with Us

Re-exported from vgi-rpc

On this page

These names are importable from @query-farm/vgi but declared in @query-farm/vgi-rpc, the transport layer underneath. They are listed here so a lookup lands somewhere; the authority for their behaviour is vgi-rpc’s own reference.

vgi-rpc-typescript/dist/auth.d.ts

  • AuthContext — Authentication context available to RPC handlers.

vgi-rpc-typescript/dist/client/connect.d.ts

  • httpConnect — Connect to a vgi-rpc server over HTTP. The returned client lazily introspects
  • RpcClient — A connected RPC client, returned by {@link httpConnect}, {@link pipeConnect }, and {@link subprocessConnect }.

vgi-rpc-typescript/dist/client/pipe.d.ts

  • subprocessConnect — Spawn a server process (via Bun.spawn) and connect to it over its

vgi-rpc-typescript/dist/client/tcp.d.ts

  • tcpConnect — Connect to a vgi-rpc server over a raw TCP socket and wrap it with

vgi-rpc-typescript/dist/client/types.d.ts

  • LogMessage — A log or error message delivered to an {@link HttpConnectOptions.onLog} callback.
  • StreamSession — A live streaming method call. Exchange methods drive the server with

vgi-rpc-typescript/dist/schema.d.ts

  • bool — Apache Arrow Bool type. Use as schema shorthand: { flag: bool }
  • bytes — Apache Arrow Binary type. Use as schema shorthand: { data: bytes }
  • float — Apache Arrow Float64 type. Use as schema shorthand: { value: float }
  • float32 — Apache Arrow Float32 type. Use as schema shorthand: { value: float32 }
  • int — Apache Arrow Int64 type. Use as schema shorthand: { count: int }
  • int32 — Apache Arrow Int32 type. Use as schema shorthand: { count: int32 }
  • str — Apache Arrow Utf8 type. Use as schema shorthand: { name: str }
  • toSchema — Convert a SchemaLike spec into a real VgiSchema.

vgi-rpc-typescript/dist/types.d.ts

  • OutputCollector — Accumulates output batches during a produce/exchange call.