@axiom-lattice/core 2.0.1 → 2.0.3
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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +511 -237
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +493 -203
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -299,7 +299,7 @@ declare const validateToolInput: (key: string, input: any) => boolean;
|
|
|
299
299
|
type AgentClient = CompiledStateGraph<any, any, any, any, any>;
|
|
300
300
|
interface AgentLattice {
|
|
301
301
|
config: AgentConfig;
|
|
302
|
-
client
|
|
302
|
+
client?: AgentClient | undefined;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
/**
|
|
@@ -363,6 +363,14 @@ declare class AgentLatticeManager extends BaseLatticeManager<AgentLattice> {
|
|
|
363
363
|
* @returns 返回Agent构建参数
|
|
364
364
|
*/
|
|
365
365
|
private buildAgentParams;
|
|
366
|
+
/**
|
|
367
|
+
* Create an AgentClient from AgentLattice config
|
|
368
|
+
*
|
|
369
|
+
* @param agentLattice Agent Lattice object
|
|
370
|
+
* @param options Build options
|
|
371
|
+
* @returns AgentClient instance
|
|
372
|
+
*/
|
|
373
|
+
createAgentClientFromConfig(agentLattice: AgentLattice, options?: GraphBuildOptions): AgentClient;
|
|
366
374
|
/**
|
|
367
375
|
* 初始化Agent客户端
|
|
368
376
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -299,7 +299,7 @@ declare const validateToolInput: (key: string, input: any) => boolean;
|
|
|
299
299
|
type AgentClient = CompiledStateGraph<any, any, any, any, any>;
|
|
300
300
|
interface AgentLattice {
|
|
301
301
|
config: AgentConfig;
|
|
302
|
-
client
|
|
302
|
+
client?: AgentClient | undefined;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
/**
|
|
@@ -363,6 +363,14 @@ declare class AgentLatticeManager extends BaseLatticeManager<AgentLattice> {
|
|
|
363
363
|
* @returns 返回Agent构建参数
|
|
364
364
|
*/
|
|
365
365
|
private buildAgentParams;
|
|
366
|
+
/**
|
|
367
|
+
* Create an AgentClient from AgentLattice config
|
|
368
|
+
*
|
|
369
|
+
* @param agentLattice Agent Lattice object
|
|
370
|
+
* @param options Build options
|
|
371
|
+
* @returns AgentClient instance
|
|
372
|
+
*/
|
|
373
|
+
createAgentClientFromConfig(agentLattice: AgentLattice, options?: GraphBuildOptions): AgentClient;
|
|
366
374
|
/**
|
|
367
375
|
* 初始化Agent客户端
|
|
368
376
|
*
|