@bubblelab/shared-schemas 0.1.118 → 0.1.119
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.
|
@@ -78,6 +78,7 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
78
78
|
category: z.ZodOptional<z.ZodString>;
|
|
79
79
|
version: z.ZodDefault<z.ZodString>;
|
|
80
80
|
requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">;
|
|
81
|
+
optionalCredentials: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>;
|
|
81
82
|
inputs: z.ZodArray<z.ZodObject<{
|
|
82
83
|
name: z.ZodString;
|
|
83
84
|
type: z.ZodEnum<["string", "number", "boolean", "string[]"]>;
|
|
@@ -153,6 +154,7 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
153
154
|
}[];
|
|
154
155
|
icon?: string | undefined;
|
|
155
156
|
category?: string | undefined;
|
|
157
|
+
optionalCredentials?: CredentialType[] | undefined;
|
|
156
158
|
systemPromptAddition?: string | undefined;
|
|
157
159
|
modelConfigOverride?: {
|
|
158
160
|
model?: string | undefined;
|
|
@@ -181,6 +183,7 @@ export declare const CapabilityMetadataSchema: z.ZodObject<{
|
|
|
181
183
|
icon?: string | undefined;
|
|
182
184
|
category?: string | undefined;
|
|
183
185
|
version?: string | undefined;
|
|
186
|
+
optionalCredentials?: CredentialType[] | undefined;
|
|
184
187
|
systemPromptAddition?: string | undefined;
|
|
185
188
|
modelConfigOverride?: {
|
|
186
189
|
model?: string | undefined;
|
|
@@ -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;A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;;;;;;;;;;;QArBnC,+GAA+G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC/G,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5344,6 +5344,7 @@ var CapabilityMetadataSchema = z20.object({
|
|
|
5344
5344
|
category: z20.string().optional(),
|
|
5345
5345
|
version: z20.string().default("1.0.0"),
|
|
5346
5346
|
requiredCredentials: z20.array(z20.nativeEnum(CredentialType)),
|
|
5347
|
+
optionalCredentials: z20.array(z20.nativeEnum(CredentialType)).optional(),
|
|
5347
5348
|
inputs: z20.array(CapabilityInputSchema),
|
|
5348
5349
|
tools: z20.array(CapabilityToolDefSchema),
|
|
5349
5350
|
systemPromptAddition: z20.string().optional(),
|