[PR #907] [MERGED] chore(supervisor): pull in supervisor prebuilt, add lint, etc #1104

Closed
opened 2026-02-15 19:17:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/907
Author: @benjamincburns
Created: 2/27/2025
Status: Merged
Merged: 2/27/2025
Merged by: @benjamincburns

Base: mainHead: ben/pull-in-supervisor


📝 Commits (10+)

  • 7f47f2e first commit
  • 7dab794 add initial implementation (#1)
  • 858ba2a add return type annotations (#2)
  • 21f7b71 bump langgraph
  • 5ba3009 release 0.0.2
  • f66ad60 render subgraphs
  • 8215525 release 0.0.3
  • 56ec291 bump langgraph & release 0.0.4
  • 408981e Add 'libs/langgraph-supervisor/' from commit '56ec29164c9167df98dc09579a8a7b3e32a54574'
  • 1717b38 chore(supervisor): pull in supervisor prebuilt, add lint, etc

📊 Changes

27 files changed (+939 additions, -18 deletions)

View changed files

📝 docs/.gitignore (+1 -0)
📝 docs/_scripts/third_party/create_third_party_page.py (+14 -3)
📝 docs/_scripts/third_party/get_download_stats.py (+4 -6)
📝 docs/_scripts/third_party/packages.yml (+3 -2)
📝 docs/docs-requirements.txt (+1 -0)
docs/docs/prebuilt.md (+0 -7)
📝 docs/mkdocs.yml (+1 -0)
libs/langgraph-supervisor/.env.example (+6 -0)
libs/langgraph-supervisor/.eslintrc.cjs (+69 -0)
libs/langgraph-supervisor/.gitignore (+7 -0)
libs/langgraph-supervisor/.prettierrc (+19 -0)
libs/langgraph-supervisor/LICENSE (+21 -0)
libs/langgraph-supervisor/README.md (+193 -0)
libs/langgraph-supervisor/jest.config.cjs (+20 -0)
libs/langgraph-supervisor/jest.env.cjs (+12 -0)
libs/langgraph-supervisor/langchain.config.js (+21 -0)
libs/langgraph-supervisor/package.json (+91 -0)
libs/langgraph-supervisor/src/handoff.ts (+80 -0)
libs/langgraph-supervisor/src/index.ts (+1 -0)
libs/langgraph-supervisor/src/supervisor.ts (+205 -0)

...and 7 more files

📄 Description

There's a bunch of commits here because it pulls in the original repo's history (thanks to git subtree). The final commit is the only one with changes that weren't included in the original repo history, so if you plan on reviewing, just check that, please.

For future reference - I managed to pull in this code with history preserved in less than 5 minutes using the following command:

git subtree add --prefix libs/langgraph-supervisor 'git@github.com:langchain-ai/langgraphjs-supervisor.git' main

Modifying the package.json, and applying the other config for this repo (eslint, etc) took another 15 min or so, including fixes for linter errors.

Note that there are a few linter errors that should be fixed that I elected to leave as-is, as I didn't want to risk a breaking change. I did fix up one small public-facing type parameter issue (node key param should've been string rather than any), but I'm confident this is safe.


🔄 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/pull/907 **Author:** [@benjamincburns](https://github.com/benjamincburns) **Created:** 2/27/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@benjamincburns](https://github.com/benjamincburns) **Base:** `main` ← **Head:** `ben/pull-in-supervisor` --- ### 📝 Commits (10+) - [`7f47f2e`](https://github.com/langchain-ai/langgraphjs/commit/7f47f2e2b867959dea5e9823b70d3ca5c42fc5e5) first commit - [`7dab794`](https://github.com/langchain-ai/langgraphjs/commit/7dab7942200017800154e1f24b14b91bc30a21a0) add initial implementation (#1) - [`858ba2a`](https://github.com/langchain-ai/langgraphjs/commit/858ba2aae6888b8a18b90307b7aadae923684998) add return type annotations (#2) - [`21f7b71`](https://github.com/langchain-ai/langgraphjs/commit/21f7b71c25f288dd263f3b35c1e55db52db9add1) bump langgraph - [`5ba3009`](https://github.com/langchain-ai/langgraphjs/commit/5ba300945cf2d9b08a8fdb49059355607ce4700e) release 0.0.2 - [`f66ad60`](https://github.com/langchain-ai/langgraphjs/commit/f66ad6043564ab2686cccf00d5fcdc6fda1fd7f9) render subgraphs - [`8215525`](https://github.com/langchain-ai/langgraphjs/commit/8215525d1e799686b677bd6358c4b26ef7f6bcf0) release 0.0.3 - [`56ec291`](https://github.com/langchain-ai/langgraphjs/commit/56ec29164c9167df98dc09579a8a7b3e32a54574) bump langgraph & release 0.0.4 - [`408981e`](https://github.com/langchain-ai/langgraphjs/commit/408981e5650b63f3131a27a7917c3ba5ca888b55) Add 'libs/langgraph-supervisor/' from commit '56ec29164c9167df98dc09579a8a7b3e32a54574' - [`1717b38`](https://github.com/langchain-ai/langgraphjs/commit/1717b38dbfa98ede21e7bcd807283f12f9cf8b19) chore(supervisor): pull in supervisor prebuilt, add lint, etc ### 📊 Changes **27 files changed** (+939 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `docs/.gitignore` (+1 -0) 📝 `docs/_scripts/third_party/create_third_party_page.py` (+14 -3) 📝 `docs/_scripts/third_party/get_download_stats.py` (+4 -6) 📝 `docs/_scripts/third_party/packages.yml` (+3 -2) 📝 `docs/docs-requirements.txt` (+1 -0) ➖ `docs/docs/prebuilt.md` (+0 -7) 📝 `docs/mkdocs.yml` (+1 -0) ➕ `libs/langgraph-supervisor/.env.example` (+6 -0) ➕ `libs/langgraph-supervisor/.eslintrc.cjs` (+69 -0) ➕ `libs/langgraph-supervisor/.gitignore` (+7 -0) ➕ `libs/langgraph-supervisor/.prettierrc` (+19 -0) ➕ `libs/langgraph-supervisor/LICENSE` (+21 -0) ➕ `libs/langgraph-supervisor/README.md` (+193 -0) ➕ `libs/langgraph-supervisor/jest.config.cjs` (+20 -0) ➕ `libs/langgraph-supervisor/jest.env.cjs` (+12 -0) ➕ `libs/langgraph-supervisor/langchain.config.js` (+21 -0) ➕ `libs/langgraph-supervisor/package.json` (+91 -0) ➕ `libs/langgraph-supervisor/src/handoff.ts` (+80 -0) ➕ `libs/langgraph-supervisor/src/index.ts` (+1 -0) ➕ `libs/langgraph-supervisor/src/supervisor.ts` (+205 -0) _...and 7 more files_ </details> ### 📄 Description There's a bunch of commits here because it pulls in the original repo's history (thanks to `git subtree`). The final commit is the only one with changes that weren't included in the original repo history, so if you plan on reviewing, just check that, please. For future reference - I managed to pull in this code with history preserved in less than 5 minutes using the following command: ``` git subtree add --prefix libs/langgraph-supervisor 'git@github.com:langchain-ai/langgraphjs-supervisor.git' main ``` Modifying the `package.json`, and applying the other config for this repo (eslint, etc) took another 15 min or so, including fixes for linter errors. Note that there are a few linter errors that should be fixed that I elected to leave as-is, as I didn't want to risk a breaking change. I did fix up one small public-facing type parameter issue (node key param should've been `string` rather than `any`), but I'm confident this is safe. --- <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-15 19:17:13 -05:00
yindo closed this issue 2026-02-15 19:17:13 -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#1104