Interface: TypedToolRegistry<TContext, TBuilders>
Defined in: packages/core/src/client/InferRouter.ts:47
A typed wrapper around ToolRegistry that preserves builder types for compile-time router inference.
Created by createTypedRegistry. The registry itself stores builders at runtime via a standard ToolRegistry, but the _builders tuple type is preserved for InferRouter extraction.
Type Parameters
| Type Parameter | Description |
|---|---|
TContext | Application context type |
TBuilders extends readonly unknown[] | Tuple of registered builder types |
Properties
_builders
ts
readonly _builders: TBuilders;Defined in: packages/core/src/client/InferRouter.ts:51
Branded field for type inference — never accessed at runtime
_context
ts
readonly _context: TContext;Defined in: packages/core/src/client/InferRouter.ts:53
Branded phantom type for context inference
registry
ts
readonly registry: ToolRegistry<TContext>;Defined in: packages/core/src/client/InferRouter.ts:49
The underlying ToolRegistry instance (for runtime use)