@get-bb/plugin-sdk 0.6.90 → 0.6.99

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.
@@ -29,6 +29,111 @@ type ReadonlyJsonValue = string | number | boolean | null | readonly ReadonlyJso
29
29
  readonly [key: string]: ReadonlyJsonValue;
30
30
  };
31
31
 
32
+ interface ContractTagDeclarations<Input, Output> {
33
+ tags?(input: Input, output: Output): readonly string[];
34
+ keyTags?(key: string, value: Output extends Readonly<Record<string, infer Value>> ? Value : unknown): readonly string[];
35
+ invalidates?(input: Input, output: Output): readonly string[];
36
+ }
37
+
38
+ /** A JSON-safe path segment reported by a Standard Schema validation issue. */
39
+ type PluginRpcIssuePathSegment = string | number;
40
+ /** Validator-neutral validation detail carried by an RPC error envelope. */
41
+ interface PluginRpcValidationIssue {
42
+ message: string;
43
+ path?: PluginRpcIssuePathSegment[];
44
+ }
45
+ declare const rpcErrorCodes: readonly ["forbidden", "not_found", "conflict", "invalid", "invalid_json", "invalid_input", "handler_error", "invalid_output", "non_json_result", "unknown_method", "transport_error", "invalid_response", "unknown_error"];
46
+ /** RPC categories may grow. Handle unknown_error as a fallback for newer server codes. */
47
+ type PluginRpcErrorCode = (typeof rpcErrorCodes)[number];
48
+ /** A client RPC failure. Unknown server codes become unknown_error and remain in serverCode. */
49
+ declare class experimental_PluginRpcCallError extends Error {
50
+ /** Recognizes errors across the packed SDK's separately bundled entries. */
51
+ static [Symbol.hasInstance](value: unknown): boolean;
52
+ readonly code: PluginRpcErrorCode;
53
+ readonly issues?: PluginRpcValidationIssue[];
54
+ readonly status?: number;
55
+ readonly serverCode?: string;
56
+ constructor(args: PluginRpcError & {
57
+ status?: number;
58
+ serverCode?: string;
59
+ });
60
+ /** Normalize failures at the RPC boundary; preserves an existing client error. */
61
+ static from(error: unknown, fallback?: PluginRpcErrorCode): experimental_PluginRpcCallError;
62
+ }
63
+ /** Structured RPC failure returned as `{ ok: false, error }`. */
64
+ interface PluginRpcError {
65
+ code: PluginRpcErrorCode;
66
+ message: string;
67
+ issues?: PluginRpcValidationIssue[];
68
+ }
69
+ /**
70
+ * The validator-neutral subset of Standard Schema v1 used by plugin contracts.
71
+ * Zod 4 schemas implement this interface directly; other validators can do
72
+ * the same without becoming part of BB's public protocol.
73
+ */
74
+ interface StandardSchemaV1<Input = unknown, Output = Input> {
75
+ readonly "~standard": {
76
+ readonly version: 1;
77
+ readonly vendor: string;
78
+ readonly validate: (value: unknown) => StandardSchemaV1Result<Output> | Promise<StandardSchemaV1Result<Output>>;
79
+ readonly jsonSchema?: {
80
+ readonly input: (options: {
81
+ target: string;
82
+ }) => Record<string, unknown>;
83
+ readonly output: (options: {
84
+ target: string;
85
+ }) => Record<string, unknown>;
86
+ };
87
+ readonly types?: {
88
+ readonly input: Input;
89
+ readonly output: Output;
90
+ };
91
+ };
92
+ }
93
+ type StandardSchemaV1Result<Output> = {
94
+ readonly value: Output;
95
+ readonly issues?: undefined;
96
+ } | {
97
+ readonly issues: readonly StandardSchemaV1Issue[];
98
+ };
99
+ interface StandardSchemaV1Issue {
100
+ readonly message: string;
101
+ readonly path?: PropertyKey | readonly (PropertyKey | {
102
+ readonly key: PropertyKey;
103
+ })[];
104
+ }
105
+ type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["input"];
106
+ type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
107
+ interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends Omit<ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>>, "invalidates"> {
108
+ readonly experimental_description?: string;
109
+ /**
110
+ * Host contracts only. When true and the daemon's response has not arrived
111
+ * within half of the call's transport timeout, bb cancels the call and sends
112
+ * it once more, the retry core uses for its own read-only daemon commands.
113
+ * Declare it only for reads that are safe to run twice.
114
+ */
115
+ readonly experimental_retryable?: boolean;
116
+ readonly input: InputSchema;
117
+ readonly output: OutputSchema;
118
+ }
119
+ type PluginRpcContract = Readonly<Record<string, PluginRpcMethodContract>>;
120
+ /** Methods callable with only keys and returning one value per string key. */
121
+ type ExperimentalRpcKeyedMethod<Contract extends PluginRpcContract> = {
122
+ [Method in keyof Contract & string]: {
123
+ keys: string[];
124
+ } extends StandardSchemaV1InferInput<Contract[Method]["input"]> ? StandardSchemaV1InferOutput<Contract[Method]["input"]> extends {
125
+ keys: string[];
126
+ } ? string extends keyof PluginRpcResult<Contract[Method]> ? Method : never : never : never;
127
+ }[keyof Contract & string];
128
+ /** One keyed method's inferred row value. */
129
+ type ExperimentalRpcKeyedValue<Method extends PluginRpcMethodContract> = PluginRpcResult<Method> extends Record<string, infer Value> ? Value : never;
130
+ type PluginRpcHandlers<Contract extends PluginRpcContract> = {
131
+ [Method in keyof Contract]: (input: StandardSchemaV1InferOutput<Contract[Method]["input"]>) => StandardSchemaV1InferInput<Contract[Method]["output"]> | Promise<StandardSchemaV1InferInput<Contract[Method]["output"]>>;
132
+ };
133
+ type PluginRpcCallInput<Method extends PluginRpcMethodContract> = StandardSchemaV1InferInput<Method["input"]>;
134
+ type PluginRpcCallArgs<Method extends PluginRpcMethodContract> = null extends PluginRpcCallInput<Method> ? [input?: PluginRpcCallInput<Method>] : [input: PluginRpcCallInput<Method>];
135
+ type PluginRpcResult<Method extends PluginRpcMethodContract> = StandardSchemaV1InferOutput<Method["output"]>;
136
+
32
137
  declare const appSettingsSchema: z$1.ZodObject<{
33
138
  allowFastServiceTier: z$1.ZodBoolean;
34
139
  confirmThreadArchive: z$1.ZodBoolean;
@@ -47,7 +152,6 @@ declare const appSettingsSchema: z$1.ZodObject<{
47
152
  }>>;
48
153
  providerOrder: z$1.ZodArray<z$1.ZodString>;
49
154
  showDiagnosticEvents: z$1.ZodBoolean;
50
- showGitChanges: z$1.ZodBoolean;
51
155
  showKeyboardHints: z$1.ZodBoolean;
52
156
  steerActiveThreadOnEnter: z$1.ZodBoolean;
53
157
  streamerMode: z$1.ZodBoolean;
@@ -74,7 +178,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
74
178
  }>>;
