The SDK provides a TypeScript client for the Socket API.
- Install dependencies with
pnpm install --frozen-lockfile. - Build with
pnpm run build. - Run tests with
pnpm test. - Run checks with
pnpm run check. - Generate API contracts with
pnpm run generate-sdk.
- TypeScript source files use
.mtsand include an@fileheader. - Use the SDK HTTP client helpers; do not call
fetch()directly. - Use
unknownor a specific type instead ofany. - Keep tests under
test/, mirroring source paths where practical. - Keep platform-sensitive path behavior covered on Windows.