agent-swarm-kit 1.0.135 → 1.0.136
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/package.json +1 -1
- package/types.d.ts +1 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -4455,7 +4455,7 @@ declare const addSwarm: (swarmSchema: ISwarmSchema) => string;
|
|
|
4455
4455
|
* @param {IAgentTool} toolSchema - The schema of the tool to be added.
|
|
4456
4456
|
* @returns {string} The name of the tool that was added.
|
|
4457
4457
|
*/
|
|
4458
|
-
declare const addTool: <T extends any = ToolValue
|
|
4458
|
+
declare const addTool: <T extends any = Record<string, ToolValue>>(storageSchema: IAgentTool<T>) => string;
|
|
4459
4459
|
|
|
4460
4460
|
/**
|
|
4461
4461
|
* Adds a new state to the state registry. The swarm takes only those states which was registered
|