75
179
  providerOrder: z$1.ZodArray<z$1.ZodString>;
76
180
  showDiagnosticEvents: z$1.ZodBoolean;
77
- showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
78
181
  showKeyboardHints: z$1.ZodBoolean;
79
182
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
80
183
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -99,7 +202,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
99
202
  flat: "flat";
100
203
  }>>;
101
204
  providerOrder: z$1.ZodArray<z$1.ZodString>;
102
- showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
103
205
  showKeyboardHints: z$1.ZodBoolean;
104
206
  showUnhandledProviderEvents: z$1.ZodBoolean;
105
207
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -218,6 +320,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
218
320
  "settings.open": "settings.open";
219
321
  "settings.openServers": "settings.openServers";
220
322
  "sidebar.toggle": "sidebar.toggle";
323
+ "terminal.find": "terminal.find";
221
324
  "terminal.open": "terminal.open";
222
325
  "thread.archive": "thread.archive";
223
326
  "thread.jump.1": "thread.jump.1";
@@ -405,13 +508,10 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
405
508
  "plugins-changed": "plugins-changed";
406
509
  "provider-registrations-changed": "provider-registrations-changed";
407
510
  "server-move-changed": "server-move-changed";
511
+ "ui-preferences-changed": "ui-preferences-changed";
408
512
  }>>>;
409
513
  entity: z$1.ZodLiteral<"system">;
410
514
  type: z$1.ZodLiteral<"changed">;
411
- }, z$1.core.$strict>, z$1.ZodObject<{
412
- entity: z$1.ZodLiteral<"tags">;
413
- tags: z$1.ZodArray<z$1.ZodString>;
414
- type: z$1.ZodLiteral<"changed">;
415
515
  }, z$1.core.$strict>, z$1.ZodObject<{
416
516
  entity: z$1.ZodLiteral<"plugin">;
417
517
  pluginId: z$1.ZodString;
@@ -508,6 +608,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
508
608
  performanceDiagnostics: "performanceDiagnostics";
509
609
  serverMove: "serverMove";
510
610
  sidebarMultiSelect: "sidebarMultiSelect";
611
+ threadRowMetadata: "threadRowMetadata";
511
612
  timelinePush: "timelinePush";
512
613
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
513
614
  websocketCompression: "websocketCompression";
@@ -520,6 +621,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
520
621
  performanceDiagnostics: "performanceDiagnostics";
521
622
  serverMove: "serverMove";
522
623
  sidebarMultiSelect: "sidebarMultiSelect";
624
+ threadRowMetadata: "threadRowMetadata";
523
625
  timelinePush: "timelinePush";
524
626
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
525
627
  websocketCompression: "websocketCompression";
@@ -3327,6 +3429,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3327
3429
  value: z$1.ZodString;
3328
3430
  }, z$1.core.$strip>>>;
3329
3431
  prompt: z$1.ZodString;
3432
+ required: z$1.ZodDefault<z$1.ZodBoolean>;
3330
3433
  shortLabel: z$1.ZodOptional<z$1.ZodString>;
3331
3434
  }, z$1.core.$strip>>;
3332
3435
  }, z$1.core.$strip>;
@@ -3485,6 +3588,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3485
3588
  value: z$1.ZodString;
3486
3589
  }, z$1.core.$strip>>>;
3487
3590
  prompt: z$1.ZodString;
3591
+ required: z$1.ZodDefault<z$1.ZodBoolean>;
3488
3592
  shortLabel: z$1.ZodOptional<z$1.ZodString>;
3489
3593
  }, z$1.core.$strip>>;
3490
3594
  }, z$1.core.$strip>;
@@ -3771,6 +3875,7 @@ declare const providerPendingInteractionSchema: z$1.ZodUnion<readonly [z$1.ZodOb
3771
3875
  value: z$1.ZodString;
3772
3876
  }, z$1.core.$strip>>>;
3773
3877
  prompt: z$1.ZodString;
3878
+ required: z$1.ZodDefault<z$1.ZodBoolean>;
3774
3879
  shortLabel: z$1.ZodOptional<z$1.ZodString>;
3775
3880
  }, z$1.core.$strip>>;
3776
3881
  }, z$1.core.$strip>;
@@ -4396,111 +4501,6 @@ declare const mobileAppDownloads: {
4396
4501
  android: string;
4397
4502
  };
4398
4503
 
