@get-bb/plugin-sdk 0.6.37 → 0.6.42

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.
@@ -13,16 +13,7 @@ interface JsonObject {
13
13
  }
14
14
  type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | JsonObject;
15
15
 
16
- declare const reasoningLevelSchema: z.ZodEnum<{
17
- high: "high";
18
- low: "low";
19
- max: "max";
20
- medium: "medium";
21
- none: "none";
22
- ultra: "ultra";
23
- ultracode: "ultracode";
24
- xhigh: "xhigh";
25
- }>;
16
+ declare const reasoningLevelSchema: z.ZodString;
26
17
  type ReasoningLevel = z.infer<typeof reasoningLevelSchema>;
27
18
  declare const serviceTierSchema: z.ZodString;
28
19
  type ServiceTier = z.infer<typeof serviceTierSchema>;
@@ -192,16 +192,7 @@ declare const projectSchema: z.ZodObject<{
192
192
  }, z.core.$strip>;
193
193
  type Project = z.infer<typeof projectSchema>;
194
194
 
195
- declare const reasoningLevelSchema: z.ZodEnum<{
196
- high: "high";
197
- low: "low";
198
- max: "max";
199
- medium: "medium";
200
- none: "none";
201
- ultra: "ultra";
202
- ultracode: "ultracode";
203
- xhigh: "xhigh";
204
- }>;
195
+ declare const reasoningLevelSchema: z.ZodString;
205
196
  type ReasoningLevel = z.infer<typeof reasoningLevelSchema>;
206
197
  declare const serviceTierSchema: z.ZodString;
207
198
  type ServiceTier = z.infer<typeof serviceTierSchema>;
@@ -448,16 +439,7 @@ declare const threadQueuedMessageSchema: z.ZodObject<{
448
439
  auto: "auto";
449
440
  full: "full";
450
441
  }>;
451
- reasoningLevel: z.ZodEnum<{
452
- high: "high";
453
- low: "low";
454
- max: "max";
455
- medium: "medium";
456
- none: "none";
457
- ultra: "ultra";
458
- ultracode: "ultracode";
459
- xhigh: "xhigh";
460
- }>;
442
+ reasoningLevel: z.ZodString;
461
443
  sendAt: z.ZodNullable<z.ZodNumber>;
462
444
  senderThreadId: z.ZodNullable<z.ZodString>;
463
445
  serviceTier: z.ZodString;
@@ -1450,13 +1432,17 @@ interface PluginProviderFallbackModel {
1450
1432
  /** Picker display name ("Opus 5 (1M)"). */
1451
1433
  displayName: string;
1452
1434
  description: string;
1453
- /** Reasoning levels this model supports, lowest to highest. Non-empty. */
1435
+ /** Reasoning levels this model supports, lowest to highest. Non-empty.
1436
+ * `reasoningEffort` is a standard ladder entry or any provider-specific id
1437
+ * the bridge accepts back as `reasoningLevel`; `label` names a
1438
+ * provider-specific id in the picker. */
1454
1439
  supportedReasoningEfforts: readonly {
1455
- reasoningEffort: PluginProviderReasoningLevel;
1440
+ reasoningEffort: PluginProviderReasoningLevel | (string & {});
1441
+ label?: string;
1456
1442
  description: string;
1457
1443
  }[];
1458
1444
  /** Must be one of `supportedReasoningEfforts`. */
1459
- defaultReasoningEffort: PluginProviderReasoningLevel;
1445
+ defaultReasoningEffort: PluginProviderReasoningLevel | (string & {});
1460
1446
  /** Exactly one entry in the list is the default. */
1461
1447
  isDefault: boolean;
1462
1448
  }
@@ -6,7 +6,7 @@
6
6
  // and read the real source: https://github.com/get-bb/bb
7
7
 
8
8
  import { z } from 'zod';
9
- import { ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterItemRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, PluginNavPanelRegistration, PluginThreadPanelActionRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, PluginThreadHeaderActionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, PluginMessageDirectiveRegistration, PluginMessageActionRegistration, PluginCommandRegistration, ExperimentalComposerCommandRegistration, PluginProviderIconRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, PluginAppDefinition } from '@get-bb/plugin-sdk';
9
+ import { ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterItemRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, PluginNavPanelRegistration, PluginThreadPanelActionRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, PluginThreadHeaderActionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, PluginCommandRegistration, ExperimentalComposerCommandRegistration, PluginProviderIconRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, PluginAppDefinition } from '@get-bb/plugin-sdk';
10
10
 
11
11
  type ExperimentalSidebarFooterCommandKind = "close" | "open" | "toggle";
12
12
  interface ExperimentalSidebarFooterRuntimeSnapshot {
@@ -76,6 +76,7 @@ interface CollectedPluginAppRegistrations {
76
76
  sourceCodeRenderers: PluginSourceCodeRendererRegistration[];
77
77
  diffRenderers: PluginDiffRendererRegistration[];
78
78
  messageDirectives: PluginMessageDirectiveRegistration[];
79
+ codeFenceRenderers: ExperimentalCodeFenceRendererRegistration[];
79
80
  messageActions: PluginMessageActionRegistration[];
80
81
  commandPaletteActions: CollectedPluginCommandRegistration[];
81
82
  providerIcons: CollectedPluginProviderIconRegistration[];