@agentsky/sky 2.20.1 → 2.21.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 (51) hide show
  1. package/dist/{chunk-ICTCB4VT.js → chunk-6JMFB3CV.js} +1 -1
  2. package/dist/{chunk-NAD26CDY.js → chunk-GHTAIKQ6.js} +80 -30
  3. package/dist/{chunk-S6A5V7XR.js → chunk-ZZ6UF7QA.js} +4 -3
  4. package/dist/index.js +152 -55
  5. package/dist/{src-KP6YIFNP.js → src-QBXMNV2V.js} +28 -6
  6. package/dist/{trace-SJHQ66JA.js → trace-NMBMU4GS.js} +2 -2
  7. package/dist/{trace-library-IWF7BVNB.js → trace-library-OWYB75AR.js} +97 -11
  8. package/package.json +6 -11
  9. package/vendor/trace-collect/SOURCE.json +6 -0
  10. package/vendor/trace-collect/collect.mjs +75 -0
  11. package/vendor/trace-collect/identity.d.ts +8 -0
  12. package/vendor/trace-collect/identity.mjs +23 -0
  13. package/vendor/trace-collect/muse.mjs +87 -0
  14. package/vendor/trace-collect/normalize.d.ts +6 -0
  15. package/vendor/trace-collect/normalize.mjs +312 -0
  16. package/vendor/trace-collect/scrub.d.ts +2 -0
  17. package/vendor/trace-collect/scrub.mjs +186 -0
  18. package/vendor/trace-collect/sinks/agentsky.mjs +156 -0
  19. package/vendor/trace-collect/sources/_cline-family.mjs +182 -0
  20. package/vendor/trace-collect/sources/_project-root.mjs +40 -0
  21. package/vendor/trace-collect/sources/amp.mjs +18 -0
  22. package/vendor/trace-collect/sources/chatgpt.mjs +203 -0
  23. package/vendor/trace-collect/sources/claude-ai.mjs +94 -0
  24. package/vendor/trace-collect/sources/claude-code.mjs +4 -0
  25. package/vendor/trace-collect/sources/claude-desktop.mjs +87 -0
  26. package/vendor/trace-collect/sources/cline.mjs +14 -0
  27. package/vendor/trace-collect/sources/codex.mjs +4 -0
  28. package/vendor/trace-collect/sources/continue.mjs +117 -0
  29. package/vendor/trace-collect/sources/copilot-chat.mjs +145 -0
  30. package/vendor/trace-collect/sources/cursor-chat.mjs +274 -0
  31. package/vendor/trace-collect/sources/cursor.mjs +4 -0
  32. package/vendor/trace-collect/sources/deepseek.mjs +172 -0
  33. package/vendor/trace-collect/sources/dsh.mjs +145 -0
  34. package/vendor/trace-collect/sources/gemini-cli.mjs +113 -0
  35. package/vendor/trace-collect/sources/gemini.mjs +150 -0
  36. package/vendor/trace-collect/sources/goose.mjs +93 -0
  37. package/vendor/trace-collect/sources/grok-cli.mjs +110 -0
  38. package/vendor/trace-collect/sources/grok.mjs +83 -0
  39. package/vendor/trace-collect/sources/hermes.mjs +4 -0
  40. package/vendor/trace-collect/sources/index.mjs +119 -0
  41. package/vendor/trace-collect/sources/jan.mjs +134 -0
  42. package/vendor/trace-collect/sources/kilo-code.mjs +14 -0
  43. package/vendor/trace-collect/sources/kiro.mjs +77 -0
  44. package/vendor/trace-collect/sources/lm-studio.mjs +84 -0
  45. package/vendor/trace-collect/sources/muse.mjs +11 -0
  46. package/vendor/trace-collect/sources/opencode.mjs +109 -0
  47. package/vendor/trace-collect/sources/qwen-code.mjs +95 -0
  48. package/vendor/trace-collect/sources/roo-code.mjs +14 -0
  49. package/vendor/trace-collect/sources/zed.mjs +70 -0
  50. package/dist/products.d.ts +0 -652
  51. package/dist/products.js +0 -208
