Installation
The@stwd/sdk package provides a typed client for the Steward API with zero dependencies.
Install
Requirements
- Runtime: Node.js 18+, Bun 1.0+, Deno, or any environment with
fetch() - TypeScript: 5.0+ (optional but recommended)
- Dependencies: None — zero external dependencies
Quick Setup
Package Contents
The SDK exports:| Export | Description |
|---|---|
StewardClient | Main API client class |
StewardApiError | Typed error class with status code and response data |
| Types | Full TypeScript types for all request/response shapes |
Environment Variables
Common environment variables used with the SDK:Published Packages
| Package | Version | Description |
|---|---|---|
@stwd/sdk | 0.3.0 | TypeScript SDK client |
@stwd/eliza-plugin | 0.2.0 | ElizaOS integration plugin |
Next Steps
- StewardClient Reference — Full API reference
- Quickstart — Get started in 5 minutes
- ElizaOS Plugin — Drop-in ElizaOS integration