@bubblelab/bubble-core 0.1.40 → 0.1.41

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 (86) hide show
  1. package/dist/bubble-bundle.d.ts +146 -125
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +98 -98
  7. package/dist/bubbles/service-bubble/airtable.d.ts +122 -122
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +16 -16
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +148 -148
  10. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
  11. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +63 -63
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
  13. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
  14. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +126 -126
  15. package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
  16. package/dist/bubbles/service-bubble/firecrawl.d.ts +480 -480
  17. package/dist/bubbles/service-bubble/followupboss.d.ts +256 -256
  18. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +128 -128
  20. package/dist/bubbles/service-bubble/github.d.ts +124 -124
  21. package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +136 -136
  24. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +62 -62
  25. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +18 -18
  26. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  27. package/dist/bubbles/service-bubble/http.d.ts +4 -4
  28. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  29. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  30. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +17 -17
  31. package/dist/bubbles/service-bubble/notion/notion.d.ts +220 -220
  32. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  33. package/dist/bubbles/service-bubble/resend.d.ts +24 -24
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts +322 -322
  35. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  36. package/dist/bubbles/service-bubble/telegram.d.ts +116 -116
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +31 -31
  38. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +7 -7
  39. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  41. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +24 -24
  43. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  46. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  50. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  51. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +143 -0
  52. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  53. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +589 -0
  54. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  55. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  56. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  57. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +44 -0
  58. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  59. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +300 -300
  60. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +28 -28
  62. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  63. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
  64. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  65. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +62 -62
  66. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  67. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +88 -88
  68. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  69. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  71. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
  72. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  73. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  74. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +14 -14
  75. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +14 -14
  76. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +82 -82
  77. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +28 -28
  78. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +12 -12
  79. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +24 -24
  80. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
  81. package/dist/bubbles.json +125 -40
  82. package/dist/index.d.ts +1 -0
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/index.js +1 -0
  85. package/dist/index.js.map +1 -1
  86. package/package.json +2 -2
