Commit Graph

55 Commits

Author SHA1 Message Date
David Duong 9546477a55 chore: add changesets CLI (#1347) 2025-07-07 11:40:56 +00:00
David Duong ddd5722e6f chore(deps): bump turbo@2.5.4 (#1311) 2025-06-25 12:55:13 +02:00
David Duong dcf9627d7e chore(deps): migrate to Yarn v4 (#1310)
Co-authored-by: Logan Rosen <loganrosen@gmail.com>
2025-06-25 12:44:25 +02:00
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 90295e6118 security: remove esm-hook 2025-05-08 19:06:19 +02:00
Tat Dat Duong fa01615cc4 security: ensure we're using the same tsx version 2025-05-08 18:48:57 +02:00
Tat Dat Duong b640f50596 security: dedupe @octokit
Solved by deduping @langchain/scripts and bumping release-it to ^19
2025-05-08 18:38:30 +02:00
Ben Burns a9f3236907 fix(langgraph,docs): revert previous changes that broke builds (#891) 2025-02-24 17:43:11 +13:00
Ben Burns ed6f79e97d chore(docs): improve API reference docs for Pregel and associated types (#874) 2025-02-21 05:38:30 +00:00
Lucas Hänke de Cansino ff0a79123e feat(checkpoint-postgres): Postgres checkpointer (#471)
Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
2024-10-08 09:34:50 -07:00
Jacob Lee 547b4a88e8 langgraph[minor]: 0.2, make @langchain/core a peer dependency to avoid conflicts (#431)
Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com>
2024-09-02 18:29:14 -07:00
Jacob Lee dc33895b84 Split checkpointers into libraries (#341)
* Split checkpointers into libraries

* Update readme

* Fix CI

* Update release scripts

* Update README

* Update rc

* Preserve peer deps for now
2024-08-22 09:43:15 -07:00
Brace Sproul b4ccbe2919 docs[minor]: Update init syntax docs (#328)
* docs[minor]: Update init syntax docs

* start porting chat agent executor w func calling doc

* finished porting

* validated

* agent executor refactor

* nits

* update branching how to

* updated breakpoints doc

* updated configuration doc

* updated dynamically returning directly ntbk

* updated edit graph state doc

* update force calling a tool doc

* updated human in the loop doc

* Updated manage conversation history doc

* Updated managing agent steps doc

* update postgres notebook

* update persistence notebook

* updated stream tokens doc

* updated stream updates doc

* updated stream values doc

* updated streaming tokens without langchain doc

* updated subgraph docs

* updated time travel guide

* updated dealing with tool calling errors doc

* updated use in web env guide

* fix wait user input guide
2024-08-19 18:11:22 -07:00
Brace Sproul fd6233e010 ci[minor]: Add script & GH action to validate deno and node deps in sync (#327)
* ci[minor]: Add script & GH action to validate deno and node deps in sync

* cr

* cr
2024-08-16 15:20:37 -07:00
Brace Sproul 3ba0a662cc ci[minor]: Add validate notebooks GH action (#321)
* ci[minor]: Add validate notebooks GH action

* update cmd to look inside examples too

* cr

* add examples package.json

* cr
2024-08-16 09:20:39 -07:00
Nuno Campos e0801a0f01 Use config.signal to control cancellation (#294)
* Use config.signal to control cancellation

* Lint
2024-08-05 11:09:34 -07:00
Nuno Campos c323f35935 Update dev dependencies with security vulnerabilities (#295) 2024-08-05 10:51:01 -07:00
Nuno Campos 2f390c0a67 Define StateGraph State in a single delcaration, from which both reducers and state and update interfaces are inferred (#289)
* Define StateGraph State in a single delcaration, from which both reducers and state and update interfaces are inferred

This more closely matches python, where a single declaration gives you all three

* Use type guard instead of instanceof

* Fix build by bumping core dep

---------

Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
2024-08-02 17:46:45 -07:00
Brace Sproul d5c8a517c3 infra[patch]: Use latest turbo repo and build setup (#271)
* infra[patch]: Use latest turbo repo and build setup

* bruh

* fix script

* try this

* cr

* cr

* cr

* cr

* cr

* cr

* cr

* new unit test

* cr

* drop ubuntu test env

* try sum new for cache

* bruh

* fast fail false

* cr

* cr

* cr

* bump turbo version

* tmp try canary

* cr

* cr

* cr

* cr

* cr

* upgrade langchain/scripts

* cr

* cr

* cr

* cr
2024-07-24 12:41:11 -07:00
Jacob Lee a46d8da50b Update conditional edge tracing for new core version (#275) 2024-07-21 23:01:40 -07:00
Jacob Lee 80645ae120 Adds automatic error handling for ToolNode, RemoveMessage support (#266)
* Adds automatic error handling for ToolNode

* Adds support for RemoveMessage, add tool calling error guide

* Fix typos
2024-07-18 01:17:09 -07:00
Brace Sproul dda5b91c81 infra[patch]: Set yarn version to 3.5.1 (#261)
* infra[patch]: Set yarn version to 3.5.1

* run yarn install
2024-07-16 13:15:03 -07:00
Brace Sproul df98e0a2d2 Handle ToolMessage outputs from tool funcs (#244)
* [minor]: Handle ToolMessage outputs from tool funcs

* format and lint

* Update types

* Update tool_executor.ts

* Pass raw tool call in

* Bump version

* Adds test

* Fix build

---------

Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
2024-07-15 22:09:22 -07:00
Jacob Lee 802fad9cb5 Adds Mermaid graph support (#241)
* Adds Mermaid graph support

* Fix test

* Fix test

* Fix version

* Remove overridden graph implementation
2024-07-09 09:13:59 -07:00
Jacob Lee 4b421992e8 Adds adaptive RAG tutorial (#226)
* Adds adaptive RAG tutorial

* Update with traces

* Bump

* Add to mkdocs.yml

* Copy to scripts
2024-06-20 11:08:09 -07:00
Jacob Lee fd3434e8bb Adds web entrypoint (#211)
* Adds web entrypoint

* Update prebuilt to pass config

* Add env tests

* Add to CI

* Fix

* Update CI condition

* Fix docs build

* Adds tracing unit test
2024-06-13 11:05:24 -07:00
Jacob Lee b95329f1c5 Add support for TS 4.9.5 (#213) 2024-06-13 11:04:42 -07:00
William FH 2716767af1 [Docs] Rm canvas dev dep (#196)
It's just used for image displaying in a notebook but is incompatible with Node 22.X; fun fun fun. bad bad bad
2024-05-31 03:09:04 -07:00
William FH 1ff51500ba [Docs] More tutorial cleanup (#195) 2024-05-31 02:41:45 -07:00
William FH c17925d680 [Docs] Compile more tutorials (RAG)(#193)
Fix up typescript issues and broken code
2024-05-30 10:47:35 -07:00
Jacob Lee 3c16d1b6fd Update token streaming example for new @langchain/core (#188) 2024-05-30 06:46:04 -07:00
Jacob Lee e3d4a287f7 Fix notebook (#187) 2024-05-29 13:43:45 -07:00
Jacob Lee 49728026a2 Bump ecosystem versions to 0.2.0 (#177) 2024-05-23 16:16:26 -07:00
William FH 963db633a2 Fix TS in docs (#170) 2024-05-19 22:18:30 -07:00
William FH 92c953b929 How to travel through time and space (#159) 2024-05-17 15:21:08 -07:00
William FH 8b4b72daa0 Add Docs (Part 1) (#134) 2024-05-14 16:07:50 -07:00
Brace Sproul 5bf2797a7c minor: Bump TS to 5.4 (#129)
* minor: Bump TS to 5.4

* one more install
2024-05-10 13:18:40 -07:00
Andrew Nguonly a37e19d8a2 Update static functions in pregel/index.ts to match corresponding Python implementation (#125)
* Implement _shouldInterrupt().

* Update _applyWrites(). Update checkpoint channel versions to max version + 1.

* Remove _applyWritesFromView().

* Update _prepareNextTasks() to support returning Array<PregelTaskDescription>.

* Update implementation of _prepareNextTasks() to match Python implementation.

* Remove side effect from _prepareNextTasks() and migrate clients. Add unit test for _prepareNextTasks().

* Update implementation of _prepareTasks() and PregelNode.pipe() simultaneously. These changes need to be made together.

* Implement _localRead().

* Migrate ChannelRead and ChannelWrite to extend from RunnableCallable.

* Update @langchain/core in order to use mergeConfigs().

* Implement streamChannelsList getter.

* Remove TODO comment.
2024-05-02 08:11:57 -07:00
Jacob Lee 7084da0611 Adds async edge support (#102) 2024-03-26 20:38:01 -07:00
Jacob Lee 321de74d4c Bump versions, fix typo (#98)
* Bump versions, fix typo

* README update
2024-03-24 21:37:43 -07:00
Jacob Lee 09a748fe4f Fix nested tracing, update notebooks (#74)
* Fix nested tracing, update notebooks

* Format
2024-02-27 13:06:18 -08:00
Brace Sproul 884eef86e0 Fix yarn (#28)
* Fix yarn

* cr
2024-01-18 15:03:46 -08:00
Brace Sproul f6832687c0 fix deps (#24) 2024-01-18 11:20:07 -08:00
bracesproul 671e2cbff1 set packageManager field 2024-01-18 10:52:41 -08:00
bracesproul 6e8761e840 update pkg json 2024-01-18 10:48:34 -08:00
bracesproul 0d061c2307 update deps 2024-01-18 09:54:07 -08:00
Brace Sproul f9b25cab11 Prebuilt code! (#16)
* Prebuilt code!

* format

* added agent executor prebuilt

* cr

* lint

* readme

* lint
2024-01-17 20:26:50 -08:00
Brace Sproul e7709fd74b add entrypoints (#7)
* add entrypoints

* update tsconfig

* fix circ dep
2024-01-16 14:35:05 -08:00
Nuno Campos 2285860b09 Fix up some issues (#6)
* Package infra

* cr

* rm turbo

* update release script

* Fix up some issues

* Remove .only

* merge

---------

Co-authored-by: bracesproul <braceasproul@gmail.com>
2024-01-16 13:46:58 -08:00
Brace Sproul 91c31ab1ec examples & docs (#3)
* examples & docs

* cr

* finished example
2024-01-16 12:20:06 -08:00