@get-bb/plugin-sdk 0.6.59 → 0.6.65
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 +342 -84
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +2 -1
- package/bundled-types/bb-plugin-sdk-host.d.ts +196 -214
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +19 -8
- package/bundled-types/bb-plugin-sdk-internal-rpc-query-host.d.ts +192 -0
- package/bundled-types/bb-plugin-sdk-internal-rpc-tags.d.ts +23 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +7 -2
- package/bundled-types/bb-plugin-sdk-testing.d.ts +14 -5
- package/bundled-types/bb-plugin-sdk.d.ts +395 -111
- package/dist/app.js +98 -0
- package/dist/host.js +12 -0
- package/dist/index.js +81 -0
- package/dist/internal/host-policy.js +33 -1
- package/dist/internal/plugin-app-collector.js +18 -2
- package/dist/internal/rpc-query-host.js +922 -0
- package/dist/internal/rpc-tags.js +18 -0
- package/dist/provider-bridge-acp-next.js +214 -75
- package/dist/provider-bridge-acp.js +214 -75
- package/dist/provider-bridge.js +21 -20
- package/dist/replay-provider-child.mjs +6 -2
- package/dist/testing/app.js +1130 -102
- package/dist/testing/index.js +247 -104
- package/package.json +18 -4
|
@@ -29,78 +29,13 @@ type ReadonlyJsonValue = string | number | boolean | null | readonly ReadonlyJso
|
|
|
29
29
|
readonly [key: string]: ReadonlyJsonValue;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
/** A JSON-safe path segment reported by a Standard Schema validation issue. */
|
|
33
|
-
type PluginRpcIssuePathSegment = string | number;
|
|
34
|
-
/** Validator-neutral validation detail carried by an RPC error envelope. */
|
|
35
|
-
interface PluginRpcValidationIssue {
|
|
36
|
-
message: string;
|
|
37
|
-
path?: PluginRpcIssuePathSegment[];
|
|
38
|
-
}
|
|
39
|
-
/** Stable wire error categories for plugin RPC. */
|
|
40
|
-
type PluginRpcErrorCode = "handler_error" | "invalid_input" | "invalid_json" | "invalid_output" | "non_json_result" | "unknown_method";
|
|
41
|
-
/** Structured RPC failure returned as `{ ok: false, error }`. */
|
|
42
|
-
interface PluginRpcError {
|
|
43
|
-
code: PluginRpcErrorCode;
|
|
44
|
-
message: string;
|
|
45
|
-
issues?: PluginRpcValidationIssue[];
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* The validator-neutral subset of Standard Schema v1 used by plugin contracts.
|
|
49
|
-
* Zod 4 schemas implement this interface directly; other validators can do
|
|
50
|
-
* the same without becoming part of BB's public protocol.
|
|
51
|
-
*/
|
|
52
|
-
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
53
|
-
readonly "~standard": {
|
|
54
|
-
readonly version: 1;
|
|
55
|
-
readonly vendor: string;
|
|
56
|
-
readonly validate: (value: unknown) => StandardSchemaV1Result<Output> | Promise<StandardSchemaV1Result<Output>>;
|
|
57
|
-
readonly jsonSchema?: {
|
|
58
|
-
readonly input: (options: {
|
|
59
|
-
target: string;
|
|
60
|
-
}) => Record<string, unknown>;
|
|
61
|
-
readonly output: (options: {
|
|
62
|
-
target: string;
|
|
63
|
-
}) => Record<string, unknown>;
|
|
64
|
-
};
|
|
65
|
-
readonly types?: {
|
|
66
|
-
readonly input: Input;
|
|
67
|
-
readonly output: Output;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
type StandardSchemaV1Result<Output> = {
|
|
72
|
-
readonly value: Output;
|
|
73
|
-
readonly issues?: undefined;
|
|
74
|
-
} | {
|
|
75
|
-
readonly issues: readonly StandardSchemaV1Issue[];
|
|
76
|
-
};
|
|
77
|
-
interface StandardSchemaV1Issue {
|
|
78
|
-
readonly message: string;
|
|
79
|
-
readonly path?: PropertyKey | readonly (PropertyKey | {
|
|
80
|
-
readonly key: PropertyKey;
|
|
81
|
-
})[];
|
|
82
|
-
}
|
|
83
|
-
type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
84
|
-
type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
85
|
-
interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> {
|
|
86
|
-
readonly experimental_description?: string;
|
|
87
|
-
readonly input: InputSchema;
|
|
88
|
-
readonly output: OutputSchema;
|
|
89
|
-
}
|
|
90
|
-
type PluginRpcContract = Readonly<Record<string, PluginRpcMethodContract>>;
|
|
91
|
-
type PluginRpcHandlers<Contract extends PluginRpcContract> = {
|
|
92
|
-
[Method in keyof Contract]: (input: StandardSchemaV1InferOutput<Contract[Method]["input"]>) => StandardSchemaV1InferInput<Contract[Method]["output"]> | Promise<StandardSchemaV1InferInput<Contract[Method]["output"]>>;
|
|
93
|
-
};
|
|
94
|
-
type PluginRpcCallInput<Method extends PluginRpcMethodContract> = StandardSchemaV1InferInput<Method["input"]>;
|
|
95
|
-
type PluginRpcCallArgs<Method extends PluginRpcMethodContract> = null extends PluginRpcCallInput<Method> ? [input?: PluginRpcCallInput<Method>] : [input: PluginRpcCallInput<Method>];
|
|
96
|
-
type PluginRpcResult<Method extends PluginRpcMethodContract> = StandardSchemaV1InferOutput<Method["output"]>;
|
|
97
|
-
|
|
98
32
|
declare const appSettingsSchema: z$1.ZodObject<{
|
|
99
33
|
allowFastServiceTier: z$1.ZodBoolean;
|
|
100
34
|
confirmThreadArchive: z$1.ZodBoolean;
|
|
101
35
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
102
36
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
103
37
|
earlyAdopter: z$1.ZodBoolean;
|
|
38
|
+
idleProviderSessionTimeoutMinutes: z$1.ZodLiteral<0 | 5 | 10 | 30 | 60>;
|
|
104
39
|
keepHistoryAfterContextClear: z$1.ZodBoolean;
|
|
105
40
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
106
41
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -127,6 +62,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
127
62
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
128
63
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
129
64
|
earlyAdopter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
65
|
+
idleProviderSessionTimeoutMinutes: z$1.ZodOptional<z$1.ZodLiteral<0 | 5 | 10 | 30 | 60>>;
|
|
130
66
|
keepHistoryAfterContextClear: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
131
67
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
132
68
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -152,6 +88,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
152
88
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
153
89
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
154
90
|
earlyAdopter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
91
|
+
idleProviderSessionTimeoutMinutes: z$1.ZodOptional<z$1.ZodLiteral<0 | 5 | 10 | 30 | 60>>;
|
|
155
92
|
keepHistoryAfterContextClear: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
156
93
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
157
94
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -434,6 +371,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
434
371
|
type: z$1.ZodLiteral<"changed">;
|
|
435
372
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
436
373
|
changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
|
|
374
|
+
"diff-viewed-changed": "diff-viewed-changed";
|
|
437
375
|
"environment-created": "environment-created";
|
|
438
376
|
"environment-deleted": "environment-deleted";
|
|
439
377
|
"git-refs-changed": "git-refs-changed";
|
|
@@ -464,10 +402,18 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
464
402
|
"plugins-changed": "plugins-changed";
|
|
465
403
|
"provider-registrations-changed": "provider-registrations-changed";
|
|
466
404
|
"server-move-changed": "server-move-changed";
|
|
467
|
-
"ui-preferences-changed": "ui-preferences-changed";
|
|
468
405
|
}>>>;
|
|
469
406
|
entity: z$1.ZodLiteral<"system">;
|
|
470
407
|
type: z$1.ZodLiteral<"changed">;
|
|
408
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
409
|
+
entity: z$1.ZodLiteral<"tags">;
|
|
410
|
+
tags: z$1.ZodArray<z$1.ZodString>;
|
|
411
|
+
type: z$1.ZodLiteral<"changed">;
|
|
412
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
413
|
+
entity: z$1.ZodLiteral<"plugin">;
|
|
414
|
+
pluginId: z$1.ZodString;
|
|
415
|
+
tags: z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>;
|
|
416
|
+
type: z$1.ZodLiteral<"changed">;
|
|
471
417
|
}, z$1.core.$strict>], "entity">;
|
|
472
418
|
type ChangedMessage = z$1.infer<typeof changedMessageSchema>;
|
|
473
419
|
|
|
@@ -4426,6 +4372,104 @@ declare const mobileAppDownloads: {
|
|
|
4426
4372
|
android: string;
|
|
4427
4373
|
};
|
|
4428
4374
|
|
|
4375
|
+
interface ContractTagDeclarations<Input, Output> {
|
|
4376
|
+
tags?(input: Input, output: Output): readonly string[];
|
|
4377
|
+
keyTags?(key: string, value: Output extends Readonly<Record<string, infer Value>> ? Value : unknown): readonly string[];
|
|
4378
|
+
invalidates?(input: Input, output: Output): readonly string[];
|
|
4379
|
+
}
|
|
4380
|
+
|
|
4381
|
+
/** A JSON-safe path segment reported by a Standard Schema validation issue. */
|
|
4382
|
+
type PluginRpcIssuePathSegment = string | number;
|
|
4383
|
+
/** Validator-neutral validation detail carried by an RPC error envelope. */
|
|
4384
|
+
interface PluginRpcValidationIssue {
|
|
4385
|
+
message: string;
|
|
4386
|
+
path?: PluginRpcIssuePathSegment[];
|
|
4387
|
+
}
|
|
4388
|
+
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"];
|
|
4389
|
+
/** RPC categories may grow. Handle unknown_error as a fallback for newer server codes. */
|
|
4390
|
+
type PluginRpcErrorCode = (typeof rpcErrorCodes)[number];
|
|
4391
|
+
/** A client RPC failure. Unknown server codes become unknown_error and remain in serverCode. */
|
|
4392
|
+
declare class experimental_PluginRpcCallError extends Error {
|
|
4393
|
+
/** Recognizes errors across the packed SDK's separately bundled entries. */
|
|
4394
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
4395
|
+
readonly code: PluginRpcErrorCode;
|
|
4396
|
+
readonly issues?: PluginRpcValidationIssue[];
|
|
4397
|
+
readonly status?: number;
|
|
4398
|
+
readonly serverCode?: string;
|
|
4399
|
+
constructor(args: PluginRpcError & {
|
|
4400
|
+
status?: number;
|
|
4401
|
+
serverCode?: string;
|
|
4402
|
+
});
|
|
4403
|
+
/** Normalize failures at the RPC boundary; preserves an existing client error. */
|
|
4404
|
+
static from(error: unknown, fallback?: PluginRpcErrorCode): experimental_PluginRpcCallError;
|
|
4405
|
+
}
|
|
4406
|
+
/** Structured RPC failure returned as `{ ok: false, error }`. */
|
|
4407
|
+
interface PluginRpcError {
|
|
4408
|
+
code: PluginRpcErrorCode;
|
|
4409
|
+
message: string;
|
|
4410
|
+
issues?: PluginRpcValidationIssue[];
|
|
4411
|
+
}
|
|
4412
|
+
/**
|
|
4413
|
+
* The validator-neutral subset of Standard Schema v1 used by plugin contracts.
|
|
4414
|
+
* Zod 4 schemas implement this interface directly; other validators can do
|
|
4415
|
+
* the same without becoming part of BB's public protocol.
|
|
4416
|
+
*/
|
|
4417
|
+
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
4418
|
+
readonly "~standard": {
|
|
4419
|
+
readonly version: 1;
|
|
4420
|
+
readonly vendor: string;
|
|
4421
|
+
readonly validate: (value: unknown) => StandardSchemaV1Result<Output> | Promise<StandardSchemaV1Result<Output>>;
|
|
4422
|
+
readonly jsonSchema?: {
|
|
4423
|
+
readonly input: (options: {
|
|
4424
|
+
target: string;
|
|
4425
|
+
}) => Record<string, unknown>;
|
|
4426
|
+
readonly output: (options: {
|
|
4427
|
+
target: string;
|
|
4428
|
+
}) => Record<string, unknown>;
|
|
4429
|
+
};
|
|
4430
|
+
readonly types?: {
|
|
4431
|
+
readonly input: Input;
|
|
4432
|
+
readonly output: Output;
|
|
4433
|
+
};
|
|
4434
|
+
};
|
|
4435
|
+
}
|
|
4436
|
+
type StandardSchemaV1Result<Output> = {
|
|
4437
|
+
readonly value: Output;
|
|
4438
|
+
readonly issues?: undefined;
|
|
4439
|
+
} | {
|
|
4440
|
+
readonly issues: readonly StandardSchemaV1Issue[];
|
|
4441
|
+
};
|
|
4442
|
+
interface StandardSchemaV1Issue {
|
|
4443
|
+
readonly message: string;
|
|
4444
|
+
readonly path?: PropertyKey | readonly (PropertyKey | {
|
|
4445
|
+
readonly key: PropertyKey;
|
|
4446
|
+
})[];
|
|
4447
|
+
}
|
|
4448
|
+
type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
4449
|
+
type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
4450
|
+
interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
|
|
4451
|
+
readonly experimental_description?: string;
|
|
4452
|
+
readonly input: InputSchema;
|
|
4453
|
+
readonly output: OutputSchema;
|
|
4454
|
+
}
|
|
4455
|
+
type PluginRpcContract = Readonly<Record<string, PluginRpcMethodContract>>;
|
|
4456
|
+
/** Methods callable with only keys and returning one value per string key. */
|
|
4457
|
+
type ExperimentalRpcKeyedMethod<Contract extends PluginRpcContract> = {
|
|
4458
|
+
[Method in keyof Contract & string]: {
|
|
4459
|
+
keys: string[];
|
|
4460
|
+
} extends StandardSchemaV1InferInput<Contract[Method]["input"]> ? StandardSchemaV1InferOutput<Contract[Method]["input"]> extends {
|
|
4461
|
+
keys: string[];
|
|
4462
|
+
} ? string extends keyof PluginRpcResult<Contract[Method]> ? Method : never : never : never;
|
|
4463
|
+
}[keyof Contract & string];
|
|
4464
|
+
/** One keyed method's inferred row value. */
|
|
4465
|
+
type ExperimentalRpcKeyedValue<Method extends PluginRpcMethodContract> = PluginRpcResult<Method> extends Record<string, infer Value> ? Value : never;
|
|
4466
|
+
type PluginRpcHandlers<Contract extends PluginRpcContract> = {
|
|
4467
|
+
[Method in keyof Contract]: (input: StandardSchemaV1InferOutput<Contract[Method]["input"]>) => StandardSchemaV1InferInput<Contract[Method]["output"]> | Promise<StandardSchemaV1InferInput<Contract[Method]["output"]>>;
|
|
4468
|
+
};
|
|
4469
|
+
type PluginRpcCallInput<Method extends PluginRpcMethodContract> = StandardSchemaV1InferInput<Method["input"]>;
|
|
4470
|
+
type PluginRpcCallArgs<Method extends PluginRpcMethodContract> = null extends PluginRpcCallInput<Method> ? [input?: PluginRpcCallInput<Method>] : [input: PluginRpcCallInput<Method>];
|
|
4471
|
+
type PluginRpcResult<Method extends PluginRpcMethodContract> = StandardSchemaV1InferOutput<Method["output"]>;
|
|
4472
|
+
|
|
4429
4473
|
declare const threadContextResponseSchema: z$1.ZodObject<{
|
|
4430
4474
|
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
4431
4475
|
compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
@@ -5795,6 +5839,7 @@ declare const environmentDiffFilesResponseSchema: z$1.ZodDiscriminatedUnion<[z$1
|
|
|
5795
5839
|
}>;
|
|
5796
5840
|
path: z$1.ZodString;
|
|
5797
5841
|
previousPath: z$1.ZodNullable<z$1.ZodString>;
|
|
5842
|
+
revision: z$1.ZodString;
|
|
5798
5843
|
}, z$1.core.$strip>>;
|
|
5799
5844
|
initialPatches: z$1.ZodArray<z$1.ZodObject<{
|
|
5800
5845
|
patch: z$1.ZodString;
|
|
@@ -5857,6 +5902,7 @@ declare const environmentDiffPatchResponseSchema: z$1.ZodDiscriminatedUnion<[z$1
|
|
|
5857
5902
|
}, z$1.core.$strict>], "outcome">;
|
|
5858
5903
|
type EnvironmentDiffPatchResponse = z$1.infer<typeof environmentDiffPatchResponseSchema>;
|
|
5859
5904
|
declare const environmentDiffPatchRequestSchema: z$1.ZodObject<{
|
|
5905
|
+
ignoreWhitespace: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
5860
5906
|
paths: z$1.ZodArray<z$1.ZodString>;
|
|
5861
5907
|
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5862
5908
|
type: z$1.ZodLiteral<"uncommitted">;
|
|
@@ -5872,6 +5918,46 @@ declare const environmentDiffPatchRequestSchema: z$1.ZodObject<{
|
|
|
5872
5918
|
}, z$1.core.$strip>], "type">;
|
|
5873
5919
|
}, z$1.core.$strict>;
|
|
5874
5920
|
type EnvironmentDiffPatchRequest = z$1.infer<typeof environmentDiffPatchRequestSchema>;
|
|
5921
|
+
declare const environmentDiffViewedResponseSchema: z$1.ZodObject<{
|
|
5922
|
+
files: z$1.ZodArray<z$1.ZodObject<{
|
|
5923
|
+
path: z$1.ZodString;
|
|
5924
|
+
revision: z$1.ZodString;
|
|
5925
|
+
}, z$1.core.$strict>>;
|
|
5926
|
+
}, z$1.core.$strict>;
|
|
5927
|
+
type EnvironmentDiffViewedResponse = z$1.infer<typeof environmentDiffViewedResponseSchema>;
|
|
5928
|
+
declare const environmentDiffViewedMarkRequestSchema: z$1.ZodObject<{
|
|
5929
|
+
path: z$1.ZodString;
|
|
5930
|
+
revision: z$1.ZodString;
|
|
5931
|
+
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5932
|
+
type: z$1.ZodLiteral<"uncommitted">;
|
|
5933
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5934
|
+
mergeBaseBranch: z$1.ZodString;
|
|
5935
|
+
type: z$1.ZodLiteral<"branch_committed">;
|
|
5936
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5937
|
+
mergeBaseBranch: z$1.ZodString;
|
|
5938
|
+
type: z$1.ZodLiteral<"all">;
|
|
5939
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5940
|
+
sha: z$1.ZodString;
|
|
5941
|
+
type: z$1.ZodLiteral<"commit">;
|
|
5942
|
+
}, z$1.core.$strip>], "type">;
|
|
5943
|
+
}, z$1.core.$strict>;
|
|
5944
|
+
type EnvironmentDiffViewedMarkRequest = z$1.infer<typeof environmentDiffViewedMarkRequestSchema>;
|
|
5945
|
+
declare const environmentDiffViewedClearRequestSchema: z$1.ZodObject<{
|
|
5946
|
+
path: z$1.ZodOptional<z$1.ZodString>;
|
|
5947
|
+
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5948
|
+
type: z$1.ZodLiteral<"uncommitted">;
|
|
5949
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5950
|
+
mergeBaseBranch: z$1.ZodString;
|
|
5951
|
+
type: z$1.ZodLiteral<"branch_committed">;
|
|
5952
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5953
|
+
mergeBaseBranch: z$1.ZodString;
|
|
5954
|
+
type: z$1.ZodLiteral<"all">;
|
|
5955
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5956
|
+
sha: z$1.ZodString;
|
|
5957
|
+
type: z$1.ZodLiteral<"commit">;
|
|
5958
|
+
}, z$1.core.$strip>], "type">;
|
|
5959
|
+
}, z$1.core.$strict>;
|
|
5960
|
+
type EnvironmentDiffViewedClearRequest = z$1.infer<typeof environmentDiffViewedClearRequestSchema>;
|
|
5875
5961
|
type EnvironmentStatusResponse = z$1.infer<typeof environmentStatusResponseSchema>;
|
|
5876
5962
|
|
|
5877
5963
|
declare const providerUsageResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -8636,6 +8722,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8636
8722
|
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8637
8723
|
"workspace.diffFiles": HostDaemonCommandDescriptor<"workspace.diffFiles", z$1.ZodObject<{
|
|
8638
8724
|
environmentId: z$1.ZodString;
|
|
8725
|
+
ignoreWhitespace: z$1.ZodBoolean;
|
|
8639
8726
|
maxFiles: z$1.ZodNumber;
|
|
8640
8727
|
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8641
8728
|
type: z$1.ZodLiteral<"uncommitted">;
|
|
@@ -8664,6 +8751,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8664
8751
|
}>;
|
|
8665
8752
|
path: z$1.ZodString;
|
|
8666
8753
|
previousPath: z$1.ZodNullable<z$1.ZodString>;
|
|
8754
|
+
revision: z$1.ZodString;
|
|
8667
8755
|
statusLetter: z$1.ZodEnum<{
|
|
8668
8756
|
A: "A";
|
|
8669
8757
|
C: "C";
|
|
@@ -8694,6 +8782,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8694
8782
|
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8695
8783
|
"workspace.diffPatch": HostDaemonCommandDescriptor<"workspace.diffPatch", z$1.ZodObject<{
|
|
8696
8784
|
environmentId: z$1.ZodString;
|
|
8785
|
+
ignoreWhitespace: z$1.ZodBoolean;
|
|
8697
8786
|
maxBytesPerFile: z$1.ZodNumber;
|
|
8698
8787
|
paths: z$1.ZodArray<z$1.ZodString>;
|
|
8699
8788
|
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -10863,6 +10952,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10863
10952
|
timelinePush: "timelinePush";
|
|
10864
10953
|
}>, z$1.ZodBoolean>;
|
|
10865
10954
|
featureFlags: z$1.ZodObject<{
|
|
10955
|
+
initiatorTelemetry: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
10866
10956
|
placeholder: z$1.ZodBoolean;
|
|
10867
10957
|
timelineWindowEventBudget: z$1.ZodNumber;
|
|
10868
10958
|
}, z$1.core.$strip>;
|
|
@@ -10872,6 +10962,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10872
10962
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
10873
10963
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
10874
10964
|
earlyAdopter: z$1.ZodBoolean;
|
|
10965
|
+
idleProviderSessionTimeoutMinutes: z$1.ZodLiteral<0 | 5 | 60 | 10 | 30>;
|
|
10875
10966
|
keepHistoryAfterContextClear: z$1.ZodBoolean;
|
|
10876
10967
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
10877
10968
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -11589,6 +11680,7 @@ declare const terminalListResponseSchema: z$1.ZodObject<{
|
|
|
11589
11680
|
type TerminalListResponse = z$1.infer<typeof terminalListResponseSchema>;
|
|
11590
11681
|
declare const createTerminalRequestSchema: z$1.ZodObject<{
|
|
11591
11682
|
cols: z$1.ZodNumber;
|
|
11683
|
+
id: z$1.ZodOptional<z$1.ZodString>;
|
|
11592
11684
|
rows: z$1.ZodNumber;
|
|
11593
11685
|
start: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11594
11686
|
mode: z$1.ZodLiteral<"shell">;
|
|
@@ -13047,6 +13139,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
13047
13139
|
reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
|
|
13048
13140
|
sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
13049
13141
|
sendAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13142
|
+
senderThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
13050
13143
|
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
13051
13144
|
sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
|
|
13052
13145
|
sourceSeqEnd: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -13431,6 +13524,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
13431
13524
|
steer: "steer";
|
|
13432
13525
|
}>;
|
|
13433
13526
|
model: z$1.ZodOptional<z$1.ZodString>;
|
|
13527
|
+
originPluginId: z$1.ZodOptional<z$1.ZodString>;
|
|
13434
13528
|
permissionMode: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13435
13529
|
"accept-edits": "accept-edits";
|
|
13436
13530
|
auto: "auto";
|
|
@@ -13728,6 +13822,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
13728
13822
|
}, z$1.core.$strip>], "type">>;
|
|
13729
13823
|
model: z$1.ZodOptional<z$1.ZodString>;
|
|
13730
13824
|
operationId: z$1.ZodString;
|
|
13825
|
+
originPluginId: z$1.ZodOptional<z$1.ZodString>;
|
|
13731
13826
|
permissionMode: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13732
13827
|
"accept-edits": "accept-edits";
|
|
13733
13828
|
auto: "auto";
|
|
@@ -16984,6 +17079,9 @@ type EnvironmentDiffArgs = EnvironmentDiffQuery & {
|
|
|
16984
17079
|
environmentId: string;
|
|
16985
17080
|
signal?: AbortSignal;
|
|
16986
17081
|
};
|
|
17082
|
+
type EnvironmentDiffFilesArgs = EnvironmentDiffArgs & {
|
|
17083
|
+
ignoreWhitespace?: boolean;
|
|
17084
|
+
};
|
|
16987
17085
|
type EnvironmentDiffFileArgs = EnvironmentDiffFileQuery & {
|
|
16988
17086
|
environmentId: string;
|
|
16989
17087
|
signal?: AbortSignal;
|
|
@@ -17003,6 +17101,12 @@ type EnvironmentDiffPatchArgs = EnvironmentDiffPatchRequest & {
|
|
|
17003
17101
|
environmentId: string;
|
|
17004
17102
|
signal?: AbortSignal;
|
|
17005
17103
|
};
|
|
17104
|
+
type EnvironmentDiffViewedMarkArgs = EnvironmentDiffViewedMarkRequest & {
|
|
17105
|
+
environmentId: string;
|
|
17106
|
+
};
|
|
17107
|
+
type EnvironmentDiffViewedClearArgs = EnvironmentDiffViewedClearRequest & {
|
|
17108
|
+
environmentId: string;
|
|
17109
|
+
};
|
|
17006
17110
|
interface EnvironmentPathsArgs extends EnvironmentPathsQuery {
|
|
17007
17111
|
environmentId: string;
|
|
17008
17112
|
signal?: AbortSignal;
|
|
@@ -17014,6 +17118,7 @@ type EnvironmentDiffBranchesResult = EnvironmentDiffBranchesResponse;
|
|
|
17014
17118
|
type EnvironmentDiffFileResult = EnvironmentDiffFileResponse;
|
|
17015
17119
|
type EnvironmentDiffFilesResult = EnvironmentDiffFilesResponse;
|
|
17016
17120
|
type EnvironmentDiffPatchResult = EnvironmentDiffPatchResponse;
|
|
17121
|
+
type EnvironmentDiffViewedResult = EnvironmentDiffViewedResponse;
|
|
17017
17122
|
type EnvironmentGetResult = Environment;
|
|
17018
17123
|
type EnvironmentMarkPullRequestDraftResult = PullRequestDraftActionResponse;
|
|
17019
17124
|
type EnvironmentMarkPullRequestReadyResult = PullRequestReadyActionResponse;
|
|
@@ -17055,8 +17160,17 @@ interface EnvironmentsArea {
|
|
|
17055
17160
|
diff(args: EnvironmentDiffArgs): Promise<EnvironmentDiffResult>;
|
|
17056
17161
|
diffBranches(args: EnvironmentDiffBranchesArgs): Promise<EnvironmentDiffBranchesResult>;
|
|
17057
17162
|
diffFile(args: EnvironmentDiffFileArgs): Promise<EnvironmentDiffFileResult>;
|
|
17058
|
-
diffFiles(args:
|
|
17163
|
+
diffFiles(args: EnvironmentDiffFilesArgs): Promise<EnvironmentDiffFilesResult>;
|
|
17059
17164
|
diffPatch(args: EnvironmentDiffPatchArgs): Promise<EnvironmentDiffPatchResult>;
|
|
17165
|
+
experimental_diffViewed(args: EnvironmentDiffArgs & {
|
|
17166
|
+
paths?: string[];
|
|
17167
|
+
}): Promise<EnvironmentDiffViewedResult>;
|
|
17168
|
+
experimental_markDiffViewed(args: EnvironmentDiffViewedMarkArgs): Promise<{
|
|
17169
|
+
ok: true;
|
|
17170
|
+
}>;
|
|
17171
|
+
experimental_clearDiffViewed(args: EnvironmentDiffViewedClearArgs): Promise<{
|
|
17172
|
+
ok: true;
|
|
17173
|
+
}>;
|
|
17060
17174
|
get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
|
|
17061
17175
|
list(args?: EnvironmentListArgs): Promise<EnvironmentListResult>;
|
|
17062
17176
|
listProviders(args?: EnvironmentListProvidersArgs): Promise<EnvironmentListProvidersResult>;
|
|
@@ -17148,6 +17262,7 @@ interface HostGetArgs {
|
|
|
17148
17262
|
}
|
|
17149
17263
|
interface HostDeleteArgs {
|
|
17150
17264
|
hostId: string;
|
|
17265
|
+
force?: boolean;
|
|
17151
17266
|
}
|
|
17152
17267
|
interface HostUpdateArgs extends UpdateHostRequest {
|
|
17153
17268
|
hostId: string;
|
|
@@ -18000,6 +18115,7 @@ interface TerminalListArgs {
|
|
|
18000
18115
|
}
|
|
18001
18116
|
interface TerminalCreateArgs {
|
|
18002
18117
|
cols: number;
|
|
18118
|
+
id?: CreateTerminalRequest["id"];
|
|
18003
18119
|
rows: number;
|
|
18004
18120
|
scope: TerminalCreateScope;
|
|
18005
18121
|
start?: CreateTerminalRequest["start"];
|
|
@@ -18621,6 +18737,20 @@ interface PluginSettingsSectionProps {
|
|
|
18621
18737
|
*/
|
|
18622
18738
|
interface ExperimentalAppOverlayProps {
|
|
18623
18739
|
}
|
|
18740
|
+
type ExperimentalPageTitle = ({
|
|
18741
|
+
title: string;
|
|
18742
|
+
breadcrumbs?: never;
|
|
18743
|
+
} | {
|
|
18744
|
+
title?: never;
|
|
18745
|
+
breadcrumbs: readonly ExperimentalPageBreadcrumb[];
|
|
18746
|
+
}) & {
|
|
18747
|
+
windowTitle?: string;
|
|
18748
|
+
};
|
|
18749
|
+
interface ExperimentalPageBreadcrumb {
|
|
18750
|
+
label: string;
|
|
18751
|
+
/** Absolute app route, starting with a single slash. */
|
|
18752
|
+
to?: string;
|
|
18753
|
+
}
|
|
18624
18754
|
/** Props passed to a `navPanel` component (it owns its whole route). */
|
|
18625
18755
|
interface PluginNavPanelProps {
|
|
18626
18756
|
/**
|
|
@@ -18797,9 +18927,14 @@ interface ExperimentalSidebarNavigationItem {
|
|
|
18797
18927
|
*/
|
|
18798
18928
|
badge: ExperimentalBadge | null;
|
|
18799
18929
|
}
|
|
18930
|
+
/**
|
|
18931
|
+
* Where the host opens a sidebar navigation destination: `current` in the
|
|
18932
|
+
* current view, `split` in a pane with browser-tab fallback, `tab` in a new browser tab.
|
|
18933
|
+
*/
|
|
18934
|
+
type ExperimentalSidebarNavigationTarget = "current" | "split" | "tab";
|
|
18800
18935
|
/** How the host should activate a sidebar navigation item. */
|
|
18801
18936
|
interface ExperimentalSidebarNavigationActivationOptions {
|
|
18802
|
-
|
|
18937
|
+
target: ExperimentalSidebarNavigationTarget;
|
|
18803
18938
|
}
|
|
18804
18939
|
/**
|
|
18805
18940
|
* Host behavior for sidebar navigation items (see
|
|
@@ -18808,22 +18943,28 @@ interface ExperimentalSidebarNavigationActivationOptions {
|
|
|
18808
18943
|
*/
|
|
18809
18944
|
interface ExperimentalSidebarNavigationActions {
|
|
18810
18945
|
/**
|
|
18811
|
-
* Run the item's host behavior
|
|
18812
|
-
* drawer; Plugins and Skills swap the list beside the
|
|
18813
|
-
* `
|
|
18814
|
-
*
|
|
18815
|
-
*
|
|
18816
|
-
*
|
|
18817
|
-
*
|
|
18818
|
-
*
|
|
18946
|
+
* Run the item's host behavior at `target`. Plugin panels close the
|
|
18947
|
+
* mobile sidebar drawer; Plugins and Skills swap the list beside the
|
|
18948
|
+
* navigation. `split` opens a pane, or focuses the destination's existing
|
|
18949
|
+
* pane. At the pane limit it replaces the focused pane. If the destination
|
|
18950
|
+
* cannot be a pane, splitting is disabled, the viewport is compact, or no
|
|
18951
|
+
* split layout exists, it opens a browser tab instead. Callers do not need
|
|
18952
|
+
* to check availability. Search remains a
|
|
18953
|
+
* command at every target. Disabled or loading items do nothing. `split` and `tab`
|
|
18954
|
+
* must run synchronously from a user gesture; native shells handle the
|
|
18955
|
+
* new-window request using their existing policy.
|
|
18819
18956
|
*/
|
|
18820
18957
|
activate(itemId: string, options: ExperimentalSidebarNavigationActivationOptions): void;
|
|
18821
18958
|
/**
|
|
18822
18959
|
* Return to the thread list and the last thread or new thread screen the
|
|
18823
18960
|
* user had open before visiting Settings, Plugins, Skills, or a plugin
|
|
18824
|
-
* panel.
|
|
18961
|
+
* panel. Target `tab` instead opens the new thread screen in a browser
|
|
18962
|
+
* tab, with the same user-gesture requirement as `activate`. Omitting
|
|
18963
|
+
* `options` navigates in place.
|
|
18825
18964
|
*/
|
|
18826
|
-
goHome(
|
|
18965
|
+
goHome(options?: {
|
|
18966
|
+
target: Exclude<ExperimentalSidebarNavigationTarget, "split">;
|
|
18967
|
+
}): void;
|
|
18827
18968
|
/** Hide or show one item. Persists to `sidebar.visiblePluginPanels`. */
|
|
18828
18969
|
setVisible(itemId: string, isVisible: boolean): void;
|
|
18829
18970
|
/**
|
|
@@ -19394,6 +19535,25 @@ interface PluginNavPanelRegistration {
|
|
|
19394
19535
|
/** URL segment under `/plugins/<pluginId>/`; letters, digits, `-`, `_`. */
|
|
19395
19536
|
path: string;
|
|
19396
19537
|
component: ComponentType<PluginNavPanelProps>;
|
|
19538
|
+
/**
|
|
19539
|
+
* Sidebar shown instead of the thread list while this panel's route is
|
|
19540
|
+
* active, in the same section sidebar as Settings, Plugins and Skills. BB
|
|
19541
|
+
* keeps the navigation rail, top chrome and resize handle; in the top-list
|
|
19542
|
+
* layout it adds a "Back to app" row and the panel title, and Back to app
|
|
19543
|
+
* (Escape) returns to the last app page. Receives the page's current
|
|
19544
|
+
* subPath. Other routes keep their usual sidebar. A crash shows a crash
|
|
19545
|
+
* notice until the subPath or plugin generation changes.
|
|
19546
|
+
* Experimental: see docs/api_to_audit.md.
|
|
19547
|
+
*/
|
|
19548
|
+
experimental_sidebar?: ComponentType<PluginNavPanelProps>;
|
|
19549
|
+
/**
|
|
19550
|
+
* React hook evaluated in each pane's plugin scope with its current subPath.
|
|
19551
|
+
* Returns text after the panel icon/name and the focused pane's window title.
|
|
19552
|
+
* Null restores the default panel title. May use SDK hooks to load data.
|
|
19553
|
+
* A crash or invalid result clears the title without crashing the page;
|
|
19554
|
+
* navigation or plugin reload retries the hook. Experimental.
|
|
19555
|
+
*/
|
|
19556
|
+
experimental_usePageTitle?: (props: PluginNavPanelProps) => ExperimentalPageTitle | null;
|
|
19397
19557
|
/**
|
|
19398
19558
|
* Ordered, non-closable tabs shown in this page's host-owned right panel.
|
|
19399
19559
|
* BB owns selection and persistence and always includes its native Browser
|
|
@@ -20390,8 +20550,8 @@ interface PluginThreadListRegistration {
|
|
|
20390
20550
|
*
|
|
20391
20551
|
* - `rail`: a fixed-width column on the sidebar's left edge that stays when
|
|
20392
20552
|
* the sidebar collapses. bb draws Settings at the bottom of the column;
|
|
20393
|
-
* draw Home with `actions.goHome()`. On macOS, wide windows
|
|
20394
|
-
* sidebar and page below a title bar.
|
|
20553
|
+
* draw Home with `actions.goHome({ target })`. On macOS, wide windows
|
|
20554
|
+
* frame the sidebar and page below a title bar.
|
|
20395
20555
|
* - `list` (the default): the area above the thread list. Settings is a
|
|
20396
20556
|
* footer action, the Settings, Plugins, and Skills lists start with a Back
|
|
20397
20557
|
* to app row, and collapsing hides the whole sidebar.
|
|
@@ -20433,7 +20593,7 @@ interface PluginFileOpenerRegistration {
|
|
|
20433
20593
|
id: string;
|
|
20434
20594
|
/** Label in the "Open with" menu (e.g. "Notes editor"). */
|
|
20435
20595
|
title: string;
|
|
20436
|
-
/** Lowercase extensions without the dot
|
|
20596
|
+
/** Lowercase alphanumeric extensions without the dot; single underscores or hyphens may separate segments. */
|
|
20437
20597
|
extensions: readonly string[];
|
|
20438
20598
|
component: ComponentType<PluginFileOpenerProps>;
|
|
20439
20599
|
}
|
|
@@ -22052,12 +22212,96 @@ interface BbNavigate {
|
|
|
22052
22212
|
terminalId: string;
|
|
22053
22213
|
}): Promise<boolean>;
|
|
22054
22214
|
}
|
|
22215
|
+
/**
|
|
22216
|
+
* BB live reads are fresh for two seconds, with no polling when freshness expires.
|
|
22217
|
+
* Focus does not refetch while BB's realtime connection is healthy. While
|
|
22218
|
+
* disconnected, focus/browser-online events recheck stale active reads; BB
|
|
22219
|
+
* reconnect invalidates all plugin reads regardless of freshness. Page hiding
|
|
22220
|
+
* cancels active attempts; resuming restarts those cancelled reads.
|
|
22221
|
+
* Invalidations refresh immediately. Network/abort failures retry twice at
|
|
22222
|
+
* 250 ms; HTTP failures, including refusals, do not retry. Writes never retry
|
|
22223
|
+
* automatically.
|
|
22224
|
+
*/
|
|
22225
|
+
interface ExperimentalRpcQueryState<T> {
|
|
22226
|
+
/** Latest successful value plus shared predictions; retained during refresh and refresh errors. Plain reads are undefined before first success; keyed reads expose loaded rows (initially an empty record) through select. */
|
|
22227
|
+
data: T | undefined;
|
|
22228
|
+
/** Last completed read failure, or null. Success clears it; retrying a first load clears the old error while loading. Refresh errors preserve data. */
|
|
22229
|
+
error: experimental_PluginRpcCallError | null;
|
|
22230
|
+
/** An enabled read is fetching data it has never loaded. For keyed reads this includes missing requested rows; empty/disabled keyed reads are not loading. */
|
|
22231
|
+
isLoading: boolean;
|
|
22232
|
+
/** A read attempt is active, including background refreshes. Keyed consumers share this activity for their method; offline-paused reads are not fetching. */
|
|
22233
|
+
isFetching: boolean;
|
|
22234
|
+
/** 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. */
|
|
22235
|
+
refetch(): Promise<void>;
|
|
22236
|
+
}
|
|
22237
|
+
interface ExperimentalRpcKeyedQueryState<T, Selection = Record<string, T>> extends ExperimentalRpcQueryState<Selection> {
|
|
22238
|
+
}
|
|
22239
|
+
interface ExperimentalRpcQueryOptions<Contract extends PluginRpcContract, Method extends keyof Contract & string> {
|
|
22240
|
+
contract: Contract;
|
|
22241
|
+
pluginId?: string;
|
|
22242
|
+
method: Method;
|
|
22243
|
+
input: StandardSchemaV1InferInput<Contract[Method]["input"]>;
|
|
22244
|
+
enabled?: boolean;
|
|
22245
|
+
}
|
|
22246
|
+
/**
|
|
22247
|
+
* Predict loaded reads with pure, synchronous update callbacks. Callbacks passed
|
|
22248
|
+
* to `update` and `updateKey` may run many times as pending predictions replay
|
|
22249
|
+
* over a new confirmed base or another prediction rolls back. Return a new
|
|
22250
|
+
* value without mutating `current` or captured inputs, performing side effects,
|
|
22251
|
+
* or generating IDs, timestamps, or random values. Generate any such values
|
|
22252
|
+
* once before calling `mutate` and include them in the mutation input.
|
|
22253
|
+
*/
|
|
22254
|
+
interface ExperimentalRpcOptimisticCache<Contract extends PluginRpcContract> {
|
|
22255
|
+
update<Method extends keyof Contract & string>(method: Method, input: StandardSchemaV1InferInput<Contract[Method]["input"]>, update: (current: PluginRpcResult<Contract[Method]>) => PluginRpcResult<Contract[Method]>): void;
|
|
22256
|
+
updateKey<Method extends ExperimentalRpcKeyedMethod<Contract>>(method: Method, key: string, update: (current: PluginRpcResult<Contract[Method]> extends Record<string, infer Value> ? Value : never) => PluginRpcResult<Contract[Method]> extends Record<string, infer Value> ? Value : never): void;
|
|
22257
|
+
}
|
|
22258
|
+
interface ExperimentalRpcMutationOptions<Contract extends PluginRpcContract, Method extends keyof Contract & string> {
|
|
22259
|
+
contract: Contract;
|
|
22260
|
+
pluginId?: string;
|
|
22261
|
+
method: Method;
|
|
22262
|
+
/** Predict loaded reads synchronously; shared predictions survive accepted writes whose refresh fails. */
|
|
22263
|
+
optimistic?(input: StandardSchemaV1InferInput<Contract[Method]["input"]>, cache: ExperimentalRpcOptimisticCache<Contract>): void;
|
|
22264
|
+
}
|
|
22265
|
+
/**
|
|
22266
|
+
* One mutation hook's state. `mutate` calls the RPC, invalidates the
|
|
22267
|
+
* response's `invalidated` tags on this client immediately, and resolves when
|
|
22268
|
+
* the server acknowledges the write. Matched reads refresh in the background. `error` holds the last failure
|
|
22269
|
+
* until the next `mutate` or `reset`.
|
|
22270
|
+
*/
|
|
22271
|
+
interface ExperimentalRpcMutationState<Method extends PluginRpcMethodContract> {
|
|
22272
|
+
/** Resolves at write acknowledgement; rejects with experimental_PluginRpcCallError. Refreshes continue in the background without releasing predictions before confirmed reads. */
|
|
22273
|
+
mutate(...args: PluginRpcCallArgs<Method>): Promise<PluginRpcResult<Method>>;
|
|
22274
|
+
isPending: boolean;
|
|
22275
|
+
/** Inputs of every pending call made by this hook, until server acknowledgement. Refreshes are excluded; other hook instances are excluded. */
|
|
22276
|
+
pendingInputs: readonly StandardSchemaV1InferInput<Method["input"]>[];
|
|
22277
|
+
error: experimental_PluginRpcCallError | null;
|
|
22278
|
+
reset(): void;
|
|
22279
|
+
}
|
|
22055
22280
|
/**
|
|
22056
22281
|
* Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
|
|
22057
22282
|
* the real implementation and `satisfies` this interface; `bb plugin build`
|
|
22058
22283
|
* shims the specifier to that object on `globalThis.__bbPluginRuntime`.
|
|
22059
22284
|
*/
|
|
22060
22285
|
interface PluginSdkApp {
|
|
22286
|
+
experimental_PluginRpcCallError: typeof experimental_PluginRpcCallError;
|
|
22287
|
+
experimental_useRpcRefresh(): {
|
|
22288
|
+
refresh(): void;
|
|
22289
|
+
isRefreshing: boolean;
|
|
22290
|
+
};
|
|
22291
|
+
/** Read tagged plugin data through BB's shared query cache and realtime lifecycle. */
|
|
22292
|
+
experimental_useRpcQuery<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcQueryOptions<Contract, Method>): ExperimentalRpcQueryState<PluginRpcResult<Contract[Method]>>;
|
|
22293
|
+
/** Call a mutating RPC through BB's query client; pending until the server acknowledges the write; matched reads refresh in the background. */
|
|
22294
|
+
experimental_useRpcMutation<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcMutationOptions<Contract, Method>): ExperimentalRpcMutationState<Contract[Method]>;
|
|
22295
|
+
/** Cache each key independently and batch missing or invalidated keys in the same render. */
|
|
22296
|
+
experimental_useRpcKeyedQuery<Contract extends PluginRpcContract, Method extends ExperimentalRpcKeyedMethod<Contract>, Selection = Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>>(options: {
|
|
22297
|
+
contract: Contract;
|
|
22298
|
+
pluginId?: string;
|
|
22299
|
+
method: Method;
|
|
22300
|
+
keys: readonly string[];
|
|
22301
|
+
enabled?: boolean;
|
|
22302
|
+
/** Pure projection; the selection type is inferred from its return value. */
|
|
22303
|
+
select?(data: Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>): Selection;
|
|
22304
|
+
}): ExperimentalRpcKeyedQueryState<ExperimentalRpcKeyedValue<Contract[Method]>, Selection>;
|
|
22061
22305
|
experimental_Icon: ComponentType<ExperimentalIconProps>;
|
|
22062
22306
|
/**
|
|
22063
22307
|
* Render provider slot override, then its logo, then its glyph, then fallback.
|
|
@@ -22445,6 +22689,20 @@ declare const experimental_useBranches: (args: UseBranchesArgs) => BranchesState
|
|
|
22445
22689
|
declare const experimental_useCheckoutState: (args: UseCheckoutStateArgs) => CheckoutState;
|
|
22446
22690
|
declare const experimental_SourceCode: react.ComponentType<SourceCodeProps>;
|
|
22447
22691
|
declare const experimental_Diff: react.ComponentType<DiffProps>;
|
|
22692
|
+
declare const experimental_useRpcQuery: <Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcQueryOptions<Contract, Method>) => ExperimentalRpcQueryState<PluginRpcResult<Contract[Method]>>;
|
|
22693
|
+
declare const experimental_useRpcKeyedQuery: <Contract extends PluginRpcContract, Method extends ExperimentalRpcKeyedMethod<Contract>, Selection = Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>>(options: {
|
|
22694
|
+
contract: Contract;
|
|
22695
|
+
pluginId?: string;
|
|
22696
|
+
method: Method;
|
|
22697
|
+
keys: readonly string[];
|
|
22698
|
+
enabled?: boolean;
|
|
22699
|
+
select?(data: Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>): Selection;
|
|
22700
|
+
}) => ExperimentalRpcKeyedQueryState<ExperimentalRpcKeyedValue<Contract[Method]>, Selection>;
|
|
22701
|
+
declare const experimental_useRpcMutation: <Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcMutationOptions<Contract, Method>) => ExperimentalRpcMutationState<Contract[Method]>;
|
|
22702
|
+
declare const experimental_useRpcRefresh: () => {
|
|
22703
|
+
refresh(): void;
|
|
22704
|
+
isRefreshing: boolean;
|
|
22705
|
+
};
|
|
22448
22706
|
declare const useRpc: <Contract extends PluginRpcContract = Readonly<Record<string, PluginRpcMethodContract<StandardSchemaV1<unknown, unknown>, StandardSchemaV1<unknown, unknown>>>>>() => PluginRpcClient<Contract>;
|
|
22449
22707
|
declare const useRealtime: (channel: string, handler: (payload: unknown) => void) => void;
|
|
22450
22708
|
declare const useRealtimeConnectionState: () => PluginRealtimeConnectionState;
|
|
@@ -22486,5 +22744,5 @@ declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
|
22486
22744
|
declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
|
|
22487
22745
|
declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => Promise<ExperimentalSaveFileOutcome>;
|
|
22488
22746
|
|
|
22489
|
-
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useThreadActionRegistrations, experimental_useThreadActions, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
22490
|
-
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, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalVoiceInputTextareaProps, JsonValue$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, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
22747
|
+
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_PluginRpcCallError, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useThreadActionRegistrations, experimental_useThreadActions, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
22748
|
+
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, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalVoiceInputTextareaProps, 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, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|