@@ -49,8 +49,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
49
49
  }, {
50
50
  data: string;
51
51
  type?: "base64" | undefined;
52
- mimeType?: string | undefined;
53
52
  description?: string | undefined;
53
+ mimeType?: string | undefined;
54
54
  }>, z.ZodObject<{
55
55
  type: z.ZodLiteral<"url">;
56
56
  url: z.ZodString;
@@ -83,7 +83,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
83
83
  systemPrompt: z.ZodDefault<z.ZodString>;
84
84
  name: z.ZodOptional<z.ZodDefault<z.ZodString>>;
85
85
  model: z.ZodDefault<z.ZodObject<{
86
- model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/x-ai/grok-4.1-fast", "openrouter/openai/gpt-oss-120b", "openrouter/deepseek/deepseek-chat-v3.1"]>;
86
+ model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>;
87
87
  temperature: z.ZodDefault<z.ZodNumber>;
88
88
  maxTokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
89
89
  reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
@@ -91,26 +91,26 @@ declare const AIAgentParamsSchema: z.ZodObject<{
91
91
  provider: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
92
92
  jsonMode: z.ZodDefault<z.ZodBoolean>;
93
93
  backupModel: z.ZodOptional<z.ZodDefault<z.ZodObject<{
94
- model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/x-ai/grok-4.1-fast", "openrouter/openai/gpt-oss-120b", "openrouter/deepseek/deepseek-chat-v3.1"]>;
94
+ model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>;
95
95
  temperature: z.ZodOptional<z.ZodNumber>;
96
96
  maxTokens: z.ZodOptional<z.ZodNumber>;
97
97
  reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
98
98
  maxRetries: z.ZodOptional<z.ZodNumber>;
99
99
  }, "strip", z.ZodTypeAny, {
100
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
100
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
101
101
  temperature?: number | undefined;
102
102
  maxTokens?: number | undefined;
103
103
  reasoningEffort?: "low" | "medium" | "high" | undefined;
104
104
  maxRetries?: number | undefined;
105
105
  }, {
106
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
106
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
107
107
  temperature?: number | undefined;
108
108
  maxTokens?: number | undefined;
109
109
  reasoningEffort?: "low" | "medium" | "high" | undefined;
110
110
  maxRetries?: number | undefined;
111
111
  }>>>;
112
112
  }, "strip", z.ZodTypeAny, {
113
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
113
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
114
114
  temperature: number;
115
115
  maxTokens: number;
116
116
  maxRetries: number;
@@ -118,14 +118,14 @@ declare const AIAgentParamsSchema: z.ZodObject<{
118
118
  reasoningEffort?: "low" | "medium" | "high" | undefined;
119
119
  provider?: string[] | undefined;
120
120
  backupModel?: {
121
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
121
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
122
122
  temperature?: number | undefined;
123
123
  maxTokens?: number | undefined;
124
124
  reasoningEffort?: "low" | "medium" | "high" | undefined;
125
125
  maxRetries?: number | undefined;
126
126
  } | undefined;
127
127
  }, {
128
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
128
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
129
129
  temperature?: number | undefined;
130
130
  maxTokens?: number | undefined;
131
131
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -133,7 +133,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
133
133
  provider?: string[] | undefined;
134
134
  jsonMode?: boolean | undefined;
135
135
  backupModel?: {
136
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
136
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
137
137
  temperature?: number | undefined;
138
138
  maxTokens?: number | undefined;
139
139
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -175,19 +175,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
175
175
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
176
176
  }, "strip", z.ZodTypeAny, {
177
177
  message: string;
178
- images: ({
179
- type: "base64";
180
- data: string;
181
- mimeType: string;
182
- description?: string | undefined;
183
- } | {
184
- type: "url";
185
- url: string;
186
- description?: string | undefined;
187
- })[];
188
- systemPrompt: string;
189
178
  model: {
190
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
179
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
191
180
  temperature: number;
192
181
  maxTokens: number;
193
182
  maxRetries: number;
@@ -195,28 +184,39 @@ declare const AIAgentParamsSchema: z.ZodObject<{
195
184
  reasoningEffort?: "low" | "medium" | "high" | undefined;
196
185
  provider?: string[] | undefined;
197
186
  backupModel?: {
198
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
187
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
199
188
  temperature?: number | undefined;
200
189
  maxTokens?: number | undefined;
201
190
  reasoningEffort?: "low" | "medium" | "high" | undefined;
202
191
  maxRetries?: number | undefined;
203
192
  } | undefined;
204
193
  };
194
+ streaming: boolean;
205
195
  tools: {
206
196
  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";
207
197
  credentials?: Partial<Record<CredentialType, string>> | undefined;
208
198
  config?: Record<string, unknown> | undefined;
209
199
  }[];
200
+ images: ({
201
+ type: "base64";
202
+ data: string;
203
+ mimeType: string;
204
+ description?: string | undefined;
205
+ } | {
206
+ type: "url";
207
+ url: string;
208
+ description?: string | undefined;
209
+ })[];
210
+ systemPrompt: string;
210
211
  maxIterations: number;
211
- streaming: boolean;
212
212
  name?: string | undefined;
213
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
213
214
  conversationHistory?: {
214
215
  role: "user" | "assistant" | "tool";
215
216
  content: string;
216
217
  toolCallId?: string | undefined;
217
218
  name?: string | undefined;
218
219
  }[] | undefined;
219
- credentials?: Partial<Record<CredentialType, string>> | undefined;
220
220
  customTools?: {
221
221
  description: string;
222
222
  name: string;
@@ -227,25 +227,9 @@ declare const AIAgentParamsSchema: z.ZodObject<{
227
227
  }, {
228
228
  message: string;
229
229
  name?: string | undefined;
230
- images?: ({
231
- data: string;
232
- type?: "base64" | undefined;
233
- mimeType?: string | undefined;
234
- description?: string | undefined;
235
- } | {
236
- type: "url";
237
- url: string;
238
- description?: string | undefined;
239
- })[] | undefined;
240
- conversationHistory?: {
241
- role: "user" | "assistant" | "tool";
242
- content: string;
243
- toolCallId?: string | undefined;
244
- name?: string | undefined;
245
- }[] | undefined;
246
- systemPrompt?: string | undefined;
230
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
247
231
  model?: {
248
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
232
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
249
233
  temperature?: number | undefined;
250
234
  maxTokens?: number | undefined;
251
235
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -253,19 +237,36 @@ declare const AIAgentParamsSchema: z.ZodObject<{
253
237
  provider?: string[] | undefined;
254
238
  jsonMode?: boolean | undefined;
255
239
  backupModel?: {
256
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
240
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
257
241
  temperature?: number | undefined;
258
242
  maxTokens?: number | undefined;
259
243
  reasoningEffort?: "low" | "medium" | "high" | undefined;
260
244
  maxRetries?: number | undefined;
261
245
  } | undefined;
262
246
  } | undefined;
263
- credentials?: Partial<Record<CredentialType, string>> | undefined;
247
+ streaming?: boolean | undefined;
264
248
  tools?: {
265
249
  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";
266
250
  credentials?: Partial<Record<CredentialType, string>> | undefined;
267
251
  config?: Record<string, unknown> | undefined;
268
252
  }[] | undefined;
253
+ images?: ({
254
+ data: string;
255
+ type?: "base64" | undefined;
256
+ description?: string | undefined;
257
+ mimeType?: string | undefined;
258
+ } | {
259
+ type: "url";
260
+ url: string;
261
+ description?: string | undefined;
262
+ })[] | undefined;
263
+ conversationHistory?: {
264
+ role: "user" | "assistant" | "tool";
265
+ content: string;
266
+ toolCallId?: string | undefined;
267
+ name?: string | undefined;
268
+ }[] | undefined;
269
+ systemPrompt?: string | undefined;
269
270
  customTools?: {
270
271
  description: string;
271
272
  name: string;
@@ -273,7 +274,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
273
274
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
274
275
  }[] | undefined;
275
276
  maxIterations?: number | undefined;
276
- streaming?: boolean | undefined;
277
277
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
278
278
  }>;
279
279
  declare const AIAgentResultSchema: z.ZodObject<{
@@ -295,6 +295,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
295
295
  error: z.ZodString;
296
296
  success: z.ZodBoolean;
297
297
  }, "strip", z.ZodTypeAny, {
298
+ success: boolean;
299
+ error: string;
298
300
  response: string;
299
301
  toolCalls: {
300
302
  tool: string;
@@ -302,9 +304,9 @@ declare const AIAgentResultSchema: z.ZodObject<{
302
304
  output?: unknown;
303
305
  }[];
304
306
  iterations: number;
305
- error: string;
306
- success: boolean;
307
307
  }, {
308
+ success: boolean;
309
+ error: string;
308
310
  response: string;
309
311
  toolCalls: {
310
312
  tool: string;
@@ -312,8 +314,6 @@ declare const AIAgentResultSchema: z.ZodObject<{
312
314
  output?: unknown;
313
315
  }[];
314
316
  iterations: number;
315
- error: string;
316
- success: boolean;
317
317
  }>;
318
318
  type AIAgentParams = z.input<typeof AIAgentParamsSchema> & {
319
319
  beforeToolCall?: ToolHookBefore;
@@ -348,8 +348,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
348
348
  }, {
349
349
  data: string;
350
350
  type?: "base64" | undefined;
351
- mimeType?: string | undefined;
352
351
  description?: string | undefined;
352
+ mimeType?: string | undefined;
353
353
  }>, z.ZodObject<{
354
354
  type: z.ZodLiteral<"url">;
355
355
  url: z.ZodString;
@@ -382,7 +382,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
382
382
  systemPrompt: z.ZodDefault<z.ZodString>;
383
383
  name: z.ZodOptional<z.ZodDefault<z.ZodString>>;
384
384
  model: z.ZodDefault<z.ZodObject<{
385
- model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/x-ai/grok-4.1-fast", "openrouter/openai/gpt-oss-120b", "openrouter/deepseek/deepseek-chat-v3.1"]>;
385
+ model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>;
386
386
  temperature: z.ZodDefault<z.ZodNumber>;
387
387
  maxTokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
388
388
  reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
@@ -390,26 +390,26 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
390
390
  provider: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
391
391
  jsonMode: z.ZodDefault<z.ZodBoolean>;
392
392
  backupModel: z.ZodOptional<z.ZodDefault<z.ZodObject<{
393
- model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/x-ai/grok-4.1-fast", "openrouter/openai/gpt-oss-120b", "openrouter/deepseek/deepseek-chat-v3.1"]>;
393
+ model: z.ZodEnum<["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/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>;
394
394
  temperature: z.ZodOptional<z.ZodNumber>;
395
395
  maxTokens: z.ZodOptional<z.ZodNumber>;
396
396
  reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
397
397
  maxRetries: z.ZodOptional<z.ZodNumber>;
398
398
  }, "strip", z.ZodTypeAny, {
399
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
399
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
400
400
  temperature?: number | undefined;
401
401
  maxTokens?: number | undefined;
402
402
  reasoningEffort?: "low" | "medium" | "high" | undefined;
403
403
  maxRetries?: number | undefined;
404
404
  }, {
405
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
405
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
406
406
  temperature?: number | undefined;
407
407
  maxTokens?: number | undefined;
408
408
  reasoningEffort?: "low" | "medium" | "high" | undefined;
409
409
  maxRetries?: number | undefined;
410
410
  }>>>;
411
411
  }, "strip", z.ZodTypeAny, {
412
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
412
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
413
413
  temperature: number;
414
414
  maxTokens: number;
415
415
  maxRetries: number;
@@ -417,14 +417,14 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
417
417
  reasoningEffort?: "low" | "medium" | "high" | undefined;
418
418
  provider?: string[] | undefined;
419
419
  backupModel?: {
420
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
420
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
421
421
  temperature?: number | undefined;
422
422
  maxTokens?: number | undefined;
423
423
  reasoningEffort?: "low" | "medium" | "high" | undefined;
424
424
  maxRetries?: number | undefined;
425
425
  } | undefined;
426
426
  }, {
427
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
427
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
428
428
  temperature?: number | undefined;
429
429
  maxTokens?: number | undefined;
430
430
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -432,7 +432,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
432
432
  provider?: string[] | undefined;
433
433
  jsonMode?: boolean | undefined;
434
434
  backupModel?: {
435
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
435
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
436
436
  temperature?: number | undefined;
437
437
  maxTokens?: number | undefined;
438
438
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -474,19 +474,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
474
474
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
475
475
  }, "strip", z.ZodTypeAny, {
476
476
  message: string;
477
- images: ({
478
- type: "base64";
479
- data: string;
480
- mimeType: string;
481
- description?: string | undefined;
482
- } | {
483
- type: "url";
484
- url: string;
485
- description?: string | undefined;
486
- })[];
487
- systemPrompt: string;
488
477
  model: {
489
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
478
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
490
479
  temperature: number;
491
480
  maxTokens: number;
492
481
  maxRetries: number;
@@ -494,28 +483,39 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
494
483
  reasoningEffort?: "low" | "medium" | "high" | undefined;
495
484
  provider?: string[] | undefined;
496
485
  backupModel?: {
497
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
486
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
498
487
  temperature?: number | undefined;
499
488
  maxTokens?: number | undefined;
500
489
  reasoningEffort?: "low" | "medium" | "high" | undefined;
501
490
  maxRetries?: number | undefined;
502
491
  } | undefined;
503
492
  };
493
+ streaming: boolean;
504
494
  tools: {
505
495
  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";
506
496
  credentials?: Partial<Record<CredentialType, string>> | undefined;
507
497
  config?: Record<string, unknown> | undefined;
508
498
  }[];
499
+ images: ({
500
+ type: "base64";
501
+ data: string;
502
+ mimeType: string;
503
+ description?: string | undefined;
504
+ } | {
505
+ type: "url";
506
+ url: string;
507
+ description?: string | undefined;
508
+ })[];
509
+ systemPrompt: string;
509
510
  maxIterations: number;
510
- streaming: boolean;
511
511
  name?: string | undefined;
512
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
512
513
  conversationHistory?: {
513
514
  role: "user" | "assistant" | "tool";
514
515
  content: string;
515
516
  toolCallId?: string | undefined;
516
517
  name?: string | undefined;
517
518
  }[] | undefined;
518
- credentials?: Partial<Record<CredentialType, string>> | undefined;
519
519
  customTools?: {
520
520
  description: string;
521
521
  name: string;
@@ -526,25 +526,9 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
526
526
  }, {
527
527
  message: string;
528
528
  name?: string | undefined;
529
- images?: ({
530
- data: string;
531
- type?: "base64" | undefined;
532
- mimeType?: string | undefined;
533
- description?: string | undefined;
534
- } | {
535
- type: "url";
536
- url: string;
537
- description?: string | undefined;
538
- })[] | undefined;
539
- conversationHistory?: {
540
- role: "user" | "assistant" | "tool";
541
- content: string;
542
- toolCallId?: string | undefined;
543
- name?: string | undefined;
544
- }[] | undefined;
545
- systemPrompt?: string | undefined;
529
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
546
530
  model?: {
547
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
531
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
548
532
  temperature?: number | undefined;
549
533
  maxTokens?: number | undefined;
550
534
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -552,19 +536,36 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
552
536
  provider?: string[] | undefined;
553
537
  jsonMode?: boolean | undefined;
554
538
  backupModel?: {
555
- 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
539
+ 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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b";
556
540
  temperature?: number | undefined;
557
541
  maxTokens?: number | undefined;
558
542
  reasoningEffort?: "low" | "medium" | "high" | undefined;
559
543
  maxRetries?: number | undefined;
560
544
  } | undefined;
561
545
  } | undefined;
562
- credentials?: Partial<Record<CredentialType, string>> | undefined;
546
+ streaming?: boolean | undefined;
563
547
  tools?: {
564
548
  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";
565
549
  credentials?: Partial<Record<CredentialType, string>> | undefined;
566
550
  config?: Record<string, unknown> | undefined;
567
551
  }[] | undefined;
552
+ images?: ({
553
+ data: string;
554
+ type?: "base64" | undefined;
555
+ description?: string | undefined;
556
+ mimeType?: string | undefined;
557
+ } | {
558
+ type: "url";
559
+ url: string;
560
+ description?: string | undefined;
561
+ })[] | undefined;
562
+ conversationHistory?: {
563
+ role: "user" | "assistant" | "tool";
564
+ content: string;
565
+ toolCallId?: string | undefined;
566
+ name?: string | undefined;
567
+ }[] | undefined;
568
+ systemPrompt?: string | undefined;
568
569
  customTools?: {
569
570
  description: string;
570
571
  name: string;
@@ -572,7 +573,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
572
573
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
573
574
  }[] | undefined;
574
575
  maxIterations?: number | undefined;
575
- streaming?: boolean | undefined;
576
576
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
577
577
  }>;
578
578
  static readonly resultSchema: z.ZodObject<{
@@ -594,6 +594,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
594
594
  error: z.ZodString;
595
595
  success: z.ZodBoolean;
596
596
  }, "strip", z.ZodTypeAny, {
597
+ success: boolean;
598
+ error: string;
597
599
  response: string;
598
600
  toolCalls: {
599
601
  tool: string;
@@ -601,9 +603,9 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
601
603
  output?: unknown;
602
604
  }[];
603
605
  iterations: number;
604
- error: string;
605
- success: boolean;
606
606
  }, {
607
+ success: boolean;
608
+ error: string;
607
609
  response: string;
608
610
  toolCalls: {
609
611
  tool: string;
@@ -611,8 +613,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
611
613
  output?: unknown;
612
614
  }[];
613
615
  iterations: number;
614
- error: string;
615
- success: boolean;
616
616
  }>;
617
617
  static readonly shortDescription = "AI agent with LangGraph for tool-enabled conversations, multimodal support, and JSON mode";
618
618
  static readonly longDescription = "\n An AI agent powered by LangGraph that can use any tool bubble to answer questions.\n Use cases:\n - Add tools to enhance the AI agent's capabilities (web-search-tool, web-scrape-tool)\n - Multi-step reasoning with tool assistance\n - Tool-augmented conversations with any registered tool\n - JSON mode for structured output (strips markdown formatting)\n ";