mirror of
https://github.com/langchain-ai/langgraphjs.git
synced 2026-07-22 00:55:26 -04:00
f99941f5fe
## Summary - Add `reset()` to `SubgraphDiscovery` and `SubagentDiscovery` to clear internal maps and committed store snapshots. - Call both resets from `StreamController.#teardownThread()` alongside existing per-thread resets (messages, tools, metadata). - Add unit tests for discovery `reset()` and a controller test that `hydrate(null)` clears subgraphs after lifecycle events.
LangGraph.js API
In-memory implementation of the LangGraph.js API.
Tests
- Build the latest code changes to test:
pnpm build - Start a local server:
pnpm dev - Run the tests:
pnpm test