@graphlit/durable-agents-sdk 1.0.20260608003-dev → 1.0.20260608004-dev
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 +0 -14
- package/dist/src/build-info.d.ts +1 -1
- package/dist/src/build-info.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,15 +4,10 @@ First-party TypeScript SDK for the Durable Agents public API.
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
Production:
|
|
8
|
-
|
|
9
7
|
```bash
|
|
10
8
|
npm install @graphlit/durable-agents-sdk
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
The SDK defaults to `https://www.durableagents.ai`. You can override the API
|
|
14
|
-
base URL at runtime with `baseUrl` or `DURABLE_API_BASE_URL`.
|
|
15
|
-
|
|
16
11
|
## Quickstart
|
|
17
12
|
|
|
18
13
|
```ts
|
|
@@ -26,15 +21,6 @@ const models = await durable.models.list();
|
|
|
26
21
|
console.log(models);
|
|
27
22
|
```
|
|
28
23
|
|
|
29
|
-
Override the API base URL explicitly:
|
|
30
|
-
|
|
31
|
-
```ts
|
|
32
|
-
const durable = new DurableClient({
|
|
33
|
-
apiKey: process.env.DURABLE_API_KEY,
|
|
34
|
-
baseUrl: 'https://www.durableagents.ai',
|
|
35
|
-
});
|
|
36
|
-
```
|
|
37
|
-
|
|
38
24
|
## Agents And Runs
|
|
39
25
|
|
|
40
26
|
```ts
|
package/dist/src/build-info.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.20260608004-dev";
|
|
2
2
|
export declare const SDK_CHANNEL = "dev";
|
|
3
3
|
export declare const DEFAULT_BASE_URL = "https://dev.durableagents.ai";
|
|
4
4
|
//# sourceMappingURL=build-info.d.ts.map
|
package/dist/src/build-info.js
CHANGED