@bubblelab/bubble-core 0.1.122 → 0.1.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +163 -143
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +2 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +148 -148
- package/dist/bubbles/service-bubble/ai-agent.d.ts +106 -106
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +168 -87
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +170 -170
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +88 -88
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +72 -72
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +96 -96
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +32 -32
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +34 -34
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +130 -130
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +162 -162
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +864 -864
- package/dist/bubbles/service-bubble/followupboss.d.ts +164 -164
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +72 -72
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +112 -112
- package/dist/bubbles/service-bubble/github.d.ts +152 -152
- package/dist/bubbles/service-bubble/gmail.d.ts +657 -657
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +102 -102
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +56 -56
- package/dist/bubbles/service-bubble/http.d.ts +22 -22
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +70 -70
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +74 -74
- package/dist/bubbles/service-bubble/notion/notion.d.ts +642 -642
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.js +2 -1
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/salesforce/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/index.js +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +1331 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js +618 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +1445 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +609 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +87 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +181 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +684 -684
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +153 -153
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +175 -175
- package/dist/bubbles/service-bubble/telegram.d.ts +1590 -1590
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +17 -17
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +17 -17
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +58 -58
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +378 -378
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +235 -0
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/list-capabilities-tool.js +105 -0
- package/dist/bubbles/tool-bubble/list-capabilities-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +122 -122
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +80 -80
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +178 -178
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +50 -50
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +48 -48
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +108 -108
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +137 -4
- package/dist/capabilities/define-capability.d.ts +8 -2
- package/dist/capabilities/define-capability.d.ts.map +1 -1
- package/dist/capabilities/define-capability.js +3 -0
- package/dist/capabilities/define-capability.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/available-tools.d.ts +1 -1
- package/dist/types/available-tools.d.ts.map +1 -1
- package/dist/types/available-tools.js +1 -0
- package/dist/types/available-tools.js.map +1 -1
- package/package.json +2 -2
|
@@ -43,8 +43,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
43
43
|
description: z.ZodOptional<z.ZodString>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
type: "base64";
|
|
46
|
-
mimeType: string;
|
|
47
46
|
data: string;
|
|
47
|
+
mimeType: string;
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
data: string;
|
|
@@ -141,15 +141,15 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
141
141
|
} | undefined;
|
|
142
142
|
}>>;
|
|
143
143
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
144
|
-
name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "get-bubble-details-tool", "get-trigger-detail-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "people-search-tool", "sql-query-tool"]>;
|
|
144
|
+
name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "list-capabilities-tool", "get-bubble-details-tool", "get-trigger-detail-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "people-search-tool", "sql-query-tool"]>;
|
|
145
145
|
credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>;
|
|
146
146
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
148
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
149
149
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
150
150
|
config?: Record<string, unknown> | undefined;
|
|
151
151
|
}, {
|
|
152
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
152
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
153
153
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
154
154
|
config?: Record<string, unknown> | undefined;
|
|
155
155
|
}>, "many">>;
|
|
@@ -161,12 +161,12 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
description: string;
|
|
163
163
|
name: string;
|
|
164
|
-
schema: Record<string, unknown
|
|
164
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
165
165
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
166
166
|
}, {
|
|
167
167
|
description: string;
|
|
168
168
|
name: string;
|
|
169
|
-
schema: Record<string, unknown
|
|
169
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
170
170
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
171
171
|
}>, "many">>>;
|
|
172
172
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -188,6 +188,22 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
188
188
|
expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
message: string;
|
|
191
|
+
tools: {
|
|
192
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
193
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
194
|
+
config?: Record<string, unknown> | undefined;
|
|
195
|
+
}[];
|
|
196
|
+
images: ({
|
|
197
|
+
type: "base64";
|
|
198
|
+
data: string;
|
|
199
|
+
mimeType: string;
|
|
200
|
+
description?: string | undefined;
|
|
201
|
+
} | {
|
|
202
|
+
type: "url";
|
|
203
|
+
url: string;
|
|
204
|
+
description?: string | undefined;
|
|
205
|
+
})[];
|
|
206
|
+
systemPrompt: string;
|
|
191
207
|
model: {
|
|
192
208
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
193
209
|
temperature: number;
|
|
@@ -204,26 +220,15 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
204
220
|
maxRetries?: number | undefined;
|
|
205
221
|
} | undefined;
|
|
206
222
|
};
|
|
207
|
-
streaming: boolean;
|
|
208
|
-
tools: {
|
|
209
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
210
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
211
|
-
config?: Record<string, unknown> | undefined;
|
|
212
|
-
}[];
|
|
213
|
-
images: ({
|
|
214
|
-
type: "base64";
|
|
215
|
-
mimeType: string;
|
|
216
|
-
data: string;
|
|
217
|
-
description?: string | undefined;
|
|
218
|
-
} | {
|
|
219
|
-
type: "url";
|
|
220
|
-
url: string;
|
|
221
|
-
description?: string | undefined;
|
|
222
|
-
})[];
|
|
223
|
-
systemPrompt: string;
|
|
224
223
|
maxIterations: number;
|
|
224
|
+
streaming: boolean;
|
|
225
225
|
name?: string | undefined;
|
|
226
226
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
227
|
+
capabilities?: {
|
|
228
|
+
id: string;
|
|
229
|
+
inputs: Record<string, string | number | boolean | string[]>;
|
|
230
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
231
|
+
}[] | undefined;
|
|
227
232
|
conversationHistory?: {
|
|
228
233
|
role: "user" | "assistant" | "tool";
|
|
229
234
|
content: string;
|
|
@@ -233,41 +238,24 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
233
238
|
customTools?: {
|
|
234
239
|
description: string;
|
|
235
240
|
name: string;
|
|
236
|
-
schema: Record<string, unknown
|
|
241
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
237
242
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
238
243
|
}[] | undefined;
|
|
239
|
-
capabilities?: {
|
|
240
|
-
id: string;
|
|
241
|
-
inputs: Record<string, string | number | boolean | string[]>;
|
|
242
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
243
|
-
}[] | undefined;
|
|
244
244
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
245
245
|
}, {
|
|
246
246
|
message: string;
|
|
247
247
|
name?: string | undefined;
|
|
248
248
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
249
|
-
model?: {
|
|
250
|
-
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
251
|
-
temperature?: number | undefined;
|
|
252
|
-
maxTokens?: number | undefined;
|
|
253
|
-
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
254
|
-
maxRetries?: number | undefined;
|
|
255
|
-
provider?: string[] | undefined;
|
|
256
|
-
jsonMode?: boolean | undefined;
|
|
257
|
-
backupModel?: {
|
|
258
|
-
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
259
|
-
temperature?: number | undefined;
|
|
260
|
-
maxTokens?: number | undefined;
|
|
261
|
-
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
262
|
-
maxRetries?: number | undefined;
|
|
263
|
-
} | undefined;
|
|
264
|
-
} | undefined;
|
|
265
|
-
streaming?: boolean | undefined;
|
|
266
249
|
tools?: {
|
|
267
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
250
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
268
251
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
269
252
|
config?: Record<string, unknown> | undefined;
|
|
270
253
|
}[] | undefined;
|
|
254
|
+
capabilities?: {
|
|
255
|
+
id: string;
|
|
256
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
257
|
+
inputs?: Record<string, string | number | boolean | string[]> | undefined;
|
|
258
|
+
}[] | undefined;
|
|
271
259
|
images?: ({
|
|
272
260
|
data: string;
|
|
273
261
|
type?: "base64" | undefined;
|
|
@@ -285,18 +273,30 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
285
273
|
name?: string | undefined;
|
|
286
274
|
}[] | undefined;
|
|
287
275
|
systemPrompt?: string | undefined;
|
|
276
|
+
model?: {
|
|
277
|
+
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
278
|
+
temperature?: number | undefined;
|
|
279
|
+
maxTokens?: number | undefined;
|
|
280
|
+
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
281
|
+
maxRetries?: number | undefined;
|
|
282
|
+
provider?: string[] | undefined;
|
|
283
|
+
jsonMode?: boolean | undefined;
|
|
284
|
+
backupModel?: {
|
|
285
|
+
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
286
|
+
temperature?: number | undefined;
|
|
287
|
+
maxTokens?: number | undefined;
|
|
288
|
+
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
289
|
+
maxRetries?: number | undefined;
|
|
290
|
+
} | undefined;
|
|
291
|
+
} | undefined;
|
|
288
292
|
customTools?: {
|
|
289
293
|
description: string;
|
|
290
294
|
name: string;
|
|
291
|
-
schema: Record<string, unknown
|
|
295
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
292
296
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
293
297
|
}[] | undefined;
|
|
294
298
|
maxIterations?: number | undefined;
|
|
295
|
-
|
|
296
|
-
id: string;
|
|
297
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
298
|
-
inputs?: Record<string, string | number | boolean | string[]> | undefined;
|
|
299
|
-
}[] | undefined;
|
|
299
|
+
streaming?: boolean | undefined;
|
|
300
300
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
301
301
|
}>;
|
|
302
302
|
declare const AIAgentResultSchema: z.ZodObject<{
|
|
@@ -371,8 +371,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
371
371
|
description: z.ZodOptional<z.ZodString>;
|
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
373
|
type: "base64";
|
|
374
|
-
mimeType: string;
|
|
375
374
|
data: string;
|
|
375
|
+
mimeType: string;
|
|
376
376
|
description?: string | undefined;
|
|
377
377
|
}, {
|
|
378
378
|
data: string;
|
|
@@ -469,15 +469,15 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
469
469
|
} | undefined;
|
|
470
470
|
}>>;
|
|
471
471
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
472
|
-
name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "get-bubble-details-tool", "get-trigger-detail-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "people-search-tool", "sql-query-tool"]>;
|
|
472
|
+
name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "list-capabilities-tool", "get-bubble-details-tool", "get-trigger-detail-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "people-search-tool", "sql-query-tool"]>;
|
|
473
473
|
credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>;
|
|
474
474
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
476
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
477
477
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
478
478
|
config?: Record<string, unknown> | undefined;
|
|
479
479
|
}, {
|
|
480
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
480
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
481
481
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
482
482
|
config?: Record<string, unknown> | undefined;
|
|
483
483
|
}>, "many">>;
|
|
@@ -489,12 +489,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
490
|
description: string;
|
|
491
491
|
name: string;
|
|
492
|
-
schema: Record<string, unknown
|
|
492
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
493
493
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
494
494
|
}, {
|
|
495
495
|
description: string;
|
|
496
496
|
name: string;
|
|
497
|
-
schema: Record<string, unknown
|
|
497
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
498
498
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
499
499
|
}>, "many">>>;
|
|
500
500
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -516,6 +516,22 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
516
516
|
expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
518
|
message: string;
|
|
519
|
+
tools: {
|
|
520
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
521
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
522
|
+
config?: Record<string, unknown> | undefined;
|
|
523
|
+
}[];
|
|
524
|
+
images: ({
|
|
525
|
+
type: "base64";
|
|
526
|
+
data: string;
|
|
527
|
+
mimeType: string;
|
|
528
|
+
description?: string | undefined;
|
|
529
|
+
} | {
|
|
530
|
+
type: "url";
|
|
531
|
+
url: string;
|
|
532
|
+
description?: string | undefined;
|
|
533
|
+
})[];
|
|
534
|
+
systemPrompt: string;
|
|
519
535
|
model: {
|
|
520
536
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
521
537
|
temperature: number;
|
|
@@ -532,26 +548,15 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
532
548
|
maxRetries?: number | undefined;
|
|
533
549
|
} | undefined;
|
|
534
550
|
};
|
|
535
|
-
streaming: boolean;
|
|
536
|
-
tools: {
|
|
537
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
538
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
539
|
-
config?: Record<string, unknown> | undefined;
|
|
540
|
-
}[];
|
|
541
|
-
images: ({
|
|
542
|
-
type: "base64";
|
|
543
|
-
mimeType: string;
|
|
544
|
-
data: string;
|
|
545
|
-
description?: string | undefined;
|
|
546
|
-
} | {
|
|
547
|
-
type: "url";
|
|
548
|
-
url: string;
|
|
549
|
-
description?: string | undefined;
|
|
550
|
-
})[];
|
|
551
|
-
systemPrompt: string;
|
|
552
551
|
maxIterations: number;
|
|
552
|
+
streaming: boolean;
|
|
553
553
|
name?: string | undefined;
|
|
554
554
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
555
|
+
capabilities?: {
|
|
556
|
+
id: string;
|
|
557
|
+
inputs: Record<string, string | number | boolean | string[]>;
|
|
558
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
559
|
+
}[] | undefined;
|
|
555
560
|
conversationHistory?: {
|
|
556
561
|
role: "user" | "assistant" | "tool";
|
|
557
562
|
content: string;
|
|
@@ -561,41 +566,24 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
561
566
|
customTools?: {
|
|
562
567
|
description: string;
|
|
563
568
|
name: string;
|
|
564
|
-
schema: Record<string, unknown
|
|
569
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
565
570
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
566
571
|
}[] | undefined;
|
|
567
|
-
capabilities?: {
|
|
568
|
-
id: string;
|
|
569
|
-
inputs: Record<string, string | number | boolean | string[]>;
|
|
570
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
571
|
-
}[] | undefined;
|
|
572
572
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
573
573
|
}, {
|
|
574
574
|
message: string;
|
|
575
575
|
name?: string | undefined;
|
|
576
576
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
577
|
-
model?: {
|
|
578
|
-
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
579
|
-
temperature?: number | undefined;
|
|
580
|
-
maxTokens?: number | undefined;
|
|
581
|
-
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
582
|
-
maxRetries?: number | undefined;
|
|
583
|
-
provider?: string[] | undefined;
|
|
584
|
-
jsonMode?: boolean | undefined;
|
|
585
|
-
backupModel?: {
|
|
586
|
-
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
587
|
-
temperature?: number | undefined;
|
|
588
|
-
maxTokens?: number | undefined;
|
|
589
|
-
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
590
|
-
maxRetries?: number | undefined;
|
|
591
|
-
} | undefined;
|
|
592
|
-
} | undefined;
|
|
593
|
-
streaming?: boolean | undefined;
|
|
594
577
|
tools?: {
|
|
595
|
-
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
578
|
+
name: "list-capabilities-tool" | "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
596
579
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
597
580
|
config?: Record<string, unknown> | undefined;
|
|
598
581
|
}[] | undefined;
|
|
582
|
+
capabilities?: {
|
|
583
|
+
id: string;
|
|
584
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
585
|
+
inputs?: Record<string, string | number | boolean | string[]> | undefined;
|
|
586
|
+
}[] | undefined;
|
|
599
587
|
images?: ({
|
|
600
588
|
data: string;
|
|
601
589
|
type?: "base64" | undefined;
|
|
@@ -613,18 +601,30 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
613
601
|
name?: string | undefined;
|
|
614
602
|
}[] | undefined;
|
|
615
603
|
systemPrompt?: string | undefined;
|
|
604
|
+
model?: {
|
|
605
|
+
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
606
|
+
temperature?: number | undefined;
|
|
607
|
+
maxTokens?: number | undefined;
|
|
608
|
+
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
609
|
+
maxRetries?: number | undefined;
|
|
610
|
+
provider?: string[] | undefined;
|
|
611
|
+
jsonMode?: boolean | undefined;
|
|
612
|
+
backupModel?: {
|
|
613
|
+
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
614
|
+
temperature?: number | undefined;
|
|
615
|
+
maxTokens?: number | undefined;
|
|
616
|
+
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
617
|
+
maxRetries?: number | undefined;
|
|
618
|
+
} | undefined;
|
|
619
|
+
} | undefined;
|
|
616
620
|
customTools?: {
|
|
617
621
|
description: string;
|
|
618
622
|
name: string;
|
|
619
|
-
schema: Record<string, unknown
|
|
623
|
+
schema: z.ZodTypeAny | Record<string, unknown>;
|
|
620
624
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
621
625
|
}[] | undefined;
|
|
622
626
|
maxIterations?: number | undefined;
|
|
623
|
-
|
|
624
|
-
id: string;
|
|
625
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
626
|
-
inputs?: Record<string, string | number | boolean | string[]> | undefined;
|
|
627
|
-
}[] | undefined;
|
|
627
|
+
streaming?: boolean | undefined;
|
|
628
628
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
629
629
|
}>;
|
|
630
630
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-agent.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/ai-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,cAAc,EAGf,MAAM,2BAA2B,CAAC;AAInC,OAAO,EAEL,SAAS,EAET,cAAc,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE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