@@ -1,652 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const agentAddonsSchema: z.ZodObject<{
4
- vault_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5
- environment_id: z.ZodOptional<z.ZodString>;
6
- resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7
- type: z.ZodLiteral<"file">;
8
- file_id: z.ZodString;
9
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>, z.ZodObject<{
11
- type: z.ZodLiteral<"github_repository">;
12
- url: z.ZodString;
13
- authorization_token: z.ZodOptional<z.ZodString>;
14
- checkout: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
15
- type: z.ZodLiteral<"branch">;
16
- name: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- type: z.ZodLiteral<"commit">;
19
- sha: z.ZodString;
20
- }, z.core.$strip>], "type">>>;
21
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>, z.ZodObject<{
23
- type: z.ZodLiteral<"memory_store">;
24
- memory_store_id: z.ZodString;
25
- access: z.ZodEnum<{
26
- read_only: "read_only";
27
- read_write: "read_write";
28
- }>;
29
- instructions: z.ZodOptional<z.ZodString>;
30
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>], "type">>>;
32
- instructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
33
- name: z.ZodString;
34
- content: z.ZodDefault<z.ZodString>;
35
- }, z.core.$strip>>>;
36
- skills: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
37
- type: z.ZodLiteral<"skill">;
38
- skillId: z.ZodString;
39
- version: z.ZodDefault<z.ZodString>;
40
- }, z.core.$strip>, z.ZodObject<{
41
- type: z.ZodLiteral<"github">;
42
- url: z.ZodString;
43
- ref: z.ZodOptional<z.ZodString>;
44
- tokenSecretRef: z.ZodOptional<z.ZodString>;
45
- }, z.core.$strip>], "type">>>;
46
- mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
47
- type: z.ZodDefault<z.ZodLiteral<"url">>;
48
- name: z.ZodString;
49
- url: z.ZodString;
50
- tools: z.ZodOptional<z.ZodObject<{
51
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
52
- exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
53
- }, z.core.$strip>>;
54
- }, z.core.$strip>>>;
55
- capabilities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodEnum<{
56
- "embedding.openai": "embedding.openai";
57
- "embedding.voyage": "embedding.voyage";
58
- "rerank.voyage": "rerank.voyage";
59
- "ocr.mistral": "ocr.mistral";
60
- "exa.search": "exa.search";
61
- "exa.contents": "exa.contents";
62
- "tinyfish.fetch": "tinyfish.fetch";
63
- "tinyfish.browser": "tinyfish.browser";
64
- "tinyfish.agent": "tinyfish.agent";
65
- "dataforseo.serp": "dataforseo.serp";
66
- "dataforseo.ai-keywords": "dataforseo.ai-keywords";
67
- "dataforseo.llm-responses": "dataforseo.llm-responses";
68
- "dataforseo.app-info": "dataforseo.app-info";
69
- "dataforseo.app-search": "dataforseo.app-search";
70
- "dataforseo.backlinks": "dataforseo.backlinks";
71
- "dataforseo.business-reviews": "dataforseo.business-reviews";
72
- "dataforseo.business-pinterest": "dataforseo.business-pinterest";
73
- "dataforseo.content-analysis": "dataforseo.content-analysis";
74
- "dataforseo.technologies": "dataforseo.technologies";
75
- "dataforseo.keyword-data": "dataforseo.keyword-data";
76
- "dataforseo.labs": "dataforseo.labs";
77
- "dataforseo.amazon": "dataforseo.amazon";
78
- "dataforseo.onpage": "dataforseo.onpage";
79
- "gptimage.generate": "gptimage.generate";
80
- "rembg.remove-background": "rembg.remove-background";
81
- "seedance.generate": "seedance.generate";
82
- "mm.i2v": "mm.i2v";
83
- "wan.t2v": "wan.t2v";
84
- "wan.i2v": "wan.i2v";
85
- "happyhorse.t2v": "happyhorse.t2v";
86
- "minimax.h3": "minimax.h3";
87
- "fish-audio.transcribe": "fish-audio.transcribe";
88
- "code-review": "code-review";
89
- "exa.answer": "exa.answer";
90
- "googlemap.geocode": "googlemap.geocode";
91
- "googlemap.places": "googlemap.places";
92
- "agentmail.list-inboxes": "agentmail.list-inboxes";
93
- "tinyfish.search": "tinyfish.search";
94
- "tinyfish.profile-list": "tinyfish.profile-list";
95
- "meta.transcribe": "meta.transcribe";
96
- "minimax.tts": "minimax.tts";
97
- "elevenlabs.sound": "elevenlabs.sound";
98
- "elevenlabs.tts": "elevenlabs.tts";
99
- "elevenlabs.music": "elevenlabs.music";
100
- "zai.transcribe": "zai.transcribe";
101
- "openai.transcribe": "openai.transcribe";
102
- "fish-audio.tts": "fish-audio.tts";
103
- "google.image": "google.image";
104
- "openai.image-2.5": "openai.image-2.5";
105
- "wan.image": "wan.image";
106
- "logo.lookup": "logo.lookup";
107
- "openmeteo.weather": "openmeteo.weather";
108
- "frankfurter.fx": "frankfurter.fx";
109
- "dictionary.define": "dictionary.define";
110
- "openlibrary.search": "openlibrary.search";
111
- "googledns.resolve": "googledns.resolve";
112
- "qrserver.create": "qrserver.create";
113
- "recall.meeting-record": "recall.meeting-record";
114
- "social-boost.catalog": "social-boost.catalog";
115
- }>, unknown>>>>;
116
- model: z.ZodOptional<z.ZodString>;
117
- reasoning_effort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
118
- none: "none";
119
- off: "off";
120
- minimal: "minimal";
121
- low: "low";
122
- medium: "medium";
123
- high: "high";
124
- xhigh: "xhigh";
125
- max: "max";
126
- ultra: "ultra";
127
- }>>>;
128
- vcpus: z.ZodOptional<z.ZodNumber>;
129
- memory_mb: z.ZodOptional<z.ZodNumber>;
130
- model_billing: z.ZodOptional<z.ZodEnum<{
131
- platform: "platform";
132
- account: "account";
133
- }>>;
134
- session_budget: z.ZodOptional<z.ZodObject<{
135
- type: z.ZodLiteral<"limit">;
136
- max_list_cost: z.ZodObject<{
137
- amount: z.ZodString;
138
- currency: z.ZodLiteral<"USD">;
139
- }, z.core.$strip>;
140
- }, z.core.$strip>>;
141
- }, z.core.$strict>;
142
- declare const createProductAgentSchema: z.ZodObject<{
143
- product: z.ZodString;
144
- name: z.ZodOptional<z.ZodString>;
145
- instructions: z.ZodOptional<z.ZodString>;
146
- addons: z.ZodOptional<z.ZodObject<{
147
- vault_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
148
- environment_id: z.ZodOptional<z.ZodString>;
149
- resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
150
- type: z.ZodLiteral<"file">;
151
- file_id: z.ZodString;
152
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
- }, z.core.$strip>, z.ZodObject<{
154
- type: z.ZodLiteral<"github_repository">;
155
- url: z.ZodString;
156
- authorization_token: z.ZodOptional<z.ZodString>;
157
- checkout: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
158
- type: z.ZodLiteral<"branch">;
159
- name: z.ZodString;
160
- }, z.core.$strip>, z.ZodObject<{
161
- type: z.ZodLiteral<"commit">;
162
- sha: z.ZodString;
163
- }, z.core.$strip>], "type">>>;
164
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
- }, z.core.$strip>, z.ZodObject<{
166
- type: z.ZodLiteral<"memory_store">;
167
- memory_store_id: z.ZodString;
168
- access: z.ZodEnum<{
169
- read_only: "read_only";
170
- read_write: "read_write";
171
- }>;
172
- instructions: z.ZodOptional<z.ZodString>;
173
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
- }, z.core.$strip>], "type">>>;
175
- instructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
176
- name: z.ZodString;
177
- content: z.ZodDefault<z.ZodString>;
178
- }, z.core.$strip>>>;
179
- skills: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
180
- type: z.ZodLiteral<"skill">;
181
- skillId: z.ZodString;
182
- version: z.ZodDefault<z.ZodString>;
183
- }, z.core.$strip>, z.ZodObject<{
184
- type: z.ZodLiteral<"github">;
185
- url: z.ZodString;
186
- ref: z.ZodOptional<z.ZodString>;
187
- tokenSecretRef: z.ZodOptional<z.ZodString>;
188
- }, z.core.$strip>], "type">>>;
189
- mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
- type: z.ZodDefault<z.ZodLiteral<"url">>;
191
- name: z.ZodString;
192
- url: z.ZodString;
193
- tools: z.ZodOptional<z.ZodObject<{
194
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
195
- exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
196
- }, z.core.$strip>>;
197
- }, z.core.$strip>>>;
198
- capabilities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodEnum<{
199
- "embedding.openai": "embedding.openai";
200
- "embedding.voyage": "embedding.voyage";
201
- "rerank.voyage": "rerank.voyage";
202
- "ocr.mistral": "ocr.mistral";
203
- "exa.search": "exa.search";
204
- "exa.contents": "exa.contents";
205
- "tinyfish.fetch": "tinyfish.fetch";
206
- "tinyfish.browser": "tinyfish.browser";
207
- "tinyfish.agent": "tinyfish.agent";
208
- "dataforseo.serp": "dataforseo.serp";
209
- "dataforseo.ai-keywords": "dataforseo.ai-keywords";
210
- "dataforseo.llm-responses": "dataforseo.llm-responses";
211
- "dataforseo.app-info": "dataforseo.app-info";
212
- "dataforseo.app-search": "dataforseo.app-search";
213
- "dataforseo.backlinks": "dataforseo.backlinks";
214
- "dataforseo.business-reviews": "dataforseo.business-reviews";
215
- "dataforseo.business-pinterest": "dataforseo.business-pinterest";
216
- "dataforseo.content-analysis": "dataforseo.content-analysis";
217
- "dataforseo.technologies": "dataforseo.technologies";
218
- "dataforseo.keyword-data": "dataforseo.keyword-data";
219
- "dataforseo.labs": "dataforseo.labs";
220
- "dataforseo.amazon": "dataforseo.amazon";
221
- "dataforseo.onpage": "dataforseo.onpage";
222
- "gptimage.generate": "gptimage.generate";
223
- "rembg.remove-background": "rembg.remove-background";
224
- "seedance.generate": "seedance.generate";
225
- "mm.i2v": "mm.i2v";
226
- "wan.t2v": "wan.t2v";
227
- "wan.i2v": "wan.i2v";
228
- "happyhorse.t2v": "happyhorse.t2v";
229
- "minimax.h3": "minimax.h3";
230
- "fish-audio.transcribe": "fish-audio.transcribe";
231
- "code-review": "code-review";
232
- "exa.answer": "exa.answer";
233
- "googlemap.geocode": "googlemap.geocode";
234
- "googlemap.places": "googlemap.places";
235
- "agentmail.list-inboxes": "agentmail.list-inboxes";
236
- "tinyfish.search": "tinyfish.search";
237
- "tinyfish.profile-list": "tinyfish.profile-list";
238
- "meta.transcribe": "meta.transcribe";
239
- "minimax.tts": "minimax.tts";
240
- "elevenlabs.sound": "elevenlabs.sound";
241
- "elevenlabs.tts": "elevenlabs.tts";
242
- "elevenlabs.music": "elevenlabs.music";
243
- "zai.transcribe": "zai.transcribe";
244
- "openai.transcribe": "openai.transcribe";
245
- "fish-audio.tts": "fish-audio.tts";
246
- "google.image": "google.image";
247
- "openai.image-2.5": "openai.image-2.5";
248
- "wan.image": "wan.image";
249
- "logo.lookup": "logo.lookup";
250
- "openmeteo.weather": "openmeteo.weather";
251
- "frankfurter.fx": "frankfurter.fx";
252
- "dictionary.define": "dictionary.define";
253
- "openlibrary.search": "openlibrary.search";
254
- "googledns.resolve": "googledns.resolve";
255
- "qrserver.create": "qrserver.create";
256
- "recall.meeting-record": "recall.meeting-record";
257
- "social-boost.catalog": "social-boost.catalog";
258
- }>, unknown>>>>;
259
- model: z.ZodOptional<z.ZodString>;
260
- reasoning_effort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
261
- none: "none";
262
- off: "off";
263
- minimal: "minimal";
264
- low: "low";
265
- medium: "medium";
266
- high: "high";
267
- xhigh: "xhigh";
268
- max: "max";
269
- ultra: "ultra";
270
- }>>>;
271
- vcpus: z.ZodOptional<z.ZodNumber>;
272
- memory_mb: z.ZodOptional<z.ZodNumber>;
273
- model_billing: z.ZodOptional<z.ZodEnum<{
274
- platform: "platform";
275
- account: "account";
276
- }>>;
277
- session_budget: z.ZodOptional<z.ZodObject<{
278
- type: z.ZodLiteral<"limit">;
279
- max_list_cost: z.ZodObject<{
280
- amount: z.ZodString;
281
- currency: z.ZodLiteral<"USD">;
282
- }, z.core.$strip>;
283
- }, z.core.$strip>>;
284
- }, z.core.$strict>>;
285
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
286
- }, z.core.$strict>;
287
- declare const prepareProductSessionSchema: z.ZodObject<{
288
- product: z.ZodString;
289
- addons: z.ZodOptional<z.ZodObject<{
290
- vault_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
291
- environment_id: z.ZodOptional<z.ZodString>;
292
- resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
293
- type: z.ZodLiteral<"file">;
294
- file_id: z.ZodString;
295
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
- }, z.core.$strip>, z.ZodObject<{
297
- type: z.ZodLiteral<"github_repository">;
298
- url: z.ZodString;
299
- authorization_token: z.ZodOptional<z.ZodString>;
300
- checkout: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
301
- type: z.ZodLiteral<"branch">;
302
- name: z.ZodString;
303
- }, z.core.$strip>, z.ZodObject<{
304
- type: z.ZodLiteral<"commit">;
305
- sha: z.ZodString;
306
- }, z.core.$strip>], "type">>>;
307
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
- }, z.core.$strip>, z.ZodObject<{
309
- type: z.ZodLiteral<"memory_store">;
310
- memory_store_id: z.ZodString;
311
- access: z.ZodEnum<{
312
- read_only: "read_only";
313
- read_write: "read_write";
314
- }>;
315
- instructions: z.ZodOptional<z.ZodString>;
316
- mount_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
- }, z.core.$strip>], "type">>>;
318
- instructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
319
- name: z.ZodString;
320
- content: z.ZodDefault<z.ZodString>;
321
- }, z.core.$strip>>>;
322
- skills: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
323
- type: z.ZodLiteral<"skill">;
324
- skillId: z.ZodString;
325
- version: z.ZodDefault<z.ZodString>;
326
- }, z.core.$strip>, z.ZodObject<{
327
- type: z.ZodLiteral<"github">;
328
- url: z.ZodString;
329
- ref: z.ZodOptional<z.ZodString>;
330
- tokenSecretRef: z.ZodOptional<z.ZodString>;
331
- }, z.core.$strip>], "type">>>;
332
- mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
333
- type: z.ZodDefault<z.ZodLiteral<"url">>;
334
- name: z.ZodString;
335
- url: z.ZodString;
336
- tools: z.ZodOptional<z.ZodObject<{
337
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
338
- exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
339
- }, z.core.$strip>>;
340
- }, z.core.$strip>>>;
341
- capabilities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodEnum<{
342
- "embedding.openai": "embedding.openai";
343
- "embedding.voyage": "embedding.voyage";
344
- "rerank.voyage": "rerank.voyage";
345
- "ocr.mistral": "ocr.mistral";
346
- "exa.search": "exa.search";
347
- "exa.contents": "exa.contents";
348
- "tinyfish.fetch": "tinyfish.fetch";
349
- "tinyfish.browser": "tinyfish.browser";
350
- "tinyfish.agent": "tinyfish.agent";
351
- "dataforseo.serp": "dataforseo.serp";
352
- "dataforseo.ai-keywords": "dataforseo.ai-keywords";
353
- "dataforseo.llm-responses": "dataforseo.llm-responses";
354
- "dataforseo.app-info": "dataforseo.app-info";
355
- "dataforseo.app-search": "dataforseo.app-search";
356
- "dataforseo.backlinks": "dataforseo.backlinks";
357
- "dataforseo.business-reviews": "dataforseo.business-reviews";
358
- "dataforseo.business-pinterest": "dataforseo.business-pinterest";
359
- "dataforseo.content-analysis": "dataforseo.content-analysis";
360
- "dataforseo.technologies": "dataforseo.technologies";
361
- "dataforseo.keyword-data": "dataforseo.keyword-data";
362
- "dataforseo.labs": "dataforseo.labs";
363
- "dataforseo.amazon": "dataforseo.amazon";
364
- "dataforseo.onpage": "dataforseo.onpage";
365
- "gptimage.generate": "gptimage.generate";
366
- "rembg.remove-background": "rembg.remove-background";
367
- "seedance.generate": "seedance.generate";
368
- "mm.i2v": "mm.i2v";
369
- "wan.t2v": "wan.t2v";
370
- "wan.i2v": "wan.i2v";
371
- "happyhorse.t2v": "happyhorse.t2v";
372
- "minimax.h3": "minimax.h3";
373
- "fish-audio.transcribe": "fish-audio.transcribe";
374
- "code-review": "code-review";
375
- "exa.answer": "exa.answer";
376
- "googlemap.geocode": "googlemap.geocode";
377
- "googlemap.places": "googlemap.places";
378
- "agentmail.list-inboxes": "agentmail.list-inboxes";
379
- "tinyfish.search": "tinyfish.search";
380
- "tinyfish.profile-list": "tinyfish.profile-list";
381
- "meta.transcribe": "meta.transcribe";
382
- "minimax.tts": "minimax.tts";
383
- "elevenlabs.sound": "elevenlabs.sound";
384
- "elevenlabs.tts": "elevenlabs.tts";
385
- "elevenlabs.music": "elevenlabs.music";
386
- "zai.transcribe": "zai.transcribe";
387
- "openai.transcribe": "openai.transcribe";
388
- "fish-audio.tts": "fish-audio.tts";
389
- "google.image": "google.image";
390
- "openai.image-2.5": "openai.image-2.5";
391
- "wan.image": "wan.image";
392
- "logo.lookup": "logo.lookup";
393
- "openmeteo.weather": "openmeteo.weather";
394
- "frankfurter.fx": "frankfurter.fx";
395
- "dictionary.define": "dictionary.define";
396
- "openlibrary.search": "openlibrary.search";
397
- "googledns.resolve": "googledns.resolve";
398
- "qrserver.create": "qrserver.create";
399
- "recall.meeting-record": "recall.meeting-record";
400
- "social-boost.catalog": "social-boost.catalog";
401
- }>, unknown>>>>;
402
- model: z.ZodOptional<z.ZodString>;
403
- reasoning_effort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
404
- none: "none";
405
- off: "off";
406
- minimal: "minimal";
407
- low: "low";
408
- medium: "medium";
409
- high: "high";
410
- xhigh: "xhigh";
411
- max: "max";
412
- ultra: "ultra";
413
- }>>>;
414
- vcpus: z.ZodOptional<z.ZodNumber>;
415
- memory_mb: z.ZodOptional<z.ZodNumber>;
416
- model_billing: z.ZodOptional<z.ZodEnum<{
417
- platform: "platform";
418
- account: "account";
419
- }>>;
420
- session_budget: z.ZodOptional<z.ZodObject<{
421
- type: z.ZodLiteral<"limit">;
422
- max_list_cost: z.ZodObject<{
423
- amount: z.ZodString;
424
- currency: z.ZodLiteral<"USD">;
425
- }, z.core.$strip>;
426
- }, z.core.$strip>>;
427
- }, z.core.$strict>>;
428
- title: z.ZodOptional<z.ZodString>;
429
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
430
- }, z.core.$strict>;
431
- declare const createRunSchema: z.ZodObject<{
432
- product: z.ZodString;
433
- input: z.ZodUnknown & z.ZodType<{}, unknown, z.core.$ZodTypeInternals<{}, unknown>>;
434
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
435
- session_id: z.ZodOptional<z.ZodString>;
436
- stream: z.ZodOptional<z.ZodBoolean>;
437
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
438
- }, z.core.$strict>;
439
- declare const runEventsSchema: z.ZodObject<{
440
- events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
441
- type: z.ZodLiteral<"user.message">;
442
- content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
443
- type: z.ZodLiteral<"text">;
444
- text: z.ZodString;
445
- }, z.core.$strict>, z.ZodObject<{
446
- type: z.ZodLiteral<"image">;
447
- source: z.ZodDiscriminatedUnion<[z.ZodObject<{
448
- type: z.ZodLiteral<"base64">;
449
- media_type: z.ZodString;
450
- data: z.ZodString;
451
- }, z.core.$strict>, z.ZodObject<{
452
- type: z.ZodLiteral<"url">;
453
- url: z.ZodString;
454
- }, z.core.$strict>, z.ZodObject<{
455
- type: z.ZodLiteral<"file">;
456
- file_id: z.ZodString;
457
- }, z.core.$strict>], "type">;
458
- }, z.core.$strict>, z.ZodObject<{
459
- type: z.ZodLiteral<"document">;
460
- source: z.ZodDiscriminatedUnion<[z.ZodObject<{
461
- type: z.ZodLiteral<"base64">;
462
- media_type: z.ZodString;
463
- data: z.ZodString;
464
- }, z.core.$strict>, z.ZodObject<{
465
- type: z.ZodLiteral<"text">;
466
- media_type: z.ZodDefault<z.ZodLiteral<"text/plain">>;
467
- data: z.ZodString;
468
- }, z.core.$strict>, z.ZodObject<{
469
- type: z.ZodLiteral<"url">;
470
- url: z.ZodString;
471
- }, z.core.$strict>, z.ZodObject<{
472
- type: z.ZodLiteral<"file">;
473
- file_id: z.ZodString;
474
- }, z.core.$strict>], "type">;
475
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
- context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
477
- }, z.core.$strict>], "type">>;
478
- interaction_mode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
479
- plan: "plan";
480
- build: "build";
481
- }>>>;
482
- }, z.core.$strict>, z.ZodObject<{
483
- type: z.ZodLiteral<"system.message">;
484
- content: z.ZodArray<z.ZodObject<{
485
- type: z.ZodLiteral<"text">;
486
- text: z.ZodString;
487
- }, z.core.$strict>>;
488
- }, z.core.$strict>, z.ZodObject<{
489
- type: z.ZodLiteral<"user.interrupt">;
490
- }, z.core.$strict>]>>;
491
- }, z.core.$strict>;
492
- declare const publishProductSchema: z.ZodObject<{
493
- slug: z.ZodOptional<z.ZodString>;
494
- description: z.ZodOptional<z.ZodString>;
495
- }, z.core.$strict>;
496
- type AgentAddons = z.infer<typeof agentAddonsSchema>;
497
- type CreateProductAgentInput = z.infer<typeof createProductAgentSchema>;
498
- type PrepareProductSessionInput = z.infer<typeof prepareProductSessionSchema>;
499
- type CreateRunInput = z.infer<typeof createRunSchema>;
500
- declare const publicRunSchema: z.ZodObject<{
501
- id: z.ZodString;
502
- product: z.ZodNullable<z.ZodString>;
503
- session_id: z.ZodNullable<z.ZodString>;
504
- status: z.ZodEnum<{
505
- queued: "queued";
506
- running: "running";
507
- waiting_input: "waiting_input";
508
- stopping: "stopping";
509
- completed: "completed";
510
- interrupted: "interrupted";
511
- failed: "failed";
512
- blocked: "blocked";
513
- reconciling: "reconciling";
514
- }>;
515
- output: z.ZodUnknown;
516
- output_available: z.ZodOptional<z.ZodBoolean>;
517
- usage: z.ZodUnknown;
518
- billing: z.ZodUnknown;
519
- error: z.ZodUnknown;
520
- artifact: z.ZodOptional<z.ZodObject<{
521
- id: z.ZodString;
522
- mediaType: z.ZodString;
523
- url: z.ZodString;
524
- }, z.core.$strip>>;
525
- source: z.ZodOptional<z.ZodObject<{
526
- goal_id: z.ZodOptional<z.ZodString>;
527
- iteration: z.ZodOptional<z.ZodNumber>;
528
- routine_run_id: z.ZodOptional<z.ZodString>;
529
- routine_id: z.ZodOptional<z.ZodString>;
530
- }, z.core.$strip>>;
531
- created_at: z.ZodString;
532
- completed_at: z.ZodNullable<z.ZodString>;
533
- }, z.core.$strip>;
534
- type PublicRun = z.infer<typeof publicRunSchema>;
535
-
536
- declare const connectionSupportSchema: z.ZodObject<{
537
- channels: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodPipe<z.ZodArray<z.ZodEnum<{
538
- line: "line";
539
- email: "email";
540
- slack: "slack";
541
- telegram: "telegram";
542
- whatsapp: "whatsapp";
543
- imessage: "imessage";
544
- discord: "discord";
545
- lark: "lark";
546
- teams: "teams";
547
- x: "x";
548
- gchat: "gchat";
549
- buzz: "buzz";
550
- }>>, z.ZodTransform<("line" | "email" | "slack" | "telegram" | "whatsapp" | "imessage" | "discord" | "lark" | "teams" | "x" | "gchat" | "buzz")[], ("line" | "email" | "slack" | "telegram" | "whatsapp" | "imessage" | "discord" | "lark" | "teams" | "x" | "gchat" | "buzz")[]>>]>;
551
- connectors: z.ZodEnum<{
552
- none: "none";
553
- all: "all";
554
- }>;
555
- }, z.core.$strict>;
556
- type ConnectionSupport = z.infer<typeof connectionSupportSchema>;
557
-
558
- type RunControlInput = z.infer<typeof runEventsSchema>;
559
- type PublishProductInput = z.infer<typeof publishProductSchema>;
560
- type ExecutionProjection = {
561
- protocol: "legacy" | "runs";
562
- generation: number;
563
- product: string | null;
564
- product_version: string | null;
565
- active_run_id: string | null;
566
- addons_revision: number;
567
- };
568
- type PreparedProductSession = {
569
- id: string;
570
- execution: ExecutionProjection;
571
- } & Record<string, unknown>;
572
- type ProductRequest = {
573
- idempotencyKey: string;
574
- signal?: AbortSignal;
575
- };
576
- type Product = {
577
- id: string;
578
- version: string | null;
579
- kind: "agent" | "model" | "tool";
580
- name: string;
581
- agent_type?: string;
582
- available: boolean;
583
- customizable: boolean;
584
- capabilities: {
585
- session: boolean;
586
- runs: boolean;
587
- steering: boolean;
588
- interrupt: boolean;
589
- ordinary_session_preparation?: boolean;
590
- runs_billing_modes?: string[];
591
- };
592
- pricing: unknown;
593
- input_schema: object;
594
- output_schema: object;
595
- addons_schema: object;
596
- native_operations?: object[];
597
- connection_support?: ConnectionSupport;
598
- };
599
- type RunEvent = {
600
- id: string;
601
- run_id: string;
602
- created_at: string;
603
- type: string;
604
- data: Record<string, unknown>;
605
- };
606
- type RunEventPage = {
607
- events: RunEvent[];
608
- cursor: string | null;
609
- };
610
- type RunObservation = {
611
- cursor?: string;
612
- signal?: AbortSignal;
613
- };
614
- type RunControlReceipt = {
615
- run_id: string;
616
- command_id: string;
617
- status: string;
618
- };
619
- /** An API failure never implies that an admission or supplier execution was retried. */
620
- declare class ProductApiError extends Error {
621
- readonly status: number;
622
- readonly code: string;
623
- constructor(status: number, code: string, message: string);
624
- }
625
- /** Public product client. Persist the request and key before sending; replay them unchanged after an unknown result. */
626
- declare function createProductClient(options: {
627
- token: string | (() => string | Promise<string>);
628
- universe: string;
629
- baseUrl?: string;
630
- fetch?: typeof fetch;
631
- }): {
632
- list(signal?: AbortSignal): Promise<Product[]>;
633
- prepare(input: PrepareProductSessionInput, context: ProductRequest): Promise<PreparedProductSession>;
634
- create(input: CreateProductAgentInput, context: ProductRequest): Promise<{
635
- id: string;
636
- } & Record<string, unknown>>;
637
- publish(agentId: string, input: PublishProductInput, context: ProductRequest): Promise<{
638
- product: string;
639
- version: string;
640
- }>;
641
- delist(agentId: string, context: ProductRequest): Promise<{
642
- product: string;
643
- status: "delisted";
644
- }>;
645
- start(input: Omit<CreateRunInput, "stream">, context: ProductRequest): Promise<PublicRun>;
646
- read(runId: string, signal?: AbortSignal): Promise<PublicRun>;
647
- control(runId: string, input: RunControlInput, context: ProductRequest): Promise<RunControlReceipt>;
648
- events(runId: string, context?: RunObservation): Promise<RunEventPage>;
649
- observe(runId: string, context?: RunObservation): Promise<Response>;
650
- };
651
-
652
- export { type AgentAddons, type CreateProductAgentInput, type CreateRunInput, type ExecutionProjection, type PrepareProductSessionInput, type PreparedProductSession, type Product, ProductApiError, type ProductRequest, type PublicRun, type PublishProductInput, type RunControlInput, type RunControlReceipt, type RunEvent, type RunEventPage, type RunObservation, createProductClient };