Skip to content

feat(opencode): add the OpenCode SDK - #520

Open
Mkassabov wants to merge 3 commits into
mainfrom
feat/opencode-sdk
Open

feat(opencode): add the OpenCode SDK#520
Mkassabov wants to merge 3 commits into
mainfrom
feat/opencode-sdk

Conversation

@Mkassabov

Copy link
Copy Markdown
Collaborator

Adds @distilled.cloud/opencode, generated from a first-party API description.

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

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

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