@langchain/core 0.3.72 → 0.3.73
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/index.cjs +21 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +20 -0
- package/index.cjs +1 -0
- package/index.d.cts +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +14 -1
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @langchain/core root entry point
|
|
4
|
+
*
|
|
5
|
+
* This file exists solely to satisfy bundler requirements for packages that use
|
|
6
|
+
* static manual chunks (e.g., Vite's manualChunks, Webpack's splitChunks).
|
|
7
|
+
*
|
|
8
|
+
* IMPORTANT: Do not import from this root entry point in your code.
|
|
9
|
+
* Instead, use specific subpath imports for better tree-shaking and performance:
|
|
10
|
+
*
|
|
11
|
+
* ❌ Don't do this:
|
|
12
|
+
* import { BaseMessage } from "@langchain/core";
|
|
13
|
+
*
|
|
14
|
+
* ✅ Do this instead:
|
|
15
|
+
* import { BaseMessage } from "@langchain/core/messages";
|
|
16
|
+
* import { BaseChatModel } from "@langchain/core/language_models/chat_models";
|
|
17
|
+
*
|
|
18
|
+
* This approach ensures optimal bundle size and follows the intended usage pattern
|
|
19
|
+
* of this package.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @langchain/core root entry point
|
|
3
|
+
*
|
|
4
|
+
* This file exists solely to satisfy bundler requirements for packages that use
|
|
5
|
+
* static manual chunks (e.g., Vite's manualChunks, Webpack's splitChunks).
|
|
6
|
+
*
|
|
7
|
+
* IMPORTANT: Do not import from this root entry point in your code.
|
|
8
|
+
* Instead, use specific subpath imports for better tree-shaking and performance:
|
|
9
|
+
*
|
|
10
|
+
* ❌ Don't do this:
|
|
11
|
+
* import { BaseMessage } from "@langchain/core";
|
|
12
|
+
*
|
|
13
|
+
* ✅ Do this instead:
|
|
14
|
+
* import { BaseMessage } from "@langchain/core/messages";
|
|
15
|
+
* import { BaseChatModel } from "@langchain/core/language_models/chat_models";
|
|
16
|
+
*
|
|
17
|
+
* This approach ensures optimal bundle size and follows the intended usage pattern
|
|
18
|
+
* of this package.
|
|
19
|
+
*/
|
|
20
|
+
export {};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @langchain/core root entry point
|
|
3
|
+
*
|
|
4
|
+
* This file exists solely to satisfy bundler requirements for packages that use
|
|
5
|
+
* static manual chunks (e.g., Vite's manualChunks, Webpack's splitChunks).
|
|
6
|
+
*
|
|
7
|
+
* IMPORTANT: Do not import from this root entry point in your code.
|
|
8
|
+
* Instead, use specific subpath imports for better tree-shaking and performance:
|
|
9
|
+
*
|
|
10
|
+
* ❌ Don't do this:
|
|
11
|
+
* import { BaseMessage } from "@langchain/core";
|
|
12
|
+
*
|
|
13
|
+
* ✅ Do this instead:
|
|
14
|
+
* import { BaseMessage } from "@langchain/core/messages";
|
|
15
|
+
* import { BaseChatModel } from "@langchain/core/language_models/chat_models";
|
|
16
|
+
*
|
|
17
|
+
* This approach ensures optimal bundle size and follows the intended usage pattern
|
|
18
|
+
* of this package.
|
|
19
|
+
*/
|
|
20
|
+
export {};
|
package/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/index.cjs');
|
package/index.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/index.js'
|
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/index.js'
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/index.js'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.73",
|
|
4
4
|
"description": "Core LangChain.js abstractions and schemas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -89,6 +89,15 @@
|
|
|
89
89
|
"vectorstores"
|
|
90
90
|
],
|
|
91
91
|
"exports": {
|
|
92
|
+
".": {
|
|
93
|
+
"types": {
|
|
94
|
+
"import": "./index.d.ts",
|
|
95
|
+
"require": "./index.d.cts",
|
|
96
|
+
"default": "./index.d.ts"
|
|
97
|
+
},
|
|
98
|
+
"import": "./index.js",
|
|
99
|
+
"require": "./index.cjs"
|
|
100
|
+
},
|
|
92
101
|
"./agents": {
|
|
93
102
|
"types": {
|
|
94
103
|
"import": "./agents.d.ts",
|
|
@@ -651,6 +660,10 @@
|
|
|
651
660
|
},
|
|
652
661
|
"files": [
|
|
653
662
|
"dist/",
|
|
663
|
+
"index.cjs",
|
|
664
|
+
"index.js",
|
|
665
|
+
"index.d.ts",
|
|
666
|
+
"index.d.cts",
|
|
654
667
|
"agents.cjs",
|
|
655
668
|
"agents.js",
|
|
656
669
|
"agents.d.ts",
|