Skip to content

Commit

Permalink
Merge 0.1 (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Aug 22, 2024
2 parents 8c8d0a9 + 81ebfe8 commit 0d0ecb7
Show file tree
Hide file tree
Showing 132 changed files with 5,682 additions and 2,333 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:

- name: Check README.md is in sync
run: |
if ! diff -q README.md langgraph/README.md >/dev/null; then
if ! diff -q README.md libs/langgraph/README.md >/dev/null; then
echo "README.md is out of sync with langgraph/README.md"
diff -C 3 README.md langgraph/README.md
exit 1
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2023 LangChain
Copyright (c) 2024 LangChain

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ build-docs:

serve-docs:
python _scripts/copy_notebooks.py
python -m mkdocs serve -f mkdocs.yml -w ../langgraph --dirty -o
python -m mkdocs serve -f mkdocs.yml -w ../libs --dirty -o

serve-clean-docs: clean
python _scripts/copy_notebooks.py
python -m mkdocs serve -c -f mkdocs.yml --strict -w ../langgraph
python -m mkdocs serve -c -f mkdocs.yml --strict -w ../libs

clean:
find ./docs -name "*.ipynb" -type f -delete
Expand Down
3 changes: 2 additions & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ plugins:
include_source: True
include_requirejs: true
- typedoc:
source: "../langgraph/*.d.ts"
# One level of globbing is intentional
source: "../libs/*/*.d.ts"
output_dir: "./reference"
tsconfig: "../tsconfig.json"
options: "typedoc.json"
Expand Down
21 changes: 14 additions & 7 deletions environment_tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ services:
- ../.yarn:/root/.yarn
- ../environment_tests/test-exports-esbuild:/package
- ../environment_tests/scripts:/scripts
- ../langgraph:/langgraph
- ../libs/langgraph:/langgraph
- ../libs/checkpoint:/checkpoint
command: bash /scripts/docker-ci-entrypoint.sh
test-exports-esm:
image: node:18
Expand All @@ -23,7 +24,8 @@ services:
- ../.yarn:/root/.yarn
- ../environment_tests/test-exports-esm:/package
- ../environment_tests/scripts:/scripts
- ../langgraph:/langgraph
- ../libs/langgraph:/langgraph
- ../libs/checkpoint:/checkpoint
command: bash /scripts/docker-ci-entrypoint.sh
test-exports-tsc:
image: node:18
Expand All @@ -34,7 +36,8 @@ services:
- ../.yarn:/root/.yarn
- ../environment_tests/test-exports-tsc:/package
- ../environment_tests/scripts:/scripts
- ../langgraph:/langgraph
- ../libs/langgraph:/langgraph
- ../libs/checkpoint:/checkpoint
command: bash /scripts/docker-ci-entrypoint.sh
test-exports-cjs:
image: node:18
Expand All @@ -45,7 +48,8 @@ services:
- ../.yarn:/root/.yarn
- ../environment_tests/test-exports-cjs:/package
- ../environment_tests/scripts:/scripts
- ../langgraph:/langgraph
- ../libs/langgraph:/langgraph
- ../libs/checkpoint:/checkpoint
command: bash /scripts/docker-ci-entrypoint.sh
test-exports-cf:
image: node:18
Expand All @@ -56,7 +60,8 @@ services:
- ../.yarn:/root/.yarn
- ../environment_tests/test-exports-cf:/package
- ../environment_tests/scripts:/scripts
- ../langgraph:/langgraph
- ../libs/langgraph:/langgraph
- ../libs/checkpoint:/checkpoint
command: bash /scripts/docker-ci-entrypoint.sh
test-exports-vercel:
image: node:18
Expand All @@ -70,7 +75,8 @@ services:
- ../.yarn:/root/.yarn
- ../environment_tests/test-exports-vercel:/package
- ../environment_tests/scripts:/scripts
- ../langgraph:/langgraph
- ../libs/langgraph:/langgraph
- ../libs/checkpoint:/checkpoint
command: bash /scripts/docker-ci-entrypoint.sh
test-exports-vite:
image: node:18
Expand All @@ -81,7 +87,8 @@ services:
- ../.yarn:/root/.yarn
- ../environment_tests/test-exports-vite:/package
- ../environment_tests/scripts:/scripts
- ../langgraph:/langgraph
- ../libs/langgraph:/langgraph
- ../libs/checkpoint:/checkpoint
command: bash /scripts/docker-ci-entrypoint.sh
success:
image: alpine:3.14
Expand Down
2 changes: 2 additions & 0 deletions environment_tests/scripts/docker-ci-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ shopt -s extglob
cp -r ../package/!(node_modules|dist|dist-cjs|dist-esm|build|.next|.turbo) .

mkdir -p ./libs/langgraph/
mkdir -p ./libs/checkpoint/

cp -r ../langgraph ./libs/
cp -r ../checkpoint ./libs/

# copy cache
mkdir -p ./.yarn
Expand Down
1 change: 1 addition & 0 deletions environment_tests/test-exports-cf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"dependencies": {
"@langchain/langgraph": "workspace:*",
"@langchain/langgraph-checkpoint": "workspace:*",
"wrangler": "3.19.0",
"vitest": "0.34.3",
"typescript": "^5.0.3"
Expand Down
1 change: 1 addition & 0 deletions environment_tests/test-exports-cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"license": "MIT",
"dependencies": {
"@langchain/langgraph": "workspace:*",
"@langchain/langgraph-checkpoint": "workspace:*",
"@tsconfig/recommended": "^1.0.2",
"@types/node": "^18.15.11",
"typescript": "^5.0.0"
Expand Down
1 change: 1 addition & 0 deletions environment_tests/test-exports-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"license": "MIT",
"dependencies": {
"@langchain/langgraph": "workspace:*",
"@langchain/langgraph-checkpoint": "workspace:*",
"@tsconfig/recommended": "^1.0.2",
"@types/node": "^18.15.11",
"esbuild": "^0.17.18",
Expand Down
1 change: 1 addition & 0 deletions environment_tests/test-exports-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"license": "MIT",
"dependencies": {
"@langchain/langgraph": "workspace:*",
"@langchain/langgraph-checkpoint": "workspace:*",
"@tsconfig/recommended": "^1.0.2",
"@types/node": "^18.15.11",
"tsx": "^4.15.2",
Expand Down
1 change: 1 addition & 0 deletions environment_tests/test-exports-tsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"license": "MIT",
"dependencies": {
"@langchain/langgraph": "workspace:*",
"@langchain/langgraph-checkpoint": "workspace:*",
"@types/node": "^18.15.11",
"typescript": "latest"
}
Expand Down
1 change: 1 addition & 0 deletions environment_tests/test-exports-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"@langchain/langgraph": "workspace:*",
"@langchain/langgraph-checkpoint": "workspace:*",
"@types/node": "18.15.11",
"@types/react": "18.0.33",
"@types/react-dom": "18.0.11",
Expand Down
1 change: 1 addition & 0 deletions environment_tests/test-exports-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"dependencies": {
"@langchain/langgraph": "workspace:*",
"@langchain/langgraph-checkpoint": "workspace:*",
"typescript": "^5.0.0",
"vite": "^4.2.0"
}
Expand Down
5 changes: 0 additions & 5 deletions langgraph/src/checkpoint/id.ts

This file was deleted.

8 changes: 0 additions & 8 deletions langgraph/src/checkpoint/index.ts

This file was deleted.

104 changes: 0 additions & 104 deletions langgraph/src/checkpoint/memory.ts

This file was deleted.

Loading

0 comments on commit 0d0ecb7

Please sign in to comment.