UNPKG

@langchain/langgraph

Version:
187 lines 5.38 kB
{ "name": "@langchain/langgraph", "version": "1.4.7", "description": "LangGraph", "type": "module", "engines": { "node": ">=18" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "repository": { "type": "git", "url": "git+ssh://git@github.com/langchain-ai/langgraphjs.git", "directory": "libs/langgraph-core" }, "author": "LangChain", "license": "MIT", "dependencies": { "@langchain/protocol": "^0.0.18", "@standard-schema/spec": "1.1.0", "@langchain/langgraph-checkpoint": "^1.1.3", "@langchain/langgraph-sdk": "~1.9.25" }, "peerDependencies": { "@langchain/core": "^1.1.48", "zod": "^3.25.32 || ^4.2.0" }, "devDependencies": { "@langchain/anthropic": "^1.4.0", "@langchain/core": "^1.2.1", "@langchain/openai": "^1.4.7", "@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", "@vitest/browser": "^4.1.9", "@vitest/browser-playwright": "^4.1.8", "@xenova/transformers": "^2.17.2", "cheerio": "1.0.0-rc.12", "dotenv": "^16.3.1", "dpdm": "^3.12.0", "langchain": "^1.5.1", "pg": "^8.13.0", "playwright": "^1.55.1", "rollup": "^4.37.0", "tsx": "^4.19.3", "typescript": "^4.9.5 || ^5.4.5", "vite-plugin-node-polyfills": "^0.28.0", "vitest": "^4.1.0", "@langchain/langgraph-checkpoint-sqlite": "1.0.3", "@langchain/langgraph-checkpoint-postgres": "1.0.4" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "exports": { ".": { "browser": "./dist/web.js", "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" } }, "./stream": { "input": "./src/stream.ts", "typedoc": "./src/stream.ts", "import": { "types": "./dist/stream.d.ts", "default": "./dist/stream.js" }, "require": { "types": "./dist/stream.d.cts", "default": "./dist/stream.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/" ], "scripts": { "build": "pnpm turbo build:internal --filter=@langchain/langgraph", "build:internal": "pnpm --filter @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", "prepublish": "pnpm 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" } }