@axiom-lattice/core 2.0.4 → 2.1.0
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1442 -1411
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1452 -1424
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -10
package/dist/index.d.mts
CHANGED
|
@@ -12,6 +12,7 @@ export { AgentConfig, AgentType, GraphBuildOptions, MemoryType } from '@axiom-la
|
|
|
12
12
|
import * as _langchain_core_tools from '@langchain/core/tools';
|
|
13
13
|
import { StructuredTool } from '@langchain/core/tools';
|
|
14
14
|
import { CompiledStateGraph } from '@langchain/langgraph';
|
|
15
|
+
import { ReactAgent } from 'langchain';
|
|
15
16
|
import { BaseCheckpointSaver } from '@langchain/langgraph-checkpoint';
|
|
16
17
|
import { ReplaySubject } from 'rxjs';
|
|
17
18
|
|
|
@@ -296,7 +297,7 @@ declare const validateToolInput: (key: string, input: any) => boolean;
|
|
|
296
297
|
* 包含Agent Lattice相关的所有类型定义,供其他模块共享使用
|
|
297
298
|
*/
|
|
298
299
|
|
|
299
|
-
type AgentClient = CompiledStateGraph<any, any, any, any, any>;
|
|
300
|
+
type AgentClient = CompiledStateGraph<any, any, any, any, any> | ReactAgent<any, any, any, any>;
|
|
300
301
|
interface AgentLattice {
|
|
301
302
|
config: AgentConfig;
|
|
302
303
|
client?: AgentClient | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { AgentConfig, AgentType, GraphBuildOptions, MemoryType } from '@axiom-la
|
|
|
12
12
|
import * as _langchain_core_tools from '@langchain/core/tools';
|
|
13
13
|
import { StructuredTool } from '@langchain/core/tools';
|
|
14
14
|
import { CompiledStateGraph } from '@langchain/langgraph';
|
|
15
|
+
import { ReactAgent } from 'langchain';
|
|
15
16
|
import { BaseCheckpointSaver } from '@langchain/langgraph-checkpoint';
|
|
16
17
|
import { ReplaySubject } from 'rxjs';
|
|
17
18
|
|
|
@@ -296,7 +297,7 @@ declare const validateToolInput: (key: string, input: any) => boolean;
|
|
|
296
297
|
* 包含Agent Lattice相关的所有类型定义,供其他模块共享使用
|
|
297
298
|
*/
|
|
298
299
|
|
|
299
|
-
type AgentClient = CompiledStateGraph<any, any, any, any, any>;
|
|
300
|
+
type AgentClient = CompiledStateGraph<any, any, any, any, any> | ReactAgent<any, any, any, any>;
|
|
300
301
|
interface AgentLattice {
|
|
301
302
|
config: AgentConfig;
|
|
302
303
|
client?: AgentClient | undefined;
|