@deepagents/experimental 7.10.0 → 7.10.2

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 (65) hide show
  1. package/README.md +16 -4
  2. package/dist/index.js +878 -666
  3. package/dist/index.js.map +4 -4
  4. package/dist/zukhruf/collaboration/capability.d.ts +22 -0
  5. package/dist/zukhruf/collaboration/capability.d.ts.map +1 -0
  6. package/dist/zukhruf/collaboration/code-mode-tools.d.ts +13 -0
  7. package/dist/zukhruf/collaboration/code-mode-tools.d.ts.map +1 -0
  8. package/dist/zukhruf/collaboration/direct-messaging.d.ts +466 -0
  9. package/dist/zukhruf/collaboration/direct-messaging.d.ts.map +1 -0
  10. package/dist/zukhruf/collaboration/direct-tools.d.ts +14 -0
  11. package/dist/zukhruf/collaboration/direct-tools.d.ts.map +1 -0
  12. package/dist/zukhruf/collaboration/spawn-agent.d.ts +26 -26
  13. package/dist/zukhruf/collaboration/spawning.d.ts +325 -0
  14. package/dist/zukhruf/collaboration/spawning.d.ts.map +1 -0
  15. package/dist/zukhruf/collaboration/supervision.d.ts +478 -0
  16. package/dist/zukhruf/collaboration/supervision.d.ts.map +1 -0
  17. package/dist/zukhruf/collaboration/team.d.ts +1549 -0
  18. package/dist/zukhruf/collaboration/team.d.ts.map +1 -0
  19. package/dist/zukhruf/collaboration/tool-exposure.d.ts +29 -0
  20. package/dist/zukhruf/collaboration/tool-exposure.d.ts.map +1 -0
  21. package/dist/zukhruf/collaboration/tool-namespace.d.ts +7 -0
  22. package/dist/zukhruf/collaboration/tool-namespace.d.ts.map +1 -0
  23. package/dist/zukhruf/collaboration/wait-bounds.d.ts +12 -0
  24. package/dist/zukhruf/collaboration/wait-bounds.d.ts.map +1 -0
  25. package/dist/zukhruf/collaboration/waiting.d.ts +262 -0
  26. package/dist/zukhruf/collaboration/waiting.d.ts.map +1 -0
  27. package/dist/zukhruf/control-plane/agent-history-forker.d.ts.map +1 -1
  28. package/dist/zukhruf/control-plane/fork-turns.d.ts +4 -3
  29. package/dist/zukhruf/control-plane/fork-turns.d.ts.map +1 -1
  30. package/dist/zukhruf/index.d.ts +11 -1
  31. package/dist/zukhruf/index.d.ts.map +1 -1
  32. package/dist/zukhruf/index.js +861 -649
  33. package/dist/zukhruf/index.js.map +4 -4
  34. package/dist/zukhruf/plugins/conversation-scheduling/conversation-scheduler.d.ts +1 -1
  35. package/dist/zukhruf/plugins/conversation-scheduling/conversation-scheduler.d.ts.map +1 -1
  36. package/dist/zukhruf/plugins/conversation-scheduling/index.js +144 -140
  37. package/dist/zukhruf/plugins/conversation-scheduling/index.js.map +4 -4
  38. package/dist/zukhruf/plugins/conversation-scheduling/pg-boss.wake-scheduler.d.ts +1 -1
  39. package/dist/zukhruf/plugins/conversation-scheduling/pg-boss.wake-scheduler.d.ts.map +1 -1
  40. package/dist/zukhruf/plugins/conversation-scheduling/wake-scheduler.d.ts +1 -1
  41. package/dist/zukhruf/plugins/conversation-scheduling/wake-scheduler.d.ts.map +1 -1
  42. package/dist/zukhruf/plugins/schedules/index.js +143 -139
  43. package/dist/zukhruf/plugins/schedules/index.js.map +4 -4
  44. package/dist/zukhruf/plugins/schedules/scheduled-tasks.d.ts +1 -1
  45. package/dist/zukhruf/plugins/schedules/scheduled-tasks.d.ts.map +1 -1
  46. package/dist/zukhruf/plugins/uploads/http.js +2 -9
  47. package/dist/zukhruf/plugins/uploads/http.js.map +2 -2
  48. package/dist/zukhruf/queue/turn-queue.d.ts +2 -2
  49. package/dist/zukhruf/queue/turn-queue.d.ts.map +1 -1
  50. package/dist/zukhruf/runtime/agent-runtime.d.ts +5 -4
  51. package/dist/zukhruf/runtime/agent-runtime.d.ts.map +1 -1
  52. package/dist/zukhruf/runtime/agent-turn-executor.d.ts +3 -3
  53. package/dist/zukhruf/runtime/agent-turn-executor.d.ts.map +1 -1
  54. package/dist/zukhruf/runtime/approval-controller.d.ts +3 -3
  55. package/dist/zukhruf/runtime/approval-controller.d.ts.map +1 -1
  56. package/dist/zukhruf/runtime/conversation-sandboxes.d.ts +2 -1
  57. package/dist/zukhruf/runtime/conversation-sandboxes.d.ts.map +1 -1
  58. package/dist/zukhruf/runtime/conversation-status/projector.d.ts.map +1 -1
  59. package/dist/zukhruf/runtime/plugin/plugin-manager.d.ts +3 -5
  60. package/dist/zukhruf/runtime/plugin/plugin-manager.d.ts.map +1 -1
  61. package/package.json +5 -4
  62. package/dist/zukhruf/collaboration/collaboration-tools.d.ts +0 -1832
  63. package/dist/zukhruf/collaboration/collaboration-tools.d.ts.map +0 -1
  64. package/dist/zukhruf/multi-agent-config.d.ts +0 -37
  65. package/dist/zukhruf/multi-agent-config.d.ts.map +0 -1
