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