4399
- interface ContractTagDeclarations<Input, Output> {
4400
- tags?(input: Input, output: Output): readonly string[];
4401
- keyTags?(key: string, value: Output extends Readonly<Record<string, infer Value>> ? Value : unknown): readonly string[];
4402
- invalidates?(input: Input, output: Output): readonly string[];
4403
- }
4404
-
4405
- /** A JSON-safe path segment reported by a Standard Schema validation issue. */
4406
- type PluginRpcIssuePathSegment = string | number;
4407
- /** Validator-neutral validation detail carried by an RPC error envelope. */
4408
- interface PluginRpcValidationIssue {
4409
- message: string;
4410
- path?: PluginRpcIssuePathSegment[];
4411
- }
4412
- declare const rpcErrorCodes: readonly ["forbidden", "not_found", "conflict", "invalid", "invalid_json", "invalid_input", "handler_error", "invalid_output", "non_json_result", "unknown_method", "transport_error", "invalid_response", "unknown_error"];
4413
- /** RPC categories may grow. Handle unknown_error as a fallback for newer server codes. */
4414
- type PluginRpcErrorCode = (typeof rpcErrorCodes)[number];
4415
- /** A client RPC failure. Unknown server codes become unknown_error and remain in serverCode. */
4416
- declare class experimental_PluginRpcCallError extends Error {
4417
- /** Recognizes errors across the packed SDK's separately bundled entries. */
4418
- static [Symbol.hasInstance](value: unknown): boolean;
4419
- readonly code: PluginRpcErrorCode;
4420
- readonly issues?: PluginRpcValidationIssue[];
4421
- readonly status?: number;
4422
- readonly serverCode?: string;
4423
- constructor(args: PluginRpcError & {
4424
- status?: number;
4425
- serverCode?: string;
4426
- });
4427
- /** Normalize failures at the RPC boundary; preserves an existing client error. */
4428
- static from(error: unknown, fallback?: PluginRpcErrorCode): experimental_PluginRpcCallError;
4429
- }
4430
- /** Structured RPC failure returned as `{ ok: false, error }`. */
4431
- interface PluginRpcError {
4432
- code: PluginRpcErrorCode;
4433
- message: string;
4434
- issues?: PluginRpcValidationIssue[];
4435
- }
4436
- /**
4437
- * The validator-neutral subset of Standard Schema v1 used by plugin contracts.
4438
- * Zod 4 schemas implement this interface directly; other validators can do
4439
- * the same without becoming part of BB's public protocol.
4440
- */
4441
- interface StandardSchemaV1<Input = unknown, Output = Input> {
4442
- readonly "~standard": {
4443
- readonly version: 1;
4444
- readonly vendor: string;
4445
- readonly validate: (value: unknown) => StandardSchemaV1Result<Output> | Promise<StandardSchemaV1Result<Output>>;
4446
- readonly jsonSchema?: {
4447
- readonly input: (options: {
4448
- target: string;
4449
- }) => Record<string, unknown>;
4450
- readonly output: (options: {
4451
- target: string;
4452
- }) => Record<string, unknown>;
4453
- };
4454
- readonly types?: {
4455
- readonly input: Input;
4456
- readonly output: Output;
4457
- };
4458
- };
4459
- }
4460
- type StandardSchemaV1Result<Output> = {
4461
- readonly value: Output;
4462
- readonly issues?: undefined;
4463
- } | {
4464
- readonly issues: readonly StandardSchemaV1Issue[];
4465
- };
4466
- interface StandardSchemaV1Issue {
4467
- readonly message: string;
4468
- readonly path?: PropertyKey | readonly (PropertyKey | {
4469
- readonly key: PropertyKey;
4470
- })[];
4471
- }
4472
- type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["input"];
4473
- type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
4474
- interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
4475
- readonly experimental_description?: string;
4476
- /**
4477
- * Host contracts only. When true and the daemon's response has not arrived
4478
- * within half of the call's transport timeout, bb cancels the call and sends
4479
- * it once more, the retry core uses for its own read-only daemon commands.
4480
- * Declare it only for reads that are safe to run twice.
4481
- */
4482
- readonly experimental_retryable?: boolean;
4483
- readonly input: InputSchema;
4484
- readonly output: OutputSchema;
4485
- }
4486
- type PluginRpcContract = Readonly<Record<string, PluginRpcMethodContract>>;
4487
- /** Methods callable with only keys and returning one value per string key. */
4488
- type ExperimentalRpcKeyedMethod<Contract extends PluginRpcContract> = {
4489
- [Method in keyof Contract & string]: {
4490
- keys: string[];
4491
- } extends StandardSchemaV1InferInput<Contract[Method]["input"]> ? StandardSchemaV1InferOutput<Contract[Method]["input"]> extends {
4492
- keys: string[];
4493
- } ? string extends keyof PluginRpcResult<Contract[Method]> ? Method : never : never : never;
4494
- }[keyof Contract & string];
4495
- /** One keyed method's inferred row value. */
4496
- type ExperimentalRpcKeyedValue<Method extends PluginRpcMethodContract> = PluginRpcResult<Method> extends Record<string, infer Value> ? Value : never;
4497
- type PluginRpcHandlers<Contract extends PluginRpcContract> = {
4498
- [Method in keyof Contract]: (input: StandardSchemaV1InferOutput<Contract[Method]["input"]>) => StandardSchemaV1InferInput<Contract[Method]["output"]> | Promise<StandardSchemaV1InferInput<Contract[Method]["output"]>>;
4499
- };
4500
- type PluginRpcCallInput<Method extends PluginRpcMethodContract> = StandardSchemaV1InferInput<Method["input"]>;
4501
- type PluginRpcCallArgs<Method extends PluginRpcMethodContract> = null extends PluginRpcCallInput<Method> ? [input?: PluginRpcCallInput<Method>] : [input: PluginRpcCallInput<Method>];
4502
- type PluginRpcResult<Method extends PluginRpcMethodContract> = StandardSchemaV1InferOutput<Method["output"]>;
4503
-
4504
4504
  declare const threadContextResponseSchema: z$1.ZodObject<{
4505
4505
  usage: z$1.ZodNullable<z$1.ZodObject<{
4506
4506
  compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
@@ -5931,7 +5931,7 @@ declare const hostDaemonCommandRegistry: {
5931
5931
  model: z$1.ZodString;
5932
5932
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
5933
5933
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5934
- reasoningLevel: z$1.ZodString;
5934
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
5935
5935
  serviceTier: z$1.ZodString;
5936
5936
  sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
5937
5937
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -6263,7 +6263,7 @@ declare const hostDaemonCommandRegistry: {
6263
6263
  model: z$1.ZodString;
6264
6264
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6265
6265
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6266
- reasoningLevel: z$1.ZodString;
6266
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
6267
6267
  serviceTier: z$1.ZodString;
6268
6268
  sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6269
6269
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -6512,7 +6512,7 @@ declare const hostDaemonCommandRegistry: {
6512
6512
  model: z$1.ZodString;
6513
6513
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6514
6514
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6515
- reasoningLevel: z$1.ZodString;
6515
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
6516
6516
  serviceTier: z$1.ZodString;
6517
6517
  sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6518
6518
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -6729,7 +6729,7 @@ declare const hostDaemonCommandRegistry: {
6729
6729
  model: z$1.ZodString;
6730
6730
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6731
6731
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6732
- reasoningLevel: z$1.ZodString;
6732
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
6733
6733
  serviceTier: z$1.ZodString;
6734
6734
  sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6735
6735
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -7782,6 +7782,7 @@ declare const hostDaemonCommandRegistry: {
7782
7782
  }, z$1.core.$strict>>;
7783
7783
  cwd: z$1.ZodOptional<z$1.ZodString>;
7784
7784
  providerId: z$1.ZodString;
7785
+ selectedModel: z$1.ZodOptional<z$1.ZodString>;
7785
7786
  type: z$1.ZodLiteral<"provider.list_models">;
7786
7787
  }, z$1.core.$strip>, z$1.ZodObject<{
7787
7788
  models: z$1.ZodArray<z$1.ZodObject<{
@@ -7791,6 +7792,10 @@ declare const hostDaemonCommandRegistry: {
7791
7792
  id: z$1.ZodString;
7792
7793
  isDefault: z$1.ZodBoolean;
7793
7794
  model: z$1.ZodString;
7795
+ reasoningDiscovery: z$1.ZodDefault<z$1.ZodEnum<{
7796
+ known: "known";
7797
+ unknown: "unknown";
7798
+ }>>;
7794
7799
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
7795
7800
  sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7796
7801
  category: z$1.ZodOptional<z$1.ZodString>;
@@ -7832,6 +7837,10 @@ declare const hostDaemonCommandRegistry: {
7832
7837
  id: z$1.ZodString;
7833
7838
  isDefault: z$1.ZodBoolean;
7834
7839
  model: z$1.ZodString;
7840
+ reasoningDiscovery: z$1.ZodDefault<z$1.ZodEnum<{
7841
+ known: "known";
7842
+ unknown: "unknown";
7843
+ }>>;
7835
7844
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
7836
7845
  sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7837
7846
  category: z$1.ZodOptional<z$1.ZodString>;
@@ -9682,6 +9691,10 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
9682
9691
  id: z$1.ZodString;
9683
9692
  isDefault: z$1.ZodBoolean;
9684
9693
  model: z$1.ZodString;
9694
+ reasoningDiscovery: z$1.ZodDefault<z$1.ZodEnum<{
9695
+ known: "known";
9696
+ unknown: "unknown";
9697
+ }>>;
9685
9698
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
9686
9699
  sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9687
9700
  category: z$1.ZodOptional<z$1.ZodString>;
@@ -9819,6 +9832,10 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
9819
9832
  id: z$1.ZodString;
9820
9833
  isDefault: z$1.ZodBoolean;
9821
9834
  model: z$1.ZodString;
9835
+ reasoningDiscovery: z$1.ZodDefault<z$1.ZodEnum<{
9836
+ known: "known";
9837
+ unknown: "unknown";
9838
+ }>>;
9822
9839
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
9823
9840
  sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9824
9841
  category: z$1.ZodOptional<z$1.ZodString>;
@@ -9868,6 +9885,7 @@ declare const systemExecutionOptionsQuerySchema: z$1.ZodObject<{
9868
9885
  hostId: z$1.ZodOptional<z$1.ZodString>;
9869
9886
  projectId: z$1.ZodOptional<z$1.ZodString>;
9870
9887
  providerId: z$1.ZodOptional<z$1.ZodString>;
9888
+ selectedModel: z$1.ZodOptional<z$1.ZodString>;
9871
9889
  }, z$1.core.$strip>;
9872
9890
  type SystemExecutionOptionsQuery = z$1.infer<typeof systemExecutionOptionsQuerySchema>;
9873
9891
  declare const systemUsageLimitsQuerySchema: z$1.ZodObject<{
@@ -10176,6 +10194,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10176
10194
  "settings.open": "settings.open";
10177
10195
  "settings.openServers": "settings.openServers";
10178
10196
  "sidebar.toggle": "sidebar.toggle";
10197
+ "terminal.find": "terminal.find";
10179
10198
  "terminal.open": "terminal.open";
10180
10199
  "thread.archive": "thread.archive";
10181
10200
  "thread.jump.1": "thread.jump.1";
@@ -10248,6 +10267,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10248
10267
  performanceDiagnostics: "performanceDiagnostics";
10249
10268
  serverMove: "serverMove";
10250
10269
  sidebarMultiSelect: "sidebarMultiSelect";
10270
+ threadRowMetadata: "threadRowMetadata";
10251
10271
  timelinePush: "timelinePush";
10252
10272
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
10253
10273
  websocketCompression: "websocketCompression";
@@ -10275,7 +10295,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10275
10295
  }>>;
10276
10296
  providerOrder: z$1.ZodArray<z$1.ZodString>;
10277
10297
  showDiagnosticEvents: z$1.ZodBoolean;
10278
- showGitChanges: z$1.ZodBoolean;
10279
10298
  showKeyboardHints: z$1.ZodBoolean;
10280
10299
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
10281
10300
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -10346,6 +10365,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10346
10365
  "settings.open": "settings.open";
10347
10366
  "settings.openServers": "settings.openServers";
10348
10367
  "sidebar.toggle": "sidebar.toggle";
10368
+ "terminal.find": "terminal.find";
10349
10369
  "terminal.open": "terminal.open";
10350
10370
  "thread.archive": "thread.archive";
10351
10371
  "thread.jump.1": "thread.jump.1";
@@ -10444,6 +10464,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10444
10464
  "settings.open": "settings.open";
10445
10465
  "settings.openServers": "settings.openServers";
10446
10466
  "sidebar.toggle": "sidebar.toggle";
10467
+ "terminal.find": "terminal.find";
10447
10468
  "terminal.open": "terminal.open";
10448
10469
  "thread.archive": "thread.archive";
10449
10470
  "thread.jump.1": "thread.jump.1";
@@ -12050,6 +12071,7 @@ declare const timelineQuestionWorkRowSchema: z$1.ZodObject<{
12050
12071
  value: z$1.ZodString;
12051
12072
  }, z$1.core.$strip>>>;
12052
12073
  prompt: z$1.ZodString;
12074
+ required: z$1.ZodDefault<z$1.ZodBoolean>;
12053
12075
  shortLabel: z$1.ZodOptional<z$1.ZodString>;
12054
12076
  }, z$1.core.$strip>>;
12055
12077
  sourceSeqEnd: z$1.ZodNumber;
@@ -14283,6 +14305,7 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
14283
14305
  value: z$1.ZodString;
14284
14306
  }, z$1.core.$strip>>>;
14285
14307
  prompt: z$1.ZodString;
14308
+ required: z$1.ZodDefault<z$1.ZodBoolean>;
14286
14309
  shortLabel: z$1.ZodOptional<z$1.ZodString>;
14287
14310
  }, z$1.core.$strip>>;
14288
14311
  }, z$1.core.$strip>;
@@ -19091,26 +19114,6 @@ interface PluginThreadListProps {
19091
19114
  */
19092
19115
  searchQuery: string;
19093
19116
  }
19094
- /**
19095
- * Props passed to an `experimental_threadHeaderAction` component, rendered in
19096
- * the thread header's action row.
19097
- */
19098
- interface PluginThreadHeaderActionProps {
19099
- /**
19100
- * The thread this header belongs to. Never null: the slot is not rendered
19101
- * on the compose screen or other non-thread routes. A split layout renders
19102
- * one header per pane, so the component mounts once per visible thread,
19103
- * each with its own id — keep per-thread state in the component, never in a
19104
- * module-level singleton.
19105
- */
19106
- threadId: string;
19107
- projectId: string;
19108
- /**
19109
- * True on phone-width viewports and coarse pointers. Collapse to an
19110
- * icon-sized control when it is true — the row is short.
19111
- */
19112
- isCompactViewport: boolean;
19113
- }
19114
19117
  /** JavaScript world a Browser page expression runs in. */
19115
19118
  type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
19116
19119
  interface ExperimentalPluginBrowserPageEvaluateOptions {
@@ -19805,6 +19808,11 @@ interface PluginSidebarThread {
19805
19808
  * when its owner stops); null when the thread owns its own lifecycle.
19806
19809
  */
19807
19810
  lifecycleOwnerThreadId: string | null;
19811
+ /**
19812
+ * Which of this child's outcomes wake its parent: "auto" (every outcome),
19813
+ * "stuck" (failures, interruptions, and blockers), or "off".
19814
+ */
19815
+ parentNotifications: ThreadParentNotifications;
19808
19816
  /** The thread this one was forked from; null unless `originKind` is "fork". */
19809
19817
  sourceThreadId: string | null;
19810
19818
  sectionId: string | null;
@@ -20139,27 +20147,61 @@ interface PluginSidebarThreadShortcut {
20139
20147
  ariaKeyshortcuts: string;
20140
20148
  }
20141
20149
  /**
20142
- * Render a plugin component in the thread header's action row.
20143
- *
20144
- * The frontend sibling of the backend `bb.ui.registerThreadAction`, which
20145
- * renders a host-owned button and runs server-side. Use that one for "do a
20146
- * thing"; use this one when the control must draw live state.
20147
- *
20148
- * The host places it at the left end of the action row, before the workspace
20149
- * button, git actions, the panel toggle, maximize, and close. That row is a
20150
- * 48px chrome row with 28px controls: render one inline control that fits, and
20151
- * put anything taller in a portalled popover.
20150
+ * Props passed to an `experimental_threadRowMetadata` component, rendered on a
20151
+ * thread's row in a thread list: bb's sidebar and any list that draws
20152
+ * {@link PluginSdkApp.experimental_ThreadRowMetadata}.
20153
+ */
20154
+ interface ExperimentalThreadRowMetadataProps<Data = undefined> {
20155
+ /** The row's thread, the same value the list renders. */
20156
+ thread: PluginSidebarThread;
20157
+ /** What `useData` last returned; undefined when the registration has none. */
20158
+ data: Data;
20159
+ }
20160
+ /** What a row metadata registration's `useData` receives. */
20161
+ interface ExperimentalThreadRowMetadataDataInput {
20162
+ /**
20163
+ * Every thread a list may draw a metadata line for: bb's active sidebar
20164
+ * threads in sidebar order, then any other thread whose line is mounted
20165
+ * (such as an archived row), deduplicated. Threads whose rows are not
20166
+ * rendered, like a windowed list's rows off screen, are included: load
20167
+ * them all in one batch so a row has its data, and its final height, when
20168
+ * it renders.
20169
+ */
20170
+ threads: readonly PluginSidebarThread[];
20171
+ }
20172
+ /**
20173
+ * A small item on a thread row's metadata line, under the title: a badge, not
20174
+ * a control. Items share one line, left to right, and the line clips at the
20175
+ * row's edge. bb's sidebar draws the line only while the `threadRowMetadata`
20176
+ * experiment is on and the user turns on Organize → Rows → Metadata, and only
20177
+ * on rows where an item shows something.
20178
+ * Load the line's data in `useData`, a React hook bb calls once for the
20179
+ * whole app while any list draws a metadata line, never per row; it
20180
+ * receives every thread a list may show, so read them in one batch (for
20181
+ * example one `experimental_useRpcKeyedQuery` over their keys). The
20182
+ * component is then a pure render of its thread and `data`; with `useData`
20183
+ * it first renders once `useData` has returned. A row that renders already
20184
+ * has its data, so rows keep their height as they scroll into view.
20185
+ * It hides the line while the row is renamed or customized and keeps it
20186
+ * visible on hover. Render null to show nothing for a thread. Keep
20187
+ * it to an icon and a few characters with a tooltip; clicks on it open the
20188
+ * thread like the rest of the row. A crash removes only this item for that
20189
+ * row.
20152
20190
  */
20153
- interface PluginThreadHeaderActionRegistration {
20191
+ interface ExperimentalThreadRowMetadataRegistration<Data = undefined> {
20154
20192
  /** Unique within the plugin; letters, digits, `-`, `_`. */
20155
20193
  id: string;
20156
20194
  /**
20157
- * Names the region the host wraps around your component (a labelled group).
20158
- * It does NOT label your control: an icon-only button still needs its own
20159
- * accessible name.
20195
+ * Items sort by `order` (unset sorts last), then registration order. The
20196
+ * first item starts the line.
20160
20197
  */
20161
- title: string;
20162
- component: ComponentType<PluginThreadHeaderActionProps>;
20198
+ order?: number;
20199
+ useData?(input: ExperimentalThreadRowMetadataDataInput): Data;
20200
+ component: ComponentType<ExperimentalThreadRowMetadataProps<Data>>;
20201
+ }
20202
+ /** Props for {@link PluginSdkApp.experimental_ThreadRowMetadata}. */
20203
+ interface ExperimentalThreadRowMetadataLineProps {
20204
+ thread: PluginSidebarThread;
20163
20205
  }
20164
20206
  /**
20165
20207
  * Props passed to an `experimental_threadInfoRow` or
@@ -20197,8 +20239,7 @@ interface ExperimentalThreadContextSegmentInput {
20197
20239
  projectId: string;
20198
20240
  /**
20199
20241
  * The thread's environment, or null when the thread has no environment,
20200
- * its host is not active, the environment is not a usable checkout, or the
20201
- * user turned off "Show Git changes and Commit button".
20242
+ * its host is not active, or the environment is not a usable checkout.
20202
20243
  */
20203
20244
  environment: ExperimentalThreadEnvironment | null;
20204
20245
  }
@@ -20354,6 +20395,8 @@ interface PluginThreadActionTarget {
20354
20395
  id: string;
20355
20396
  projectId: string;
20356
20397
  parentThreadId: string | null;
20398
+ /** Which of this child's outcomes wake its parent; see `PluginSidebarThread`. */
20399
+ parentNotifications: ThreadParentNotifications;
20357
20400
  archivedAt: number | null;
20358
20401
  pinnedAt: number | null;
20359
20402
  sectionId: string | null;
@@ -20426,7 +20469,8 @@ interface PluginThreadActionDataInput {
20426
20469
  /**
20427
20470
  * Every thread a visible surface currently shows actions for (sidebar rows
20428
20471
  * on screen, the open thread's header, open menus); a hidden sidebar
20429
- * contributes none. Sorted, deduplicated, and published once the set has
20472
+ * contributes none. A `"header"` action receives only the threads whose
20473
+ * header is on screen. Sorted, deduplicated, and published once the set has
20430
20474
  * been quiet for 32 ms (at most 100 ms after the first change), so rows
20431
20475
  * that mount a frame apart arrive together. Load per-thread state for these
20432
20476
  * ids, fetching only ids not loaded yet.
@@ -20479,6 +20523,9 @@ interface PluginThreadActionBulkItemInput<Data> {
20479
20523
  * derives the action for one thread from that thread and `data`, closing over
20480
20524
  * everything `run` needs, or returns null to hide it. A throw from either
20481
20525
  * drops only this registration.
20526
+ *
20527
+ * With `placement: "header"` the action is a button in the open thread's
20528
+ * header instead (see {@link PluginThreadActionPlacement}).
20482
20529
  */
20483
20530
  interface PluginThreadActionRegistration<Data = undefined> {
20484
20531
  /** Unique within the plugin; letters, digits, `-`, `_`. */
@@ -20496,6 +20543,8 @@ interface PluginThreadActionRegistration<Data = undefined> {
20496
20543
  */
20497
20544
  group: string;
20498
20545
  order?: number;
20546
+ /** Where the action shows; defaults to `"menu"`. */
20547
+ placement?: PluginThreadActionPlacement;
20499
20548
  useData?(input: PluginThreadActionDataInput): Data;
20500
20549
  item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
20501
20550
  /**
@@ -20508,6 +20557,21 @@ interface PluginThreadActionRegistration<Data = undefined> {
20508
20557
  */
20509
20558
  experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
20510
20559
  }
20560
+ /**
20561
+ * Where a thread action shows.
20562
+ *
20563
+ * - `"menu"`: every thread actions menu and the quick-action picker.
20564
+ * - `"header"`: only the open thread's header, as an outline button labelled
20565
+ * with the action's `label`, after the workspace's Open button. Several
20566
+ * header actions share one split button, the first as its main action. At
20567
+ * compact width and in narrow split panes the buttons fold into the
20568
+ * header's thread menu as rows at its top, after Open. `group` and `order`
20569
+ * sort header actions among themselves. Header actions never appear in
20570
+ * other menus, selection menus, `experimental_useThreadActions`, or the
20571
+ * quick-action picker, and an action that returns `choices` is left out
20572
+ * of the header.
20573
+ */
20574
+ type PluginThreadActionPlacement = "header" | "menu";
20511
20575
  /**
20512
20576
  * A thread action as {@link PluginSdkApp.experimental_useThreadActions}
20513
20577
  * returns it: `run` is bound to the caller's `requestRename` (or bb's rename
@@ -21467,6 +21531,37 @@ interface ThreadChatMessageReference {
21467
21531
  */
21468
21532
  experimental_messageSeq: number;
21469
21533
  }
21534
+ /** Stable identity and creation time of one rendered conversation message. */
21535
+ type ExperimentalMessageMetadataContext = Pick<ThreadChatMessageReference, "id" | "threadId"> & {
21536
+ /** Unix time in milliseconds, supplied by BB's timeline. */
21537
+ createdAt: number;
21538
+ /** The containing turn, or null for a message outside a turn. */
21539
+ turnId: string | null;
21540
+ } & ({
21541
+ role: "user";
21542
+ initiator: "agent" | "system" | "user";
21543
+ } | {
21544
+ role: "assistant";
21545
+ });
21546
+ /** Props for a metadata component mounted only beside realized messages. */
21547
+ interface ExperimentalMessageMetadataProps {
21548
+ message: ExperimentalMessageMetadataContext;
21549
+ }
21550
+ /**
21551
+ * Where message metadata renders. `"above"` sits over the message, aligned to
21552
+ * its side. `"actionRow"` sits in the message's action row and shows and hides
21553
+ * with the actions, before them on user messages and after the overflow menu
21554
+ * on assistant messages. It extends into the space beside the message rather
21555
+ * than narrowing the actions.
21556
+ */
21557
+ type ExperimentalMessageMetadataPlacement = "above" | "actionRow";
21558
+ /** A React contribution beside a conversation message. */
21559
+ interface ExperimentalMessageMetadataRegistration {
21560
+ id: string;
21561
+ /** Omitted means above. */
21562
+ placement?: ExperimentalMessageMetadataPlacement;
21563
+ component: ComponentType<ExperimentalMessageMetadataProps>;
21564
+ }
21470
21565
  /** Context handed to a `messageAction`'s `run`. */
21471
21566
  interface PluginMessageActionContext {
21472
21567
  /** The thread whose timeline surfaced the action. */
@@ -21805,18 +21900,19 @@ interface PluginAppSlots {
21805
21900
  * docs/api_to_audit.md.
21806
21901
  */
21807
21902
  experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
21808
- /**
21809
- * Render a component in the thread header's action row (see
21810
- * {@link PluginThreadHeaderActionRegistration}). Experimental: see
21811
- * docs/api_to_audit.md.
21812
- */
21813
- experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
21814
21903
  /**
21815
21904
  * Add context beside an existing thread's composer (see
21816
21905
  * {@link ExperimentalThreadContextSegmentRegistration}). Experimental: see
21817
21906
  * docs/api_to_audit.md.
21818
21907
  */
21819
21908
  experimental_threadContextSegment(registration: ExperimentalThreadContextSegmentRegistration): void;
21909
+ /**
21910
+ * Add a small item to the metadata line of every thread row in thread
21911
+ * lists (see
21912
+ * {@link ExperimentalThreadRowMetadataRegistration}). Experimental: see
21913
+ * docs/api_to_audit.md.
21914
+ */
21915
+ experimental_threadRowMetadata<Data = undefined>(registration: ExperimentalThreadRowMetadataRegistration<Data>): void;
21820
21916
  /**
21821
21917
  * Add a row to the thread Info tab's details block (see
21822
21918
  * {@link ExperimentalThreadInfoRowRegistration}). Experimental: see
@@ -21864,6 +21960,8 @@ interface PluginAppSlots {
21864
21960
  */
21865
21961
  experimental_codeFenceRenderer(registration: ExperimentalCodeFenceRendererRegistration): void;
21866
21962
  messageAction(registration: PluginMessageActionRegistration): void;
21963
+ /** Register React message metadata. Experimental: see docs/api_to_audit.md. */
21964
+ experimental_messageMetadata(registration: ExperimentalMessageMetadataRegistration): void;
21867
21965
  /**
21868
21966
  * @deprecated Use `app.commands.register` with the same registration.
21869
21967
  * Both entry points share the same command registry and ID namespace.
@@ -23054,7 +23152,7 @@ interface ExperimentalRpcQueryState<T> {
23054
23152
  isLoading: boolean;
23055
23153
  /** A read attempt is active, including background refreshes. Keyed consumers share this activity for their method; offline-paused reads are not fetching. */
23056
23154
  isFetching: boolean;
23057
- /** Force a read regardless of freshness and wait for its attempt/retries. Keyed reads refresh the method's subscribed keys. Failures update error and retain data; this promise resolves rather than rejecting. */
23155
+ /** Force a read regardless of freshness and wait for its attempt/retries. Keyed reads refresh only this hook's keys, batched with other hooks refreshing in the same render. Failures update error and retain data; this promise resolves rather than rejecting. */
23058
23156
  refetch(): Promise<void>;
23059
23157
  }
23060
23158
  interface ExperimentalRpcKeyedQueryState<T, Selection = Record<string, T>> extends ExperimentalRpcQueryState<Selection> {
@@ -23093,10 +23191,10 @@ interface ExperimentalRpcMutationOptions<Contract extends PluginRpcContract, Met
23093
23191
  optimistic?(input: StandardSchemaV1InferInput<Contract[Method]["input"]>, cache: ExperimentalRpcOptimisticCache<Contract>): void;
23094
23192
  }
23095
23193
  /**
23096
- * One mutation hook's state. `mutate` calls the RPC, invalidates the
23097
- * response's `invalidated` tags on this client immediately, and resolves when
23098
- * the server acknowledges the write. Matched reads refresh in the background. `error` holds the last failure
23099
- * until the next `mutate` or `reset`.
23194
+ * One mutation hook's state. `mutate` calls the RPC and resolves when the
23195
+ * server acknowledges the write. Reads refresh in the background when the
23196
+ * server marks their tags stale with `bb.rpc.experimental_invalidate`.
23197
+ * `error` holds the last failure until the next `mutate` or `reset`.
23100
23198
  */
23101
23199
  interface ExperimentalRpcMutationState<Method extends PluginRpcMethodContract> {
23102
23200
  /** Resolves at write acknowledgement; rejects with experimental_PluginRpcCallError. Refreshes continue in the background without releasing predictions before confirmed reads. */
@@ -23107,6 +23205,30 @@ interface ExperimentalRpcMutationState<Method extends PluginRpcMethodContract> {
23107
23205
  error: experimental_PluginRpcCallError | null;
23108
23206
  reset(): void;
23109
23207
  }
23208
+ /**
23209
+ * A bb server this client can switch to (see
23210
+ * {@link PluginSdkApp.experimental_useServers}).
23211
+ */
23212
+ interface ExperimentalServer {
23213
+ /** Stable while the user keeps the server. Editing a custom server's URL gives it a new id. */
23214
+ id: string;
23215
+ name: string;
23216
+ /** Scheme, host and port only, never login details or a path. */
23217
+ origin: string;
23218
+ /** `local` is bb Desktop's built-in server, `account` comes from the user's bb account, and `custom` is an address the user added. */
23219
+ kind: "account" | "custom" | "local";
23220
+ /** True for the server this page is loaded from. */
23221
+ active: boolean;
23222
+ }
23223
+ /** The viewing client's servers (see {@link PluginSdkApp.experimental_useServers}). */
23224
+ interface ExperimentalServers {
23225
+ /** `loading` until bb Desktop answers, briefly after the page loads. The mobile app's list is ready at once. */
23226
+ status: "loading" | "ready";
23227
+ /** In the client's own order; empty while loading. Changes as the user adds, renames or removes servers. */
23228
+ servers: readonly ExperimentalServer[];
23229
+ /** Switch this client to the server and reload the page on it, unloading every plugin. Ignores the active server and unknown ids. */
23230
+ switchTo(id: string): void;
23231
+ }
23110
23232
  /**
23111
23233
  * Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
23112
23234
  * the real implementation and `satisfies` this interface; `bb plugin build`
@@ -23126,7 +23248,7 @@ interface PluginSdkApp {
23126
23248
  experimental_useRpcQuery<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcQueryOptions<Contract, Method>): ExperimentalRpcQueryState<PluginRpcResult<Contract[Method]>>;
23127
23249
  /** Call a mutating RPC through BB's query client; pending until the server acknowledges the write; matched reads refresh in the background. */
23128
23250
  experimental_useRpcMutation<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcMutationOptions<Contract, Method>): ExperimentalRpcMutationState<Contract[Method]>;
23129
- /** Cache each key independently and batch missing or invalidated keys in the same render. */
23251
+ /** Cache each key independently and batch missing or invalidated keys in the same render. Each key is watched once while the hook holds it, so a changing key list subscribes only added keys and releases only removed ones. */
23130
23252
  experimental_useRpcKeyedQuery<Contract extends PluginRpcContract, Method extends ExperimentalRpcKeyedMethod<Contract>, Selection = Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>>(options: {
23131
23253
  contract: Contract;
23132
23254
  pluginId?: string;
@@ -23198,6 +23320,11 @@ interface PluginSdkApp {
23198
23320
  * tabs. Experimental: see docs/api_to_audit.md.
23199
23321
  */
23200
23322
  experimental_useTabVisible(): boolean;
23323
+ /**
23324
+ * The servers this client can switch between, the list bb's command palette
23325
+ * offers. Null when the client keeps no server list: any web browser.
23326
+ */
23327
+ experimental_useServers(): ExperimentalServers | null;
23201
23328
  /**
23202
23329
  * The side panel of the surface the calling component renders in: the
23203
23330
  * thread view, the plugin page, or the New thread screen.
@@ -23248,7 +23375,7 @@ interface PluginSdkApp {
23248
23375
  */
23249
23376
  experimental_useArchiveEnvironmentThreads(): (environmentId: string) => Promise<void>;
23250
23377
  /**
23251
- * Every thread action for one thread, in menu order (see
23378
+ * Every `"menu"` thread action for one thread, in menu order (see
23252
23379
  * {@link PluginThreadAction} for grouping): bb's own registrations first,
23253
23380
  * then plugins' in registration order. Registrations' `useData` hooks run
23254
23381
  * once for the app, so calling this per sidebar row costs one store
@@ -23257,8 +23384,9 @@ interface PluginSdkApp {
23257
23384
  */
23258
23385
  experimental_useThreadActions(thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions): readonly PluginThreadActionEntry[];
23259
23386
  /**
23260
- * Every registered thread action with its static title and icon, in menu
23261
- * order and independent of any thread: what a quick-action picker lists.
23387
+ * Every registered `"menu"` thread action with its static title and icon,
23388
+ * in menu order and independent of any thread: what a quick-action picker
23389
+ * lists.
23262
23390
  * Experimental: see docs/api_to_audit.md.
23263
23391
  */
23264
23392
  experimental_useThreadActionRegistrations(): readonly PluginThreadActionRegistrationInfo[];
@@ -23402,6 +23530,15 @@ interface PluginSdkApp {
23402
23530
  * Experimental: see docs/api_to_audit.md.
23403
23531
  */
23404
23532
  experimental_ThreadStatusGlyph: ComponentType<PluginThreadStatusGlyphProps>;
23533
+ /**
23534
+ * Every `experimental_threadRowMetadata` contribution for one thread row (see
23535
+ * {@link ExperimentalThreadRowMetadataRegistration}), the items bb's sidebar
23536
+ * draws on its rows' metadata line. Render it under your row's title, in
23537
+ * a flex parent as wide as the line. Badges such as a pull request's status then appear on your rows as they do on
23538
+ * bb's. It renders nothing when no plugin contributes an item.
23539
+ * Experimental: see docs/api_to_audit.md.
23540
+ */
23541
+ experimental_ThreadRowMetadata: ComponentType<ExperimentalThreadRowMetadataLineProps>;
23405
23542
  /**
23406
23543
  * bb's environment provider catalog (see
23407
23544
  * {@link PluginEnvironmentProvidersState}), the directory a thread's
@@ -23711,6 +23848,7 @@ declare const experimental_useQuestionFormHost: () => ExperimentalQuestionFormHo
23711
23848
  declare const useBbNavigate: () => BbNavigate;
23712
23849
  declare const experimental_useCanOpenFileExternally: (target: ExperimentalLiveFileTarget) => boolean;
23713
23850
  declare const experimental_useTabVisible: () => boolean;
23851
+ declare const experimental_useServers: () => ExperimentalServers | null;
23714
23852
  declare const experimental_useAppPanel: () => ExperimentalPanelController;
23715
23853
  declare const experimental_useFixedTabTarget: <Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>) => ExperimentalFixedTabTargetState<Target> | null;
23716
23854
  declare const useComposer: () => PluginComposerApi;
@@ -23754,6 +23892,7 @@ declare const useSidebarSplitLayout: () => PluginSidebarSplitLayout | null;
23754
23892
  declare const useSidebarThreadShortcut: (threadId: string) => PluginSidebarThreadShortcut | null;
23755
23893
  declare const ThreadTitle: react.ComponentType<PluginThreadTitleProps>;
23756
23894
  declare const experimental_ThreadStatusGlyph: react.ComponentType<PluginThreadStatusGlyphProps>;
23895
+ declare const experimental_ThreadRowMetadata: react.ComponentType<ExperimentalThreadRowMetadataLineProps>;
23757
23896
  declare const useEnvironmentProviders: () => PluginEnvironmentProvidersState;
23758
23897
  declare const useSdk: () => PluginBrowserBbSdk;
23759
23898
  declare const experimental_useProviders: () => PluginProvidersState;
@@ -23763,5 +23902,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
23763
23902
  declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
23764
23903
  declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
23765
23904
 
23766
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23767
- export type { BbContext, BbNavigate, 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, 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, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, 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, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
23905
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23906
+ export type { BbContext, BbNavigate, 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, 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, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, 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, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };