@get-bb/plugin-sdk 0.6.33 → 0.6.39

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.
@@ -12,49 +12,45 @@ interface JsonObject {
12
12
  }
13
13
  type JsonValue = string | number | boolean | null | JsonValue[] | JsonObject;
14
14
 
15
- declare const reasoningLevelSchema: z.ZodEnum<{
16
- high: "high";
17
- low: "low";
18
- max: "max";
19
- medium: "medium";
20
- none: "none";
21
- ultra: "ultra";
22
- ultracode: "ultracode";
23
- xhigh: "xhigh";
24
- }>;
15
+ declare const reasoningLevelSchema: z.ZodString;
25
16
  type ReasoningLevel = z.infer<typeof reasoningLevelSchema>;
26
17
  declare const serviceTierSchema: z.ZodString;
27
18
  type ServiceTier = z.infer<typeof serviceTierSchema>;
28
19
 
29
20
  declare const availableModelSchema: z.ZodObject<{
30
- defaultReasoningEffort: z.ZodEnum<{
31
- high: "high";
32
- low: "low";
33
- max: "max";
34
- medium: "medium";
35
- none: "none";
36
- ultra: "ultra";
37
- ultracode: "ultracode";
38
- xhigh: "xhigh";
39
- }>;
21
+ defaultReasoningEffort: z.ZodString;
40
22
  description: z.ZodString;
41
23
  displayName: z.ZodString;
42
24
  id: z.ZodString;
43
25
  isDefault: z.ZodBoolean;
44
26
  model: z.ZodString;
45
27
  routeProviderId: z.ZodOptional<z.ZodString>;
28
+ sessionOptions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
29
+ category: z.ZodOptional<z.ZodString>;
30
+ description: z.ZodOptional<z.ZodString>;
31
+ id: z.ZodString;
32
+ label: z.ZodString;
33
+ type: z.ZodLiteral<"select">;
34
+ value: z.ZodString;
35
+ values: z.ZodArray<z.ZodObject<{
36
+ description: z.ZodOptional<z.ZodString>;
37
+ group: z.ZodOptional<z.ZodString>;
38
+ id: z.ZodString;
39
+ label: z.ZodString;
40
+ }, z.core.$strip>>;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ category: z.ZodOptional<z.ZodString>;
43
+ description: z.ZodOptional<z.ZodString>;
44
+ fixed: z.ZodOptional<z.ZodBoolean>;
45
+ id: z.ZodString;
46
+ label: z.ZodString;
47
+ type: z.ZodLiteral<"boolean">;
48
+ value: z.ZodBoolean;
49
+ }, z.core.$strip>], "type">>>;
46
50
  supportedReasoningEfforts: z.ZodArray<z.ZodObject<{
47
51
  description: z.ZodString;
48
- reasoningEffort: z.ZodEnum<{
49
- high: "high";
50
- low: "low";
51
- max: "max";
52
- medium: "medium";
53
- none: "none";
54
- ultra: "ultra";
55
- ultracode: "ultracode";
56
- xhigh: "xhigh";
57
- }>;
52
+ label: z.ZodOptional<z.ZodString>;
53
+ reasoningEffort: z.ZodString;
58
54
  }, z.core.$strip>>;
59
55
  supportedServiceTiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
56
  description: z.ZodOptional<z.ZodString>;
@@ -486,36 +482,9 @@ declare const acpLaunchSpecSchema: z.ZodObject<{
486
482
  }>>>;
487
483
  nativeReasoning: z.ZodOptional<z.ZodObject<{
488
484
  configId: z.ZodString;
489
- defaultLevel: z.ZodOptional<z.ZodEnum<{
490
- high: "high";
491
- low: "low";
492
- max: "max";
493
- medium: "medium";
494
- none: "none";
495
- ultra: "ultra";
496
- ultracode: "ultracode";
497
- xhigh: "xhigh";
498
- }>>;
499
- levelValues: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
500
- high: "high";
501
- low: "low";
502
- max: "max";
503
- medium: "medium";
504
- none: "none";
505
- ultra: "ultra";
506
- ultracode: "ultracode";
507
- xhigh: "xhigh";
508
- }> & z.core.$partial, z.ZodString>>;
509
- supportedLevels: z.ZodArray<z.ZodEnum<{
510
- high: "high";
511
- low: "low";
512
- max: "max";
513
- medium: "medium";
514
- none: "none";
515
- ultra: "ultra";
516
- ultracode: "ultracode";
517
- xhigh: "xhigh";
518
- }>>;
485
+ defaultLevel: z.ZodOptional<z.ZodString>;
486
+ levelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
487
+ supportedLevels: z.ZodArray<z.ZodString>;
519
488
  }, z.core.$strict>>;
520
489
  nativeSkillRoots: z.ZodOptional<z.ZodObject<{
521
490
  project: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -540,37 +509,10 @@ declare const acpLaunchSpecSchema: z.ZodObject<{
540
509
  workspaceWrite: z.ZodOptional<z.ZodArray<z.ZodString>>;
541
510
  }, z.core.$strict>>;
542
511
  reasoningCli: z.ZodOptional<z.ZodObject<{
543
- defaultLevel: z.ZodOptional<z.ZodEnum<{
544
- high: "high";
545
- low: "low";
546
- max: "max";
547
- medium: "medium";
548
- none: "none";
549
- ultra: "ultra";
550
- ultracode: "ultracode";
551
- xhigh: "xhigh";
552
- }>>;
512
+ defaultLevel: z.ZodOptional<z.ZodString>;
553
513
  flag: z.ZodString;
554
- levelValues: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
555
- high: "high";
556
- low: "low";
557
- max: "max";
558
- medium: "medium";
559
- none: "none";
560
- ultra: "ultra";
561
- ultracode: "ultracode";
562
- xhigh: "xhigh";
563
- }> & z.core.$partial, z.ZodString>>;
564
- supportedLevels: z.ZodArray<z.ZodEnum<{
565
- high: "high";
566
- low: "low";
567
- max: "max";
568
- medium: "medium";
569
- none: "none";
570
- ultra: "ultra";
571
- ultracode: "ultracode";
572
- xhigh: "xhigh";
573
- }>>;
514
+ levelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
515
+ supportedLevels: z.ZodArray<z.ZodString>;
574
516
  }, z.core.$strict>>;
