[PR #22] [MERGED] fix(api): prefer @langchain/langgraph from project rather than CLI #27

Closed
opened 2026-02-16 04:17:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs-api/pull/22
Author: @dqbd
Created: 3/10/2025
Status: Merged
Merged: 3/10/2025
Merged by: @dqbd

Base: mainHead: dqbd/api-import-project-precedence


📝 Commits (6)

  • 93a7b4a fix(api): prefer @langchain/langgraph from project rather than CLI
  • f99613b Use JS instead of TS
  • 48a990b Fix missing argv when loading the worker for schema
  • d000011 Add debug logging
  • 3ba1e91 Use file URL for Windows
  • 608850d Remove debug logs

📊 Changes

6 files changed (+42 additions, -18 deletions)

View changed files

📝 libs/langgraph-api/src/cli/entrypoint.mts (+0 -2)
📝 libs/langgraph-api/src/cli/spawn.mts (+2 -0)
📝 libs/langgraph-api/src/graph/load.hooks.mjs (+15 -12)
📝 libs/langgraph-api/src/graph/load.utils.mts (+1 -0)
libs/langgraph-api/src/preload.mjs (+24 -0)
libs/langgraph-api/src/preload.mts (+0 -4)

📄 Description

When langgraphjs dev is invoked via npx, peer deps are installed in the global npx cache.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs-api/pull/22 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 3/10/2025 **Status:** ✅ Merged **Merged:** 3/10/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/api-import-project-precedence` --- ### 📝 Commits (6) - [`93a7b4a`](https://github.com/langchain-ai/langgraphjs-api/commit/93a7b4a667b795e60e756b9fde4b0a55b399445a) fix(api): prefer @langchain/langgraph from project rather than CLI - [`f99613b`](https://github.com/langchain-ai/langgraphjs-api/commit/f99613bf3feb2b326ed99091d20c20ff79c708c8) Use JS instead of TS - [`48a990b`](https://github.com/langchain-ai/langgraphjs-api/commit/48a990bbea0ec1b1b4c892cd8004912b04c75b44) Fix missing `argv` when loading the worker for schema - [`d000011`](https://github.com/langchain-ai/langgraphjs-api/commit/d00001113c771a1eeafff21088f1cce0c255b5c8) Add debug logging - [`3ba1e91`](https://github.com/langchain-ai/langgraphjs-api/commit/3ba1e912efe5626a565909d40802cb5928b86ddd) Use file URL for Windows - [`608850d`](https://github.com/langchain-ai/langgraphjs-api/commit/608850da2843d470687bb142786a4c3c55ef4e60) Remove debug logs ### 📊 Changes **6 files changed** (+42 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph-api/src/cli/entrypoint.mts` (+0 -2) 📝 `libs/langgraph-api/src/cli/spawn.mts` (+2 -0) 📝 `libs/langgraph-api/src/graph/load.hooks.mjs` (+15 -12) 📝 `libs/langgraph-api/src/graph/load.utils.mts` (+1 -0) ➕ `libs/langgraph-api/src/preload.mjs` (+24 -0) ➖ `libs/langgraph-api/src/preload.mts` (+0 -4) </details> ### 📄 Description When `langgraphjs dev` is invoked via `npx`, peer deps are installed in the global npx cache. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 04:17:02 -05:00
yindo closed this issue 2026-02-16 04:17:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs-api#27