warning
Legacy managed-runtime reference. Command examples below describe the older desktop/managed llama.cpp preview and are legacy, not the current BCCLI v0.4 command surface. Use BCCLI and Local AI for current instructions.TypeScript install
Source-only preview
bash
npm install @botconnector/sdkThe package is implemented in the accepted source tree but is not published on npm. Do not pin npm install @botconnector/sdk in deployment automation yet.
Requirements
- Node.js 20+
- A running BotConnector local server (
botconnector server start) — the SDK is a client.
What to use today
bash
npm install openaitypescript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "http://127.0.0.1:11435/v1", apiKey: "not-needed" });Endpoints: OpenAI-compatible API.
Publication status
The source boundary is live-tested; npm publication, versioned package artifacts and a support policy are still pending. Watch the status page.