langgraph-api 0.2.75__py3-none-any.whl → 0.2.77__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.75"
1
+ __version__ = "0.2.77"
@@ -22,9 +22,8 @@ from langchain_core.runnables.schema import (
22
22
  StreamEvent,
23
23
  )
24
24
  from langgraph.checkpoint.serde.base import SerializerProtocol
25
- from langgraph.pregel.types import PregelTask, StateSnapshot
26
25
  from langgraph.store.base import GetOp, Item, ListNamespacesOp, PutOp, SearchOp
27
- from langgraph.types import Command, Interrupt, Send
26
+ from langgraph.types import Command, Interrupt, PregelTask, Send, StateSnapshot
28
27
  from langgraph_sdk import Auth
29
28
  from pydantic import BaseModel
30
29
  from starlette import types
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-api
3
- Version: 0.2.75
3
+ Version: 0.2.77
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=fGfmYDwqJaQwj-AKSkwGYRZdqQNoadp6S3aayGVqQ9E,23
1
+ langgraph_api/__init__.py,sha256=GldLcgPtW2FqVnPXKj1Lbnv3suG4ZAxUp5kLMHOMbAU,23
2
2
  langgraph_api/asgi_transport.py,sha256=eqifhHxNnxvI7jJqrY1_8RjL4Fp9NdN4prEub2FWBt8,5091
3
3
  langgraph_api/asyncio.py,sha256=qrYEqPRrqtGq7E7KjcMC-ALyN79HkRnmp9rM2TAw9L8,9404
4
4
  langgraph_api/cli.py,sha256=13mKb-WT7fGx_yqcbWITPB9ICEHCrPzIP1ddZ5RbXbY,16015
@@ -52,7 +52,7 @@ langgraph_api/js/client.mts,sha256=N9CTH7mbXGSD-gpv-XyruYsHI-rgrObL8cQoAp5s3_U,3
52
52
  langgraph_api/js/errors.py,sha256=Cm1TKWlUCwZReDC5AQ6SgNIVGD27Qov2xcgHyf8-GXo,361
53
53
  langgraph_api/js/global.d.ts,sha256=j4GhgtQSZ5_cHzjSPcHgMJ8tfBThxrH-pUOrrJGteOU,196
54
54
  langgraph_api/js/package.json,sha256=BpNAO88mbE-Gv4WzQfj1TLktCWGqm6XBqI892ObuOUw,1333
55
- langgraph_api/js/remote.py,sha256=7WVO6k2JdYSFiHe-O77bn5GoVxIV4BvQXuILTvEYvmc,36164
55
+ langgraph_api/js/remote.py,sha256=DmqT2BtkL5cDkyC9YBQo-ekyYhSdc22_Dv7e61UdUtw,36130
56
56
  langgraph_api/js/schema.py,sha256=7idnv7URlYUdSNMBXQcw7E4SxaPxCq_Oxwnlml8q5ik,408
57
57
  langgraph_api/js/sse.py,sha256=lsfp4nyJyA1COmlKG9e2gJnTttf_HGCB5wyH8OZBER8,4105
58
58
  langgraph_api/js/tsconfig.json,sha256=imCYqVnqFpaBoZPx8k1nO4slHIWBFsSlmCYhO73cpBs,341
@@ -88,9 +88,9 @@ langgraph_runtime/retry.py,sha256=V0duD01fO7GUQ_btQkp1aoXcEOFhXooGVP6q4yMfuyY,11
88
88
  langgraph_runtime/store.py,sha256=7mowndlsIroGHv3NpTSOZDJR0lCuaYMBoTnTrewjslw,114
89
89
  LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
90
90
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
91
- openapi.json,sha256=NVgY0hdCu6v5anNus9I-CVYKKcrDLKd1qhILy-kQpq8,142590
92
- langgraph_api-0.2.75.dist-info/METADATA,sha256=2WD4F3joubu25ijCCW5czUAgFBv0-50WZVHhKiuYW48,3891
93
- langgraph_api-0.2.75.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
94
- langgraph_api-0.2.75.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
95
- langgraph_api-0.2.75.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
96
- langgraph_api-0.2.75.dist-info/RECORD,,
91
+ openapi.json,sha256=p5tn_cNRiFA0HN3L6JfC9Nm16Hgv-BxvAQcJymKhVWI,143296
92
+ langgraph_api-0.2.77.dist-info/METADATA,sha256=znzuQpxmxMVNsjKSBGw6RJStwynaDMPvE2q1VlGupGU,3891
93
+ langgraph_api-0.2.77.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
94
+ langgraph_api-0.2.77.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
95
+ langgraph_api-0.2.77.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
96
+ langgraph_api-0.2.77.dist-info/RECORD,,
openapi.json CHANGED
@@ -2066,6 +2066,27 @@
2066
2066
  },
2067
2067
  "name": "Last-Event-ID",
2068
2068
  "in": "header"
2069
+ },
2070
+ {
2071
+ "required": false,
2072
+ "schema": {
2073
+ "type": "string",
2074
+ "title": "Stream Mode",
2075
+ "description": "The mode to stream the run in. If not provided, the default mode will be used."
2076
+ },
2077
+ "name": "stream_mode",
2078
+ "in": "query"
2079
+ },
2080
+ {
2081
+ "required": false,
2082
+ "schema": {
2083
+ "type": "boolean",
2084
+ "title": "Cancel On Disconnect",
2085
+ "description": "If true, the run will be cancelled if the client disconnects.",
2086
+ "default": false
2087
+ },
2088
+ "name": "cancel_on_disconnect",
2089
+ "in": "query"
2069
2090
  }
2070
2091
  ],
2071
2092
  "responses": {
@@ -2881,19 +2902,6 @@
2881
2902
  }
2882
2903
  },
2883
2904
  "/mcp/": {
2884
- "get": {
2885
- "operationId": "get_mcp",
2886
- "summary": "MCP Get",
2887
- "description": "Implemented according to the Streamable HTTP Transport specification.",
2888
- "responses": {
2889
- "405": {
2890
- "description": "GET method not allowed; streaming not supported."
2891
- }
2892
- },
2893
- "tags": [
2894
- "MCP"
2895
- ]
2896
- },
2897
2905
  "post": {
2898
2906
  "operationId": "post_mcp",
2899
2907
  "summary": "MCP Post",
@@ -2964,6 +2972,19 @@
2964
2972
  "MCP"
2965
2973
  ]
2966
2974
  },
2975
+ "get": {
2976
+ "operationId": "get_mcp",
2977
+ "summary": "MCP Get",
2978
+ "description": "Implemented according to the Streamable HTTP Transport specification.",
2979
+ "responses": {
2980
+ "405": {
2981
+ "description": "GET method not allowed; streaming not supported."
2982
+ }
2983
+ },
2984
+ "tags": [
2985
+ "MCP"
2986
+ ]
2987
+ },
2967
2988
  "delete": {
2968
2989
  "operationId": "delete_mcp",
2969
2990
  "summary": "Terminate Session",