@get-bb/plugin-sdk 0.6.94 → 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.
- package/bundled-types/bb-plugin-sdk-app.d.ts +209 -119
- package/bundled-types/bb-plugin-sdk-host.d.ts +64 -64
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +18 -8
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +2 -1
- package/bundled-types/bb-plugin-sdk-internal-rpc-query-host.d.ts +6 -6
- package/bundled-types/bb-plugin-sdk-internal-rpc-tags.d.ts +1 -1
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +4 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +4 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +2 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +12 -1
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +8 -1
- package/bundled-types/bb-plugin-sdk-testing.d.ts +11 -8
- package/bundled-types/bb-plugin-sdk.d.ts +284 -181
- package/dist/app.js +4 -0
- package/dist/internal/host-policy.js +1 -3
- package/dist/internal/plugin-app-collector.js +18 -0
- package/dist/internal/rpc-query-host.js +4 -10
- package/dist/provider-bridge-acp-next.js +2158 -2016
- package/dist/provider-bridge-acp.js +2158 -2016
- package/dist/provider-bridge-testing.js +112 -127
- package/dist/provider-bridge.js +608 -592
- package/dist/testing/app.js +26 -10
- package/dist/testing/index.js +5 -4
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -403,13 +508,10 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
403
508
|
"plugins-changed": "plugins-changed";
|
|
404
509
|
"provider-registrations-changed": "provider-registrations-changed";
|
|
405
510
|
"server-move-changed": "server-move-changed";
|
|
511
|
+
"ui-preferences-changed": "ui-preferences-changed";
|
|
406
512
|
}>>>;
|
|
407
513
|
entity: z$1.ZodLiteral<"system">;
|
|
408
514
|
type: z$1.ZodLiteral<"changed">;
|
|
409
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
410
|
-
entity: z$1.ZodLiteral<"tags">;
|
|
411
|
-
tags: z$1.ZodArray<z$1.ZodString>;
|
|
412
|
-
type: z$1.ZodLiteral<"changed">;
|
|
413
515
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
414
516
|
entity: z$1.ZodLiteral<"plugin">;
|
|
415
517
|
pluginId: z$1.ZodString;
|
|
@@ -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<{
|
|
@@ -12053,6 +12071,7 @@ declare const timelineQuestionWorkRowSchema: z$1.ZodObject<{
|
|
|
12053
12071
|
value: z$1.ZodString;
|
|
12054
12072
|
}, z$1.core.$strip>>>;
|
|
12055
12073
|
prompt: z$1.ZodString;
|
|
12074
|
+
required: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
12056
12075
|
shortLabel: z$1.ZodOptional<z$1.ZodString>;
|
|
12057
12076
|
}, z$1.core.$strip>>;
|
|
12058
12077
|
sourceSeqEnd: z$1.ZodNumber;
|
|
@@ -14286,6 +14305,7 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
|
|
|
14286
14305
|
value: z$1.ZodString;
|
|
14287
14306
|
}, z$1.core.$strip>>>;
|
|
14288
14307
|
prompt: z$1.ZodString;
|
|
14308
|
+
required: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
14289
14309
|
shortLabel: z$1.ZodOptional<z$1.ZodString>;
|
|
14290
14310
|
}, z$1.core.$strip>>;
|
|
14291
14311
|
}, z$1.core.$strip>;
|
|
@@ -19788,6 +19808,11 @@ interface PluginSidebarThread {
|
|
|
19788
19808
|
* when its owner stops); null when the thread owns its own lifecycle.
|
|
19789
19809
|
*/
|
|
19790
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;
|
|
19791
19816
|
/** The thread this one was forked from; null unless `originKind` is "fork". */
|
|
19792
19817
|
sourceThreadId: string | null;
|
|
19793
19818
|
sectionId: string | null;
|
|
@@ -20370,6 +20395,8 @@ interface PluginThreadActionTarget {
|
|
|
20370
20395
|
id: string;
|
|
20371
20396
|
projectId: string;
|
|
20372
20397
|
parentThreadId: string | null;
|
|
20398
|
+
/** Which of this child's outcomes wake its parent; see `PluginSidebarThread`. */
|
|
20399
|
+
parentNotifications: ThreadParentNotifications;
|
|
20373
20400
|
archivedAt: number | null;
|
|
20374
20401
|
pinnedAt: number | null;
|
|
20375
20402
|
sectionId: string | null;
|
|
@@ -21504,6 +21531,37 @@ interface ThreadChatMessageReference {
|
|
|
21504
21531
|
*/
|
|
21505
21532
|
experimental_messageSeq: number;
|
|
21506
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
|
+
}
|
|
21507
21565
|
/** Context handed to a `messageAction`'s `run`. */
|
|
21508
21566
|
interface PluginMessageActionContext {
|
|
21509
21567
|
/** The thread whose timeline surfaced the action. */
|
|
@@ -21902,6 +21960,8 @@ interface PluginAppSlots {
|
|
|
21902
21960
|
*/
|
|
21903
21961
|
experimental_codeFenceRenderer(registration: ExperimentalCodeFenceRendererRegistration): void;
|
|
21904
21962
|
messageAction(registration: PluginMessageActionRegistration): void;
|
|
21963
|
+
/** Register React message metadata. Experimental: see docs/api_to_audit.md. */
|
|
21964
|
+
experimental_messageMetadata(registration: ExperimentalMessageMetadataRegistration): void;
|
|
21905
21965
|
/**
|
|
21906
21966
|
* @deprecated Use `app.commands.register` with the same registration.
|
|
21907
21967
|
* Both entry points share the same command registry and ID namespace.
|
|
@@ -23131,10 +23191,10 @@ interface ExperimentalRpcMutationOptions<Contract extends PluginRpcContract, Met
|
|
|
23131
23191
|
optimistic?(input: StandardSchemaV1InferInput<Contract[Method]["input"]>, cache: ExperimentalRpcOptimisticCache<Contract>): void;
|
|
23132
23192
|
}
|
|
23133
23193
|
/**
|
|
23134
|
-
* One mutation hook's state. `mutate` calls the RPC
|
|
23135
|
-
*
|
|
23136
|
-
*
|
|
23137
|
-
* 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`.
|
|
23138
23198
|
*/
|
|
23139
23199
|
interface ExperimentalRpcMutationState<Method extends PluginRpcMethodContract> {
|
|
23140
23200
|
/** Resolves at write acknowledgement; rejects with experimental_PluginRpcCallError. Refreshes continue in the background without releasing predictions before confirmed reads. */
|
|
@@ -23145,6 +23205,30 @@ interface ExperimentalRpcMutationState<Method extends PluginRpcMethodContract> {
|
|
|
23145
23205
|
error: experimental_PluginRpcCallError | null;
|
|
23146
23206
|
reset(): void;
|
|
23147
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
|
+
}
|
|
23148
23232
|
/**
|
|
23149
23233
|
* Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
|
|
23150
23234
|
* the real implementation and `satisfies` this interface; `bb plugin build`
|
|
@@ -23236,6 +23320,11 @@ interface PluginSdkApp {
|
|
|
23236
23320
|
* tabs. Experimental: see docs/api_to_audit.md.
|
|
23237
23321
|
*/
|
|
23238
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;
|
|
23239
23328
|
/**
|
|
23240
23329
|
* The side panel of the surface the calling component renders in: the
|
|
23241
23330
|
* thread view, the plugin page, or the New thread screen.
|
|
@@ -23759,6 +23848,7 @@ declare const experimental_useQuestionFormHost: () => ExperimentalQuestionFormHo
|
|
|
23759
23848
|
declare const useBbNavigate: () => BbNavigate;
|
|
23760
23849
|
declare const experimental_useCanOpenFileExternally: (target: ExperimentalLiveFileTarget) => boolean;
|
|
23761
23850
|
declare const experimental_useTabVisible: () => boolean;
|
|
23851
|
+
declare const experimental_useServers: () => ExperimentalServers | null;
|
|
23762
23852
|
declare const experimental_useAppPanel: () => ExperimentalPanelController;
|
|
23763
23853
|
declare const experimental_useFixedTabTarget: <Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>) => ExperimentalFixedTabTargetState<Target> | null;
|
|
23764
23854
|
declare const useComposer: () => PluginComposerApi;
|
|
@@ -23812,5 +23902,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
|
|
|
23812
23902
|
declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
|
|
23813
23903
|
declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
|
|
23814
23904
|
|
|
23815
|
-
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_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 };
|
|
23816
|
-
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, 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 };
|
|
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 };
|