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
David Duong
25e2338aab
Merge pull request #65 from langchain-ai/dqbd/resumable-streams
...
feat(api): resumable streams
2025-05-20 14:25:31 +02:00
Tat Dat Duong
ad644bd985
Mark resumability as an optional feature
2025-05-20 14:19:45 +02:00
David Duong
f4e418d399
feat(sdk-js): add stream_resumable flag, that marks the stream as resumable ( #4757 )
2025-05-20 14:16:39 +02:00
Tat Dat Duong
33327d921d
Bump to 0.0.77
2025-05-20 14:14:48 +02:00
Tat Dat Duong
d098b54999
feat(sdk-js): add stream_resumable flag, that marks the stream as resumable
2025-05-20 14:13:47 +02:00
David Duong
f6c061f79f
fix(langgraph): allow restoring falsy values from channels ( #1192 )
2025-05-19 20:44:24 +02:00
David Duong
01e39c82f0
fix(docs): update typo in define-state ( #1193 )
2025-05-19 17:07:18 +02:00
Tat Dat Duong
061ae951ed
fix(docs): ensure that we're not calling .addNode / .addEdge without existing reference to StateGraph builder
...
Closes Type System Mismatch Between Documentation and Implementation #1143
2025-05-19 16:56:04 +02:00
Tat Dat Duong
ca21d29970
fix(docs): remove await for streamEvents
...
Closes Docs issue: `await agent.streamEvents()` is complained by TypeScript because it's not `Promise` #1086
2025-05-19 16:39:37 +02:00
Tat Dat Duong
685fd15802
fix(docs): update typo in define-state
...
Closes Typo "convince" under "How to define graph state" documentation section #1113
2025-05-19 16:35:45 +02:00
Tat Dat Duong
a307ee9274
fix(langgraph): allow restoring falsy values from channels
...
Fixes State fields are not persisted if of type `number` and the value is `0` (MemorySaver) #1182
2025-05-19 14:53:42 +02:00
David Duong
434ae418c7
fix(langgraph): update troubleshooting links ( #1190 )
2025-05-19 14:29:51 +02:00