@langchain/langgraph-api 0.0.36 → 0.0.37
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.
|
@@ -147,12 +147,17 @@ export class SubgraphExtractor {
|
|
|
147
147
|
};
|
|
148
148
|
getAugmentedSourceFile = (suffix, name) => {
|
|
149
149
|
const vars = this.getSubgraphsVariables(name);
|
|
150
|
+
const typeSuffix = suffix.replace(/[^a-zA-Z0-9]/g, "_");
|
|
150
151
|
const typeExports = [
|
|
151
|
-
{
|
|
152
|
+
{
|
|
153
|
+
typeName: `__langgraph__${name}_${typeSuffix}`,
|
|
154
|
+
valueName: name,
|
|
155
|
+
graphName: name,
|
|
156
|
+
},
|
|
152
157
|
];
|
|
153
158
|
for (const { subgraph, node, namespace } of vars) {
|
|
154
159
|
typeExports.push({
|
|
155
|
-
typeName: `__langgraph__${namespace.join("_")}_${node}`,
|
|
160
|
+
typeName: `__langgraph__${namespace.join("_")}_${node}_${typeSuffix}`,
|
|
156
161
|
valueName: subgraph.name,
|
|
157
162
|
graphName: [...namespace, node].join("|"),
|
|
158
163
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"winston": "^3.17.0",
|
|
54
54
|
"winston-console-format": "^1.0.8",
|
|
55
55
|
"zod": "^3.23.8",
|
|
56
|
-
"@langchain/langgraph-ui": "0.0.
|
|
56
|
+
"@langchain/langgraph-ui": "0.0.37"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@langchain/core": "^0.3.42",
|