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