@deepagents/experimental 5.0.0 → 6.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/README.md +30 -11
- package/dist/index.js +1453 -459
- package/dist/index.js.map +4 -4
- package/dist/zukhruf/agent.d.ts +9 -4
- package/dist/zukhruf/agent.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/agent-tool-context.d.ts +6 -0
- package/dist/zukhruf/collaboration/agent-tool-context.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/collaboration-tools.d.ts +4 -0
- package/dist/zukhruf/collaboration/collaboration-tools.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/interrupt-agent.d.ts +234 -0
- package/dist/zukhruf/collaboration/interrupt-agent.d.ts.map +1 -0
- package/dist/zukhruf/{list-agents.d.ts → collaboration/list-agents.d.ts} +1 -1
- package/dist/zukhruf/collaboration/list-agents.d.ts.map +1 -0
- package/dist/zukhruf/{message-tools.d.ts → collaboration/message-tools.d.ts} +84 -88
- package/dist/zukhruf/collaboration/message-tools.d.ts.map +1 -0
- package/dist/zukhruf/{spawn-agent.d.ts → collaboration/spawn-agent.d.ts} +55 -43
- package/dist/zukhruf/collaboration/spawn-agent.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/wait-agent.d.ts +253 -0
- package/dist/zukhruf/collaboration/wait-agent.d.ts.map +1 -0
- package/dist/zukhruf/{agent-control-plane.d.ts → control-plane/agent-control-plane.d.ts} +17 -5
- package/dist/zukhruf/control-plane/agent-control-plane.d.ts.map +1 -0
- package/dist/zukhruf/{agent-declaration-registry.d.ts → control-plane/agent-declaration-registry.d.ts} +1 -1
- package/dist/zukhruf/control-plane/agent-declaration-registry.d.ts.map +1 -0
- package/dist/zukhruf/{agent-directory.d.ts → control-plane/agent-directory.d.ts} +2 -1
- package/dist/zukhruf/control-plane/agent-directory.d.ts.map +1 -0
- package/dist/zukhruf/control-plane/agent-history-forker.d.ts +10 -0
- package/dist/zukhruf/control-plane/agent-history-forker.d.ts.map +1 -0
- package/dist/zukhruf/control-plane/agent-path.d.ts.map +1 -0
- package/dist/zukhruf/control-plane/agent-status-projector.d.ts +50 -0
- package/dist/zukhruf/control-plane/agent-status-projector.d.ts.map +1 -0
- package/dist/zukhruf/{agent-thread.d.ts → control-plane/agent-thread.d.ts} +1 -1
- package/dist/zukhruf/control-plane/agent-thread.d.ts.map +1 -0
- package/dist/zukhruf/{agent-turn-id.d.ts → control-plane/agent-turn-id.d.ts} +2 -1
- package/dist/zukhruf/control-plane/agent-turn-id.d.ts.map +1 -0
- package/dist/zukhruf/control-plane/fork-turns.d.ts +4 -0
- package/dist/zukhruf/control-plane/fork-turns.d.ts.map +1 -0
- package/dist/zukhruf/index.d.ts +6 -6
- package/dist/zukhruf/index.d.ts.map +1 -1
- package/dist/zukhruf/index.js +1453 -459
- package/dist/zukhruf/index.js.map +4 -4
- package/dist/zukhruf/mailbox/coordinator.d.ts +4 -0
- package/dist/zukhruf/mailbox/coordinator.d.ts.map +1 -1
- package/dist/zukhruf/multi-agent-v2-config.d.ts +32 -0
- package/dist/zukhruf/multi-agent-v2-config.d.ts.map +1 -0
- package/dist/zukhruf/queue/pg-boss.turn-queue.d.ts +16 -4
- package/dist/zukhruf/queue/pg-boss.turn-queue.d.ts.map +1 -1
- package/dist/zukhruf/queue/turn-queue.d.ts +35 -6
- package/dist/zukhruf/queue/turn-queue.d.ts.map +1 -1
- package/dist/zukhruf/render-turn.d.ts +9 -0
- package/dist/zukhruf/render-turn.d.ts.map +1 -0
- package/dist/zukhruf/{agent-runtime.d.ts → runtime/agent-runtime.d.ts} +24 -13
- package/dist/zukhruf/runtime/agent-runtime.d.ts.map +1 -0
- package/dist/zukhruf/runtime/agent-skills.d.ts +9 -0
- package/dist/zukhruf/runtime/agent-skills.d.ts.map +1 -0
- package/dist/zukhruf/{agent-turn-executor.d.ts → runtime/agent-turn-executor.d.ts} +5 -3
- package/dist/zukhruf/runtime/agent-turn-executor.d.ts.map +1 -0
- package/dist/zukhruf/{approval-controller.d.ts → runtime/approval-controller.d.ts} +19 -8
- package/dist/zukhruf/runtime/approval-controller.d.ts.map +1 -0
- package/dist/zukhruf/runtime/approval-job-id.d.ts +3 -0
- package/dist/zukhruf/runtime/approval-job-id.d.ts.map +1 -0
- package/dist/zukhruf/sandbox/define.d.ts +4 -3
- package/dist/zukhruf/sandbox/define.d.ts.map +1 -1
- package/dist/zukhruf/tool.d.ts +18 -6
- package/dist/zukhruf/tool.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/zukhruf/agent-control-plane.d.ts.map +0 -1
- package/dist/zukhruf/agent-declaration-registry.d.ts.map +0 -1
- package/dist/zukhruf/agent-directory.d.ts.map +0 -1
- package/dist/zukhruf/agent-path.d.ts.map +0 -1
- package/dist/zukhruf/agent-runtime.d.ts.map +0 -1
- package/dist/zukhruf/agent-status-projector.d.ts +0 -32
- package/dist/zukhruf/agent-status-projector.d.ts.map +0 -1
- package/dist/zukhruf/agent-thread.d.ts.map +0 -1
- package/dist/zukhruf/agent-tool-context.d.ts +0 -6
- package/dist/zukhruf/agent-tool-context.d.ts.map +0 -1
- package/dist/zukhruf/agent-turn-executor.d.ts.map +0 -1
- package/dist/zukhruf/agent-turn-id.d.ts.map +0 -1
- package/dist/zukhruf/approval-controller.d.ts.map +0 -1
- package/dist/zukhruf/approval-mutex.d.ts +0 -5
- package/dist/zukhruf/approval-mutex.d.ts.map +0 -1
- package/dist/zukhruf/list-agents.d.ts.map +0 -1
- package/dist/zukhruf/message-tools.d.ts.map +0 -1
- package/dist/zukhruf/spawn-agent.d.ts.map +0 -1
- package/dist/zukhruf/sqlite-approval-mutex.d.ts +0 -17
- package/dist/zukhruf/sqlite-approval-mutex.d.ts.map +0 -1
- /package/dist/zukhruf/{agent-path.d.ts → control-plane/agent-path.d.ts} +0 -0
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import type { AgentToolContext } from './agent-tool-context.ts';
|
|
2
|
-
type AgentMessageOutput = {
|
|
3
|
-
target: string;
|
|
4
|
-
};
|
|
5
2
|
export declare const sendMessageTool: ({
|
|
6
3
|
title?: string;
|
|
7
4
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
8
5
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9
6
|
inputSchema: import("ai").FlexibleSchema<{
|
|
10
|
-
message: string;
|
|
11
7
|
target: string;
|
|
8
|
+
message: string;
|
|
12
9
|
}>;
|
|
13
10
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
14
11
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
15
|
-
message: string;
|
|
16
12
|
target: string;
|
|
13
|
+
message: string;
|
|
17
14
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
18
15
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
19
16
|
onInputDelta?: ((options: {
|
|
@@ -21,24 +18,24 @@ export declare const sendMessageTool: ({
|
|
|
21
18
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
22
19
|
onInputAvailable?: ((options: {
|
|
23
20
|
input: {
|
|
24
|
-
message: string;
|
|
25
21
|
target: string;
|
|
22
|
+
message: string;
|
|
26
23
|
};
|
|
27
24
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
28
25
|
toModelOutput?: ((options: {
|
|
29
26
|
toolCallId: string;
|
|
30
27
|
input: {
|
|
31
|
-
message: string;
|
|
32
28
|
target: string;
|
|
29
|
+
message: string;
|
|
33
30
|
};
|
|
34
|
-
output:
|
|
31
|
+
output: string;
|
|
35
32
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
36
33
|
} & {
|
|
37
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
34
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
38
35
|
execute: import("ai").ToolExecuteFunction<{
|
|
39
|
-
message: string;
|
|
40
36
|
target: string;
|
|
41
|
-
|
|
37
|
+
message: string;
|
|
38
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
42
39
|
} & {
|
|
43
40
|
description?: string | ((options: {
|
|
44
41
|
context: NoInfer<AgentToolContext>;
|
|
@@ -47,8 +44,8 @@ export declare const sendMessageTool: ({
|
|
|
47
44
|
strict?: boolean;
|
|
48
45
|
inputExamples?: {
|
|
49
46
|
input: NoInfer<{
|
|
50
|
-
message: string;
|
|
51
47
|
target: string;
|
|
48
|
+
message: string;
|
|
52
49
|
}>;
|
|
53
50
|
}[] | undefined;
|
|
54
51
|
id?: never;
|
|
@@ -59,21 +56,21 @@ export declare const sendMessageTool: ({
|
|
|
59
56
|
type?: undefined | "function";
|
|
60
57
|
} & {
|
|
61
58
|
execute: import("ai").ToolExecuteFunction<{
|
|
62
|
-
message: string;
|
|
63
59
|
target: string;
|
|
64
|
-
|
|
60
|
+
message: string;
|
|
61
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
65
62
|
}) | ({
|
|
66
63
|
title?: string;
|
|
67
64
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
68
65
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
69
66
|
inputSchema: import("ai").FlexibleSchema<{
|
|
70
|
-
message: string;
|
|
71
67
|
target: string;
|
|
68
|
+
message: string;
|
|
72
69
|
}>;
|
|
73
70
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
74
71
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
75
|
-
message: string;
|
|
76
72
|
target: string;
|
|
73
|
+
message: string;
|
|
77
74
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
78
75
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
79
76
|
onInputDelta?: ((options: {
|
|
@@ -81,24 +78,24 @@ export declare const sendMessageTool: ({
|
|
|
81
78
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
82
79
|
onInputAvailable?: ((options: {
|
|
83
80
|
input: {
|
|
84
|
-
message: string;
|
|
85
81
|
target: string;
|
|
82
|
+
message: string;
|
|
86
83
|
};
|
|
87
84
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
88
85
|
toModelOutput?: ((options: {
|
|
89
86
|
toolCallId: string;
|
|
90
87
|
input: {
|
|
91
|
-
message: string;
|
|
92
88
|
target: string;
|
|
89
|
+
message: string;
|
|
93
90
|
};
|
|
94
|
-
output:
|
|
91
|
+
output: string;
|
|
95
92
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
96
93
|
} & {
|
|
97
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
94
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
98
95
|
execute: import("ai").ToolExecuteFunction<{
|
|
99
|
-
message: string;
|
|
100
96
|
target: string;
|
|
101
|
-
|
|
97
|
+
message: string;
|
|
98
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
102
99
|
} & {
|
|
103
100
|
description?: string | ((options: {
|
|
104
101
|
context: NoInfer<AgentToolContext>;
|
|
@@ -107,8 +104,8 @@ export declare const sendMessageTool: ({
|
|
|
107
104
|
strict?: boolean;
|
|
108
105
|
inputExamples?: {
|
|
109
106
|
input: NoInfer<{
|
|
110
|
-
message: string;
|
|
111
107
|
target: string;
|
|
108
|
+
message: string;
|
|
112
109
|
}>;
|
|
113
110
|
}[] | undefined;
|
|
114
111
|
id?: never;
|
|
@@ -119,21 +116,21 @@ export declare const sendMessageTool: ({
|
|
|
119
116
|
type: "dynamic";
|
|
120
117
|
} & {
|
|
121
118
|
execute: import("ai").ToolExecuteFunction<{
|
|
122
|
-
message: string;
|
|
123
119
|
target: string;
|
|
124
|
-
|
|
120
|
+
message: string;
|
|
121
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
125
122
|
}) | ({
|
|
126
123
|
title?: string;
|
|
127
124
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
128
125
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
129
126
|
inputSchema: import("ai").FlexibleSchema<{
|
|
130
|
-
message: string;
|
|
131
127
|
target: string;
|
|
128
|
+
message: string;
|
|
132
129
|
}>;
|
|
133
130
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
134
131
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
135
|
-
message: string;
|
|
136
132
|
target: string;
|
|
133
|
+
message: string;
|
|
137
134
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
138
135
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
139
136
|
onInputDelta?: ((options: {
|
|
@@ -141,24 +138,24 @@ export declare const sendMessageTool: ({
|
|
|
141
138
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
142
139
|
onInputAvailable?: ((options: {
|
|
143
140
|
input: {
|
|
144
|
-
message: string;
|
|
145
141
|
target: string;
|
|
142
|
+
message: string;
|
|
146
143
|
};
|
|
147
144
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
148
145
|
toModelOutput?: ((options: {
|
|
149
146
|
toolCallId: string;
|
|
150
147
|
input: {
|
|
151
|
-
message: string;
|
|
152
148
|
target: string;
|
|
149
|
+
message: string;
|
|
153
150
|
};
|
|
154
|
-
output:
|
|
151
|
+
output: string;
|
|
155
152
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
156
153
|
} & {
|
|
157
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
154
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
158
155
|
execute: import("ai").ToolExecuteFunction<{
|
|
159
|
-
message: string;
|
|
160
156
|
target: string;
|
|
161
|
-
|
|
157
|
+
message: string;
|
|
158
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
162
159
|
} & {
|
|
163
160
|
type: "provider";
|
|
164
161
|
id: `${string}.${string}`;
|
|
@@ -171,21 +168,21 @@ export declare const sendMessageTool: ({
|
|
|
171
168
|
supportsDeferredResults?: never;
|
|
172
169
|
} & {
|
|
173
170
|
execute: import("ai").ToolExecuteFunction<{
|
|
174
|
-
message: string;
|
|
175
171
|
target: string;
|
|
176
|
-
|
|
172
|
+
message: string;
|
|
173
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
177
174
|
}) | ({
|
|
178
175
|
title?: string;
|
|
179
176
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
180
177
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
181
178
|
inputSchema: import("ai").FlexibleSchema<{
|
|
182
|
-
message: string;
|
|
183
179
|
target: string;
|
|
180
|
+
message: string;
|
|
184
181
|
}>;
|
|
185
182
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
186
183
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
187
|
-
message: string;
|
|
188
184
|
target: string;
|
|
185
|
+
message: string;
|
|
189
186
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
190
187
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
191
188
|
onInputDelta?: ((options: {
|
|
@@ -193,24 +190,24 @@ export declare const sendMessageTool: ({
|
|
|
193
190
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
194
191
|
onInputAvailable?: ((options: {
|
|
195
192
|
input: {
|
|
196
|
-
message: string;
|
|
197
193
|
target: string;
|
|
194
|
+
message: string;
|
|
198
195
|
};
|
|
199
196
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
200
197
|
toModelOutput?: ((options: {
|
|
201
198
|
toolCallId: string;
|
|
202
199
|
input: {
|
|
203
|
-
message: string;
|
|
204
200
|
target: string;
|
|
201
|
+
message: string;
|
|
205
202
|
};
|
|
206
|
-
output:
|
|
203
|
+
output: string;
|
|
207
204
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
208
205
|
} & {
|
|
209
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
206
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
210
207
|
execute: import("ai").ToolExecuteFunction<{
|
|
211
|
-
message: string;
|
|
212
208
|
target: string;
|
|
213
|
-
|
|
209
|
+
message: string;
|
|
210
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
214
211
|
} & {
|
|
215
212
|
type: "provider";
|
|
216
213
|
id: `${string}.${string}`;
|
|
@@ -223,22 +220,22 @@ export declare const sendMessageTool: ({
|
|
|
223
220
|
supportsDeferredResults?: boolean;
|
|
224
221
|
} & {
|
|
225
222
|
execute: import("ai").ToolExecuteFunction<{
|
|
226
|
-
message: string;
|
|
227
223
|
target: string;
|
|
228
|
-
|
|
224
|
+
message: string;
|
|
225
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
229
226
|
});
|
|
230
227
|
export declare const followupTaskTool: ({
|
|
231
228
|
title?: string;
|
|
232
229
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
233
230
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
234
231
|
inputSchema: import("ai").FlexibleSchema<{
|
|
235
|
-
message: string;
|
|
236
232
|
target: string;
|
|
233
|
+
message: string;
|
|
237
234
|
}>;
|
|
238
235
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
239
236
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
240
|
-
message: string;
|
|
241
237
|
target: string;
|
|
238
|
+
message: string;
|
|
242
239
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
243
240
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
244
241
|
onInputDelta?: ((options: {
|
|
@@ -246,24 +243,24 @@ export declare const followupTaskTool: ({
|
|
|
246
243
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
247
244
|
onInputAvailable?: ((options: {
|
|
248
245
|
input: {
|
|
249
|
-
message: string;
|
|
250
246
|
target: string;
|
|
247
|
+
message: string;
|
|
251
248
|
};
|
|
252
249
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
253
250
|
toModelOutput?: ((options: {
|
|
254
251
|
toolCallId: string;
|
|
255
252
|
input: {
|
|
256
|
-
message: string;
|
|
257
253
|
target: string;
|
|
254
|
+
message: string;
|
|
258
255
|
};
|
|
259
|
-
output:
|
|
256
|
+
output: string;
|
|
260
257
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
261
258
|
} & {
|
|
262
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
259
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
263
260
|
execute: import("ai").ToolExecuteFunction<{
|
|
264
|
-
message: string;
|
|
265
261
|
target: string;
|
|
266
|
-
|
|
262
|
+
message: string;
|
|
263
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
267
264
|
} & {
|
|
268
265
|
description?: string | ((options: {
|
|
269
266
|
context: NoInfer<AgentToolContext>;
|
|
@@ -272,8 +269,8 @@ export declare const followupTaskTool: ({
|
|
|
272
269
|
strict?: boolean;
|
|
273
270
|
inputExamples?: {
|
|
274
271
|
input: NoInfer<{
|
|
275
|
-
message: string;
|
|
276
272
|
target: string;
|
|
273
|
+
message: string;
|
|
277
274
|
}>;
|
|
278
275
|
}[] | undefined;
|
|
279
276
|
id?: never;
|
|
@@ -284,21 +281,21 @@ export declare const followupTaskTool: ({
|
|
|
284
281
|
type?: undefined | "function";
|
|
285
282
|
} & {
|
|
286
283
|
execute: import("ai").ToolExecuteFunction<{
|
|
287
|
-
message: string;
|
|
288
284
|
target: string;
|
|
289
|
-
|
|
285
|
+
message: string;
|
|
286
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
290
287
|
}) | ({
|
|
291
288
|
title?: string;
|
|
292
289
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
293
290
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
294
291
|
inputSchema: import("ai").FlexibleSchema<{
|
|
295
|
-
message: string;
|
|
296
292
|
target: string;
|
|
293
|
+
message: string;
|
|
297
294
|
}>;
|
|
298
295
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
299
296
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
300
|
-
message: string;
|
|
301
297
|
target: string;
|
|
298
|
+
message: string;
|
|
302
299
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
303
300
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
304
301
|
onInputDelta?: ((options: {
|
|
@@ -306,24 +303,24 @@ export declare const followupTaskTool: ({
|
|
|
306
303
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
307
304
|
onInputAvailable?: ((options: {
|
|
308
305
|
input: {
|
|
309
|
-
message: string;
|
|
310
306
|
target: string;
|
|
307
|
+
message: string;
|
|
311
308
|
};
|
|
312
309
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
313
310
|
toModelOutput?: ((options: {
|
|
314
311
|
toolCallId: string;
|
|
315
312
|
input: {
|
|
316
|
-
message: string;
|
|
317
313
|
target: string;
|
|
314
|
+
message: string;
|
|
318
315
|
};
|
|
319
|
-
output:
|
|
316
|
+
output: string;
|
|
320
317
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
321
318
|
} & {
|
|
322
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
319
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
323
320
|
execute: import("ai").ToolExecuteFunction<{
|
|
324
|
-
message: string;
|
|
325
321
|
target: string;
|
|
326
|
-
|
|
322
|
+
message: string;
|
|
323
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
327
324
|
} & {
|
|
328
325
|
description?: string | ((options: {
|
|
329
326
|
context: NoInfer<AgentToolContext>;
|
|
@@ -332,8 +329,8 @@ export declare const followupTaskTool: ({
|
|
|
332
329
|
strict?: boolean;
|
|
333
330
|
inputExamples?: {
|
|
334
331
|
input: NoInfer<{
|
|
335
|
-
message: string;
|
|
336
332
|
target: string;
|
|
333
|
+
message: string;
|
|
337
334
|
}>;
|
|
338
335
|
}[] | undefined;
|
|
339
336
|
id?: never;
|
|
@@ -344,21 +341,21 @@ export declare const followupTaskTool: ({
|
|
|
344
341
|
type: "dynamic";
|
|
345
342
|
} & {
|
|
346
343
|
execute: import("ai").ToolExecuteFunction<{
|
|
347
|
-
message: string;
|
|
348
344
|
target: string;
|
|
349
|
-
|
|
345
|
+
message: string;
|
|
346
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
350
347
|
}) | ({
|
|
351
348
|
title?: string;
|
|
352
349
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
353
350
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
354
351
|
inputSchema: import("ai").FlexibleSchema<{
|
|
355
|
-
message: string;
|
|
356
352
|
target: string;
|
|
353
|
+
message: string;
|
|
357
354
|
}>;
|
|
358
355
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
359
356
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
360
|
-
message: string;
|
|
361
357
|
target: string;
|
|
358
|
+
message: string;
|
|
362
359
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
363
360
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
364
361
|
onInputDelta?: ((options: {
|
|
@@ -366,24 +363,24 @@ export declare const followupTaskTool: ({
|
|
|
366
363
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
367
364
|
onInputAvailable?: ((options: {
|
|
368
365
|
input: {
|
|
369
|
-
message: string;
|
|
370
366
|
target: string;
|
|
367
|
+
message: string;
|
|
371
368
|
};
|
|
372
369
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
373
370
|
toModelOutput?: ((options: {
|
|
374
371
|
toolCallId: string;
|
|
375
372
|
input: {
|
|
376
|
-
message: string;
|
|
377
373
|
target: string;
|
|
374
|
+
message: string;
|
|
378
375
|
};
|
|
379
|
-
output:
|
|
376
|
+
output: string;
|
|
380
377
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
381
378
|
} & {
|
|
382
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
379
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
383
380
|
execute: import("ai").ToolExecuteFunction<{
|
|
384
|
-
message: string;
|
|
385
381
|
target: string;
|
|
386
|
-
|
|
382
|
+
message: string;
|
|
383
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
387
384
|
} & {
|
|
388
385
|
type: "provider";
|
|
389
386
|
id: `${string}.${string}`;
|
|
@@ -396,21 +393,21 @@ export declare const followupTaskTool: ({
|
|
|
396
393
|
supportsDeferredResults?: never;
|
|
397
394
|
} & {
|
|
398
395
|
execute: import("ai").ToolExecuteFunction<{
|
|
399
|
-
message: string;
|
|
400
396
|
target: string;
|
|
401
|
-
|
|
397
|
+
message: string;
|
|
398
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
402
399
|
}) | ({
|
|
403
400
|
title?: string;
|
|
404
401
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
405
402
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
406
403
|
inputSchema: import("ai").FlexibleSchema<{
|
|
407
|
-
message: string;
|
|
408
404
|
target: string;
|
|
405
|
+
message: string;
|
|
409
406
|
}>;
|
|
410
407
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
411
408
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
412
|
-
message: string;
|
|
413
409
|
target: string;
|
|
410
|
+
message: string;
|
|
414
411
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
415
412
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
416
413
|
onInputDelta?: ((options: {
|
|
@@ -418,24 +415,24 @@ export declare const followupTaskTool: ({
|
|
|
418
415
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
419
416
|
onInputAvailable?: ((options: {
|
|
420
417
|
input: {
|
|
421
|
-
message: string;
|
|
422
418
|
target: string;
|
|
419
|
+
message: string;
|
|
423
420
|
};
|
|
424
421
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
425
422
|
toModelOutput?: ((options: {
|
|
426
423
|
toolCallId: string;
|
|
427
424
|
input: {
|
|
428
|
-
message: string;
|
|
429
425
|
target: string;
|
|
426
|
+
message: string;
|
|
430
427
|
};
|
|
431
|
-
output:
|
|
428
|
+
output: string;
|
|
432
429
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
433
430
|
} & {
|
|
434
|
-
outputSchema?: import("ai").FlexibleSchema<
|
|
431
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
435
432
|
execute: import("ai").ToolExecuteFunction<{
|
|
436
|
-
message: string;
|
|
437
433
|
target: string;
|
|
438
|
-
|
|
434
|
+
message: string;
|
|
435
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
439
436
|
} & {
|
|
440
437
|
type: "provider";
|
|
441
438
|
id: `${string}.${string}`;
|
|
@@ -448,9 +445,8 @@ export declare const followupTaskTool: ({
|
|
|
448
445
|
supportsDeferredResults?: boolean;
|
|
449
446
|
} & {
|
|
450
447
|
execute: import("ai").ToolExecuteFunction<{
|
|
451
|
-
message: string;
|
|
452
448
|
target: string;
|
|
453
|
-
|
|
449
|
+
message: string;
|
|
450
|
+
}, string, NoInfer<AgentToolContext>>;
|
|
454
451
|
});
|
|
455
|
-
export {};
|
|
456
452
|
//# sourceMappingURL=message-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-tools.d.ts","sourceRoot":"","sources":["../../../src/zukhruf/collaboration/message-tools.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAgBhE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY3B,CAAC"}
|