Commit Graph

2755 Commits

Author SHA1 Message Date
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
Tat Dat Duong 3166369f6d Add missing devDeps 2025-05-22 13:30:33 +02:00
Tat Dat Duong 60fce0e9c6 Fix build 2025-05-22 13:23:38 +02:00
Tat Dat Duong 33afa99159 Scope install 2025-05-22 13:22:01 +02:00
Tat Dat Duong 148c5c39ad Update CI 2025-05-22 13:16:44 +02:00
Tat Dat Duong bb32cb0c95 chore: consolidate to yarn to prepare merge 2025-05-22 13:10:51 +02:00
David Duong 1a4e0228c5 feat(langgraph): add addSequence method (#1201) 2025-05-21 22:43:32 +02:00
Tat Dat Duong e9f75cdb1c Fix typo 2025-05-21 17:54:35 +02:00
Tat Dat Duong c01999443c feat(langgraph): add interface for adding multiple nodes in parallel
Similar to #1201, it is more desirable to add multiple nodes at once, instead of doing multiple calls to `addNode`. Accepts both the tuple syntax and the `Record<string, function>` syntax.
2025-05-21 17:46:35 +02:00
Tat Dat Duong 6c2ff10a11 Fix formatting 2025-05-21 17:46:10 +02:00
Tat Dat Duong 339d417d98 Add option to provide metadata for each node 2025-05-21 17:42:37 +02:00
Tat Dat Duong 033ed9989d feat(langgraph): add addSequence method
Port of https://github.com/langchain-ai/langgraph/pull/2352, allows both [key: string, action: function][] and { [key: string]: function }

Objects might be a little bit strange, but I think in current JS engine implementation of `Object.entries` is reasonably defined for us to do this.

>  Within each component of the prototype chain, all non-negative integer keys (those that can be array indices) will be traversed first in ascending order by value, then other string keys in ascending chronological order of property creation.
2025-05-21 16:22:29 +02:00
David Duong 02db6a6cc8 chore(langgraph): use vitest for unit tests (#1115) 2025-05-21 15:11:08 +02:00
David Duong 3c17672edc release(langgraph): 0.2.73 (#1200) 0.2.73 2025-05-21 15:06:58 +02:00
Tat Dat Duong 5650ef61cc release(langgraph): 0.2.73 2025-05-21 15:05:47 +02:00
Tat Dat Duong 936fde046a Add Node 18.x workaround 2025-05-21 14:51:06 +02:00
Tat Dat Duong 2ad52f5416 Use --mode instead of CLI args 2025-05-21 14:26:28 +02:00
Divy Srivastava 18a85b4a48 Fixes
x

Fixes

Update more tests

yarn.lock fixes

fix(langgraph): fix build, remove unused jest stuff, tests still fail
2025-05-21 03:50:46 +02:00
David Duong 9c1f917e65 Merge pull request #78 from langchain-ai/dqbd/0.0.37
release: 0.0.37
2025-05-20 16:05:58 +02:00
Tat Dat Duong 4adc25b413 release: 0.0.37 2025-05-20 16:05:34 +02:00
David Duong 075cc7bea6 Merge pull request #77 from langchain-ai/dqbd/schema-suffix-dedupe
fix(api): make sure export types are not overlapping
2025-05-20 16:04:37 +02:00
Tat Dat Duong dad9f3e29b fix(api): make sure export types are not overlapping 2025-05-20 15:56:17 +02:00
David Duong 0b14c560f6 Merge pull request #76 from langchain-ai/dqbd/0.0.36
release: 0.0.36
2025-05-20 14:26:43 +02:00
Tat Dat Duong 1bbf69a79e release: 0.0.36 2025-05-20 14:26:29 +02:00