@get-bb/plugin-sdk 0.6.73 → 0.6.79
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 +137 -8
- package/bundled-types/bb-plugin-sdk-host.d.ts +7 -0
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +20 -1
- 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 +7 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +43 -2
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +4 -1
- package/bundled-types/bb-plugin-sdk-testing.d.ts +13 -0
- package/bundled-types/bb-plugin-sdk.d.ts +141 -7
- package/dist/app.js +9 -0
- package/dist/index.js +5 -0
- package/dist/internal/host-policy.js +30 -1
- package/dist/internal/plugin-app-collector.js +35 -0
- package/dist/provider-bridge-acp-next.js +29 -9
- package/dist/provider-bridge-acp.js +29 -9
- package/dist/provider-bridge-testing.js +2 -1
- package/dist/provider-bridge.js +139 -13
- package/dist/testing/app.js +44 -0
- package/dist/testing/index.js +36 -4
- package/package.json +2 -1
|
@@ -525,6 +525,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
525
525
|
compactExpiredCache: "compactExpiredCache";
|
|
526
526
|
performanceDiagnostics: "performanceDiagnostics";
|
|
527
527
|
serverMove: "serverMove";
|
|
528
|
+
sidebarMultiSelect: "sidebarMultiSelect";
|
|
528
529
|
timelinePush: "timelinePush";
|
|
529
530
|
}>, z$1.ZodBoolean>;
|
|
530
531
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
@@ -533,6 +534,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
533
534
|
compactExpiredCache: "compactExpiredCache";
|
|
534
535
|
performanceDiagnostics: "performanceDiagnostics";
|
|
535
536
|
serverMove: "serverMove";
|
|
537
|
+
sidebarMultiSelect: "sidebarMultiSelect";
|
|
536
538
|
timelinePush: "timelinePush";
|
|
537
539
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
538
540
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
@@ -4209,11 +4211,13 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
4209
4211
|
pluginId: z$1.ZodString;
|
|
4210
4212
|
reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
4211
4213
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4214
|
+
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
4212
4215
|
id: z$1.ZodString;
|
|
4213
4216
|
label: z$1.ZodString;
|
|
4214
4217
|
}, z$1.core.$strip>>>;
|
|
4215
4218
|
serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
4216
4219
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4220
|
+
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
4217
4221
|
id: z$1.ZodString;
|
|
4218
4222
|
label: z$1.ZodString;
|
|
4219
4223
|
}, z$1.core.$strip>>>;
|
|
@@ -4598,6 +4602,13 @@ type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<S
|
|
|
4598
4602
|
type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
4599
4603
|
interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
|
|
4600
4604
|
readonly experimental_description?: string;
|
|
4605
|
+
/**
|
|
4606
|
+
* Host contracts only. When true and the daemon's response has not arrived
|
|
4607
|
+
* within half of the call's transport timeout, bb cancels the call and sends
|
|
4608
|
+
* it once more, the retry core uses for its own read-only daemon commands.
|
|
4609
|
+
* Declare it only for reads that are safe to run twice.
|
|
4610
|
+
*/
|
|
4611
|
+
readonly experimental_retryable?: boolean;
|
|
4601
4612
|
readonly input: InputSchema;
|
|
4602
4613
|
readonly output: OutputSchema;
|
|
4603
4614
|
}
|
|
@@ -7931,11 +7942,13 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7931
7942
|
type: z$1.ZodLiteral<"host.list_skills">;
|
|
7932
7943
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7933
7944
|
skills: z$1.ZodArray<z$1.ZodObject<{
|
|
7945
|
+
contentSha256: z$1.ZodString;
|
|
7934
7946
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7935
7947
|
filePath: z$1.ZodString;
|
|
7936
7948
|
id: z$1.ZodString;
|
|
7937
7949
|
linked: z$1.ZodBoolean;
|
|
7938
7950
|
name: z$1.ZodString;
|
|
7951
|
+
realPath: z$1.ZodString;
|
|
7939
7952
|
rootKind: z$1.ZodEnum<{
|
|
7940
7953
|
"bb-builtin": "bb-builtin";
|
|
7941
7954
|
"bb-data-dir": "bb-data-dir";
|
|
@@ -7990,11 +8003,13 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7990
8003
|
}, z$1.core.$strict>], "kind">>;
|
|
7991
8004
|
projectSkillsTruncated: z$1.ZodBoolean;
|
|
7992
8005
|
sharedSkills: z$1.ZodArray<z$1.ZodObject<{
|
|
8006
|
+
contentSha256: z$1.ZodString;
|
|
7993
8007
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7994
8008
|
filePath: z$1.ZodString;
|
|
7995
8009
|
id: z$1.ZodString;
|
|
7996
8010
|
linked: z$1.ZodBoolean;
|
|
7997
8011
|
name: z$1.ZodString;
|
|
8012
|
+
realPath: z$1.ZodString;
|
|
7998
8013
|
rootKind: z$1.ZodEnum<{
|
|
7999
8014
|
"bb-builtin": "bb-builtin";
|
|
8000
8015
|
"bb-data-dir": "bb-data-dir";
|
|
@@ -10537,11 +10552,13 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
10537
10552
|
pluginId: z$1.ZodString;
|
|
10538
10553
|
reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
10539
10554
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
10555
|
+
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
10540
10556
|
id: z$1.ZodString;
|
|
10541
10557
|
label: z$1.ZodString;
|
|
10542
10558
|
}, z$1.core.$strip>>>;
|
|
10543
10559
|
serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
10544
10560
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
10561
|
+
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
10545
10562
|
id: z$1.ZodString;
|
|
10546
10563
|
label: z$1.ZodString;
|
|
10547
10564
|
}, z$1.core.$strip>>>;
|
|
@@ -10990,6 +11007,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10990
11007
|
compactExpiredCache: "compactExpiredCache";
|
|
10991
11008
|
performanceDiagnostics: "performanceDiagnostics";
|
|
10992
11009
|
serverMove: "serverMove";
|
|
11010
|
+
sidebarMultiSelect: "sidebarMultiSelect";
|
|
10993
11011
|
timelinePush: "timelinePush";
|
|
10994
11012
|
}>, z$1.ZodBoolean>;
|
|
10995
11013
|
featureFlags: z$1.ZodObject<{
|
|
@@ -11582,11 +11600,13 @@ declare const systemProviderCatalogEntrySchema: z$1.ZodObject<{
|
|
|
11582
11600
|
pluginId: z$1.ZodString;
|
|
11583
11601
|
reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
11584
11602
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
11603
|
+
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
11585
11604
|
id: z$1.ZodString;
|
|
11586
11605
|
label: z$1.ZodString;
|
|
11587
11606
|
}, z$1.core.$strip>>>;
|
|
11588
11607
|
serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
11589
11608
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
11609
|
+
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
11590
11610
|
id: z$1.ZodString;
|
|
11591
11611
|
label: z$1.ZodString;
|
|
11592
11612
|
}, z$1.core.$strip>>>;
|
|
@@ -20250,6 +20270,12 @@ interface PluginProviderOptionDescriptor {
|
|
|
20250
20270
|
id: string;
|
|
20251
20271
|
label: string;
|
|
20252
20272
|
description?: string;
|
|
20273
|
+
/** Host glyph name (`"Zap"`) or declared icon (`"<pluginId>/<name>"`, an
|
|
20274
|
+
* entry of this plugin's `bb.branding.experimental_icons`; any other plugin
|
|
20275
|
+
* id or an undeclared name fails the load) shown beside a selected service
|
|
20276
|
+
* tier. Host glyphs draw filled. Ignored for reasoning levels. Defaults to
|
|
20277
|
+
* `"Zap"`. */
|
|
20278
|
+
experimental_icon?: string;
|
|
20253
20279
|
}
|
|
20254
20280
|
/**
|
|
20255
20281
|
* Payload schemas for one extension kind this provider emits, keyed by the
|
|
@@ -22582,6 +22608,73 @@ interface ExperimentalThreadInfoProps {
|
|
|
22582
22608
|
*/
|
|
22583
22609
|
threadId: string;
|
|
22584
22610
|
projectId: string;
|
|
22611
|
+
/**
|
|
22612
|
+
* The thread's environment, or null when the thread has no environment,
|
|
22613
|
+
* its host is not active, or the environment is not a usable checkout.
|
|
22614
|
+
*/
|
|
22615
|
+
environment: ExperimentalThreadEnvironment | null;
|
|
22616
|
+
}
|
|
22617
|
+
/** An environment a thread surface hands to plugin components. */
|
|
22618
|
+
interface ExperimentalThreadEnvironment {
|
|
22619
|
+
id: string;
|
|
22620
|
+
}
|
|
22621
|
+
/**
|
|
22622
|
+
* A visible thread context segment. `key` is `<pluginId>/<id>`, where bb's own
|
|
22623
|
+
* segments use `bb--core`, as thread action keys do.
|
|
22624
|
+
*/
|
|
22625
|
+
interface ExperimentalThreadContextSegmentReference {
|
|
22626
|
+
key: string;
|
|
22627
|
+
pluginId: string;
|
|
22628
|
+
}
|
|
22629
|
+
/** What a thread context segment knows about its thread. */
|
|
22630
|
+
interface ExperimentalThreadContextSegmentInput {
|
|
22631
|
+
threadId: string;
|
|
22632
|
+
projectId: string;
|
|
22633
|
+
/**
|
|
22634
|
+
* The thread's environment, or null when the thread has no environment,
|
|
22635
|
+
* its host is not active, the environment is not a usable checkout, or the
|
|
22636
|
+
* user turned off "Show Git changes and Commit button".
|
|
22637
|
+
*/
|
|
22638
|
+
environment: ExperimentalThreadEnvironment | null;
|
|
22639
|
+
}
|
|
22640
|
+
/** Props of a thread context segment's `summary`, `action` and `details`. */
|
|
22641
|
+
interface ExperimentalThreadContextSegmentProps extends ExperimentalThreadContextSegmentInput {
|
|
22642
|
+
/** The visible segments in row order, this one included. */
|
|
22643
|
+
segments: readonly ExperimentalThreadContextSegmentReference[];
|
|
22644
|
+
/** One segment of a thread's context row is expanded at a time. */
|
|
22645
|
+
isExpanded: boolean;
|
|
22646
|
+
onToggle(): void;
|
|
22647
|
+
}
|
|
22648
|
+
/**
|
|
22649
|
+
* A segment of the context row above an existing thread's composer. bb's
|
|
22650
|
+
* parent thread and changed files register through this slot too. The host
|
|
22651
|
+
* mounts each component in its own crash boundary.
|
|
22652
|
+
*/
|
|
22653
|
+
interface ExperimentalThreadContextSegmentRegistration {
|
|
22654
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
22655
|
+
id: string;
|
|
22656
|
+
/** Accessible name of the group the host wraps around `summary`. */
|
|
22657
|
+
title: string;
|
|
22658
|
+
/**
|
|
22659
|
+
* Segments sort by `group` (string compare), then by `order` within a group
|
|
22660
|
+
* (unset sorts last), then by registration order, with bb's own first on a
|
|
22661
|
+
* tie. bb's groups are
|
|
22662
|
+
* {@link PluginSdkApp.experimental_THREAD_CONTEXT_SEGMENT_GROUPS}; any other
|
|
22663
|
+
* string is a group of its own, placed where it sorts.
|
|
22664
|
+
*/
|
|
22665
|
+
group: string;
|
|
22666
|
+
order?: number;
|
|
22667
|
+
/** Renders in the context row. */
|
|
22668
|
+
summary: ComponentType<ExperimentalThreadContextSegmentProps>;
|
|
22669
|
+
/** Renders at the row's end, after every segment's summary. */
|
|
22670
|
+
action?: ComponentType<ExperimentalThreadContextSegmentProps>;
|
|
22671
|
+
/** Renders below the row; show content only while `isExpanded`. */
|
|
22672
|
+
details?: ComponentType<ExperimentalThreadContextSegmentProps>;
|
|
22673
|
+
/**
|
|
22674
|
+
* Runs in plugin scope for each thread; false hides the segment and leaves
|
|
22675
|
+
* it out of `segments`. Omit to always show.
|
|
22676
|
+
*/
|
|
22677
|
+
useVisible?(input: ExperimentalThreadContextSegmentInput): boolean;
|
|
22585
22678
|
}
|
|
22586
22679
|
/**
|
|
22587
22680
|
* A row in the thread Info tab's details block, beside bb's own rows. Render
|
|
@@ -22944,6 +23037,16 @@ interface PluginSidebarSplitLayout {
|
|
|
22944
23037
|
isFocused: boolean;
|
|
22945
23038
|
}[];
|
|
22946
23039
|
}
|
|
23040
|
+
/** Options for {@link PluginSdkApp.experimental_useSidebarThreadSplit}. */
|
|
23041
|
+
interface PluginSidebarThreadSplitOptions {
|
|
23042
|
+
/**
|
|
23043
|
+
* Every thread a drag from this row carries, in list order, when the row is
|
|
23044
|
+
* part of a multi-row selection; include the row's own thread. With more
|
|
23045
|
+
* than one thread the drag offers no split or replace targets and drops
|
|
23046
|
+
* onto a composer as one mention per thread. Omit for a single-row drag.
|
|
23047
|
+
*/
|
|
23048
|
+
dragThreadIds?: readonly string[];
|
|
23049
|
+
}
|
|
22947
23050
|
/**
|
|
22948
23051
|
* Drag-to-split support for one row, plus where that thread currently sits in
|
|
22949
23052
|
* the split layout.
|
|
@@ -23467,10 +23570,13 @@ interface ExperimentalComposerEditor {
|
|
|
23467
23570
|
focus(): boolean;
|
|
23468
23571
|
/** Focus the editor with the caret at the end of the draft. */
|
|
23469
23572
|
focusEnd(): void;
|
|
23470
|
-
/** Whether
|
|
23573
|
+
/** Whether threads dragged from the sidebar can be dropped now. */
|
|
23471
23574
|
acceptsThreadDrop(): boolean;
|
|
23472
|
-
/**
|
|
23473
|
-
|
|
23575
|
+
/**
|
|
23576
|
+
* Insert one mention per dropped thread, in order, starting at the viewport
|
|
23577
|
+
* point `x`, `y`. A drag from a multi-row sidebar selection drops several.
|
|
23578
|
+
*/
|
|
23579
|
+
insertDroppedThreads(threads: readonly ExperimentalDroppedThreadMention[], x: number, y: number): void;
|
|
23474
23580
|
openPopup(pluginId: string, popupId: string): boolean;
|
|
23475
23581
|
closePopup(pluginId: string): boolean;
|
|
23476
23582
|
isPopupOpen(): boolean;
|
|
@@ -23507,7 +23613,7 @@ interface ExperimentalComposerThreadLinkTarget {
|
|
|
23507
23613
|
interface ExperimentalComposerThreadLink extends ExperimentalComposerThreadLinkTarget {
|
|
23508
23614
|
label: string;
|
|
23509
23615
|
}
|
|
23510
|
-
/**
|
|
23616
|
+
/** A thread an app drag dropped onto the composer. */
|
|
23511
23617
|
interface ExperimentalDroppedThreadMention {
|
|
23512
23618
|
threadId: string;
|
|
23513
23619
|
label: string;
|
|
@@ -24123,6 +24229,12 @@ interface PluginAppSlots {
|
|
|
24123
24229
|
* docs/api_to_audit.md.
|
|
24124
24230
|
*/
|
|
24125
24231
|
experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
|
|
24232
|
+
/**
|
|
24233
|
+
* Add context beside an existing thread's composer (see
|
|
24234
|
+
* {@link ExperimentalThreadContextSegmentRegistration}). Experimental: see
|
|
24235
|
+
* docs/api_to_audit.md.
|
|
24236
|
+
*/
|
|
24237
|
+
experimental_threadContextSegment(registration: ExperimentalThreadContextSegmentRegistration): void;
|
|
24126
24238
|
/**
|
|
24127
24239
|
* Add a row to the thread Info tab's details block (see
|
|
24128
24240
|
* {@link ExperimentalThreadInfoRowRegistration}). Experimental: see
|
|
@@ -25467,6 +25579,13 @@ interface PluginSdkApp {
|
|
|
25467
25579
|
*/
|
|
25468
25580
|
useRealtimeConnectionState(): PluginRealtimeConnectionState;
|
|
25469
25581
|
useSettings(): PluginSettingsState;
|
|
25582
|
+
/**
|
|
25583
|
+
* Whether the bb experiment `key` is on (Settings → Experiments,
|
|
25584
|
+
* `bb settings experiment <key>`), following live changes. False while the
|
|
25585
|
+
* app config loads and for keys this bb does not know. Experimental: see
|
|
25586
|
+
* docs/api_to_audit.md.
|
|
25587
|
+
*/
|
|
25588
|
+
experimental_useExperiment(key: string): boolean;
|
|
25470
25589
|
useBbContext(): BbContext;
|
|
25471
25590
|
/**
|
|
25472
25591
|
* The id of the plugin that owns the calling component: the same id
|
|
@@ -25572,6 +25691,17 @@ interface PluginSdkApp {
|
|
|
25572
25691
|
readonly settings: "3_settings";
|
|
25573
25692
|
readonly lifecycle: "4_lifecycle";
|
|
25574
25693
|
};
|
|
25694
|
+
/**
|
|
25695
|
+
* bb's thread context segment groups, for an
|
|
25696
|
+
* `experimental_threadContextSegment` that joins one: `thread` (Parent
|
|
25697
|
+
* thread) and `git` (Changed files). A plugin names its own
|
|
25698
|
+
* group to sort between them, such as `"2_pullRequest"`. Experimental: see
|
|
25699
|
+
* docs/api_to_audit.md.
|
|
25700
|
+
*/
|
|
25701
|
+
experimental_THREAD_CONTEXT_SEGMENT_GROUPS: {
|
|
25702
|
+
readonly thread: "1_thread";
|
|
25703
|
+
readonly git: "3_git";
|
|
25704
|
+
};
|
|
25575
25705
|
/**
|
|
25576
25706
|
* bb's thread Info row groups, for an `experimental_threadInfoRow` that
|
|
25577
25707
|
* joins one: `thread` (Parent, Notify parent, Project), `environment`
|
|
@@ -25602,7 +25732,7 @@ interface PluginSdkApp {
|
|
|
25602
25732
|
* Call it once per rendered row, like the built-in sidebar does.
|
|
25603
25733
|
* Experimental: see docs/api_to_audit.md.
|
|
25604
25734
|
*/
|
|
25605
|
-
experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
|
|
25735
|
+
experimental_useSidebarThreadSplit(threadId: string, options?: PluginSidebarThreadSplitOptions): PluginSidebarThreadSplit;
|
|
25606
25736
|
/**
|
|
25607
25737
|
* The sidebar navigation items in the user's saved order, the active item,
|
|
25608
25738
|
* and the host actions that activate, hide, reorder, and customize them
|
|
@@ -26155,6 +26285,10 @@ declare const experimental_THREAD_ACTION_GROUPS: {
|
|
|
26155
26285
|
readonly lifecycle: "4_lifecycle";
|
|
26156
26286
|
};
|
|
26157
26287
|
|
|
26288
|
+
declare const experimental_THREAD_CONTEXT_SEGMENT_GROUPS: {
|
|
26289
|
+
readonly thread: "1_thread";
|
|
26290
|
+
readonly git: "3_git";
|
|
26291
|
+
};
|
|
26158
26292
|
declare const experimental_THREAD_INFO_ROW_GROUPS: {
|
|
26159
26293
|
readonly thread: "1_thread";
|
|
26160
26294
|
readonly environment: "2_environment";
|
|
@@ -26168,5 +26302,5 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
|
|
|
26168
26302
|
readonly storage: "3_storage";
|
|
26169
26303
|
};
|
|
26170
26304
|
|
|
26171
|
-
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry };
|
|
26172
|
-
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, 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, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenFixedTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, 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, ExperimentalTabOpenOptions, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
26305
|
+
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry };
|
|
26306
|
+
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, 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, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenFixedTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, 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, ExperimentalTabOpenOptions, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
package/dist/app.js
CHANGED
|
@@ -89,6 +89,10 @@ var experimental_THREAD_ACTION_GROUPS = {
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
// src/thread-info-groups.ts
|
|
92
|
+
var experimental_THREAD_CONTEXT_SEGMENT_GROUPS = {
|
|
93
|
+
thread: "1_thread",
|
|
94
|
+
git: "3_git"
|
|
95
|
+
};
|
|
92
96
|
var experimental_THREAD_INFO_ROW_GROUPS = {
|
|
93
97
|
thread: "1_thread",
|
|
94
98
|
environment: "2_environment",
|
|
@@ -293,6 +297,9 @@ var experimental_ThreadActionsMenu = runtimeComponent(
|
|
|
293
297
|
var experimental_ThreadActionsContextMenu = runtimeComponent(
|
|
294
298
|
"experimental_ThreadActionsContextMenu"
|
|
295
299
|
);
|
|
300
|
+
var experimental_useExperiment = runtimeFunction(
|
|
301
|
+
"experimental_useExperiment"
|
|
302
|
+
);
|
|
296
303
|
var experimental_useSidebarThreadSplit = runtimeFunction(
|
|
297
304
|
"experimental_useSidebarThreadSplit"
|
|
298
305
|
);
|
|
@@ -365,6 +372,7 @@ export {
|
|
|
365
372
|
experimental_SidebarNavigationIcon,
|
|
366
373
|
experimental_SourceCode,
|
|
367
374
|
experimental_THREAD_ACTION_GROUPS,
|
|
375
|
+
experimental_THREAD_CONTEXT_SEGMENT_GROUPS,
|
|
368
376
|
experimental_THREAD_INFO_ROW_GROUPS,
|
|
369
377
|
experimental_THREAD_INFO_SECTION_GROUPS,
|
|
370
378
|
experimental_ThreadActionsContextMenu,
|
|
@@ -388,6 +396,7 @@ export {
|
|
|
388
396
|
experimental_useComposerContributions,
|
|
389
397
|
experimental_useComposerMentionSearch,
|
|
390
398
|
experimental_useComposerRenderer,
|
|
399
|
+
experimental_useExperiment,
|
|
391
400
|
experimental_useFixedTabTarget,
|
|
392
401
|
experimental_usePluginId,
|
|
393
402
|
experimental_useProviders,
|
package/dist/index.js
CHANGED
|
@@ -902,6 +902,10 @@ var experimental_THREAD_ACTION_GROUPS = {
|
|
|
902
902
|
};
|
|
903
903
|
|
|
904
904
|
// src/thread-info-groups.ts
|
|
905
|
+
var experimental_THREAD_CONTEXT_SEGMENT_GROUPS = {
|
|
906
|
+
thread: "1_thread",
|
|
907
|
+
git: "3_git"
|
|
908
|
+
};
|
|
905
909
|
var experimental_THREAD_INFO_ROW_GROUPS = {
|
|
906
910
|
thread: "1_thread",
|
|
907
911
|
environment: "2_environment",
|
|
@@ -923,6 +927,7 @@ export {
|
|
|
923
927
|
experimental_PluginRpcCallError,
|
|
924
928
|
experimental_PluginRpcRefusal,
|
|
925
929
|
experimental_THREAD_ACTION_GROUPS,
|
|
930
|
+
experimental_THREAD_CONTEXT_SEGMENT_GROUPS,
|
|
926
931
|
experimental_THREAD_INFO_ROW_GROUPS,
|
|
927
932
|
experimental_THREAD_INFO_SECTION_GROUPS,
|
|
928
933
|
experimental_defineHostEntry
|
|
@@ -833,10 +833,21 @@ function validateProviderOptionDescriptors(args) {
|
|
|
833
833
|
field: `${field}[${index}].description`,
|
|
834
834
|
value: record.description
|
|
835
835
|
});
|
|
836
|
+
const icon = record.experimental_icon === void 0 ? void 0 : requireNonBlankString({
|
|
837
|
+
providerId,
|
|
838
|
+
field: `${field}[${index}].experimental_icon`,
|
|
839
|
+
value: record.experimental_icon
|
|
840
|
+
});
|
|
841
|
+
if (icon !== void 0 && !isNamespacedGlyph(icon) && /[/\\]/u.test(icon)) {
|
|
842
|
+
throw new Error(
|
|
843
|
+
`provider "${providerId}" ${field}[${index}].experimental_icon must be a host glyph name ("Zap") or a declared icon ("<pluginId>/<name>")`
|
|
844
|
+
);
|
|
845
|
+
}
|
|
836
846
|
return Object.freeze({
|
|
837
847
|
id,
|
|
838
848
|
label,
|
|
839
|
-
...description === void 0 ? {} : { description }
|
|
849
|
+
...description === void 0 ? {} : { description },
|
|
850
|
+
...icon === void 0 ? {} : { experimental_icon: icon }
|
|
840
851
|
});
|
|
841
852
|
}
|
|
842
853
|
);
|
|
@@ -1846,6 +1857,23 @@ function undeclaredIconProblem(pluginId, declaredIconNames, glyph) {
|
|
|
1846
1857
|
function providerIconRefusalMessage(providerId, problem) {
|
|
1847
1858
|
return `provider "${providerId}" icon ${problem}`;
|
|
1848
1859
|
}
|
|
1860
|
+
function providerDeclarationIconRefusal(pluginId, declaredIconNames, declaration) {
|
|
1861
|
+
const iconProblem = declaration.icon === void 0 ? null : undeclaredIconProblem(pluginId, declaredIconNames, declaration.icon);
|
|
1862
|
+
if (iconProblem !== null) {
|
|
1863
|
+
return providerIconRefusalMessage(declaration.id, iconProblem);
|
|
1864
|
+
}
|
|
1865
|
+
for (const [index, tier] of (declaration.serviceTiers ?? []).entries()) {
|
|
1866
|
+
const tierProblem = tier.experimental_icon === void 0 ? null : undeclaredIconProblem(
|
|
1867
|
+
pluginId,
|
|
1868
|
+
declaredIconNames,
|
|
1869
|
+
tier.experimental_icon
|
|
1870
|
+
);
|
|
1871
|
+
if (tierProblem !== null) {
|
|
1872
|
+
return `provider "${declaration.id}" serviceTiers[${index}].experimental_icon ${tierProblem}`;
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
return null;
|
|
1876
|
+
}
|
|
1849
1877
|
function agentToolIconRefusalMessage(toolName, problem) {
|
|
1850
1878
|
return `tool "${toolName}" presentation.icon ${problem}`;
|
|
1851
1879
|
}
|
|
@@ -2834,6 +2862,7 @@ export {
|
|
|
2834
2862
|
pluginCliCollisionWarning,
|
|
2835
2863
|
pluginHookAlreadyRegisteredMessage,
|
|
2836
2864
|
providerAlreadyRegisteredMessage,
|
|
2865
|
+
providerDeclarationIconRefusal,
|
|
2837
2866
|
providerIconRefusalMessage,
|
|
2838
2867
|
providerWithoutBridgeMessage,
|
|
2839
2868
|
publishRpcMethod,
|
|
@@ -499,6 +499,7 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
499
499
|
threadLists: [],
|
|
500
500
|
experimentalSidebarNavigations: [],
|
|
501
501
|
threadHeaderActions: [],
|
|
502
|
+
threadContextSegments: [],
|
|
502
503
|
threadInfoRows: [],
|
|
503
504
|
threadInfoSections: [],
|
|
504
505
|
threadActions: [],
|
|
@@ -534,6 +535,7 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
534
535
|
sidebarNavigation: /* @__PURE__ */ new Set(),
|
|
535
536
|
sidebarHeader: /* @__PURE__ */ new Set(),
|
|
536
537
|
threadHeaderAction: /* @__PURE__ */ new Set(),
|
|
538
|
+
threadContextSegment: /* @__PURE__ */ new Set(),
|
|
537
539
|
threadInfoRow: /* @__PURE__ */ new Set(),
|
|
538
540
|
threadInfoSection: /* @__PURE__ */ new Set(),
|
|
539
541
|
threadAction: /* @__PURE__ */ new Set(),
|
|
@@ -870,6 +872,39 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
870
872
|
component: requireComponent(kind, registration.component)
|
|
871
873
|
});
|
|
872
874
|
},
|
|
875
|
+
experimental_threadContextSegment(registration) {
|
|
876
|
+
const kind = "slots.experimental_threadContextSegment";
|
|
877
|
+
const id = requireSlotId(kind, registration?.id);
|
|
878
|
+
requireUniqueId(kind, seenIds.threadContextSegment, id);
|
|
879
|
+
const optionalComponent = (field) => {
|
|
880
|
+
const value = registration[field];
|
|
881
|
+
if (value === void 0) return {};
|
|
882
|
+
if (typeof value !== "function") {
|
|
883
|
+
throw new Error(
|
|
884
|
+
`${kind}: "${field}" must be a React component function`
|
|
885
|
+
);
|
|
886
|
+
}
|
|
887
|
+
return { [field]: value };
|
|
888
|
+
};
|
|
889
|
+
if (typeof registration.summary !== "function") {
|
|
890
|
+
throw new Error(
|
|
891
|
+
`${kind}: "summary" must be a React component function`
|
|
892
|
+
);
|
|
893
|
+
}
|
|
894
|
+
if (registration.useVisible !== void 0 && typeof registration.useVisible !== "function") {
|
|
895
|
+
throw new Error(`${kind}: "useVisible" must be a function`);
|
|
896
|
+
}
|
|
897
|
+
collected.threadContextSegments.push({
|
|
898
|
+
id,
|
|
899
|
+
title: requireNonEmptyString(kind, "title", registration.title),
|
|
900
|
+
group: requireNonEmptyString(kind, "group", registration.group),
|
|
901
|
+
...requireOptionalOrder(kind, registration.order),
|
|
902
|
+
summary: registration.summary,
|
|
903
|
+
...optionalComponent("action"),
|
|
904
|
+
...optionalComponent("details"),
|
|
905
|
+
...registration.useVisible !== void 0 ? { useVisible: registration.useVisible } : {}
|
|
906
|
+
});
|
|
907
|
+
},
|
|
873
908
|
experimental_threadInfoRow(registration) {
|
|
874
909
|
const kind = "slots.experimental_threadInfoRow";
|
|
875
910
|
const id = requireSlotId(kind, registration?.id);
|
|
@@ -2905,7 +2905,8 @@ var providerStringsSchema = z20.object({
|
|
|
2905
2905
|
var providerOptionDescriptorSchema = z20.object({
|
|
2906
2906
|
id: z20.string().min(1),
|
|
2907
2907
|
label: z20.string().min(1),
|
|
2908
|
-
description: z20.string().min(1).optional()
|
|
2908
|
+
description: z20.string().min(1).optional(),
|
|
2909
|
+
icon: z20.string().min(1).optional()
|
|
2909
2910
|
});
|
|
2910
2911
|
var providerExtensionKindInfoSchema = z20.object({
|
|
2911
2912
|
item: z20.boolean(),
|
|
@@ -13696,9 +13697,23 @@ function compactionOutcomeForEndTurn(dialect, agentMessage) {
|
|
|
13696
13697
|
}
|
|
13697
13698
|
return OMP_COMPACTION_NOOP_PATTERN.test(text) ? { status: "skipped", detail: text } : { status: "failed", error: text };
|
|
13698
13699
|
}
|
|
13700
|
+
function presentProviderPrefixedModel(model) {
|
|
13701
|
+
const separator = model.id.indexOf("/");
|
|
13702
|
+
if (separator <= 0) {
|
|
13703
|
+
return model;
|
|
13704
|
+
}
|
|
13705
|
+
const routeProviderId = model.id.slice(0, separator);
|
|
13706
|
+
const prefix = `${routeProviderId}/`;
|
|
13707
|
+
return {
|
|
13708
|
+
...model,
|
|
13709
|
+
displayName: model.displayName.startsWith(prefix) ? model.displayName.slice(prefix.length) : model.displayName,
|
|
13710
|
+
routeProviderId
|
|
13711
|
+
};
|
|
13712
|
+
}
|
|
13699
13713
|
var OMP_ACP_DIALECT = {
|
|
13700
13714
|
id: "omp",
|
|
13701
|
-
commandResult: ompCommandResult
|
|
13715
|
+
commandResult: ompCommandResult,
|
|
13716
|
+
presentModel: presentProviderPrefixedModel
|
|
13702
13717
|
};
|
|
13703
13718
|
var openCodeCommandRawOutputSchema = z43.object({
|
|
13704
13719
|
output: z43.unknown().optional(),
|
|
@@ -13731,7 +13746,8 @@ function normalizeOpenCodeCommandEvent(event) {
|
|
|
13731
13746
|
}
|
|
13732
13747
|
var OPENCODE_ACP_DIALECT = {
|
|
13733
13748
|
id: "opencode",
|
|
13734
|
-
normalizeCommandEvent: normalizeOpenCodeCommandEvent
|
|
13749
|
+
normalizeCommandEvent: normalizeOpenCodeCommandEvent,
|
|
13750
|
+
presentModel: presentProviderPrefixedModel
|
|
13735
13751
|
};
|
|
13736
13752
|
var BUILT_IN_DIALECTS = [
|
|
13737
13753
|
GENERIC_ACP_DIALECT,
|
|
@@ -23962,10 +23978,11 @@ function decodeAcpBridgeJsonRpcRequest(raw) {
|
|
|
23962
23978
|
};
|
|
23963
23979
|
}
|
|
23964
23980
|
async function handleModelList(id, params, dialectId) {
|
|
23965
|
-
const
|
|
23981
|
+
const dialect = resolveAcpDialect({
|
|
23966
23982
|
dialectId,
|
|
23967
23983
|
command: params.optionsAgent?.command ?? params.agent?.command ?? ""
|
|
23968
|
-
})
|
|
23984
|
+
});
|
|
23985
|
+
const resolvedDialectId = dialect.id;
|
|
23969
23986
|
const declaredOptions = () => params.optionsAgent ? loadDeclaredSessionOptions(
|
|
23970
23987
|
params.optionsAgent,
|
|
23971
23988
|
params.parameterizedModelPicker,
|
|
@@ -23979,10 +23996,13 @@ async function handleModelList(id, params, dialectId) {
|
|
|
23979
23996
|
id,
|
|
23980
23997
|
splitPrimaryModels(
|
|
23981
23998
|
withDeclaredOptions(
|
|
23982
|
-
applyConfiguredReasoningToModels(
|
|
23983
|
-
|
|
23984
|
-
|
|
23985
|
-
|
|
23999
|
+
applyConfiguredReasoningToModels(
|
|
24000
|
+
models.map((model) => dialect.presentModel?.(model) ?? model),
|
|
24001
|
+
{
|
|
24002
|
+
reasoningCli: params.reasoningCli,
|
|
24003
|
+
nativeReasoning: params.nativeReasoning
|
|
24004
|
+
}
|
|
24005
|
+
),
|
|
23986
24006
|
await declaredOptions()
|
|
23987
24007
|
),
|
|
23988
24008
|
params.primaryModels
|