The public documentation for the inklet TypeScript SDK and HTTP API. The site is built with Next.js and Fumadocs.
content/contains the user-facing guides and SDK workflows.contracts/public-api.yamlcontains the curated public HTTP contract. Fumadocs generates the entire/httpreference section from this file.- Type tables in the SDK reference are generated from the published
@inklethq/sdkdeclaration files pinned inpackage.json. - Internal endpoints, deployment details, and operational notes belong in the
private
docs-devsite, not in this repository.
This separation is intentional: the public site documents stable behavior, while implementation details remain private.
pnpm install
pnpm devUseful checks:
pnpm types:check
pnpm build
pnpm check- Publish the SDK version that contains the new public types.
- Update
@inklethq/sdkinpackage.json. - Update
contracts/public-api.yamlfor HTTP-level changes. - Update the relevant guide in
content/when behavior or workflows change. - Run
pnpm checkand verify both the SDK and HTTP reference pages locally.
Do not copy the internal API schema wholesale into this repository. Review the contract and expose only the stable endpoints and fields intended for SDK users.