langgraph-api 0.2.110__py3-none-any.whl → 0.2.111__py3-none-any.whl

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.

Potentially problematic release.


This version of langgraph-api might be problematic. Click here for more details.

langgraph_api/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.2.110"
1
+ __version__ = "0.2.111"
@@ -344,6 +344,7 @@ const handleStream = <T extends z.ZodType<any>>(
344
344
  };
345
345
 
346
346
  try {
347
+ timer = setTimeout(sendHeartbeat, HEARTBEAT_MS);
347
348
  for await (const data of handler({ graph_id: graphId, ...body })) {
348
349
  await sendSSE(name, data);
349
350
  }
@@ -1094,14 +1095,13 @@ async function main() {
1094
1095
  }
1095
1096
 
1096
1097
  app.get("/ok", (c) => c.json({ ok: true }));
1097
-
1098
+
1098
1099
  app.get("/debug/heapdump", async (c) => {
1099
1100
  try {
1100
- const target =
1101
- `/tmp/heapdump-${Date.now()}.heapsnapshot`;
1101
+ const target = `/tmp/heapdump-${Date.now()}.heapsnapshot`;
1102
1102
  await fs.mkdir(path.dirname(target), { recursive: true });
1103
1103
  const written = writeHeapSnapshot(target);
1104
- return c.json({ ok: true, written }); // 200
1104
+ return c.json({ ok: true, written }); // 200
1105
1105
  } catch (error) {
1106
1106
  if (error instanceof HTTPException) {
1107
1107
  return c.json(serializeError(error), error.status);
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-api
3
- Version: 0.2.110
3
+ Version: 0.2.111
4
4
  Author-email: Nuno Campos <nuno@langchain.dev>, Will Fu-Hinthorn <will@langchain.dev>
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- langgraph_api/__init__.py,sha256=1c6Fv3yPtuuGkSpn7TUmOEU3Awn71Z0oIsqX0h5cYbA,24
1
+ langgraph_api/__init__.py,sha256=1vHLiVVqXa26VwB4MICUFKzbta25Fuuf7oCnCAdaCCk,24
2
2
  langgraph_api/asgi_transport.py,sha256=eqifhHxNnxvI7jJqrY1_8RjL4Fp9NdN4prEub2FWBt8,5091
3
3
  langgraph_api/asyncio.py,sha256=Wv4Rwm-a-Cf6JpfgJmVuVlXQ7SlwrjbTn0eq1ux8I2Q,9652
4
4
  langgraph_api/cli.py,sha256=xQojITwmmKSJw48Lr2regcnRPRq2FJqWlPpeyr5TgbU,16158
@@ -51,7 +51,7 @@ langgraph_api/js/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
51
51
  langgraph_api/js/base.py,sha256=GORqRDbGAOQX2ygT6dMcqBDCA9tdAp8EpG4bfqUPMg4,1198
52
52
  langgraph_api/js/build.mts,sha256=bRQo11cglDFXlLN7Y48CQPTSMLenp7MqIWuP1DkSIo0,3139
53
53
  langgraph_api/js/client.http.mts,sha256=AGA-p8J85IcNh2oXZjDxHQ4PnQdJmt-LPcpZp6j0Cws,4687
54
- langgraph_api/js/client.mts,sha256=wizpsqiM95KWnPw4ByT9_3nELrGHVvquQB2pABw597w,31957
54
+ langgraph_api/js/client.mts,sha256=CEz5oOtI_mwqsvsC33S_2TQbxD6mW-AKl6shsRI5G18,32000
55
55
  langgraph_api/js/errors.py,sha256=Cm1TKWlUCwZReDC5AQ6SgNIVGD27Qov2xcgHyf8-GXo,361
56
56
  langgraph_api/js/global.d.ts,sha256=j4GhgtQSZ5_cHzjSPcHgMJ8tfBThxrH-pUOrrJGteOU,196
57
57
  langgraph_api/js/package.json,sha256=BpNAO88mbE-Gv4WzQfj1TLktCWGqm6XBqI892ObuOUw,1333
@@ -94,8 +94,8 @@ langgraph_runtime/store.py,sha256=7mowndlsIroGHv3NpTSOZDJR0lCuaYMBoTnTrewjslw,11
94
94
  LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
95
95
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
96
96
  openapi.json,sha256=jyQZW5U4V15zWciiIvaDPasYZd3k1iMiQ2vkPxf3zb4,145614
97
- langgraph_api-0.2.110.dist-info/METADATA,sha256=z-YuepJFayRMRLSBMpOj-nEhc6t7pzxWQcrX2xht_cI,3890
98
- langgraph_api-0.2.110.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
- langgraph_api-0.2.110.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
- langgraph_api-0.2.110.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
- langgraph_api-0.2.110.dist-info/RECORD,,
97
+ langgraph_api-0.2.111.dist-info/METADATA,sha256=udH8QNksRyKI6_9ZWKNEMdzr5WM8ftswNyowGia9DrM,3890
98
+ langgraph_api-0.2.111.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
+ langgraph_api-0.2.111.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
+ langgraph_api-0.2.111.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
+ langgraph_api-0.2.111.dist-info/RECORD,,