UNPKG

@posthog/agent

Version:

TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog

25 lines 648 B
import type { Tool } from "./types.js"; /** * Tool registry for looking up tool definitions by name. * Provides metadata about tools for UI consumption. */ export declare class ToolRegistry { /** * Get tool definition by name. * Returns undefined if tool is not recognized. */ get(name: string): Tool | undefined; /** * Get all registered tools. */ getAll(): Tool[]; /** * Check if a tool name is registered. */ has(name: string): boolean; /** * Get all tools in a specific category. */ getByCategory(category: string): Tool[]; } //# sourceMappingURL=registry.d.ts.map