Commit Graph

2778 Commits

Author SHA1 Message Date
Tat Dat Duong 4bf750557f deps(langgraph): upgrade to TypeScript 5.8.x
Turns out that `moduleResolution: node10` will achieve the same result as setting `src/package.json` to `{}` (verified via git worktrees).

Also switching `moduleResolution: bundler` for ESM build, after which I've compared the build output of `libs/checkpoint` via `diff -r -q`.
2025-05-24 16:24:42 +02:00
Tat Dat Duong 68c6514551 feat(langgraph): deferred nodes 2025-05-24 02:25:45 +02:00
David Duong 7ed5e87951 feat(langgraph): reduce number of branches (#1215) 2025-05-24 01:53:58 +02:00
Tat Dat Duong 24e6d94d98 feat(langgraph): reduce number of branches
Port of https://github.com/langchain-ai/langgraph/pull/4064
2025-05-24 01:47:31 +02:00
David Duong c01cd33fee feat(langgraph): consolidate channels for conditional edges (#1214) 2025-05-24 01:18:19 +02:00
Tat Dat Duong ad8789faf7 Lint 2025-05-24 01:09:51 +02:00
Tat Dat Duong 3c28d141ac feat(langgraph): consolidate channels for conditional edges
Port of https://github.com/langchain-ai/langgraph/pull/3891
2025-05-24 01:07:04 +02:00
David Duong d020adcf73 feat(langgraph): add support for then in addConditionalEdge (#1213) 2025-05-24 00:58:24 +02:00
Tat Dat Duong 234c753c56 chore(langgraph): branch refactor 2025-05-24 00:56:11 +02:00
David Duong 1eed035eff feat(langgraph): support removing all messsages with RemoveMessage (#1211) 2025-05-23 23:30:20 +02:00
Tat Dat Duong 8676ada543 feat(langgraph): support removing all messsages with RemoveMessage
Port of https://github.com/langchain-ai/langgraph/pull/4117
2025-05-23 18:15:13 +02:00
David Duong 57d7cfeb73 feat: MessagesZodSchema (#1203) 2025-05-23 00:38:03 +02:00
Hunter Lovell f66bbef9ec fix(langgraph): fix zod state jsdoc imports 2025-05-22 15:35:47 -07:00
Hunter Lovell cb4145306e chore(langgraph): add missing zod plugin import 2025-05-22 15:23:13 -07:00
David Duong 9e344b71b9 feat(langgraph): allow zod schemas in node input opts (#1204) 2025-05-23 00:20:01 +02:00
Tat Dat Duong 118e8fe52c Add query to return type 2025-05-23 00:17:42 +02:00
Hunter Lovell c216eaf897 chore(langgraph): remove unused import 2025-05-22 13:56:46 -07:00
Hunter Lovell 0cd985e839 fix(langgraph): make tests explicitly test node input channel 2025-05-22 13:51:13 -07:00
Hunter Lovell a5451ef7ee chore(langgraph): fix test imports 2025-05-22 13:51:13 -07:00
Hunter Lovell fea8b7697a fix(langgraph): zod state input format & lints 2025-05-22 13:51:13 -07:00
Hunter Lovell 359bc622b2 feat(langgraph): allow zod schemas in node input opts 2025-05-22 13:51:13 -07:00
Hunter Lovell ccf8394329 chore(langgraph): simplify zod state schema reducer signature 2025-05-22 13:44:39 -07:00
Hunter Lovell e847a5d701 chore(langgraph): add note about failing test 2025-05-22 13:41:08 -07:00
David Duong bb3f644ca9 build(deps): bump vite from 6.2.1 to 6.3.5 in the npm_and_yarn group across 1 directory (#1205) 2025-05-22 20:44:16 +02:00
David Duong 4f7479b3f0 feat(langgraph): add pushMessage method (#1208) 2025-05-22 20:40:03 +02:00
Tat Dat Duong a3dea4dfdd feat(langgraph): add pushMessage method
This method is especially useful when yielding a manual AI message to bind Gen UI elements and for allowing other libraries to use `messages` / `messages-tuple` stream
2025-05-22 20:29:42 +02:00
Hunter Lovell 38f52927d8 feat(langgraph): add MessagesZodState tests 2025-05-22 11:12:43 -07:00
Hunter Lovell 6e8cf36386 chore(langgraph): walk back docs on zod intersections 2025-05-22 11:12:43 -07:00
Hunter Lovell 4909b61b18 fix(docs): wrong backlink for zod state callout 2025-05-22 11:12:43 -07:00
Hunter Lovell 48faa271d8 fix(langgraph): use non-prototype reducer for zod messages prebuilt 2025-05-22 11:12:43 -07:00
Hunter Lovell 34c89f6678 chore(langgraph): zod messages lint & format 2025-05-22 11:12:43 -07:00
Hunter Lovell 45213cb30f chore(docs): add zod messages state callout 2025-05-22 11:12:43 -07:00
Hunter Lovell 7f6562ab4e feat(langgraph): add zod messages state utility 2025-05-22 11:12:43 -07:00
Tat Dat Duong 557d397646 Bump to 0.0.78 2025-05-22 19:08:39 +02:00
Tat Dat Duong 7e956424a4 Add joinStream method 2025-05-22 19:07:01 +02:00
Tat Dat Duong 55a6a6900c Fix assumption on sessionStorage 2025-05-22 19:01:14 +02:00
Tat Dat Duong 8dda0e2f64 Rename to reconnectOnMount 2025-05-22 18:42:38 +02:00
Tat Dat Duong 46dca9f076 Make useStream more hackable 2025-05-22 18:38:09 +02:00
Tat Dat Duong 7c988cd920 use sessionStorage instead 2025-05-22 18:11:38 +02:00
Tat Dat Duong e3c7a6bf94 Fix invalid states 2025-05-22 18:09:16 +02:00
Tat Dat Duong c8ec64b4ac resumable 2025-05-22 17:45:52 +02:00
Tat Dat Duong 5cd252e1b8 Further cleanup 2025-05-22 17:45:52 +02:00
Tat Dat Duong 16a62912d3 Code cleanup 2025-05-22 17:45:51 +02:00
Tat Dat Duong ed04b9de90 Fix race condition 2025-05-22 17:45:51 +02:00
Tat Dat Duong c3a2e24df9 Add rejoining of streams 2025-05-22 17:45:51 +02:00
David Duong db05f47e30 Merge pull request #79 from langchain-ai/dqbd/consolidate
chore: consolidate to yarn to prepare merge
2025-05-22 13:46:54 +02:00
dependabot[bot] bac9eef536 build(deps): bump vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 6.2.1 to 6.3.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-22 11:37:02 +00:00
Tat Dat Duong 9fa28080fc Yarn again 2025-05-22 13:35:38 +02:00
David Duong eccbfd4151 build(deps): bump undici from 5.28.5 to 5.29.0 in the npm_and_yarn group across 1 directory (#1186) 2025-05-22 13:34:06 +02:00
David Duong 66ee4049d2 feat(langgraph): extend addNode to allow adding multiple nodes at once (#1202) 2025-05-22 13:32:24 +02:00