@bubblelab/shared-schemas 0.1.122 → 0.1.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAKzC,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4FE,CAAC;AAGxD,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkGL,CAAC;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
@@ -90,6 +90,14 @@ var googleOAuthMetadataSchema = z2.object({
90
90
  /** Human-readable display name for the credential (Google account email) */
91
91
  displayName: z2.string().optional()
92
92
  });
93
+ var notionOAuthMetadataSchema = z2.object({
94
+ workspaceId: z2.string(),
95
+ workspaceName: z2.string().optional(),
96
+ workspaceIcon: z2.string().optional(),
97
+ botId: z2.string(),
98
+ /** Human-readable display name for the credential (workspace name) */
99
+ displayName: z2.string().optional()
100
+ });
93
101
  var credentialPreferencesSchema = z2.object({
94
102
  /** Whether this credential is the user's default for its credential type */
95
103
  isDefault: z2.boolean().optional(),
@@ -128,6 +136,7 @@ var CredentialType = /* @__PURE__ */ ((CredentialType2) => {
128
136
  CredentialType2["GOOGLE_CALENDAR_CRED"] = "GOOGLE_CALENDAR_CRED";
129
137
  CredentialType2["FUB_CRED"] = "FUB_CRED";
130
138
  CredentialType2["NOTION_OAUTH_TOKEN"] = "NOTION_OAUTH_TOKEN";
139
+ CredentialType2["NOTION_API"] = "NOTION_API";
131
140
  CredentialType2["AIRTABLE_OAUTH"] = "AIRTABLE_OAUTH";
132
141
  CredentialType2["GITHUB_TOKEN"] = "GITHUB_TOKEN";
133
142
  CredentialType2["AGI_API_KEY"] = "AGI_API_KEY";
@@ -310,13 +319,20 @@ var CREDENTIAL_TYPE_CONFIG = {
310
319
  credentialConfigurations: {}
311
320
  },
312
321
  ["NOTION_OAUTH_TOKEN" /* NOTION_OAUTH_TOKEN */]: {
313
- label: "Notion",
322
+ label: "Notion (OAuth)",
314
323
  description: "OAuth connection to your Notion workspace (pages, databases, search)",
315
324
  placeholder: "",
316
325
  // Not used for OAuth
317
326
  namePlaceholder: "My Notion Connection",
318
327
  credentialConfigurations: {}
319
328
  },
329
+ ["NOTION_API" /* NOTION_API */]: {
330
+ label: "Notion (API Key)",
331
+ description: "Internal Integration Token for Notion API access",
332
+ placeholder: "ntn_...",
333
+ namePlaceholder: "My Notion API Key",
334
+ credentialConfigurations: {}
335
+ },
320
336
  ["GITHUB_TOKEN" /* GITHUB_TOKEN */]: {
321
337
  label: "GitHub",
322
338
  description: "Personal Access Token for GitHub API (read repos, PRs, issues)",
@@ -483,6 +499,7 @@ var CREDENTIAL_ENV_MAP = {
483
499
  ["AIRTABLE_OAUTH" /* AIRTABLE_OAUTH */]: "",
484
500
  // OAuth credential, no env var
485
501
  ["NOTION_OAUTH_TOKEN" /* NOTION_OAUTH_TOKEN */]: "",
502
+ ["NOTION_API" /* NOTION_API */]: "NOTION_API_KEY",
486
503
  ["INSFORGE_BASE_URL" /* INSFORGE_BASE_URL */]: "INSFORGE_BASE_URL",
487
504
  ["INSFORGE_API_KEY" /* INSFORGE_API_KEY */]: "INSFORGE_API_KEY",
488
505
  ["CUSTOM_AUTH_KEY" /* CUSTOM_AUTH_KEY */]: "",
@@ -642,6 +659,9 @@ var OAUTH_PROVIDERS = {
642
659
  // Notion scopes are managed in the integration capabilities
643
660
  description: "Authorize access to your Notion workspace for searching and reading pages/databases"
644
661
  }
662
+ },
663
+ authorizationParams: {
664
+ owner: "user"
645
665
  }
646
666
  },
647
667
  jira: {
@@ -1393,6 +1413,7 @@ var BUBBLE_CREDENTIAL_OPTIONS = {
1393
1413
  "get-bubble-details-tool": [],
1394
1414
  "get-trigger-detail-tool": [],
1395
1415
  "list-bubbles-tool": [],
1416
+ "list-capabilities-tool": [],
1396
1417
  "sql-query-tool": ["DATABASE_CRED" /* DATABASE_CRED */],
1397
1418
  "chart-js-tool": [],
1398
1419
  "bubbleflow-validation-tool": [],
@@ -1466,7 +1487,7 @@ var BUBBLE_CREDENTIAL_OPTIONS = {
1466
1487
  followupboss: ["FUB_CRED" /* FUB_CRED */],
1467
1488
  "agi-inc": ["AGI_API_KEY" /* AGI_API_KEY */],
1468
1489
  airtable: ["AIRTABLE_CRED" /* AIRTABLE_CRED */, "AIRTABLE_OAUTH" /* AIRTABLE_OAUTH */],
1469
- notion: ["NOTION_OAUTH_TOKEN" /* NOTION_OAUTH_TOKEN */],
1490
+ notion: ["NOTION_OAUTH_TOKEN" /* NOTION_OAUTH_TOKEN */, "NOTION_API" /* NOTION_API */],
1470
1491
  firecrawl: ["FIRECRAWL_API_KEY" /* FIRECRAWL_API_KEY */],
1471
1492
  "insforge-db": [
1472
1493
  "INSFORGE_BASE_URL" /* INSFORGE_BASE_URL */,
@@ -1586,11 +1607,12 @@ var credentialResponseSchema = z3.object({
1586
1607
  slackOAuthMetadataSchema,
1587
1608
  airtableOAuthMetadataSchema,
1588
1609
  googleOAuthMetadataSchema,
1610
+ notionOAuthMetadataSchema,
1589
1611
  confluenceOAuthMetadataSchema,
1590
1612
  stripeOAuthMetadataSchema,
1591
1613
  credentialPreferencesSchema
1592
1614
  ]).optional().openapi({
1593
- description: "Credential metadata (DatabaseMetadata, JiraOAuthMetadata, SlackOAuthMetadata, AirtableOAuthMetadata, GoogleOAuthMetadata, ConfluenceOAuthMetadata, StripeOAuthMetadata, or CredentialPreferences)"
1615
+ description: "Credential metadata (DatabaseMetadata, JiraOAuthMetadata, SlackOAuthMetadata, AirtableOAuthMetadata, GoogleOAuthMetadata, NotionOAuthMetadata, ConfluenceOAuthMetadata, StripeOAuthMetadata, or CredentialPreferences)"
1594
1616
  }),
1595
1617
  createdAt: z3.string().openapi({ description: "Creation timestamp" }),
1596
1618
  // OAuth-specific fields
@@ -1721,6 +1743,7 @@ var CREDENTIAL_CONFIGURATION_MAP = {
1721
1743
  ["AIRTABLE_CRED" /* AIRTABLE_CRED */]: {},
1722
1744
  ["AIRTABLE_OAUTH" /* AIRTABLE_OAUTH */]: {},
1723
1745
  ["NOTION_OAUTH_TOKEN" /* NOTION_OAUTH_TOKEN */]: {},
1746
+ ["NOTION_API" /* NOTION_API */]: {},
1724
1747
  ["INSFORGE_BASE_URL" /* INSFORGE_BASE_URL */]: {},
1725
1748
  ["INSFORGE_API_KEY" /* INSFORGE_API_KEY */]: {},
1726
1749
  ["CUSTOM_AUTH_KEY" /* CUSTOM_AUTH_KEY */]: {},
@@ -2632,6 +2655,9 @@ var createBubbleFlowResponseSchema = z8.object({
2632
2655
  "http-request": ["*" /* CREDENTIAL_WILDCARD */]
2633
2656
  }
2634
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
+ }),
2635
2661
  eventType: z8.string().min(1).openapi({
2636
2662
  description: "Event type this BubbleFlow responds to",
2637
2663
  example: "webhook/http"
@@ -2724,6 +2750,9 @@ var bubbleFlowDetailsResponseSchema = z8.object({
2724
2750
  example: 123
2725
2751
  }),
2726
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
+ }),
2727
2756
  usedCredentials: z8.array(usedCredentialSchema).optional().openapi({
2728
2757
  description: "Credentials used in this flow with metadata (for shared workflow visibility)"
2729
2758
  }),
@@ -3204,7 +3233,10 @@ var PlanStepSchema = z10.object({
3204
3233
  var CoffeePlanEventSchema = z10.object({
3205
3234
  summary: z10.string().describe("Brief overview of the workflow"),
3206
3235
  steps: z10.array(PlanStepSchema).describe("Step-by-step implementation plan"),
3207
- 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
+ )
3208
3240
  });
3209
3241
  var BaseMessageSchema = z10.object({
3210
3242
  id: z10.string().describe("Unique message identifier"),
@@ -5329,6 +5361,12 @@ function buildParameterObjectLiteral(parameters, options) {
5329
5361
 
5330
5362
  // src/capability-schema.ts
5331
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
+ });
5332
5370
  var CapabilityInputSchema = z20.object({
5333
5371
  name: z20.string().min(1),
5334
5372
  type: z20.enum(["string", "number", "boolean", "string[]"]),
@@ -5361,7 +5399,17 @@ var CapabilityMetadataSchema = z20.object({
5361
5399
  inputs: z20.array(CapabilityInputSchema),
5362
5400
  tools: z20.array(CapabilityToolDefSchema),
5363
5401
  systemPromptAddition: z20.string().optional(),
5364
- 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()
5365
5413
  });
5366
5414
  export {
5367
5415
  AIRTABLE_DELAY_LABELS,
@@ -5388,6 +5436,7 @@ export {
5388
5436
  CapabilityInputSchema,
5389
5437
  CapabilityMetadataSchema,
5390
5438
  CapabilityModelConfigOverrideSchema,
5439
+ CapabilityProviderMetadataSchema,
5391
5440
  CapabilityToolDefSchema,
5392
5441
  ClarificationChoiceSchema,
5393
5442
  ClarificationQuestionSchema,
@@ -5525,6 +5574,7 @@ export {
5525
5574
  listMembersResponseSchema,
5526
5575
  listOrganizationsResponseSchema,
5527
5576
  listTrashResponseSchema,
5577
+ notionOAuthMetadataSchema,
5528
5578
  oauthCallbackRequestSchema,
5529
5579
  oauthInitiateRequestSchema,
5530
5580
  oauthInitiateResponseSchema,