aod-sdk-typescript
Installation
SKILL.md
Agent on Demand TypeScript SDK Skill
The @ravi-hq/aod-sdk package wraps every endpoint in docs/openapi.yaml with typed interfaces, a single async Client, and an AsyncIterable SSE event stream. Zero runtime dependencies — uses built-in fetch / ReadableStream / AbortController. Node 18+ and modern browsers. Package source lives at clients/typescript/ in this repo.
When This Skill Applies
Use this skill when:
- Writing TS/JS that calls the AoD API via
import { Client } from "@ravi-hq/aod-sdk" - Extending
clients/typescript/itself (new resources, new types, new stream helpers) - Debugging a thrown
AodHTTPError(orConflictError/ValidationError/RateLimitError)
For HTTP-level questions (route table, state machine, 409/422/429 semantics), defer to the agent-on-demand-api skill. For Python, use aod-sdk-python.