@operator-labs/sdk 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,12 +8,6 @@ TypeScript SDK for the Operator platform. Manage agents, chat, instances, automa
|
|
|
8
8
|
npm install @operator-labs/sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Or link locally during development:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
cd sdk && npm link
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Quick Start
|
|
18
12
|
|
|
19
13
|
```ts
|
|
@@ -38,13 +32,10 @@ console.log(followUp.text);
|
|
|
38
32
|
|
|
39
33
|
```ts
|
|
40
34
|
const op = new Operator({
|
|
41
|
-
apiKey: "ck_live_...",
|
|
42
|
-
baseUrl: "https://www.operator.io", // Optional — defaults to production
|
|
35
|
+
apiKey: "ck_live_...", // Required — Chat API key from the dashboard
|
|
43
36
|
});
|
|
44
37
|
```
|
|
45
38
|
|
|
46
|
-
For local development, set `baseUrl` to `http://localhost:3000`.
|
|
47
|
-
|
|
48
39
|
## Getting an API Key
|
|
49
40
|
|
|
50
41
|
1. Go to **Settings > API Keys** in the Operator dashboard
|
package/package.json
CHANGED