langgraph-api 0.2.4__py3-none-any.whl → 0.2.6__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.4"
1
+ __version__ = "0.2.6"
@@ -76,6 +76,7 @@ else:
76
76
  protected_routes.extend(threads_routes)
77
77
  protected_routes.extend(store_routes)
78
78
  protected_routes.extend(ui_routes)
79
+ protected_routes.extend(mcp_routes)
79
80
 
80
81
  routes: list[BaseRoute] = []
81
82
  user_router = None
@@ -56,6 +56,24 @@ def get_mcp_openapi_paths() -> dict:
56
56
  "**Notes:**\n"
57
57
  "- Stateless: Sessions are not persisted across requests.\n"
58
58
  ),
59
+ "parameters": [
60
+ {
61
+ "name": "Accept",
62
+ "in": "header",
63
+ "required": True,
64
+ "schema": {
65
+ "type": "string",
66
+ "enum": [
67
+ "application/json, text/event-stream",
68
+ ],
69
+ },
70
+ "description": (
71
+ "Accept header must include both "
72
+ "'application/json' and 'text/event-stream' "
73
+ "media types."
74
+ ),
75
+ }
76
+ ],
59
77
  "requestBody": {
60
78
  "required": True,
61
79
  "content": {
@@ -63,6 +81,19 @@ def get_mcp_openapi_paths() -> dict:
63
81
  "schema": {"type": "object"},
64
82
  "description": "A JSON-RPC 2.0 request, notification, "
65
83
  "or response object.",
84
+ "example": {
85
+ "jsonrpc": "2.0",
86
+ "id": "1",
87
+ "method": "initialize",
88
+ "params": {
89
+ "clientInfo": {
90
+ "name": "test_client",
91
+ "version": "1.0.0",
92
+ },
93
+ "protocolVersion": "2024-11-05",
94
+ "capabilities": {},
95
+ },
96
+ },
66
97
  }
67
98
  },
68
99
  },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: langgraph-api
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary:
5
5
  License: Elastic-2.0
6
6
  Author: Nuno Campos
@@ -1,10 +1,10 @@
1
1
  LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
2
- langgraph_api/__init__.py,sha256=SBl2EPFW-ltPvQ7vbVWItyAsz3aKYIpjO7vcfr84GkU,22
3
- langgraph_api/api/__init__.py,sha256=QvtYjGTr6FLglHVk4MA8ijgtOiRbLpkq_DzLAqPA3-w,5585
2
+ langgraph_api/__init__.py,sha256=Oz5HbwHMyE87nmwV80AZzpkJPf-wBg7eDuJr_BXZkhU,22
3
+ langgraph_api/api/__init__.py,sha256=YVzpbn5IQotvuuLG9fhS9QMrxXfP4s4EpEMG0n4q3Nw,5625
4
4
  langgraph_api/api/assistants.py,sha256=6oYFRKlvqheJQGbWjFhQOUnnSbvsbrdMYLRJP7WtSRo,14481
5
5
  langgraph_api/api/mcp.py,sha256=RvRYgANqRzNQzSmgjNkq4RlKTtoEJYil04ot9lsmEtE,14352
6
6
  langgraph_api/api/meta.py,sha256=sTgkhE-DaFWpERG6F7KelZfDsmJAiVc4j5dg50tDkSo,2950
7
- langgraph_api/api/openapi.py,sha256=HZ6JfH-NKh1pvxTf2lMfxCDuNiRx-Pp-TNahRME4Jgg,14598
7
+ langgraph_api/api/openapi.py,sha256=WYpkjwsVV056qBkBVbGjhh-TfU9-IgZMY2au1s1PhZ4,15953
8
8
  langgraph_api/api/runs.py,sha256=dhHZ3xu7V0anftqzXaOYnhVEryJpVeqzu60MFiUw4u8,18010
9
9
  langgraph_api/api/store.py,sha256=G4Fm8hgFLlJUW5_ekLS_IOgCfpFy-TK9uq5r9QTOELQ,5447
10
10
  langgraph_api/api/threads.py,sha256=ogMKmEoiycuaV3fa5kpupDohJ7fwUOfVczt6-WSK4FE,9322
@@ -101,8 +101,8 @@ langgraph_license/validation.py,sha256=ZKraAVJArAABKqrmHN-EN18ncoNUmRm500Yt1Sc7t
101
101
  langgraph_runtime/__init__.py,sha256=O4GgSmu33c-Pr8Xzxj_brcK5vkm70iNTcyxEjICFZxA,1075
102
102
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
103
103
  openapi.json,sha256=yYqTGjcV2kMhYfY8S59EWNbzDrZ4kVXchYK5T9OHK88,133203
104
- langgraph_api-0.2.4.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
105
- langgraph_api-0.2.4.dist-info/METADATA,sha256=aAimhl6UYNb7dGu37hJsL3MO9gFXGFIk2TtSNuMJ9iw,4235
106
- langgraph_api-0.2.4.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
107
- langgraph_api-0.2.4.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
108
- langgraph_api-0.2.4.dist-info/RECORD,,
104
+ langgraph_api-0.2.6.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
105
+ langgraph_api-0.2.6.dist-info/METADATA,sha256=AAzTadRJle1-BHj9WaSt_tJY09UJMFb7bgLDqAdygG0,4235
106
+ langgraph_api-0.2.6.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
107
+ langgraph_api-0.2.6.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
108
+ langgraph_api-0.2.6.dist-info/RECORD,,