langgraph-api 0.12.0.dev16__py3-none-any.whl → 0.12.0.dev18__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.
langgraph_api/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.12.0.dev16"
1
+ __version__ = "0.12.0.dev18"
langgraph_api/api/meta.py CHANGED
@@ -79,6 +79,7 @@ async def meta_info(request: ApiRequest):
79
79
  "langsmith": bool(config.LANGSMITH_CONTROL_PLANE_API_KEY)
80
80
  and bool(config.TRACING),
81
81
  "langsmith_tracing_replicas": True,
82
+ "langsmith_tracing_session_on_runs": True,
82
83
  },
83
84
  "host": {
84
85
  "kind": metadata.HOST,
@@ -383,6 +383,9 @@ def proto_to_run(proto_run: pb.Run) -> Run:
383
383
  "multitask_strategy": MULTITASK_STRATEGY_FROM_PB.get(
384
384
  proto_run.multitask_strategy
385
385
  ),
386
+ "langsmith_session_name": proto_run.langsmith_session_name
387
+ if proto_run.HasField("langsmith_session_name")
388
+ else None,
386
389
  }
387
390
 
388
391
 
@@ -588,6 +591,7 @@ class Runs(Authenticated):
588
591
  if_not_exists: IfNotExists = "reject",
589
592
  after_seconds: int = 0,
590
593
  ctx: Any = None,
594
+ langsmith_session_name: str | None = None,
591
595
  ) -> AsyncIterator[Run]:
592
596
  """Create a run."""
593
597
  metadata = metadata or {}
@@ -662,6 +666,9 @@ class Runs(Authenticated):
662
666
  if after_seconds > 0:
663
667
  request_kwargs["after_seconds"] = int(after_seconds)
664
668
 
669
+ if langsmith_session_name is not None:
670
+ request_kwargs["langsmith_session_name"] = langsmith_session_name
671
+
665
672
  # Build encryption context for Go layer
666
673
  enc_ctx = build_encryption_context("run")
667
674
  if enc_ctx is not None:
@@ -7,28 +7,28 @@
7
7
  "format": "prettier --write ."
8
8
  },
9
9
  "dependencies": {
10
- "@hono/node-server": "^2.0.5",
11
- "@hono/zod-validator": "^0.7.6",
12
- "@langchain/core": "^1.1.48",
13
- "@langchain/langgraph": "^1.2.6",
10
+ "@hono/node-server": "^2.0.6",
11
+ "@hono/zod-validator": "^0.8.0",
12
+ "@langchain/core": "^1.2.1",
13
+ "@langchain/langgraph": "^1.4.5",
14
14
  "@langchain/langgraph-api": "^1.0.3",
15
15
  "@langchain/langgraph-checkpoint": "^1.0.0",
16
- "@langchain/langgraph-ui": "^1.1.17",
16
+ "@langchain/langgraph-ui": "^1.4.0",
17
17
  "@types/json-schema": "^7.0.15",
18
18
  "@typescript/vfs": "^1.6.4",
19
19
  "dedent": "^1.7.2",
20
20
  "esbuild": "^0.28.1",
21
21
  "exit-hook": "^5.1.0",
22
- "hono": "^4.12.25",
23
- "p-queue": "^9.0.1",
22
+ "hono": "^4.12.27",
23
+ "p-queue": "^9.3.0",
24
24
  "p-retry": "^7.1.1",
25
- "tsx": "^4.21.0",
25
+ "tsx": "^4.22.4",
26
26
  "typescript": "^5.9.3",
27
27
  "undici": "^7.28.0",
28
- "uuid": "^14.0.0",
29
- "vite": "^8.0.16",
28
+ "uuid": "^14.0.1",
29
+ "vite": "^8.1.0",
30
30
  "winston": "^3.19.0",
31
- "zod": "^4.3.6"
31
+ "zod": "^4.4.3"
32
32
  },
33
33
  "resolutions": {
34
34
  "esbuild": "^0.28.1",
@@ -38,12 +38,12 @@
38
38
  "devDependencies": {
39
39
  "@langchain/langgraph-sdk": "^1.5.4",
40
40
  "@types/node": "^25.5.0",
41
- "@types/react": "^19.2.14",
41
+ "@types/react": "^19.2.17",
42
42
  "@types/react-dom": "^19.2.3",
43
- "jose": "^6.2.2",
44
- "postgres": "^3.4.7",
45
- "prettier": "^3.8.1",
46
- "vitest": "^4.1.2"
43
+ "jose": "^6.2.3",
44
+ "postgres": "^3.4.9",
45
+ "prettier": "^3.8.4",
46
+ "vitest": "^4.1.9"
47
47
  },
48
48
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
49
49
  }