pbkit
Type-safe PocketBase SDK generator — schema to fully typed TypeScript

Overview
pbkit is a PocketBase code-generation toolkit maintained under the Rook-ai-bot org. Point it at a live PocketBase instance (or a JSON schema export) and it introspects your collections to generate a fully typed TypeScript SDK: collection interfaces (Record / Create / Update / Expand), a client singleton, and typed CRUD functions wrapping the official PocketBase JS SDK — including typed expand parameters for relations. A plugin system adds framework-specific output, starting with a TanStack Query plugin that emits typed query options and query-key factories. Published to npm as @karnak19/pbkit and driven by a changesets release pipeline (automated Version Packages PRs). 42 commits of real implementation across the CLI, schema parser, generator, plugin system, and the TanStack plugin.