@bubblelab/bubble-core 0.1.237 → 0.1.238
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 +134 -113
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +3 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +68 -22
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +30 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +24 -24
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +84 -0
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.js +214 -0
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- 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 +4 -4
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +95 -10
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +8 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +5 -5
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +2 -1
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/index.d.ts +1 -0
- package/dist/bubbles/service-bubble/apify/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/index.js +2 -0
- package/dist/bubbles/service-bubble/apify/index.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +112 -112
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +160 -160
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +2 -2
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +4 -4
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/capability-pipeline.d.ts +2 -2
- package/dist/bubbles/service-bubble/capability-pipeline.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/capability-pipeline.js +18 -1
- package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +94 -94
- package/dist/bubbles/service-bubble/firecrawl.d.ts +176 -176
- package/dist/bubbles/service-bubble/github.d.ts +72 -72
- package/dist/bubbles/service-bubble/gmail.d.ts +64 -64
- package/dist/bubbles/service-bubble/google-calendar.d.ts +86 -86
- package/dist/bubbles/service-bubble/google-drive.d.ts +36 -36
- package/dist/bubbles/service-bubble/http.d.ts +8 -8
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +6 -6
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/jira/jira.d.ts +38 -38
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +46 -46
- package/dist/bubbles/service-bubble/notion/notion.d.ts +380 -380
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +2 -2
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/slab/slab.d.ts +16 -16
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +20 -20
- package/dist/bubbles/service-bubble/slack/slack.d.ts +98 -98
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +32 -32
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +2 -2
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +285 -0
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/app-rankings-tool.js +230 -0
- package/dist/bubbles/tool-bubble/app-rankings-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +34 -34
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- 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/yc-scraper-tool.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +24 -24
- package/dist/bubbles.json +279 -3
- 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
|
@@ -110,9 +110,9 @@ export declare class AssembledBubble<T extends AssembledParamsInput = AssembledP
|
|
|
110
110
|
person_id: string;
|
|
111
111
|
email?: string | undefined;
|
|
112
112
|
credentials?: Record<string, string> | undefined;
|
|
113
|
-
channels?: string[] | undefined;
|
|
114
113
|
first_name?: string | undefined;
|
|
115
114
|
last_name?: string | undefined;
|
|
115
|
+
channels?: string[] | undefined;
|
|
116
116
|
teams?: string[] | undefined;
|
|
117
117
|
timezone?: string | undefined;
|
|
118
118
|
site?: string | undefined;
|
|
@@ -123,9 +123,9 @@ export declare class AssembledBubble<T extends AssembledParamsInput = AssembledP
|
|
|
123
123
|
person_id: string;
|
|
124
124
|
email?: string | undefined;
|
|
125
125
|
credentials?: Record<string, string> | undefined;
|
|
126
|
-
channels?: string[] | undefined;
|
|
127
126
|
first_name?: string | undefined;
|
|
128
127
|
last_name?: string | undefined;
|
|
128
|
+
channels?: string[] | undefined;
|
|
129
129
|
teams?: string[] | undefined;
|
|
130
130
|
timezone?: string | undefined;
|
|
131
131
|
site?: string | undefined;
|
|
@@ -101,9 +101,9 @@ export declare const AssembledParamsSchema: z.ZodDiscriminatedUnion<"operation",
|
|
|
101
101
|
person_id: string;
|
|
102
102
|
email?: string | undefined;
|
|
103
103
|
credentials?: Record<string, string> | undefined;
|
|
104
|
-
channels?: string[] | undefined;
|
|
105
104
|
first_name?: string | undefined;
|
|
106
105
|
last_name?: string | undefined;
|
|
106
|
+
channels?: string[] | undefined;
|
|
107
107
|
teams?: string[] | undefined;
|
|
108
108
|
timezone?: string | undefined;
|
|
109
109
|
site?: string | undefined;
|
|
@@ -114,9 +114,9 @@ export declare const AssembledParamsSchema: z.ZodDiscriminatedUnion<"operation",
|
|
|
114
114
|
person_id: string;
|
|
115
115
|
email?: string | undefined;
|
|
116
116
|
credentials?: Record<string, string> | undefined;
|
|
117
|
-
channels?: string[] | undefined;
|
|
118
117
|
first_name?: string | undefined;
|
|
119
118
|
last_name?: string | undefined;
|
|
119
|
+
channels?: string[] | undefined;
|
|
120
120
|
teams?: string[] | undefined;
|
|
121
121
|
timezone?: string | undefined;
|
|
122
122
|
site?: string | undefined;
|
|
@@ -169,6 +169,7 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
169
169
|
captchaImageSelector?: string | undefined;
|
|
170
170
|
captchaInputSelector?: string | undefined;
|
|
171
171
|
} | undefined;
|
|
172
|
+
context_id?: string | undefined;
|
|
172
173
|
cookies?: {
|
|
173
174
|
value: string;
|
|
174
175
|
path: string;
|
|
@@ -178,7 +179,6 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
178
179
|
httpOnly: boolean;
|
|
179
180
|
secure: boolean;
|
|
180
181
|
}[] | undefined;
|
|
181
|
-
context_id?: string | undefined;
|
|
182
182
|
proxies?: true | ({
|
|
183
183
|
type: "browserbase";
|
|
184
184
|
geolocation?: {
|
|
@@ -204,6 +204,7 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
204
204
|
captchaImageSelector?: string | undefined;
|
|
205
205
|
captchaInputSelector?: string | undefined;
|
|
206
206
|
} | undefined;
|
|
207
|
+
context_id?: string | undefined;
|
|
207
208
|
cookies?: {
|
|
208
209
|
value: string;
|
|
209
210
|
path: string;
|
|
@@ -213,7 +214,6 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
213
214
|
httpOnly: boolean;
|
|
214
215
|
secure: boolean;
|
|
215
216
|
}[] | undefined;
|
|
216
|
-
context_id?: string | undefined;
|
|
217
217
|
viewport_width?: number | undefined;
|
|
218
218
|
viewport_height?: number | undefined;
|
|
219
219
|
proxies?: true | ({
|
|
@@ -537,14 +537,14 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
537
537
|
error: string;
|
|
538
538
|
success: boolean;
|
|
539
539
|
operation: "screenshot";
|
|
540
|
-
format?: string | undefined;
|
|
541
540
|
data?: string | undefined;
|
|
541
|
+
format?: string | undefined;
|
|
542
542
|
}, {
|
|
543
543
|
error: string;
|
|
544
544
|
success: boolean;
|
|
545
545
|
operation: "screenshot";
|
|
546
|
-
format?: string | undefined;
|
|
547
546
|
data?: string | undefined;
|
|
547
|
+
format?: string | undefined;
|
|
548
548
|
}>, import("zod").ZodObject<{
|
|
549
549
|
operation: import("zod").ZodLiteral<"wait">;
|
|
550
550
|
success: import("zod").ZodBoolean;
|
|
@@ -91,7 +91,6 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
91
91
|
username?: string | undefined;
|
|
92
92
|
}>>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
contextId: string;
|
|
95
94
|
cookies: {
|
|
96
95
|
value: string;
|
|
97
96
|
path: string;
|
|
@@ -101,13 +100,13 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
101
100
|
httpOnly: boolean;
|
|
102
101
|
secure: boolean;
|
|
103
102
|
}[];
|
|
103
|
+
contextId: string;
|
|
104
104
|
proxy?: {
|
|
105
105
|
server: string;
|
|
106
106
|
password?: string | undefined;
|
|
107
107
|
username?: string | undefined;
|
|
108
108
|
} | undefined;
|
|
109
109
|
}, {
|
|
110
|
-
contextId: string;
|
|
111
110
|
cookies: {
|
|
112
111
|
value: string;
|
|
113
112
|
path: string;
|
|
@@ -117,6 +116,7 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
117
116
|
httpOnly: boolean;
|
|
118
117
|
secure: boolean;
|
|
119
118
|
}[];
|
|
119
|
+
contextId: string;
|
|
120
120
|
proxy?: {
|
|
121
121
|
server: string;
|
|
122
122
|
password?: string | undefined;
|
|
@@ -390,6 +390,7 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
390
390
|
captchaImageSelector?: string | undefined;
|
|
391
391
|
captchaInputSelector?: string | undefined;
|
|
392
392
|
} | undefined;
|
|
393
|
+
context_id?: string | undefined;
|
|
393
394
|
cookies?: {
|
|
394
395
|
value: string;
|
|
395
396
|
path: string;
|
|
@@ -399,7 +400,6 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
399
400
|
httpOnly: boolean;
|
|
400
401
|
secure: boolean;
|
|
401
402
|
}[] | undefined;
|
|
402
|
-
context_id?: string | undefined;
|
|
403
403
|
proxies?: true | ({
|
|
404
404
|
type: "browserbase";
|
|
405
405
|
geolocation?: {
|
|
@@ -425,6 +425,7 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
425
425
|
captchaImageSelector?: string | undefined;
|
|
426
426
|
captchaInputSelector?: string | undefined;
|
|
427
427
|
} | undefined;
|
|
428
|
+
context_id?: string | undefined;
|
|
428
429
|
cookies?: {
|
|
429
430
|
value: string;
|
|
430
431
|
path: string;
|
|
@@ -434,7 +435,6 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
434
435
|
httpOnly: boolean;
|
|
435
436
|
secure: boolean;
|
|
436
437
|
}[] | undefined;
|
|
437
|
-
context_id?: string | undefined;
|
|
438
438
|
viewport_width?: number | undefined;
|
|
439
439
|
viewport_height?: number | undefined;
|
|
440
440
|
proxies?: true | ({
|
|
@@ -761,14 +761,14 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
761
761
|
error: string;
|
|
762
762
|
success: boolean;
|
|
763
763
|
operation: "screenshot";
|
|
764
|
-
format?: string | undefined;
|
|
765
764
|
data?: string | undefined;
|
|
765
|
+
format?: string | undefined;
|
|
766
766
|
}, {
|
|
767
767
|
error: string;
|
|
768
768
|
success: boolean;
|
|
769
769
|
operation: "screenshot";
|
|
770
|
-
format?: string | undefined;
|
|
771
770
|
data?: string | undefined;
|
|
771
|
+
format?: string | undefined;
|
|
772
772
|
}>, z.ZodObject<{
|
|
773
773
|
operation: z.ZodLiteral<"wait">;
|
|
774
774
|
success: z.ZodBoolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BubbleContext } from '../../types/bubble.js';
|
|
2
|
-
import { type CredentialType } from '@bubblelab/shared-schemas';
|
|
2
|
+
import { type CredentialType, type CredentialPoolEntry } from '@bubblelab/shared-schemas';
|
|
3
3
|
import type { AIAgentParamsParsed, AIAgentResult } from './ai-agent.js';
|
|
4
4
|
type ResolveCapabilityCredentials = (capDef: {
|
|
5
5
|
metadata: {
|
|
@@ -9,7 +9,7 @@ type ResolveCapabilityCredentials = (capDef: {
|
|
|
9
9
|
}, capConfig: {
|
|
10
10
|
credentials?: Record<string, string>;
|
|
11
11
|
}) => Partial<Record<CredentialType, string>>;
|
|
12
|
-
export declare function applyCapabilityPreprocessing(params: AIAgentParamsParsed, bubbleContext: BubbleContext | undefined, resolveCapabilityCredentials: ResolveCapabilityCredentials): Promise<AIAgentParamsParsed>;
|
|
12
|
+
export declare function applyCapabilityPreprocessing(params: AIAgentParamsParsed, bubbleContext: BubbleContext | undefined, resolveCapabilityCredentials: ResolveCapabilityCredentials, credentialPool?: Partial<Record<CredentialType, CredentialPoolEntry[]>>): Promise<AIAgentParamsParsed>;
|
|
13
13
|
export declare function applyCapabilityPostprocessing(result: AIAgentResult, params: AIAgentParamsParsed, bubbleContext: BubbleContext | undefined, resolveCapabilityCredentials: ResolveCapabilityCredentials): Promise<AIAgentResult>;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=capability-pipeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability-pipeline.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/capability-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAEL,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"capability-pipeline.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/capability-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAC;AAKnC,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAExE,KAAK,4BAA4B,GAAG,CAClC,MAAM,EAAE;IACN,QAAQ,EAAE;QACR,mBAAmB,EAAE,cAAc,EAAE,CAAC;QACtC,mBAAmB,CAAC,EAAE,cAAc,EAAE,CAAC;KACxC,CAAC;CACH,EACD,SAAS,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,KAChD,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;AAE7C,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,mBAAmB,EAC3B,aAAa,EAAE,aAAa,GAAG,SAAS,EACxC,4BAA4B,EAAE,4BAA4B,EAC1D,cAAc,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,mBAAmB,EAAE,CAAC,CAAC,GACtE,OAAO,CAAC,mBAAmB,CAAC,CA4H9B;AAED,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,mBAAmB,EAC3B,aAAa,EAAE,aAAa,GAAG,SAAS,EACxC,4BAA4B,EAAE,4BAA4B,GACzD,OAAO,CAAC,aAAa,CAAC,CAUxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RECOMMENDED_MODELS, } from '@bubblelab/shared-schemas';
|
|
2
2
|
import { getCapability, } from '../../capabilities/index.js';
|
|
3
|
-
export async function applyCapabilityPreprocessing(params, bubbleContext, resolveCapabilityCredentials) {
|
|
3
|
+
export async function applyCapabilityPreprocessing(params, bubbleContext, resolveCapabilityCredentials, credentialPool) {
|
|
4
4
|
const caps = params.capabilities ?? [];
|
|
5
5
|
if (caps.length > 1) {
|
|
6
6
|
// Multi-capability delegator: use Sonnet for reliable tool-calling / routing.
|
|
@@ -67,6 +67,23 @@ export async function applyCapabilityPreprocessing(params, bubbleContext, resolv
|
|
|
67
67
|
hint ??= def.metadata.delegationHint;
|
|
68
68
|
if (hint)
|
|
69
69
|
summary += `\n When to use: ${hint}`;
|
|
70
|
+
// List available credentials when multiple exist for a type
|
|
71
|
+
if (credentialPool) {
|
|
72
|
+
const capCredTypes = [
|
|
73
|
+
...def.metadata.requiredCredentials,
|
|
74
|
+
...(def.metadata.optionalCredentials ?? []),
|
|
75
|
+
];
|
|
76
|
+
for (const credType of capCredTypes) {
|
|
77
|
+
const pool = credentialPool[credType];
|
|
78
|
+
if (pool && pool.length > 1) {
|
|
79
|
+
summary += `\n Available ${credType} accounts:`;
|
|
80
|
+
for (const entry of pool) {
|
|
81
|
+
summary += `\n - id=${entry.id}: "${entry.name}"`;
|
|
82
|
+
}
|
|
83
|
+
summary += `\n Pass 'credentials: { ${credType}: <id> }' to use-capability to select a specific account.`;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
70
87
|
return summary;
|
|
71
88
|
}))).filter((summary) => Boolean(summary));
|
|
72
89
|
params.systemPrompt += `\n\n---\nSYSTEM CAPABILITY EXTENSIONS:\nMultiple specialized capabilities are available. You MUST delegate to them using the 'use-capability' tool.\n\nAvailable Capabilities:\n${summaries.join('\n\n')}\n\nDELEGATION RULES:\n- Use 'use-capability' tool to delegate tasks to the appropriate capability\n- Do NOT attempt to handle capability tasks yourself\n- Include full context when delegating, including all known user details and preferences from context (especially timezone)\n- Can chain multiple capabilities if needed\n- Only respond directly for: greetings, clarifications, or tasks outside all capabilities\n- IMPORTANT: The user CANNOT see tool results from delegate agents. You MUST re-present all information, data, tables, and results returned by delegates in your own response. Never say "as shown above" or assume the user saw the delegate's output.\n- PRESERVE ALL LINKS: When a delegate returns URLs or clickable links (e.g., HubSpot record links, Jira ticket links, document URLs), you MUST include them in your response. Never drop links when reformatting tables — links are critical for the user to navigate to the source. If a table has too many rows to include all links, include links for at least the top/highlighted records.\n- When a delegate returns image or photo URLs, include them directly in your response on their own line as a bare URL (no markdown formatting). The chat client will automatically render the image inline from the URL. NEVER call read_image on URLs returned by delegates.\n- Before asking the user for information you don't have, check if any connected capability could help you find or look up that information first. Prefer proactive discovery over asking.\n---\n\nYour role is to understand the user's request and delegate to the appropriate capability or respond directly when appropriate.`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability-pipeline.js","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/capability-pipeline.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,
|
|
1
|
+
{"version":3,"file":"capability-pipeline.js","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/capability-pipeline.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,GAGnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,aAAa,GAEd,MAAM,6BAA6B,CAAC;AAarC,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,MAA2B,EAC3B,aAAwC,EACxC,4BAA0D,EAC1D,cAAuE;IAEvE,MAAM,IAAI,GAAG,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC;IACvC,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACpB,8EAA8E;QAC9E,qEAAqE;QACrE,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,kBAAkB,CAAC,IAAiC,CAAC;QAC1E,MAAM,CAAC,KAAK,CAAC,eAAe,GAAG,QAAQ,CAAC;IAC1C,CAAC;SAAM,CAAC;QACN,wFAAwF;QACxF,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,EAAE,UAAU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