@langchain/langgraph 0.2.0-rc.0 → 0.2.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/_types.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/_types.cjs');
package/_types.d.cts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/_types.js'
package/_types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/_types.js'
package/_types.js ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/_types.js'
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { type AnyValue, type WaitForNames, type DynamicBarrierValue, type LastValue, type NamedBarrierValue, type Topic, } from "./channels/index.js";
2
+ export { type AnnotationRoot, type StateType, type UpdateType, type NodeType, } from "./graph/index.js";
package/dist/_types.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/dist/web.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { END, Graph, type StateGraphArgs, START, StateGraph, type CompiledStateGraph, MessageGraph, messagesStateReducer, type Messages, Annotation, type AnnotationRoot, type StateDefinition, type SingleReducer, type StateType, type UpdateType, type NodeType, type CompiledGraph, } from "./graph/index.js";
1
+ export { END, Graph, type StateGraphArgs, START, StateGraph, type CompiledStateGraph, MessageGraph, messagesStateReducer, type Messages, Annotation, type StateDefinition, type SingleReducer, type CompiledGraph, } from "./graph/index.js";
2
2
  export * from "./errors.js";
3
- export { BaseChannel, type BinaryOperator, BinaryOperatorAggregate, type AnyValue, type WaitForNames, type DynamicBarrierValue, type LastValue, type NamedBarrierValue, type Topic, } from "./channels/index.js";
3
+ export { BaseChannel, type BinaryOperator, BinaryOperatorAggregate } from "./channels/index.js";
4
4
  export { type RetryPolicy } from "./pregel/utils.js";
5
5
  export { Send } from "./constants.js";
6
6
  export { MemorySaver, type Checkpoint, type CheckpointMetadata, type CheckpointTuple, copyCheckpoint, emptyCheckpoint, BaseCheckpointSaver, } from "@langchain/langgraph-checkpoint";
package/dist/web.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { END, Graph, START, StateGraph, MessageGraph, messagesStateReducer, Annotation, } from "./graph/index.js";
2
2
  export * from "./errors.js";
3
- export { BaseChannel, BinaryOperatorAggregate, } from "./channels/index.js";
3
+ export { BaseChannel, BinaryOperatorAggregate } from "./channels/index.js";
4
4
  export { Send } from "./constants.js";
5
5
  export { MemorySaver, copyCheckpoint, emptyCheckpoint, BaseCheckpointSaver, } from "@langchain/langgraph-checkpoint";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph",
3
- "version": "0.2.0-rc.0",
3
+ "version": "0.2.0-rc.2",
4
4
  "description": "LangGraph",
5
5
  "type": "module",
6
6
  "engines": {
@@ -44,6 +44,7 @@
44
44
  "@langchain/anthropic": "^0.2.12",
45
45
  "@langchain/community": "^0.2.31",
46
46
  "@langchain/core": "^0.2.31",
47
+ "@langchain/langgraph-checkpoint-sqlite": "workspace:*",
47
48
  "@langchain/openai": "^0.2.4",
48
49
  "@langchain/scripts": ">=0.1.2 <0.2.0",
49
50
  "@swc/core": "^1.3.90",
@@ -80,6 +81,15 @@
80
81
  "registry": "https://registry.npmjs.org/"
81
82
  },
82
83
  "exports": {
84
+ "./_types": {
85
+ "types": {
86
+ "import": "./_types.d.ts",
87
+ "require": "./_types.d.cts",
88
+ "default": "./_types.d.ts"
89
+ },
90
+ "import": "./_types.js",
91
+ "require": "./_types.cjs"
92
+ },
83
93
  ".": {
84
94
  "types": {
85
95
  "import": "./index.d.ts",
@@ -116,19 +126,14 @@
116
126
  "import": "./prebuilt.js",
117
127
  "require": "./prebuilt.cjs"
118
128
  },
119
- "./checkpoint/sqlite": {
120
- "types": {
121
- "import": "./checkpoint/sqlite.d.ts",
122
- "require": "./checkpoint/sqlite.d.cts",
123
- "default": "./checkpoint/sqlite.d.ts"
124
- },
125
- "import": "./checkpoint/sqlite.js",
126
- "require": "./checkpoint/sqlite.cjs"
127
- },
128
129
  "./package.json": "./package.json"
129
130
  },
130
131
  "files": [
131
132
  "dist/",
133
+ "_types.cjs",
134
+ "_types.js",
135
+ "_types.d.ts",
136
+ "_types.d.cts",
132
137
  "index.cjs",
133
138
  "index.js",
134
139
  "index.d.ts",
@@ -144,10 +149,6 @@
144
149
  "prebuilt.cjs",
145
150
  "prebuilt.js",
146
151
  "prebuilt.d.ts",
147
- "prebuilt.d.cts",
148
- "checkpoint/sqlite.cjs",
149
- "checkpoint/sqlite.js",
150
- "checkpoint/sqlite.d.ts",
151
- "checkpoint/sqlite.d.cts"
152
+ "prebuilt.d.cts"
152
153
  ]
153
154
  }
@@ -1 +0,0 @@
1
- module.exports = require('../dist/checkpoint/sqlite.cjs');
@@ -1 +0,0 @@
1
- export * from '../dist/checkpoint/sqlite.js'
@@ -1 +0,0 @@
1
- export * from '../dist/checkpoint/sqlite.js'
@@ -1 +0,0 @@
1
- export * from '../dist/checkpoint/sqlite.js'
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("@langchain/langgraph-checkpoint-sqlite"), exports);
@@ -1 +0,0 @@
1
- export * from "@langchain/langgraph-checkpoint-sqlite";
@@ -1 +0,0 @@
1
- export * from "@langchain/langgraph-checkpoint-sqlite";