From a9448cb4881f44a3bec1bf3f5577e82a3c6d5787 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Thu, 10 Apr 2025 11:49:31 -0700 Subject: [PATCH] cr --- .env.example | 7 ++++--- package.json | 1 + pnpm-lock.yaml | 11 +++++++---- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index 1269e38..fff5642 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,5 @@ # LangGraph Configuration -VITE_API_URL=http://localhost:2024 -VITE_ASSISTANT_ID=agent -VITE_LANGSMITH_API_KEY= +NEXT_PUBLIC_API_URL=http://localhost:2024 +NEXT_PUBLIC_ASSISTANT_ID=agent +# Do NOT prefix this with "NEXT_PUBLIC_" as we do not want this exposed in the client. +LANGSMITH_API_KEY= diff --git a/package.json b/package.json index 141930c..4b5e9d2 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "dependencies": { "@langchain/core": "^0.3.44", "@langchain/langgraph": "^0.2.63", + "@langchain/langgraph-sdk": "^0.0.66", "@radix-ui/react-avatar": "^1.1.3", "@radix-ui/react-dialog": "^1.1.6", "@radix-ui/react-label": "^2.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c6cba02..a7baa0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@langchain/langgraph': specifier: ^0.2.63 version: 0.2.63(@langchain/core@0.3.44(openai@4.85.4(zod@3.24.2)))(react@19.0.0)(zod-to-json-schema@3.24.3(zod@3.24.2)) + '@langchain/langgraph-sdk': + specifier: ^0.0.66 + version: 0.0.66(@langchain/core@0.3.44(openai@4.85.4(zod@3.24.2)))(react@19.0.0) '@radix-ui/react-avatar': specifier: ^1.1.3 version: 1.1.3(@types/react-dom@19.0.4(@types/react@19.0.10))(@types/react@19.0.10)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -536,8 +539,8 @@ packages: peerDependencies: '@langchain/core': '>=0.2.31 <0.4.0' - '@langchain/langgraph-sdk@0.0.57': - resolution: {integrity: sha512-xb1OgsQ7fq6zjWaspa/9yjZ35kf1/qIPBC8wkNUI0gelnZLeAnss9RhGKc8L2qMB1P3anxRB9IPGwqCoMUHimg==} + '@langchain/langgraph-sdk@0.0.66': + resolution: {integrity: sha512-l0V4yfKXhHaTRK/1bKMfZ14k3wWZu27DWTlCUnbYJvdo7os5srhONgPCOqQgpazhi5EhXbW2EVgeu/wLW2zH6Q==} peerDependencies: '@langchain/core': '>=0.2.31 <0.4.0' react: ^18 || ^19 @@ -3630,7 +3633,7 @@ snapshots: '@langchain/core': 0.3.44(openai@4.85.4(zod@3.24.2)) uuid: 10.0.0 - '@langchain/langgraph-sdk@0.0.57(@langchain/core@0.3.44(openai@4.85.4(zod@3.24.2)))(react@19.0.0)': + '@langchain/langgraph-sdk@0.0.66(@langchain/core@0.3.44(openai@4.85.4(zod@3.24.2)))(react@19.0.0)': dependencies: '@types/json-schema': 7.0.15 p-queue: 6.6.2 @@ -3644,7 +3647,7 @@ snapshots: dependencies: '@langchain/core': 0.3.44(openai@4.85.4(zod@3.24.2)) '@langchain/langgraph-checkpoint': 0.0.16(@langchain/core@0.3.44(openai@4.85.4(zod@3.24.2))) - '@langchain/langgraph-sdk': 0.0.57(@langchain/core@0.3.44(openai@4.85.4(zod@3.24.2)))(react@19.0.0) + '@langchain/langgraph-sdk': 0.0.66(@langchain/core@0.3.44(openai@4.85.4(zod@3.24.2)))(react@19.0.0) uuid: 10.0.0 zod: 3.24.2 optionalDependencies: