@get-bb/plugin-sdk 0.4.34 → 0.4.40
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/README.md +10 -0
- package/bundled-types/bb-plugin-sdk-app.d.ts +32 -3
- package/bundled-types/bb-plugin-sdk-host.d.ts +1 -1
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +23 -9
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +2 -1
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +3 -2
- package/bundled-types/bb-plugin-sdk-testing.d.ts +6 -2
- package/bundled-types/bb-plugin-sdk.d.ts +289 -92
- package/dist/internal/host-policy.js +89 -2
- package/dist/internal/plugin-app-collector.js +11 -0
- package/dist/provider-bridge-acp.js +135 -26
- package/dist/testing/app.js +11 -0
- package/dist/testing/index.js +147 -33
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ interface ProviderNativeRootsInputLike {
|
|
|
44
44
|
|
|
45
45
|
declare const appSettingsSchema: z$1.ZodObject<{
|
|
46
46
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
47
|
+
managedBranchPrefix: z$1.ZodString;
|
|
47
48
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
48
49
|
showKeyboardHints: z$1.ZodBoolean;
|
|
49
50
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
@@ -68,6 +69,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
68
69
|
"modelPicker.cycleReasoning": "modelPicker.cycleReasoning";
|
|
69
70
|
"modelPicker.cycleReasoningBackward": "modelPicker.cycleReasoningBackward";
|
|
70
71
|
"modelPicker.toggle": "modelPicker.toggle";
|
|
72
|
+
"notifications.open": "notifications.open";
|
|
71
73
|
"palette.open": "palette.open";
|
|
72
74
|
"pane.close": "pane.close";
|
|
73
75
|
"pane.focus.1": "pane.focus.1";
|
|
@@ -4462,15 +4464,6 @@ declare const commitActionResponseSchema: z$1.ZodObject<{
|
|
|
4462
4464
|
ok: z$1.ZodLiteral<true>;
|
|
4463
4465
|
}, z$1.core.$strip>;
|
|
4464
4466
|
type CommitActionResponse = z$1.infer<typeof commitActionResponseSchema>;
|
|
4465
|
-
declare const squashMergeActionResponseSchema: z$1.ZodObject<{
|
|
4466
|
-
action: z$1.ZodLiteral<"squash_merge">;
|
|
4467
|
-
commitSha: z$1.ZodString;
|
|
4468
|
-
commitSubject: z$1.ZodString;
|
|
4469
|
-
merged: z$1.ZodBoolean;
|
|
4470
|
-
message: z$1.ZodString;
|
|
4471
|
-
ok: z$1.ZodLiteral<true>;
|
|
4472
|
-
}, z$1.core.$strip>;
|
|
4473
|
-
type SquashMergeActionResponse = z$1.infer<typeof squashMergeActionResponseSchema>;
|
|
4474
4467
|
declare const pullRequestReadyActionResponseSchema: z$1.ZodObject<{
|
|
4475
4468
|
action: z$1.ZodLiteral<"pull_request_ready">;
|
|
4476
4469
|
message: z$1.ZodString;
|
|
@@ -6084,24 +6077,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6084
6077
|
commitSha: z$1.ZodString;
|
|
6085
6078
|
commitSubject: z$1.ZodString;
|
|
6086
6079
|
}, z$1.core.$strip>, "settled", false>;
|
|
6087
|
-
"workspace.squash_merge": HostDaemonCommandDescriptor<"workspace.squash_merge", z$1.ZodObject<{
|
|
6088
|
-
commitMessage: z$1.ZodString;
|
|
6089
|
-
environmentId: z$1.ZodString;
|
|
6090
|
-
targetBranch: z$1.ZodString;
|
|
6091
|
-
type: z$1.ZodLiteral<"workspace.squash_merge">;
|
|
6092
|
-
workspaceContext: z$1.ZodObject<{
|
|
6093
|
-
workspacePath: z$1.ZodString;
|
|
6094
|
-
workspaceProvisionType: z$1.ZodEnum<{
|
|
6095
|
-
"managed-worktree": "managed-worktree";
|
|
6096
|
-
personal: "personal";
|
|
6097
|
-
unmanaged: "unmanaged";
|
|
6098
|
-
}>;
|
|
6099
|
-
}, z$1.core.$strip>;
|
|
6100
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6101
|
-
commitSha: z$1.ZodString;
|
|
6102
|
-
commitSubject: z$1.ZodString;
|
|
6103
|
-
merged: z$1.ZodBoolean;
|
|
6104
|
-
}, z$1.core.$strip>, "settled", false>;
|
|
6105
6080
|
"workspace.pull_request_action": HostDaemonCommandDescriptor<"workspace.pull_request_action", z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6106
6081
|
environmentId: z$1.ZodString;
|
|
6107
6082
|
operation: z$1.ZodLiteral<"ready">;
|
|
@@ -7579,10 +7554,16 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
7579
7554
|
}, z$1.core.$strip>>>;
|
|
7580
7555
|
catalogEntryId: z$1.ZodOptional<z$1.ZodString>;
|
|
7581
7556
|
catalogMarketplaceName: z$1.ZodOptional<z$1.ZodString>;
|
|
7557
|
+
category: z$1.ZodOptional<z$1.ZodString>;
|
|
7558
|
+
categoryId: z$1.ZodOptional<z$1.ZodString>;
|
|
7582
7559
|
cliCommand: z$1.ZodNullable<z$1.ZodObject<{
|
|
7583
7560
|
name: z$1.ZodString;
|
|
7584
7561
|
summary: z$1.ZodString;
|
|
7585
7562
|
}, z$1.core.$strip>>;
|
|
7563
|
+
collections: z$1.ZodArray<z$1.ZodObject<{
|
|
7564
|
+
id: z$1.ZodString;
|
|
7565
|
+
rank: z$1.ZodNumber;
|
|
7566
|
+
}, z$1.core.$strip>>;
|
|
7586
7567
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7587
7568
|
enabled: z$1.ZodBoolean;
|
|
7588
7569
|
handlerStats: z$1.ZodObject<{
|
|
@@ -7606,6 +7587,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
7606
7587
|
direct: "direct";
|
|
7607
7588
|
}>;
|
|
7608
7589
|
providerIds: z$1.ZodArray<z$1.ZodString>;
|
|
7590
|
+
publishedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7609
7591
|
publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7610
7592
|
rootDir: z$1.ZodString;
|
|
7611
7593
|
schedules: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -7620,6 +7602,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
7620
7602
|
name: z$1.ZodString;
|
|
7621
7603
|
nextRunAt: z$1.ZodNumber;
|
|
7622
7604
|
}, z$1.core.$strip>>;
|
|
7605
|
+
screenshots: z$1.ZodArray<z$1.ZodString>;
|
|
7623
7606
|
services: z$1.ZodArray<z$1.ZodObject<{
|
|
7624
7607
|
name: z$1.ZodString;
|
|
7625
7608
|
state: z$1.ZodEnum<{
|
|
@@ -7659,6 +7642,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
7659
7642
|
unavailable: "unavailable";
|
|
7660
7643
|
}>>;
|
|
7661
7644
|
}, z$1.core.$strip>;
|
|
7645
|
+
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7662
7646
|
version: z$1.ZodString;
|
|
7663
7647
|
}, z$1.core.$strip>;
|
|
7664
7648
|
type InstalledPlugin = z$1.infer<typeof installedPluginSchema>;
|
|
@@ -7689,10 +7673,16 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
7689
7673
|
}, z$1.core.$strip>>>;
|
|
7690
7674
|
catalogEntryId: z$1.ZodOptional<z$1.ZodString>;
|
|
7691
7675
|
catalogMarketplaceName: z$1.ZodOptional<z$1.ZodString>;
|
|
7676
|
+
category: z$1.ZodOptional<z$1.ZodString>;
|
|
7677
|
+
categoryId: z$1.ZodOptional<z$1.ZodString>;
|
|
7692
7678
|
cliCommand: z$1.ZodNullable<z$1.ZodObject<{
|
|
7693
7679
|
name: z$1.ZodString;
|
|
7694
7680
|
summary: z$1.ZodString;
|
|
7695
7681
|
}, z$1.core.$strip>>;
|
|
7682
|
+
collections: z$1.ZodArray<z$1.ZodObject<{
|
|
7683
|
+
id: z$1.ZodString;
|
|
7684
|
+
rank: z$1.ZodNumber;
|
|
7685
|
+
}, z$1.core.$strip>>;
|
|
7696
7686
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7697
7687
|
enabled: z$1.ZodBoolean;
|
|
7698
7688
|
handlerStats: z$1.ZodObject<{
|
|
@@ -7716,6 +7706,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
7716
7706
|
direct: "direct";
|
|
7717
7707
|
}>;
|
|
7718
7708
|
providerIds: z$1.ZodArray<z$1.ZodString>;
|
|
7709
|
+
publishedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7719
7710
|
publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7720
7711
|
rootDir: z$1.ZodString;
|
|
7721
7712
|
schedules: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -7730,6 +7721,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
7730
7721
|
name: z$1.ZodString;
|
|
7731
7722
|
nextRunAt: z$1.ZodNumber;
|
|
7732
7723
|
}, z$1.core.$strip>>;
|
|
7724
|
+
screenshots: z$1.ZodArray<z$1.ZodString>;
|
|
7733
7725
|
services: z$1.ZodArray<z$1.ZodObject<{
|
|
7734
7726
|
name: z$1.ZodString;
|
|
7735
7727
|
state: z$1.ZodEnum<{
|
|
@@ -7769,6 +7761,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
7769
7761
|
unavailable: "unavailable";
|
|
7770
7762
|
}>>;
|
|
7771
7763
|
}, z$1.core.$strip>;
|
|
7764
|
+
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7772
7765
|
version: z$1.ZodString;
|
|
7773
7766
|
}, z$1.core.$strip>>;
|
|
7774
7767
|
}, z$1.core.$strip>;
|
|
@@ -7801,10 +7794,16 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
7801
7794
|
}, z$1.core.$strip>>>;
|
|
7802
7795
|
catalogEntryId: z$1.ZodOptional<z$1.ZodString>;
|
|
7803
7796
|
catalogMarketplaceName: z$1.ZodOptional<z$1.ZodString>;
|
|
7797
|
+
category: z$1.ZodOptional<z$1.ZodString>;
|
|
7798
|
+
categoryId: z$1.ZodOptional<z$1.ZodString>;
|
|
7804
7799
|
cliCommand: z$1.ZodNullable<z$1.ZodObject<{
|
|
7805
7800
|
name: z$1.ZodString;
|
|
7806
7801
|
summary: z$1.ZodString;
|
|
7807
7802
|
}, z$1.core.$strip>>;
|
|
7803
|
+
collections: z$1.ZodArray<z$1.ZodObject<{
|
|
7804
|
+
id: z$1.ZodString;
|
|
7805
|
+
rank: z$1.ZodNumber;
|
|
7806
|
+
}, z$1.core.$strip>>;
|
|
7808
7807
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7809
7808
|
enabled: z$1.ZodBoolean;
|
|
7810
7809
|
handlerStats: z$1.ZodObject<{
|
|
@@ -7828,6 +7827,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
7828
7827
|
direct: "direct";
|
|
7829
7828
|
}>;
|
|
7830
7829
|
providerIds: z$1.ZodArray<z$1.ZodString>;
|
|
7830
|
+
publishedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7831
7831
|
publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7832
7832
|
rootDir: z$1.ZodString;
|
|
7833
7833
|
schedules: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -7842,6 +7842,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
7842
7842
|
name: z$1.ZodString;
|
|
7843
7843
|
nextRunAt: z$1.ZodNumber;
|
|
7844
7844
|
}, z$1.core.$strip>>;
|
|
7845
|
+
screenshots: z$1.ZodArray<z$1.ZodString>;
|
|
7845
7846
|
services: z$1.ZodArray<z$1.ZodObject<{
|
|
7846
7847
|
name: z$1.ZodString;
|
|
7847
7848
|
state: z$1.ZodEnum<{
|
|
@@ -7881,6 +7882,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
7881
7882
|
unavailable: "unavailable";
|
|
7882
7883
|
}>>;
|
|
7883
7884
|
}, z$1.core.$strip>;
|
|
7885
|
+
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7884
7886
|
version: z$1.ZodString;
|
|
7885
7887
|
}, z$1.core.$strip>>;
|
|
7886
7888
|
}, z$1.core.$strip>;
|
|
@@ -7903,6 +7905,11 @@ declare const pluginSettingsResponseSchema: z$1.ZodObject<{
|
|
|
7903
7905
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
7904
7906
|
label: z$1.ZodString;
|
|
7905
7907
|
type: z$1.ZodLiteral<"boolean">;
|
|
7908
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7909
|
+
default: z$1.ZodOptional<z$1.ZodNumber>;
|
|
7910
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
7911
|
+
label: z$1.ZodString;
|
|
7912
|
+
type: z$1.ZodLiteral<"number">;
|
|
7906
7913
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7907
7914
|
default: z$1.ZodOptional<z$1.ZodString>;
|
|
7908
7915
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7929,32 +7936,48 @@ declare const pluginCatalogStatusSchema: z$1.ZodObject<{
|
|
|
7929
7936
|
pluginCount: z$1.ZodNumber;
|
|
7930
7937
|
}, z$1.core.$strip>;
|
|
7931
7938
|
type PluginCatalogStatus = z$1.infer<typeof pluginCatalogStatusSchema>;
|
|
7932
|
-
declare const
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7939
|
+
declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
7940
|
+
collections: z$1.ZodArray<z$1.ZodObject<{
|
|
7941
|
+
displayName: z$1.ZodString;
|
|
7942
|
+
id: z$1.ZodString;
|
|
7943
|
+
pluginIds: z$1.ZodArray<z$1.ZodString>;
|
|
7944
|
+
}, z$1.core.$strip>>;
|
|
7945
|
+
results: z$1.ZodArray<z$1.ZodObject<{
|
|
7946
|
+
author: z$1.ZodNullable<z$1.ZodObject<{
|
|
7947
|
+
github: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7948
|
+
name: z$1.ZodString;
|
|
7949
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
7950
|
+
}, z$1.core.$strip>>;
|
|
7951
|
+
category: z$1.ZodOptional<z$1.ZodString>;
|
|
7952
|
+
categoryId: z$1.ZodOptional<z$1.ZodString>;
|
|
7953
|
+
collections: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
7954
|
+
id: z$1.ZodString;
|
|
7955
|
+
rank: z$1.ZodNumber;
|
|
7956
|
+
}, z$1.core.$strip>>>;
|
|
7957
|
+
compatible: z$1.ZodBoolean;
|
|
7958
|
+
description: z$1.ZodString;
|
|
7959
|
+
displayName: z$1.ZodString;
|
|
7960
|
+
entryId: z$1.ZodString;
|
|
7961
|
+
icon: z$1.ZodNullable<z$1.ZodString>;
|
|
7962
|
+
iconTinted: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
7963
|
+
iconUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
7964
|
+
incompatibleReason: z$1.ZodNullable<z$1.ZodString>;
|
|
7965
|
+
installed: z$1.ZodBoolean;
|
|
7966
|
+
installs: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
7967
|
+
marketplace: z$1.ZodString;
|
|
7968
|
+
marketplaceDisplayName: z$1.ZodString;
|
|
7969
|
+
official: z$1.ZodBoolean;
|
|
7970
|
+
pluginId: z$1.ZodString;
|
|
7971
|
+
publishedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7972
|
+
publisherKey: z$1.ZodString;
|
|
7973
|
+
publisherLabel: z$1.ZodString;
|
|
7974
|
+
repositoryUrl: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7975
|
+
screenshots: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
7976
|
+
source: z$1.ZodString;
|
|
7977
|
+
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
7936
7978
|
}, z$1.core.$strip>>;
|
|
7937
|
-
category: z$1.ZodString;
|
|
7938
|
-
compatible: z$1.ZodBoolean;
|
|
7939
|
-
description: z$1.ZodString;
|
|
7940
|
-
displayName: z$1.ZodString;
|
|
7941
|
-
entryId: z$1.ZodString;
|
|
7942
|
-
icon: z$1.ZodNullable<z$1.ZodString>;
|
|
7943
|
-
iconTinted: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
7944
|
-
iconUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
7945
|
-
incompatibleReason: z$1.ZodNullable<z$1.ZodString>;
|
|
7946
|
-
installed: z$1.ZodBoolean;
|
|
7947
|
-
installs: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
7948
|
-
marketplace: z$1.ZodString;
|
|
7949
|
-
marketplaceDisplayName: z$1.ZodString;
|
|
7950
|
-
official: z$1.ZodBoolean;
|
|
7951
|
-
pluginId: z$1.ZodString;
|
|
7952
|
-
publisherKey: z$1.ZodString;
|
|
7953
|
-
publisherLabel: z$1.ZodString;
|
|
7954
|
-
repositoryUrl: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7955
|
-
source: z$1.ZodString;
|
|
7956
7979
|
}, z$1.core.$strip>;
|
|
7957
|
-
type
|
|
7980
|
+
type PluginCatalogSearchResponse = z$1.infer<typeof pluginCatalogSearchResponseSchema>;
|
|
7958
7981
|
declare const pluginCatalogResolvedSourceSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7959
7982
|
kind: z$1.ZodLiteral<"npm">;
|
|
7960
7983
|
package: z$1.ZodString;
|
|
@@ -7986,6 +8009,7 @@ declare const pluginCatalogInstallPlanSchema: z$1.ZodDiscriminatedUnion<[z$1.Zod
|
|
|
7986
8009
|
source: z$1.ZodString;
|
|
7987
8010
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7988
8011
|
author: z$1.ZodObject<{
|
|
8012
|
+
github: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7989
8013
|
name: z$1.ZodString;
|
|
7990
8014
|
url: z$1.ZodNullable<z$1.ZodString>;
|
|
7991
8015
|
}, z$1.core.$strip>;
|
|
@@ -8324,6 +8348,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
8324
8348
|
"modelPicker.cycleReasoning": "modelPicker.cycleReasoning";
|
|
8325
8349
|
"modelPicker.cycleReasoningBackward": "modelPicker.cycleReasoningBackward";
|
|
8326
8350
|
"modelPicker.toggle": "modelPicker.toggle";
|
|
8351
|
+
"notifications.open": "notifications.open";
|
|
8327
8352
|
"palette.open": "palette.open";
|
|
8328
8353
|
"pane.close": "pane.close";
|
|
8329
8354
|
"pane.focus.1": "pane.focus.1";
|
|
@@ -8422,6 +8447,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
8422
8447
|
}, z$1.core.$strip>;
|
|
8423
8448
|
generalSettings: z$1.ZodObject<{
|
|
8424
8449
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
8450
|
+
managedBranchPrefix: z$1.ZodString;
|
|
8425
8451
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
8426
8452
|
showKeyboardHints: z$1.ZodBoolean;
|
|
8427
8453
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
@@ -8445,6 +8471,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
8445
8471
|
"modelPicker.cycleReasoning": "modelPicker.cycleReasoning";
|
|
8446
8472
|
"modelPicker.cycleReasoningBackward": "modelPicker.cycleReasoningBackward";
|
|
8447
8473
|
"modelPicker.toggle": "modelPicker.toggle";
|
|
8474
|
+
"notifications.open": "notifications.open";
|
|
8448
8475
|
"palette.open": "palette.open";
|
|
8449
8476
|
"pane.close": "pane.close";
|
|
8450
8477
|
"pane.focus.1": "pane.focus.1";
|
|
@@ -8518,6 +8545,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
8518
8545
|
"modelPicker.cycleReasoning": "modelPicker.cycleReasoning";
|
|
8519
8546
|
"modelPicker.cycleReasoningBackward": "modelPicker.cycleReasoningBackward";
|
|
8520
8547
|
"modelPicker.toggle": "modelPicker.toggle";
|
|
8548
|
+
"notifications.open": "notifications.open";
|
|
8521
8549
|
"palette.open": "palette.open";
|
|
8522
8550
|
"pane.close": "pane.close";
|
|
8523
8551
|
"pane.focus.1": "pane.focus.1";
|
|
@@ -10274,26 +10302,143 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
10274
10302
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10275
10303
|
delivery: z$1.ZodLiteral<"queued">;
|
|
10276
10304
|
ok: z$1.ZodLiteral<true>;
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10305
|
+
queuedMessage: z$1.ZodObject<{
|
|
10306
|
+
content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10307
|
+
mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
10308
|
+
end: z$1.ZodNumber;
|
|
10309
|
+
resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10310
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
10311
|
+
label: z$1.ZodString;
|
|
10312
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
10313
|
+
threadId: z$1.ZodString;
|
|
10314
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10315
|
+
kind: z$1.ZodLiteral<"project">;
|
|
10316
|
+
label: z$1.ZodString;
|
|
10317
|
+
projectId: z$1.ZodString;
|
|
10318
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10319
|
+
kind: z$1.ZodLiteral<"section">;
|
|
10320
|
+
label: z$1.ZodString;
|
|
10321
|
+
sectionId: z$1.ZodString;
|
|
10322
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10323
|
+
entryKind: z$1.ZodEnum<{
|
|
10324
|
+
directory: "directory";
|
|
10325
|
+
file: "file";
|
|
10326
|
+
}>;
|
|
10327
|
+
kind: z$1.ZodLiteral<"path">;
|
|
10328
|
+
label: z$1.ZodString;
|
|
10329
|
+
path: z$1.ZodString;
|
|
10330
|
+
source: z$1.ZodEnum<{
|
|
10331
|
+
"thread-storage": "thread-storage";
|
|
10332
|
+
workspace: "workspace";
|
|
10333
|
+
}>;
|
|
10334
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10335
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
10336
|
+
kind: z$1.ZodLiteral<"command">;
|
|
10337
|
+
label: z$1.ZodString;
|
|
10338
|
+
name: z$1.ZodString;
|
|
10339
|
+
origin: z$1.ZodEnum<{
|
|
10340
|
+
builtin: "builtin";
|
|
10341
|
+
project: "project";
|
|
10342
|
+
user: "user";
|
|
10343
|
+
}>;
|
|
10344
|
+
source: z$1.ZodEnum<{
|
|
10345
|
+
command: "command";
|
|
10346
|
+
skill: "skill";
|
|
10347
|
+
}>;
|
|
10348
|
+
trigger: z$1.ZodEnum<{
|
|
10349
|
+
"/": "/";
|
|
10350
|
+
}>;
|
|
10351
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10352
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
10353
|
+
itemId: z$1.ZodString;
|
|
10354
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
10355
|
+
label: z$1.ZodString;
|
|
10356
|
+
pluginId: z$1.ZodString;
|
|
10357
|
+
}, z$1.core.$strip>], "kind">>;
|
|
10358
|
+
start: z$1.ZodNumber;
|
|
10359
|
+
}, z$1.core.$strip>>>;
|
|
10360
|
+
text: z$1.ZodString;
|
|
10361
|
+
type: z$1.ZodLiteral<"text">;
|
|
10362
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10363
|
+
"agent-only": "agent-only";
|
|
10364
|
+
}>>;
|
|
10365
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10366
|
+
type: z$1.ZodLiteral<"image">;
|
|
10367
|
+
url: z$1.ZodString;
|
|
10368
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10369
|
+
"agent-only": "agent-only";
|
|
10370
|
+
}>>;
|
|
10371
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10372
|
+
path: z$1.ZodString;
|
|
10373
|
+
type: z$1.ZodLiteral<"localImage">;
|
|
10374
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10375
|
+
"agent-only": "agent-only";
|
|
10376
|
+
}>>;
|
|
10377
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10378
|
+
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
10379
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
10380
|
+
path: z$1.ZodString;
|
|
10381
|
+
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
10382
|
+
type: z$1.ZodLiteral<"localFile">;
|
|
10383
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10384
|
+
"agent-only": "agent-only";
|
|
10385
|
+
}>>;
|
|
10386
|
+
}, z$1.core.$strip>], "type">>;
|
|
10387
|
+
createdAt: z$1.ZodNumber;
|
|
10388
|
+
editable: z$1.ZodBoolean;
|
|
10389
|
+
failureReason: z$1.ZodNullable<z$1.ZodString>;
|
|
10390
|
+
groupWithNext: z$1.ZodBoolean;
|
|
10391
|
+
id: z$1.ZodString;
|
|
10392
|
+
model: z$1.ZodString;
|
|
10393
|
+
payload: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10394
|
+
kind: z$1.ZodLiteral<"inline">;
|
|
10395
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10396
|
+
attempt: z$1.ZodNumber;
|
|
10397
|
+
kind: z$1.ZodLiteral<"retry">;
|
|
10398
|
+
reason: z$1.ZodString;
|
|
10399
|
+
retryOfTurnRequestId: z$1.ZodString;
|
|
10400
|
+
}, z$1.core.$strip>], "kind">;
|
|
10401
|
+
permissionMode: z$1.ZodEnum<{
|
|
10402
|
+
"accept-edits": "accept-edits";
|
|
10403
|
+
auto: "auto";
|
|
10404
|
+
full: "full";
|
|
10405
|
+
}>;
|
|
10406
|
+
reasoningLevel: z$1.ZodEnum<{
|
|
10407
|
+
high: "high";
|
|
10408
|
+
low: "low";
|
|
10409
|
+
max: "max";
|
|
10410
|
+
medium: "medium";
|
|
10411
|
+
none: "none";
|
|
10412
|
+
ultra: "ultra";
|
|
10413
|
+
ultracode: "ultracode";
|
|
10414
|
+
xhigh: "xhigh";
|
|
10415
|
+
}>;
|
|
10416
|
+
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
10417
|
+
serviceTier: z$1.ZodEnum<{
|
|
10418
|
+
default: "default";
|
|
10419
|
+
fast: "fast";
|
|
10420
|
+
}>;
|
|
10421
|
+
threadId: z$1.ZodString;
|
|
10422
|
+
updatedAt: z$1.ZodNumber;
|
|
10423
|
+
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10424
|
+
kind: z$1.ZodLiteral<"time">;
|
|
10425
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10426
|
+
kind: z$1.ZodLiteral<"thread-busy">;
|
|
10427
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10428
|
+
kind: z$1.ZodLiteral<"turn-starting">;
|
|
10429
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10430
|
+
kind: z$1.ZodLiteral<"provisioning">;
|
|
10431
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10432
|
+
hostName: z$1.ZodString;
|
|
10433
|
+
kind: z$1.ZodLiteral<"host-offline">;
|
|
10434
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10435
|
+
kind: z$1.ZodLiteral<"interaction">;
|
|
10436
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10437
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
10438
|
+
pluginId: z$1.ZodString;
|
|
10439
|
+
reason: z$1.ZodString;
|
|
10440
|
+
}, z$1.core.$strip>], "kind">>;
|
|
10441
|
+
}, z$1.core.$strip>;
|
|
10297
10442
|
}, z$1.core.$strip>], "delivery">;
|
|
10298
10443
|
type SendMessageResponse = z$1.infer<typeof sendMessageResponseSchema>;
|
|
10299
10444
|
declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
@@ -10692,7 +10837,11 @@ declare const setQueuedMessageGroupBoundaryRequestSchema: z$1.ZodObject<{
|
|
|
10692
10837
|
groupBoundaryQueuedMessageId: z$1.ZodString;
|
|
10693
10838
|
}, z$1.core.$strip>;
|
|
10694
10839
|
type SetQueuedMessageGroupBoundaryRequest = z$1.infer<typeof setQueuedMessageGroupBoundaryRequestSchema>;
|
|
10695
|
-
declare const sendQueuedMessageResponseSchema: z$1.ZodObject<{
|
|
10840
|
+
declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10841
|
+
delivery: z$1.ZodLiteral<"sent">;
|
|
10842
|
+
ok: z$1.ZodLiteral<true>;
|
|
10843
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10844
|
+
delivery: z$1.ZodLiteral<"queued">;
|
|
10696
10845
|
ok: z$1.ZodLiteral<true>;
|
|
10697
10846
|
queuedMessage: z$1.ZodObject<{
|
|
10698
10847
|
content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -10831,7 +10980,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodObject<{
|
|
|
10831
10980
|
reason: z$1.ZodString;
|
|
10832
10981
|
}, z$1.core.$strip>], "kind">>;
|
|
10833
10982
|
}, z$1.core.$strip>;
|
|
10834
|
-
}, z$1.core.$strip>;
|
|
10983
|
+
}, z$1.core.$strip>], "delivery">;
|
|
10835
10984
|
type SendQueuedMessageResponse = z$1.infer<typeof sendQueuedMessageResponseSchema>;
|
|
10836
10985
|
declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
10837
10986
|
activity: z$1.ZodObject<{
|
|
@@ -12418,7 +12567,7 @@ interface PluginRpcError {
|
|
|
12418
12567
|
issues?: PluginRpcValidationIssue[];
|
|
12419
12568
|
}
|
|
12420
12569
|
/**
|
|
12421
|
-
* The validator-neutral subset of Standard Schema v1 used by plugin
|
|
12570
|
+
* The validator-neutral subset of Standard Schema v1 used by plugin contracts.
|
|
12422
12571
|
* Zod 4 schemas implement this interface directly; other validators can do
|
|
12423
12572
|
* the same without becoming part of BB's public protocol.
|
|
12424
12573
|
*/
|
|
@@ -12481,6 +12630,14 @@ interface PluginHomepageSectionProps {
|
|
|
12481
12630
|
*/
|
|
12482
12631
|
interface PluginSettingsSectionProps {
|
|
12483
12632
|
}
|
|
12633
|
+
/**
|
|
12634
|
+
* Props passed to an `experimental_appOverlay` component.
|
|
12635
|
+
*
|
|
12636
|
+
* Deliberately empty while the component reads live app state through SDK
|
|
12637
|
+
* hooks; versioned additive like the other slot props.
|
|
12638
|
+
*/
|
|
12639
|
+
interface ExperimentalAppOverlayProps {
|
|
12640
|
+
}
|
|
12484
12641
|
/** Props passed to a `navPanel` component (it owns its whole route). */
|
|
12485
12642
|
interface PluginNavPanelProps {
|
|
12486
12643
|
/**
|
|
@@ -12845,6 +13002,21 @@ interface PluginSettingsSectionRegistration {
|
|
|
12845
13002
|
description?: string;
|
|
12846
13003
|
component: ComponentType<PluginSettingsSectionProps>;
|
|
12847
13004
|
}
|
|
13005
|
+
/**
|
|
13006
|
+
* Render app-wide plugin UI outside BB's layout regions.
|
|
13007
|
+
*
|
|
13008
|
+
* The host mounts each registration once per app window through the ordinary
|
|
13009
|
+
* plugin React boundary. The component therefore keeps PluginContext, router,
|
|
13010
|
+
* query, realtime, and other app-level SDK contexts when it renders fixed UI
|
|
13011
|
+
* or creates a React portal. BB supplies no chrome, positioning, visibility,
|
|
13012
|
+
* or interaction policy; the plugin owns those details and responsive
|
|
13013
|
+
* behavior. Registrations are additive and a crash hides only that overlay.
|
|
13014
|
+
*/
|
|
13015
|
+
interface ExperimentalAppOverlayRegistration {
|
|
13016
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
13017
|
+
id: string;
|
|
13018
|
+
component: ComponentType<ExperimentalAppOverlayProps>;
|
|
13019
|
+
}
|
|
12848
13020
|
/**
|
|
12849
13021
|
* Owner-defined validator for a fixed tab's transient target. The host first
|
|
12850
13022
|
* verifies that the value is JSON-safe, then calls this validator before
|
|
@@ -13662,6 +13834,12 @@ interface PluginTimelineRendererRegistration {
|
|
|
13662
13834
|
interface PluginAppSlots {
|
|
13663
13835
|
homepageSection(registration: PluginHomepageSectionRegistration): void;
|
|
13664
13836
|
settingsSection(registration: PluginSettingsSectionRegistration): void;
|
|
13837
|
+
/**
|
|
13838
|
+
* Render one app-wide overlay component (see
|
|
13839
|
+
* {@link ExperimentalAppOverlayRegistration}). Experimental: see
|
|
13840
|
+
* docs/api_to_audit.md.
|
|
13841
|
+
*/
|
|
13842
|
+
experimental_appOverlay(registration: ExperimentalAppOverlayRegistration): void;
|
|
13665
13843
|
navPanel(registration: PluginNavPanelRegistration): void;
|
|
13666
13844
|
/**
|
|
13667
13845
|
* Add an action to an existing thread's panel launcher. This slot is
|
|
@@ -13801,7 +13979,7 @@ interface PluginSettingsState {
|
|
|
13801
13979
|
* Effective non-secret setting values (secret settings are excluded —
|
|
13802
13980
|
* read them server-side). Undefined while loading or unavailable.
|
|
13803
13981
|
*/
|
|
13804
|
-
values: Record<string, string | boolean> | undefined;
|
|
13982
|
+
values: Record<string, string | number | boolean> | undefined;
|
|
13805
13983
|
isLoading: boolean;
|
|
13806
13984
|
}
|
|
13807
13985
|
/** State of the app's shared realtime connection to the bb server. */
|
|
@@ -14592,10 +14770,6 @@ interface EnvironmentDiffBranchesArgs extends EnvironmentDiffBranchesQuery {
|
|
|
14592
14770
|
interface EnvironmentCommitArgs {
|
|
14593
14771
|
environmentId: string;
|
|
14594
14772
|
}
|
|
14595
|
-
interface EnvironmentSquashMergeArgs {
|
|
14596
|
-
environmentId: string;
|
|
14597
|
-
mergeBaseBranch: string;
|
|
14598
|
-
}
|
|
14599
14773
|
interface EnvironmentPullRequestMergeArgs {
|
|
14600
14774
|
environmentId: string;
|
|
14601
14775
|
method: PullRequestMergeMethod;
|
|
@@ -14621,7 +14795,6 @@ type EnvironmentMarkPullRequestReadyResult = PullRequestReadyActionResponse;
|
|
|
14621
14795
|
type EnvironmentMergePullRequestResult = PullRequestMergeActionResponse;
|
|
14622
14796
|
type EnvironmentPathsResult = WorkspacePathListResponse;
|
|
14623
14797
|
type EnvironmentPullRequestResult = EnvironmentPullRequestResponse;
|
|
14624
|
-
type EnvironmentSquashMergeResult = SquashMergeActionResponse;
|
|
14625
14798
|
type EnvironmentStatusResult = EnvironmentStatusResponse;
|
|
14626
14799
|
type EnvironmentUpdateResult = Environment;
|
|
14627
14800
|
interface EnvironmentsArea {
|
|
@@ -14638,7 +14811,6 @@ interface EnvironmentsArea {
|
|
|
14638
14811
|
markPullRequestReady(args: EnvironmentActionArgs): Promise<EnvironmentMarkPullRequestReadyResult>;
|
|
14639
14812
|
mergePullRequest(args: EnvironmentPullRequestMergeArgs): Promise<EnvironmentMergePullRequestResult>;
|
|
14640
14813
|
paths(args: EnvironmentPathsArgs): Promise<EnvironmentPathsResult>;
|
|
14641
|
-
squashMerge(args: EnvironmentSquashMergeArgs): Promise<EnvironmentSquashMergeResult>;
|
|
14642
14814
|
status(args: EnvironmentStatusArgs): Promise<EnvironmentStatusResult>;
|
|
14643
14815
|
update(args: EnvironmentUpdateArgs): Promise<EnvironmentUpdateResult>;
|
|
14644
14816
|
}
|
|
@@ -15051,7 +15223,7 @@ type PluginGetSourceResult = PluginSourceDetail;
|
|
|
15051
15223
|
type PluginCheckUpdatesResult = PluginUpdateCheckEntry[];
|
|
15052
15224
|
type PluginApplyUpdateResult = PluginApplyUpdateResult$1;
|
|
15053
15225
|
type PluginCatalogStatusResult = PluginCatalogStatus;
|
|
15054
|
-
type PluginCatalogSearchResult =
|
|
15226
|
+
type PluginCatalogSearchResult = PluginCatalogSearchResponse;
|
|
15055
15227
|
type PluginCatalogInstallPlanResult = PluginCatalogInstallPlan;
|
|
15056
15228
|
type PluginMarketplaceListResult = PluginMarketplace[];
|
|
15057
15229
|
type PluginMarketplaceAddResult = PluginMarketplace;
|
|
@@ -15977,11 +16149,6 @@ interface PluginLogger {
|
|
|
15977
16149
|
warn(message: string): void;
|
|
15978
16150
|
error(message: string): void;
|
|
15979
16151
|
}
|
|
15980
|
-
/**
|
|
15981
|
-
* Declarative settings descriptors (`bb.settings.define`). Deliberately plain
|
|
15982
|
-
* data — not zod — so the host can render settings forms and the CLI can
|
|
15983
|
-
* parse values without executing plugin code.
|
|
15984
|
-
*/
|
|
15985
16152
|
type PluginSettingDescriptor = {
|
|
15986
16153
|
type: "string";
|
|
15987
16154
|
label: string;
|
|
@@ -15993,39 +16160,59 @@ type PluginSettingDescriptor = {
|
|
|
15993
16160
|
* be multi-line.
|
|
15994
16161
|
*/
|
|
15995
16162
|
experimental_multiline?: boolean;
|
|
16163
|
+
/** Synchronously validate without transforming a proposed value. */
|
|
16164
|
+
experimental_schema?: StandardSchemaV1<string, string>;
|
|
15996
16165
|
default?: string;
|
|
15997
16166
|
} | {
|
|
15998
16167
|
type: "boolean";
|
|
15999
16168
|
label: string;
|
|
16000
16169
|
description?: string;
|
|
16170
|
+
/** Synchronously validate without transforming a proposed value. */
|
|
16171
|
+
experimental_schema?: StandardSchemaV1<boolean, boolean>;
|
|
16001
16172
|
default?: boolean;
|
|
16173
|
+
} | {
|
|
16174
|
+
type: "number";
|
|
16175
|
+
label: string;
|
|
16176
|
+
description?: string;
|
|
16177
|
+
experimental_schema?: StandardSchemaV1<number, number>;
|
|
16178
|
+
default?: number;
|
|
16002
16179
|
} | {
|
|
16003
16180
|
type: "select";
|
|
16004
16181
|
label: string;
|
|
16005
16182
|
description?: string;
|
|
16006
16183
|
options: string[];
|
|
16184
|
+
/** Synchronously validate without transforming a proposed value. */
|
|
16185
|
+
experimental_schema?: StandardSchemaV1<string, string>;
|
|
16007
16186
|
default?: string;
|
|
16008
16187
|
} | {
|
|
16009
16188
|
type: "project";
|
|
16010
16189
|
label: string;
|
|
16011
16190
|
description?: string;
|
|
16191
|
+
/** Synchronously validate without transforming a proposed value. */
|
|
16192
|
+
experimental_schema?: StandardSchemaV1<string, string>;
|
|
16012
16193
|
default?: string;
|
|
16013
16194
|
};
|
|
16014
16195
|
type PluginSettingDescriptors = Record<string, PluginSettingDescriptor>;
|
|
16015
|
-
type PluginSettingValue = string | boolean;
|
|
16196
|
+
type PluginSettingValue = string | number | boolean;
|
|
16016
16197
|
/** `default` present → non-optional value; absent → `T | undefined`. */
|
|
16017
16198
|
type PluginSettingsValues<Ds extends Record<string, PluginSettingDescriptor>> = {
|
|
16018
16199
|
[K in keyof Ds]: Ds[K] extends {
|
|
16019
|
-
default: string | boolean;
|
|
16200
|
+
default: string | number | boolean;
|
|
16020
16201
|
} ? PluginSettingValueOf<Ds[K]> : PluginSettingValueOf<Ds[K]> | undefined;
|
|
16021
16202
|
};
|
|
16022
16203
|
type PluginSettingValueOf<D extends PluginSettingDescriptor> = D extends {
|
|
16023
16204
|
type: "boolean";
|
|
16024
|
-
} ? boolean :
|
|
16205
|
+
} ? boolean : D extends {
|
|
16206
|
+
type: "number";
|
|
16207
|
+
} ? number : string;
|
|
16025
16208
|
interface PluginSettingsHandle<Ds extends Record<string, PluginSettingDescriptor>> {
|
|
16026
16209
|
/** Load-safe: callable inside the factory. */
|
|
16027
16210
|
get(): Promise<PluginSettingsValues<Ds>>;
|
|
16028
|
-
/**
|
|
16211
|
+
/** Validate and persist this handle's fields; `null` unsets a stored value. */
|
|
16212
|
+
experimental_set(values: Partial<{
|
|
16213
|
+
[K in keyof Ds]: PluginSettingValueOf<Ds[K]> | null;
|
|
16214
|
+
}>): Promise<PluginSettingsValues<Ds>>;
|
|
16215
|
+
/** Fires after effective values change through any settings write. */
|
|
16029
16216
|
onChange(listener: (next: PluginSettingsValues<Ds>, prev: PluginSettingsValues<Ds>) => void): void;
|
|
16030
16217
|
}
|
|
16031
16218
|
interface PluginSettings {
|
|
@@ -16148,6 +16335,11 @@ interface PluginThreadEventPayloads {
|
|
|
16148
16335
|
"thread.deleted": {
|
|
16149
16336
|
thread: ThreadResponse;
|
|
16150
16337
|
};
|
|
16338
|
+
/** Fired after a pending interaction row is committed. */
|
|
16339
|
+
"interaction.pending": {
|
|
16340
|
+
thread: ThreadResponse;
|
|
16341
|
+
interaction: PendingInteraction;
|
|
16342
|
+
};
|
|
16151
16343
|
/**
|
|
16152
16344
|
* Fired after a dispatch attempt is queued as a row — by a `message.dispatch`
|
|
16153
16345
|
* hook's `wait` decision, by a `sendAt` in the future, or by a core wait (the
|
|
@@ -17174,6 +17366,11 @@ interface PluginEvents {
|
|
|
17174
17366
|
on<E extends PluginThreadEventName>(event: E, handler: PluginThreadEventHandler<E>): void;
|
|
17175
17367
|
}
|
|
17176
17368
|
interface PluginServerApi {
|
|
17369
|
+
/**
|
|
17370
|
+
* The operator-configured public app URL from `BB_APP_URL`, or `null` when
|
|
17371
|
+
* the operator has not configured one. This value is not bind-gated.
|
|
17372
|
+
*/
|
|
17373
|
+
readonly experimental_appUrl: string | null;
|
|
17177
17374
|
/**
|
|
17178
17375
|
* This BB server's own loopback base URL (e.g. "http://127.0.0.1:38886"),
|
|
17179
17376
|
* which serves the SPA + /api + /ws. For plugins that proxy or relay
|
|
@@ -17338,4 +17535,4 @@ interface BbPluginApi {
|
|
|
17338
17535
|
}
|
|
17339
17536
|
|
|
17340
17537
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
|
|
17341
|
-
export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabReference, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps };
|
|
17538
|
+
export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabReference, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps };
|