575
517
  }, z.core.$strict>;
576
518
  type AcpLaunchSpec = z.infer<typeof acpLaunchSpecSchema>;
@@ -1227,6 +1227,7 @@ declare const threadEventSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodDis
1227
1227
  type: z.ZodLiteral<"turn/input/accepted">;
1228
1228
  }, z.core.$strict>, z.ZodObject<{
1229
1229
  providerThreadId: z.ZodString;
1230
+ source: z.ZodOptional<z.ZodLiteral<"agent">>;
1230
1231
  threadId: z.ZodString;
1231
1232
  threadName: z.ZodString;
1232
1233
  type: z.ZodLiteral<"thread/name/updated">;
@@ -3154,6 +3155,10 @@ declare const threadEventSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodDis
3154
3155
  type: z.ZodLiteral<"thread/tokenUsage/updated">;
3155
3156
  }, z.core.$strip>, z.ZodObject<{
3156
3157
  contextWindowUsage: z.ZodObject<{
3158
+ cost: z.ZodOptional<z.ZodObject<{
3159
+ amount: z.ZodNumber;
3160
+ currency: z.ZodString;
3161
+ }, z.core.$strip>>;
3157
3162
  estimated: z.ZodBoolean;
3158
3163
  modelContextWindow: z.ZodNullable<z.ZodNumber>;
3159
3164
  snapshot: z.ZodOptional<z.ZodObject<{
@@ -3376,16 +3381,7 @@ declare const threadEventSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodDis
3376
3381
  full: "full";
3377
3382
  readonly: "readonly";
3378
3383
  }>;
3379
- reasoningLevel: z.ZodEnum<{
3380
- high: "high";
3381
- low: "low";
3382
- max: "max";
3383
- medium: "medium";
3384
- none: "none";
3385
- ultra: "ultra";
3386
- ultracode: "ultracode";
3387
- xhigh: "xhigh";
3388
- }>;
3384
+ reasoningLevel: z.ZodString;
3389
3385
  seq: z.ZodOptional<z.ZodNumber>;
3390
3386
  serviceTier: z.ZodString;
3391
3387
  source: z.ZodEnum<{
@@ -3451,6 +3447,10 @@ declare const threadEventSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodDis
3451
3447
  kind: z.ZodLiteral<"plugin">;
3452
3448
  label: z.ZodString;
3453
3449
  pluginId: z.ZodString;
3450
+ }, z.core.$strip>, z.ZodObject<{
3451
+ kind: z.ZodLiteral<"attachment">;
3452
+ label: z.ZodString;
3453
+ path: z.ZodString;
3454
3454
  }, z.core.$strip>], "kind">, unknown>;
3455
3455
  start: z.ZodNumber;
3456
3456
  }, z.core.$strip>>>;
@@ -3537,6 +3537,10 @@ declare const threadEventSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodDis
3537
3537
  kind: z.ZodLiteral<"plugin">;
3538
3538
  label: z.ZodString;
3539
3539
  pluginId: z.ZodString;
3540
+ }, z.core.$strip>, z.ZodObject<{
3541
+ kind: z.ZodLiteral<"attachment">;
3542
+ label: z.ZodString;
3543
+ path: z.ZodString;
3540
3544
  }, z.core.$strip>], "kind">, unknown>;
3541
3545
  start: z.ZodNumber;
3542
3546
  }, z.core.$strip>>>;
@@ -4149,6 +4153,10 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4149
4153
  kind: z.ZodLiteral<"plugin">;
4150
4154
  label: z.ZodString;
4151
4155
  pluginId: z.ZodString;
4156
+ }, z.core.$strip>, z.ZodObject<{
4157
+ kind: z.ZodLiteral<"attachment">;
4158
+ label: z.ZodString;
4159
+ path: z.ZodString;
4152
4160
  }, z.core.$strip>], "kind">, unknown>;
4153
4161
  start: z.ZodNumber;
4154
4162
  }, z.core.$strip>>>;
@@ -4841,6 +4849,10 @@ declare const threadDeltaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4841
4849
  currentOrLast: "currentOrLast";
4842
4850
  open: "open";
4843
4851
  }>;
4852
+ cost: z.ZodOptional<z.ZodObject<{
4853
+ amount: z.ZodNumber;
4854
+ currency: z.ZodString;
4855
+ }, z.core.$strip>>;
4844
4856
  estimated: z.ZodBoolean;
4845
4857
  kind: z.ZodLiteral<"contextWindow">;
4846
4858
  providerTurnId: z.ZodOptional<z.ZodString>;
@@ -4898,6 +4910,7 @@ declare const threadDeltaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4898
4910
  }, z.core.$strip>, z.ZodObject<{
4899
4911
  kind: z.ZodLiteral<"thread.name">;
4900
4912
  name: z.ZodString;
4913
+ source: z.ZodOptional<z.ZodLiteral<"agent">>;
4901
4914
  }, z.core.$strip>, z.ZodObject<{
4902
4915
  extensionKind: z.ZodString & z.ZodType<`${string}/${string}`, string, z.core.$ZodTypeInternals<`${string}/${string}`, string>>;
4903
4916
  kind: z.ZodLiteral<"extension.state">;