agent-swarm-kit 1.0.10 → 1.0.11
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 +9 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -35,6 +35,14 @@ interface IHistorySchema {
|
|
|
35
35
|
items: IPubsubArray<IModelMessage>;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
interface IToolCall {
|
|
39
|
+
function: {
|
|
40
|
+
name: string;
|
|
41
|
+
arguments: {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}
|
|
38
46
|
interface ITool {
|
|
39
47
|
type: string;
|
|
40
48
|
function: {
|
|
@@ -480,4 +488,4 @@ declare const GLOBAL_CONFIG: {
|
|
|
480
488
|
};
|
|
481
489
|
declare const setConfig: (config: typeof GLOBAL_CONFIG) => void;
|
|
482
490
|
|
|
483
|
-
export { ContextService, type IAgentSchema, type IAgentTool, type ICompletionSchema, type ISwarmSchema, type ReceiveMessageFn, type SendMessageFn$1 as SendMessageFn, addAgent, addCompletion, addSwarm, addTool, changeAgent, commitSystemMessage, commitToolOutput, complete, disposeConnection, execute, getAgentHistory, getRawHistory, makeConnection, session, setConfig, swarm };
|
|
491
|
+
export { ContextService, type IAgentSchema, type IAgentTool, type ICompletionSchema, type IIncomingMessage, type IModelMessage, type IOutgoingMessage, type ISwarmSchema, type ITool, type IToolCall, type ReceiveMessageFn, type SendMessageFn$1 as SendMessageFn, addAgent, addCompletion, addSwarm, addTool, changeAgent, commitSystemMessage, commitToolOutput, complete, disposeConnection, execute, getAgentHistory, getRawHistory, makeConnection, session, setConfig, swarm };
|