Elffuss BraidHub

kikocis/continue public

main · 1.4 KiBRenderedRawPermalink
1# @continuedev/sdk
2
3> **⚠️ EXPERIMENTAL: This package is in early development and subject to frequent breaking changes without notice.**
4
5This SDK provides programmatic access to Continue's Hub APIs and functionality.
6
7## Overview
8
9The Continue SDK is structured into separate language-specific packages, currently with implementations for TypeScript and Python, with more languages planned for the future:
10
11- **TypeScript SDK**: Located in the `/typescript` directory, providing a drop-in replacement for OpenAI's TypeScript client libraries
12- **Python SDK**: Located in the `/python` directory, providing a drop-in replacement for OpenAI's Python client libraries
13- **Additional languages**: More language implementations are planned to be added in the future
14
15Each package includes:
16
171. OpenAPI-generated clients for the Continue Hub API
182. A wrapper layer that exposes a `Continue.from()` method to easily initialize and use Continue assistants with an OpenAI-compatible interface
19
20## For End Users
21
22End users should install the published packages directly:
23
24- For TypeScript/JavaScript: `npm install @continuedev/sdk`
25- For Python: `pip install continuedev`
26- For other languages: Check back for new language support
27
28Each published package includes its own documentation.
29
30## For Developers
31
32### Development
33
34```bash
35# Install dependencies
36npm install
37
38# Generate API clients
39npm run generate-client:ALL
40
41# Start Swagger UI for API exploration
42npm run swagger-ui
43```