@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.
- package/bundled-types/bb-plugin-sdk-app.d.ts +391 -281
- package/bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts +1 -10
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +9 -23
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +2 -1
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +606 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +32 -90
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +11 -10
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +66 -220
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +2 -1
- package/bundled-types/bb-plugin-sdk-testing.d.ts +7 -3
- package/bundled-types/bb-plugin-sdk.d.ts +409 -284
- package/dist/internal/host-policy.js +13 -7
- package/dist/internal/plugin-app-collector.js +32 -0
- package/dist/provider-bridge-acp-next.js +24029 -0
- package/dist/provider-bridge-acp.js +959 -873
- package/dist/provider-bridge-testing.js +571 -510
- package/dist/provider-bridge.js +633 -559
- package/dist/testing/app.js +32 -0
- package/dist/testing/index.js +15 -7
- package/package.json +8 -1
|
@@ -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.
|
|
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.
|
|
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
|
-
|
|
49
|
-
|
|
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.
|
|
490
|
-
|
|
491
|
-
|
|
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.
|
|
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.
|
|
555
|
-
|
|
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.
|
|
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<{
|
|
@@ -4853,6 +4849,10 @@ declare const threadDeltaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4853
4849
|
currentOrLast: "currentOrLast";
|
|
4854
4850
|
open: "open";
|
|
4855
4851
|
}>;
|
|
4852
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
4853
|
+
amount: z.ZodNumber;
|
|
4854
|
+
currency: z.ZodString;
|
|
4855
|
+
}, z.core.$strip>>;
|
|
4856
4856
|
estimated: z.ZodBoolean;
|
|
4857
4857
|
kind: z.ZodLiteral<"contextWindow">;
|
|
4858
4858
|
providerTurnId: z.ZodOptional<z.ZodString>;
|
|
@@ -4910,6 +4910,7 @@ declare const threadDeltaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4910
4910
|
}, z.core.$strip>, z.ZodObject<{
|
|
4911
4911
|
kind: z.ZodLiteral<"thread.name">;
|
|
4912
4912
|
name: z.ZodString;
|
|
4913
|
+
source: z.ZodOptional<z.ZodLiteral<"agent">>;
|
|
4913
4914
|
}, z.core.$strip>, z.ZodObject<{
|
|
4914
4915
|
extensionKind: z.ZodString & z.ZodType<`${string}/${string}`, string, z.core.$ZodTypeInternals<`${string}/${string}`, string>>;
|
|
4915
4916
|
kind: z.ZodLiteral<"extension.state">;
|
|
@@ -61,70 +61,16 @@ declare const contextSnapshotSchema: z.ZodObject<{
|
|
|
61
61
|
type ContextSnapshot = z.infer<typeof contextSnapshotSchema>;
|
|
62
62
|
|
|
63
63
|
declare const acpReasoningCliSchema: z.ZodObject<{
|
|
64
|
-
defaultLevel: z.ZodOptional<z.
|
|
65
|
-
high: "high";
|
|
66
|
-
low: "low";
|
|
67
|
-
max: "max";
|
|
68
|
-
medium: "medium";
|
|
69
|
-
none: "none";
|
|
70
|
-
ultra: "ultra";
|
|
71
|
-
ultracode: "ultracode";
|
|
72
|
-
xhigh: "xhigh";
|
|
73
|
-
}>>;
|
|
64
|
+
defaultLevel: z.ZodOptional<z.ZodString>;
|
|
74
65
|
flag: z.ZodString;
|
|
75
|
-
levelValues: z.ZodOptional<z.ZodRecord<z.
|
|
76
|
-
|
|
77
|
-
low: "low";
|
|
78
|
-
max: "max";
|
|
79
|
-
medium: "medium";
|
|
80
|
-
none: "none";
|
|
81
|
-
ultra: "ultra";
|
|
82
|
-
ultracode: "ultracode";
|
|
83
|
-
xhigh: "xhigh";
|
|
84
|
-
}> & z.core.$partial, z.ZodString>>;
|
|
85
|
-
supportedLevels: z.ZodArray<z.ZodEnum<{
|
|
86
|
-
high: "high";
|
|
87
|
-
low: "low";
|
|
88
|
-
max: "max";
|
|
89
|
-
medium: "medium";
|
|
90
|
-
none: "none";
|
|
91
|
-
ultra: "ultra";
|
|
92
|
-
ultracode: "ultracode";
|
|
93
|
-
xhigh: "xhigh";
|
|
94
|
-
}>>;
|
|
66
|
+
levelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
67
|
+
supportedLevels: z.ZodArray<z.ZodString>;
|
|
95
68
|
}, z.core.$strict>;
|
|
96
69
|
declare const acpNativeReasoningSchema: z.ZodObject<{
|
|
97
70
|
configId: z.ZodString;
|
|
98
|
-
defaultLevel: z.ZodOptional<z.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
max: "max";
|
|
102
|
-
medium: "medium";
|
|
103
|
-
none: "none";
|
|
104
|
-
ultra: "ultra";
|
|
105
|
-
ultracode: "ultracode";
|
|
106
|
-
xhigh: "xhigh";
|
|
107
|
-
}>>;
|
|
108
|
-
levelValues: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
109
|
-
high: "high";
|
|
110
|
-
low: "low";
|
|
111
|
-
max: "max";
|
|
112
|
-
medium: "medium";
|
|
113
|
-
none: "none";
|
|
114
|
-
ultra: "ultra";
|
|
115
|
-
ultracode: "ultracode";
|
|
116
|
-
xhigh: "xhigh";
|
|
117
|
-
}> & z.core.$partial, z.ZodString>>;
|
|
118
|
-
supportedLevels: z.ZodArray<z.ZodEnum<{
|
|
119
|
-
high: "high";
|
|
120
|
-
low: "low";
|
|
121
|
-
max: "max";
|
|
122
|
-
medium: "medium";
|
|
123
|
-
none: "none";
|
|
124
|
-
ultra: "ultra";
|
|
125
|
-
ultracode: "ultracode";
|
|
126
|
-
xhigh: "xhigh";
|
|
127
|
-
}>>;
|
|
71
|
+
defaultLevel: z.ZodOptional<z.ZodString>;
|
|
72
|
+
levelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
73
|
+
supportedLevels: z.ZodArray<z.ZodString>;
|
|
128
74
|
}, z.core.$strict>;
|
|
129
75
|
declare const acpPermissionCliSchema: z.ZodObject<{
|
|
130
76
|
full: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -425,6 +371,10 @@ declare const threadEventTokenUsageBreakdownSchema: z.ZodObject<{
|
|
|
425
371
|
}, z.core.$strip>;
|
|
426
372
|
type ThreadEventTokenUsageBreakdown = z.infer<typeof threadEventTokenUsageBreakdownSchema>;
|
|
427
373
|
declare const threadEventContextWindowUsageSchema: z.ZodObject<{
|
|
374
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
375
|
+
amount: z.ZodNumber;
|
|
376
|
+
currency: z.ZodString;
|
|
377
|
+
}, z.core.$strip>>;
|
|
428
378
|
estimated: z.ZodBoolean;
|
|
429
379
|
modelContextWindow: z.ZodNullable<z.ZodNumber>;
|
|
430
380
|
snapshot: z.ZodOptional<z.ZodObject<{
|
|
@@ -1370,16 +1320,7 @@ type ProviderInteractionOutcome = z.infer<typeof providerInteractionOutcomeSchem
|
|
|
1370
1320
|
declare function isApprovalInteractionOutcome(outcome: ProviderInteractionOutcome): outcome is ApprovalInteractionOutcome;
|
|
1371
1321
|
|
|
1372
1322
|
declare const reasoningLevelValues: readonly ["none", "low", "medium", "high", "xhigh", "ultracode", "max", "ultra"];
|
|
1373
|
-
declare const reasoningLevelSchema: z.
|
|
1374
|
-
high: "high";
|
|
1375
|
-
low: "low";
|
|
1376
|
-
max: "max";
|
|
1377
|
-
medium: "medium";
|
|
1378
|
-
none: "none";
|
|
1379
|
-
ultra: "ultra";
|
|
1380
|
-
ultracode: "ultracode";
|
|
1381
|
-
xhigh: "xhigh";
|
|
1382
|
-
}>;
|
|
1323
|
+
declare const reasoningLevelSchema: z.ZodString;
|
|
1383
1324
|
type ReasoningLevel = z.infer<typeof reasoningLevelSchema>;
|
|
1384
1325
|
declare const serviceTierSchema: z.ZodString;
|
|
1385
1326
|
type ServiceTier = z.infer<typeof serviceTierSchema>;
|
|
@@ -1542,16 +1483,8 @@ declare const extensionKindSchema: z.ZodString & z.ZodType<`${string}/${string}`
|
|
|
1542
1483
|
|
|
1543
1484
|
declare const modelReasoningEffortSchema: z.ZodObject<{
|
|
1544
1485
|
description: z.ZodString;
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
low: "low";
|
|
1548
|
-
max: "max";
|
|
1549
|
-
medium: "medium";
|
|
1550
|
-
none: "none";
|
|
1551
|
-
ultra: "ultra";
|
|
1552
|
-
ultracode: "ultracode";
|
|
1553
|
-
xhigh: "xhigh";
|
|
1554
|
-
}>;
|
|
1486
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
reasoningEffort: z.ZodString;
|
|
1555
1488
|
}, z.core.$strip>;
|
|
1556
1489
|
type ModelReasoningEffort = z.infer<typeof modelReasoningEffortSchema>;
|
|
1557
1490
|
declare const modelServiceTierSchema: z.ZodObject<{
|
|
@@ -1561,34 +1494,39 @@ declare const modelServiceTierSchema: z.ZodObject<{
|
|
|
1561
1494
|
}, z.core.$strip>;
|
|
1562
1495
|
type ModelServiceTier = z.infer<typeof modelServiceTierSchema>;
|
|
1563
1496
|
declare const availableModelSchema: z.ZodObject<{
|
|
1564
|
-
defaultReasoningEffort: z.
|
|
1565
|
-
high: "high";
|
|
1566
|
-
low: "low";
|
|
1567
|
-
max: "max";
|
|
1568
|
-
medium: "medium";
|
|
1569
|
-
none: "none";
|
|
1570
|
-
ultra: "ultra";
|
|
1571
|
-
ultracode: "ultracode";
|
|
1572
|
-
xhigh: "xhigh";
|
|
1573
|
-
}>;
|
|
1497
|
+
defaultReasoningEffort: z.ZodString;
|
|
1574
1498
|
description: z.ZodString;
|
|
1575
1499
|
displayName: z.ZodString;
|
|
1576
1500
|
id: z.ZodString;
|
|
1577
1501
|
isDefault: z.ZodBoolean;
|
|
1578
1502
|
model: z.ZodString;
|
|
1579
1503
|
routeProviderId: z.ZodOptional<z.ZodString>;
|
|
1504
|
+
sessionOptions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1505
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1507
|
+
id: z.ZodString;
|
|
1508
|
+
label: z.ZodString;
|
|
1509
|
+
type: z.ZodLiteral<"select">;
|
|
1510
|
+
value: z.ZodString;
|
|
1511
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1512
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
id: z.ZodString;
|
|
1515
|
+
label: z.ZodString;
|
|
1516
|
+
}, z.core.$strip>>;
|
|
1517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1518
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1519
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
fixed: z.ZodOptional<z.ZodBoolean>;
|
|
1521
|
+
id: z.ZodString;
|
|
1522
|
+
label: z.ZodString;
|
|
1523
|
+
type: z.ZodLiteral<"boolean">;
|
|
1524
|
+
value: z.ZodBoolean;
|
|
1525
|
+
}, z.core.$strip>], "type">>>;
|
|
1580
1526
|
supportedReasoningEfforts: z.ZodArray<z.ZodObject<{
|
|
1581
1527
|
description: z.ZodString;
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
low: "low";
|
|
1585
|
-
max: "max";
|
|
1586
|
-
medium: "medium";
|
|
1587
|
-
none: "none";
|
|
1588
|
-
ultra: "ultra";
|
|
1589
|
-
ultracode: "ultracode";
|
|
1590
|
-
xhigh: "xhigh";
|
|
1591
|
-
}>;
|
|
1528
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1529
|
+
reasoningEffort: z.ZodString;
|
|
1592
1530
|
}, z.core.$strip>>;
|
|
1593
1531
|
supportedServiceTiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1594
1532
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2988,6 +2926,10 @@ declare const threadDeltaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2988
2926
|
currentOrLast: "currentOrLast";
|
|
2989
2927
|
open: "open";
|
|
2990
2928
|
}>;
|
|
2929
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
2930
|
+
amount: z.ZodNumber;
|
|
2931
|
+
currency: z.ZodString;
|
|
2932
|
+
}, z.core.$strip>>;
|
|
2991
2933
|
estimated: z.ZodBoolean;
|
|
2992
2934
|
kind: z.ZodLiteral<"contextWindow">;
|
|
2993
2935
|
providerTurnId: z.ZodOptional<z.ZodString>;
|
|
@@ -3045,6 +2987,7 @@ declare const threadDeltaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3045
2987
|
}, z.core.$strip>, z.ZodObject<{
|
|
3046
2988
|
kind: z.ZodLiteral<"thread.name">;
|
|
3047
2989
|
name: z.ZodString;
|
|
2990
|
+
source: z.ZodOptional<z.ZodLiteral<"agent">>;
|
|
3048
2991
|
}, z.core.$strip>, z.ZodObject<{
|
|
3049
2992
|
extensionKind: z.ZodString & z.ZodType<`${string}/${string}`, string, z.core.$ZodTypeInternals<`${string}/${string}`, string>>;
|
|
3050
2993
|
kind: z.ZodLiteral<"extension.state">;
|
|
@@ -3833,6 +3776,10 @@ declare const threadDeltaNotificationParamsSchema: z.ZodObject<{
|
|
|
3833
3776
|
currentOrLast: "currentOrLast";
|
|
3834
3777
|
open: "open";
|
|
3835
3778
|
}>;
|
|
3779
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
3780
|
+
amount: z.ZodNumber;
|
|
3781
|
+
currency: z.ZodString;
|
|
3782
|
+
}, z.core.$strip>>;
|
|
3836
3783
|
estimated: z.ZodBoolean;
|
|
3837
3784
|
kind: z.ZodLiteral<"contextWindow">;
|
|
3838
3785
|
providerTurnId: z.ZodOptional<z.ZodString>;
|
|
@@ -3890,6 +3837,7 @@ declare const threadDeltaNotificationParamsSchema: z.ZodObject<{
|
|
|
3890
3837
|
}, z.core.$strip>, z.ZodObject<{
|
|
3891
3838
|
kind: z.ZodLiteral<"thread.name">;
|
|
3892
3839
|
name: z.ZodString;
|
|
3840
|
+
source: z.ZodOptional<z.ZodLiteral<"agent">>;
|
|
3893
3841
|
}, z.core.$strip>, z.ZodObject<{
|
|
3894
3842
|
extensionKind: z.ZodString & z.ZodType<`${string}/${string}`, string, z.core.$ZodTypeInternals<`${string}/${string}`, string>>;
|
|
3895
3843
|
kind: z.ZodLiteral<"extension.state">;
|
|
@@ -4456,17 +4404,9 @@ declare const bridgeExecutionOptionsSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
4456
4404
|
model: z.ZodOptional<z.ZodString>;
|
|
4457
4405
|
promptMode: z.ZodOptional<z.ZodLiteral<"plan">>;
|
|
4458
4406
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4459
|
-
reasoningLevel: z.ZodOptional<z.
|
|
4460
|
-
high: "high";
|
|
4461
|
-
low: "low";
|
|
4462
|
-
max: "max";
|
|
4463
|
-
medium: "medium";
|
|
4464
|
-
none: "none";
|
|
4465
|
-
ultra: "ultra";
|
|
4466
|
-
ultracode: "ultracode";
|
|
4467
|
-
xhigh: "xhigh";
|
|
4468
|
-
}>>;
|
|
4407
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
4469
4408
|
serviceTier: z.ZodOptional<z.ZodString>;
|
|
4409
|
+
sessionOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
4470
4410
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4471
4411
|
approvalReviewer: z.ZodLiteral<"user">;
|
|
4472
4412
|
permissionEscalation: z.ZodEnum<{
|
|
@@ -4647,17 +4587,9 @@ declare const threadStartParamsSchema: z.ZodObject<{
|
|
|
4647
4587
|
model: z.ZodOptional<z.ZodString>;
|
|
4648
4588
|
promptMode: z.ZodOptional<z.ZodLiteral<"plan">>;
|
|
4649
4589
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4650
|
-
reasoningLevel: z.ZodOptional<z.
|
|
4651
|
-
high: "high";
|
|
4652
|
-
low: "low";
|
|
4653
|
-
max: "max";
|
|
4654
|
-
medium: "medium";
|
|
4655
|
-
none: "none";
|
|
4656
|
-
ultra: "ultra";
|
|
4657
|
-
ultracode: "ultracode";
|
|
4658
|
-
xhigh: "xhigh";
|
|
4659
|
-
}>>;
|
|
4590
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
4660
4591
|
serviceTier: z.ZodOptional<z.ZodString>;
|
|
4592
|
+
sessionOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
4661
4593
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4662
4594
|
approvalReviewer: z.ZodLiteral<"user">;
|
|
4663
4595
|
permissionEscalation: z.ZodEnum<{
|
|
@@ -4725,17 +4657,9 @@ declare const threadResumeParamsSchema: z.ZodObject<{
|
|
|
4725
4657
|
model: z.ZodOptional<z.ZodString>;
|
|
4726
4658
|
promptMode: z.ZodOptional<z.ZodLiteral<"plan">>;
|
|
4727
4659
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4728
|
-
reasoningLevel: z.ZodOptional<z.
|
|
4729
|
-
high: "high";
|
|
4730
|
-
low: "low";
|
|
4731
|
-
max: "max";
|
|
4732
|
-
medium: "medium";
|
|
4733
|
-
none: "none";
|
|
4734
|
-
ultra: "ultra";
|
|
4735
|
-
ultracode: "ultracode";
|
|
4736
|
-
xhigh: "xhigh";
|
|
4737
|
-
}>>;
|
|
4660
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
4738
4661
|
serviceTier: z.ZodOptional<z.ZodString>;
|
|
4662
|
+
sessionOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
4739
4663
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4740
4664
|
approvalReviewer: z.ZodLiteral<"user">;
|
|
4741
4665
|
permissionEscalation: z.ZodEnum<{
|
|
@@ -4804,17 +4728,9 @@ declare const threadForkParamsSchema: z.ZodObject<{
|
|
|
4804
4728
|
model: z.ZodOptional<z.ZodString>;
|
|
4805
4729
|
promptMode: z.ZodOptional<z.ZodLiteral<"plan">>;
|
|
4806
4730
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4807
|
-
reasoningLevel: z.ZodOptional<z.
|
|
4808
|
-
high: "high";
|
|
4809
|
-
low: "low";
|
|
4810
|
-
max: "max";
|
|
4811
|
-
medium: "medium";
|
|
4812
|
-
none: "none";
|
|
4813
|
-
ultra: "ultra";
|
|
4814
|
-
ultracode: "ultracode";
|
|
4815
|
-
xhigh: "xhigh";
|
|
4816
|
-
}>>;
|
|
4731
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
4817
4732
|
serviceTier: z.ZodOptional<z.ZodString>;
|
|
4733
|
+
sessionOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
4818
4734
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4819
4735
|
approvalReviewer: z.ZodLiteral<"user">;
|
|
4820
4736
|
permissionEscalation: z.ZodEnum<{
|
|
@@ -4969,17 +4885,9 @@ declare const turnStartParamsSchema: z.ZodObject<{
|
|
|
4969
4885
|
model: z.ZodOptional<z.ZodString>;
|
|
4970
4886
|
promptMode: z.ZodOptional<z.ZodLiteral<"plan">>;
|
|
4971
4887
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4972
|
-
reasoningLevel: z.ZodOptional<z.
|
|
4973
|
-
high: "high";
|
|
4974
|
-
low: "low";
|
|
4975
|
-
max: "max";
|
|
4976
|
-
medium: "medium";
|
|
4977
|
-
none: "none";
|
|
4978
|
-
ultra: "ultra";
|
|
4979
|
-
ultracode: "ultracode";
|
|
4980
|
-
xhigh: "xhigh";
|
|
4981
|
-
}>>;
|
|
4888
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
4982
4889
|
serviceTier: z.ZodOptional<z.ZodString>;
|
|
4890
|
+
sessionOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
4983
4891
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4984
4892
|
approvalReviewer: z.ZodLiteral<"user">;
|
|
4985
4893
|
permissionEscalation: z.ZodEnum<{
|
|
@@ -5104,17 +5012,9 @@ declare const turnSteerParamsSchema: z.ZodObject<{
|
|
|
5104
5012
|
model: z.ZodOptional<z.ZodString>;
|
|
5105
5013
|
promptMode: z.ZodOptional<z.ZodLiteral<"plan">>;
|
|
5106
5014
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5107
|
-
reasoningLevel: z.ZodOptional<z.
|
|
5108
|
-
high: "high";
|
|
5109
|
-
low: "low";
|
|
5110
|
-
max: "max";
|
|
5111
|
-
medium: "medium";
|
|
5112
|
-
none: "none";
|
|
5113
|
-
ultra: "ultra";
|
|
5114
|
-
ultracode: "ultracode";
|
|
5115
|
-
xhigh: "xhigh";
|
|
5116
|
-
}>>;
|
|
5015
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
5117
5016
|
serviceTier: z.ZodOptional<z.ZodString>;
|
|
5017
|
+
sessionOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
5118
5018
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5119
5019
|
approvalReviewer: z.ZodLiteral<"user">;
|
|
5120
5020
|
permissionEscalation: z.ZodEnum<{
|
|
@@ -5217,36 +5117,9 @@ declare const acpLaunchSpecSchema: z.ZodObject<{
|
|
|
5217
5117
|
}>>>;
|
|
5218
5118
|
nativeReasoning: z.ZodOptional<z.ZodObject<{
|
|
5219
5119
|
configId: z.ZodString;
|
|
5220
|
-
defaultLevel: z.ZodOptional<z.
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
max: "max";
|
|
5224
|
-
medium: "medium";
|
|
5225
|
-
none: "none";
|
|
5226
|
-
ultra: "ultra";
|
|
5227
|
-
ultracode: "ultracode";
|
|
5228
|
-
xhigh: "xhigh";
|
|
5229
|
-
}>>;
|
|
5230
|
-
levelValues: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5231
|
-
high: "high";
|
|
5232
|
-
low: "low";
|
|
5233
|
-
max: "max";
|
|
5234
|
-
medium: "medium";
|
|
5235
|
-
none: "none";
|
|
5236
|
-
ultra: "ultra";
|
|
5237
|
-
ultracode: "ultracode";
|
|
5238
|
-
xhigh: "xhigh";
|
|
5239
|
-
}> & z.core.$partial, z.ZodString>>;
|
|
5240
|
-
supportedLevels: z.ZodArray<z.ZodEnum<{
|
|
5241
|
-
high: "high";
|
|
5242
|
-
low: "low";
|
|
5243
|
-
max: "max";
|
|
5244
|
-
medium: "medium";
|
|
5245
|
-
none: "none";
|
|
5246
|
-
ultra: "ultra";
|
|
5247
|
-
ultracode: "ultracode";
|
|
5248
|
-
xhigh: "xhigh";
|
|
5249
|
-
}>>;
|
|
5120
|
+
defaultLevel: z.ZodOptional<z.ZodString>;
|
|
5121
|
+
levelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5122
|
+
supportedLevels: z.ZodArray<z.ZodString>;
|
|
5250
5123
|
}, z.core.$strict>>;
|
|
5251
5124
|
nativeSkillRoots: z.ZodOptional<z.ZodObject<{
|
|
5252
5125
|
project: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -5271,37 +5144,10 @@ declare const acpLaunchSpecSchema: z.ZodObject<{
|
|
|
5271
5144
|
workspaceWrite: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5272
5145
|
}, z.core.$strict>>;
|
|
5273
5146
|
reasoningCli: z.ZodOptional<z.ZodObject<{
|
|
5274
|
-
defaultLevel: z.ZodOptional<z.
|
|
5275
|
-
high: "high";
|
|
5276
|
-
low: "low";
|
|
5277
|
-
max: "max";
|
|
5278
|
-
medium: "medium";
|
|
5279
|
-
none: "none";
|
|
5280
|
-
ultra: "ultra";
|
|
5281
|
-
ultracode: "ultracode";
|
|
5282
|
-
xhigh: "xhigh";
|
|
5283
|
-
}>>;
|
|
5147
|
+
defaultLevel: z.ZodOptional<z.ZodString>;
|
|
5284
5148
|
flag: z.ZodString;
|
|
5285
|
-
levelValues: z.ZodOptional<z.ZodRecord<z.
|
|
5286
|
-
|
|
5287
|
-
low: "low";
|
|
5288
|
-
max: "max";
|
|
5289
|
-
medium: "medium";
|
|
5290
|
-
none: "none";
|
|
5291
|
-
ultra: "ultra";
|
|
5292
|
-
ultracode: "ultracode";
|
|
5293
|
-
xhigh: "xhigh";
|
|
5294
|
-
}> & z.core.$partial, z.ZodString>>;
|
|
5295
|
-
supportedLevels: z.ZodArray<z.ZodEnum<{
|
|
5296
|
-
high: "high";
|
|
5297
|
-
low: "low";
|
|
5298
|
-
max: "max";
|
|
5299
|
-
medium: "medium";
|
|
5300
|
-
none: "none";
|
|
5301
|
-
ultra: "ultra";
|
|
5302
|
-
ultracode: "ultracode";
|
|
5303
|
-
xhigh: "xhigh";
|
|
5304
|
-
}>>;
|
|
5149
|
+
levelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5150
|
+
supportedLevels: z.ZodArray<z.ZodString>;
|
|
5305
5151
|
}, z.core.$strict>>;
|
|
5306
5152
|
}, z.core.$strict>;
|
|
5307
5153
|
type AcpLaunchSpec = z.infer<typeof acpLaunchSpecSchema>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { ReactNode, ComponentType } from 'react';
|
|
9
9
|
import { RenderResult } from '@testing-library/react';
|
|
10
|
-
import { ExperimentalSidebarFooterItemRegistration, PluginProviderIconRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, PluginNavPanelRegistration, PluginThreadPanelActionRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, PluginThreadHeaderActionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, PluginMessageDirectiveRegistration, PluginMessageActionRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, ComposerDraftSnapshot, PluginComposerScope, ComposerSelection, PluginComposerTextEffect, PluginComposerMention, ComposerSubmitOptions, ExperimentalClipboardContent, PluginComposerThreadRowStatus, ExperimentalOpenFixedTabOptions, JsonValue, BbNavigate, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, PluginSidebarPullRequest, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState } from '@get-bb/plugin-sdk';
|
|
10
|
+
import { ExperimentalSidebarFooterItemRegistration, PluginProviderIconRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, PluginNavPanelRegistration, PluginThreadPanelActionRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, PluginThreadHeaderActionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, ComposerDraftSnapshot, PluginComposerScope, ComposerSelection, PluginComposerTextEffect, PluginComposerMention, ComposerSubmitOptions, ExperimentalClipboardContent, PluginComposerThreadRowStatus, ExperimentalOpenFixedTabOptions, JsonValue, BbNavigate, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, PluginSidebarPullRequest, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState } from '@get-bb/plugin-sdk';
|
|
11
11
|
|
|
12
12
|
type ExperimentalSidebarFooterCommandKind = "close" | "open" | "toggle";
|
|
13
13
|
interface ExperimentalSidebarFooterRuntimeSnapshot {
|
|
@@ -191,6 +191,7 @@ interface CapturedPluginApp {
|
|
|
191
191
|
sourceCodeRenderers: PluginSourceCodeRendererRegistration[];
|
|
192
192
|
diffRenderers: PluginDiffRendererRegistration[];
|
|
193
193
|
messageDirectives: PluginMessageDirectiveRegistration[];
|
|
194
|
+
codeFenceRenderers: ExperimentalCodeFenceRendererRegistration[];
|
|
194
195
|
messageActions: PluginMessageActionRegistration[];
|
|
195
196
|
providerIcons: CollectedPluginProviderIconRegistration[];
|
|
196
197
|
icons: ExperimentalIconRegistration[];
|
|
@@ -734,13 +734,17 @@ interface PluginProviderFallbackModel {
|
|
|
734
734
|
/** Picker display name ("Opus 5 (1M)"). */
|
|
735
735
|
displayName: string;
|
|
736
736
|
description: string;
|
|
737
|
-
/** Reasoning levels this model supports, lowest to highest. Non-empty.
|
|
737
|
+
/** Reasoning levels this model supports, lowest to highest. Non-empty.
|
|
738
|
+
* `reasoningEffort` is a standard ladder entry or any provider-specific id
|
|
739
|
+
* the bridge accepts back as `reasoningLevel`; `label` names a
|
|
740
|
+
* provider-specific id in the picker. */
|
|
738
741
|
supportedReasoningEfforts: readonly {
|
|
739
|
-
reasoningEffort: PluginProviderReasoningLevel;
|
|
742
|
+
reasoningEffort: PluginProviderReasoningLevel | (string & {});
|
|
743
|
+
label?: string;
|
|
740
744
|
description: string;
|
|
741
745
|
}[];
|
|
742
746
|
/** Must be one of `supportedReasoningEfforts`. */
|
|
743
|
-
defaultReasoningEffort: PluginProviderReasoningLevel;
|
|
747
|
+
defaultReasoningEffort: PluginProviderReasoningLevel | (string & {});
|
|
744
748
|
/** Exactly one entry in the list is the default. */
|
|
745
749
|
isDefault: boolean;
|
|
746
750
|
}
|