@get-bb/plugin-sdk 0.6.52 → 0.6.59
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 +444 -13
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-host.d.ts +11 -2
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +7 -3
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +72 -11
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +27 -7
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +30 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +42 -1
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +30 -2
- package/bundled-types/bb-plugin-sdk-testing.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk.d.ts +446 -14
- package/dist/app.js +12 -0
- package/dist/host.js +150 -5
- package/dist/internal/plugin-app-collector.js +89 -15
- package/dist/provider-bridge-acp-next.js +314 -81
- package/dist/provider-bridge-acp.js +6733 -632
- package/dist/provider-bridge-testing.js +77 -32
- package/dist/provider-bridge-worker-entry.mjs +136 -5
- package/dist/provider-bridge.js +196 -8
- package/dist/testing/app.js +169 -15
- package/dist/testing/index.js +1 -0
- package/package.json +1 -2
|
@@ -67,6 +67,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
67
67
|
streamerMode: z$1.ZodBoolean;
|
|
68
68
|
summarizeShellCommands: z$1.ZodBoolean;
|
|
69
69
|
telemetryEnabled: z$1.ZodBoolean;
|
|
70
|
+
terminalCopyOnSelect: z$1.ZodBoolean;
|
|
70
71
|
}, z$1.core.$strict>;
|
|
71
72
|
type AppSettings = z$1.infer<typeof appSettingsSchema>;
|
|
72
73
|
declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
@@ -93,6 +94,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
93
94
|
streamerMode: z$1.ZodBoolean;
|
|
94
95
|
summarizeShellCommands: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
95
96
|
telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
97
|
+
terminalCopyOnSelect: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
96
98
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
97
99
|
allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
98
100
|
confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -116,10 +118,11 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
116
118
|
streamerMode: z$1.ZodBoolean;
|
|
117
119
|
summarizeShellCommands: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
118
120
|
telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
121
|
+
terminalCopyOnSelect: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
119
122
|
}, z$1.core.$strict>]>;
|
|
120
123
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
121
124
|
|
|
122
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
|
|
125
|
+
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
|
|
123
126
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
124
127
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
125
128
|
schema: Schema;
|
|
@@ -152,6 +155,7 @@ declare const uiPreferenceDefinitions: {
|
|
|
152
155
|
readonly "sidebar.hiddenFooterItems": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
153
156
|
readonly "sidebar.pluginPanelOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
154
157
|
readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
158
|
+
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
155
159
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
156
160
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
157
161
|
};
|
|
@@ -328,7 +332,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
328
332
|
id: z$1.ZodOptional<z$1.ZodString>;
|
|
329
333
|
metadata: z$1.ZodOptional<z$1.ZodObject<{
|
|
330
334
|
backgroundActivityChanged: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
331
|
-
eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string>>>>>;
|
|
335
|
+
eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/mainRun/updated" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/mainRun/updated" | "turn/plan/updated" | "turn/started", string>>>>>;
|
|
332
336
|
hasPendingInteraction: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
333
337
|
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
334
338
|
statusChange: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -876,6 +880,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
876
880
|
movePath: z$1.ZodOptional<z$1.ZodString>;
|
|
877
881
|
path: z$1.ZodString;
|
|
878
882
|
}, z$1.core.$strip>>;
|
|
883
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
879
884
|
id: z$1.ZodString;
|
|
880
885
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
881
886
|
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -1344,6 +1349,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1344
1349
|
description: z$1.ZodString;
|
|
1345
1350
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1346
1351
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
1352
|
+
foreground: z$1.ZodBoolean;
|
|
1347
1353
|
id: z$1.ZodString;
|
|
1348
1354
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
1349
1355
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1641,6 +1647,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1641
1647
|
movePath: z$1.ZodOptional<z$1.ZodString>;
|
|
1642
1648
|
path: z$1.ZodString;
|
|
1643
1649
|
}, z$1.core.$strip>>;
|
|
1650
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1644
1651
|
id: z$1.ZodString;
|
|
1645
1652
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
1646
1653
|
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -2109,6 +2116,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2109
2116
|
description: z$1.ZodString;
|
|
2110
2117
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
2111
2118
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
2119
|
+
foreground: z$1.ZodBoolean;
|
|
2112
2120
|
id: z$1.ZodString;
|
|
2113
2121
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
2114
2122
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2340,6 +2348,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2340
2348
|
description: z$1.ZodString;
|
|
2341
2349
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
2342
2350
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
2351
|
+
foreground: z$1.ZodBoolean;
|
|
2343
2352
|
id: z$1.ZodString;
|
|
2344
2353
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
2345
2354
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2438,6 +2447,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2438
2447
|
description: z$1.ZodString;
|
|
2439
2448
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
2440
2449
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
2450
|
+
foreground: z$1.ZodBoolean;
|
|
2441
2451
|
id: z$1.ZodString;
|
|
2442
2452
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
2443
2453
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2698,6 +2708,14 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2698
2708
|
providerThreadId: z$1.ZodString;
|
|
2699
2709
|
threadId: z$1.ZodString;
|
|
2700
2710
|
type: z$1.ZodLiteral<"turn/plan/updated">;
|
|
2711
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2712
|
+
providerThreadId: z$1.ZodString;
|
|
2713
|
+
state: z$1.ZodEnum<{
|
|
2714
|
+
idle: "idle";
|
|
2715
|
+
running: "running";
|
|
2716
|
+
}>;
|
|
2717
|
+
threadId: z$1.ZodString;
|
|
2718
|
+
type: z$1.ZodLiteral<"turn/mainRun/updated">;
|
|
2701
2719
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2702
2720
|
diff: z$1.ZodOptional<z$1.ZodString>;
|
|
2703
2721
|
providerThreadId: z$1.ZodString;
|
|
@@ -3088,6 +3106,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3088
3106
|
"child-interrupted": "child-interrupted";
|
|
3089
3107
|
"child-needs-attention": "child-needs-attention";
|
|
3090
3108
|
"child-outcome-batch": "child-outcome-batch";
|
|
3109
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
3091
3110
|
"ownership-assigned": "ownership-assigned";
|
|
3092
3111
|
"ownership-removed": "ownership-removed";
|
|
3093
3112
|
"tool-result-delivered": "tool-result-delivered";
|
|
@@ -3138,6 +3157,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3138
3157
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
3139
3158
|
suppress: z$1.ZodBoolean;
|
|
3140
3159
|
toolName: z$1.ZodString;
|
|
3160
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3161
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
3162
|
+
path: z$1.ZodString;
|
|
3141
3163
|
}, z$1.core.$strip>], "kind">>>;
|
|
3142
3164
|
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3143
3165
|
kind: z$1.ZodLiteral<"thread-start">;
|
|
@@ -7447,6 +7469,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7447
7469
|
}, z$1.core.$strict>], "operation">, z$1.ZodObject<{}, z$1.core.$strict>, "settled", false>;
|
|
7448
7470
|
"host.list_files": HostDaemonCommandDescriptor<"host.list_files", z$1.ZodObject<{
|
|
7449
7471
|
excludeNames: z$1.ZodArray<z$1.ZodString>;
|
|
7472
|
+
followRootSymlink: z$1.ZodBoolean;
|
|
7450
7473
|
includeHidden: z$1.ZodBoolean;
|
|
7451
7474
|
limit: z$1.ZodNumber;
|
|
7452
7475
|
path: z$1.ZodString;
|
|
@@ -7521,6 +7544,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7521
7544
|
path: z$1.ZodString;
|
|
7522
7545
|
}, z$1.core.$strip>>;
|
|
7523
7546
|
parent: z$1.ZodNullable<z$1.ZodString>;
|
|
7547
|
+
roots: z$1.ZodArray<z$1.ZodString>;
|
|
7524
7548
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7525
7549
|
"host.paths_exist": HostDaemonCommandDescriptor<"host.paths_exist", z$1.ZodObject<{
|
|
7526
7550
|
paths: z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>;
|
|
@@ -8070,6 +8094,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8070
8094
|
allow: "allow";
|
|
8071
8095
|
deny: "deny";
|
|
8072
8096
|
}>;
|
|
8097
|
+
followRootSymlink: z$1.ZodBoolean;
|
|
8073
8098
|
path: z$1.ZodString;
|
|
8074
8099
|
rootPath: z$1.ZodString;
|
|
8075
8100
|
type: z$1.ZodLiteral<"host.read_file_relative">;
|
|
@@ -8132,6 +8157,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8132
8157
|
kind: z$1.ZodLiteral<"artifact">;
|
|
8133
8158
|
}, z$1.core.$strict>;
|
|
8134
8159
|
}, z$1.core.$strict>;
|
|
8160
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8161
|
+
name: z$1.ZodString;
|
|
8162
|
+
reason: z$1.ZodString;
|
|
8163
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8164
|
+
plugin: z$1.ZodString;
|
|
8165
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8166
|
+
core: z$1.ZodEnum<{
|
|
8167
|
+
"machine-environment": "machine-environment";
|
|
8168
|
+
"machine-git": "machine-git";
|
|
8169
|
+
"project-environment": "project-environment";
|
|
8170
|
+
}>;
|
|
8171
|
+
}, z$1.core.$strict>]>;
|
|
8172
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8173
|
+
serverPath: z$1.ZodString;
|
|
8174
|
+
}, z$1.core.$strict>]>;
|
|
8175
|
+
}, z$1.core.$strict>>;
|
|
8135
8176
|
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
8136
8177
|
providerId: z$1.ZodString;
|
|
8137
8178
|
type: z$1.ZodLiteral<"provider.list_models">;
|
|
@@ -8219,6 +8260,43 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8219
8260
|
}, z$1.core.$strip>>>;
|
|
8220
8261
|
}, z$1.core.$strip>>;
|
|
8221
8262
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
8263
|
+
"provider.list_commands": HostDaemonCommandDescriptor<"provider.list_commands", z$1.ZodObject<{
|
|
8264
|
+
bridgeLaunch: z$1.ZodObject<{
|
|
8265
|
+
capabilities: z$1.ZodObject<{
|
|
8266
|
+
fork: z$1.ZodEnum<{
|
|
8267
|
+
checkpoint: "checkpoint";
|
|
8268
|
+
none: "none";
|
|
8269
|
+
tip: "tip";
|
|
8270
|
+
}>;
|
|
8271
|
+
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
8272
|
+
"accept-edits": "accept-edits";
|
|
8273
|
+
auto: "auto";
|
|
8274
|
+
full: "full";
|
|
8275
|
+
}>>;
|
|
8276
|
+
providerInstallation: z$1.ZodBoolean;
|
|
8277
|
+
supportsServiceTier: z$1.ZodBoolean;
|
|
8278
|
+
supportsThreadArchive: z$1.ZodBoolean;
|
|
8279
|
+
supportsThreadRename: z$1.ZodBoolean;
|
|
8280
|
+
}, z$1.core.$strict>;
|
|
8281
|
+
envPassthrough: z$1.ZodArray<z$1.ZodString>;
|
|
8282
|
+
pluginId: z$1.ZodString;
|
|
8283
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
8284
|
+
source: z$1.ZodObject<{
|
|
8285
|
+
byteLength: z$1.ZodNumber;
|
|
8286
|
+
digest: z$1.ZodString;
|
|
8287
|
+
kind: z$1.ZodLiteral<"artifact">;
|
|
8288
|
+
}, z$1.core.$strict>;
|
|
8289
|
+
}, z$1.core.$strict>;
|
|
8290
|
+
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
8291
|
+
providerId: z$1.ZodString;
|
|
8292
|
+
type: z$1.ZodLiteral<"provider.list_commands">;
|
|
8293
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8294
|
+
commands: z$1.ZodArray<z$1.ZodObject<{
|
|
8295
|
+
description: z$1.ZodString;
|
|
8296
|
+
inputHint: z$1.ZodOptional<z$1.ZodString>;
|
|
8297
|
+
name: z$1.ZodString;
|
|
8298
|
+
}, z$1.core.$strip>>;
|
|
8299
|
+
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
8222
8300
|
"provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
|
|
8223
8301
|
bridgeLaunch: z$1.ZodObject<{
|
|
8224
8302
|
capabilities: z$1.ZodObject<{
|
|
@@ -9216,6 +9294,7 @@ declare const hostDirectoryListingSchema: z$1.ZodObject<{
|
|
|
9216
9294
|
path: z$1.ZodString;
|
|
9217
9295
|
}, z$1.core.$strip>>;
|
|
9218
9296
|
parent: z$1.ZodNullable<z$1.ZodString>;
|
|
9297
|
+
roots: z$1.ZodArray<z$1.ZodString>;
|
|
9219
9298
|
}, z$1.core.$strip>;
|
|
9220
9299
|
type HostDirectoryListing = z$1.infer<typeof hostDirectoryListingSchema>;
|
|
9221
9300
|
declare const hostDiscoveredReposResponseSchema: z$1.ZodObject<{
|
|
@@ -10870,6 +10949,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10870
10949
|
streamerMode: z$1.ZodBoolean;
|
|
10871
10950
|
summarizeShellCommands: z$1.ZodBoolean;
|
|
10872
10951
|
telemetryEnabled: z$1.ZodBoolean;
|
|
10952
|
+
terminalCopyOnSelect: z$1.ZodBoolean;
|
|
10873
10953
|
}, z$1.core.$strict>;
|
|
10874
10954
|
hostDaemonPort: z$1.ZodNullable<z$1.ZodNumber>;
|
|
10875
10955
|
keybindingOverrides: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -11746,6 +11826,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11746
11826
|
"child-interrupted": "child-interrupted";
|
|
11747
11827
|
"child-needs-attention": "child-needs-attention";
|
|
11748
11828
|
"child-outcome-batch": "child-outcome-batch";
|
|
11829
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
11749
11830
|
"ownership-assigned": "ownership-assigned";
|
|
11750
11831
|
"ownership-removed": "ownership-removed";
|
|
11751
11832
|
"tool-result-delivered": "tool-result-delivered";
|
|
@@ -11796,6 +11877,9 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11796
11877
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
11797
11878
|
suppress: z$1.ZodBoolean;
|
|
11798
11879
|
toolName: z$1.ZodString;
|
|
11880
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11881
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
11882
|
+
path: z$1.ZodString;
|
|
11799
11883
|
}, z$1.core.$strip>], "kind">>;
|
|
11800
11884
|
text: z$1.ZodString;
|
|
11801
11885
|
threadId: z$1.ZodString;
|
|
@@ -14450,6 +14534,7 @@ type ThreadSearchResponse = z$1.infer<typeof threadSearchResponseSchema>;
|
|
|
14450
14534
|
declare const threadResponseSchema: z$1.ZodObject<{
|
|
14451
14535
|
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
14452
14536
|
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14537
|
+
canEditMessages: z$1.ZodBoolean;
|
|
14453
14538
|
canRestoreEnvironment: z$1.ZodBoolean;
|
|
14454
14539
|
canSpawnChild: z$1.ZodBoolean;
|
|
14455
14540
|
createdAt: z$1.ZodNumber;
|
|
@@ -14533,6 +14618,7 @@ type ThreadDescendantsListResponse = z$1.infer<typeof threadDescendantsListRespo
|
|
|
14533
14618
|
declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
14534
14619
|
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
14535
14620
|
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14621
|
+
canEditMessages: z$1.ZodBoolean;
|
|
14536
14622
|
canRestoreEnvironment: z$1.ZodBoolean;
|
|
14537
14623
|
canSpawnChild: z$1.ZodBoolean;
|
|
14538
14624
|
createdAt: z$1.ZodNumber;
|
|
@@ -15401,6 +15487,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15401
15487
|
"child-interrupted": "child-interrupted";
|
|
15402
15488
|
"child-needs-attention": "child-needs-attention";
|
|
15403
15489
|
"child-outcome-batch": "child-outcome-batch";
|
|
15490
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
15404
15491
|
"ownership-assigned": "ownership-assigned";
|
|
15405
15492
|
"ownership-removed": "ownership-removed";
|
|
15406
15493
|
"tool-result-delivered": "tool-result-delivered";
|
|
@@ -15451,6 +15538,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15451
15538
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
15452
15539
|
suppress: z$1.ZodBoolean;
|
|
15453
15540
|
toolName: z$1.ZodString;
|
|
15541
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15542
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
15543
|
+
path: z$1.ZodString;
|
|
15454
15544
|
}, z$1.core.$strip>], "kind">>;
|
|
15455
15545
|
text: z$1.ZodString;
|
|
15456
15546
|
threadId: z$1.ZodString;
|
|
@@ -15586,6 +15676,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15586
15676
|
"child-interrupted": "child-interrupted";
|
|
15587
15677
|
"child-needs-attention": "child-needs-attention";
|
|
15588
15678
|
"child-outcome-batch": "child-outcome-batch";
|
|
15679
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
15589
15680
|
"ownership-assigned": "ownership-assigned";
|
|
15590
15681
|
"ownership-removed": "ownership-removed";
|
|
15591
15682
|
"tool-result-delivered": "tool-result-delivered";
|
|
@@ -15636,6 +15727,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15636
15727
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
15637
15728
|
suppress: z$1.ZodBoolean;
|
|
15638
15729
|
toolName: z$1.ZodString;
|
|
15730
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15731
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
15732
|
+
path: z$1.ZodString;
|
|
15639
15733
|
}, z$1.core.$strip>], "kind">>;
|
|
15640
15734
|
text: z$1.ZodString;
|
|
15641
15735
|
threadId: z$1.ZodString;
|
|
@@ -15771,6 +15865,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15771
15865
|
"child-interrupted": "child-interrupted";
|
|
15772
15866
|
"child-needs-attention": "child-needs-attention";
|
|
15773
15867
|
"child-outcome-batch": "child-outcome-batch";
|
|
15868
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
15774
15869
|
"ownership-assigned": "ownership-assigned";
|
|
15775
15870
|
"ownership-removed": "ownership-removed";
|
|
15776
15871
|
"tool-result-delivered": "tool-result-delivered";
|
|
@@ -15821,6 +15916,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15821
15916
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
15822
15917
|
suppress: z$1.ZodBoolean;
|
|
15823
15918
|
toolName: z$1.ZodString;
|
|
15919
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15920
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
15921
|
+
path: z$1.ZodString;
|
|
15824
15922
|
}, z$1.core.$strip>], "kind">>;
|
|
15825
15923
|
text: z$1.ZodString;
|
|
15826
15924
|
threadId: z$1.ZodString;
|
|
@@ -18813,6 +18911,226 @@ interface ExperimentalSidebarFooterDisclosureProps {
|
|
|
18813
18911
|
/** Hide this disclosure without affecting another plugin's open disclosure. */
|
|
18814
18912
|
dismiss(): void;
|
|
18815
18913
|
}
|
|
18914
|
+
/** Display and accessibility metadata for a host-owned sidebar shortcut. */
|
|
18915
|
+
interface ExperimentalSidebarNavigationShortcut {
|
|
18916
|
+
label: string;
|
|
18917
|
+
ariaKeyShortcuts: string;
|
|
18918
|
+
}
|
|
18919
|
+
/** Host-owned behavior represented by one sidebar navigation item. */
|
|
18920
|
+
type ExperimentalSidebarNavigationAction = {
|
|
18921
|
+
kind: "new-thread";
|
|
18922
|
+
} | {
|
|
18923
|
+
kind: "search-threads";
|
|
18924
|
+
} | {
|
|
18925
|
+
kind: "open-extensions";
|
|
18926
|
+
} | {
|
|
18927
|
+
kind: "open-skills";
|
|
18928
|
+
} | {
|
|
18929
|
+
kind: "open-plugin-panel";
|
|
18930
|
+
pluginId: string;
|
|
18931
|
+
panelId: string;
|
|
18932
|
+
};
|
|
18933
|
+
/**
|
|
18934
|
+
* Semantic icon identity for one sidebar navigation item. Render it with
|
|
18935
|
+
* {@link PluginSdkApp.experimental_SidebarNavigationIcon} to match bb's
|
|
18936
|
+
* artwork, including panel icons with plugin branding as their fallback.
|
|
18937
|
+
*/
|
|
18938
|
+
type ExperimentalSidebarNavigationIcon = {
|
|
18939
|
+
kind: "host";
|
|
18940
|
+
name: "extensions" | "new-thread" | "search" | "skills";
|
|
18941
|
+
} | {
|
|
18942
|
+
kind: "plugin";
|
|
18943
|
+
pluginId: string;
|
|
18944
|
+
icon: string | null;
|
|
18945
|
+
};
|
|
18946
|
+
/** One host-owned destination or action a navigation provider arranges. */
|
|
18947
|
+
interface ExperimentalSidebarNavigationItem {
|
|
18948
|
+
/**
|
|
18949
|
+
* Arrangement key, stable across reloads: `__bb__/new-thread`,
|
|
18950
|
+
* `__bb__/search-threads`, `__bb__/extensions`, `__bb__/skills`,
|
|
18951
|
+
* `__bb__/automations`, or `<pluginId>/<panelId>`. The same keys appear in
|
|
18952
|
+
* the `sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`
|
|
18953
|
+
* settings.
|
|
18954
|
+
*/
|
|
18955
|
+
id: string;
|
|
18956
|
+
label: string;
|
|
18957
|
+
icon: ExperimentalSidebarNavigationIcon;
|
|
18958
|
+
action: ExperimentalSidebarNavigationAction;
|
|
18959
|
+
isDisabled: boolean;
|
|
18960
|
+
/**
|
|
18961
|
+
* False when the user hid the item. Draw hidden items in an overflow menu
|
|
18962
|
+
* rather than dropping them, so they stay reachable. New thread is always
|
|
18963
|
+
* visible.
|
|
18964
|
+
*/
|
|
18965
|
+
isVisible: boolean;
|
|
18966
|
+
/**
|
|
18967
|
+
* A plugin panel remembered from the last session whose bundle has not
|
|
18968
|
+
* registered yet. Activating it does nothing until it loads.
|
|
18969
|
+
*/
|
|
18970
|
+
isLoading: boolean;
|
|
18971
|
+
/**
|
|
18972
|
+
* The plugin that contributed this panel; null for bb's own items. Gates
|
|
18973
|
+
* `openDetails` and `disablePlugin`.
|
|
18974
|
+
*/
|
|
18975
|
+
pluginId: string | null;
|
|
18976
|
+
shortcut: ExperimentalSidebarNavigationShortcut | null;
|
|
18977
|
+
/**
|
|
18978
|
+
* The panel's current {@link PluginNavPanelRegistration.experimental_useBadge}
|
|
18979
|
+
* value, or null. Add `label` to the item's accessible name when you draw
|
|
18980
|
+
* it.
|
|
18981
|
+
*/
|
|
18982
|
+
badge: ExperimentalBadge | null;
|
|
18983
|
+
}
|
|
18984
|
+
/** How the host should activate a sidebar navigation item. */
|
|
18985
|
+
interface ExperimentalSidebarNavigationActivationOptions {
|
|
18986
|
+
openInSplit: boolean;
|
|
18987
|
+
}
|
|
18988
|
+
/**
|
|
18989
|
+
* Host behavior for sidebar navigation items (see
|
|
18990
|
+
* {@link ExperimentalSidebarNavigationState}). Unknown item ids are ignored.
|
|
18991
|
+
* Calls made after the calling component unmounts do nothing.
|
|
18992
|
+
*/
|
|
18993
|
+
interface ExperimentalSidebarNavigationActions {
|
|
18994
|
+
/**
|
|
18995
|
+
* Run the item's host behavior. Plugin panels close the mobile sidebar
|
|
18996
|
+
* drawer; Plugins and Skills swap the list beside the navigation.
|
|
18997
|
+
* `openInSplit` opens Plugins and Skills in a browser tab because those
|
|
18998
|
+
* destinations do not support splits. New thread and plugin panels retain
|
|
18999
|
+
* their split placement rules, including in-place navigation on compact
|
|
19000
|
+
* screens. Search remains a command. Disabled or loading items do nothing.
|
|
19001
|
+
* Browser-tab activation must run synchronously from a user gesture;
|
|
19002
|
+
* native shells handle the new-window request using their existing policy.
|
|
19003
|
+
*/
|
|
19004
|
+
activate(itemId: string, options: ExperimentalSidebarNavigationActivationOptions): void;
|
|
19005
|
+
/**
|
|
19006
|
+
* Return to the thread list and the last thread or new thread screen the
|
|
19007
|
+
* user had open before visiting Settings, Plugins, Skills, or a plugin
|
|
19008
|
+
* panel.
|
|
19009
|
+
*/
|
|
19010
|
+
goHome(): void;
|
|
19011
|
+
/** Hide or show one item. Persists to `sidebar.visiblePluginPanels`. */
|
|
19012
|
+
setVisible(itemId: string, isVisible: boolean): void;
|
|
19013
|
+
/**
|
|
19014
|
+
* Save a new order. Pass item ids in the order you want; unknown ids are
|
|
19015
|
+
* dropped and ids you leave out keep their relative order after the ones
|
|
19016
|
+
* you pass. Persists to `sidebar.pluginPanelOrder`.
|
|
19017
|
+
*/
|
|
19018
|
+
setOrder(itemIds: readonly string[]): void;
|
|
19019
|
+
/**
|
|
19020
|
+
* Open bb's customize editor, which reorders and hides items, beside the
|
|
19021
|
+
* navigation. It waits for an open menu to close and returns focus to the
|
|
19022
|
+
* control that opened it.
|
|
19023
|
+
*/
|
|
19024
|
+
openCustomize(): void;
|
|
19025
|
+
/** Open the owning plugin's details. Does nothing when `pluginId` is null. */
|
|
19026
|
+
openDetails(itemId: string): void;
|
|
19027
|
+
/**
|
|
19028
|
+
* Disable the owning plugin, leave its panel if it is open, and show a
|
|
19029
|
+
* toast. Rejects after the host's error toast when disabling fails. Does
|
|
19030
|
+
* nothing when `pluginId` is null.
|
|
19031
|
+
*/
|
|
19032
|
+
disablePlugin(itemId: string): Promise<void>;
|
|
19033
|
+
}
|
|
19034
|
+
/** What {@link PluginSdkApp.experimental_useSidebarNavigation} returns. */
|
|
19035
|
+
interface ExperimentalSidebarNavigationState {
|
|
19036
|
+
/** Every item in the user's saved order, visible and hidden. */
|
|
19037
|
+
items: readonly ExperimentalSidebarNavigationItem[];
|
|
19038
|
+
/** The item whose destination the route currently shows, or null. */
|
|
19039
|
+
activeItemId: string | null;
|
|
19040
|
+
/**
|
|
19041
|
+
* True on the thread list's routes: a thread, the new thread screen, or a
|
|
19042
|
+
* project page. Settings, Plugins, Skills, and plugin panels are not home.
|
|
19043
|
+
*/
|
|
19044
|
+
isHomeActive: boolean;
|
|
19045
|
+
/**
|
|
19046
|
+
* True while the user holds the app command modifier, when bb's own
|
|
19047
|
+
* navigation reveals its `shortcut` labels. Show yours at the same time.
|
|
19048
|
+
*/
|
|
19049
|
+
isShortcutModifierHeld: boolean;
|
|
19050
|
+
actions: ExperimentalSidebarNavigationActions;
|
|
19051
|
+
}
|
|
19052
|
+
/**
|
|
19053
|
+
* Per-item drag-to-split support (see
|
|
19054
|
+
* {@link PluginSdkApp.experimental_useSidebarNavigationSplit}). Same contract
|
|
19055
|
+
* as {@link PluginSidebarThreadSplit}.
|
|
19056
|
+
*/
|
|
19057
|
+
interface ExperimentalSidebarNavigationSplit {
|
|
19058
|
+
/**
|
|
19059
|
+
* Spread onto the item's interactive element. Empty when the item cannot
|
|
19060
|
+
* open in a pane, so spreading it is always safe.
|
|
19061
|
+
*/
|
|
19062
|
+
splitProps: {
|
|
19063
|
+
onPointerDown?: (event: react.PointerEvent<HTMLElement>) => void;
|
|
19064
|
+
};
|
|
19065
|
+
/**
|
|
19066
|
+
* False for items that cannot open in a pane (Search, Plugins, Skills), on
|
|
19067
|
+
* compact viewports, and when splits are unavailable.
|
|
19068
|
+
*/
|
|
19069
|
+
isAvailable: boolean;
|
|
19070
|
+
/** Where this item's destination sits in the split layout, or null. */
|
|
19071
|
+
layout: {
|
|
19072
|
+
panes: readonly PluginSidebarSplitPane[];
|
|
19073
|
+
} | null;
|
|
19074
|
+
}
|
|
19075
|
+
/** Options for {@link PluginSdkApp.experimental_useSidebarNavigationSplit}. */
|
|
19076
|
+
interface ExperimentalSidebarNavigationSplitOptions {
|
|
19077
|
+
/**
|
|
19078
|
+
* `sidebar` (the default) engages the drag once the pointer leaves the
|
|
19079
|
+
* sidebar, so a row list with its own drag-to-reorder keeps working.
|
|
19080
|
+
* `distance` engages after a short movement in any direction; use it for
|
|
19081
|
+
* rows inside a menu or popover that covers the main area.
|
|
19082
|
+
*/
|
|
19083
|
+
activation?: "distance" | "sidebar";
|
|
19084
|
+
/** Called when the drag engages, for example to close the menu the row is in. */
|
|
19085
|
+
onDragStart?: () => void;
|
|
19086
|
+
}
|
|
19087
|
+
/** Props for {@link PluginSdkApp.experimental_SidebarNavigationIcon}. */
|
|
19088
|
+
interface ExperimentalSidebarNavigationIconProps {
|
|
19089
|
+
icon: ExperimentalSidebarNavigationIcon;
|
|
19090
|
+
className?: string;
|
|
19091
|
+
}
|
|
19092
|
+
/**
|
|
19093
|
+
* Where a sidebar navigation provider draws (see
|
|
19094
|
+
* {@link ExperimentalSidebarNavigationRegistration.placement}).
|
|
19095
|
+
*/
|
|
19096
|
+
type ExperimentalSidebarNavigationPlacement = "list" | "rail";
|
|
19097
|
+
/**
|
|
19098
|
+
* Props passed to an `experimental_sidebarNavigation` component. Read the
|
|
19099
|
+
* items and their actions with
|
|
19100
|
+
* {@link PluginSdkApp.experimental_useSidebarNavigation}.
|
|
19101
|
+
*/
|
|
19102
|
+
interface ExperimentalSidebarNavigationProps {
|
|
19103
|
+
isCompactViewport: boolean;
|
|
19104
|
+
placement: ExperimentalSidebarNavigationPlacement;
|
|
19105
|
+
/**
|
|
19106
|
+
* Renders the bundled Navigation plugin's provider for the same placement,
|
|
19107
|
+
* Rail or Top list, or nothing when that plugin is disabled. Kept for
|
|
19108
|
+
* plugins written before `experimental_useSidebarNavigation`; render items
|
|
19109
|
+
* from that hook instead. Scheduled for removal.
|
|
19110
|
+
*
|
|
19111
|
+
* @deprecated
|
|
19112
|
+
*/
|
|
19113
|
+
experimental_Original: ComponentType;
|
|
19114
|
+
}
|
|
19115
|
+
/**
|
|
19116
|
+
* Props passed to a navigation's `headerComponent`, rendered in the sidebar's
|
|
19117
|
+
* header row between the sidebar toggle (and the macOS window controls) and
|
|
19118
|
+
* bb's back and forward buttons.
|
|
19119
|
+
*/
|
|
19120
|
+
interface ExperimentalSidebarHeaderProps {
|
|
19121
|
+
/**
|
|
19122
|
+
* Width in px of the space the component may use, updated when the sidebar
|
|
19123
|
+
* resizes or the window chrome changes. It can be smaller than
|
|
19124
|
+
* `controlSize` in a narrow sidebar.
|
|
19125
|
+
*/
|
|
19126
|
+
width: number;
|
|
19127
|
+
/**
|
|
19128
|
+
* Width and height in px of the header's own buttons, equal to the
|
|
19129
|
+
* `--bb-sidebar-control-size` CSS variable. Size your controls to match.
|
|
19130
|
+
*/
|
|
19131
|
+
controlSize: number;
|
|
19132
|
+
isCompactViewport: boolean;
|
|
19133
|
+
}
|
|
18816
19134
|
/**
|
|
18817
19135
|
* Props passed to an `experimental_threadList` component — the sidebar's
|
|
18818
19136
|
* scrolling thread area, replaced wholesale by one plugin.
|
|
@@ -19216,6 +19534,41 @@ type PluginFixedTabRegistration<Target extends JsonValue = never> = Experimental
|
|
|
19216
19534
|
};
|
|
19217
19535
|
/** A fixed tab with either no target or an owner-validated JSON target. */
|
|
19218
19536
|
type PluginFixedTabDeclaration = PluginFixedTabRegistration | PluginFixedTabRegistration<JsonValue>;
|
|
19537
|
+
/**
|
|
19538
|
+
* How urgent an {@link ExperimentalBadge} is. bb picks the colors: `neutral`
|
|
19539
|
+
* (the default) for counts and new items, `warning` for something due or
|
|
19540
|
+
* degraded, and `critical` for something failing or waiting on the user.
|
|
19541
|
+
*
|
|
19542
|
+
* Experimental: see docs/api_to_audit.md.
|
|
19543
|
+
*/
|
|
19544
|
+
type ExperimentalBadgeTone = "critical" | "neutral" | "warning";
|
|
19545
|
+
/**
|
|
19546
|
+
* A live value the host draws on a nav panel's navigation entry. Set at most
|
|
19547
|
+
* one of `count` and `text`; with neither, bb draws a dot.
|
|
19548
|
+
*
|
|
19549
|
+
* Experimental: see docs/api_to_audit.md.
|
|
19550
|
+
*/
|
|
19551
|
+
interface ExperimentalBadge {
|
|
19552
|
+
/**
|
|
19553
|
+
* Positive integer drawn on the entry, shown as `9+` above 9 on the rail and
|
|
19554
|
+
* `99+` above 99 in lists.
|
|
19555
|
+
*/
|
|
19556
|
+
count?: number;
|
|
19557
|
+
/**
|
|
19558
|
+
* A short visible value, at most 8 characters, such as "NEW", "73%", or
|
|
19559
|
+
* "3/5". Lists draw it; the icon-only rail draws a dot and puts `label` in
|
|
19560
|
+
* the tooltip.
|
|
19561
|
+
*/
|
|
19562
|
+
text?: string;
|
|
19563
|
+
/** Defaults to `neutral`. */
|
|
19564
|
+
tone?: ExperimentalBadgeTone;
|
|
19565
|
+
/**
|
|
19566
|
+
* Text for the destination's tooltip and accessible name, such as
|
|
19567
|
+
* "3 open tasks". Required because the drawn badge is hidden from assistive
|
|
19568
|
+
* technology.
|
|
19569
|
+
*/
|
|
19570
|
+
label: string;
|
|
19571
|
+
}
|
|
19219
19572
|
interface PluginNavPanelRegistration {
|
|
19220
19573
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19221
19574
|
id: string;
|
|
@@ -19237,16 +19590,19 @@ interface PluginNavPanelRegistration {
|
|
|
19237
19590
|
*/
|
|
19238
19591
|
fixedTabs?: readonly PluginFixedTabDeclaration[];
|
|
19239
19592
|
/**
|
|
19240
|
-
* Optional
|
|
19241
|
-
*
|
|
19242
|
-
*
|
|
19243
|
-
*
|
|
19244
|
-
*
|
|
19245
|
-
*
|
|
19593
|
+
* Optional React hook that returns this panel's navigation badge, or `null`
|
|
19594
|
+
* for none. The host calls it once in your plugin's scope for every
|
|
19595
|
+
* registered panel, including ones hidden under More, so it can own an RPC
|
|
19596
|
+
* query and realtime subscription through the ordinary SDK hooks. The value
|
|
19597
|
+
* reaches every navigation provider as the item's `badge`; bb's draw a
|
|
19598
|
+
* count or a dot on the entry, a dot on More while the panel is hidden
|
|
19599
|
+
* there, and `label` in the tooltip and accessible name. A hook that throws
|
|
19600
|
+
* or returns an invalid badge is treated as a crashed slot and shows no
|
|
19601
|
+
* badge.
|
|
19246
19602
|
*
|
|
19247
19603
|
* Experimental: see docs/api_to_audit.md.
|
|
19248
19604
|
*/
|
|
19249
|
-
|
|
19605
|
+
experimental_useBadge?: () => ExperimentalBadge | null;
|
|
19250
19606
|
/**
|
|
19251
19607
|
* Optional component rendered on the right side of the shared title bar
|
|
19252
19608
|
* (e.g. a sync button or a count). Contained separately from the body: a
|
|
@@ -20202,6 +20558,50 @@ interface PluginThreadListRegistration {
|
|
|
20202
20558
|
description?: string;
|
|
20203
20559
|
component: ComponentType<PluginThreadListProps>;
|
|
20204
20560
|
}
|
|
20561
|
+
/**
|
|
20562
|
+
* Draw the sidebar's navigation: New thread, Plugins, Skills, Automations,
|
|
20563
|
+
* plugin panels, and More, plus optional controls in the sidebar header.
|
|
20564
|
+
* Exclusive: bb's bundled Navigation plugin registers Rail
|
|
20565
|
+
* (`navigation/rail`, the default) and Top list (`navigation/top-list`)
|
|
20566
|
+
* through this slot. By default the first provider from another plugin is
|
|
20567
|
+
* active, falling back to Rail; the user can pin one provider under Settings →
|
|
20568
|
+
* Appearance → Navigation. A pinned provider that is disabled or removed falls
|
|
20569
|
+
* back the same way, and a crashing provider is replaced by the Navigation
|
|
20570
|
+
* plugin's provider for the same placement.
|
|
20571
|
+
*
|
|
20572
|
+
* `placement` decides the layout around the component, so bb can lay out the
|
|
20573
|
+
* sidebar before the plugin loads:
|
|
20574
|
+
*
|
|
20575
|
+
* - `rail`: a fixed-width column on the sidebar's left edge that stays when
|
|
20576
|
+
* the sidebar collapses. bb draws Settings at the bottom of the column;
|
|
20577
|
+
* draw Home with `actions.goHome()`. On macOS, wide windows frame the
|
|
20578
|
+
* sidebar and page below a title bar.
|
|
20579
|
+
* - `list` (the default): the area above the thread list. Settings is a
|
|
20580
|
+
* footer action, the Settings, Plugins, and Skills lists start with a Back
|
|
20581
|
+
* to app row, and collapsing hides the whole sidebar.
|
|
20582
|
+
*
|
|
20583
|
+
* Draw New thread yourself, in `component` or `headerComponent`. bb's Rail
|
|
20584
|
+
* puts it in its header; Top list draws it as a row.
|
|
20585
|
+
*/
|
|
20586
|
+
interface ExperimentalSidebarNavigationRegistration {
|
|
20587
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
20588
|
+
id: string;
|
|
20589
|
+
/** Label shown in Settings → Appearance and capability details. */
|
|
20590
|
+
title: string;
|
|
20591
|
+
/** Optional one-line description shown with the provider choice. */
|
|
20592
|
+
description?: string;
|
|
20593
|
+
placement?: ExperimentalSidebarNavigationPlacement;
|
|
20594
|
+
component: ComponentType<ExperimentalSidebarNavigationProps>;
|
|
20595
|
+
/**
|
|
20596
|
+
* Rendered in the sidebar's header row while this navigation is active,
|
|
20597
|
+
* between the sidebar toggle and bb's back and forward buttons. Content is
|
|
20598
|
+
* clipped to the row, so it cannot move the thread list or bb's controls.
|
|
20599
|
+
* On macOS the empty space keeps dragging the window; buttons, links, and
|
|
20600
|
+
* inputs do not. A crashing header is replaced by the header of the
|
|
20601
|
+
* bundled Navigation plugin's provider for the same placement.
|
|
20602
|
+
*/
|
|
20603
|
+
headerComponent?: ComponentType<ExperimentalSidebarHeaderProps>;
|
|
20604
|
+
}
|
|
20205
20605
|
/**
|
|
20206
20606
|
* Register this plugin as a viewer/editor for file extensions. By default,
|
|
20207
20607
|
* matching files render the first applicable opener in deterministic slot
|
|
@@ -20226,8 +20626,9 @@ interface PluginFileOpenerRegistration {
|
|
|
20226
20626
|
* text — the native file preview and every plugin that calls
|
|
20227
20627
|
* `experimental_SourceCode`. Like `experimental_threadList` this slot is
|
|
20228
20628
|
* **exclusive**: one renderer at a time. Registering activates it while the
|
|
20229
|
-
* plugin is enabled; if several are registered
|
|
20230
|
-
*
|
|
20629
|
+
* plugin is enabled; if several are registered, one from a plugin the user
|
|
20630
|
+
* installed wins over one bundled with bb, then the first in deterministic
|
|
20631
|
+
* slot order. A missing, disabled, or crashing replacement falls back to BB's
|
|
20231
20632
|
* renderer, and a replacement can render `Original` to delegate
|
|
20232
20633
|
* per call (behind its own setting, by language, by size — whatever it needs).
|
|
20233
20634
|
*/
|
|
@@ -20673,6 +21074,12 @@ interface PluginAppSlots {
|
|
|
20673
21074
|
* docs/api_to_audit.md for what to audit before the prefix drops.
|
|
20674
21075
|
*/
|
|
20675
21076
|
experimental_threadList(registration: PluginThreadListRegistration): void;
|
|
21077
|
+
/**
|
|
21078
|
+
* Draw the sidebar navigation and its header controls (see
|
|
21079
|
+
* {@link ExperimentalSidebarNavigationRegistration}). Experimental: see
|
|
21080
|
+
* docs/api_to_audit.md.
|
|
21081
|
+
*/
|
|
21082
|
+
experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
|
|
20676
21083
|
/**
|
|
20677
21084
|
* Render a component in the thread header's action row (see
|
|
20678
21085
|
* {@link PluginThreadHeaderActionRegistration}). Experimental: see
|
|
@@ -21978,6 +22385,27 @@ interface PluginSdkApp {
|
|
|
21978
22385
|
* Experimental: see docs/api_to_audit.md.
|
|
21979
22386
|
*/
|
|
21980
22387
|
experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
|
|
22388
|
+
/**
|
|
22389
|
+
* The sidebar navigation items in the user's saved order, the active item,
|
|
22390
|
+
* and the host actions that activate, hide, reorder, and customize them
|
|
22391
|
+
* (see {@link ExperimentalSidebarNavigationState}). One model shared by
|
|
22392
|
+
* every navigation provider, bb's included. Items keep their identity while
|
|
22393
|
+
* unchanged. Outside the sidebar it returns no items and actions that do
|
|
22394
|
+
* nothing. Experimental: see docs/api_to_audit.md.
|
|
22395
|
+
*/
|
|
22396
|
+
experimental_useSidebarNavigation(): ExperimentalSidebarNavigationState;
|
|
22397
|
+
/**
|
|
22398
|
+
* Per-item drag-to-split support for navigation items (see
|
|
22399
|
+
* {@link ExperimentalSidebarNavigationSplit}). Call it once per rendered
|
|
22400
|
+
* item. Experimental: see docs/api_to_audit.md.
|
|
22401
|
+
*/
|
|
22402
|
+
experimental_useSidebarNavigationSplit(itemId: string, options?: ExperimentalSidebarNavigationSplitOptions): ExperimentalSidebarNavigationSplit;
|
|
22403
|
+
/**
|
|
22404
|
+
* bb's artwork for a navigation item's icon: bb's glyphs for its own items,
|
|
22405
|
+
* and the panel's explicit icon, falling back to plugin branding, for
|
|
22406
|
+
* plugin panels. Experimental: see docs/api_to_audit.md.
|
|
22407
|
+
*/
|
|
22408
|
+
experimental_SidebarNavigationIcon: ComponentType<ExperimentalSidebarNavigationIconProps>;
|
|
21981
22409
|
/**
|
|
21982
22410
|
* Whether the composer holds an unsent draft for one thread (see
|
|
21983
22411
|
* {@link PluginSidebarThreadDraftState}). Per row, because a draft is
|
|
@@ -24013,9 +24441,13 @@ interface PluginProviders {
|
|
|
24013
24441
|
experimental_contributeEnv(providerId: string, resolve: (context: ExperimentalPluginProviderEnvContext) => readonly ExperimentalPluginProviderEnvEntry[] | Promise<readonly ExperimentalPluginProviderEnvEntry[]>): void;
|
|
24014
24442
|
experimental_contributeEnvHealth(providerId: string, resolve: (context: ExperimentalPluginProviderEnvHealthContext) => ExperimentalPluginProviderEnvHealth | null | Promise<ExperimentalPluginProviderEnvHealth | null>): void;
|
|
24015
24443
|
}
|
|
24444
|
+
/**
|
|
24445
|
+
* `threadId` and `projectId` are `null` when bb resolves the environment for a
|
|
24446
|
+
* provider process that serves no thread, such as model catalog listing.
|
|
24447
|
+
*/
|
|
24016
24448
|
interface ExperimentalPluginProviderEnvContext {
|
|
24017
|
-
threadId: string;
|
|
24018
|
-
projectId: string;
|
|
24449
|
+
threadId: string | null;
|
|
24450
|
+
projectId: string | null;
|
|
24019
24451
|
hostId: string;
|
|
24020
24452
|
}
|
|
24021
24453
|
interface ExperimentalPluginProviderEnvEntry {
|
|
@@ -24623,4 +25055,4 @@ declare const experimental_THREAD_ACTION_GROUPS: {
|
|
|
24623
25055
|
};
|
|
24624
25056
|
|
|
24625
25057
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_THREAD_ACTION_GROUPS, experimental_defineHostEntry };
|
|
24626
|
-
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalVoiceInputTextareaProps, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
25058
|
+
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalVoiceInputTextareaProps, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|