@get-bb/plugin-sdk 0.6.157 → 0.6.169
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 +1 -1
- package/bundled-types/bb-plugin-sdk-app.d.ts +1010 -353
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +3 -0
- package/bundled-types/bb-plugin-sdk-host.d.ts +4 -1
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +9 -6
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +10 -4
- package/bundled-types/bb-plugin-sdk-internal-thread-event-gate.d.ts +1001 -0
- package/bundled-types/bb-plugin-sdk-internal-thread-status.d.ts +2 -2
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +56 -6
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +56 -6
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +45 -8
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +7 -3
- package/bundled-types/bb-plugin-sdk-testing.d.ts +14 -19
- package/bundled-types/bb-plugin-sdk.d.ts +1043 -436
- package/dist/app.js +8 -0
- package/dist/host.js +27 -3
- package/dist/index.js +19 -1
- package/dist/internal/host-policy.js +34 -13
- package/dist/internal/plugin-app-collector.js +35 -3
- package/dist/internal/rpc-query-host.js +1 -0
- package/dist/internal/thread-event-gate.js +95 -0
- package/dist/process.js +7 -1
- package/dist/provider-bridge-acp-next.js +503 -144
- package/dist/provider-bridge-acp.js +503 -144
- package/dist/provider-bridge-testing.js +12 -4
- package/dist/provider-bridge.js +115 -34
- package/dist/replay-provider-child.mjs +158 -31
- package/dist/testing/app.js +647 -351
- package/dist/testing/index.js +184 -77
- package/package.json +8 -1
|
@@ -300,7 +300,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
300
300
|
}, z$1.core.$strict>]>;
|
|
301
301
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
302
302
|
|
|
303
|
-
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", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned"];
|
|
303
|
+
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", "sidebar.updates.providerCli", "sidebar.updates.skipped", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned", "threadContextCard.collapsedSections"];
|
|
304
304
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
305
305
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
306
306
|
schema: Schema;
|
|
@@ -335,8 +335,11 @@ declare const uiPreferenceDefinitions: {
|
|
|
335
335
|
readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
336
336
|
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
337
337
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
338
|
+
readonly "sidebar.updates.providerCli": UiPreferenceDefinition<z$1.ZodBoolean>;
|
|
339
|
+
readonly "sidebar.updates.skipped": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
338
340
|
readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
|
|
339
341
|
readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
|
|
342
|
+
readonly "threadContextCard.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
|
|
340
343
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
|
|
341
344
|
};
|
|
342
345
|
type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
|
|
@@ -673,6 +676,7 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
673
676
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
674
677
|
attempt: z$1.ZodNumber;
|
|
675
678
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
679
|
+
needsRecovery: z$1.ZodBoolean;
|
|
676
680
|
status: z$1.ZodEnum<{
|
|
677
681
|
failed: "failed";
|
|
678
682
|
removed: "removed";
|
|
@@ -774,6 +778,8 @@ declare const hostSchema: z$1.ZodObject<{
|
|
|
774
778
|
suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
775
779
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
776
780
|
attempt: z$1.ZodNumber;
|
|
781
|
+
blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
782
|
+
needsRecovery: z$1.ZodBoolean;
|
|
777
783
|
status: z$1.ZodEnum<{
|
|
778
784
|
failed: "failed";
|
|
779
785
|
removed: "removed";
|
|
@@ -4909,6 +4915,15 @@ declare const workspacePathListResponseSchema: z$1.ZodObject<{
|
|
|
4909
4915
|
}, z$1.core.$strip>;
|
|
4910
4916
|
type WorkspacePathListResponse = z$1.infer<typeof workspacePathListResponseSchema>;
|
|
4911
4917
|
|
|
4918
|
+
declare const operationResponseSchema: z$1.ZodObject<{
|
|
4919
|
+
ok: z$1.ZodLiteral<true>;
|
|
4920
|
+
progress: z$1.ZodEnum<{
|
|
4921
|
+
"in-progress": "in-progress";
|
|
4922
|
+
complete: "complete";
|
|
4923
|
+
}>;
|
|
4924
|
+
}, z$1.core.$strict>;
|
|
4925
|
+
type OperationResponse = z$1.infer<typeof operationResponseSchema>;
|
|
4926
|
+
|
|
4912
4927
|
declare const createProjectSourceRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4913
4928
|
hostId: z$1.ZodString;
|
|
4914
4929
|
path: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
@@ -5198,7 +5213,7 @@ declare const skillListResponseSchema: z$1.ZodObject<{
|
|
|
5198
5213
|
manageable: z$1.ZodBoolean;
|
|
5199
5214
|
name: z$1.ZodString;
|
|
5200
5215
|
pluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
5201
|
-
|
|
5216
|
+
providers: z$1.ZodArray<z$1.ZodString>;
|
|
5202
5217
|
registrySkillId: z$1.ZodNullable<z$1.ZodString>;
|
|
5203
5218
|
scope: z$1.ZodEnum<{
|
|
5204
5219
|
"bb-builtin": "bb-builtin";
|
|
@@ -7256,29 +7271,12 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7256
7271
|
type: z$1.ZodLiteral<"interactive.resolve">;
|
|
7257
7272
|
}, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
|
|
7258
7273
|
"environment.attach": HostDaemonCommandDescriptor<"environment.attach", z$1.ZodObject<{
|
|
7259
|
-
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
7260
|
-
name: z$1.ZodString;
|
|
7261
|
-
reason: z$1.ZodString;
|
|
7262
|
-
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
7263
|
-
plugin: z$1.ZodString;
|
|
7264
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7265
|
-
core: z$1.ZodEnum<{
|
|
7266
|
-
"machine-environment": "machine-environment";
|
|
7267
|
-
"machine-git": "machine-git";
|
|
7268
|
-
"project-environment": "project-environment";
|
|
7269
|
-
}>;
|
|
7270
|
-
}, z$1.core.$strict>]>;
|
|
7271
|
-
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
7272
|
-
serverPath: z$1.ZodString;
|
|
7273
|
-
}, z$1.core.$strict>]>;
|
|
7274
|
-
}, z$1.core.$strict>>;
|
|
7275
7274
|
environmentId: z$1.ZodString;
|
|
7276
7275
|
initiator: z$1.ZodNullable<z$1.ZodObject<{
|
|
7277
7276
|
provisioningId: z$1.ZodString;
|
|
7278
7277
|
threadId: z$1.ZodString;
|
|
7279
7278
|
}, z$1.core.$strict>>;
|
|
7280
7279
|
path: z$1.ZodString;
|
|
7281
|
-
setupScriptTimeoutMs: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7282
7280
|
type: z$1.ZodLiteral<"environment.attach">;
|
|
7283
7281
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7284
7282
|
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -8173,6 +8171,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8173
8171
|
kind: z$1.ZodLiteral<"artifact">;
|
|
8174
8172
|
}, z$1.core.$strict>;
|
|
8175
8173
|
}, z$1.core.$strict>;
|
|
8174
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8175
|
+
name: z$1.ZodString;
|
|
8176
|
+
reason: z$1.ZodString;
|
|
8177
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8178
|
+
plugin: z$1.ZodString;
|
|
8179
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8180
|
+
core: z$1.ZodEnum<{
|
|
8181
|
+
"machine-environment": "machine-environment";
|
|
8182
|
+
"machine-git": "machine-git";
|
|
8183
|
+
"project-environment": "project-environment";
|
|
8184
|
+
}>;
|
|
8185
|
+
}, z$1.core.$strict>]>;
|
|
8186
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8187
|
+
serverPath: z$1.ZodString;
|
|
8188
|
+
}, z$1.core.$strict>]>;
|
|
8189
|
+
}, z$1.core.$strict>>;
|
|
8176
8190
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
8177
8191
|
providerId: z$1.ZodString;
|
|
8178
8192
|
type: z$1.ZodLiteral<"provider.list_commands">;
|
|
@@ -8210,6 +8224,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8210
8224
|
kind: z$1.ZodLiteral<"artifact">;
|
|
8211
8225
|
}, z$1.core.$strict>;
|
|
8212
8226
|
}, z$1.core.$strict>;
|
|
8227
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8228
|
+
name: z$1.ZodString;
|
|
8229
|
+
reason: z$1.ZodString;
|
|
8230
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8231
|
+
plugin: z$1.ZodString;
|
|
8232
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8233
|
+
core: z$1.ZodEnum<{
|
|
8234
|
+
"machine-environment": "machine-environment";
|
|
8235
|
+
"machine-git": "machine-git";
|
|
8236
|
+
"project-environment": "project-environment";
|
|
8237
|
+
}>;
|
|
8238
|
+
}, z$1.core.$strict>]>;
|
|
8239
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8240
|
+
serverPath: z$1.ZodString;
|
|
8241
|
+
}, z$1.core.$strict>]>;
|
|
8242
|
+
}, z$1.core.$strict>>;
|
|
8213
8243
|
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
8214
8244
|
providerId: z$1.ZodString;
|
|
8215
8245
|
type: z$1.ZodLiteral<"provider.health">;
|
|
@@ -8265,6 +8295,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8265
8295
|
kind: z$1.ZodLiteral<"artifact">;
|
|
8266
8296
|
}, z$1.core.$strict>;
|
|
8267
8297
|
}, z$1.core.$strict>;
|
|
8298
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8299
|
+
name: z$1.ZodString;
|
|
8300
|
+
reason: z$1.ZodString;
|
|
8301
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8302
|
+
plugin: z$1.ZodString;
|
|
8303
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8304
|
+
core: z$1.ZodEnum<{
|
|
8305
|
+
"machine-environment": "machine-environment";
|
|
8306
|
+
"machine-git": "machine-git";
|
|
8307
|
+
"project-environment": "project-environment";
|
|
8308
|
+
}>;
|
|
8309
|
+
}, z$1.core.$strict>]>;
|
|
8310
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8311
|
+
serverPath: z$1.ZodString;
|
|
8312
|
+
}, z$1.core.$strict>]>;
|
|
8313
|
+
}, z$1.core.$strict>>;
|
|
8268
8314
|
providerId: z$1.ZodString;
|
|
8269
8315
|
type: z$1.ZodLiteral<"provider.installation.status">;
|
|
8270
8316
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -8326,6 +8372,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8326
8372
|
kind: z$1.ZodLiteral<"artifact">;
|
|
8327
8373
|
}, z$1.core.$strict>;
|
|
8328
8374
|
}, z$1.core.$strict>;
|
|
8375
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8376
|
+
name: z$1.ZodString;
|
|
8377
|
+
reason: z$1.ZodString;
|
|
8378
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8379
|
+
plugin: z$1.ZodString;
|
|
8380
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8381
|
+
core: z$1.ZodEnum<{
|
|
8382
|
+
"machine-environment": "machine-environment";
|
|
8383
|
+
"machine-git": "machine-git";
|
|
8384
|
+
"project-environment": "project-environment";
|
|
8385
|
+
}>;
|
|
8386
|
+
}, z$1.core.$strict>]>;
|
|
8387
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8388
|
+
serverPath: z$1.ZodString;
|
|
8389
|
+
}, z$1.core.$strict>]>;
|
|
8390
|
+
}, z$1.core.$strict>>;
|
|
8329
8391
|
providerId: z$1.ZodString;
|
|
8330
8392
|
type: z$1.ZodLiteral<"provider.installation.run">;
|
|
8331
8393
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -8906,12 +8968,21 @@ declare const updateHostRequestSchema: z$1.ZodObject<{
|
|
|
8906
8968
|
name: z$1.ZodString;
|
|
8907
8969
|
}, z$1.core.$strict>;
|
|
8908
8970
|
type UpdateHostRequest = z$1.infer<typeof updateHostRequestSchema>;
|
|
8909
|
-
declare const
|
|
8971
|
+
declare const hostRemovalResponseSchema: z$1.ZodObject<{
|
|
8910
8972
|
ok: z$1.ZodLiteral<true>;
|
|
8973
|
+
progress: z$1.ZodEnum<{
|
|
8974
|
+
"in-progress": "in-progress";
|
|
8975
|
+
complete: "complete";
|
|
8976
|
+
}>;
|
|
8977
|
+
warnings: z$1.ZodArray<z$1.ZodString>;
|
|
8911
8978
|
}, z$1.core.$strict>;
|
|
8912
|
-
type
|
|
8979
|
+
type HostRemovalResponse = z$1.infer<typeof hostRemovalResponseSchema>;
|
|
8913
8980
|
declare const hostRetryUpdateResponseSchema: z$1.ZodObject<{
|
|
8914
8981
|
ok: z$1.ZodLiteral<true>;
|
|
8982
|
+
progress: z$1.ZodEnum<{
|
|
8983
|
+
"in-progress": "in-progress";
|
|
8984
|
+
complete: "complete";
|
|
8985
|
+
}>;
|
|
8915
8986
|
}, z$1.core.$strict>;
|
|
8916
8987
|
type HostRetryUpdateResponse = z$1.infer<typeof hostRetryUpdateResponseSchema>;
|
|
8917
8988
|
type HostPathsExistRequest = PathsExistRequest;
|
|
@@ -9908,6 +9979,14 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
|
9908
9979
|
installed: z$1.ZodBoolean;
|
|
9909
9980
|
installedByDefault: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
9910
9981
|
installs: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
9982
|
+
listings: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
9983
|
+
entryId: z$1.ZodString;
|
|
9984
|
+
marketplace: z$1.ZodString;
|
|
9985
|
+
marketplaceDisplayName: z$1.ZodString;
|
|
9986
|
+
official: z$1.ZodBoolean;
|
|
9987
|
+
publisherLabel: z$1.ZodString;
|
|
9988
|
+
source: z$1.ZodString;
|
|
9989
|
+
}, z$1.core.$strip>>>;
|
|
9911
9990
|
marketplace: z$1.ZodString;
|
|
9912
9991
|
marketplaceDisplayName: z$1.ZodString;
|
|
9913
9992
|
official: z$1.ZodBoolean;
|
|
@@ -9991,8 +10070,10 @@ declare const pluginCatalogInstallPlanSchema: z$1.ZodDiscriminatedUnion<[z$1.Zod
|
|
|
9991
10070
|
}, z$1.core.$strip>], "kind">;
|
|
9992
10071
|
type PluginCatalogInstallPlan = z$1.infer<typeof pluginCatalogInstallPlanSchema>;
|
|
9993
10072
|
declare const pluginMarketplaceSchema: z$1.ZodObject<{
|
|
10073
|
+
canDisable: z$1.ZodBoolean;
|
|
9994
10074
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
9995
10075
|
displayName: z$1.ZodString;
|
|
10076
|
+
enabled: z$1.ZodBoolean;
|
|
9996
10077
|
entryCount: z$1.ZodNumber;
|
|
9997
10078
|
lastAttemptAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
9998
10079
|
lastError: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10012,8 +10093,10 @@ type PluginMarketplace = z$1.infer<typeof pluginMarketplaceSchema>;
|
|
|
10012
10093
|
declare const pluginMarketplaceRefreshResultSchema: z$1.ZodObject<{
|
|
10013
10094
|
error: z$1.ZodNullable<z$1.ZodString>;
|
|
10014
10095
|
marketplace: z$1.ZodObject<{
|
|
10096
|
+
canDisable: z$1.ZodBoolean;
|
|
10015
10097
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
10016
10098
|
displayName: z$1.ZodString;
|
|
10099
|
+
enabled: z$1.ZodBoolean;
|
|
10017
10100
|
entryCount: z$1.ZodNumber;
|
|
10018
10101
|
lastAttemptAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
10019
10102
|
lastError: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -11419,7 +11502,11 @@ declare const systemAppUpdateAcknowledgeRequestSchema: z$1.ZodObject<{
|
|
|
11419
11502
|
type SystemAppUpdateAcknowledgeRequest = z$1.infer<typeof systemAppUpdateAcknowledgeRequestSchema>;
|
|
11420
11503
|
declare const systemConfigReloadResponseSchema: z$1.ZodObject<{
|
|
11421
11504
|
ok: z$1.ZodLiteral<true>;
|
|
11422
|
-
|
|
11505
|
+
progress: z$1.ZodEnum<{
|
|
11506
|
+
"in-progress": "in-progress";
|
|
11507
|
+
complete: "complete";
|
|
11508
|
+
}>;
|
|
11509
|
+
}, z$1.core.$strict>;
|
|
11423
11510
|
declare const systemCliSkillsStatusResponseSchema: z$1.ZodObject<{
|
|
11424
11511
|
machines: z$1.ZodArray<z$1.ZodObject<{
|
|
11425
11512
|
hostId: z$1.ZodString;
|
|
@@ -14851,6 +14938,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14851
14938
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
14852
14939
|
attempt: z$1.ZodNumber;
|
|
14853
14940
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
14941
|
+
needsRecovery: z$1.ZodBoolean;
|
|
14854
14942
|
status: z$1.ZodEnum<{
|
|
14855
14943
|
failed: "failed";
|
|
14856
14944
|
removed: "removed";
|
|
@@ -14899,6 +14987,8 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14899
14987
|
suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14900
14988
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
14901
14989
|
attempt: z$1.ZodNumber;
|
|
14990
|
+
blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
14991
|
+
needsRecovery: z$1.ZodBoolean;
|
|
14902
14992
|
status: z$1.ZodEnum<{
|
|
14903
14993
|
failed: "failed";
|
|
14904
14994
|
removed: "removed";
|
|
@@ -16506,128 +16596,292 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16506
16596
|
}>;
|
|
16507
16597
|
sourceSeq: z$1.ZodNumber;
|
|
16508
16598
|
}, z$1.core.$strip>>;
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
|
|
16515
|
-
|
|
16516
|
-
}
|
|
16517
|
-
|
|
16599
|
+
pendingSteers: z$1.ZodArray<z$1.ZodObject<{
|
|
16600
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
16601
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
16602
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
16603
|
+
name: z$1.ZodString;
|
|
16604
|
+
path: z$1.ZodString;
|
|
16605
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16606
|
+
}, z$1.core.$strip>>;
|
|
16607
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
16608
|
+
localFiles: z$1.ZodNumber;
|
|
16609
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
16610
|
+
localImages: z$1.ZodNumber;
|
|
16611
|
+
webImages: z$1.ZodNumber;
|
|
16518
16612
|
}, z$1.core.$strip>>;
|
|
16519
|
-
|
|
16520
|
-
|
|
16521
|
-
|
|
16522
|
-
|
|
16523
|
-
|
|
16524
|
-
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16525
|
-
name: z$1.ZodString;
|
|
16526
|
-
origin: z$1.ZodEnum<{
|
|
16527
|
-
builtin: "builtin";
|
|
16528
|
-
project: "project";
|
|
16613
|
+
createdAt: z$1.ZodNumber;
|
|
16614
|
+
id: z$1.ZodString;
|
|
16615
|
+
initiator: z$1.ZodEnum<{
|
|
16616
|
+
agent: "agent";
|
|
16617
|
+
system: "system";
|
|
16529
16618
|
user: "user";
|
|
16530
16619
|
}>;
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
16535
|
-
|
|
16536
|
-
|
|
16537
|
-
|
|
16538
|
-
|
|
16539
|
-
|
|
16540
|
-
|
|
16541
|
-
|
|
16542
|
-
|
|
16543
|
-
|
|
16544
|
-
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
|
|
16548
|
-
|
|
16549
|
-
|
|
16550
|
-
|
|
16551
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16552
|
-
category: z$1.ZodNullable<z$1.ZodString>;
|
|
16553
|
-
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16554
|
-
id: z$1.ZodString;
|
|
16555
|
-
label: z$1.ZodString;
|
|
16556
|
-
pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
16557
|
-
type: z$1.ZodLiteral<"boolean">;
|
|
16558
|
-
value: z$1.ZodBoolean;
|
|
16559
|
-
}, z$1.core.$strip>], "type">>>;
|
|
16560
|
-
tag: z$1.ZodString;
|
|
16561
|
-
timelinePage: z$1.ZodObject<{
|
|
16562
|
-
historySnapshot: z$1.ZodString;
|
|
16563
|
-
olderCursor: z$1.ZodNullable<z$1.ZodObject<{
|
|
16564
|
-
anchorId: z$1.ZodString;
|
|
16565
|
-
anchorSeq: z$1.ZodNumber;
|
|
16566
|
-
}, z$1.core.$strict>>;
|
|
16567
|
-
olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
|
|
16568
|
-
olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16569
|
-
returnedSegmentCount: z$1.ZodNumber;
|
|
16570
|
-
}, z$1.core.$strict>;
|
|
16571
|
-
}, z$1.core.$strip>;
|
|
16572
|
-
type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
|
|
16573
|
-
declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
16574
|
-
delta: z$1.ZodObject<{
|
|
16575
|
-
afterTag: z$1.ZodString;
|
|
16576
|
-
fields: z$1.ZodObject<{
|
|
16577
|
-
activeBackgroundCommands: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16578
|
-
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16579
|
-
createdAt: z$1.ZodNumber;
|
|
16580
|
-
description: z$1.ZodString;
|
|
16581
|
-
error: z$1.ZodNullable<z$1.ZodString>;
|
|
16582
|
-
id: z$1.ZodString;
|
|
16583
|
-
itemId: z$1.ZodString;
|
|
16584
|
-
kind: z$1.ZodLiteral<"work">;
|
|
16585
|
-
model: z$1.ZodNullable<z$1.ZodString>;
|
|
16586
|
-
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
16587
|
-
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
16588
|
-
glyph: z$1.ZodString;
|
|
16589
|
-
hint: z$1.ZodString;
|
|
16590
|
-
label: z$1.ZodString;
|
|
16591
|
-
tone: z$1.ZodEnum<{
|
|
16592
|
-
destructive: "destructive";
|
|
16593
|
-
neutral: "neutral";
|
|
16594
|
-
}>;
|
|
16595
|
-
}, z$1.core.$strip>>;
|
|
16596
|
-
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
16597
|
-
icon: z$1.ZodObject<{
|
|
16598
|
-
glyph: z$1.ZodString;
|
|
16599
|
-
}, z$1.core.$strip>;
|
|
16600
|
-
label: z$1.ZodObject<{
|
|
16601
|
-
completed: z$1.ZodString;
|
|
16602
|
-
pending: z$1.ZodString;
|
|
16603
|
-
}, z$1.core.$strip>;
|
|
16604
|
-
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
16605
|
-
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
16606
|
-
dark: z$1.ZodString;
|
|
16607
|
-
light: z$1.ZodString;
|
|
16608
|
-
}, z$1.core.$strip>>;
|
|
16609
|
-
title: z$1.ZodOptional<z$1.ZodString>;
|
|
16610
|
-
}, z$1.core.$strip>>;
|
|
16611
|
-
sourceSeqEnd: z$1.ZodNumber;
|
|
16612
|
-
sourceSeqStart: z$1.ZodNumber;
|
|
16613
|
-
startedAt: z$1.ZodNumber;
|
|
16614
|
-
status: z$1.ZodEnum<{
|
|
16615
|
-
completed: "completed";
|
|
16616
|
-
error: "error";
|
|
16617
|
-
interrupted: "interrupted";
|
|
16618
|
-
pending: "pending";
|
|
16620
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
16621
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
16622
|
+
end: z$1.ZodNumber;
|
|
16623
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16624
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
16625
|
+
label: z$1.ZodString;
|
|
16626
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
16627
|
+
threadId: z$1.ZodString;
|
|
16628
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16629
|
+
kind: z$1.ZodLiteral<"project">;
|
|
16630
|
+
label: z$1.ZodString;
|
|
16631
|
+
projectId: z$1.ZodString;
|
|
16632
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16633
|
+
kind: z$1.ZodLiteral<"section">;
|
|
16634
|
+
label: z$1.ZodString;
|
|
16635
|
+
sectionId: z$1.ZodString;
|
|
16636
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16637
|
+
entryKind: z$1.ZodEnum<{
|
|
16638
|
+
directory: "directory";
|
|
16639
|
+
file: "file";
|
|
16619
16640
|
}>;
|
|
16620
|
-
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
pending: "pending";
|
|
16627
|
-
running: "running";
|
|
16628
|
-
stopped: "stopped";
|
|
16641
|
+
kind: z$1.ZodLiteral<"path">;
|
|
16642
|
+
label: z$1.ZodString;
|
|
16643
|
+
path: z$1.ZodString;
|
|
16644
|
+
source: z$1.ZodEnum<{
|
|
16645
|
+
"thread-storage": "thread-storage";
|
|
16646
|
+
workspace: "workspace";
|
|
16629
16647
|
}>;
|
|
16630
|
-
|
|
16648
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16649
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
16650
|
+
kind: z$1.ZodLiteral<"command">;
|
|
16651
|
+
label: z$1.ZodString;
|
|
16652
|
+
name: z$1.ZodString;
|
|
16653
|
+
origin: z$1.ZodEnum<{
|
|
16654
|
+
builtin: "builtin";
|
|
16655
|
+
project: "project";
|
|
16656
|
+
user: "user";
|
|
16657
|
+
}>;
|
|
16658
|
+
source: z$1.ZodEnum<{
|
|
16659
|
+
command: "command";
|
|
16660
|
+
skill: "skill";
|
|
16661
|
+
}>;
|
|
16662
|
+
trigger: z$1.ZodEnum<{
|
|
16663
|
+
"/": "/";
|
|
16664
|
+
$: "$";
|
|
16665
|
+
}>;
|
|
16666
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16667
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
16668
|
+
itemId: z$1.ZodString;
|
|
16669
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
16670
|
+
label: z$1.ZodString;
|
|
16671
|
+
pluginId: z$1.ZodString;
|
|
16672
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16673
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
16674
|
+
label: z$1.ZodString;
|
|
16675
|
+
path: z$1.ZodString;
|
|
16676
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
16677
|
+
start: z$1.ZodNumber;
|
|
16678
|
+
}, z$1.core.$strip>>;
|
|
16679
|
+
messageSeq: z$1.ZodNumber;
|
|
16680
|
+
role: z$1.ZodLiteral<"user">;
|
|
16681
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
16682
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
16683
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
16684
|
+
startedAt: z$1.ZodNumber;
|
|
16685
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
16686
|
+
"child-completed": "child-completed";
|
|
16687
|
+
"child-failed": "child-failed";
|
|
16688
|
+
"child-interrupted": "child-interrupted";
|
|
16689
|
+
"child-needs-attention": "child-needs-attention";
|
|
16690
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
16691
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
16692
|
+
"ownership-assigned": "ownership-assigned";
|
|
16693
|
+
"ownership-batch": "ownership-batch";
|
|
16694
|
+
"ownership-removed": "ownership-removed";
|
|
16695
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
16696
|
+
unlabeled: "unlabeled";
|
|
16697
|
+
}>;
|
|
16698
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16699
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
16700
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16701
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
16702
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
16703
|
+
reason: z$1.ZodEnum<{
|
|
16704
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
16705
|
+
"host-removed": "host-removed";
|
|
16706
|
+
"manual-stop": "manual-stop";
|
|
16707
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
16708
|
+
}>;
|
|
16709
|
+
}, z$1.core.$strip>>;
|
|
16710
|
+
status: z$1.ZodEnum<{
|
|
16711
|
+
completed: "completed";
|
|
16712
|
+
failed: "failed";
|
|
16713
|
+
interrupted: "interrupted";
|
|
16714
|
+
}>;
|
|
16715
|
+
threadId: z$1.ZodString;
|
|
16716
|
+
}, z$1.core.$strip>>>;
|
|
16717
|
+
threadId: z$1.ZodString;
|
|
16718
|
+
threadName: z$1.ZodString;
|
|
16719
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16720
|
+
count: z$1.ZodNumber;
|
|
16721
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
16722
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16723
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
16724
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
16725
|
+
reason: z$1.ZodEnum<{
|
|
16726
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
16727
|
+
"host-removed": "host-removed";
|
|
16728
|
+
"manual-stop": "manual-stop";
|
|
16729
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
16730
|
+
}>;
|
|
16731
|
+
}, z$1.core.$strip>>;
|
|
16732
|
+
status: z$1.ZodEnum<{
|
|
16733
|
+
completed: "completed";
|
|
16734
|
+
failed: "failed";
|
|
16735
|
+
interrupted: "interrupted";
|
|
16736
|
+
}>;
|
|
16737
|
+
threadId: z$1.ZodString;
|
|
16738
|
+
}, z$1.core.$strip>>>;
|
|
16739
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16740
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
16741
|
+
suppress: z$1.ZodBoolean;
|
|
16742
|
+
toolName: z$1.ZodString;
|
|
16743
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16744
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
16745
|
+
path: z$1.ZodString;
|
|
16746
|
+
}, z$1.core.$strip>], "kind">>;
|
|
16747
|
+
text: z$1.ZodString;
|
|
16748
|
+
threadId: z$1.ZodString;
|
|
16749
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
16750
|
+
turnRequest: z$1.ZodObject<{
|
|
16751
|
+
isGrouped: z$1.ZodBoolean;
|
|
16752
|
+
kind: z$1.ZodEnum<{
|
|
16753
|
+
message: "message";
|
|
16754
|
+
steer: "steer";
|
|
16755
|
+
}>;
|
|
16756
|
+
status: z$1.ZodEnum<{
|
|
16757
|
+
accepted: "accepted";
|
|
16758
|
+
pending: "pending";
|
|
16759
|
+
rejected: "rejected";
|
|
16760
|
+
}>;
|
|
16761
|
+
}, z$1.core.$strip>;
|
|
16762
|
+
}, z$1.core.$strip>>;
|
|
16763
|
+
pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
|
|
16764
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
16765
|
+
id: z$1.ZodString;
|
|
16766
|
+
status: z$1.ZodEnum<{
|
|
16767
|
+
completed: "completed";
|
|
16768
|
+
in_progress: "in_progress";
|
|
16769
|
+
pending: "pending";
|
|
16770
|
+
}>;
|
|
16771
|
+
text: z$1.ZodString;
|
|
16772
|
+
}, z$1.core.$strip>>;
|
|
16773
|
+
sourceSeq: z$1.ZodNumber;
|
|
16774
|
+
updatedAt: z$1.ZodNumber;
|
|
16775
|
+
}, z$1.core.$strip>>;
|
|
16776
|
+
providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
16777
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
16778
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16779
|
+
name: z$1.ZodString;
|
|
16780
|
+
origin: z$1.ZodEnum<{
|
|
16781
|
+
builtin: "builtin";
|
|
16782
|
+
project: "project";
|
|
16783
|
+
user: "user";
|
|
16784
|
+
}>;
|
|
16785
|
+
source: z$1.ZodEnum<{
|
|
16786
|
+
command: "command";
|
|
16787
|
+
skill: "skill";
|
|
16788
|
+
}>;
|
|
16789
|
+
}, z$1.core.$strip>>>;
|
|
16790
|
+
rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
16791
|
+
sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16792
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
16793
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16794
|
+
id: z$1.ZodString;
|
|
16795
|
+
label: z$1.ZodString;
|
|
16796
|
+
pendingValue: z$1.ZodNullable<z$1.ZodString>;
|
|
16797
|
+
type: z$1.ZodLiteral<"select">;
|
|
16798
|
+
value: z$1.ZodString;
|
|
16799
|
+
values: z$1.ZodArray<z$1.ZodObject<{
|
|
16800
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16801
|
+
group: z$1.ZodNullable<z$1.ZodString>;
|
|
16802
|
+
id: z$1.ZodString;
|
|
16803
|
+
label: z$1.ZodString;
|
|
16804
|
+
}, z$1.core.$strip>>;
|
|
16805
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16806
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
16807
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16808
|
+
id: z$1.ZodString;
|
|
16809
|
+
label: z$1.ZodString;
|
|
16810
|
+
pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
16811
|
+
type: z$1.ZodLiteral<"boolean">;
|
|
16812
|
+
value: z$1.ZodBoolean;
|
|
16813
|
+
}, z$1.core.$strip>], "type">>>;
|
|
16814
|
+
tag: z$1.ZodString;
|
|
16815
|
+
timelinePage: z$1.ZodObject<{
|
|
16816
|
+
historySnapshot: z$1.ZodString;
|
|
16817
|
+
olderCursor: z$1.ZodNullable<z$1.ZodObject<{
|
|
16818
|
+
anchorId: z$1.ZodString;
|
|
16819
|
+
anchorSeq: z$1.ZodNumber;
|
|
16820
|
+
}, z$1.core.$strict>>;
|
|
16821
|
+
olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
|
|
16822
|
+
olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16823
|
+
returnedSegmentCount: z$1.ZodNumber;
|
|
16824
|
+
}, z$1.core.$strict>;
|
|
16825
|
+
}, z$1.core.$strip>;
|
|
16826
|
+
type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
|
|
16827
|
+
declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
16828
|
+
delta: z$1.ZodObject<{
|
|
16829
|
+
afterTag: z$1.ZodString;
|
|
16830
|
+
fields: z$1.ZodObject<{
|
|
16831
|
+
activeBackgroundCommands: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16832
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16833
|
+
createdAt: z$1.ZodNumber;
|
|
16834
|
+
description: z$1.ZodString;
|
|
16835
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
16836
|
+
id: z$1.ZodString;
|
|
16837
|
+
itemId: z$1.ZodString;
|
|
16838
|
+
kind: z$1.ZodLiteral<"work">;
|
|
16839
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
16840
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
16841
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
16842
|
+
glyph: z$1.ZodString;
|
|
16843
|
+
hint: z$1.ZodString;
|
|
16844
|
+
label: z$1.ZodString;
|
|
16845
|
+
tone: z$1.ZodEnum<{
|
|
16846
|
+
destructive: "destructive";
|
|
16847
|
+
neutral: "neutral";
|
|
16848
|
+
}>;
|
|
16849
|
+
}, z$1.core.$strip>>;
|
|
16850
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
16851
|
+
icon: z$1.ZodObject<{
|
|
16852
|
+
glyph: z$1.ZodString;
|
|
16853
|
+
}, z$1.core.$strip>;
|
|
16854
|
+
label: z$1.ZodObject<{
|
|
16855
|
+
completed: z$1.ZodString;
|
|
16856
|
+
pending: z$1.ZodString;
|
|
16857
|
+
}, z$1.core.$strip>;
|
|
16858
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
16859
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
16860
|
+
dark: z$1.ZodString;
|
|
16861
|
+
light: z$1.ZodString;
|
|
16862
|
+
}, z$1.core.$strip>>;
|
|
16863
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
16864
|
+
}, z$1.core.$strip>>;
|
|
16865
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
16866
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
16867
|
+
startedAt: z$1.ZodNumber;
|
|
16868
|
+
status: z$1.ZodEnum<{
|
|
16869
|
+
completed: "completed";
|
|
16870
|
+
error: "error";
|
|
16871
|
+
interrupted: "interrupted";
|
|
16872
|
+
pending: "pending";
|
|
16873
|
+
}>;
|
|
16874
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
16875
|
+
taskStatus: z$1.ZodEnum<{
|
|
16876
|
+
completed: "completed";
|
|
16877
|
+
failed: "failed";
|
|
16878
|
+
killed: "killed";
|
|
16879
|
+
paused: "paused";
|
|
16880
|
+
pending: "pending";
|
|
16881
|
+
running: "running";
|
|
16882
|
+
stopped: "stopped";
|
|
16883
|
+
}>;
|
|
16884
|
+
taskType: z$1.ZodString;
|
|
16631
16885
|
threadId: z$1.ZodString;
|
|
16632
16886
|
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
16633
16887
|
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -16838,6 +17092,170 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
16838
17092
|
}>;
|
|
16839
17093
|
sourceSeq: z$1.ZodNumber;
|
|
16840
17094
|
}, z$1.core.$strip>>>;
|
|
17095
|
+
pendingSteers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
17096
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
17097
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
17098
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
17099
|
+
name: z$1.ZodString;
|
|
17100
|
+
path: z$1.ZodString;
|
|
17101
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
17102
|
+
}, z$1.core.$strip>>;
|
|
17103
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
17104
|
+
localFiles: z$1.ZodNumber;
|
|
17105
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
17106
|
+
localImages: z$1.ZodNumber;
|
|
17107
|
+
webImages: z$1.ZodNumber;
|
|
17108
|
+
}, z$1.core.$strip>>;
|
|
17109
|
+
createdAt: z$1.ZodNumber;
|
|
17110
|
+
id: z$1.ZodString;
|
|
17111
|
+
initiator: z$1.ZodEnum<{
|
|
17112
|
+
agent: "agent";
|
|
17113
|
+
system: "system";
|
|
17114
|
+
user: "user";
|
|
17115
|
+
}>;
|
|
17116
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
17117
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
17118
|
+
end: z$1.ZodNumber;
|
|
17119
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
17120
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
17121
|
+
label: z$1.ZodString;
|
|
17122
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
17123
|
+
threadId: z$1.ZodString;
|
|
17124
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17125
|
+
kind: z$1.ZodLiteral<"project">;
|
|
17126
|
+
label: z$1.ZodString;
|
|
17127
|
+
projectId: z$1.ZodString;
|
|
17128
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17129
|
+
kind: z$1.ZodLiteral<"section">;
|
|
17130
|
+
label: z$1.ZodString;
|
|
17131
|
+
sectionId: z$1.ZodString;
|
|
17132
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17133
|
+
entryKind: z$1.ZodEnum<{
|
|
17134
|
+
directory: "directory";
|
|
17135
|
+
file: "file";
|
|
17136
|
+
}>;
|
|
17137
|
+
kind: z$1.ZodLiteral<"path">;
|
|
17138
|
+
label: z$1.ZodString;
|
|
17139
|
+
path: z$1.ZodString;
|
|
17140
|
+
source: z$1.ZodEnum<{
|
|
17141
|
+
"thread-storage": "thread-storage";
|
|
17142
|
+
workspace: "workspace";
|
|
17143
|
+
}>;
|
|
17144
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17145
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
17146
|
+
kind: z$1.ZodLiteral<"command">;
|
|
17147
|
+
label: z$1.ZodString;
|
|
17148
|
+
name: z$1.ZodString;
|
|
17149
|
+
origin: z$1.ZodEnum<{
|
|
17150
|
+
builtin: "builtin";
|
|
17151
|
+
project: "project";
|
|
17152
|
+
user: "user";
|
|
17153
|
+
}>;
|
|
17154
|
+
source: z$1.ZodEnum<{
|
|
17155
|
+
command: "command";
|
|
17156
|
+
skill: "skill";
|
|
17157
|
+
}>;
|
|
17158
|
+
trigger: z$1.ZodEnum<{
|
|
17159
|
+
"/": "/";
|
|
17160
|
+
$: "$";
|
|
17161
|
+
}>;
|
|
17162
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17163
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
17164
|
+
itemId: z$1.ZodString;
|
|
17165
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
17166
|
+
label: z$1.ZodString;
|
|
17167
|
+
pluginId: z$1.ZodString;
|
|
17168
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17169
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
17170
|
+
label: z$1.ZodString;
|
|
17171
|
+
path: z$1.ZodString;
|
|
17172
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
17173
|
+
start: z$1.ZodNumber;
|
|
17174
|
+
}, z$1.core.$strip>>;
|
|
17175
|
+
messageSeq: z$1.ZodNumber;
|
|
17176
|
+
role: z$1.ZodLiteral<"user">;
|
|
17177
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
17178
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
17179
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
17180
|
+
startedAt: z$1.ZodNumber;
|
|
17181
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
17182
|
+
"child-completed": "child-completed";
|
|
17183
|
+
"child-failed": "child-failed";
|
|
17184
|
+
"child-interrupted": "child-interrupted";
|
|
17185
|
+
"child-needs-attention": "child-needs-attention";
|
|
17186
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
17187
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
17188
|
+
"ownership-assigned": "ownership-assigned";
|
|
17189
|
+
"ownership-batch": "ownership-batch";
|
|
17190
|
+
"ownership-removed": "ownership-removed";
|
|
17191
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
17192
|
+
unlabeled: "unlabeled";
|
|
17193
|
+
}>;
|
|
17194
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
17195
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
17196
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
17197
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
17198
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
17199
|
+
reason: z$1.ZodEnum<{
|
|
17200
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
17201
|
+
"host-removed": "host-removed";
|
|
17202
|
+
"manual-stop": "manual-stop";
|
|
17203
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
17204
|
+
}>;
|
|
17205
|
+
}, z$1.core.$strip>>;
|
|
17206
|
+
status: z$1.ZodEnum<{
|
|
17207
|
+
completed: "completed";
|
|
17208
|
+
failed: "failed";
|
|
17209
|
+
interrupted: "interrupted";
|
|
17210
|
+
}>;
|
|
17211
|
+
threadId: z$1.ZodString;
|
|
17212
|
+
}, z$1.core.$strip>>>;
|
|
17213
|
+
threadId: z$1.ZodString;
|
|
17214
|
+
threadName: z$1.ZodString;
|
|
17215
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17216
|
+
count: z$1.ZodNumber;
|
|
17217
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
17218
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
17219
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
17220
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
17221
|
+
reason: z$1.ZodEnum<{
|
|
17222
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
17223
|
+
"host-removed": "host-removed";
|
|
17224
|
+
"manual-stop": "manual-stop";
|
|
17225
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
17226
|
+
}>;
|
|
17227
|
+
}, z$1.core.$strip>>;
|
|
17228
|
+
status: z$1.ZodEnum<{
|
|
17229
|
+
completed: "completed";
|
|
17230
|
+
failed: "failed";
|
|
17231
|
+
interrupted: "interrupted";
|
|
17232
|
+
}>;
|
|
17233
|
+
threadId: z$1.ZodString;
|
|
17234
|
+
}, z$1.core.$strip>>>;
|
|
17235
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17236
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
17237
|
+
suppress: z$1.ZodBoolean;
|
|
17238
|
+
toolName: z$1.ZodString;
|
|
17239
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17240
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
17241
|
+
path: z$1.ZodString;
|
|
17242
|
+
}, z$1.core.$strip>], "kind">>;
|
|
17243
|
+
text: z$1.ZodString;
|
|
17244
|
+
threadId: z$1.ZodString;
|
|
17245
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
17246
|
+
turnRequest: z$1.ZodObject<{
|
|
17247
|
+
isGrouped: z$1.ZodBoolean;
|
|
17248
|
+
kind: z$1.ZodEnum<{
|
|
17249
|
+
message: "message";
|
|
17250
|
+
steer: "steer";
|
|
17251
|
+
}>;
|
|
17252
|
+
status: z$1.ZodEnum<{
|
|
17253
|
+
accepted: "accepted";
|
|
17254
|
+
pending: "pending";
|
|
17255
|
+
rejected: "rejected";
|
|
17256
|
+
}>;
|
|
17257
|
+
}, z$1.core.$strip>;
|
|
17258
|
+
}, z$1.core.$strip>>>;
|
|
16841
17259
|
pendingTodos: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
16842
17260
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
16843
17261
|
id: z$1.ZodString;
|
|
@@ -17150,29 +17568,193 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
17150
17568
|
used: "used";
|
|
17151
17569
|
}>;
|
|
17152
17570
|
label: z$1.ZodString;
|
|
17153
|
-
tokens: z$1.ZodNumber;
|
|
17154
|
-
}, z$1.core.$strip>>;
|
|
17155
|
-
contextWindowTokens: z$1.ZodNumber;
|
|
17156
|
-
estimated: z$1.ZodBoolean;
|
|
17157
|
-
model: z$1.ZodString;
|
|
17158
|
-
providerSessionId: z$1.ZodString;
|
|
17159
|
-
providerTurnId: z$1.ZodNullable<z$1.ZodString>;
|
|
17160
|
-
usedTokens: z$1.ZodNumber;
|
|
17571
|
+
tokens: z$1.ZodNumber;
|
|
17572
|
+
}, z$1.core.$strip>>;
|
|
17573
|
+
contextWindowTokens: z$1.ZodNumber;
|
|
17574
|
+
estimated: z$1.ZodBoolean;
|
|
17575
|
+
model: z$1.ZodString;
|
|
17576
|
+
providerSessionId: z$1.ZodString;
|
|
17577
|
+
providerTurnId: z$1.ZodNullable<z$1.ZodString>;
|
|
17578
|
+
usedTokens: z$1.ZodNumber;
|
|
17579
|
+
}, z$1.core.$strip>>;
|
|
17580
|
+
usedTokens: z$1.ZodNumber;
|
|
17581
|
+
}, z$1.core.$strip>>;
|
|
17582
|
+
extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>;
|
|
17583
|
+
maxSeq: z$1.ZodNumber;
|
|
17584
|
+
modelFallback: z$1.ZodNullable<z$1.ZodObject<{
|
|
17585
|
+
detectedAt: z$1.ZodNumber;
|
|
17586
|
+
fallbackModel: z$1.ZodString;
|
|
17587
|
+
message: z$1.ZodString;
|
|
17588
|
+
originalModel: z$1.ZodString;
|
|
17589
|
+
reason: z$1.ZodEnum<{
|
|
17590
|
+
provider: "provider";
|
|
17591
|
+
refusal: "refusal";
|
|
17592
|
+
}>;
|
|
17593
|
+
sourceSeq: z$1.ZodNumber;
|
|
17594
|
+
}, z$1.core.$strip>>;
|
|
17595
|
+
pendingSteers: z$1.ZodArray<z$1.ZodObject<{
|
|
17596
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
17597
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
17598
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
17599
|
+
name: z$1.ZodString;
|
|
17600
|
+
path: z$1.ZodString;
|
|
17601
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
17602
|
+
}, z$1.core.$strip>>;
|
|
17603
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
17604
|
+
localFiles: z$1.ZodNumber;
|
|
17605
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
17606
|
+
localImages: z$1.ZodNumber;
|
|
17607
|
+
webImages: z$1.ZodNumber;
|
|
17608
|
+
}, z$1.core.$strip>>;
|
|
17609
|
+
createdAt: z$1.ZodNumber;
|
|
17610
|
+
id: z$1.ZodString;
|
|
17611
|
+
initiator: z$1.ZodEnum<{
|
|
17612
|
+
agent: "agent";
|
|
17613
|
+
system: "system";
|
|
17614
|
+
user: "user";
|
|
17615
|
+
}>;
|
|
17616
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
17617
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
17618
|
+
end: z$1.ZodNumber;
|
|
17619
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
17620
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
17621
|
+
label: z$1.ZodString;
|
|
17622
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
17623
|
+
threadId: z$1.ZodString;
|
|
17624
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17625
|
+
kind: z$1.ZodLiteral<"project">;
|
|
17626
|
+
label: z$1.ZodString;
|
|
17627
|
+
projectId: z$1.ZodString;
|
|
17628
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17629
|
+
kind: z$1.ZodLiteral<"section">;
|
|
17630
|
+
label: z$1.ZodString;
|
|
17631
|
+
sectionId: z$1.ZodString;
|
|
17632
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17633
|
+
entryKind: z$1.ZodEnum<{
|
|
17634
|
+
directory: "directory";
|
|
17635
|
+
file: "file";
|
|
17636
|
+
}>;
|
|
17637
|
+
kind: z$1.ZodLiteral<"path">;
|
|
17638
|
+
label: z$1.ZodString;
|
|
17639
|
+
path: z$1.ZodString;
|
|
17640
|
+
source: z$1.ZodEnum<{
|
|
17641
|
+
"thread-storage": "thread-storage";
|
|
17642
|
+
workspace: "workspace";
|
|
17643
|
+
}>;
|
|
17644
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17645
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
17646
|
+
kind: z$1.ZodLiteral<"command">;
|
|
17647
|
+
label: z$1.ZodString;
|
|
17648
|
+
name: z$1.ZodString;
|
|
17649
|
+
origin: z$1.ZodEnum<{
|
|
17650
|
+
builtin: "builtin";
|
|
17651
|
+
project: "project";
|
|
17652
|
+
user: "user";
|
|
17653
|
+
}>;
|
|
17654
|
+
source: z$1.ZodEnum<{
|
|
17655
|
+
command: "command";
|
|
17656
|
+
skill: "skill";
|
|
17657
|
+
}>;
|
|
17658
|
+
trigger: z$1.ZodEnum<{
|
|
17659
|
+
"/": "/";
|
|
17660
|
+
$: "$";
|
|
17661
|
+
}>;
|
|
17662
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17663
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
17664
|
+
itemId: z$1.ZodString;
|
|
17665
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
17666
|
+
label: z$1.ZodString;
|
|
17667
|
+
pluginId: z$1.ZodString;
|
|
17668
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17669
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
17670
|
+
label: z$1.ZodString;
|
|
17671
|
+
path: z$1.ZodString;
|
|
17672
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
17673
|
+
start: z$1.ZodNumber;
|
|
17161
17674
|
}, z$1.core.$strip>>;
|
|
17162
|
-
|
|
17163
|
-
|
|
17164
|
-
|
|
17165
|
-
|
|
17166
|
-
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
|
|
17170
|
-
|
|
17171
|
-
|
|
17172
|
-
|
|
17173
|
-
|
|
17675
|
+
messageSeq: z$1.ZodNumber;
|
|
17676
|
+
role: z$1.ZodLiteral<"user">;
|
|
17677
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
17678
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
17679
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
17680
|
+
startedAt: z$1.ZodNumber;
|
|
17681
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
17682
|
+
"child-completed": "child-completed";
|
|
17683
|
+
"child-failed": "child-failed";
|
|
17684
|
+
"child-interrupted": "child-interrupted";
|
|
17685
|
+
"child-needs-attention": "child-needs-attention";
|
|
17686
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
17687
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
17688
|
+
"ownership-assigned": "ownership-assigned";
|
|
17689
|
+
"ownership-batch": "ownership-batch";
|
|
17690
|
+
"ownership-removed": "ownership-removed";
|
|
17691
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
17692
|
+
unlabeled: "unlabeled";
|
|
17174
17693
|
}>;
|
|
17175
|
-
|
|
17694
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
17695
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
17696
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
17697
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
17698
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
17699
|
+
reason: z$1.ZodEnum<{
|
|
17700
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
17701
|
+
"host-removed": "host-removed";
|
|
17702
|
+
"manual-stop": "manual-stop";
|
|
17703
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
17704
|
+
}>;
|
|
17705
|
+
}, z$1.core.$strip>>;
|
|
17706
|
+
status: z$1.ZodEnum<{
|
|
17707
|
+
completed: "completed";
|
|
17708
|
+
failed: "failed";
|
|
17709
|
+
interrupted: "interrupted";
|
|
17710
|
+
}>;
|
|
17711
|
+
threadId: z$1.ZodString;
|
|
17712
|
+
}, z$1.core.$strip>>>;
|
|
17713
|
+
threadId: z$1.ZodString;
|
|
17714
|
+
threadName: z$1.ZodString;
|
|
17715
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17716
|
+
count: z$1.ZodNumber;
|
|
17717
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
17718
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
17719
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
17720
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
17721
|
+
reason: z$1.ZodEnum<{
|
|
17722
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
17723
|
+
"host-removed": "host-removed";
|
|
17724
|
+
"manual-stop": "manual-stop";
|
|
17725
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
17726
|
+
}>;
|
|
17727
|
+
}, z$1.core.$strip>>;
|
|
17728
|
+
status: z$1.ZodEnum<{
|
|
17729
|
+
completed: "completed";
|
|
17730
|
+
failed: "failed";
|
|
17731
|
+
interrupted: "interrupted";
|
|
17732
|
+
}>;
|
|
17733
|
+
threadId: z$1.ZodString;
|
|
17734
|
+
}, z$1.core.$strip>>>;
|
|
17735
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17736
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
17737
|
+
suppress: z$1.ZodBoolean;
|
|
17738
|
+
toolName: z$1.ZodString;
|
|
17739
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17740
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
17741
|
+
path: z$1.ZodString;
|
|
17742
|
+
}, z$1.core.$strip>], "kind">>;
|
|
17743
|
+
text: z$1.ZodString;
|
|
17744
|
+
threadId: z$1.ZodString;
|
|
17745
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
17746
|
+
turnRequest: z$1.ZodObject<{
|
|
17747
|
+
isGrouped: z$1.ZodBoolean;
|
|
17748
|
+
kind: z$1.ZodEnum<{
|
|
17749
|
+
message: "message";
|
|
17750
|
+
steer: "steer";
|
|
17751
|
+
}>;
|
|
17752
|
+
status: z$1.ZodEnum<{
|
|
17753
|
+
accepted: "accepted";
|
|
17754
|
+
pending: "pending";
|
|
17755
|
+
rejected: "rejected";
|
|
17756
|
+
}>;
|
|
17757
|
+
}, z$1.core.$strip>;
|
|
17176
17758
|
}, z$1.core.$strip>>;
|
|
17177
17759
|
pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
|
|
17178
17760
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -17653,6 +18235,23 @@ declare const deleteOldServerCopyResponseSchema: z$1.ZodObject<{
|
|
|
17653
18235
|
}, z$1.core.$strict>;
|
|
17654
18236
|
type DeleteOldServerCopyResponse = z$1.infer<typeof deleteOldServerCopyResponseSchema>;
|
|
17655
18237
|
|
|
18238
|
+
declare const serverSweepFailuresResponseSchema: z$1.ZodObject<{
|
|
18239
|
+
failures: z$1.ZodArray<z$1.ZodObject<{
|
|
18240
|
+
attempts: z$1.ZodNumber;
|
|
18241
|
+
firstFailedAt: z$1.ZodNumber;
|
|
18242
|
+
itemKey: z$1.ZodString;
|
|
18243
|
+
lastError: z$1.ZodString;
|
|
18244
|
+
needsRecovery: z$1.ZodBoolean;
|
|
18245
|
+
retryAt: z$1.ZodNumber;
|
|
18246
|
+
sweep: z$1.ZodString;
|
|
18247
|
+
}, z$1.core.$strict>>;
|
|
18248
|
+
}, z$1.core.$strict>;
|
|
18249
|
+
type ServerSweepFailuresResponse = z$1.infer<typeof serverSweepFailuresResponseSchema>;
|
|
18250
|
+
declare const serverSweepRetryResponseSchema: z$1.ZodObject<{
|
|
18251
|
+
retried: z$1.ZodNumber;
|
|
18252
|
+
}, z$1.core.$strict>;
|
|
18253
|
+
type ServerSweepRetryResponse = z$1.infer<typeof serverSweepRetryResponseSchema>;
|
|
18254
|
+
|
|
17656
18255
|
declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
17657
18256
|
revision: z$1.ZodNumber;
|
|
17658
18257
|
tabs: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -18078,9 +18677,7 @@ type EnvironmentListResult = Environment[];
|
|
|
18078
18677
|
interface EnvironmentDeleteArgs {
|
|
18079
18678
|
environmentId: string;
|
|
18080
18679
|
}
|
|
18081
|
-
type EnvironmentDeleteResult =
|
|
18082
|
-
ok: true;
|
|
18083
|
-
};
|
|
18680
|
+
type EnvironmentDeleteResult = OperationResponse;
|
|
18084
18681
|
interface EnvironmentListProvidersArgs {
|
|
18085
18682
|
projectId?: string;
|
|
18086
18683
|
hostId?: string;
|
|
@@ -18090,9 +18687,7 @@ type EnvironmentListProvidersResult = SystemEnvironmentProvider[];
|
|
|
18090
18687
|
interface EnvironmentsArea {
|
|
18091
18688
|
experimental_cleanup(args: EnvironmentActionArgs & {
|
|
18092
18689
|
recover?: boolean;
|
|
18093
|
-
}): Promise<
|
|
18094
|
-
ok: true;
|
|
18095
|
-
}>;
|
|
18690
|
+
}): Promise<OperationResponse>;
|
|
18096
18691
|
archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
|
|
18097
18692
|
commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
|
|
18098
18693
|
get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
|
|
@@ -18265,9 +18860,7 @@ interface MachineProviderListArgs {
|
|
|
18265
18860
|
signal?: AbortSignal;
|
|
18266
18861
|
}
|
|
18267
18862
|
type HostCreateJoinCodeResult = CreateHostJoinCodeResponse;
|
|
18268
|
-
type HostDeleteResult =
|
|
18269
|
-
ok: true;
|
|
18270
|
-
};
|
|
18863
|
+
type HostDeleteResult = HostRemovalResponse;
|
|
18271
18864
|
type HostDirectoryResult = HostDirectoryListing;
|
|
18272
18865
|
type HostDiscoverReposResult = HostDiscoveredReposResponse;
|
|
18273
18866
|
type HostGetResult = Host & {
|
|
@@ -18283,7 +18876,7 @@ type HostPathsExistResult = HostPathsExistResponse;
|
|
|
18283
18876
|
type HostPickFolderResult = HostPickFolderResponse;
|
|
18284
18877
|
type HostProviderCliStatusResult = HostProviderCliStatusResponse;
|
|
18285
18878
|
type HostRetryUpdateResult = HostRetryUpdateResponse;
|
|
18286
|
-
type
|
|
18879
|
+
type HostRetryCleanupResult = HostRemovalResponse;
|
|
18287
18880
|
type HostUpdateResult = Host;
|
|
18288
18881
|
type MachineProviderListResult = SystemMachineProvider[];
|
|
18289
18882
|
interface HostsArea {
|
|
@@ -18307,7 +18900,7 @@ interface HostsArea {
|
|
|
18307
18900
|
pickFolder(args: HostPickFolderArgs): Promise<HostPickFolderResult>;
|
|
18308
18901
|
providerCliStatus(args: HostProviderCliStatusArgs): Promise<HostProviderCliStatusResult>;
|
|
18309
18902
|
experimental_resume(args: HostActionArgs): Promise<Host>;
|
|
18310
|
-
experimental_retryCleanup(args: HostActionArgs): Promise<
|
|
18903
|
+
experimental_retryCleanup(args: HostActionArgs): Promise<HostRetryCleanupResult>;
|
|
18311
18904
|
retryUpdate(args: HostRetryUpdateArgs): Promise<HostRetryUpdateResult>;
|
|
18312
18905
|
experimental_suspend(args: HostActionArgs): Promise<Host>;
|
|
18313
18906
|
experimental_reconcile(args: HostActionArgs): Promise<Host>;
|
|
@@ -18323,6 +18916,9 @@ interface ServerMoveStatusArgs {
|
|
|
18323
18916
|
interface ServerExportArgs {
|
|
18324
18917
|
signal?: AbortSignal;
|
|
18325
18918
|
}
|
|
18919
|
+
interface ServerSweepFailuresArgs {
|
|
18920
|
+
signal?: AbortSignal;
|
|
18921
|
+
}
|
|
18326
18922
|
interface ServerExportResult {
|
|
18327
18923
|
fileName: string;
|
|
18328
18924
|
body: ReadableStream<Uint8Array>;
|
|
@@ -18334,6 +18930,8 @@ interface ExperimentalServerArea {
|
|
|
18334
18930
|
moveStatus(args?: ServerMoveStatusArgs): Promise<ServerMoveStatusResponse>;
|
|
18335
18931
|
cancelMove(): Promise<ServerMoveStatus>;
|
|
18336
18932
|
export(args?: ServerExportArgs): Promise<ServerExportResult>;
|
|
18933
|
+
sweepFailures(args?: ServerSweepFailuresArgs): Promise<ServerSweepFailuresResponse>;
|
|
18934
|
+
retrySweepFailures(): Promise<ServerSweepRetryResponse>;
|
|
18337
18935
|
}
|
|
18338
18936
|
|
|
18339
18937
|
interface ProjectListArgs {
|
|
@@ -18443,9 +19041,7 @@ type ProjectAttachmentUploadResult = UploadedPromptAttachment;
|
|
|
18443
19041
|
type ProjectCommandsResult = CommandListResponse;
|
|
18444
19042
|
type ProjectCreateResult = ProjectResponse;
|
|
18445
19043
|
type ProjectDefaultExecutionOptionsResult = ProjectExecutionDefaults | null;
|
|
18446
|
-
type ProjectDeleteResult =
|
|
18447
|
-
ok: true;
|
|
18448
|
-
};
|
|
19044
|
+
type ProjectDeleteResult = OperationResponse;
|
|
18449
19045
|
interface ProjectFileContentResult {
|
|
18450
19046
|
content: string;
|
|
18451
19047
|
contentEncoding: "base64" | "utf8";
|
|
@@ -18460,9 +19056,7 @@ type ProjectPromptHistoryResult = PromptHistoryResponse;
|
|
|
18460
19056
|
type ProjectReorderResult = ProjectResponse[];
|
|
18461
19057
|
type ProjectSidebarBootstrapResult = SidebarBootstrapResponse;
|
|
18462
19058
|
type ProjectSourceAddResult = ProjectSource;
|
|
18463
|
-
type ProjectSourceDeleteResult =
|
|
18464
|
-
ok: true;
|
|
18465
|
-
};
|
|
19059
|
+
type ProjectSourceDeleteResult = OperationResponse;
|
|
18466
19060
|
type ProjectSourceUpdateResult = ProjectSource;
|
|
18467
19061
|
type ProjectUpdateResult = ProjectResponse;
|
|
18468
19062
|
interface ProjectSourcesArea {
|
|
@@ -18471,7 +19065,7 @@ interface ProjectSourcesArea {
|
|
|
18471
19065
|
update(args: ProjectSourceUpdateArgs): Promise<ProjectSourceUpdateResult>;
|
|
18472
19066
|
}
|
|
18473
19067
|
interface ProjectAttachmentsArea {
|
|
18474
|
-
copy(args: ProjectAttachmentCopyArgs): Promise<
|
|
19068
|
+
copy(args: ProjectAttachmentCopyArgs): Promise<OperationResponse>;
|
|
18475
19069
|
read(args: ProjectAttachmentReadArgs): Promise<ProjectAttachmentReadResult>;
|
|
18476
19070
|
upload(args: ProjectAttachmentUploadArgs): Promise<ProjectAttachmentUploadResult>;
|
|
18477
19071
|
}
|
|
@@ -18592,6 +19186,10 @@ interface PluginMarketplaceRefreshArgs {
|
|
|
18592
19186
|
interface PluginMarketplaceRemoveArgs {
|
|
18593
19187
|
name: string;
|
|
18594
19188
|
}
|
|
19189
|
+
interface PluginMarketplaceSetEnabledArgs {
|
|
19190
|
+
name: string;
|
|
19191
|
+
enabled: boolean;
|
|
19192
|
+
}
|
|
18595
19193
|
interface PluginReloadArgs {
|
|
18596
19194
|
pluginId?: string;
|
|
18597
19195
|
}
|
|
@@ -18665,6 +19263,7 @@ type PluginCatalogInstallPlanResult = PluginCatalogInstallPlan;
|
|
|
18665
19263
|
type PluginMarketplaceListResult = PluginMarketplace[];
|
|
18666
19264
|
type PluginMarketplaceAddResult = PluginMarketplace;
|
|
18667
19265
|
type PluginMarketplaceRefreshResult = PluginMarketplaceRefreshResult$1[];
|
|
19266
|
+
type PluginMarketplaceSetEnabledResult = PluginMarketplace;
|
|
18668
19267
|
interface PluginMarketplaceRemoveResult {
|
|
18669
19268
|
convertedPluginIds: string[];
|
|
18670
19269
|
}
|
|
@@ -18680,6 +19279,7 @@ interface PluginMarketplacesArea {
|
|
|
18680
19279
|
list(args?: PluginMarketplaceListArgs): Promise<PluginMarketplaceListResult>;
|
|
18681
19280
|
refresh(args?: PluginMarketplaceRefreshArgs): Promise<PluginMarketplaceRefreshResult>;
|
|
18682
19281
|
remove(args: PluginMarketplaceRemoveArgs): Promise<PluginMarketplaceRemoveResult>;
|
|
19282
|
+
setEnabled(args: PluginMarketplaceSetEnabledArgs): Promise<PluginMarketplaceSetEnabledResult>;
|
|
18683
19283
|
}
|
|
18684
19284
|
interface PluginInstallJobsArea {
|
|
18685
19285
|
cancel(args: PluginInstallJobArgs): Promise<PluginInstallJob>;
|
|
@@ -19245,24 +19845,16 @@ type ThreadTimelineReadResult = ThreadTimelineReadResponse;
|
|
|
19245
19845
|
type ThreadArchiveResult = ThreadArchiveAllResponse;
|
|
19246
19846
|
type ThreadOpenResult = ThreadOpenResponse;
|
|
19247
19847
|
type ThreadPaneActionResult = ThreadPaneActionResponse;
|
|
19248
|
-
type ThreadDeleteResult =
|
|
19249
|
-
ok: true;
|
|
19250
|
-
};
|
|
19848
|
+
type ThreadDeleteResult = OperationResponse;
|
|
19251
19849
|
type ThreadSendResult = SendMessageResponse;
|
|
19252
19850
|
type ThreadRetryResult = RetryTurnResponse;
|
|
19253
19851
|
type ThreadEditMessageResult = EditMessageResponse;
|
|
19254
|
-
type ThreadStopResult = {
|
|
19255
|
-
|
|
19256
|
-
};
|
|
19257
|
-
type ThreadCompactResult = {
|
|
19258
|
-
ok: true;
|
|
19259
|
-
};
|
|
19260
|
-
type ThreadBannerActionResult = {
|
|
19261
|
-
ok: true;
|
|
19262
|
-
};
|
|
19263
|
-
type ThreadUnarchiveResult = {
|
|
19264
|
-
ok: true;
|
|
19852
|
+
type ThreadStopResult = OperationResponse & {
|
|
19853
|
+
status: ThreadStatus;
|
|
19265
19854
|
};
|
|
19855
|
+
type ThreadCompactResult = OperationResponse;
|
|
19856
|
+
type ThreadBannerActionResult = OperationResponse;
|
|
19857
|
+
type ThreadUnarchiveResult = OperationResponse;
|
|
19266
19858
|
type ThreadArchiveAllResult = ThreadArchiveAllResponse;
|
|
19267
19859
|
type ThreadReadStateResult = ThreadResponse;
|
|
19268
19860
|
type ThreadRestoreEnvironmentResult = ThreadResponse;
|
|
@@ -19271,13 +19863,9 @@ type ThreadPromptHistoryResult = PromptHistoryResponse;
|
|
|
19271
19863
|
type ThreadQueuedMessagesResult = ThreadQueuedMessageListResponse;
|
|
19272
19864
|
type ThreadQueuedMessageCreateResult = ThreadQueuedMessage;
|
|
19273
19865
|
type ThreadQueuedMessageUpdateResult = ThreadQueuedMessage;
|
|
19274
|
-
type ThreadQueuedMessageDeleteResult =
|
|
19275
|
-
ok: true;
|
|
19276
|
-
};
|
|
19866
|
+
type ThreadQueuedMessageDeleteResult = OperationResponse;
|
|
19277
19867
|
type ThreadQueuedMessageEditHoldResult = QueuedMessageEditHoldResponse;
|
|
19278
|
-
type ThreadQueuedMessageEditHoldReleaseResult =
|
|
19279
|
-
ok: true;
|
|
19280
|
-
};
|
|
19868
|
+
type ThreadQueuedMessageEditHoldReleaseResult = OperationResponse;
|
|
19281
19869
|
type ThreadQueuedMessageReorderResult = ThreadQueuedMessageListResponse;
|
|
19282
19870
|
type ThreadQueuedMessageSendResult = SendQueuedMessageResponse;
|
|
19283
19871
|
type ThreadQueuedMessageGroupBoundaryResult = ThreadQueuedMessageListResponse;
|
|
@@ -20185,6 +20773,36 @@ interface PluginStorage {
|
|
|
20185
20773
|
*/
|
|
20186
20774
|
migrate(db: Database.Database, statements: string[]): void;
|
|
20187
20775
|
}
|
|
20776
|
+
/**
|
|
20777
|
+
* One terminal outcome of the work on a thread, in a single union so a plugin
|
|
20778
|
+
* that keeps a record per run handles every way that work can end in one
|
|
20779
|
+
* exhaustive `switch`. Experimental: see docs/api_to_audit.md.
|
|
20780
|
+
*
|
|
20781
|
+
* - `completed`: the thread went idle; `lastAssistantText` as on `thread.idle`.
|
|
20782
|
+
* - `failed`: the thread landed in `error`; `error` as on `thread.failed`.
|
|
20783
|
+
* - `cancelled`: a queued message was removed before it dispatched; `entry`
|
|
20784
|
+
* is that message, so `entry.originPluginId` says whose it was.
|
|
20785
|
+
* - `archived` / `deleted`: the thread itself is gone.
|
|
20786
|
+
*/
|
|
20787
|
+
type PluginThreadSettledEvent = {
|
|
20788
|
+
outcome: "completed";
|
|
20789
|
+
thread: ThreadResponse;
|
|
20790
|
+
lastAssistantText: string | null;
|
|
20791
|
+
} | {
|
|
20792
|
+
outcome: "failed";
|
|
20793
|
+
thread: ThreadResponse;
|
|
20794
|
+
error: string | null;
|
|
20795
|
+
} | {
|
|
20796
|
+
outcome: "cancelled";
|
|
20797
|
+
thread: ThreadResponse;
|
|
20798
|
+
entry: ThreadQueuedMessage;
|
|
20799
|
+
} | {
|
|
20800
|
+
outcome: "archived";
|
|
20801
|
+
thread: ThreadResponse;
|
|
20802
|
+
} | {
|
|
20803
|
+
outcome: "deleted";
|
|
20804
|
+
thread: ThreadResponse;
|
|
20805
|
+
};
|
|
20188
20806
|
/**
|
|
20189
20807
|
* Why a turn failed, assembled by core from the failed turn's own records so a
|
|
20190
20808
|
* listener never has to replay the event log to find out.
|
|
@@ -20243,7 +20861,7 @@ interface PluginTurnFailedEvent {
|
|
|
20243
20861
|
originPluginId: string | null;
|
|
20244
20862
|
}
|
|
20245
20863
|
/**
|
|
20246
|
-
* Lifecycle events a plugin can observe with `bb.events.on
|
|
20864
|
+
* Lifecycle events a plugin can observe with `bb.events.on`.
|
|
20247
20865
|
*
|
|
20248
20866
|
* **Events are announcements core makes.** Something already happened; a
|
|
20249
20867
|
* handler is told about it and whatever it returns is IGNORED. Handlers run
|
|
@@ -20386,6 +21004,13 @@ interface PluginThreadEventPayloads {
|
|
|
20386
21004
|
"message.cancelled": {
|
|
20387
21005
|
entry: ThreadQueuedMessage;
|
|
20388
21006
|
};
|
|
21007
|
+
/**
|
|
21008
|
+
* Fired with every `thread.idle`, `thread.failed`, `thread.archived` and
|
|
21009
|
+
* `thread.deleted`, and with every `message.cancelled` whose thread still
|
|
21010
|
+
* exists, as one {@link PluginThreadSettledEvent}. Experimental: see
|
|
21011
|
+
* docs/api_to_audit.md.
|
|
21012
|
+
*/
|
|
21013
|
+
"experimental_thread.settled": PluginThreadSettledEvent;
|
|
20389
21014
|
}
|
|
20390
21015
|
type PluginThreadEventName = keyof PluginThreadEventPayloads;
|
|
20391
21016
|
type PluginThreadEventHandler<E extends PluginThreadEventName> = (payload: PluginThreadEventPayloads[E]) => void | Promise<void>;
|
|
@@ -20996,8 +21621,8 @@ interface PluginCli {
|
|
|
20996
21621
|
*/
|
|
20997
21622
|
register(registration: PluginCliRegistration): void;
|
|
20998
21623
|
}
|
|
20999
|
-
/** Per-turn context handed to bb.agents context providers
|
|
21000
|
-
/** MCP-style content parts a native tool may return
|
|
21624
|
+
/** Per-turn context handed to bb.agents context providers. */
|
|
21625
|
+
/** MCP-style content parts a native tool may return. */
|
|
21001
21626
|
type PluginAgentToolContentPart = {
|
|
21002
21627
|
type: "text";
|
|
21003
21628
|
text: string;
|
|
@@ -21010,7 +21635,7 @@ type PluginAgentToolResult = string | {
|
|
|
21010
21635
|
content: PluginAgentToolContentPart[];
|
|
21011
21636
|
isError?: boolean;
|
|
21012
21637
|
};
|
|
21013
|
-
/** Per-call context handed to a native tool's execute
|
|
21638
|
+
/** Per-call context handed to a native tool's execute. */
|
|
21014
21639
|
interface PluginAgentToolContext {
|
|
21015
21640
|
threadId: string;
|
|
21016
21641
|
projectId: string;
|
|
@@ -21562,7 +22187,7 @@ interface PluginAgents {
|
|
|
21562
22187
|
*/
|
|
21563
22188
|
configure(provider: (context: PluginAgentConfigurationContext) => PluginAgentConfiguration): void;
|
|
21564
22189
|
/**
|
|
21565
|
-
* Register a native dynamic tool
|
|
22190
|
+
* Register a native dynamic tool. `parameters` is either a
|
|
21566
22191
|
* zod schema (validated per call; execute receives the parsed value) or a
|
|
21567
22192
|
* plain JSON-schema object (no validation; execute receives the raw
|
|
21568
22193
|
* arguments as `unknown`). Tool-set changes apply on the NEXT session
|
|
@@ -21649,7 +22274,7 @@ interface ExperimentalPluginProviderEnvHealth {
|
|
|
21649
22274
|
statusMessage: string;
|
|
21650
22275
|
}
|
|
21651
22276
|
type PluginMentionTrigger = "!" | "#" | "$" | "@" | "~";
|
|
21652
|
-
/** Search context handed to a mention provider
|
|
22277
|
+
/** Search context handed to a mention provider. `projectId`/
|
|
21653
22278
|
* `threadId` are null when the composer has not committed one yet. */
|
|
21654
22279
|
interface PluginMentionSearchContext {
|
|
21655
22280
|
trigger: PluginMentionTrigger;
|
|
@@ -21727,7 +22352,7 @@ interface PluginUi {
|
|
|
21727
22352
|
signal?: AbortSignal;
|
|
21728
22353
|
}): Promise<PluginInteractionResult>;
|
|
21729
22354
|
/**
|
|
21730
|
-
* Register a mention provider for the shipped app's composer
|
|
22355
|
+
* Register a mention provider for the shipped app's composer.
|
|
21731
22356
|
* Providers default to the `@` trigger and may opt into `#`, `$`, `!`, or
|
|
21732
22357
|
* `~` with `triggers`. Items group under `label` in the mention menu; a
|
|
21733
22358
|
* picked item becomes a `{ kind: "plugin" }` mention resource whose context
|
|
@@ -21739,7 +22364,12 @@ interface PluginUi {
|
|
|
21739
22364
|
interface PluginEvents {
|
|
21740
22365
|
/**
|
|
21741
22366
|
* Add a thread lifecycle listener. Multiple listeners for the same event are
|
|
21742
|
-
* additive and run independently in registration order.
|
|
22367
|
+
* additive and run independently in registration order. Events for a thread
|
|
22368
|
+
* that this plugin's own `bb.sdk.threads.spawn` or `bb.sdk.threads.fork`
|
|
22369
|
+
* call may have created wait until that call has returned to the plugin,
|
|
22370
|
+
* and keep their order. Record the returned thread before your next
|
|
22371
|
+
* `await` and its `thread.idle` or `thread.failed` finds the record, even
|
|
22372
|
+
* when the turn ends before the call returns.
|
|
21743
22373
|
*/
|
|
21744
22374
|
on<E extends PluginThreadEventName>(event: E, handler: PluginThreadEventHandler<E>): void;
|
|
21745
22375
|
}
|
|
@@ -21768,48 +22398,18 @@ interface PluginServerApi {
|
|
|
21768
22398
|
* not a place to write.
|
|
21769
22399
|
*/
|
|
21770
22400
|
readonly experimental_dataDir: string;
|
|
21771
|
-
/**
|
|
21772
|
-
* Internal to bb's own connect plugins. Do not use: it is not part of the
|
|
21773
|
-
* plugin API and may change or disappear in any release.
|
|
21774
|
-
*
|
|
21775
|
-
* Open (or share) this server's tunnel ingress for `audience`, a private
|
|
21776
|
-
* listener on 127.0.0.1 with an ephemeral port. For a plugin that runs a
|
|
21777
|
-
* tunnel client for bb connect next: point the client at `baseUrl`.
|
|
21778
|
-
*
|
|
21779
|
-
* Every HTTP request and WebSocket upgrade must carry an
|
|
21780
|
-
* `x-bb-gate-assertion` signed by the bb connect gate for `audience`
|
|
21781
|
-
* (`server:<serverId>`), the request method and the exact path and query;
|
|
21782
|
-
* anything else is answered 401. A verified request reaches the same app
|
|
21783
|
-
* as `loopbackBaseUrl`, authenticated only by the gate's claims.
|
|
21784
|
-
*
|
|
21785
|
-
* Opening the same audience again shares the listener; it stops when every
|
|
21786
|
-
* handle is closed. Handles close when the plugin is disabled or unloaded.
|
|
21787
|
-
*/
|
|
21788
|
-
internal_DO_NOT_USE_openTunnelIngress(options: InternalDoNotUsePluginTunnelIngressOptions): Promise<InternalDoNotUsePluginTunnelIngress>;
|
|
21789
|
-
}
|
|
21790
|
-
/** Options for `bb.server.internal_DO_NOT_USE_openTunnelIngress`. */
|
|
21791
|
-
interface InternalDoNotUsePluginTunnelIngressOptions {
|
|
21792
|
-
/** The gate assertion audience this ingress accepts, e.g. `server:<id>`. */
|
|
21793
|
-
audience: string;
|
|
21794
|
-
}
|
|
21795
|
-
/** A handle on an open tunnel ingress. */
|
|
21796
|
-
interface InternalDoNotUsePluginTunnelIngress {
|
|
21797
|
-
/** Base URL of the ingress listener, e.g. "http://127.0.0.1:41234". */
|
|
21798
|
-
readonly baseUrl: string;
|
|
21799
|
-
/** Release this handle; idempotent. */
|
|
21800
|
-
close(): Promise<void>;
|
|
21801
22401
|
}
|
|
21802
22402
|
/** Options for one `complete` call. */
|
|
21803
22403
|
interface PluginAiCompleteOptions {
|
|
21804
22404
|
/**
|
|
21805
|
-
* Aborted when bb stops waiting: the task timed out (
|
|
22405
|
+
* Aborted when bb stops waiting: the task timed out (8 seconds for titles
|
|
21806
22406
|
* and commit messages) or the request was cancelled. Pass it to `fetch`.
|
|
21807
22407
|
*/
|
|
21808
22408
|
readonly signal: AbortSignal;
|
|
21809
22409
|
}
|
|
21810
22410
|
/** Options for one `transcribe` call. */
|
|
21811
22411
|
interface PluginAiTranscribeOptions {
|
|
21812
|
-
/** Aborted when bb stops waiting (
|
|
22412
|
+
/** Aborted when bb stops waiting (70 seconds) or the request was cancelled. */
|
|
21813
22413
|
readonly signal: AbortSignal;
|
|
21814
22414
|
/**
|
|
21815
22415
|
* Vocabulary the speaker is likely to use (names, identifiers), for
|
|
@@ -21881,45 +22481,6 @@ interface PluginSharedPortTunnelIdentity {
|
|
|
21881
22481
|
/** Gate apex without a scheme, e.g. "getbb.app". */
|
|
21882
22482
|
baseDomain: string;
|
|
21883
22483
|
}
|
|
21884
|
-
/** The frp server a machine's next tunnel dials. */
|
|
21885
|
-
interface InternalDoNotUsePluginNextTunnelServer {
|
|
21886
|
-
/** `wss` for TLS, `websocket` for plain `ws://` (local runs only). */
|
|
21887
|
-
protocol: "websocket" | "wss";
|
|
21888
|
-
/** Host name without a port, e.g. "tunnel.next.getbb.app". */
|
|
21889
|
-
host: string;
|
|
21890
|
-
port: number;
|
|
21891
|
-
}
|
|
21892
|
-
/** Where every eligible machine serves its port shares through bb connect next. */
|
|
21893
|
-
interface InternalDoNotUsePluginNextTunnelConfig {
|
|
21894
|
-
/**
|
|
21895
|
-
* Next domain without a scheme, with a port only for local runs, e.g.
|
|
21896
|
-
* "next.getbb.app". A share answers at `<machine-label>--<port>.<domain>`.
|
|
21897
|
-
*/
|
|
21898
|
-
domain: string;
|
|
21899
|
-
server: InternalDoNotUsePluginNextTunnelServer;
|
|
21900
|
-
}
|
|
21901
|
-
/** One machine's next tunnel, as its daemon last reported it. */
|
|
21902
|
-
interface InternalDoNotUsePluginHostNextTunnelStatus {
|
|
21903
|
-
hostId: string;
|
|
21904
|
-
hostName: string;
|
|
21905
|
-
/**
|
|
21906
|
-
* `idle` while the machine shares no port or next is off, `refused` when
|
|
21907
|
-
* the gate refused the machine credential (retried after five minutes),
|
|
21908
|
-
* `offline` when the gate cannot be reached (retried with backoff),
|
|
21909
|
-
* `error` when the daemon could not start frpc or refused the configuration.
|
|
21910
|
-
*/
|
|
21911
|
-
state: "connected" | "connecting" | "error" | "idle" | "offline" | "refused";
|
|
21912
|
-
/** The machine's gate label, or null before the daemon learned it. */
|
|
21913
|
-
label: string | null;
|
|
21914
|
-
lastError: string | null;
|
|
21915
|
-
nextRetryAt: number | null;
|
|
21916
|
-
since: number;
|
|
21917
|
-
shares: Array<{
|
|
21918
|
-
port: number;
|
|
21919
|
-
state: "active" | "pending" | "refused";
|
|
21920
|
-
error: string | null;
|
|
21921
|
-
}>;
|
|
21922
|
-
}
|
|
21923
22484
|
interface PluginHosts {
|
|
21924
22485
|
/** Create the owning plugin's typed client for its singular `bb.host` entry. */
|
|
21925
22486
|
experimental_client<Contract extends PluginRpcContract, Signals extends ExperimentalHostSignals = {}>(args: {
|
|
@@ -21942,39 +22503,16 @@ interface PluginHosts {
|
|
|
21942
22503
|
* here: it is owned by the daemon's trusted enrollment.
|
|
21943
22504
|
*/
|
|
21944
22505
|
declareSharedPorts(hostId: string, ports: readonly number[]): void;
|
|
21945
|
-
/**
|
|
21946
|
-
* Internal to bb's own connect plugins. Do not use: it is not part of the
|
|
21947
|
-
* plugin API and may change or disappear in any release.
|
|
21948
|
-
*
|
|
21949
|
-
* Turn bb connect next machine tunnels on (a config) or off (`null`). The
|
|
21950
|
-
* server sends the config to every connected daemon that holds a bb connect
|
|
21951
|
-
* machine credential and speaks a protocol that knows next tunnels; each
|
|
21952
|
-
* such daemon runs frpc with one proxy per port declared with
|
|
21953
|
-
* `declareSharedPorts`, at `<machine-label>--<port>.<domain>`. The daemon
|
|
21954
|
-
* refuses a domain or tunnel server outside its trusted enrollment's
|
|
21955
|
-
* domain. One plugin owns the setting at a time; another plugin's call
|
|
21956
|
-
* throws while it is set. Cleared when the owning plugin is disabled.
|
|
21957
|
-
*/
|
|
21958
|
-
internal_DO_NOT_USE_setNextTunnels(config: InternalDoNotUsePluginNextTunnelConfig | null): void;
|
|
21959
|
-
/** Internal to bb's own connect plugins; do not use. The last next-tunnel status of every connected daemon that reported one. */
|
|
21960
|
-
internal_DO_NOT_USE_nextTunnelStatuses(): InternalDoNotUsePluginHostNextTunnelStatus[];
|
|
21961
|
-
/**
|
|
21962
|
-
* Internal to bb's own connect plugins. Do not use: it is not part of the
|
|
21963
|
-
* plugin API and may change or disappear in any release.
|
|
21964
|
-
*
|
|
21965
|
-
* Call `listener` whenever a daemon reports a changed next-tunnel status or
|
|
21966
|
-
* its session ends. Returns an unsubscribe function; plugin disposal also
|
|
21967
|
-
* unsubscribes.
|
|
21968
|
-
*/
|
|
21969
|
-
internal_DO_NOT_USE_onNextTunnelStatusChange(listener: () => void): () => void;
|
|
21970
22506
|
}
|
|
21971
22507
|
interface PluginStatusApi {
|
|
21972
22508
|
/**
|
|
21973
|
-
* Mark this plugin `needs-configuration`
|
|
21974
|
-
*
|
|
21975
|
-
*
|
|
21976
|
-
*
|
|
21977
|
-
*
|
|
22509
|
+
* Mark this plugin `needs-configuration` instead of failing — e.g. a
|
|
22510
|
+
* factory or service that finds no API key configured. `bb plugin list`
|
|
22511
|
+
* shows the message; the plugin's page shows it only when the plugin has no
|
|
22512
|
+
* settings, and otherwise links to its settings instead. Cleared on the next
|
|
22513
|
+
* load. Saving settings that change a value reloads a plugin in this state,
|
|
22514
|
+
* so the factory runs again with the new values; without settings, the
|
|
22515
|
+
* user reloads it from the plugin's page or with `bb plugin reload <id>`.
|
|
21978
22516
|
*/
|
|
21979
22517
|
needsConfiguration(message: string): void;
|
|
21980
22518
|
}
|
|
@@ -22002,7 +22540,7 @@ type PluginBbSdk = Omit<BbSdk, "threads"> & {
|
|
|
22002
22540
|
};
|
|
22003
22541
|
};
|
|
22004
22542
|
/**
|
|
22005
|
-
* The API object handed to a plugin's factory
|
|
22543
|
+
* The API object handed to a plugin's factory. Implemented by
|
|
22006
22544
|
* the BB server; this contract is what plugin `server.ts` files compile
|
|
22007
22545
|
* against.
|
|
22008
22546
|
*/
|
|
@@ -22013,28 +22551,28 @@ interface BbPluginApi {
|
|
|
22013
22551
|
readonly pluginId: string;
|
|
22014
22552
|
/** Leveled, plugin-scoped logger. */
|
|
22015
22553
|
readonly log: PluginLogger;
|
|
22016
|
-
/** Declarative settings
|
|
22554
|
+
/** Declarative settings. */
|
|
22017
22555
|
readonly settings: PluginSettings;
|
|
22018
|
-
/** Namespaced KV + per-plugin database
|
|
22556
|
+
/** Namespaced KV + per-plugin database. */
|
|
22019
22557
|
readonly storage: PluginStorage;
|
|
22020
|
-
/** HTTP routes under /api/v1/plugins/<id>/http
|
|
22558
|
+
/** HTTP routes under /api/v1/plugins/<id>/http/*. */
|
|
22021
22559
|
readonly http: PluginHttp;
|
|
22022
|
-
/** RPC methods under /api/v1/plugins/<id>/rpc/<method
|
|
22560
|
+
/** RPC methods under /api/v1/plugins/<id>/rpc/<method>. */
|
|
22023
22561
|
readonly rpc: PluginRpc;
|
|
22024
|
-
/** Ephemeral push to connected frontends
|
|
22562
|
+
/** Ephemeral push to connected frontends. */
|
|
22025
22563
|
readonly realtime: PluginRealtime;
|
|
22026
|
-
/** Long-lived services + cron schedules
|
|
22564
|
+
/** Long-lived services + cron schedules. */
|
|
22027
22565
|
readonly background: PluginBackground;
|
|
22028
|
-
/** Agent-facing `bb` CLI subcommand
|
|
22566
|
+
/** Agent-facing `bb` CLI subcommand. */
|
|
22029
22567
|
readonly cli: PluginCli;
|
|
22030
|
-
/** Per-turn agent context contributions
|
|
22568
|
+
/** Per-turn agent context contributions. */
|
|
22031
22569
|
readonly agents: PluginAgents;
|
|
22032
22570
|
/** Agent provider registration (docs/provider-plugin-api.md §1). */
|
|
22033
22571
|
readonly providers: PluginProviders;
|
|
22034
|
-
/** Host-rendered UI contributions
|
|
22572
|
+
/** Host-rendered UI contributions. */
|
|
22035
22573
|
readonly ui: PluginUi;
|
|
22036
22574
|
/**
|
|
22037
|
-
* Additive plugin lifecycle listeners
|
|
22575
|
+
* Additive plugin lifecycle listeners. Announcements core
|
|
22038
22576
|
* makes: a handler's return value is ignored.
|
|
22039
22577
|
*/
|
|
22040
22578
|
readonly events: PluginEvents;
|
|
@@ -22047,7 +22585,7 @@ interface BbPluginApi {
|
|
|
22047
22585
|
readonly experimental_hooks: PluginHooks;
|
|
22048
22586
|
/**
|
|
22049
22587
|
* Environment targets: places a thread can run that this plugin
|
|
22050
|
-
* provisions
|
|
22588
|
+
* provisions. Experimental: see
|
|
22051
22589
|
* docs/api_to_audit.md.
|
|
22052
22590
|
*/
|
|
22053
22591
|
readonly experimental_environments: PluginEnvironments;
|
|
@@ -22066,7 +22604,7 @@ interface BbPluginApi {
|
|
|
22066
22604
|
*/
|
|
22067
22605
|
readonly experimental_aiServices: PluginAiServices;
|
|
22068
22606
|
/**
|
|
22069
|
-
* The full BB SDK, bound to this server over loopback
|
|
22607
|
+
* The full BB SDK, bound to this server over loopback.
|
|
22070
22608
|
* Bind-gated: reading this before the host binds the SDK throws. The real
|
|
22071
22609
|
* server binds it before loading plugins, so it is available from the
|
|
22072
22610
|
* moment factories run there — but isolated harnesses may not, so prefer
|
|
@@ -22095,7 +22633,7 @@ interface BbPluginApi {
|
|
|
22095
22633
|
}
|
|
22096
22634
|
|
|
22097
22635
|
/**
|
|
22098
|
-
* The `@get-bb/plugin-sdk/app` contract
|
|
22636
|
+
* The `@get-bb/plugin-sdk/app` contract — pure types with no
|
|
22099
22637
|
* side effects. The BB app imports these to keep its real implementation in
|
|
22100
22638
|
* sync (`satisfies PluginSdkApp`). Plugin authors import the same shapes through
|
|
22101
22639
|
* `@get-bb/plugin-sdk/app`.
|
|
@@ -22110,21 +22648,10 @@ interface PluginHomepageSectionProps {
|
|
|
22110
22648
|
/**
|
|
22111
22649
|
* Props passed to a `settingsSection` component.
|
|
22112
22650
|
*
|
|
22113
|
-
*
|
|
22651
|
+
* Deliberately empty while sections read live app state through SDK hooks;
|
|
22652
|
+
* versioned additive like the other slot props.
|
|
22114
22653
|
*/
|
|
22115
22654
|
interface PluginSettingsSectionProps {
|
|
22116
|
-
/**
|
|
22117
|
-
* Internal to bb's bundled connect plugin; not part of the plugin API.
|
|
22118
|
-
* Set only when the setup guide renders the section; call it when the user
|
|
22119
|
-
* starts setting it up.
|
|
22120
|
-
*/
|
|
22121
|
-
internal_DO_NOT_USE_onSetupStarted?: () => void;
|
|
22122
|
-
/**
|
|
22123
|
-
* Internal to bb's bundled connect plugin; not part of the plugin API.
|
|
22124
|
-
* Set only when the setup guide renders the section; call it when a setup
|
|
22125
|
-
* attempt fails, with the stage that failed and, when known, why.
|
|
22126
|
-
*/
|
|
22127
|
-
internal_DO_NOT_USE_onSetupFailed?: (stage: InternalDoNotUseSetupFailureStage, detail?: InternalDoNotUseSetupFailureDetail) => void;
|
|
22128
22655
|
}
|
|
22129
22656
|
/**
|
|
22130
22657
|
* Stage of a setup guide section's setup attempt that failed.
|
|
@@ -23050,11 +23577,9 @@ interface PluginNavPanelRegistration {
|
|
|
23050
23577
|
* The action is thread-only and is never offered on the root New thread
|
|
23051
23578
|
* screen, so `threadId` is always present.
|
|
23052
23579
|
*/
|
|
23053
|
-
interface ExperimentalThreadTabActionContext {
|
|
23580
|
+
interface ExperimentalThreadTabActionContext extends ExperimentalPluginActionContext {
|
|
23054
23581
|
/** The thread whose panel launcher invoked the action. */
|
|
23055
23582
|
threadId: string;
|
|
23056
|
-
/** The side panel of the thread view that invoked the action. */
|
|
23057
|
-
experimental_panel: ExperimentalPanelController;
|
|
23058
23583
|
}
|
|
23059
23584
|
/** Where a plugin tab belongs. Navigation panels are owned by the registering plugin. */
|
|
23060
23585
|
type ExperimentalTabContext = {
|
|
@@ -23086,9 +23611,7 @@ type ExperimentalTabLifecycle<Props, Context> = {
|
|
|
23086
23611
|
}>;
|
|
23087
23612
|
/** Default persisted params when opened without explicit params. */
|
|
23088
23613
|
params?: JsonValue;
|
|
23089
|
-
run?(context: Context &
|
|
23090
|
-
experimental_panel: ExperimentalPanelController;
|
|
23091
|
-
}): void | Promise<void>;
|
|
23614
|
+
run?(context: Context & ExperimentalPluginActionContext): void | Promise<void>;
|
|
23092
23615
|
};
|
|
23093
23616
|
type ExperimentalTabContextProps<C extends ExperimentalTabContext> = C extends {
|
|
23094
23617
|
kind: "thread";
|
|
@@ -23112,9 +23635,7 @@ type ExperimentalTabInput<C extends ExperimentalTabContext, A extends "action" |
|
|
|
23112
23635
|
params: JsonValue | null;
|
|
23113
23636
|
}>;
|
|
23114
23637
|
params?: JsonValue;
|
|
23115
|
-
run?(context: ExperimentalTabContextProps<C> &
|
|
23116
|
-
experimental_panel: ExperimentalPanelController;
|
|
23117
|
-
}): void | Promise<void>;
|
|
23638
|
+
run?(context: ExperimentalTabContextProps<C> & ExperimentalPluginActionContext): void | Promise<void>;
|
|
23118
23639
|
experimental_target?: never;
|
|
23119
23640
|
});
|
|
23120
23641
|
/** One registration for pinned destinations and actions opening closable instances. */
|
|
@@ -23143,14 +23664,13 @@ type ExperimentalTabRegistration = ExperimentalTabCommon & (({
|
|
|
23143
23664
|
experimental_target?: ExperimentalFixedTabTargetContract<JsonValue>;
|
|
23144
23665
|
}))));
|
|
23145
23666
|
/** Context handed to an `experimental_newThreadPanelAction`'s `run`. */
|
|
23146
|
-
|
|
23667
|
+
/**
|
|
23668
|
+
* `panel` is the New thread screen's side panel. Address this
|
|
23669
|
+
* action's tab as `{ id, context: { kind: "thread" }, availability: "action" }`.
|
|
23670
|
+
*/
|
|
23671
|
+
interface PluginNewThreadPanelActionContext extends ExperimentalPluginActionContext {
|
|
23147
23672
|
/** Project selected in the root composer; null in projectless compose. */
|
|
23148
23673
|
projectId: string | null;
|
|
23149
|
-
/**
|
|
23150
|
-
* The New thread screen's side panel. Address this action's tab as
|
|
23151
|
-
* `{ id, context: { kind: "thread" }, availability: "action" }`.
|
|
23152
|
-
*/
|
|
23153
|
-
experimental_panel: ExperimentalPanelController;
|
|
23154
23674
|
}
|
|
23155
23675
|
/** Registration for the root New thread screen's panel Actions list. */
|
|
23156
23676
|
interface PluginNewThreadPanelActionRegistration {
|
|
@@ -23185,8 +23705,11 @@ interface PluginPendingInteractionRegistration {
|
|
|
23185
23705
|
id: string;
|
|
23186
23706
|
component: ComponentType<PluginPendingInteractionProps>;
|
|
23187
23707
|
}
|
|
23188
|
-
/**
|
|
23189
|
-
|
|
23708
|
+
/**
|
|
23709
|
+
* Context handed to a `sidebarFooterAction`'s `run`. `navigate` and
|
|
23710
|
+
* `panel` act on the focused surface, as for commands.
|
|
23711
|
+
*/
|
|
23712
|
+
interface PluginSidebarFooterActionContext extends ExperimentalPluginActionContext {
|
|
23190
23713
|
/**
|
|
23191
23714
|
* Navigate to this plugin's detail page in Tools, where declarative settings
|
|
23192
23715
|
* and `settingsSection` slots render.
|
|
@@ -23212,8 +23735,11 @@ interface PluginSidebarFooterActionRegistration {
|
|
|
23212
23735
|
*/
|
|
23213
23736
|
run(context: PluginSidebarFooterActionContext): void | Promise<void>;
|
|
23214
23737
|
}
|
|
23215
|
-
/**
|
|
23216
|
-
|
|
23738
|
+
/**
|
|
23739
|
+
* Context handed to an experimental sidebar-footer action. `navigate` and
|
|
23740
|
+
* `panel` act on the focused surface, as for commands.
|
|
23741
|
+
*/
|
|
23742
|
+
interface ExperimentalSidebarFooterActionContext extends ExperimentalPluginActionContext {
|
|
23217
23743
|
/** Navigate to this plugin's detail page in Tools. */
|
|
23218
23744
|
openPluginDetails(): void;
|
|
23219
23745
|
}
|
|
@@ -23678,8 +24204,8 @@ interface PluginSidebarThreadDraftState {
|
|
|
23678
24204
|
* the content-script context's `experimental_setThreadRowStatus` (see
|
|
23679
24205
|
* {@link PluginSdkApp.useSidebarThreadRowStatus}). bb's row draws it in
|
|
23680
24206
|
* place of the draft glyph while it is set; a replaced list should do the
|
|
23681
|
-
* same so a status
|
|
23682
|
-
*
|
|
24207
|
+
* same so a status another plugin set does not vanish when the list changes
|
|
24208
|
+
* hands. No bundled plugin sets one; only content scripts can.
|
|
23683
24209
|
*/
|
|
23684
24210
|
type PluginSidebarThreadRowStatus = PluginComposerThreadRowStatus;
|
|
23685
24211
|
/**
|
|
@@ -23978,8 +24504,12 @@ type ExperimentalThreadContextKind = "banner" | "card";
|
|
|
23978
24504
|
* `experimental_threadInfoRow`. Render one or more
|
|
23979
24505
|
* `experimental_ThreadContextCardRow` elements, or null to show nothing for
|
|
23980
24506
|
* this thread. bb draws the card and places it, and mounts rows only in panes
|
|
23981
|
-
* whose thread context kind is `card`.
|
|
23982
|
-
*
|
|
24507
|
+
* whose thread context kind is `card`. The card is behind the "Thread context
|
|
24508
|
+
* card" experiment, off by default, and never shows on a phone (a compact
|
|
24509
|
+
* viewport with a coarse pointer); every other pane uses the `banner` kind, so
|
|
24510
|
+
* register an `experimental_threadContextSegment` or
|
|
24511
|
+
* `experimental_threadInfoRow` as well to reach it. A crash removes only this
|
|
24512
|
+
* row for that thread.
|
|
23983
24513
|
*/
|
|
23984
24514
|
interface ExperimentalThreadContextCardRowRegistration {
|
|
23985
24515
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
@@ -23996,16 +24526,20 @@ interface ExperimentalThreadContextCardRowRegistration {
|
|
|
23996
24526
|
component: ComponentType<ExperimentalThreadContextCardProps>;
|
|
23997
24527
|
}
|
|
23998
24528
|
/**
|
|
23999
|
-
* A
|
|
24000
|
-
* counterpart of `experimental_threadInfoSection`.
|
|
24001
|
-
*
|
|
24002
|
-
*
|
|
24529
|
+
* A section of the thread context card, below its rows; the card's
|
|
24530
|
+
* counterpart of `experimental_threadInfoSection`. Render one
|
|
24531
|
+
* `experimental_InfoSection`, or null to hide the section for this thread. In
|
|
24532
|
+
* the card, bb draws the section's label as a button that folds it and a
|
|
24533
|
+
* divider above it. Sections start open; bb remembers the ones the person folds
|
|
24534
|
+
* by `pluginId/id` across threads and restarts. While folded, the component
|
|
24535
|
+
* stays mounted and the `experimental_InfoSection` children unmount. Like
|
|
24536
|
+
* card rows, sections mount only where the card shows: behind the "Thread
|
|
24537
|
+
* context card" experiment, off by default, and never on a phone. A crash
|
|
24538
|
+
* removes only this section for that thread.
|
|
24003
24539
|
*/
|
|
24004
24540
|
interface ExperimentalThreadContextCardSectionRegistration {
|
|
24005
24541
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
24006
24542
|
id: string;
|
|
24007
|
-
/** Heading bb draws above the section's rows. */
|
|
24008
|
-
title: string;
|
|
24009
24543
|
/**
|
|
24010
24544
|
* Sections sort by `group` (string compare), then by `order` within a group
|
|
24011
24545
|
* (unset sorts last), then by registration order, with bb's own sections
|
|
@@ -24198,36 +24732,25 @@ interface PluginThreadActionDataInput {
|
|
|
24198
24732
|
threadIds: readonly string[];
|
|
24199
24733
|
}
|
|
24200
24734
|
/** What a registration's `item` receives for each thread it is shown for. */
|
|
24201
|
-
|
|
24735
|
+
/**
|
|
24736
|
+
* `panel` is the focused surface's side panel, as for plugin
|
|
24737
|
+
* commands. Thread menus are not inside a side panel, so calls return false
|
|
24738
|
+
* when the focused surface has no such tab.
|
|
24739
|
+
*/
|
|
24740
|
+
interface PluginThreadActionItemInput<Data> extends ExperimentalPluginActionContext {
|
|
24202
24741
|
thread: PluginThreadActionTarget;
|
|
24203
24742
|
/** What `useData` last returned; undefined when the registration has none. */
|
|
24204
24743
|
data: Data;
|
|
24205
|
-
/** The registering plugin's `useSdk()` client. */
|
|
24206
|
-
sdk: PluginBrowserBbSdk;
|
|
24207
|
-
/** The registering plugin's `useBbNavigate()`. */
|
|
24208
|
-
navigate: BbNavigate;
|
|
24209
|
-
/**
|
|
24210
|
-
* The focused surface's side panel, as for plugin commands. Thread menus
|
|
24211
|
-
* are not inside a side panel, so calls return false when the focused
|
|
24212
|
-
* surface has no such tab.
|
|
24213
|
-
*/
|
|
24214
|
-
experimental_panel: ExperimentalPanelController;
|
|
24215
24744
|
}
|
|
24216
24745
|
/**
|
|
24217
24746
|
* What a registration's `experimental_bulkItem` receives for a selection
|
|
24218
24747
|
* of several threads.
|
|
24219
24748
|
*/
|
|
24220
|
-
interface PluginThreadActionBulkItemInput<Data> {
|
|
24749
|
+
interface PluginThreadActionBulkItemInput<Data> extends ExperimentalPluginActionContext {
|
|
24221
24750
|
/** The selected threads in the surface's list order; always two or more. */
|
|
24222
24751
|
threads: readonly PluginThreadActionTarget[];
|
|
24223
24752
|
/** What `useData` last returned; undefined when the registration has none. */
|
|
24224
24753
|
data: Data;
|
|
24225
|
-
/** The registering plugin's `useSdk()` client. */
|
|
24226
|
-
sdk: PluginBrowserBbSdk;
|
|
24227
|
-
/** The registering plugin's `useBbNavigate()`, as for `item`. */
|
|
24228
|
-
navigate: BbNavigate;
|
|
24229
|
-
/** The focused surface's side panel, as for `item`. */
|
|
24230
|
-
experimental_panel: ExperimentalPanelController;
|
|
24231
24754
|
}
|
|
24232
24755
|
/**
|
|
24233
24756
|
* Add an action to every thread actions menu: the thread header's menu, the
|
|
@@ -25270,8 +25793,36 @@ interface ExperimentalMessageMetadataRegistration {
|
|
|
25270
25793
|
placement?: ExperimentalMessageMetadataPlacement;
|
|
25271
25794
|
component: ComponentType<ExperimentalMessageMetadataProps>;
|
|
25272
25795
|
}
|
|
25796
|
+
/** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
|
|
25797
|
+
type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
|
|
25798
|
+
/**
|
|
25799
|
+
* What every plugin callback's context carries besides its own fields:
|
|
25800
|
+
* commands, message actions, thread actions, panel and New thread panel
|
|
25801
|
+
* actions, sidebar footer actions, and composer commands and menu items.
|
|
25802
|
+
* Experimental: see docs/api_to_audit.md.
|
|
25803
|
+
*/
|
|
25804
|
+
interface ExperimentalPluginActionContext {
|
|
25805
|
+
/** The registering plugin's `useSdk()` client. */
|
|
25806
|
+
sdk: PluginBrowserBbSdk;
|
|
25807
|
+
/**
|
|
25808
|
+
* The registering plugin's `useBbNavigate()`, bound to the surface that
|
|
25809
|
+
* invoked the callback, so terminals, files and links open there.
|
|
25810
|
+
*/
|
|
25811
|
+
navigate: BbNavigate;
|
|
25812
|
+
/** The side panel of the surface that invoked the callback. */
|
|
25813
|
+
panel: ExperimentalPanelController;
|
|
25814
|
+
}
|
|
25815
|
+
/**
|
|
25816
|
+
* Context handed to a composer command's or composer menu item's `run`.
|
|
25817
|
+
* `navigate` and `panel` act on the surface showing the
|
|
25818
|
+
* composer.
|
|
25819
|
+
*/
|
|
25820
|
+
interface ExperimentalComposerActionContext extends ExperimentalPluginActionContext {
|
|
25821
|
+
/** The handling composer, bound to this plugin like `useComposer()`. */
|
|
25822
|
+
composer: PluginComposerApi;
|
|
25823
|
+
}
|
|
25273
25824
|
/** Context handed to a `messageAction`'s `run`. */
|
|
25274
|
-
interface PluginMessageActionContext {
|
|
25825
|
+
interface PluginMessageActionContext extends ExperimentalPluginActionContext {
|
|
25275
25826
|
/** The thread whose timeline surfaced the action. */
|
|
25276
25827
|
threadId: string;
|
|
25277
25828
|
message: ThreadChatMessageReference;
|
|
@@ -25280,8 +25831,6 @@ interface PluginMessageActionContext {
|
|
|
25280
25831
|
* the exact text the user highlighted inside `message`.
|
|
25281
25832
|
*/
|
|
25282
25833
|
selectedText?: string;
|
|
25283
|
-
/** The side panel of the thread view whose timeline surfaced the action. */
|
|
25284
|
-
experimental_panel: ExperimentalPanelController;
|
|
25285
25834
|
/**
|
|
25286
25835
|
* The composer of the thread the message is in, or null when that thread's
|
|
25287
25836
|
* composer is not available on this surface. The same handle
|
|
@@ -25290,12 +25839,13 @@ interface PluginMessageActionContext {
|
|
|
25290
25839
|
composer: PluginComposerApi | null;
|
|
25291
25840
|
}
|
|
25292
25841
|
/**
|
|
25293
|
-
* An action on chat messages in
|
|
25294
|
-
*
|
|
25295
|
-
* the
|
|
25296
|
-
*
|
|
25297
|
-
* supplies title, icon, and `run` behavior only. Resolved icon
|
|
25298
|
-
* plugin branding; omitted or unknown names fall
|
|
25842
|
+
* An action on chat messages in every thread timeline, including embedded
|
|
25843
|
+
* `ThreadChat` timelines unless `experimental_surfaces` narrows it: an icon
|
|
25844
|
+
* button in the per-message action bar (user and assistant messages) and an
|
|
25845
|
+
* entry in the assistant-message text-selection menu. Host-rendered chrome —
|
|
25846
|
+
* the plugin supplies title, icon, and `run` behavior only. Resolved icon
|
|
25847
|
+
* names take precedence over plugin branding; omitted or unknown names fall
|
|
25848
|
+
* back to branding.
|
|
25299
25849
|
*/
|
|
25300
25850
|
interface PluginMessageActionRegistration {
|
|
25301
25851
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
@@ -25303,27 +25853,32 @@ interface PluginMessageActionRegistration {
|
|
|
25303
25853
|
/** Tooltip / menu label for the action. */
|
|
25304
25854
|
title: string;
|
|
25305
25855
|
icon?: BbIconName;
|
|
25856
|
+
/**
|
|
25857
|
+
* Timelines that show the action: `"thread-view"` is bb's thread view and
|
|
25858
|
+
* `"embedded-chat"` an embedded `ThreadChat`. Omit for both. Experimental:
|
|
25859
|
+
* see docs/api_to_audit.md.
|
|
25860
|
+
*/
|
|
25861
|
+
experimental_surfaces?: readonly ExperimentalMessageActionSurface[];
|
|
25306
25862
|
/**
|
|
25307
25863
|
* Runs when the user activates the action. Errors (sync or async) are
|
|
25308
25864
|
* contained and logged; they never break the timeline.
|
|
25309
25865
|
*/
|
|
25310
25866
|
run(context: PluginMessageActionContext): void | Promise<void>;
|
|
25311
25867
|
}
|
|
25312
|
-
/**
|
|
25313
|
-
|
|
25868
|
+
/**
|
|
25869
|
+
* Current context for palette and keyboard command invocations. `navigate`
|
|
25870
|
+
* and `panel` act on the focused surface: the thread view or
|
|
25871
|
+
* New thread screen in focus, or the focused plugin page. On the New thread
|
|
25872
|
+
* screen, a `{ context: { kind: "thread" }, availability: "action" }` tab
|
|
25873
|
+
* resolves against `experimental_newThreadPanelAction` with the same id, so
|
|
25874
|
+
* register both slots with the same id to support commands on both screens.
|
|
25875
|
+
* Panel calls return false when the focused surface has no such tab or no
|
|
25876
|
+
* side panel; guard with `isAvailable` rather than assuming.
|
|
25877
|
+
*/
|
|
25878
|
+
interface PluginCommandContext extends ExperimentalPluginActionContext {
|
|
25314
25879
|
/** The thread in view, or null on a surface without one. */
|
|
25315
25880
|
threadId: string | null;
|
|
25316
25881
|
projectId: string | null;
|
|
25317
|
-
/**
|
|
25318
|
-
* The focused surface's side panel: the thread view or New thread screen
|
|
25319
|
-
* in focus, or the focused plugin page. On the New thread screen, a
|
|
25320
|
-
* `{ context: { kind: "thread" }, availability: "action" }` tab resolves
|
|
25321
|
-
* against `experimental_newThreadPanelAction` with the same id, so register
|
|
25322
|
-
* both slots with the same id to support commands on both screens. Calls
|
|
25323
|
-
* return false when the focused surface has no such tab or no side panel;
|
|
25324
|
-
* guard with `isAvailable` rather than assuming.
|
|
25325
|
-
*/
|
|
25326
|
-
experimental_panel: ExperimentalPanelController;
|
|
25327
25882
|
}
|
|
25328
25883
|
/** A default keyboard shortcut. Omitted modifiers are false. */
|
|
25329
25884
|
interface PluginCommandShortcut {
|
|
@@ -25335,6 +25890,13 @@ interface PluginCommandShortcut {
|
|
|
25335
25890
|
alt?: boolean;
|
|
25336
25891
|
shift?: boolean;
|
|
25337
25892
|
}
|
|
25893
|
+
/** The fields of a keydown that {@link PluginSdkApp.experimental_matchesShortcutKey} reads; DOM and React keyboard events both fit. */
|
|
25894
|
+
interface ExperimentalShortcutKeyEvent {
|
|
25895
|
+
key: string;
|
|
25896
|
+
code: string;
|
|
25897
|
+
altKey: boolean;
|
|
25898
|
+
shiftKey: boolean;
|
|
25899
|
+
}
|
|
25338
25900
|
/**
|
|
25339
25901
|
* A command registered with `app.commands.register`, listed in bb's quick
|
|
25340
25902
|
* palette (Mod+Shift+P) under the plugin's name
|
|
@@ -25379,9 +25941,7 @@ interface ExperimentalComposerCommandRegistration {
|
|
|
25379
25941
|
* Runs with the handling composer, bound to this plugin like `useComposer()`.
|
|
25380
25942
|
* Errors (sync or async) are contained and logged.
|
|
25381
25943
|
*/
|
|
25382
|
-
run(context:
|
|
25383
|
-
composer: PluginComposerApi;
|
|
25384
|
-
}): void | Promise<void>;
|
|
25944
|
+
run(context: ExperimentalComposerActionContext): void | Promise<void>;
|
|
25385
25945
|
}
|
|
25386
25946
|
/** Registers commands for bb's command palette. */
|
|
25387
25947
|
interface PluginAppCommands {
|
|
@@ -25652,13 +26212,13 @@ interface PluginAppSlots {
|
|
|
25652
26212
|
*/
|
|
25653
26213
|
experimental_threadHeaderTitle(registration: ExperimentalThreadHeaderTitleRegistration): void;
|
|
25654
26214
|
/**
|
|
25655
|
-
* Add a row to the thread context card
|
|
26215
|
+
* Add a row to the thread context card, in panes that show one (see
|
|
25656
26216
|
* {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
|
|
25657
26217
|
* docs/api_to_audit.md.
|
|
25658
26218
|
*/
|
|
25659
26219
|
experimental_threadContextCardRow(registration: ExperimentalThreadContextCardRowRegistration): void;
|
|
25660
26220
|
/**
|
|
25661
|
-
* Add a
|
|
26221
|
+
* Add a section to the thread context card, in panes that show one (see
|
|
25662
26222
|
* {@link ExperimentalThreadContextCardSectionRegistration}). Experimental:
|
|
25663
26223
|
* see docs/api_to_audit.md.
|
|
25664
26224
|
*/
|
|
@@ -25900,6 +26460,13 @@ interface ComposerCustomization {
|
|
|
25900
26460
|
id: string;
|
|
25901
26461
|
/** Composer kinds where this customization is active; omit for all kinds. */
|
|
25902
26462
|
scopes?: readonly PluginComposerScope["kind"][];
|
|
26463
|
+
/**
|
|
26464
|
+
* Controls rendered in the composer's action row, before the voice, stop
|
|
26465
|
+
* and submit controls. The collapsed single-line layout leaves them out,
|
|
26466
|
+
* as it does bb's `+` menu and model picker; they show once the composer
|
|
26467
|
+
* expands. bb shows the first three plugins' actions inline and the rest
|
|
26468
|
+
* behind a "More plugin actions" button.
|
|
26469
|
+
*/
|
|
25903
26470
|
actions?: readonly {
|
|
25904
26471
|
id: string;
|
|
25905
26472
|
component: ComponentType;
|
|
@@ -25935,9 +26502,7 @@ interface ComposerPlusMenuItem {
|
|
|
25935
26502
|
/** Accessible description for the host-rendered row. */
|
|
25936
26503
|
description?: string;
|
|
25937
26504
|
disabled?: boolean | ((composer: PluginComposerApi) => boolean);
|
|
25938
|
-
run(context:
|
|
25939
|
-
composer: PluginComposerApi;
|
|
25940
|
-
}): void | Promise<void>;
|
|
26505
|
+
run(context: ExperimentalComposerActionContext): void | Promise<void>;
|
|
25941
26506
|
}
|
|
25942
26507
|
/**
|
|
25943
26508
|
* Host-rendered row in the menu next to the composer's send button, for
|
|
@@ -25952,9 +26517,7 @@ interface ComposerSendMenuItem {
|
|
|
25952
26517
|
/** Accessible description for the host-rendered row. */
|
|
25953
26518
|
description?: string;
|
|
25954
26519
|
disabled?: boolean | ((composer: PluginComposerApi) => boolean);
|
|
25955
|
-
run(context:
|
|
25956
|
-
composer: PluginComposerApi;
|
|
25957
|
-
}): void | Promise<void>;
|
|
26520
|
+
run(context: ExperimentalComposerActionContext): void | Promise<void>;
|
|
25958
26521
|
}
|
|
25959
26522
|
interface ComposerRichTextSpec {
|
|
25960
26523
|
/** Content-derived paint: match ranges receive `className`; text is never mutated. */
|
|
@@ -26322,8 +26885,8 @@ interface ComposerSubmitOptions {
|
|
|
26322
26885
|
/**
|
|
26323
26886
|
* A consumer-supplied action on the messages of one `ThreadChat` instance,
|
|
26324
26887
|
* rendered in the embedded timeline's per-message action bar alongside the
|
|
26325
|
-
* native
|
|
26326
|
-
*
|
|
26888
|
+
* native and slot-registered `messageAction` actions. Unlike the
|
|
26889
|
+
* `messageAction` slot this is scoped to the rendering component, not
|
|
26327
26890
|
* registered globally.
|
|
26328
26891
|
*/
|
|
26329
26892
|
interface ThreadChatMessageAction {
|
|
@@ -26347,7 +26910,7 @@ interface ThreadChatMessageAction {
|
|
|
26347
26910
|
* Props of the host-owned `ThreadChat` component — one thread's chat
|
|
26348
26911
|
* (timeline, and for the composer variants the full send/queue/draft
|
|
26349
26912
|
* engine), rendered by the BB app inside a plugin slot. This is the
|
|
26350
|
-
* deliberate exception to the no-host-components rule
|
|
26913
|
+
* deliberate exception to the no-host-components rule: a stable
|
|
26351
26914
|
* product capability, not a UI kit. Versioned additive like slot props;
|
|
26352
26915
|
* internal timeline rows, query hooks, and prompt-box configuration are
|
|
26353
26916
|
* deliberately not exposed.
|
|
@@ -26562,13 +27125,14 @@ interface NewThreadRequest {
|
|
|
26562
27125
|
* rendered by the BB app inside a plugin slot.
|
|
26563
27126
|
*
|
|
26564
27127
|
* It is the create-side counterpart to `ThreadChat`: same deliberate
|
|
26565
|
-
* exception to the no-host-components rule
|
|
27128
|
+
* exception to the no-host-components rule, same additive versioning.
|
|
26566
27129
|
*/
|
|
26567
27130
|
interface NewThreadComposerProps {
|
|
26568
27131
|
/**
|
|
26569
|
-
* Seeds the project picker.
|
|
26570
|
-
*
|
|
26571
|
-
*
|
|
27132
|
+
* Seeds the project picker. Omitted, the picker starts on the project the
|
|
27133
|
+
* user last picked in bb's New thread view. The user can change it,
|
|
27134
|
+
* including choosing "Don't work in a project"; see
|
|
27135
|
+
* {@link NewThreadRequest.projectId} for the submitted projectless shape.
|
|
26572
27136
|
*/
|
|
26573
27137
|
defaultProjectId?: string;
|
|
26574
27138
|
/**
|
|
@@ -26683,6 +27247,13 @@ interface MarkdownProps {
|
|
|
26683
27247
|
kind: "host";
|
|
26684
27248
|
}>;
|
|
26685
27249
|
};
|
|
27250
|
+
/**
|
|
27251
|
+
* The chat message this Markdown shows. With it, the code-fence renderers
|
|
27252
|
+
* and message directives plugins register render here as they do in the
|
|
27253
|
+
* thread timeline, and receive this as their `message`. Without it, fences
|
|
27254
|
+
* render as code and directives as their source text.
|
|
27255
|
+
*/
|
|
27256
|
+
experimental_message?: PluginMessageDirectiveMessage;
|
|
26686
27257
|
}
|
|
26687
27258
|
/**
|
|
26688
27259
|
* Props for BB's semantic URL link. The host owns ordinary activation while
|
|
@@ -26876,10 +27447,23 @@ interface ExperimentalPanelTabIconProps {
|
|
|
26876
27447
|
/** An {@link ExperimentalPanelTab.key}; renders nothing for a closed tab. */
|
|
26877
27448
|
tabKey: string;
|
|
26878
27449
|
}
|
|
27450
|
+
/** A plugin nav panel page; see {@link BbContext.experimental_pluginPanel}. */
|
|
27451
|
+
interface ExperimentalPluginPanelPage {
|
|
27452
|
+
pluginId: string;
|
|
27453
|
+
/** The panel's registered `path`. */
|
|
27454
|
+
path: string;
|
|
27455
|
+
/** The location inside the panel, percent-encoded like the component's `subPath` prop; empty at the panel's root. */
|
|
27456
|
+
subPath: string;
|
|
27457
|
+
}
|
|
26879
27458
|
/** Current app selection, derived from the route. */
|
|
26880
27459
|
interface BbContext {
|
|
26881
27460
|
projectId: string | null;
|
|
26882
27461
|
threadId: string | null;
|
|
27462
|
+
/**
|
|
27463
|
+
* The plugin nav panel the route shows (any plugin's), or null on other
|
|
27464
|
+
* pages. Experimental: see docs/api_to_audit.md.
|
|
27465
|
+
*/
|
|
27466
|
+
experimental_pluginPanel: ExperimentalPluginPanelPage | null;
|
|
26883
27467
|
}
|
|
26884
27468
|
interface BbNavigate {
|
|
26885
27469
|
/**
|
|
@@ -26905,14 +27489,17 @@ interface BbNavigate {
|
|
|
26905
27489
|
}): void;
|
|
26906
27490
|
/**
|
|
26907
27491
|
* Navigate to the root compose surface (the new-thread screen). Pass
|
|
26908
|
-
* `initialPrompt` to seed the composer draft (serialized
|
|
26909
|
-
* and section mention tokens become pills) and
|
|
26910
|
-
* composer on arrival — the pairing behind
|
|
26911
|
-
* points that drop the user into chat with a
|
|
26912
|
-
* `projectId` makes that project the composer's
|
|
26913
|
-
* files the new thread in a section and pin state
|
|
26914
|
-
*
|
|
26915
|
-
*
|
|
27492
|
+
* `initialPrompt` to seed the composer draft when it is empty (serialized
|
|
27493
|
+
* thread, project, and section mention tokens become pills) and
|
|
27494
|
+
* `focusPrompt` to focus the composer on arrival — the pairing behind
|
|
27495
|
+
* "Create via chat" style entry points that drop the user into chat with a
|
|
27496
|
+
* prefilled prompt. `projectId` makes that project the composer's
|
|
27497
|
+
* selection; `placement` files the new thread in a section and pin state.
|
|
27498
|
+
* Without `placement`, the screen keeps the placement it already shows,
|
|
27499
|
+
* unless `environmentId` or `hostId` is set, which resets it to unpinned
|
|
27500
|
+
* and outside sections. `environmentId` reuses that environment and
|
|
27501
|
+
* `hostId` picks a machine for a new one (`environmentId` wins when both
|
|
27502
|
+
* are set).
|
|
26916
27503
|
*/
|
|
26917
27504
|
toCompose(options?: {
|
|
26918
27505
|
projectId?: string;
|
|
@@ -27459,9 +28046,9 @@ interface PluginSdkApp {
|
|
|
27459
28046
|
*/
|
|
27460
28047
|
experimental_saveFile(request: ExperimentalSaveFileRequest): Promise<ExperimentalSaveFileOutcome>;
|
|
27461
28048
|
/**
|
|
27462
|
-
* The host-owned chat component (see {@link ThreadChatProps})
|
|
27463
|
-
*
|
|
27464
|
-
*
|
|
28049
|
+
* The host-owned chat component (see {@link ThreadChatProps}): bb's own
|
|
28050
|
+
* chat, not a generic UI kit. Generic primitives stay vendored from the BB
|
|
28051
|
+
* registry.
|
|
27465
28052
|
*/
|
|
27466
28053
|
ThreadChat: ComponentType<ThreadChatProps>;
|
|
27467
28054
|
/**
|
|
@@ -27544,10 +28131,12 @@ interface PluginSdkApp {
|
|
|
27544
28131
|
*/
|
|
27545
28132
|
experimental_Diff: ComponentType<DiffProps>;
|
|
27546
28133
|
/**
|
|
27547
|
-
* The thread Info tab
|
|
28134
|
+
* The section frame of the thread Info tab and the thread context card (see
|
|
27548
28135
|
* {@link ExperimentalInfoSectionProps}), the one bb's own sections use.
|
|
27549
|
-
* Inside an `experimental_threadInfoSection` it collapses, and
|
|
27550
|
-
*
|
|
28136
|
+
* Inside an `experimental_threadInfoSection` it collapses, and inside an
|
|
28137
|
+
* `experimental_threadContextCardSection` it folds in the card's style; the
|
|
28138
|
+
* host remembers either per registration. Experimental: see
|
|
28139
|
+
* docs/api_to_audit.md.
|
|
27551
28140
|
*/
|
|
27552
28141
|
experimental_InfoSection: ComponentType<ExperimentalInfoSectionProps>;
|
|
27553
28142
|
/**
|
|
@@ -27633,6 +28222,22 @@ interface PluginSdkApp {
|
|
|
27633
28222
|
experimental_VoiceRecordingBar: ComponentType<ExperimentalVoiceRecordingBarProps>;
|
|
27634
28223
|
experimental_FailedVoiceRecordings: ComponentType<ExperimentalFailedVoiceRecordingsProps>;
|
|
27635
28224
|
experimental_ShortcutHint: ComponentType<ExperimentalShortcutHintProps>;
|
|
28225
|
+
/**
|
|
28226
|
+
* Whether `event` presses `key` (a `PluginCommandShortcut` key such as
|
|
28227
|
+
* `"k"`, `"["` or `"Enter"`), compared the way bb compares keys for its own
|
|
28228
|
+
* keybindings; the caller checks modifiers. Letter, digit and punctuation
|
|
28229
|
+
* keys match by physical position when the active layout types a non-Latin
|
|
28230
|
+
* character there, so Ctrl+K is found on Cyrillic, Greek, Hebrew or Arabic
|
|
28231
|
+
* layouts, while Latin layouts such as Dvorak keep their own letters.
|
|
28232
|
+
* Experimental: see docs/api_to_audit.md.
|
|
28233
|
+
*/
|
|
28234
|
+
experimental_matchesShortcutKey(event: ExperimentalShortcutKeyEvent, key: string): boolean;
|
|
28235
|
+
/**
|
|
28236
|
+
* Cuts `value` to at most `maxChars` UTF-16 code units without splitting a
|
|
28237
|
+
* surrogate pair, so an emoji at the cut is dropped whole instead of leaving
|
|
28238
|
+
* half of it. Experimental: see docs/api_to_audit.md.
|
|
28239
|
+
*/
|
|
28240
|
+
experimental_sliceUtf16Head(value: string, maxChars: number): string;
|
|
27636
28241
|
experimental_ImageLightbox: ComponentType<ExperimentalImageLightboxProps>;
|
|
27637
28242
|
experimental_PromptMentionIcon: ComponentType<ExperimentalPromptMentionIconProps>;
|
|
27638
28243
|
/**
|
|
@@ -27914,5 +28519,7 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
|
|
|
27914
28519
|
readonly storage: "3_storage";
|
|
27915
28520
|
};
|
|
27916
28521
|
|
|
27917
|
-
|
|
27918
|
-
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, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, 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, 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, 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, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
28522
|
+
declare function sliceUtf16Head(value: string, maxChars: number): string;
|
|
28523
|
+
|
|
28524
|
+
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry, getHostPathBasename as experimental_getHostPathBasename, getHostPathComparisonKey as experimental_getHostPathComparisonKey, getHostPathDirname as experimental_getHostPathDirname, getRelativeHostPath as experimental_getRelativeHostPath, isHostPathWithin as experimental_isHostPathWithin, joinHostPath as experimental_joinHostPath, normalizeHostPath as experimental_normalizeHostPath, resolveHostPath as experimental_resolveHostPath, sliceUtf16Head as experimental_sliceUtf16Head };
|
|
28525
|
+
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, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerActionContext, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginPanelPage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutKeyEvent, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, 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, 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, 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, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadSettledEvent, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|