UNPKG

@langchain/langgraph

Version:

LangGraph

194 lines 5.78 kB
{ "name": "@langchain/langgraph", "version": "1.0.0", "description": "LangGraph", "type": "module", "engines": { "node": ">=18" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "repository": { "type": "git", "url": "git@github.com:langchain-ai/langgraphjs.git" }, "scripts": { "build": "yarn turbo:command build:internal --filter=@langchain/langgraph", "build:internal": "yarn workspace @langchain/build compile @langchain/langgraph", "clean": "rm -rf dist/ dist-cjs/ .turbo/", "lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/", "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", "lint": "yarn lint:eslint && yarn lint:dpdm", "lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm", "prepublish": "yarn build", "test": "vitest run", "test:browser": "vitest run --mode browser", "test:watch": "vitest watch", "test:int": "vitest run --mode int", "bench": "vitest bench --mode bench", "format": "prettier --config .prettierrc --write \"src\"", "format:check": "prettier --config .prettierrc --check \"src\"" }, "author": "LangChain", "license": "MIT", "dependencies": { "@langchain/langgraph-checkpoint": "^1.0.0", "@langchain/langgraph-sdk": "~1.0.0", "uuid": "^10.0.0" }, "peerDependencies": { "@langchain/core": "^1.0.1", "zod": "^3.25.32 || ^4.1.0", "zod-to-json-schema": "^3.x" }, "peerDependenciesMeta": { "zod-to-json-schema": { "optional": true } }, "devDependencies": { "@langchain/anthropic": "^1.0.0", "@langchain/core": "^1.0.1", "@langchain/langgraph-checkpoint": "1.0.0", "@langchain/langgraph-checkpoint-postgres": "1.0.0", "@langchain/langgraph-checkpoint-sqlite": "1.0.0", "@langchain/langgraph-sdk": "1.0.0", "@langchain/openai": "^1.0.0", "@langchain/scripts": ">=0.1.3 <0.2.0", "@langchain/tavily": "^1.0.0", "@swc/core": "^1.3.90", "@testing-library/dom": "^10.4.0", "@tsconfig/recommended": "^1.0.3", "@types/pg": "^8", "@types/uuid": "^10", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "@vitest/browser": "^3.0.8", "@xenova/transformers": "^2.17.2", "cheerio": "1.0.0-rc.12", "dotenv": "^16.3.1", "dpdm": "^3.12.0", "eslint": "^8.33.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-no-instanceof": "^1.0.1", "eslint-plugin-prettier": "^4.2.1", "langchain": "^1.0.0-alpha", "pg": "^8.13.0", "playwright": "^1.51.0", "prettier": "^2.8.3", "rollup": "^4.37.0", "tsx": "^4.19.3", "typescript": "^4.9.5 || ^5.4.5", "vite-plugin-node-polyfills": "^0.23.0", "vitest": "^3.1.2", "zod-to-json-schema": "^3.22.4" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "exports": { ".": { "input": "./src/index.ts", "typedoc": "./src/index.ts", "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./web": { "input": "./src/web.ts", "typedoc": "./src/web.ts", "import": { "types": "./dist/web.d.ts", "default": "./dist/web.js" }, "require": { "types": "./dist/web.d.cts", "default": "./dist/web.cjs" } }, "./channels": { "input": "./src/channels/index.ts", "typedoc": "./src/channels/index.ts", "import": { "types": "./dist/channels/index.d.ts", "default": "./dist/channels/index.js" }, "require": { "types": "./dist/channels/index.d.cts", "default": "./dist/channels/index.cjs" } }, "./pregel": { "input": "./src/pregel/index.ts", "typedoc": "./src/pregel/index.ts", "import": { "types": "./dist/pregel/index.d.ts", "default": "./dist/pregel/index.js" }, "require": { "types": "./dist/pregel/index.d.cts", "default": "./dist/pregel/index.cjs" } }, "./prebuilt": { "input": "./src/prebuilt/index.ts", "typedoc": "./src/prebuilt/index.ts", "import": { "types": "./dist/prebuilt/index.d.ts", "default": "./dist/prebuilt/index.js" }, "require": { "types": "./dist/prebuilt/index.d.cts", "default": "./dist/prebuilt/index.cjs" } }, "./remote": { "input": "./src/remote.ts", "typedoc": "./src/remote.ts", "import": { "types": "./dist/remote.d.ts", "default": "./dist/remote.js" }, "require": { "types": "./dist/remote.d.cts", "default": "./dist/remote.cjs" } }, "./zod": { "input": "./src/graph/zod/index.ts", "typedoc": "./src/graph/zod/index.ts", "import": { "types": "./dist/graph/zod/index.d.ts", "default": "./dist/graph/zod/index.js" }, "require": { "types": "./dist/graph/zod/index.d.cts", "default": "./dist/graph/zod/index.cjs" } }, "./zod/schema": { "input": "./src/graph/zod/schema.ts", "typedoc": "./src/graph/zod/schema.ts", "import": { "types": "./dist/graph/zod/schema.d.ts", "default": "./dist/graph/zod/schema.js" }, "require": { "types": "./dist/graph/zod/schema.d.cts", "default": "./dist/graph/zod/schema.cjs" } }, "./package.json": "./package.json" }, "files": [ "dist/" ] }