@langchain/langgraph-sdk 1.9.3 → 1.9.4
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 +20 -20
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,9 +10,9 @@ graph executions in real time.
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
pnpm add @langchain/langgraph-sdk
|
|
14
|
-
# or: npm install @langchain/langgraph-sdk
|
|
15
|
-
# or: yarn add @langchain/langgraph-sdk
|
|
13
|
+
pnpm add @langchain/langgraph-sdk @langchain/core
|
|
14
|
+
# or: npm install @langchain/langgraph-sdk @langchain/core
|
|
15
|
+
# or: yarn add @langchain/langgraph-sdk @langchain/core
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Quick start
|
|
@@ -44,13 +44,13 @@ default `langgraph dev` URL).
|
|
|
44
44
|
|
|
45
45
|
## What's in the SDK
|
|
46
46
|
|
|
47
|
-
| Sub-client
|
|
48
|
-
|
|
|
49
|
-
| `client.threads`
|
|
50
|
-
| `client.assistants`
|
|
51
|
-
| `client.runs`
|
|
52
|
-
| `client.crons`
|
|
53
|
-
| `client.store`
|
|
47
|
+
| Sub-client | Purpose | Docs |
|
|
48
|
+
| ------------------- | -------------------------------------------------- | --------------------------------------------------------------- |
|
|
49
|
+
| `client.threads` | Create threads, manage state, and **stream** runs. | [Threads](./docs/threads.md) · [Streaming](./docs/streaming.md) |
|
|
50
|
+
| `client.assistants` | CRUD for assistants (schemas, graphs, versions). | [Assistants](./docs/assistants.md) |
|
|
51
|
+
| `client.runs` | Trigger / join / cancel runs without streaming. | [Runs (legacy)](./docs/runs.md) |
|
|
52
|
+
| `client.crons` | Schedule recurring runs. | [Crons](./docs/crons.md) |
|
|
53
|
+
| `client.store` | Namespaced KV + semantic store. | [Store](./docs/store.md) |
|
|
54
54
|
|
|
55
55
|
### Streaming
|
|
56
56
|
|
|
@@ -106,16 +106,16 @@ adapter.
|
|
|
106
106
|
The client code is organized into sub-client modules under
|
|
107
107
|
`src/client/`:
|
|
108
108
|
|
|
109
|
-
| Path
|
|
110
|
-
|
|
|
111
|
-
| `client/assistants
|
|
112
|
-
| `client/threads/`
|
|
113
|
-
| `client/runs/`
|
|
114
|
-
| `client/crons/`
|
|
115
|
-
| `client/store/`
|
|
116
|
-
| `client/stream/`
|
|
117
|
-
| `client/base.ts`
|
|
118
|
-
| `client/index.ts`
|
|
109
|
+
| Path | Module |
|
|
110
|
+
| -------------------- | --------------------------------------------------------- |
|
|
111
|
+
| `client/assistants/` | `AssistantsClient` |
|
|
112
|
+
| `client/threads/` | `ThreadsClient` (includes the v2 `stream(...)` primitive) |
|
|
113
|
+
| `client/runs/` | `RunsClient` (legacy streaming + CRUD) |
|
|
114
|
+
| `client/crons/` | `CronsClient` |
|
|
115
|
+
| `client/store/` | `StoreClient` |
|
|
116
|
+
| `client/stream/` | `ThreadStream`, assemblers, transports |
|
|
117
|
+
| `client/base.ts` | `BaseClient`, shared config & helpers |
|
|
118
|
+
| `client/index.ts` | Main `Client` class & re-exports |
|
|
119
119
|
|
|
120
120
|
## Change log
|
|
121
121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-sdk",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Client library for interacting with the LangGraph API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@langchain/core": "^1.1.44",
|
|
14
13
|
"@langchain/protocol": "^0.0.15",
|
|
15
14
|
"@types/json-schema": "^7.0.15",
|
|
16
15
|
"p-queue": "^9.0.1",
|
|
@@ -36,6 +35,7 @@
|
|
|
36
35
|
"zod": "^4.3.5"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
38
|
+
"@langchain/core": "^1.1.44",
|
|
39
39
|
"react": "^18 || ^19",
|
|
40
40
|
"react-dom": "^18 || ^19",
|
|
41
41
|
"svelte": "^4.0.0 || ^5.0.0",
|