@langchain/langgraph 0.2.0-rc.1 → 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/dist/_types.cjs CHANGED
@@ -1,17 +1,2 @@
1
1
  "use strict";
2
- // // Export types for portability, these shouldn't be needed/used directly
3
- // export {
4
- // type AnyValue,
5
- // type WaitForNames,
6
- // type DynamicBarrierValue,
7
- // type LastValue,
8
- // type NamedBarrierValue,
9
- // type Topic,
10
- // } from "./channels/index.js";
11
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
- // export {
13
- // type AnnotationRoot,
14
- // type StateType,
15
- // type UpdateType,
16
- // type NodeType,
17
- // } from "./graph/index.js";
package/dist/_types.d.ts CHANGED
@@ -1 +1,2 @@
1
- export {};
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 CHANGED
@@ -1,16 +1 @@
1
- // // Export types for portability, these shouldn't be needed/used directly
2
- // export {
3
- // type AnyValue,
4
- // type WaitForNames,
5
- // type DynamicBarrierValue,
6
- // type LastValue,
7
- // type NamedBarrierValue,
8
- // type Topic,
9
- // } from "./channels/index.js";
10
1
  export {};
11
- // export {
12
- // type AnnotationRoot,
13
- // type StateType,
14
- // type UpdateType,
15
- // type NodeType,
16
- // } from "./graph/index.js";
package/dist/index.cjs CHANGED
@@ -15,7 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
16
  };
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.MessagesAnnotation = void 0;
18
19
  const async_local_storage_js_1 = require("./setup/async_local_storage.cjs");
19
20
  // Initialize global async local storage instance for tracing
20
21
  (0, async_local_storage_js_1.initializeAsyncLocalStorageSingleton)();
21
22
  __exportStar(require("./web.cjs"), exports);
23
+ var messages_annotation_js_1 = require("./graph/messages_annotation.cjs");
24
+ Object.defineProperty(exports, "MessagesAnnotation", { enumerable: true, get: function () { return messages_annotation_js_1.MessagesAnnotation; } });
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from "./web.js";
2
+ export { MessagesAnnotation } from "./graph/messages_annotation.js";
package/dist/index.js CHANGED
@@ -3,3 +3,4 @@ import { initializeAsyncLocalStorageSingleton } from "./setup/async_local_storag
3
3
  // Initialize global async local storage instance for tracing
4
4
  initializeAsyncLocalStorageSingleton();
5
5
  export * from "./web.js";
6
+ export { MessagesAnnotation } from "./graph/messages_annotation.js";
package/dist/web.cjs CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.BaseCheckpointSaver = exports.emptyCheckpoint = exports.copyCheckpoint = exports.MemorySaver = exports.MessagesAnnotation = exports.Send = exports.BinaryOperatorAggregate = exports.BaseChannel = exports.Annotation = exports.messagesStateReducer = exports.MessageGraph = exports.StateGraph = exports.START = exports.Graph = exports.END = void 0;
17
+ exports.BaseCheckpointSaver = exports.emptyCheckpoint = exports.copyCheckpoint = exports.MemorySaver = exports.Send = exports.BinaryOperatorAggregate = exports.BaseChannel = exports.Annotation = exports.messagesStateReducer = exports.MessageGraph = exports.StateGraph = exports.START = exports.Graph = exports.END = void 0;
18
18
  var index_js_1 = require("./graph/index.cjs");
19
19
  Object.defineProperty(exports, "END", { enumerable: true, get: function () { return index_js_1.END; } });
20
20
  Object.defineProperty(exports, "Graph", { enumerable: true, get: function () { return index_js_1.Graph; } });
@@ -29,8 +29,6 @@ Object.defineProperty(exports, "BaseChannel", { enumerable: true, get: function
29
29
  Object.defineProperty(exports, "BinaryOperatorAggregate", { enumerable: true, get: function () { return index_js_2.BinaryOperatorAggregate; } });
30
30
  var constants_js_1 = require("./constants.cjs");
31
31
  Object.defineProperty(exports, "Send", { enumerable: true, get: function () { return constants_js_1.Send; } });
32
- var messages_annotation_js_1 = require("./graph/messages_annotation.cjs");
33
- Object.defineProperty(exports, "MessagesAnnotation", { enumerable: true, get: function () { return messages_annotation_js_1.MessagesAnnotation; } });
34
32
  var langgraph_checkpoint_1 = require("@langchain/langgraph-checkpoint");
35
33
  Object.defineProperty(exports, "MemorySaver", { enumerable: true, get: function () { return langgraph_checkpoint_1.MemorySaver; } });
36
34
  Object.defineProperty(exports, "copyCheckpoint", { enumerable: true, get: function () { return langgraph_checkpoint_1.copyCheckpoint; } });
package/dist/web.d.ts CHANGED
@@ -3,5 +3,4 @@ export * from "./errors.js";
3
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
- export { MessagesAnnotation } from "./graph/messages_annotation.js";
7
6
  export { MemorySaver, type Checkpoint, type CheckpointMetadata, type CheckpointTuple, copyCheckpoint, emptyCheckpoint, BaseCheckpointSaver, } from "@langchain/langgraph-checkpoint";
package/dist/web.js CHANGED
@@ -2,5 +2,4 @@ export { END, Graph, START, StateGraph, MessageGraph, messagesStateReducer, Anno
2
2
  export * from "./errors.js";
3
3
  export { BaseChannel, BinaryOperatorAggregate } from "./channels/index.js";
4
4
  export { Send } from "./constants.js";
5
- export { MessagesAnnotation } from "./graph/messages_annotation.js";
6
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.1",
3
+ "version": "0.2.0-rc.2",
4
4
  "description": "LangGraph",
5
5
  "type": "module",
6
6
  "engines": {