[PR #82] [MERGED] Fix imports for Deno #77

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs-api/pull/82
Author: @nfcampos
Created: 6/9/2025
Status: Merged
Merged: 6/9/2025
Merged by: @nfcampos

Base: mainHead: codex/investigate-deno-compatibility-for-langgraph-api


📝 Commits (1)

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 libs/langgraph-api/src/auth/index.mts (+1 -1)
📝 libs/langgraph-api/src/logging.mts (+1 -1)

📄 Description

Summary

  • fix builtin imports for Deno compatibility

Testing

  • deno run --node-modules-dir=manual --allow-all --unstable-sloppy-imports /tmp/denotest/run_server.ts
const options = {
  port: 8000,
  nWorkers: 1,
  host: "127.0.0.1",
  cwd: new URL('.', import.meta.url).pathname,
  graphs: { agent: "./agent.mts:graph" },
};

const { host: serverHost } = await startServer(options);

https://chatgpt.com/codex/tasks/task_e_6847047674f4832dbbb5675a109dadc7


🔄 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/82 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 6/9/2025 **Status:** ✅ Merged **Merged:** 6/9/2025 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `codex/investigate-deno-compatibility-for-langgraph-api` --- ### 📝 Commits (1) - [`160476a`](https://github.com/langchain-ai/langgraphjs-api/commit/160476aa8781da6492dd6747119a37a99f0c209a) fix: use node builtins ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph-api/src/auth/index.mts` (+1 -1) 📝 `libs/langgraph-api/src/logging.mts` (+1 -1) </details> ### 📄 Description ## Summary - fix builtin imports for Deno compatibility ## Testing - `deno run --node-modules-dir=manual --allow-all --unstable-sloppy-imports /tmp/denotest/run_server.ts` ```ts const options = { port: 8000, nWorkers: 1, host: "127.0.0.1", cwd: new URL('.', import.meta.url).pathname, graphs: { agent: "./agent.mts:graph" }, }; const { host: serverHost } = await startServer(options); ``` ------ https://chatgpt.com/codex/tasks/task_e_6847047674f4832dbbb5675a109dadc7 --- <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:16 -05:00
yindo closed this issue 2026-02-16 04:17:16 -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#77