@bubblelab/shared-schemas 0.1.123 → 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/bubbleflow-schema.d.ts +6 -0
- package/dist/bubbleflow-schema.d.ts.map +1 -1
- package/dist/capability-schema.d.ts +72 -5
- package/dist/capability-schema.d.ts.map +1 -1
- package/dist/coffee.d.ts +30 -0
- package/dist/coffee.d.ts.map +1 -1
- package/dist/credential-schema.d.ts.map +1 -1
- package/dist/generate-bubbleflow-schema.d.ts +7 -0
- package/dist/generate-bubbleflow-schema.d.ts.map +1 -1
- package/dist/index.js +29 -2
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1016,6 +1016,7 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
1016
1016
|
}>;
|
|
1017
1017
|
}>>;
|
|
1018
1018
|
requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>;
|
|
1019
|
+
optionalCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>;
|
|
1019
1020
|
eventType: z.ZodString;
|
|
1020
1021
|
triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1021
1022
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -1114,6 +1115,7 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
1114
1115
|
inputSchema?: Record<string, unknown> | undefined;
|
|
1115
1116
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1116
1117
|
triggerCredentialId?: number | null | undefined;
|
|
1118
|
+
optionalCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1117
1119
|
webhook?: {
|
|
1118
1120
|
path: string;
|
|
1119
1121
|
id: number;
|
|
@@ -1200,6 +1202,7 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
1200
1202
|
inputSchema?: Record<string, unknown> | undefined;
|
|
1201
1203
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1202
1204
|
triggerCredentialId?: number | null | undefined;
|
|
1205
|
+
optionalCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1203
1206
|
webhook?: {
|
|
1204
1207
|
path: string;
|
|
1205
1208
|
id: number;
|
|
@@ -1280,6 +1283,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1280
1283
|
isActive: z.ZodBoolean;
|
|
1281
1284
|
organizationId: z.ZodOptional<z.ZodNumber>;
|
|
1282
1285
|
requiredCredentials: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>;
|
|
1286
|
+
optionalCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>;
|
|
1283
1287
|
usedCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1284
1288
|
id: z.ZodNumber;
|
|
1285
1289
|
name: z.ZodString;
|
|
@@ -1829,6 +1833,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1829
1833
|
organizationId?: number | undefined;
|
|
1830
1834
|
prompt?: string | undefined;
|
|
1831
1835
|
triggerCredentialId?: number | null | undefined;
|
|
1836
|
+
optionalCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1832
1837
|
generationError?: string | null | undefined;
|
|
1833
1838
|
usedCredentials?: {
|
|
1834
1839
|
name: string;
|
|
@@ -1949,6 +1954,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1949
1954
|
organizationId?: number | undefined;
|
|
1950
1955
|
prompt?: string | undefined;
|
|
1951
1956
|
triggerCredentialId?: number | null | undefined;
|
|
1957
|
+
optionalCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1952
1958
|
generationError?: string | null | undefined;
|
|
1953
1959
|
usedCredentials?: {
|
|
1954
1960
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubbleflow-schema.d.ts","sourceRoot":"","sources":["../src/bubbleflow-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAGL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDE,CAAC;AAGtC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAsCE,CAAC;AAG3C,eAAO,MAAM,uBAAuB,wCAEE,CAAC;AAGvC,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;EAeL,CAAC;AAEzC,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { CredentialType, type BubbleName } from './types.js';
|
|
3
|
+
/**
|
|
4
|
+
* String literal union of all known capability IDs.
|
|
5
|
+
* Runtime validation stays permissive (any non-empty string); TypeScript narrows.
|
|
6
|
+
*/
|
|
7
|
+
export type CapabilityId = 'knowledge-base' | 'google-doc-knowledge-base' | 'data-analyst';
|
|
8
|
+
/**
|
|
9
|
+
* Schema for a provider entry in a capability's metadata.
|
|
10
|
+
* Used by the wizard to render a data-driven "Choose Providers" step.
|
|
11
|
+
*/
|
|
12
|
+
export declare const CapabilityProviderMetadataSchema: z.ZodObject<{
|
|
13
|
+
value: z.ZodString;
|
|
14
|
+
label: z.ZodString;
|
|
15
|
+
credentialType: z.ZodNativeEnum<typeof CredentialType>;
|
|
16
|
+
icon: z.ZodString;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
value: string;
|
|
19
|
+
label: string;
|
|
20
|
+
credentialType: CredentialType;
|
|
21
|
+
icon: string;
|
|
22
|
+
}, {
|
|
23
|
+
value: string;
|
|
24
|
+
label: string;
|
|
25
|
+
credentialType: CredentialType;
|
|
26
|
+
icon: string;
|
|
27
|
+
}>;
|
|
28
|
+
export type CapabilityProviderMetadata = z.infer<typeof CapabilityProviderMetadataSchema>;
|
|
3
29
|
/**
|
|
4
30
|
* Schema for a single input parameter that a capability accepts.
|
|
5
31
|
* Inputs are user-configurable values (e.g., a Google Doc ID).
|
|
@@ -71,7 +97,7 @@ export type CapabilityModelConfigOverride = z.infer<typeof CapabilityModelConfig
|
|
|
71
97
|
* Does NOT contain runtime logic (tool functions, factories).
|
|
72
98
|
*/
|
|
73
99
|
export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
74
|
-
id: z.
|
|
100
|
+
id: z.ZodType<CapabilityId>;
|
|
75
101
|
name: z.ZodString;
|
|
76
102
|
description: z.ZodString;
|
|
77
103
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -132,6 +158,31 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
132
158
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
133
159
|
maxTokens?: number | undefined;
|
|
134
160
|
}>>;
|
|
161
|
+
/**
|
|
162
|
+
* Short guidance for the main agent on when to delegate to this capability
|
|
163
|
+
* in multi-capability mode. E.g. "Delegate when the user asks to remember,
|
|
164
|
+
* save notes, or look up documents."
|
|
165
|
+
*/
|
|
166
|
+
delegationHint: z.ZodOptional<z.ZodString>;
|
|
167
|
+
/** Hidden capabilities are registered for runtime use but not shown in the UI. */
|
|
168
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
/** Data-driven provider options for the wizard "Choose Providers" step. */
|
|
170
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
171
|
+
value: z.ZodString;
|
|
172
|
+
label: z.ZodString;
|
|
173
|
+
credentialType: z.ZodNativeEnum<typeof CredentialType>;
|
|
174
|
+
icon: z.ZodString;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
value: string;
|
|
177
|
+
label: string;
|
|
178
|
+
credentialType: CredentialType;
|
|
179
|
+
icon: string;
|
|
180
|
+
}, {
|
|
181
|
+
value: string;
|
|
182
|
+
label: string;
|
|
183
|
+
credentialType: CredentialType;
|
|
184
|
+
icon: string;
|
|
185
|
+
}>, "many">>;
|
|
135
186
|
}, "strip", z.ZodTypeAny, {
|
|
136
187
|
name: string;
|
|
137
188
|
description: string;
|
|
@@ -141,7 +192,7 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
141
192
|
parameterSchema: Record<string, unknown>;
|
|
142
193
|
internalBubbles?: BubbleName[] | undefined;
|
|
143
194
|
}[];
|
|
144
|
-
id:
|
|
195
|
+
id: CapabilityId;
|
|
145
196
|
requiredCredentials: CredentialType[];
|
|
146
197
|
version: string;
|
|
147
198
|
inputs: {
|
|
@@ -152,15 +203,23 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
152
203
|
default?: string | number | boolean | string[] | undefined;
|
|
153
204
|
label?: string | undefined;
|
|
154
205
|
}[];
|
|
206
|
+
optionalCredentials?: CredentialType[] | undefined;
|
|
155
207
|
icon?: string | undefined;
|
|
156
208
|
category?: string | undefined;
|
|
157
|
-
optionalCredentials?: CredentialType[] | undefined;
|
|
158
209
|
systemPromptAddition?: string | undefined;
|
|
159
210
|
modelConfigOverride?: {
|
|
160
211
|
model?: string | undefined;
|
|
161
212
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
162
213
|
maxTokens?: number | undefined;
|
|
163
214
|
} | undefined;
|
|
215
|
+
delegationHint?: string | undefined;
|
|
216
|
+
hidden?: boolean | undefined;
|
|
217
|
+
providers?: {
|
|
218
|
+
value: string;
|
|
219
|
+
label: string;
|
|
220
|
+
credentialType: CredentialType;
|
|
221
|
+
icon: string;
|
|
222
|
+
}[] | undefined;
|
|
164
223
|
}, {
|
|
165
224
|
name: string;
|
|
166
225
|
description: string;
|
|
@@ -170,7 +229,7 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
170
229
|
parameterSchema: Record<string, unknown>;
|
|
171
230
|
internalBubbles?: BubbleName[] | undefined;
|
|
172
231
|
}[];
|
|
173
|
-
id:
|
|
232
|
+
id: CapabilityId;
|
|
174
233
|
requiredCredentials: CredentialType[];
|
|
175
234
|
inputs: {
|
|
176
235
|
name: string;
|
|
@@ -180,16 +239,24 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
180
239
|
required?: boolean | undefined;
|
|
181
240
|
label?: string | undefined;
|
|
182
241
|
}[];
|
|
242
|
+
optionalCredentials?: CredentialType[] | undefined;
|
|
183
243
|
icon?: string | undefined;
|
|
184
244
|
category?: string | undefined;
|
|
185
245
|
version?: string | undefined;
|
|
186
|
-
optionalCredentials?: CredentialType[] | undefined;
|
|
187
246
|
systemPromptAddition?: string | undefined;
|
|
188
247
|
modelConfigOverride?: {
|
|
189
248
|
model?: string | undefined;
|
|
190
249
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
191
250
|
maxTokens?: number | undefined;
|
|
192
251
|
} | undefined;
|
|
252
|
+
delegationHint?: string | undefined;
|
|
253
|
+
hidden?: boolean | undefined;
|
|
254
|
+
providers?: {
|
|
255
|
+
value: string;
|
|
256
|
+
label: string;
|
|
257
|
+
credentialType: CredentialType;
|
|
258
|
+
icon: string;
|
|
259
|
+
}[] | undefined;
|
|
193
260
|
}>;
|
|
194
261
|
export type CapabilityMetadata = z.infer<typeof CapabilityMetadataSchema>;
|
|
195
262
|
//# sourceMappingURL=capability-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability-schema.d.ts","sourceRoot":"","sources":["../src/capability-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAShC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;IAIlC,+GAA+G;;;;;;;;;;;;EAE/G,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;EAI9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"capability-schema.d.ts","sourceRoot":"","sources":["../src/capability-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,YAAY,GACpB,gBAAgB,GAChB,2BAA2B,GAC3B,cAAc,CAAC;AAEnB;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAShC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;IAIlC,+GAA+G;;;;;;;;;;;;EAE/G,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;EAI9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;QACV,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAtBhD,+GAA+G;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC/G;;;;OAIG;;IAEH,kFAAkF;;IAElF,2EAA2E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE3E,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/coffee.d.ts
CHANGED
|
@@ -249,6 +249,7 @@ export declare const CoffeePlanEventSchema: z.ZodObject<{
|
|
|
249
249
|
bubblesUsed?: string[] | undefined;
|
|
250
250
|
}>, "many">;
|
|
251
251
|
estimatedBubbles: z.ZodArray<z.ZodString, "many">;
|
|
252
|
+
estimatedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
252
253
|
}, "strip", z.ZodTypeAny, {
|
|
253
254
|
summary: string;
|
|
254
255
|
steps: {
|
|
@@ -257,6 +258,7 @@ export declare const CoffeePlanEventSchema: z.ZodObject<{
|
|
|
257
258
|
bubblesUsed?: string[] | undefined;
|
|
258
259
|
}[];
|
|
259
260
|
estimatedBubbles: string[];
|
|
261
|
+
estimatedCapabilities?: string[] | undefined;
|
|
260
262
|
}, {
|
|
261
263
|
summary: string;
|
|
262
264
|
steps: {
|
|
@@ -265,6 +267,7 @@ export declare const CoffeePlanEventSchema: z.ZodObject<{
|
|
|
265
267
|
bubblesUsed?: string[] | undefined;
|
|
266
268
|
}[];
|
|
267
269
|
estimatedBubbles: string[];
|
|
270
|
+
estimatedCapabilities?: string[] | undefined;
|
|
268
271
|
}>;
|
|
269
272
|
/** Regular user text message */
|
|
270
273
|
export declare const UserMessageSchema: z.ZodObject<{
|
|
@@ -617,6 +620,7 @@ export declare const PlanMessageSchema: z.ZodObject<{
|
|
|
617
620
|
bubblesUsed?: string[] | undefined;
|
|
618
621
|
}>, "many">;
|
|
619
622
|
estimatedBubbles: z.ZodArray<z.ZodString, "many">;
|
|
623
|
+
estimatedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
620
624
|
}, "strip", z.ZodTypeAny, {
|
|
621
625
|
summary: string;
|
|
622
626
|
steps: {
|
|
@@ -625,6 +629,7 @@ export declare const PlanMessageSchema: z.ZodObject<{
|
|
|
625
629
|
bubblesUsed?: string[] | undefined;
|
|
626
630
|
}[];
|
|
627
631
|
estimatedBubbles: string[];
|
|
632
|
+
estimatedCapabilities?: string[] | undefined;
|
|
628
633
|
}, {
|
|
629
634
|
summary: string;
|
|
630
635
|
steps: {
|
|
@@ -633,6 +638,7 @@ export declare const PlanMessageSchema: z.ZodObject<{
|
|
|
633
638
|
bubblesUsed?: string[] | undefined;
|
|
634
639
|
}[];
|
|
635
640
|
estimatedBubbles: string[];
|
|
641
|
+
estimatedCapabilities?: string[] | undefined;
|
|
636
642
|
}>;
|
|
637
643
|
}, "strip", z.ZodTypeAny, {
|
|
638
644
|
type: "plan";
|
|
@@ -646,6 +652,7 @@ export declare const PlanMessageSchema: z.ZodObject<{
|
|
|
646
652
|
bubblesUsed?: string[] | undefined;
|
|
647
653
|
}[];
|
|
648
654
|
estimatedBubbles: string[];
|
|
655
|
+
estimatedCapabilities?: string[] | undefined;
|
|
649
656
|
};
|
|
650
657
|
}, {
|
|
651
658
|
type: "plan";
|
|
@@ -659,6 +666,7 @@ export declare const PlanMessageSchema: z.ZodObject<{
|
|
|
659
666
|
bubblesUsed?: string[] | undefined;
|
|
660
667
|
}[];
|
|
661
668
|
estimatedBubbles: string[];
|
|
669
|
+
estimatedCapabilities?: string[] | undefined;
|
|
662
670
|
};
|
|
663
671
|
}>;
|
|
664
672
|
/** User's plan approval with optional comment */
|
|
@@ -1072,6 +1080,7 @@ export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
1072
1080
|
bubblesUsed?: string[] | undefined;
|
|
1073
1081
|
}>, "many">;
|
|
1074
1082
|
estimatedBubbles: z.ZodArray<z.ZodString, "many">;
|
|
1083
|
+
estimatedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1075
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1076
1085
|
summary: string;
|
|
1077
1086
|
steps: {
|
|
@@ -1080,6 +1089,7 @@ export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
1080
1089
|
bubblesUsed?: string[] | undefined;
|
|
1081
1090
|
}[];
|
|
1082
1091
|
estimatedBubbles: string[];
|
|
1092
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1083
1093
|
}, {
|
|
1084
1094
|
summary: string;
|
|
1085
1095
|
steps: {
|
|
@@ -1088,6 +1098,7 @@ export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
1088
1098
|
bubblesUsed?: string[] | undefined;
|
|
1089
1099
|
}[];
|
|
1090
1100
|
estimatedBubbles: string[];
|
|
1101
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1091
1102
|
}>;
|
|
1092
1103
|
}, "strip", z.ZodTypeAny, {
|
|
1093
1104
|
type: "plan";
|
|
@@ -1101,6 +1112,7 @@ export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
1101
1112
|
bubblesUsed?: string[] | undefined;
|
|
1102
1113
|
}[];
|
|
1103
1114
|
estimatedBubbles: string[];
|
|
1115
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1104
1116
|
};
|
|
1105
1117
|
}, {
|
|
1106
1118
|
type: "plan";
|
|
@@ -1114,6 +1126,7 @@ export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
1114
1126
|
bubblesUsed?: string[] | undefined;
|
|
1115
1127
|
}[];
|
|
1116
1128
|
estimatedBubbles: string[];
|
|
1129
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1117
1130
|
};
|
|
1118
1131
|
}>, z.ZodObject<{
|
|
1119
1132
|
id: z.ZodString;
|
|
@@ -1524,6 +1537,7 @@ export declare const CoffeeRequestSchema: z.ZodObject<{
|
|
|
1524
1537
|
bubblesUsed?: string[] | undefined;
|
|
1525
1538
|
}>, "many">;
|
|
1526
1539
|
estimatedBubbles: z.ZodArray<z.ZodString, "many">;
|
|
1540
|
+
estimatedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1527
1541
|
}, "strip", z.ZodTypeAny, {
|
|
1528
1542
|
summary: string;
|
|
1529
1543
|
steps: {
|
|
@@ -1532,6 +1546,7 @@ export declare const CoffeeRequestSchema: z.ZodObject<{
|
|
|
1532
1546
|
bubblesUsed?: string[] | undefined;
|
|
1533
1547
|
}[];
|
|
1534
1548
|
estimatedBubbles: string[];
|
|
1549
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1535
1550
|
}, {
|
|
1536
1551
|
summary: string;
|
|
1537
1552
|
steps: {
|
|
@@ -1540,6 +1555,7 @@ export declare const CoffeeRequestSchema: z.ZodObject<{
|
|
|
1540
1555
|
bubblesUsed?: string[] | undefined;
|
|
1541
1556
|
}[];
|
|
1542
1557
|
estimatedBubbles: string[];
|
|
1558
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1543
1559
|
}>;
|
|
1544
1560
|
}, "strip", z.ZodTypeAny, {
|
|
1545
1561
|
type: "plan";
|
|
@@ -1553,6 +1569,7 @@ export declare const CoffeeRequestSchema: z.ZodObject<{
|
|
|
1553
1569
|
bubblesUsed?: string[] | undefined;
|
|
1554
1570
|
}[];
|
|
1555
1571
|
estimatedBubbles: string[];
|
|
1572
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1556
1573
|
};
|
|
1557
1574
|
}, {
|
|
1558
1575
|
type: "plan";
|
|
@@ -1566,6 +1583,7 @@ export declare const CoffeeRequestSchema: z.ZodObject<{
|
|
|
1566
1583
|
bubblesUsed?: string[] | undefined;
|
|
1567
1584
|
}[];
|
|
1568
1585
|
estimatedBubbles: string[];
|
|
1586
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1569
1587
|
};
|
|
1570
1588
|
}>, z.ZodObject<{
|
|
1571
1589
|
id: z.ZodString;
|
|
@@ -1720,6 +1738,7 @@ export declare const CoffeeRequestSchema: z.ZodObject<{
|
|
|
1720
1738
|
bubblesUsed?: string[] | undefined;
|
|
1721
1739
|
}[];
|
|
1722
1740
|
estimatedBubbles: string[];
|
|
1741
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1723
1742
|
};
|
|
1724
1743
|
} | {
|
|
1725
1744
|
type: "plan_approval";
|
|
@@ -1829,6 +1848,7 @@ export declare const CoffeeRequestSchema: z.ZodObject<{
|
|
|
1829
1848
|
bubblesUsed?: string[] | undefined;
|
|
1830
1849
|
}[];
|
|
1831
1850
|
estimatedBubbles: string[];
|
|
1851
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1832
1852
|
};
|
|
1833
1853
|
} | {
|
|
1834
1854
|
type: "plan_approval";
|
|
@@ -1937,6 +1957,7 @@ export declare const CoffeeResponseSchema: z.ZodObject<{
|
|
|
1937
1957
|
bubblesUsed?: string[] | undefined;
|
|
1938
1958
|
}>, "many">;
|
|
1939
1959
|
estimatedBubbles: z.ZodArray<z.ZodString, "many">;
|
|
1960
|
+
estimatedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1940
1961
|
}, "strip", z.ZodTypeAny, {
|
|
1941
1962
|
summary: string;
|
|
1942
1963
|
steps: {
|
|
@@ -1945,6 +1966,7 @@ export declare const CoffeeResponseSchema: z.ZodObject<{
|
|
|
1945
1966
|
bubblesUsed?: string[] | undefined;
|
|
1946
1967
|
}[];
|
|
1947
1968
|
estimatedBubbles: string[];
|
|
1969
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1948
1970
|
}, {
|
|
1949
1971
|
summary: string;
|
|
1950
1972
|
steps: {
|
|
@@ -1953,6 +1975,7 @@ export declare const CoffeeResponseSchema: z.ZodObject<{
|
|
|
1953
1975
|
bubblesUsed?: string[] | undefined;
|
|
1954
1976
|
}[];
|
|
1955
1977
|
estimatedBubbles: string[];
|
|
1978
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1956
1979
|
}>>;
|
|
1957
1980
|
contextRequest: z.ZodOptional<z.ZodObject<{
|
|
1958
1981
|
flowId: z.ZodString;
|
|
@@ -1984,6 +2007,7 @@ export declare const CoffeeResponseSchema: z.ZodObject<{
|
|
|
1984
2007
|
bubblesUsed?: string[] | undefined;
|
|
1985
2008
|
}[];
|
|
1986
2009
|
estimatedBubbles: string[];
|
|
2010
|
+
estimatedCapabilities?: string[] | undefined;
|
|
1987
2011
|
} | undefined;
|
|
1988
2012
|
clarification?: {
|
|
1989
2013
|
questions: {
|
|
@@ -2016,6 +2040,7 @@ export declare const CoffeeResponseSchema: z.ZodObject<{
|
|
|
2016
2040
|
bubblesUsed?: string[] | undefined;
|
|
2017
2041
|
}[];
|
|
2018
2042
|
estimatedBubbles: string[];
|
|
2043
|
+
estimatedCapabilities?: string[] | undefined;
|
|
2019
2044
|
} | undefined;
|
|
2020
2045
|
clarification?: {
|
|
2021
2046
|
questions: {
|
|
@@ -2095,6 +2120,7 @@ export declare const CoffeeAgentOutputSchema: z.ZodObject<{
|
|
|
2095
2120
|
bubblesUsed?: string[] | undefined;
|
|
2096
2121
|
}>, "many">;
|
|
2097
2122
|
estimatedBubbles: z.ZodArray<z.ZodString, "many">;
|
|
2123
|
+
estimatedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2098
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2099
2125
|
summary: string;
|
|
2100
2126
|
steps: {
|
|
@@ -2103,6 +2129,7 @@ export declare const CoffeeAgentOutputSchema: z.ZodObject<{
|
|
|
2103
2129
|
bubblesUsed?: string[] | undefined;
|
|
2104
2130
|
}[];
|
|
2105
2131
|
estimatedBubbles: string[];
|
|
2132
|
+
estimatedCapabilities?: string[] | undefined;
|
|
2106
2133
|
}, {
|
|
2107
2134
|
summary: string;
|
|
2108
2135
|
steps: {
|
|
@@ -2111,6 +2138,7 @@ export declare const CoffeeAgentOutputSchema: z.ZodObject<{
|
|
|
2111
2138
|
bubblesUsed?: string[] | undefined;
|
|
2112
2139
|
}[];
|
|
2113
2140
|
estimatedBubbles: string[];
|
|
2141
|
+
estimatedCapabilities?: string[] | undefined;
|
|
2114
2142
|
}>>;
|
|
2115
2143
|
contextRequest: z.ZodOptional<z.ZodObject<{
|
|
2116
2144
|
purpose: z.ZodString;
|
|
@@ -2143,6 +2171,7 @@ export declare const CoffeeAgentOutputSchema: z.ZodObject<{
|
|
|
2143
2171
|
bubblesUsed?: string[] | undefined;
|
|
2144
2172
|
}[];
|
|
2145
2173
|
estimatedBubbles: string[];
|
|
2174
|
+
estimatedCapabilities?: string[] | undefined;
|
|
2146
2175
|
} | undefined;
|
|
2147
2176
|
contextRequest?: {
|
|
2148
2177
|
purpose: string;
|
|
@@ -2169,6 +2198,7 @@ export declare const CoffeeAgentOutputSchema: z.ZodObject<{
|
|
|
2169
2198
|
bubblesUsed?: string[] | undefined;
|
|
2170
2199
|
}[];
|
|
2171
2200
|
estimatedBubbles: string[];
|
|
2201
|
+
estimatedCapabilities?: string[] | undefined;
|
|
2172
2202
|
} | undefined;
|
|
2173
2203
|
contextRequest?: {
|
|
2174
2204
|
purpose: string;
|
package/dist/coffee.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coffee.d.ts","sourceRoot":"","sources":["../src/coffee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAS5C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,oBAAoB,EAAG,6BAAsC,CAAC;AAM3E,0DAA0D;AAC1D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAOpC,CAAC;AAEH,qDAAqD;AACrD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBtC,CAAC;AAEH,gEAAgE;AAChE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzC,CAAC;AAMH;;;GAGG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;EAWlD,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAepC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;EAKzC,CAAC;AAEH,iEAAiE;AACjE,eAAO,MA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BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,uCAAuC,CAC/C,CAAC;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,wCAAwC,CAChD,CAAC;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC"}
|
|
@@ -342,6 +342,7 @@ export declare const generateBubbleFlowCodeSchema: z.ZodObject<{
|
|
|
342
342
|
bubblesUsed?: string[] | undefined;
|
|
343
343
|
}>, "many">;
|
|
344
344
|
estimatedBubbles: z.ZodArray<z.ZodString, "many">;
|
|
345
|
+
estimatedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
345
346
|
}, "strip", z.ZodTypeAny, {
|
|
346
347
|
summary: string;
|
|
347
348
|
steps: {
|
|
@@ -350,6 +351,7 @@ export declare const generateBubbleFlowCodeSchema: z.ZodObject<{
|
|
|
350
351
|
bubblesUsed?: string[] | undefined;
|
|
351
352
|
}[];
|
|
352
353
|
estimatedBubbles: string[];
|
|
354
|
+
estimatedCapabilities?: string[] | undefined;
|
|
353
355
|
}, {
|
|
354
356
|
summary: string;
|
|
355
357
|
steps: {
|
|
@@ -358,6 +360,7 @@ export declare const generateBubbleFlowCodeSchema: z.ZodObject<{
|
|
|
358
360
|
bubblesUsed?: string[] | undefined;
|
|
359
361
|
}[];
|
|
360
362
|
estimatedBubbles: string[];
|
|
363
|
+
estimatedCapabilities?: string[] | undefined;
|
|
361
364
|
}>;
|
|
362
365
|
}, "strip", z.ZodTypeAny, {
|
|
363
366
|
type: "plan";
|
|
@@ -371,6 +374,7 @@ export declare const generateBubbleFlowCodeSchema: z.ZodObject<{
|
|
|
371
374
|
bubblesUsed?: string[] | undefined;
|
|
372
375
|
}[];
|
|
373
376
|
estimatedBubbles: string[];
|
|
377
|
+
estimatedCapabilities?: string[] | undefined;
|
|
374
378
|
};
|
|
375
379
|
}, {
|
|
376
380
|
type: "plan";
|
|
@@ -384,6 +388,7 @@ export declare const generateBubbleFlowCodeSchema: z.ZodObject<{
|
|
|
384
388
|
bubblesUsed?: string[] | undefined;
|
|
385
389
|
}[];
|
|
386
390
|
estimatedBubbles: string[];
|
|
391
|
+
estimatedCapabilities?: string[] | undefined;
|
|
387
392
|
};
|
|
388
393
|
}>, z.ZodObject<{
|
|
389
394
|
id: z.ZodString;
|
|
@@ -539,6 +544,7 @@ export declare const generateBubbleFlowCodeSchema: z.ZodObject<{
|
|
|
539
544
|
bubblesUsed?: string[] | undefined;
|
|
540
545
|
}[];
|
|
541
546
|
estimatedBubbles: string[];
|
|
547
|
+
estimatedCapabilities?: string[] | undefined;
|
|
542
548
|
};
|
|
543
549
|
} | {
|
|
544
550
|
type: "plan_approval";
|
|
@@ -649,6 +655,7 @@ export declare const generateBubbleFlowCodeSchema: z.ZodObject<{
|
|
|
649
655
|
bubblesUsed?: string[] | undefined;
|
|
650
656
|
}[];
|
|
651
657
|
estimatedBubbles: string[];
|
|
658
|
+
estimatedCapabilities?: string[] | undefined;
|
|
652
659
|
};
|
|
653
660
|
} | {
|
|
654
661
|
type: "plan_approval";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-bubbleflow-schema.d.ts","sourceRoot":"","sources":["../src/generate-bubbleflow-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,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AAC;AACzC,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,wCAAwC,CAChD,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1413,6 +1413,7 @@ var BUBBLE_CREDENTIAL_OPTIONS = {
|
|
|
1413
1413
|
"get-bubble-details-tool": [],
|
|
1414
1414
|
"get-trigger-detail-tool": [],
|
|
1415
1415
|
"list-bubbles-tool": [],
|
|
1416
|
+
"list-capabilities-tool": [],
|
|
1416
1417
|
"sql-query-tool": ["DATABASE_CRED" /* DATABASE_CRED */],
|
|
1417
1418
|
"chart-js-tool": [],
|
|
1418
1419
|
"bubbleflow-validation-tool": [],
|
|
@@ -2654,6 +2655,9 @@ var createBubbleFlowResponseSchema = z8.object({
|
|
|
2654
2655
|
"http-request": ["*" /* CREDENTIAL_WILDCARD */]
|
|
2655
2656
|
}
|
|
2656
2657
|
}),
|
|
2658
|
+
optionalCredentials: z8.record(z8.string(), z8.array(z8.nativeEnum(CredentialType))).optional().openapi({
|
|
2659
|
+
description: "Mapping of bubble names to their optional credential types (from capability optionalCredentials). Shown in UI but do not block execution."
|
|
2660
|
+
}),
|
|
2657
2661
|
eventType: z8.string().min(1).openapi({
|
|
2658
2662
|
description: "Event type this BubbleFlow responds to",
|
|
2659
2663
|
example: "webhook/http"
|
|
@@ -2746,6 +2750,9 @@ var bubbleFlowDetailsResponseSchema = z8.object({
|
|
|
2746
2750
|
example: 123
|
|
2747
2751
|
}),
|
|
2748
2752
|
requiredCredentials: z8.record(z8.string(), z8.array(z8.nativeEnum(CredentialType))).openapi({ description: "Required credentials by bubble" }),
|
|
2753
|
+
optionalCredentials: z8.record(z8.string(), z8.array(z8.nativeEnum(CredentialType))).optional().openapi({
|
|
2754
|
+
description: "Optional credentials by bubble (from capability optionalCredentials)"
|
|
2755
|
+
}),
|
|
2749
2756
|
usedCredentials: z8.array(usedCredentialSchema).optional().openapi({
|
|
2750
2757
|
description: "Credentials used in this flow with metadata (for shared workflow visibility)"
|
|
2751
2758
|
}),
|
|
@@ -3226,7 +3233,10 @@ var PlanStepSchema = z10.object({
|
|
|
3226
3233
|
var CoffeePlanEventSchema = z10.object({
|
|
3227
3234
|
summary: z10.string().describe("Brief overview of the workflow"),
|
|
3228
3235
|
steps: z10.array(PlanStepSchema).describe("Step-by-step implementation plan"),
|
|
3229
|
-
estimatedBubbles: z10.array(z10.string()).describe("All bubbles that will be used in the workflow")
|
|
3236
|
+
estimatedBubbles: z10.array(z10.string()).describe("All bubbles that will be used in the workflow"),
|
|
3237
|
+
estimatedCapabilities: z10.array(z10.string()).optional().describe(
|
|
3238
|
+
"Capability IDs to attach to AI agents (from list-capabilities-tool). Only pass the id, never inputs."
|
|
3239
|
+
)
|
|
3230
3240
|
});
|
|
3231
3241
|
var BaseMessageSchema = z10.object({
|
|
3232
3242
|
id: z10.string().describe("Unique message identifier"),
|
|
@@ -5351,6 +5361,12 @@ function buildParameterObjectLiteral(parameters, options) {
|
|
|
5351
5361
|
|
|
5352
5362
|
// src/capability-schema.ts
|
|
5353
5363
|
import { z as z20 } from "zod";
|
|
5364
|
+
var CapabilityProviderMetadataSchema = z20.object({
|
|
5365
|
+
value: z20.string().min(1),
|
|
5366
|
+
label: z20.string().min(1),
|
|
5367
|
+
credentialType: z20.nativeEnum(CredentialType),
|
|
5368
|
+
icon: z20.string().min(1)
|
|
5369
|
+
});
|
|
5354
5370
|
var CapabilityInputSchema = z20.object({
|
|
5355
5371
|
name: z20.string().min(1),
|
|
5356
5372
|
type: z20.enum(["string", "number", "boolean", "string[]"]),
|
|
@@ -5383,7 +5399,17 @@ var CapabilityMetadataSchema = z20.object({
|
|
|
5383
5399
|
inputs: z20.array(CapabilityInputSchema),
|
|
5384
5400
|
tools: z20.array(CapabilityToolDefSchema),
|
|
5385
5401
|
systemPromptAddition: z20.string().optional(),
|
|
5386
|
-
modelConfigOverride: CapabilityModelConfigOverrideSchema.optional()
|
|
5402
|
+
modelConfigOverride: CapabilityModelConfigOverrideSchema.optional(),
|
|
5403
|
+
/**
|
|
5404
|
+
* Short guidance for the main agent on when to delegate to this capability
|
|
5405
|
+
* in multi-capability mode. E.g. "Delegate when the user asks to remember,
|
|
5406
|
+
* save notes, or look up documents."
|
|
5407
|
+
*/
|
|
5408
|
+
delegationHint: z20.string().optional(),
|
|
5409
|
+
/** Hidden capabilities are registered for runtime use but not shown in the UI. */
|
|
5410
|
+
hidden: z20.boolean().optional(),
|
|
5411
|
+
/** Data-driven provider options for the wizard "Choose Providers" step. */
|
|
5412
|
+
providers: z20.array(CapabilityProviderMetadataSchema).optional()
|
|
5387
5413
|
});
|
|
5388
5414
|
export {
|
|
5389
5415
|
AIRTABLE_DELAY_LABELS,
|
|
@@ -5410,6 +5436,7 @@ export {
|
|
|
5410
5436
|
CapabilityInputSchema,
|
|
5411
5437
|
CapabilityMetadataSchema,
|
|
5412
5438
|
CapabilityModelConfigOverrideSchema,
|
|
5439
|
+
CapabilityProviderMetadataSchema,
|
|
5413
5440
|
CapabilityToolDefSchema,
|
|
5414
5441
|
ClarificationChoiceSchema,
|
|
5415
5442
|
ClarificationQuestionSchema,
|