TypeScript bindings for the Weave platform, including generated protobuf message types, gRPC service clients (via @grpc/grpc-js and @bufbuild/protobuf), and strongly-typed Postgres query helpers generated with sqlc for WeaveSQL datasets. Released under 0.x versions with active development; new features and breaking changes expected as the platform evolves. Differentiates from generic gRPC clients by providing tailored service definitions and SQL integrations for Weave services.
npm install weave-typescriptNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a gRPC AuthClient and initiates OAuth flow with GitHub.
Pin exact version during development and check changelog before upgrades.
Use full path like 'weave-typescript/weavesql/llmxdb/models_sql'.
Access as e.g. auth.AuthClient, not separate named import.
Use generated modules under src/weaveapi/ as stable reference.
Run `npm install weave-typescript` and ensure build step emits dist/.
Use correct import: `import { auth } from 'weave-typescript'` then `new auth.AuthClient(...)`.Ensure package is built with SQL generation, and use exact subpath.