Skip to content

feat(spacetimedb): add the SpacetimeDB SDK - #533

Merged
Mkassabov merged 5 commits into
feat/modrinth-sdkfrom
feat/spacetimedb-sdk
Sep 7, 2026
Merged

feat(spacetimedb): add the SpacetimeDB SDK#533
Mkassabov merged 5 commits into
feat/modrinth-sdkfrom
feat/spacetimedb-sdk

Conversation

@Mkassabov

@Mkassabov Mkassabov commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Caution

This is a requested SDK from an Alchemy PR, not a distilled issue. There is no existing distilled PR for SpacetimeDB. The request is a review comment on alchemy-run/alchemy#1044 telling us to put the client in distilled instead of a hand-written Alchemy client.

This is the requested SpacetimeDB SDK.

Adds @distilled.cloud/spacetimedb. SpacetimeDB publishes no first-party OpenAPI; fetch-specs.ts snapshots the vendor HTTP docs (llms.txt + /docs/http/*) and assembles OpenAPI from that snapshot (management HTTP: /v1/database, /v1/identity, GET /v1/ping). Not a third-party spec.

  • Fetch script: stacks/distilled-submodules/spec-repos/spacetimedb/fetch-specs.ts
  • Docs: https://spacetimedb.com/llms.txt
  • Convert/generate: packages/spacetimedb/scripts/{convert,generate}.ts
  • Mirror repo distilled-mirror/spec-mirror-spacetimedb is created by the distilled-submodules stack on merge to main. Until then, regenerate with pnpm specs:local spacetimedb and DISTILLED_SPECS_LOCAL=1 pnpm generate spacetimedb.

pnpm specs:link spacetimedb recorded the .gitmodules stanza (shallow = true).

@Mkassabov
Mkassabov force-pushed the feat/spacetimedb-sdk branch 2 times, most recently from ef26a26 to b5bf3ec Compare September 7, 2026 12:06
@Mkassabov
Mkassabov changed the base branch from main to feat/modrinth-sdk September 7, 2026 12:21
@Mkassabov
Mkassabov deleted the branch feat/modrinth-sdk September 7, 2026 12:24
@Mkassabov Mkassabov closed this Sep 7, 2026
@Mkassabov Mkassabov reopened this Sep 7, 2026
@Mkassabov
Mkassabov added this pull request to the merge queue Sep 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a manual request Sep 7, 2026
…ipeline

Rebased on main after #545. Models are produced by the package's convert
with patches applied there and operation names normalised to verbNoun;
generate only compiles .generated-specs. 18 operation(s).
@Mkassabov
Mkassabov force-pushed the feat/spacetimedb-sdk branch from b5bf3ec to aa92e88 Compare September 7, 2026 12:36
@Mkassabov
Mkassabov added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 38ee391 Sep 7, 2026
4 of 8 checks passed
@Mkassabov
Mkassabov deleted the feat/spacetimedb-sdk branch September 7, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant