@langchain/langgraph 0.0.29 → 0.0.31
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/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/* __LC_ALLOW_ENTRYPOINT_SIDE_EFFECTS__ */
|
|
2
3
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
4
|
if (k2 === undefined) k2 = k;
|
|
4
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -16,5 +17,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
18
|
const async_local_storage_js_1 = require("./setup/async_local_storage.cjs");
|
|
18
19
|
// Initialize global async local storage instance for tracing
|
|
19
|
-
|
|
20
|
+
(0, async_local_storage_js_1.initializeAsyncLocalStorageSingleton)();
|
|
20
21
|
__exportStar(require("./web.cjs"), exports);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/* __LC_ALLOW_ENTRYPOINT_SIDE_EFFECTS__ */
|
|
1
2
|
import { initializeAsyncLocalStorageSingleton } from "./setup/async_local_storage.js";
|
|
2
3
|
// Initialize global async local storage instance for tracing
|
|
3
|
-
|
|
4
|
+
initializeAsyncLocalStorageSingleton();
|
|
4
5
|
export * from "./web.js";
|
package/dist/utils.cjs
CHANGED
|
@@ -54,7 +54,7 @@ class RunnableCallable extends runnables_1.Runnable {
|
|
|
54
54
|
const childConfig = (0, runnables_1.patchConfig)(config, {
|
|
55
55
|
callbacks: runManager?.getChild(),
|
|
56
56
|
});
|
|
57
|
-
void singletons_1.AsyncLocalStorageProviderSingleton.
|
|
57
|
+
void singletons_1.AsyncLocalStorageProviderSingleton.runWithConfig(childConfig, async () => {
|
|
58
58
|
try {
|
|
59
59
|
const output = await this.func(input, childConfig);
|
|
60
60
|
resolve(output);
|
package/dist/utils.js
CHANGED
|
@@ -51,7 +51,7 @@ export class RunnableCallable extends Runnable {
|
|
|
51
51
|
const childConfig = patchConfig(config, {
|
|
52
52
|
callbacks: runManager?.getChild(),
|
|
53
53
|
});
|
|
54
|
-
void AsyncLocalStorageProviderSingleton.
|
|
54
|
+
void AsyncLocalStorageProviderSingleton.runWithConfig(childConfig, async () => {
|
|
55
55
|
try {
|
|
56
56
|
const output = await this.func(input, childConfig);
|
|
57
57
|
resolve(output);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"description": "LangGraph",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"author": "LangChain",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@langchain/core": ">=0.2.
|
|
40
|
+
"@langchain/core": ">=0.2.18 <0.3.0",
|
|
41
41
|
"uuid": "^10.0.0",
|
|
42
42
|
"zod": "^3.23.8"
|
|
43
43
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@langchain/anthropic": "^0.2.6",
|
|
47
47
|
"@langchain/community": "^0.2.19",
|
|
48
48
|
"@langchain/openai": "^0.2.4",
|
|
49
|
-
"@langchain/scripts": "^0.0.
|
|
49
|
+
"@langchain/scripts": "^0.0.18",
|
|
50
50
|
"@swc/core": "^1.3.90",
|
|
51
51
|
"@swc/jest": "^0.2.29",
|
|
52
52
|
"@tsconfig/recommended": "^1.0.3",
|