@@ -1,1832 +0,0 @@
1
- import type { ResolvedMultiAgentHostConfig } from '../multi-agent-config.ts';
2
- export declare function createCollaborationTools(config: ResolvedMultiAgentHostConfig): {
3
- spawn_agent: ({
4
- deferLoading?: boolean;
5
- title?: string;
6
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
7
- metadata?: import("@ai-sdk/provider").JSONObject;
8
- inputSchema: import("ai").FlexibleSchema<{
9
- agent_type: string;
10
- task_name: string;
11
- message: string;
12
- fork_turns: string;
13
- }>;
14
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
15
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
16
- agent_type: string;
17
- task_name: string;
18
- message: string;
19
- fork_turns: string;
20
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
21
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
22
- onInputDelta?: ((options: {
23
- inputTextDelta: string;
24
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
25
- onInputAvailable?: ((options: {
26
- input: {
27
- agent_type: string;
28
- task_name: string;
29
- message: string;
30
- fork_turns: string;
31
- };
32
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
33
- toModelOutput?: ((options: {
34
- toolCallId: string;
35
- input: {
36
- agent_type: string;
37
- task_name: string;
38
- message: string;
39
- fork_turns: string;
40
- };
41
- output: NoInfer<{
42
- task_name: string;
43
- }>;
44
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
45
- } & {
46
- outputSchema?: import("ai").FlexibleSchema<{
47
- task_name: string;
48
- }> | undefined;
49
- execute: import("ai").ToolExecuteFunction<{
50
- agent_type: string;
51
- task_name: string;
52
- message: string;
53
- fork_turns: string;
54
- }, {
55
- task_name: string;
56
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
57
- } & {
58
- description?: string | ((options: {
59
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
60
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
61
- }) => string) | undefined;
62
- strict?: boolean;
63
- inputExamples?: {
64
- input: NoInfer<{
65
- agent_type: string;
66
- task_name: string;
67
- message: string;
68
- fork_turns: string;
69
- }>;
70
- }[] | undefined;
71
- id?: never;
72
- isProviderExecuted?: never;
73
- args?: never;
74
- supportsDeferredResults?: never;
75
- } & {
76
- type?: undefined | 'function';
77
- } & {
78
- execute: import("ai").ToolExecuteFunction<{
79
- agent_type: string;
80
- task_name: string;
81
- message: string;
82
- fork_turns: string;
83
- }, {
84
- task_name: string;
85
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
86
- } & {
87
- providerOptions: {
88
- openai?: {
89
- namespace: {
90
- name: string;
91
- description: string;
92
- };
93
- } | undefined;
94
- };
95
- metadata: {
96
- zukhruf: {
97
- kind: string;
98
- };
99
- };
100
- }) | ({
101
- deferLoading?: boolean;
102
- title?: string;
103
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
104
- metadata?: import("@ai-sdk/provider").JSONObject;
105
- inputSchema: import("ai").FlexibleSchema<{
106
- agent_type: string;
107
- task_name: string;
108
- message: string;
109
- fork_turns: string;
110
- }>;
111
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
112
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
113
- agent_type: string;
114
- task_name: string;
115
- message: string;
116
- fork_turns: string;
117
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
118
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
119
- onInputDelta?: ((options: {
120
- inputTextDelta: string;
121
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
122
- onInputAvailable?: ((options: {
123
- input: {
124
- agent_type: string;
125
- task_name: string;
126
- message: string;
127
- fork_turns: string;
128
- };
129
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
130
- toModelOutput?: ((options: {
131
- toolCallId: string;
132
- input: {
133
- agent_type: string;
134
- task_name: string;
135
- message: string;
136
- fork_turns: string;
137
- };
138
- output: NoInfer<{
139
- task_name: string;
140
- }>;
141
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
142
- } & {
143
- outputSchema?: import("ai").FlexibleSchema<{
144
- task_name: string;
145
- }> | undefined;
146
- execute: import("ai").ToolExecuteFunction<{
147
- agent_type: string;
148
- task_name: string;
149
- message: string;
150
- fork_turns: string;
151
- }, {
152
- task_name: string;
153
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
154
- } & {
155
- description?: string | ((options: {
156
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
157
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
158
- }) => string) | undefined;
159
- strict?: boolean;
160
- inputExamples?: {
161
- input: NoInfer<{
162
- agent_type: string;
163
- task_name: string;
164
- message: string;
165
- fork_turns: string;
166
- }>;
167
- }[] | undefined;
168
- id?: never;
169
- isProviderExecuted?: never;
170
- args?: never;
171
- supportsDeferredResults?: never;
172
- } & {
173
- type: 'dynamic';
174
- } & {
175
- execute: import("ai").ToolExecuteFunction<{
176
- agent_type: string;
177
- task_name: string;
178
- message: string;
179
- fork_turns: string;
180
- }, {
181
- task_name: string;
182
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
183
- } & {
184
- providerOptions: {
185
- openai?: {
186
- namespace: {
187
- name: string;
188
- description: string;
189
- };
190
- } | undefined;
191
- };
192
- metadata: {
193
- zukhruf: {
194
- kind: string;
195
- };
196
- };
197
- }) | ({
198
- deferLoading?: boolean;
199
- title?: string;
200
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
201
- metadata?: import("@ai-sdk/provider").JSONObject;
202
- inputSchema: import("ai").FlexibleSchema<{
203
- agent_type: string;
204
- task_name: string;
205
- message: string;
206
- fork_turns: string;
207
- }>;
208
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
209
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
210
- agent_type: string;
211
- task_name: string;
212
- message: string;
213
- fork_turns: string;
214
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
215
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
216
- onInputDelta?: ((options: {
217
- inputTextDelta: string;
218
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
219
- onInputAvailable?: ((options: {
220
- input: {
221
- agent_type: string;
222
- task_name: string;
223
- message: string;
224
- fork_turns: string;
225
- };
226
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
227
- toModelOutput?: ((options: {
228
- toolCallId: string;
229
- input: {
230
- agent_type: string;
231
- task_name: string;
232
- message: string;
233
- fork_turns: string;
234
- };
235
- output: NoInfer<{
236
- task_name: string;
237
- }>;
238
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
239
- } & {
240
- outputSchema?: import("ai").FlexibleSchema<{
241
- task_name: string;
242
- }> | undefined;
243
- execute: import("ai").ToolExecuteFunction<{
244
- agent_type: string;
245
- task_name: string;
246
- message: string;
247
- fork_turns: string;
248
- }, {
249
- task_name: string;
250
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
251
- } & {
252
- type: 'provider';
253
- id: `${string}.${string}`;
254
- args: Record<string, unknown>;
255
- description?: never;
256
- strict?: never;
257
- inputExamples?: never;
258
- } & {
259
- isProviderExecuted: false;
260
- supportsDeferredResults?: never;
261
- } & {
262
- execute: import("ai").ToolExecuteFunction<{
263
- agent_type: string;
264
- task_name: string;
265
- message: string;
266
- fork_turns: string;
267
- }, {
268
- task_name: string;
269
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
270
- } & {
271
- providerOptions: {
272
- openai?: {
273
- namespace: {
274
- name: string;
275
- description: string;
276
- };
277
- } | undefined;
278
- };
279
- metadata: {
280
- zukhruf: {
281
- kind: string;
282
- };
283
- };
284
- }) | ({
285
- deferLoading?: boolean;
286
- title?: string;
287
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
288
- metadata?: import("@ai-sdk/provider").JSONObject;
289
- inputSchema: import("ai").FlexibleSchema<{
290
- agent_type: string;
291
- task_name: string;
292
- message: string;
293
- fork_turns: string;
294
- }>;
295
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
296
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
297
- agent_type: string;
298
- task_name: string;
299
- message: string;
300
- fork_turns: string;
301
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
302
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
303
- onInputDelta?: ((options: {
304
- inputTextDelta: string;
305
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
306
- onInputAvailable?: ((options: {
307
- input: {
308
- agent_type: string;
309
- task_name: string;
310
- message: string;
311
- fork_turns: string;
312
- };
313
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
314
- toModelOutput?: ((options: {
315
- toolCallId: string;
316
- input: {
317
- agent_type: string;
318
- task_name: string;
319
- message: string;
320
- fork_turns: string;
321
- };
322
- output: NoInfer<{
323
- task_name: string;
324
- }>;
325
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
326
- } & {
327
- outputSchema?: import("ai").FlexibleSchema<{
328
- task_name: string;
329
- }> | undefined;
330
- execute: import("ai").ToolExecuteFunction<{
331
- agent_type: string;
332
- task_name: string;
333
- message: string;
334
- fork_turns: string;
335
- }, {
336
- task_name: string;
337
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
338
- } & {
339
- type: 'provider';
340
- id: `${string}.${string}`;
341
- args: Record<string, unknown>;
342
- description?: never;
343
- strict?: never;
344
- inputExamples?: never;
345
- } & {
346
- isProviderExecuted: true;
347
- supportsDeferredResults?: boolean;
348
- } & {
349
- execute: import("ai").ToolExecuteFunction<{
350
- agent_type: string;
351
- task_name: string;
352
- message: string;
353
- fork_turns: string;
354
- }, {
355
- task_name: string;
356
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
357
- } & {
358
- providerOptions: {
359
- openai?: {
360
- namespace: {
361
- name: string;
362
- description: string;
363
- };
364
- } | undefined;
365
- };
366
- metadata: {
367
- zukhruf: {
368
- kind: string;
369
- };
370
- };
371
- });
372
- send_message: ({
373
- deferLoading?: boolean;
374
- title?: string;
375
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
376
- metadata?: import("@ai-sdk/provider").JSONObject;
377
- inputSchema: import("ai").FlexibleSchema<{
378
- target: string;
379
- message: string;
380
- }>;
381
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
382
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
383
- target: string;
384
- message: string;
385
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
386
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
387
- onInputDelta?: ((options: {
388
- inputTextDelta: string;
389
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
390
- onInputAvailable?: ((options: {
391
- input: {
392
- target: string;
393
- message: string;
394
- };
395
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
396
- toModelOutput?: ((options: {
397
- toolCallId: string;
398
- input: {
399
- target: string;
400
- message: string;
401
- };
402
- output: string;
403
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
404
- } & {
405
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
406
- execute: import("ai").ToolExecuteFunction<{
407
- target: string;
408
- message: string;
409
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
410
- } & {
411
- description?: string | ((options: {
412
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
413
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
414
- }) => string) | undefined;
415
- strict?: boolean;
416
- inputExamples?: {
417
- input: NoInfer<{
418
- target: string;
419
- message: string;
420
- }>;
421
- }[] | undefined;
422
- id?: never;
423
- isProviderExecuted?: never;
424
- args?: never;
425
- supportsDeferredResults?: never;
426
- } & {
427
- type?: undefined | 'function';
428
- } & {
429
- execute: import("ai").ToolExecuteFunction<{
430
- target: string;
431
- message: string;
432
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
433
- } & {
434
- providerOptions: {
435
- openai?: {
436
- namespace: {
437
- name: string;
438
- description: string;
439
- };
440
- } | undefined;
441
- };
442
- metadata: {
443
- zukhruf: {
444
- kind: string;
445
- };
446
- };
447
- }) | ({
448
- deferLoading?: boolean;
449
- title?: string;
450
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
451
- metadata?: import("@ai-sdk/provider").JSONObject;
452
- inputSchema: import("ai").FlexibleSchema<{
453
- target: string;
454
- message: string;
455
- }>;
456
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
457
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
458
- target: string;
459
- message: string;
460
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
461
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
462
- onInputDelta?: ((options: {
463
- inputTextDelta: string;
464
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
465
- onInputAvailable?: ((options: {
466
- input: {
467
- target: string;
468
- message: string;
469
- };
470
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
471
- toModelOutput?: ((options: {
472
- toolCallId: string;
473
- input: {
474
- target: string;
475
- message: string;
476
- };
477
- output: string;
478
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
479
- } & {
480
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
481
- execute: import("ai").ToolExecuteFunction<{
482
- target: string;
483
- message: string;
484
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
485
- } & {
486
- description?: string | ((options: {
487
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
488
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
489
- }) => string) | undefined;
490
- strict?: boolean;
491
- inputExamples?: {
492
- input: NoInfer<{
493
- target: string;
494
- message: string;
495
- }>;
496
- }[] | undefined;
497
- id?: never;
498
- isProviderExecuted?: never;
499
- args?: never;
500
- supportsDeferredResults?: never;
501
- } & {
502
- type: 'dynamic';
503
- } & {
504
- execute: import("ai").ToolExecuteFunction<{
505
- target: string;
506
- message: string;
507
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
508
- } & {
509
- providerOptions: {
510
- openai?: {
511
- namespace: {
512
- name: string;
513
- description: string;
514
- };
515
- } | undefined;
516
- };
517
- metadata: {
518
- zukhruf: {
519
- kind: string;
520
- };
521
- };
522
- }) | ({
523
- deferLoading?: boolean;
524
- title?: string;
525
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
526
- metadata?: import("@ai-sdk/provider").JSONObject;
527
- inputSchema: import("ai").FlexibleSchema<{
528
- target: string;
529
- message: string;
530
- }>;
531
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
532
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
533
- target: string;
534
- message: string;
535
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
536
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
537
- onInputDelta?: ((options: {
538
- inputTextDelta: string;
539
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
540
- onInputAvailable?: ((options: {
541
- input: {
542
- target: string;
543
- message: string;
544
- };
545
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
546
- toModelOutput?: ((options: {
547
- toolCallId: string;
548
- input: {
549
- target: string;
550
- message: string;
551
- };
552
- output: string;
553
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
554
- } & {
555
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
556
- execute: import("ai").ToolExecuteFunction<{
557
- target: string;
558
- message: string;
559
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
560
- } & {
561
- type: 'provider';
562
- id: `${string}.${string}`;
563
- args: Record<string, unknown>;
564
- description?: never;
565
- strict?: never;
566
- inputExamples?: never;
567
- } & {
568
- isProviderExecuted: false;
569
- supportsDeferredResults?: never;
570
- } & {
571
- execute: import("ai").ToolExecuteFunction<{
572
- target: string;
573
- message: string;
574
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
575
- } & {
576
- providerOptions: {
577
- openai?: {
578
- namespace: {
579
- name: string;
580
- description: string;
581
- };
582
- } | undefined;
583
- };
584
- metadata: {
585
- zukhruf: {
586
- kind: string;
587
- };
588
- };
589
- }) | ({
590
- deferLoading?: boolean;
591
- title?: string;
592
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
593
- metadata?: import("@ai-sdk/provider").JSONObject;
594
- inputSchema: import("ai").FlexibleSchema<{
595
- target: string;
596
- message: string;
597
- }>;
598
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
599
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
600
- target: string;
601
- message: string;
602
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
603
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
604
- onInputDelta?: ((options: {
605
- inputTextDelta: string;
606
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
607
- onInputAvailable?: ((options: {
608
- input: {
609
- target: string;
610
- message: string;
611
- };
612
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
613
- toModelOutput?: ((options: {
614
- toolCallId: string;
615
- input: {
616
- target: string;
617
- message: string;
618
- };
619
- output: string;
620
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
621
- } & {
622
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
623
- execute: import("ai").ToolExecuteFunction<{
624
- target: string;
625
- message: string;
626
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
627
- } & {
628
- type: 'provider';
629
- id: `${string}.${string}`;
630
- args: Record<string, unknown>;
631
- description?: never;
632
- strict?: never;
633
- inputExamples?: never;
634
- } & {
635
- isProviderExecuted: true;
636
- supportsDeferredResults?: boolean;
637
- } & {
638
- execute: import("ai").ToolExecuteFunction<{
639
- target: string;
640
- message: string;
641
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
642
- } & {
643
- providerOptions: {
644
- openai?: {
645
- namespace: {
646
- name: string;
647
- description: string;
648
- };
649
- } | undefined;
650
- };
651
- metadata: {
652
- zukhruf: {
653
- kind: string;
654
- };
655
- };
656
- });
657
- followup_task: ({
658
- deferLoading?: boolean;
659
- title?: string;
660
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
661
- metadata?: import("@ai-sdk/provider").JSONObject;
662
- inputSchema: import("ai").FlexibleSchema<{
663
- target: string;
664
- message: string;
665
- }>;
666
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
667
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
668
- target: string;
669
- message: string;
670
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
671
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
672
- onInputDelta?: ((options: {
673
- inputTextDelta: string;
674
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
675
- onInputAvailable?: ((options: {
676
- input: {
677
- target: string;
678
- message: string;
679
- };
680
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
681
- toModelOutput?: ((options: {
682
- toolCallId: string;
683
- input: {
684
- target: string;
685
- message: string;
686
- };
687
- output: string;
688
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
689
- } & {
690
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
691
- execute: import("ai").ToolExecuteFunction<{
692
- target: string;
693
- message: string;
694
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
695
- } & {
696
- description?: string | ((options: {
697
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
698
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
699
- }) => string) | undefined;
700
- strict?: boolean;
701
- inputExamples?: {
702
- input: NoInfer<{
703
- target: string;
704
- message: string;
705
- }>;
706
- }[] | undefined;
707
- id?: never;
708
- isProviderExecuted?: never;
709
- args?: never;
710
- supportsDeferredResults?: never;
711
- } & {
712
- type?: undefined | 'function';
713
- } & {
714
- execute: import("ai").ToolExecuteFunction<{
715
- target: string;
716
- message: string;
717
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
718
- } & {
719
- providerOptions: {
720
- openai?: {
721
- namespace: {
722
- name: string;
723
- description: string;
724
- };
725
- } | undefined;
726
- };
727
- metadata: {
728
- zukhruf: {
729
- kind: string;
730
- };
731
- };
732
- }) | ({
733
- deferLoading?: boolean;
734
- title?: string;
735
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
736
- metadata?: import("@ai-sdk/provider").JSONObject;
737
- inputSchema: import("ai").FlexibleSchema<{
738
- target: string;
739
- message: string;
740
- }>;
741
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
742
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
743
- target: string;
744
- message: string;
745
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
746
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
747
- onInputDelta?: ((options: {
748
- inputTextDelta: string;
749
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
750
- onInputAvailable?: ((options: {
751
- input: {
752
- target: string;
753
- message: string;
754
- };
755
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
756
- toModelOutput?: ((options: {
757
- toolCallId: string;
758
- input: {
759
- target: string;
760
- message: string;
761
- };
762
- output: string;
763
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
764
- } & {
765
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
766
- execute: import("ai").ToolExecuteFunction<{
767
- target: string;
768
- message: string;
769
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
770
- } & {
771
- description?: string | ((options: {
772
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
773
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
774
- }) => string) | undefined;
775
- strict?: boolean;
776
- inputExamples?: {
777
- input: NoInfer<{
778
- target: string;
779
- message: string;
780
- }>;
781
- }[] | undefined;
782
- id?: never;
783
- isProviderExecuted?: never;
784
- args?: never;
785
- supportsDeferredResults?: never;
786
- } & {
787
- type: 'dynamic';
788
- } & {
789
- execute: import("ai").ToolExecuteFunction<{
790
- target: string;
791
- message: string;
792
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
793
- } & {
794
- providerOptions: {
795
- openai?: {
796
- namespace: {
797
- name: string;
798
- description: string;
799
- };
800
- } | undefined;
801
- };
802
- metadata: {
803
- zukhruf: {
804
- kind: string;
805
- };
806
- };
807
- }) | ({
808
- deferLoading?: boolean;
809
- title?: string;
810
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
811
- metadata?: import("@ai-sdk/provider").JSONObject;
812
- inputSchema: import("ai").FlexibleSchema<{
813
- target: string;
814
- message: string;
815
- }>;
816
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
817
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
818
- target: string;
819
- message: string;
820
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
821
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
822
- onInputDelta?: ((options: {
823
- inputTextDelta: string;
824
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
825
- onInputAvailable?: ((options: {
826
- input: {
827
- target: string;
828
- message: string;
829
- };
830
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
831
- toModelOutput?: ((options: {
832
- toolCallId: string;
833
- input: {
834
- target: string;
835
- message: string;
836
- };
837
- output: string;
838
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
839
- } & {
840
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
841
- execute: import("ai").ToolExecuteFunction<{
842
- target: string;
843
- message: string;
844
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
845
- } & {
846
- type: 'provider';
847
- id: `${string}.${string}`;
848
- args: Record<string, unknown>;
849
- description?: never;
850
- strict?: never;
851
- inputExamples?: never;
852
- } & {
853
- isProviderExecuted: false;
854
- supportsDeferredResults?: never;
855
- } & {
856
- execute: import("ai").ToolExecuteFunction<{
857
- target: string;
858
- message: string;
859
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
860
- } & {
861
- providerOptions: {
862
- openai?: {
863
- namespace: {
864
- name: string;
865
- description: string;
866
- };
867
- } | undefined;
868
- };
869
- metadata: {
870
- zukhruf: {
871
- kind: string;
872
- };
873
- };
874
- }) | ({
875
- deferLoading?: boolean;
876
- title?: string;
877
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
878
- metadata?: import("@ai-sdk/provider").JSONObject;
879
- inputSchema: import("ai").FlexibleSchema<{
880
- target: string;
881
- message: string;
882
- }>;
883
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
884
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
885
- target: string;
886
- message: string;
887
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
888
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
889
- onInputDelta?: ((options: {
890
- inputTextDelta: string;
891
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
892
- onInputAvailable?: ((options: {
893
- input: {
894
- target: string;
895
- message: string;
896
- };
897
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
898
- toModelOutput?: ((options: {
899
- toolCallId: string;
900
- input: {
901
- target: string;
902
- message: string;
903
- };
904
- output: string;
905
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
906
- } & {
907
- outputSchema?: import("ai").FlexibleSchema<string> | undefined;
908
- execute: import("ai").ToolExecuteFunction<{
909
- target: string;
910
- message: string;
911
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
912
- } & {
913
- type: 'provider';
914
- id: `${string}.${string}`;
915
- args: Record<string, unknown>;
916
- description?: never;
917
- strict?: never;
918
- inputExamples?: never;
919
- } & {
920
- isProviderExecuted: true;
921
- supportsDeferredResults?: boolean;
922
- } & {
923
- execute: import("ai").ToolExecuteFunction<{
924
- target: string;
925
- message: string;
926
- }, string, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
927
- } & {
928
- providerOptions: {
929
- openai?: {
930
- namespace: {
931
- name: string;
932
- description: string;
933
- };
934
- } | undefined;
935
- };
936
- metadata: {
937
- zukhruf: {
938
- kind: string;
939
- };
940
- };
941
- });
942
- list_agents: ({
943
- deferLoading?: boolean;
944
- title?: string;
945
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
946
- metadata?: import("@ai-sdk/provider").JSONObject;
947
- inputSchema: import("ai").FlexibleSchema<{
948
- path_prefix?: string | undefined;
949
- }>;
950
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
951
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
952
- path_prefix?: string | undefined;
953
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
954
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
955
- onInputDelta?: ((options: {
956
- inputTextDelta: string;
957
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
958
- onInputAvailable?: ((options: {
959
- input: {
960
- path_prefix?: string | undefined;
961
- };
962
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
963
- toModelOutput?: ((options: {
964
- toolCallId: string;
965
- input: {
966
- path_prefix?: string | undefined;
967
- };
968
- output: NoInfer<{
969
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
970
- }>;
971
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
972
- } & {
973
- outputSchema?: import("ai").FlexibleSchema<{
974
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
975
- }> | undefined;
976
- execute: import("ai").ToolExecuteFunction<{
977
- path_prefix?: string | undefined;
978
- }, {
979
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
980
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
981
- } & {
982
- description?: string | ((options: {
983
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
984
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
985
- }) => string) | undefined;
986
- strict?: boolean;
987
- inputExamples?: {
988
- input: NoInfer<{
989
- path_prefix?: string | undefined;
990
- }>;
991
- }[] | undefined;
992
- id?: never;
993
- isProviderExecuted?: never;
994
- args?: never;
995
- supportsDeferredResults?: never;
996
- } & {
997
- type?: undefined | 'function';
998
- } & {
999
- execute: import("ai").ToolExecuteFunction<{
1000
- path_prefix?: string | undefined;
1001
- }, {
1002
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1003
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1004
- } & {
1005
- providerOptions: {
1006
- openai?: {
1007
- namespace: {
1008
- name: string;
1009
- description: string;
1010
- };
1011
- } | undefined;
1012
- };
1013
- metadata: {
1014
- zukhruf: {
1015
- kind: string;
1016
- };
1017
- };
1018
- }) | ({
1019
- deferLoading?: boolean;
1020
- title?: string;
1021
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1022
- metadata?: import("@ai-sdk/provider").JSONObject;
1023
- inputSchema: import("ai").FlexibleSchema<{
1024
- path_prefix?: string | undefined;
1025
- }>;
1026
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1027
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1028
- path_prefix?: string | undefined;
1029
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1030
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1031
- onInputDelta?: ((options: {
1032
- inputTextDelta: string;
1033
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1034
- onInputAvailable?: ((options: {
1035
- input: {
1036
- path_prefix?: string | undefined;
1037
- };
1038
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1039
- toModelOutput?: ((options: {
1040
- toolCallId: string;
1041
- input: {
1042
- path_prefix?: string | undefined;
1043
- };
1044
- output: NoInfer<{
1045
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1046
- }>;
1047
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1048
- } & {
1049
- outputSchema?: import("ai").FlexibleSchema<{
1050
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1051
- }> | undefined;
1052
- execute: import("ai").ToolExecuteFunction<{
1053
- path_prefix?: string | undefined;
1054
- }, {
1055
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1056
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1057
- } & {
1058
- description?: string | ((options: {
1059
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
1060
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
1061
- }) => string) | undefined;
1062
- strict?: boolean;
1063
- inputExamples?: {
1064
- input: NoInfer<{
1065
- path_prefix?: string | undefined;
1066
- }>;
1067
- }[] | undefined;
1068
- id?: never;
1069
- isProviderExecuted?: never;
1070
- args?: never;
1071
- supportsDeferredResults?: never;
1072
- } & {
1073
- type: 'dynamic';
1074
- } & {
1075
- execute: import("ai").ToolExecuteFunction<{
1076
- path_prefix?: string | undefined;
1077
- }, {
1078
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1079
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1080
- } & {
1081
- providerOptions: {
1082
- openai?: {
1083
- namespace: {
1084
- name: string;
1085
- description: string;
1086
- };
1087
- } | undefined;
1088
- };
1089
- metadata: {
1090
- zukhruf: {
1091
- kind: string;
1092
- };
1093
- };
1094
- }) | ({
1095
- deferLoading?: boolean;
1096
- title?: string;
1097
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1098
- metadata?: import("@ai-sdk/provider").JSONObject;
1099
- inputSchema: import("ai").FlexibleSchema<{
1100
- path_prefix?: string | undefined;
1101
- }>;
1102
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1103
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1104
- path_prefix?: string | undefined;
1105
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1106
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1107
- onInputDelta?: ((options: {
1108
- inputTextDelta: string;
1109
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1110
- onInputAvailable?: ((options: {
1111
- input: {
1112
- path_prefix?: string | undefined;
1113
- };
1114
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1115
- toModelOutput?: ((options: {
1116
- toolCallId: string;
1117
- input: {
1118
- path_prefix?: string | undefined;
1119
- };
1120
- output: NoInfer<{
1121
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1122
- }>;
1123
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1124
- } & {
1125
- outputSchema?: import("ai").FlexibleSchema<{
1126
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1127
- }> | undefined;
1128
- execute: import("ai").ToolExecuteFunction<{
1129
- path_prefix?: string | undefined;
1130
- }, {
1131
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1132
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1133
- } & {
1134
- type: 'provider';
1135
- id: `${string}.${string}`;
1136
- args: Record<string, unknown>;
1137
- description?: never;
1138
- strict?: never;
1139
- inputExamples?: never;
1140
- } & {
1141
- isProviderExecuted: false;
1142
- supportsDeferredResults?: never;
1143
- } & {
1144
- execute: import("ai").ToolExecuteFunction<{
1145
- path_prefix?: string | undefined;
1146
- }, {
1147
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1148
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1149
- } & {
1150
- providerOptions: {
1151
- openai?: {
1152
- namespace: {
1153
- name: string;
1154
- description: string;
1155
- };
1156
- } | undefined;
1157
- };
1158
- metadata: {
1159
- zukhruf: {
1160
- kind: string;
1161
- };
1162
- };
1163
- }) | ({
1164
- deferLoading?: boolean;
1165
- title?: string;
1166
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1167
- metadata?: import("@ai-sdk/provider").JSONObject;
1168
- inputSchema: import("ai").FlexibleSchema<{
1169
- path_prefix?: string | undefined;
1170
- }>;
1171
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1172
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1173
- path_prefix?: string | undefined;
1174
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1175
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1176
- onInputDelta?: ((options: {
1177
- inputTextDelta: string;
1178
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1179
- onInputAvailable?: ((options: {
1180
- input: {
1181
- path_prefix?: string | undefined;
1182
- };
1183
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1184
- toModelOutput?: ((options: {
1185
- toolCallId: string;
1186
- input: {
1187
- path_prefix?: string | undefined;
1188
- };
1189
- output: NoInfer<{
1190
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1191
- }>;
1192
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1193
- } & {
1194
- outputSchema?: import("ai").FlexibleSchema<{
1195
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1196
- }> | undefined;
1197
- execute: import("ai").ToolExecuteFunction<{
1198
- path_prefix?: string | undefined;
1199
- }, {
1200
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1201
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1202
- } & {
1203
- type: 'provider';
1204
- id: `${string}.${string}`;
1205
- args: Record<string, unknown>;
1206
- description?: never;
1207
- strict?: never;
1208
- inputExamples?: never;
1209
- } & {
1210
- isProviderExecuted: true;
1211
- supportsDeferredResults?: boolean;
1212
- } & {
1213
- execute: import("ai").ToolExecuteFunction<{
1214
- path_prefix?: string | undefined;
1215
- }, {
1216
- agents: import("../control-plane/agent-status-projector.ts").ListedAgent[];
1217
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1218
- } & {
1219
- providerOptions: {
1220
- openai?: {
1221
- namespace: {
1222
- name: string;
1223
- description: string;
1224
- };
1225
- } | undefined;
1226
- };
1227
- metadata: {
1228
- zukhruf: {
1229
- kind: string;
1230
- };
1231
- };
1232
- });
1233
- wait_agent: ({
1234
- deferLoading?: boolean;
1235
- title?: string;
1236
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1237
- metadata?: import("@ai-sdk/provider").JSONObject;
1238
- inputSchema: import("ai").FlexibleSchema<{
1239
- timeout_ms?: number | undefined;
1240
- }>;
1241
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1242
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1243
- timeout_ms?: number | undefined;
1244
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1245
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1246
- onInputDelta?: ((options: {
1247
- inputTextDelta: string;
1248
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1249
- onInputAvailable?: ((options: {
1250
- input: {
1251
- timeout_ms?: number | undefined;
1252
- };
1253
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1254
- toModelOutput?: ((options: {
1255
- toolCallId: string;
1256
- input: {
1257
- timeout_ms?: number | undefined;
1258
- };
1259
- output: NoInfer<{
1260
- message: string;
1261
- timed_out: boolean;
1262
- }>;
1263
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1264
- } & {
1265
- outputSchema?: import("ai").FlexibleSchema<{
1266
- message: string;
1267
- timed_out: boolean;
1268
- }> | undefined;
1269
- execute: import("ai").ToolExecuteFunction<{
1270
- timeout_ms?: number | undefined;
1271
- }, {
1272
- message: string;
1273
- timed_out: boolean;
1274
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1275
- } & {
1276
- description?: string | ((options: {
1277
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
1278
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
1279
- }) => string) | undefined;
1280
- strict?: boolean;
1281
- inputExamples?: {
1282
- input: NoInfer<{
1283
- timeout_ms?: number | undefined;
1284
- }>;
1285
- }[] | undefined;
1286
- id?: never;
1287
- isProviderExecuted?: never;
1288
- args?: never;
1289
- supportsDeferredResults?: never;
1290
- } & {
1291
- type?: undefined | 'function';
1292
- } & {
1293
- execute: import("ai").ToolExecuteFunction<{
1294
- timeout_ms?: number | undefined;
1295
- }, {
1296
- message: string;
1297
- timed_out: boolean;
1298
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1299
- } & {
1300
- providerOptions: {
1301
- openai?: {
1302
- namespace: {
1303
- name: string;
1304
- description: string;
1305
- };
1306
- } | undefined;
1307
- };
1308
- metadata: {
1309
- zukhruf: {
1310
- kind: string;
1311
- };
1312
- };
1313
- }) | ({
1314
- deferLoading?: boolean;
1315
- title?: string;
1316
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1317
- metadata?: import("@ai-sdk/provider").JSONObject;
1318
- inputSchema: import("ai").FlexibleSchema<{
1319
- timeout_ms?: number | undefined;
1320
- }>;
1321
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1322
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1323
- timeout_ms?: number | undefined;
1324
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1325
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1326
- onInputDelta?: ((options: {
1327
- inputTextDelta: string;
1328
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1329
- onInputAvailable?: ((options: {
1330
- input: {
1331
- timeout_ms?: number | undefined;
1332
- };
1333
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1334
- toModelOutput?: ((options: {
1335
- toolCallId: string;
1336
- input: {
1337
- timeout_ms?: number | undefined;
1338
- };
1339
- output: NoInfer<{
1340
- message: string;
1341
- timed_out: boolean;
1342
- }>;
1343
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1344
- } & {
1345
- outputSchema?: import("ai").FlexibleSchema<{
1346
- message: string;
1347
- timed_out: boolean;
1348
- }> | undefined;
1349
- execute: import("ai").ToolExecuteFunction<{
1350
- timeout_ms?: number | undefined;
1351
- }, {
1352
- message: string;
1353
- timed_out: boolean;
1354
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1355
- } & {
1356
- description?: string | ((options: {
1357
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
1358
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
1359
- }) => string) | undefined;
1360
- strict?: boolean;
1361
- inputExamples?: {
1362
- input: NoInfer<{
1363
- timeout_ms?: number | undefined;
1364
- }>;
1365
- }[] | undefined;
1366
- id?: never;
1367
- isProviderExecuted?: never;
1368
- args?: never;
1369
- supportsDeferredResults?: never;
1370
- } & {
1371
- type: 'dynamic';
1372
- } & {
1373
- execute: import("ai").ToolExecuteFunction<{
1374
- timeout_ms?: number | undefined;
1375
- }, {
1376
- message: string;
1377
- timed_out: boolean;
1378
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1379
- } & {
1380
- providerOptions: {
1381
- openai?: {
1382
- namespace: {
1383
- name: string;
1384
- description: string;
1385
- };
1386
- } | undefined;
1387
- };
1388
- metadata: {
1389
- zukhruf: {
1390
- kind: string;
1391
- };
1392
- };
1393
- }) | ({
1394
- deferLoading?: boolean;
1395
- title?: string;
1396
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1397
- metadata?: import("@ai-sdk/provider").JSONObject;
1398
- inputSchema: import("ai").FlexibleSchema<{
1399
- timeout_ms?: number | undefined;
1400
- }>;
1401
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1402
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1403
- timeout_ms?: number | undefined;
1404
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1405
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1406
- onInputDelta?: ((options: {
1407
- inputTextDelta: string;
1408
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1409
- onInputAvailable?: ((options: {
1410
- input: {
1411
- timeout_ms?: number | undefined;
1412
- };
1413
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1414
- toModelOutput?: ((options: {
1415
- toolCallId: string;
1416
- input: {
1417
- timeout_ms?: number | undefined;
1418
- };
1419
- output: NoInfer<{
1420
- message: string;
1421
- timed_out: boolean;
1422
- }>;
1423
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1424
- } & {
1425
- outputSchema?: import("ai").FlexibleSchema<{
1426
- message: string;
1427
- timed_out: boolean;
1428
- }> | undefined;
1429
- execute: import("ai").ToolExecuteFunction<{
1430
- timeout_ms?: number | undefined;
1431
- }, {
1432
- message: string;
1433
- timed_out: boolean;
1434
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1435
- } & {
1436
- type: 'provider';
1437
- id: `${string}.${string}`;
1438
- args: Record<string, unknown>;
1439
- description?: never;
1440
- strict?: never;
1441
- inputExamples?: never;
1442
- } & {
1443
- isProviderExecuted: false;
1444
- supportsDeferredResults?: never;
1445
- } & {
1446
- execute: import("ai").ToolExecuteFunction<{
1447
- timeout_ms?: number | undefined;
1448
- }, {
1449
- message: string;
1450
- timed_out: boolean;
1451
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1452
- } & {
1453
- providerOptions: {
1454
- openai?: {
1455
- namespace: {
1456
- name: string;
1457
- description: string;
1458
- };
1459
- } | undefined;
1460
- };
1461
- metadata: {
1462
- zukhruf: {
1463
- kind: string;
1464
- };
1465
- };
1466
- }) | ({
1467
- deferLoading?: boolean;
1468
- title?: string;
1469
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1470
- metadata?: import("@ai-sdk/provider").JSONObject;
1471
- inputSchema: import("ai").FlexibleSchema<{
1472
- timeout_ms?: number | undefined;
1473
- }>;
1474
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1475
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1476
- timeout_ms?: number | undefined;
1477
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1478
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1479
- onInputDelta?: ((options: {
1480
- inputTextDelta: string;
1481
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1482
- onInputAvailable?: ((options: {
1483
- input: {
1484
- timeout_ms?: number | undefined;
1485
- };
1486
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1487
- toModelOutput?: ((options: {
1488
- toolCallId: string;
1489
- input: {
1490
- timeout_ms?: number | undefined;
1491
- };
1492
- output: NoInfer<{
1493
- message: string;
1494
- timed_out: boolean;
1495
- }>;
1496
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1497
- } & {
1498
- outputSchema?: import("ai").FlexibleSchema<{
1499
- message: string;
1500
- timed_out: boolean;
1501
- }> | undefined;
1502
- execute: import("ai").ToolExecuteFunction<{
1503
- timeout_ms?: number | undefined;
1504
- }, {
1505
- message: string;
1506
- timed_out: boolean;
1507
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1508
- } & {
1509
- type: 'provider';
1510
- id: `${string}.${string}`;
1511
- args: Record<string, unknown>;
1512
- description?: never;
1513
- strict?: never;
1514
- inputExamples?: never;
1515
- } & {
1516
- isProviderExecuted: true;
1517
- supportsDeferredResults?: boolean;
1518
- } & {
1519
- execute: import("ai").ToolExecuteFunction<{
1520
- timeout_ms?: number | undefined;
1521
- }, {
1522
- message: string;
1523
- timed_out: boolean;
1524
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1525
- } & {
1526
- providerOptions: {
1527
- openai?: {
1528
- namespace: {
1529
- name: string;
1530
- description: string;
1531
- };
1532
- } | undefined;
1533
- };
1534
- metadata: {
1535
- zukhruf: {
1536
- kind: string;
1537
- };
1538
- };
1539
- });
1540
- interrupt_agent: ({
1541
- deferLoading?: boolean;
1542
- title?: string;
1543
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1544
- metadata?: import("@ai-sdk/provider").JSONObject;
1545
- inputSchema: import("ai").FlexibleSchema<{
1546
- target: string;
1547
- }>;
1548
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1549
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1550
- target: string;
1551
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1552
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1553
- onInputDelta?: ((options: {
1554
- inputTextDelta: string;
1555
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1556
- onInputAvailable?: ((options: {
1557
- input: {
1558
- target: string;
1559
- };
1560
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1561
- toModelOutput?: ((options: {
1562
- toolCallId: string;
1563
- input: {
1564
- target: string;
1565
- };
1566
- output: NoInfer<{
1567
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1568
- }>;
1569
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1570
- } & {
1571
- outputSchema?: import("ai").FlexibleSchema<{
1572
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1573
- }> | undefined;
1574
- execute: import("ai").ToolExecuteFunction<{
1575
- target: string;
1576
- }, {
1577
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1578
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1579
- } & {
1580
- description?: string | ((options: {
1581
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
1582
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
1583
- }) => string) | undefined;
1584
- strict?: boolean;
1585
- inputExamples?: {
1586
- input: NoInfer<{
1587
- target: string;
1588
- }>;
1589
- }[] | undefined;
1590
- id?: never;
1591
- isProviderExecuted?: never;
1592
- args?: never;
1593
- supportsDeferredResults?: never;
1594
- } & {
1595
- type?: undefined | 'function';
1596
- } & {
1597
- execute: import("ai").ToolExecuteFunction<{
1598
- target: string;
1599
- }, {
1600
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1601
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1602
- } & {
1603
- providerOptions: {
1604
- openai?: {
1605
- namespace: {
1606
- name: string;
1607
- description: string;
1608
- };
1609
- } | undefined;
1610
- };
1611
- metadata: {
1612
- zukhruf: {
1613
- kind: string;
1614
- };
1615
- };
1616
- }) | ({
1617
- deferLoading?: boolean;
1618
- title?: string;
1619
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1620
- metadata?: import("@ai-sdk/provider").JSONObject;
1621
- inputSchema: import("ai").FlexibleSchema<{
1622
- target: string;
1623
- }>;
1624
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1625
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1626
- target: string;
1627
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1628
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1629
- onInputDelta?: ((options: {
1630
- inputTextDelta: string;
1631
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1632
- onInputAvailable?: ((options: {
1633
- input: {
1634
- target: string;
1635
- };
1636
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1637
- toModelOutput?: ((options: {
1638
- toolCallId: string;
1639
- input: {
1640
- target: string;
1641
- };
1642
- output: NoInfer<{
1643
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1644
- }>;
1645
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1646
- } & {
1647
- outputSchema?: import("ai").FlexibleSchema<{
1648
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1649
- }> | undefined;
1650
- execute: import("ai").ToolExecuteFunction<{
1651
- target: string;
1652
- }, {
1653
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1654
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1655
- } & {
1656
- description?: string | ((options: {
1657
- context: NoInfer<import("./agent-tool-context.ts").AgentToolContext>;
1658
- experimental_sandbox?: import("ai").Experimental_SandboxSession;
1659
- }) => string) | undefined;
1660
- strict?: boolean;
1661
- inputExamples?: {
1662
- input: NoInfer<{
1663
- target: string;
1664
- }>;
1665
- }[] | undefined;
1666
- id?: never;
1667
- isProviderExecuted?: never;
1668
- args?: never;
1669
- supportsDeferredResults?: never;
1670
- } & {
1671
- type: 'dynamic';
1672
- } & {
1673
- execute: import("ai").ToolExecuteFunction<{
1674
- target: string;
1675
- }, {
1676
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1677
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1678
- } & {
1679
- providerOptions: {
1680
- openai?: {
1681
- namespace: {
1682
- name: string;
1683
- description: string;
1684
- };
1685
- } | undefined;
1686
- };
1687
- metadata: {
1688
- zukhruf: {
1689
- kind: string;
1690
- };
1691
- };
1692
- }) | ({
1693
- deferLoading?: boolean;
1694
- title?: string;
1695
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1696
- metadata?: import("@ai-sdk/provider").JSONObject;
1697
- inputSchema: import("ai").FlexibleSchema<{
1698
- target: string;
1699
- }>;
1700
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1701
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1702
- target: string;
1703
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1704
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1705
- onInputDelta?: ((options: {
1706
- inputTextDelta: string;
1707
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1708
- onInputAvailable?: ((options: {
1709
- input: {
1710
- target: string;
1711
- };
1712
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1713
- toModelOutput?: ((options: {
1714
- toolCallId: string;
1715
- input: {
1716
- target: string;
1717
- };
1718
- output: NoInfer<{
1719
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1720
- }>;
1721
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1722
- } & {
1723
- outputSchema?: import("ai").FlexibleSchema<{
1724
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1725
- }> | undefined;
1726
- execute: import("ai").ToolExecuteFunction<{
1727
- target: string;
1728
- }, {
1729
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1730
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1731
- } & {
1732
- type: 'provider';
1733
- id: `${string}.${string}`;
1734
- args: Record<string, unknown>;
1735
- description?: never;
1736
- strict?: never;
1737
- inputExamples?: never;
1738
- } & {
1739
- isProviderExecuted: false;
1740
- supportsDeferredResults?: never;
1741
- } & {
1742
- execute: import("ai").ToolExecuteFunction<{
1743
- target: string;
1744
- }, {
1745
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1746
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1747
- } & {
1748
- providerOptions: {
1749
- openai?: {
1750
- namespace: {
1751
- name: string;
1752
- description: string;
1753
- };
1754
- } | undefined;
1755
- };
1756
- metadata: {
1757
- zukhruf: {
1758
- kind: string;
1759
- };
1760
- };
1761
- }) | ({
1762
- deferLoading?: boolean;
1763
- title?: string;
1764
- providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1765
- metadata?: import("@ai-sdk/provider").JSONObject;
1766
- inputSchema: import("ai").FlexibleSchema<{
1767
- target: string;
1768
- }>;
1769
- contextSchema?: import("ai").FlexibleSchema<import("./agent-tool-context.ts").AgentToolContext> | undefined;
1770
- needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1771
- target: string;
1772
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>> | undefined;
1773
- onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1774
- onInputDelta?: ((options: {
1775
- inputTextDelta: string;
1776
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1777
- onInputAvailable?: ((options: {
1778
- input: {
1779
- target: string;
1780
- };
1781
- } & import("ai").ToolExecutionOptions<NoInfer<import("./agent-tool-context.ts").AgentToolContext>>) => void | PromiseLike<void>) | undefined;
1782
- toModelOutput?: ((options: {
1783
- toolCallId: string;
1784
- input: {
1785
- target: string;
1786
- };
1787
- output: NoInfer<{
1788
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1789
- }>;
1790
- }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1791
- } & {
1792
- outputSchema?: import("ai").FlexibleSchema<{
1793
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1794
- }> | undefined;
1795
- execute: import("ai").ToolExecuteFunction<{
1796
- target: string;
1797
- }, {
1798
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1799
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1800
- } & {
1801
- type: 'provider';
1802
- id: `${string}.${string}`;
1803
- args: Record<string, unknown>;
1804
- description?: never;
1805
- strict?: never;
1806
- inputExamples?: never;
1807
- } & {
1808
- isProviderExecuted: true;
1809
- supportsDeferredResults?: boolean;
1810
- } & {
1811
- execute: import("ai").ToolExecuteFunction<{
1812
- target: string;
1813
- }, {
1814
- previous_status: import("../control-plane/agent-status-projector.ts").ListedAgentStatus;
1815
- }, NoInfer<import("./agent-tool-context.ts").AgentToolContext>>;
1816
- } & {
1817
- providerOptions: {
1818
- openai?: {
1819
- namespace: {
1820
- name: string;
1821
- description: string;
1822
- };
1823
- } | undefined;
1824
- };
1825
- metadata: {
1826
- zukhruf: {
1827
- kind: string;
1828
- };
1829
- };
1830
- });
1831
- };
1832
- //# sourceMappingURL=collaboration-tools.d.ts.map