@get-bb/plugin-sdk 0.6.125 → 0.6.132

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.
@@ -722,6 +722,19 @@ var pluginExtensionInteractionResolutionSchema = z11.object({
722
722
  kind: z11.literal("request_answer"),
723
723
  value: jsonValueSchema
724
724
  });
725
+ var resolutionDiscriminatorKeys = /* @__PURE__ */ new Set(["decision", "kind"]);
726
+ function pendingInteractionResolutionError(issue) {
727
+ if (issue.code !== "invalid_union") {
728
+ return approvalDecisionDiscriminatorError;
729
+ }
730
+ for (const branch of issue.errors) {
731
+ const first = branch[0];
732
+ if (first !== void 0 && !resolutionDiscriminatorKeys.has(first.path[0] ?? "")) {
733
+ return first.message;
734
+ }
735
+ }
736
+ return approvalDecisionDiscriminatorError;
737
+ }
725
738
  var pendingInteractionResolutionSchema = z11.union(
726
739
  [
727
740
  approvalPendingInteractionResolutionSchema,
@@ -729,7 +742,7 @@ var pendingInteractionResolutionSchema = z11.union(
729
742
  pluginPendingInteractionResolutionSchema,
730
743
  pluginExtensionInteractionResolutionSchema
731
744
  ],
732
- approvalDecisionDiscriminatorError
745
+ { error: pendingInteractionResolutionError }
733
746
  );
734
747
  var approvalInteractionOutcomeSchema = z11.object({
735
748
  payload: approvalPendingInteractionPayloadSchema,
@@ -1220,15 +1233,6 @@ var threadTimelineGoalStatusSchema = z14.enum([
1220
1233
  "budgetLimited",
1221
1234
  "complete"
1222
1235
  ]);
1223
- var threadTimelineGoalSchema = z14.object({
1224
- sourceSeq: z14.number().int().nonnegative(),
1225
- updatedAt: z14.number(),
1226
- objective: z14.string(),
1227
- status: threadTimelineGoalStatusSchema,
1228
- tokenBudget: z14.number().nullable(),
1229
- tokensUsed: z14.number(),
1230
- timeUsedSeconds: z14.number()
1231
- });
1232
1236
 
1233
1237
  // ../domain/src/thread-usage-cost.ts
1234
1238
  import { z as z15 } from "zod";
@@ -1491,6 +1495,7 @@ var threadEventBackgroundTaskItemSchema = z16.object({
1491
1495
  summary: z16.string().optional(),
1492
1496
  error: z16.string().optional(),
1493
1497
  outputFile: z16.string().optional(),
1498
+ ownerStopped: z16.literal(true).optional(),
1494
1499
  ...itemPresentationField,
1495
1500
  parentToolCallId: z16.string().optional()
1496
1501
  });
@@ -4506,7 +4511,8 @@ var providerHealthSchema = z26.object({
4506
4511
  canInstall: z26.boolean(),
4507
4512
  canUpdate: z26.boolean(),
4508
4513
  loginCommand: z26.string().min(1).nullable(),
4509
- localLoginCommand: z26.string().min(1).nullable().optional()
4514
+ localLoginCommand: z26.string().min(1).nullable().optional(),
4515
+ internal_DO_NOT_USE_setupGuidePlanLabel: z26.string().min(1).nullable().optional()
4510
4516
  }).passthrough();
4511
4517
  var providerUsageWindowSchema = z26.object({
4512
4518
  label: z26.string().min(1),
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  mod
29
29
  ));
30
30
 
31
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/debug.js
31
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/debug.js
32
32
  var require_debug = __commonJS({
33
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/debug.js"(exports, module) {
33
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/debug.js"(exports, module) {
34
34
  "use strict";
35
35
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
36
36
  };
@@ -38,9 +38,9 @@ var require_debug = __commonJS({
38
38
  }
39
39
  });
40
40
 
41
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/constants.js
41
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/constants.js
42
42
  var require_constants = __commonJS({
43
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/constants.js"(exports, module) {
43
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/constants.js"(exports, module) {
44
44
  "use strict";
45
45
  var SEMVER_SPEC_VERSION = "2.0.0";
46
46
  var MAX_LENGTH = 256;
@@ -48,6 +48,33 @@ var require_constants = __commonJS({
48
48
  9007199254740991;
49
49
  var MAX_SAFE_COMPONENT_LENGTH = 16;
50
50
  var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
51
+ var WHITESPACE_CHARACTERS = [
52
+ " ",
53
+ "\n",
54
+ "\v",
55
+ "\f",
56
+ "\r",
57
+ " ",
58
+ "\xA0",
59
+ "\u1680",
60
+ "\u2000",
61
+ "\u2001",
62
+ "\u2002",
63
+ "\u2003",
64
+ "\u2004",
65
+ "\u2005",
66
+ "\u2006",
67
+ "\u2007",
68
+ "\u2008",
69
+ "\u2009",
70
+ "\u200A",
71
+ "\u2028",
72
+ "\u2029",
73
+ "\u202F",
74
+ "\u205F",
75
+ "\u3000",
76
+ "\uFEFF"
77
+ ];
51
78
  var RELEASE_TYPES = [
52
79
  "major",
53
80
  "premajor",
@@ -62,6 +89,7 @@ var require_constants = __commonJS({
62
89
  MAX_SAFE_COMPONENT_LENGTH,
63
90
  MAX_SAFE_BUILD_LENGTH,
64
91
  MAX_SAFE_INTEGER,
92
+ WHITESPACE_CHARACTERS,
65
93
  RELEASE_TYPES,
66
94
  SEMVER_SPEC_VERSION,
67
95
  FLAG_INCLUDE_PRERELEASE: 1,
@@ -70,9 +98,9 @@ var require_constants = __commonJS({
70
98
  }
71
99
  });
72
100
 
73
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/re.js
101
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/re.js
74
102
  var require_re = __commonJS({
75
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/re.js"(exports, module) {
103
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/re.js"(exports, module) {
76
104
  "use strict";
77
105
  var {
78
106
  MAX_SAFE_COMPONENT_LENGTH,
@@ -158,9 +186,9 @@ var require_re = __commonJS({
158
186
  }
159
187
  });
160
188
 
161
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/parse-options.js
189
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/parse-options.js
162
190
  var require_parse_options = __commonJS({
163
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/parse-options.js"(exports, module) {
191
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/parse-options.js"(exports, module) {
164
192
  "use strict";
165
193
  var looseOption = Object.freeze({ loose: true });
166
194
  var emptyOpts = Object.freeze({});
@@ -177,9 +205,9 @@ var require_parse_options = __commonJS({
177
205
  }
178
206
  });
179
207
 
180
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/identifiers.js
208
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/identifiers.js
181
209
  var require_identifiers = __commonJS({
182
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/identifiers.js"(exports, module) {
210
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/internal/identifiers.js"(exports, module) {
183
211
  "use strict";
184
212
  var numeric = /^[0-9]+$/;
185
213
  var compareIdentifiers = (a2, b) => {
@@ -202,9 +230,9 @@ var require_identifiers = __commonJS({
202
230
  }
203
231
  });
204
232
 
205
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/semver.js
233
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/classes/semver.js
206
234
  var require_semver = __commonJS({
207
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/semver.js"(exports, module) {
235
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/classes/semver.js"(exports, module) {
208
236
  "use strict";
209
237
  var debug = require_debug();
210
238
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
@@ -494,9 +522,9 @@ var require_semver = __commonJS({
494
522
  }
495
523
  });
496
524
 
497
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare.js
525
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/functions/compare.js
498
526
  var require_compare = __commonJS({
499
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/compare.js"(exports, module) {
527
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/functions/compare.js"(exports, module) {
500
528
  "use strict";
501
529
  var SemVer = require_semver();
502
530
  var compare = (a2, b, loose) => new SemVer(a2, loose).compare(new SemVer(b, loose));
@@ -504,9 +532,9 @@ var require_compare = __commonJS({
504
532
  }
505
533
  });
506
534
 
507
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/parse.js
535
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/functions/parse.js
508
536
  var require_parse = __commonJS({
509
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/parse.js"(exports, module) {
537
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/functions/parse.js"(exports, module) {
510
538
  "use strict";
511
539
  var SemVer = require_semver();
512
540
  var parse2 = (version, options, throwErrors = false) => {
@@ -526,9 +554,9 @@ var require_parse = __commonJS({
526
554
  }
527
555
  });
528
556
 
529
- // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/valid.js
557
+ // ../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/functions/valid.js
530
558
  var require_valid = __commonJS({
531
- "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/functions/valid.js"(exports, module) {
559
+ "../../node_modules/.pnpm/semver@7.8.6/node_modules/semver/functions/valid.js"(exports, module) {
532
560
  "use strict";
533
561
  var parse2 = require_parse();
534
562
  var valid = (version, options) => {
@@ -2169,6 +2197,19 @@ var pluginExtensionInteractionResolutionSchema = z15.object({
2169
2197
  kind: z15.literal("request_answer"),
2170
2198
  value: jsonValueSchema
2171
2199
  });
2200
+ var resolutionDiscriminatorKeys = /* @__PURE__ */ new Set(["decision", "kind"]);
2201
+ function pendingInteractionResolutionError(issue) {
2202
+ if (issue.code !== "invalid_union") {
2203
+ return approvalDecisionDiscriminatorError;
2204
+ }
2205
+ for (const branch of issue.errors) {
2206
+ const first = branch[0];
2207
+ if (first !== void 0 && !resolutionDiscriminatorKeys.has(first.path[0] ?? "")) {
2208
+ return first.message;
2209
+ }
2210
+ }
2211
+ return approvalDecisionDiscriminatorError;
2212
+ }
2172
2213
  var pendingInteractionResolutionSchema = z15.union(
2173
2214
  [
2174
2215
  approvalPendingInteractionResolutionSchema,
@@ -2176,7 +2217,7 @@ var pendingInteractionResolutionSchema = z15.union(
2176
2217
  pluginPendingInteractionResolutionSchema,
2177
2218
  pluginExtensionInteractionResolutionSchema
2178
2219
  ],
2179
- approvalDecisionDiscriminatorError
2220
+ { error: pendingInteractionResolutionError }
2180
2221
  );
2181
2222
  function isApprovalPendingInteractionResolution(resolution) {
2182
2223
  return "decision" in resolution;
@@ -2650,15 +2691,6 @@ var threadTimelineGoalStatusSchema = z18.enum([
2650
2691
  "budgetLimited",
2651
2692
  "complete"
2652
2693
  ]);
2653
- var threadTimelineGoalSchema = z18.object({
2654
- sourceSeq: z18.number().int().nonnegative(),
2655
- updatedAt: z18.number(),
2656
- objective: z18.string(),
2657
- status: threadTimelineGoalStatusSchema,
2658
- tokenBudget: z18.number().nullable(),
2659
- tokensUsed: z18.number(),
2660
- timeUsedSeconds: z18.number()
2661
- });
2662
2694
 
2663
2695
  // ../domain/src/thread-usage-cost.ts
2664
2696
  import { z as z19 } from "zod";
@@ -2921,6 +2953,7 @@ var threadEventBackgroundTaskItemSchema = z20.object({
2921
2953
  summary: z20.string().optional(),
2922
2954
  error: z20.string().optional(),
2923
2955
  outputFile: z20.string().optional(),
2956
+ ownerStopped: z20.literal(true).optional(),
2924
2957
  ...itemPresentationField,
2925
2958
  parentToolCallId: z20.string().optional()
2926
2959
  });
@@ -12117,7 +12150,8 @@ var providerHealthSchema = z34.object({
12117
12150
  canInstall: z34.boolean(),
12118
12151
  canUpdate: z34.boolean(),
12119
12152
  loginCommand: z34.string().min(1).nullable(),
12120
- localLoginCommand: z34.string().min(1).nullable().optional()
12153
+ localLoginCommand: z34.string().min(1).nullable().optional(),
12154
+ internal_DO_NOT_USE_setupGuidePlanLabel: z34.string().min(1).nullable().optional()
12121
12155
  }).passthrough();
12122
12156
  var providerUsageWindowSchema = z34.object({
12123
12157
  label: z34.string().min(1),
@@ -1891,8 +1891,7 @@ var threadActivityStateSchema = z15.object({
1891
1891
  activeWorkflowCount: z15.number().int().nonnegative(),
1892
1892
  activeBackgroundAgentCount: z15.number().int().nonnegative(),
1893
1893
  activeBackgroundCommandCount: z15.number().int().nonnegative(),
1894
- activePlanModeCount: z15.number().int().nonnegative(),
1895
- activeGoalCount: z15.number().int().nonnegative()
1894
+ activePlanModeCount: z15.number().int().nonnegative()
1896
1895
  });
1897
1896
 
1898
1897
  // ../domain/src/thread.ts
@@ -2029,7 +2028,8 @@ var ENVIRONMENT_CHANGE_KINDS = [
2029
2028
  "metadata-changed",
2030
2029
  "status-changed",
2031
2030
  "work-status-changed",
2032
- "git-refs-changed"
2031
+ "git-refs-changed",
2032
+ "git-branches-changed"
2033
2033
  ];
2034
2034
  var HOST_CHANGE_KINDS = [
2035
2035
  "host-connected",
@@ -3597,7 +3597,6 @@ var INDICATOR_LABELS = {
3597
3597
  "background-agent": "Background agent running",
3598
3598
  "background-command": "Background command running",
3599
3599
  "plan-mode": "Plan mode active",
3600
- goal: "Goal active",
3601
3600
  runtime: "Thread working",
3602
3601
  "queued-failed": "Queued message failed to send",
3603
3602
  "queued-waiting": "Thread has a message waiting to send",
@@ -3642,14 +3641,12 @@ function addThreadFlags(flags, thread) {
3642
3641
  flags.backgroundAgent ||= thread.activity.backgroundAgents > 0;
3643
3642
  flags.backgroundCommand ||= thread.activity.backgroundCommands > 0;
3644
3643
  flags.planMode ||= thread.activity.planMode > 0;
3645
- flags.goal ||= thread.activity.goals > 0;
3646
3644
  }
3647
3645
  function resolveIndicator(flags, queuedWork, hasUnsubmittedDraft, isWorking) {
3648
3646
  if (flags.unreadError) return "unread-error";
3649
3647
  if (flags.pending) return "waiting-for-input";
3650
3648
  if (hasUnsubmittedDraft && isWorking) return "working-draft";
3651
3649
  if (flags.planMode) return "plan-mode";
3652
- if (flags.goal) return "goal";
3653
3650
  if (flags.runtime) return "runtime";
3654
3651
  if (flags.workflow) return "workflow";
3655
3652
  if (queuedWork === "failed") return "queued-failed";
@@ -3674,12 +3671,11 @@ function experimental_resolveThreadStatus({
3674
3671
  workflow: false,
3675
3672
  backgroundAgent: false,
3676
3673
  backgroundCommand: false,
3677
- planMode: false,
3678
- goal: false
3674
+ planMode: false
3679
3675
  };
3680
3676
  if (thread !== null) addThreadFlags(flags, thread);
3681
3677
  for (const hiddenThread of hiddenThreads) addThreadFlags(flags, hiddenThread);
3682
- const isThreadWorking = flags.runtime || flags.workflow || flags.backgroundAgent || flags.backgroundCommand || flags.planMode || flags.goal;
3678
+ const isThreadWorking = flags.runtime || flags.workflow || flags.backgroundAgent || flags.backgroundCommand || flags.planMode;
3683
3679
  const indicator = resolveIndicator(
3684
3680
  flags,
3685
3681
  thread?.queuedWork ?? "none",
@@ -3948,6 +3944,7 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
3948
3944
  homepageSections: [],
3949
3945
  settingsSections: [],
3950
3946
  appOverlays: [],
3947
+ setupGuideSections: [],
3951
3948
  navPanels: [],
3952
3949
  tabs: [],
3953
3950
  get threadPanelActions() {
@@ -3992,6 +3989,7 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
3992
3989
  homepageSection: /* @__PURE__ */ new Set(),
3993
3990
  settingsSection: /* @__PURE__ */ new Set(),
3994
3991
  appOverlay: /* @__PURE__ */ new Set(),
3992
+ setupGuideSection: /* @__PURE__ */ new Set(),
3995
3993
  navPanel: /* @__PURE__ */ new Set(),
3996
3994
  tab: /* @__PURE__ */ new Set(),
3997
3995
  newThreadPanelAction: /* @__PURE__ */ new Set(),
@@ -4194,6 +4192,15 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
4194
4192
  component: requireComponent(kind, registration.component)
4195
4193
  });
4196
4194
  },
4195
+ internal_DO_NOT_USE_setupGuideSection(registration) {
4196
+ const kind = "slots.internal_DO_NOT_USE_setupGuideSection";
4197
+ const id = requireSlotId(kind, registration?.id);
4198
+ requireUniqueId(kind, seenIds.setupGuideSection, id);
4199
+ collected.setupGuideSections.push({
4200
+ id,
4201
+ component: requireComponent(kind, registration.component)
4202
+ });
4203
+ },
4197
4204
  navPanel(registration) {
4198
4205
  const kind = "slots.navPanel";
4199
4206
  const id = requireSlotId(kind, registration?.id);
@@ -5590,6 +5597,29 @@ function TestInfoSection({
5590
5597
  children
5591
5598
  ] });
5592
5599
  }
5600
+ function TestCollapsibleStackCard({
5601
+ label,
5602
+ title,
5603
+ icon,
5604
+ isActive,
5605
+ dismiss,
5606
+ children
5607
+ }) {
5608
+ return /* @__PURE__ */ jsxs(
5609
+ "section",
5610
+ {
5611
+ "aria-label": label,
5612
+ "data-testid": "bb-collapsible-stack-card",
5613
+ "data-icon": icon,
5614
+ "data-active": isActive ? "true" : "false",
5615
+ children: [
5616
+ /* @__PURE__ */ jsx("h3", { children: title }),
5617
+ dismiss === void 0 ? null : /* @__PURE__ */ jsx("button", { type: "button", onClick: () => void dismiss.onDismiss(), children: dismiss.label }),
5618
+ children
5619
+ ]
5620
+ }
5621
+ );
5622
+ }
5593
5623
  function TestDetailRow({ label, icon, children }) {
5594
5624
  return /* @__PURE__ */ jsxs("div", { "data-testid": "bb-detail-row", "data-icon": icon, children: [
5595
5625
  /* @__PURE__ */ jsx("dt", { children: label }),
@@ -5714,6 +5744,9 @@ var testPluginSdkApp = {
5714
5744
  experimental_useThreadContextKind() {
5715
5745
  return useSlotEnv("experimental_useThreadContextKind").threadContextKind;
5716
5746
  },
5747
+ experimental_useThreadExtensionState(threadId, kind) {
5748
+ return useSlotEnv("experimental_useThreadExtensionState").threadExtensionStates[threadId]?.[kind] ?? null;
5749
+ },
5717
5750
  useBbContext() {
5718
5751
  return useSlotEnv("useBbContext").bbContext;
5719
5752
  },
@@ -5829,6 +5862,7 @@ var testPluginSdkApp = {
5829
5862
  experimental_FilePreview: TestFilePreview,
5830
5863
  experimental_Diff: TestDiff,
5831
5864
  experimental_InfoSection: TestInfoSection,
5865
+ experimental_CollapsibleStackCard: TestCollapsibleStackCard,
5832
5866
  experimental_DetailRow: TestDetailRow,
5833
5867
  experimental_ThreadContextCardRow: TestThreadContextCardRow,
5834
5868
  experimental_PanelTabIcon: TestPanelTabIcon,
@@ -6832,6 +6866,7 @@ ${block}
6832
6866
  sidebarDraftThreadIds,
6833
6867
  experiments: new Set(options.experiments ?? []),
6834
6868
  threadContextKind: options.threadContextKind ?? "banner",
6869
+ threadExtensionStates: options.threadExtensionStates ?? {},
6835
6870
  sidebarRowStatuses,
6836
6871
  sidebarShortcuts,
6837
6872
  sidebarSplitLayout: options.sidebarSplitLayout ?? null,
@@ -1529,6 +1529,12 @@ function validatePluginProviderDeclaration(declaration) {
1529
1529
  `provider "${id}" experimental_resolvesNativeRoots must be a boolean`
1530
1530
  );
1531
1531
  }
1532
+ const guidedSignIn = declaration.internal_DO_NOT_USE_guidedSignIn;
1533
+ if (guidedSignIn !== void 0 && typeof guidedSignIn !== "boolean") {
1534
+ throw new Error(
1535
+ `provider "${id}" internal_DO_NOT_USE_guidedSignIn must be a boolean`
1536
+ );
1537
+ }
1532
1538
  const deriveProviderOptions = declaration.deriveProviderOptions;
1533
1539
  if (deriveProviderOptions !== void 0 && typeof deriveProviderOptions !== "function") {
1534
1540
  throw new Error(
@@ -1558,6 +1564,7 @@ function validatePluginProviderDeclaration(declaration) {
1558
1564
  ...nativeSkillRoots === void 0 ? {} : { experimental_nativeSkillRoots: nativeSkillRoots },
1559
1565
  ...nativeCommandRoots === void 0 ? {} : { experimental_nativeCommandRoots: nativeCommandRoots },
1560
1566
  experimental_resolvesNativeRoots: resolvesNativeRoots ?? false,
1567
+ internal_DO_NOT_USE_guidedSignIn: guidedSignIn ?? false,
1561
1568
  ...deriveProviderOptions === void 0 ? {} : { deriveProviderOptions }
1562
1569
  });
1563
1570
  }
@@ -3176,6 +3183,7 @@ function createFakePluginHostInternal(options, sharedState) {
3176
3183
  assertLive();
3177
3184
  if (!databaseHandle?.open) {
3178
3185
  databaseHandle = new Database(join(storageRoot, "data.db"));
3186
+ databaseHandle.pragma("auto_vacuum = INCREMENTAL");
3179
3187
  databaseHandle.pragma("journal_mode = WAL");
3180
3188
  databaseHandle.pragma("busy_timeout = 5000");
3181
3189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@get-bb/plugin-sdk",
3
- "version": "0.6.125",
3
+ "version": "0.6.132",
4
4
  "homepage": "https://github.com/get-bb/bb#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/get-bb/bb/issues"
@@ -164,36 +164,36 @@
164
164
  "typecheck": "tsrs --noEmit"
165
165
  },
166
166
  "dependencies": {
167
- "@tanstack/react-query": "^5.62.0",
167
+ "@tanstack/react-query": "^5.106.1",
168
168
  "cross-spawn": "^7.0.6",
169
- "zod": "^4.6.5"
169
+ "zod": "^4.6.7"
170
170
  },
171
171
  "devDependencies": {
172
172
  "@bb/domain": "workspace:*",
173
173
  "@bb/process-utils": "workspace:*",
174
174
  "@bb/provider-bridge-acp": "workspace:*",
175
175
  "@bb/provider-bridge-protocol": "workspace:*",
176
+ "@bb/query-tags": "workspace:*",
176
177
  "@bb/sdk": "workspace:*",
177
178
  "@bb/server-contract": "workspace:*",
178
179
  "@bb/skill-index": "workspace:*",
179
180
  "@bb/tsconfig": "workspace:*",
180
- "@testing-library/react": "^16.3.2",
181
- "@types/better-sqlite3": "^7.6.12",
182
- "@types/node": "^22.0.0",
183
- "@types/react": "^19.0.0",
184
- "better-sqlite3": "12.10.0",
185
- "cron-parser": "^5.5.0",
186
- "esbuild": "^0.28.0",
187
- "hono": "4.11.9",
188
- "jsdom": "^29.0.1",
189
- "react": "^19.0.0",
190
- "react-dom": "^19.0.0",
191
- "rollup": "^4.62.2",
192
- "rollup-plugin-dts": "^6.4.1",
181
+ "@testing-library/react": "^16.3.3",
182
+ "@types/better-sqlite3": "^7.6.13",
183
+ "@types/node": "^22.20.5",
184
+ "@types/react": "^19.3.0",
185
+ "better-sqlite3": "12.11.1",
186
+ "cron-parser": "^5.10.3",
187
+ "esbuild": "^0.28.2",
188
+ "hono": "4.13.16",
189
+ "jsdom": "^29.1.1",
190
+ "react": "^19.3.1",
191
+ "react-dom": "^19.3.1",
192
+ "rollup": "^4.67.5",
193
+ "rollup-plugin-dts": "^6.5.1",
193
194
  "tsrs": "0.18.0-ts7.1.0-dev.20260929",
194
195
  "typescript": "npm:@typescript/typescript6@^6.0.2",
195
- "vitest": "^4.1.1",
196
- "@bb/query-tags": "workspace:*"
196
+ "vitest": "^4.1.12"
197
197
  },
198
198
  "peerDependencies": {
199
199
  "@testing-library/react": "^16.3.2",