@get-bb/plugin-sdk 0.6.169 → 0.6.179

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.
@@ -436,6 +436,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
436
436
  "thread.rename": "thread.rename";
437
437
  "thread.search": "thread.search";
438
438
  "window.find": "window.find";
439
+ "window.forceReload": "window.forceReload";
439
440
  "window.new": "window.new";
440
441
  "window.reload": "window.reload";
441
442
  "workspace.openPreferred": "workspace.openPreferred";
@@ -617,6 +618,8 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
617
618
  }, z$1.core.$strict>], "entity">;
618
619
  type ChangedMessage = z$1.infer<typeof changedMessageSchema>;
619
620
 
621
+ declare const environmentHolderSchema: z$1.ZodLiteral<"user">;
622
+ type EnvironmentHolder = z$1.infer<typeof environmentHolderSchema>;
620
623
  declare const environmentStatusSchema: z$1.ZodEnum<{
621
624
  creating: "creating";
622
625
  destroyed: "destroyed";
@@ -655,6 +658,7 @@ declare const environmentSchema: z$1.ZodObject<{
655
658
  type: z$1.ZodLiteral<"new">;
656
659
  }, z$1.core.$strip>], "type">;
657
660
  }, z$1.core.$strip>>;
661
+ heldBy: z$1.ZodNullable<z$1.ZodLiteral<"user">>;
658
662
  hostId: z$1.ZodString;
659
663
  hostLifecycle: z$1.ZodEnum<{
660
664
  "cleanup-failed": "cleanup-failed";
@@ -696,6 +700,7 @@ declare const environmentSchema: z$1.ZodObject<{
696
700
  provisioning: "provisioning";
697
701
  ready: "ready";
698
702
  }>;
703
+ statusMessage: z$1.ZodNullable<z$1.ZodString>;
699
704
  updatedAt: z$1.ZodNumber;
700
705
  workspaceProvisionType: z$1.ZodNullable<z$1.ZodEnum<{
701
706
  "managed-worktree": "managed-worktree";
@@ -6081,6 +6086,7 @@ declare const hostDaemonCommandRegistry: {
6081
6086
  type: z$1.ZodLiteral<"thread.rewind.discard">;
6082
6087
  }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
6083
6088
  "thread.rewind.prepare": HostDaemonCommandDescriptor<"thread.rewind.prepare", z$1.ZodObject<{
6089
+ additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
6084
6090
  bridgeLaunch: z$1.ZodObject<{
6085
6091
  capabilities: z$1.ZodObject<{
6086
6092
  fork: z$1.ZodEnum<{
@@ -6230,6 +6236,7 @@ declare const hostDaemonCommandRegistry: {
6230
6236
  providerThreadId: z$1.ZodString;
6231
6237
  }, z$1.core.$strip>, "settled", false>;
6232
6238
  "thread.start": HostDaemonCommandDescriptor<"thread.start", z$1.ZodObject<{
6239
+ additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
6233
6240
  bridgeLaunch: z$1.ZodObject<{
6234
6241
  capabilities: z$1.ZodObject<{
6235
6242
  fork: z$1.ZodEnum<{
@@ -6800,6 +6807,7 @@ declare const hostDaemonCommandRegistry: {
6800
6807
  }, z$1.core.$strip>], "permissionMode">>;
6801
6808
  requestId: z$1.ZodString;
6802
6809
  resumeContext: z$1.ZodObject<{
6810
+ additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
6803
6811
  bridgeLaunch: z$1.ZodObject<{
6804
6812
  capabilities: z$1.ZodObject<{
6805
6813
  fork: z$1.ZodEnum<{
@@ -7020,6 +7028,7 @@ declare const hostDaemonCommandRegistry: {
7020
7028
  permissionScope: z$1.ZodLiteral<"full">;
7021
7029
  }, z$1.core.$strip>], "permissionMode">>;
7022
7030
  resumeContext: z$1.ZodObject<{
7031
+ additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
7023
7032
  bridgeLaunch: z$1.ZodObject<{
7024
7033
  capabilities: z$1.ZodObject<{
7025
7034
  fork: z$1.ZodEnum<{
@@ -7722,6 +7731,7 @@ declare const hostDaemonCommandRegistry: {
7722
7731
  }, z$1.core.$strip>>;
7723
7732
  }, z$1.core.$strip>, "onlineRpc", true>;
7724
7733
  "host.read_workspace_agent_context": HostDaemonCommandDescriptor<"host.read_workspace_agent_context", z$1.ZodObject<{
7734
+ folderPaths: z$1.ZodArray<z$1.ZodString>;
7725
7735
  includeAgentInstructions: z$1.ZodBoolean;
7726
7736
  projectSkillRead: z$1.ZodObject<{
7727
7737
  excludeNames: z$1.ZodArray<z$1.ZodString>;
@@ -7749,6 +7759,10 @@ declare const hostDaemonCommandRegistry: {
7749
7759
  type: z$1.ZodLiteral<"host.read_workspace_agent_context">;
7750
7760
  }, z$1.core.$strict>, z$1.ZodObject<{
7751
7761
  agentInstructions: z$1.ZodNullable<z$1.ZodString>;
7762
+ folders: z$1.ZodArray<z$1.ZodObject<{
7763
+ isGitRepo: z$1.ZodBoolean;
7764
+ path: z$1.ZodString;
7765
+ }, z$1.core.$strict>>;
7752
7766
  projectSkills: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7753
7767
  directoryName: z$1.ZodString;
7754
7768
  kind: z$1.ZodLiteral<"budget-exceeded">;
@@ -7977,7 +7991,7 @@ declare const hostDaemonCommandRegistry: {
7977
7991
  rootPath: z$1.ZodString;
7978
7992
  type: z$1.ZodLiteral<"host.read_file_chunk">;
7979
7993
  }, z$1.core.$strict>, z$1.ZodObject<{
7980
- content: z$1.ZodString;
7994
+ content: z$1.ZodInstanceOf<Uint8Array<ArrayBuffer>>;
7981
7995
  mimeType: z$1.ZodNullable<z$1.ZodString>;
7982
7996
  modifiedAtMs: z$1.ZodNumber;
7983
7997
  offset: z$1.ZodNumber;
@@ -10966,6 +10980,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10966
10980
  "thread.rename": "thread.rename";
10967
10981
  "thread.search": "thread.search";
10968
10982
  "window.find": "window.find";
10983
+ "window.forceReload": "window.forceReload";
10969
10984
  "window.new": "window.new";
10970
10985
  "window.reload": "window.reload";
10971
10986
  "workspace.openPreferred": "workspace.openPreferred";
@@ -11144,6 +11159,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
11144
11159
  "thread.rename": "thread.rename";
11145
11160
  "thread.search": "thread.search";
11146
11161
  "window.find": "window.find";
11162
+ "window.forceReload": "window.forceReload";
11147
11163
  "window.new": "window.new";
11148
11164
  "window.reload": "window.reload";
11149
11165
  "workspace.openPreferred": "workspace.openPreferred";
@@ -11247,6 +11263,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
11247
11263
  "thread.rename": "thread.rename";
11248
11264
  "thread.search": "thread.search";
11249
11265
  "window.find": "window.find";
11266
+ "window.forceReload": "window.forceReload";
11250
11267
  "window.new": "window.new";
11251
11268
  "window.reload": "window.reload";
11252
11269
  "workspace.openPreferred": "workspace.openPreferred";
@@ -14696,6 +14713,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14696
14713
  }, z$1.core.$strip>;
14697
14714
  }, z$1.core.$strict>>;
14698
14715
  total: z$1.ZodNumber;
14716
+ totalCapped: z$1.ZodBoolean;
14699
14717
  }, z$1.core.$strict>;
14700
14718
  archived: z$1.ZodObject<{
14701
14719
  results: z$1.ZodArray<z$1.ZodObject<{
@@ -14792,6 +14810,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14792
14810
  }, z$1.core.$strip>;
14793
14811
  }, z$1.core.$strict>>;
14794
14812
  total: z$1.ZodNumber;
14813
+ totalCapped: z$1.ZodBoolean;
14795
14814
  }, z$1.core.$strict>;
14796
14815
  }, z$1.core.$strict>;
14797
14816
  type ThreadSearchResponse = z$1.infer<typeof threadSearchResponseSchema>;
@@ -14917,6 +14936,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14917
14936
  type: z$1.ZodLiteral<"new">;
14918
14937
  }, z$1.core.$strip>], "type">;
14919
14938
  }, z$1.core.$strip>>;
14939
+ heldBy: z$1.ZodNullable<z$1.ZodLiteral<"user">>;
14920
14940
  hostId: z$1.ZodString;
14921
14941
  hostLifecycle: z$1.ZodEnum<{
14922
14942
  "cleanup-failed": "cleanup-failed";
@@ -14958,6 +14978,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14958
14978
  provisioning: "provisioning";
14959
14979
  ready: "ready";
14960
14980
  }>;
14981
+ statusMessage: z$1.ZodNullable<z$1.ZodString>;
14961
14982
  updatedAt: z$1.ZodNumber;
14962
14983
  workspaceProvisionType: z$1.ZodNullable<z$1.ZodEnum<{
14963
14984
  "managed-worktree": "managed-worktree";
@@ -18664,9 +18685,16 @@ type EnvironmentPathsResult = WorkspacePathListResponse;
18664
18685
  type EnvironmentUpdateResult = Environment;
18665
18686
  interface EnvironmentListArgs {
18666
18687
  environmentProviderId?: string;
18688
+ /** Only environments with this holder: `"user"` or `"plugin:<pluginId>"`. */
18689
+ heldBy?: EnvironmentHolder;
18667
18690
  hostId?: string;
18668
18691
  instanceKey?: string;
18669
- limit?: number;
18692
+ /**
18693
+ * Page size. A caller that needs every row pages with `offset` until a
18694
+ * page comes back shorter than its `limit`.
18695
+ */
18696
+ limit: number;
18697
+ /** Rows to skip, in the list's own order; defaults to 0. */
18670
18698
  offset?: number;
18671
18699
  path?: string;
18672
18700
  projectId?: string;
@@ -18674,6 +18702,25 @@ interface EnvironmentListArgs {
18674
18702
  status?: EnvironmentStatus;
18675
18703
  }
18676
18704
  type EnvironmentListResult = Environment[];
18705
+ interface EnvironmentCreateBaseArgs {
18706
+ projectId: string;
18707
+ /** Defaults to the project's default checkout machine. */
18708
+ hostId?: string;
18709
+ /** Defaults to the Worktree provider (Personal workspace for the personal project). */
18710
+ provider?: {
18711
+ id: string;
18712
+ inputs?: JsonValue$1;
18713
+ };
18714
+ name?: string;
18715
+ }
18716
+ /**
18717
+ * `hold: "user"` keeps the environment until the user deletes it and lets
18718
+ * threads join it.
18719
+ */
18720
+ type EnvironmentCreateArgs = EnvironmentCreateBaseArgs & {
18721
+ hold: "user";
18722
+ };
18723
+ type EnvironmentCreateResult = Environment;
18677
18724
  interface EnvironmentDeleteArgs {
18678
18725
  environmentId: string;
18679
18726
  }
@@ -18685,13 +18732,15 @@ interface EnvironmentListProvidersArgs {
18685
18732
  }
18686
18733
  type EnvironmentListProvidersResult = SystemEnvironmentProvider[];
18687
18734
  interface EnvironmentsArea {
18735
+ /** Create an environment before any thread exists; setup runs as for a thread. Experimental: see docs/api_to_audit.md. */
18736
+ experimental_create(args: EnvironmentCreateArgs): Promise<EnvironmentCreateResult>;
18688
18737
  experimental_cleanup(args: EnvironmentActionArgs & {
18689
18738
  recover?: boolean;
18690
18739
  }): Promise<OperationResponse>;
18691
18740
  archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
18692
18741
  commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
18693
18742
  get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
18694
- list(args?: EnvironmentListArgs): Promise<EnvironmentListResult>;
18743
+ list(args: EnvironmentListArgs): Promise<EnvironmentListResult>;
18695
18744
  listProviders(args?: EnvironmentListProvidersArgs): Promise<EnvironmentListProvidersResult>;
18696
18745
  delete(args: EnvironmentDeleteArgs): Promise<EnvironmentDeleteResult>;
18697
18746
  paths(args: EnvironmentPathsArgs): Promise<EnvironmentPathsResult>;
@@ -19744,7 +19793,12 @@ interface ThreadListArgs {
19744
19793
  sectionId?: string;
19745
19794
  hasParent?: boolean;
19746
19795
  includeHidden?: boolean;
19747
- limit?: number;
19796
+ /**
19797
+ * Page size. A caller that needs every row pages with `offset` until a
19798
+ * page comes back shorter than its `limit`.
19799
+ */
19800
+ limit: number;
19801
+ /** Rows to skip, in the list's own order; defaults to 0. */
19748
19802
  offset?: number;
19749
19803
  originKind?: ThreadListQuery["originKind"];
19750
19804
  originPluginId?: string;
@@ -20205,7 +20259,7 @@ interface ThreadsArea {
20205
20259
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
20206
20260
  queue: ThreadQueueArea;
20207
20261
  interactions: ThreadInteractionsArea;
20208
- list(args?: ThreadListArgs): Promise<ThreadListResult>;
20262
+ list(args: ThreadListArgs): Promise<ThreadListResult>;
20209
20263
  listRunning(args?: {
20210
20264
  signal?: AbortSignal;
20211
20265
  }): Promise<ThreadRunningResult>;
@@ -20307,6 +20361,27 @@ interface BbSdk extends BbSdkAreas {
20307
20361
  guide: GuideArea;
20308
20362
  }
20309
20363
 
20364
+ interface BbHttpErrorArgs {
20365
+ body: unknown;
20366
+ code: string | null;
20367
+ message: string;
20368
+ status: number;
20369
+ }
20370
+ /**
20371
+ * A non-2xx response from the bb server API. `status` is the HTTP status,
20372
+ * `code` the server's error code (`thread_not_found`, `forbidden`, ...) when
20373
+ * the body carried one, and `body` the parsed response body. `instanceof`
20374
+ * recognizes errors thrown by any copy of the SDK, so a plugin's bundled copy
20375
+ * matches the errors `bb.sdk` throws from the host.
20376
+ */
20377
+ declare class BbHttpError extends Error {
20378
+ static [Symbol.hasInstance](value: unknown): boolean;
20379
+ readonly body: unknown;
20380
+ readonly code: string | null;
20381
+ readonly status: number;
20382
+ constructor(args: BbHttpErrorArgs);
20383
+ }
20384
+
20310
20385
  /**
20311
20386
  * A value that survives a JSON round trip without coercion or data loss.
20312
20387
  *
@@ -20403,17 +20478,16 @@ interface PluginMachineProviderDefinition<S extends PluginMachineProviderInputsS
20403
20478
 
20404
20479
  type PluginEnvironmentProviderInputsSchema = StandardSchemaV1$1 | undefined;
20405
20480
  type Fact<R, K extends PropertyKey, T> = R extends Record<K, true> ? T : T | null;
20481
+ /** `ownsPath`: bb cloned this checkout, so a provider may own work there. */
20482
+ interface ProjectCheckout {
20483
+ path: string;
20484
+ ownsPath: boolean;
20485
+ }
20406
20486
  type Checkout<R> = R extends {
20407
20487
  projectCheckout: true;
20408
20488
  } | {
20409
20489
  gitCheckout: true;
20410
- } ? {
20411
- path: string;
20412
- experimental_ownsPath: boolean;
20413
- } : {
20414
- path: string;
20415
- experimental_ownsPath: boolean;
20416
- } | null;
20490
+ } ? ProjectCheckout : ProjectCheckout | null;
20417
20491
  type InputsValue<S> = S extends StandardSchemaV1$1 ? StandardSchemaV1InferOutput$1<S> : null;
20418
20492
  /** Attempt-scoped updates; core persists each update before this call returns. */
20419
20493
  interface PluginEnvironmentProviderProgress {
@@ -20427,6 +20501,15 @@ interface PluginEnvironmentProviderValidateContext<R extends PluginEnvironmentPr
20427
20501
  gitRemote: Fact<R, "gitRemote", string>;
20428
20502
  inputs: InputsValue<S>;
20429
20503
  }
20504
+ interface PluginEnvironmentProviderLocation {
20505
+ path: string;
20506
+ reuse: boolean;
20507
+ }
20508
+ interface PluginEnvironmentProviderLocateContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> {
20509
+ host: Host;
20510
+ projectCheckout: Checkout<R>;
20511
+ inputs: InputsValue<S>;
20512
+ }
20430
20513
  interface PluginEnvironmentProviderAvailabilityContext {
20431
20514
  project: Project;
20432
20515
  host: Host;
@@ -20444,28 +20527,46 @@ type PluginEnvironmentProviderAvailability = {
20444
20527
  status: "unavailable";
20445
20528
  message: string;
20446
20529
  };
20447
- interface PluginEnvironmentProviderCreateContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> extends PluginEnvironmentProviderValidateContext<R, S> {
20448
- thread: ThreadResponse;
20449
- suggestedBranchName: string;
20530
+ /** The environment a create or restore produces a workspace for. */
20531
+ interface PluginEnvironmentProviderEnvironment {
20532
+ id: string;
20533
+ name: string | null;
20534
+ projectId: string;
20535
+ }
20536
+ /** Core's create steps, which a provider calls in the order it needs. */
20537
+ interface PluginEnvironmentProviderSteps {
20538
+ /**
20539
+ * The name for a branch this operation makes. A thread's environment
20540
+ * resolves to `<prefix><slug(title)>-<threadId>` once the thread's title
20541
+ * settles (generated, provided, or the fallback); a thread-less one resolves
20542
+ * at once to `<prefix><slug(name)>-<id>`, or `<prefix><id>` without a name.
20543
+ * Core generates the title while create runs, so await it as late as
20544
+ * possible. Repeated calls return the same name.
20545
+ */
20546
+ branchName(): Promise<string>;
20547
+ /**
20548
+ * Claims `path` as this environment's provider-owned workspace and asks core
20549
+ * to run setup there; resolves once the request is recorded, while setup
20550
+ * runs alongside the rest of create. The environment becomes ready only
20551
+ * after create returns `created` with the same path and `ownsPath: true`.
20552
+ * Without a call, core runs setup after create returns.
20553
+ */
20554
+ setup(path: string): Promise<void>;
20555
+ }
20556
+ interface PluginEnvironmentProviderCreateContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> extends PluginEnvironmentProviderValidateContext<R, S>, PluginEnvironmentProviderSteps {
20557
+ environment: PluginEnvironmentProviderEnvironment;
20450
20558
  attempt: number;
20451
20559
  pathKey: string;
20452
- experimental_claimPath(path: string): Promise<boolean>;
20453
20560
  report: PluginEnvironmentProviderProgress;
20454
20561
  signal: AbortSignal;
20455
20562
  }
20456
20563
  /** Rebuilds a thread's destroyed environment; `inputs` are the ones it was created with. */
20457
- interface PluginEnvironmentProviderRestoreContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> extends PluginEnvironmentProviderValidateContext<R, S> {
20458
- thread: ThreadResponse;
20459
- attempt: number;
20460
- pathKey: string;
20461
- experimental_claimPath(path: string): Promise<boolean>;
20564
+ interface PluginEnvironmentProviderRestoreContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> extends PluginEnvironmentProviderCreateContext<R, S> {
20462
20565
  /** Resource is private to this provider; null after completed removal. */
20463
20566
  previous: {
20464
20567
  environment: Environment;
20465
20568
  resource: JsonValue$2 | null;
20466
20569
  };
20467
- report: PluginEnvironmentProviderProgress;
20468
- signal: AbortSignal;
20469
20570
  }
20470
20571
  type PluginEnvironmentProviderCreateResult = {
20471
20572
  status: "created";
@@ -20498,11 +20599,25 @@ type PluginEnvironmentProviderRemoveResult = {
20498
20599
  interface PluginEnvironmentProviderPolicy {
20499
20600
  /** Default five minutes; null keeps the environment indefinitely. */
20500
20601
  retireGraceMs: number | null;
20501
- /** Default per-thread; replacement environments use a fresh key to avoid dead paths. */
20502
- pathKeys: "per-attempt" | "per-thread";
20602
+ /**
20603
+ * Default per-environment: one key for the environment's workspace, stable
20604
+ * across retries. Core derives it from the driving thread when there is one
20605
+ * and from the environment otherwise, so thread workspaces keep their
20606
+ * names. Replacement environments use a fresh key to avoid dead paths.
20607
+ */
20608
+ pathKeys: "per-attempt" | "per-environment";
20503
20609
  }
20504
- /** Resource operations only. Core owns durable launches, retries and retirement. */
20610
+ /**
20611
+ * Resource operations only. Core owns durable launches, retries and
20612
+ * retirement. Contexts carry the `environment` being created rather than a
20613
+ * thread, so core can also create environments before any thread exists.
20614
+ */
20505
20615
  interface PluginEnvironmentProviderDefinition<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> {
20616
+ /**
20617
+ * The context shape `create` and `restore` receive. Required: bb still runs
20618
+ * providers built before it with the earlier, thread-based contexts.
20619
+ */
20620
+ apiVersion: 2;
20506
20621
  id: string;
20507
20622
  displayName: string;
20508
20623
  /** Short explanation shown in environment choices. */
@@ -20515,10 +20630,18 @@ interface PluginEnvironmentProviderDefinition<R extends PluginEnvironmentProvide
20515
20630
  /** Experimental per-machine availability, probed in the background for pickers and again at thread creation: see docs/api_to_audit.md. */
20516
20631
  availability?(context: PluginEnvironmentProviderAvailabilityContext): PluginEnvironmentProviderAvailability | Promise<PluginEnvironmentProviderAvailability>;
20517
20632
  validate?(context: PluginEnvironmentProviderValidateContext<R, S>): PluginEnvironmentValidateDecision$1 | Promise<PluginEnvironmentValidateDecision$1>;
20518
- /** Pure path selection from parsed inputs. Core reuses a recorded environment on the selected host before calling create; null requests normal creation. */
20519
- experimental_existingPath?(inputs: InputsValue<S>): string | null;
20633
+ /**
20634
+ * Where an environment for these inputs lives, if the provider knows before
20635
+ * creating anything; null asks for a new environment. Core claims the path
20636
+ * for the operation. With `reuse: true`, a thread joins the environment
20637
+ * recorded at `path` as it is. Otherwise create runs on a fresh
20638
+ * reservation, which core refuses while another live thread uses an
20639
+ * environment at `path`, and core folds the result into that environment
20640
+ * when create returns the same path.
20641
+ */
20642
+ locate?(context: PluginEnvironmentProviderLocateContext<R, S>): PluginEnvironmentProviderLocation | null | Promise<PluginEnvironmentProviderLocation | null>;
20520
20643
  create(context: PluginEnvironmentProviderCreateContext<R, S>): Promise<PluginEnvironmentProviderCreateResult>;
20521
- /** Experimental: rebuild a destroyed environment when its thread asks for it back. Without it, core never rebuilds this provider's destroyed environments: see docs/api_to_audit.md. */
20644
+ /** Experimental: rebuild a destroyed environment when a thread asks for it back. Without it, core never rebuilds this provider's destroyed environments: see docs/api_to_audit.md. */
20522
20645
  restore?(context: PluginEnvironmentProviderRestoreContext<R, S>): Promise<PluginEnvironmentProviderCreateResult>;
20523
20646
  remove(context: PluginEnvironmentProviderRemoveContext): Promise<PluginEnvironmentProviderRemoveResult>;
20524
20647
  }
@@ -20772,6 +20895,15 @@ interface PluginStorage {
20772
20895
  * Append-only — never reorder or edit shipped statements.
20773
20896
  */
20774
20897
  migrate(db: Database.Database, statements: string[]): void;
20898
+ /**
20899
+ * The plugin's own directory for files, at
20900
+ * <dataDir>/plugins/<id>/files. Created (mode 0700) on each call if it does
20901
+ * not exist, so call it where the path is needed. bb snapshots it with
20902
+ * `data.db` and secrets before a git: or npm: update, restores it on
20903
+ * rollback, and deletes it when the plugin is uninstalled; `data.db` and
20904
+ * logs survive uninstall. Experimental: see docs/api_to_audit.md.
20905
+ */
20906
+ experimental_directory(): string;
20775
20907
  }
20776
20908
  /**
20777
20909
  * One terminal outcome of the work on a thread, in a single union so a plugin
@@ -21058,7 +21190,9 @@ type PluginEnvironmentProviderDeclaration<Requires extends PluginEnvironmentProv
21058
21190
  interface PluginEnvironments {
21059
21191
  /**
21060
21192
  * Offer a place threads can run. Registering an id this plugin already
21061
- * registered replaces it. Experimental: see docs/api_to_audit.md.
21193
+ * registered replaces it. Providers receive the environment being created,
21194
+ * so core can also create environments before any thread exists.
21195
+ * Experimental: see docs/api_to_audit.md.
21062
21196
  */
21063
21197
  register<const Requires extends PluginEnvironmentProviderRequirements, const Inputs extends PluginEnvironmentProviderInputsSchema = undefined>(declaration: PluginEnvironmentProviderDeclaration<Requires, Inputs> | {
21064
21198
  id: string;
@@ -21155,12 +21289,14 @@ type PluginDispatchEnvironmentIntent = {
21155
21289
  *
21156
21290
  * `proceed` lets the attempt continue. `wait` QUEUES the message as a row
21157
21291
  * whose `waitingOn` names this plugin and carries `reason` verbatim; the
21158
- * row stays queued until `sendAt` comes due, capacity frees, the user sends
21292
+ * row stays queued until `recheckAt` comes due, capacity frees, the user sends
21159
21293
  * it now, or the orphan sweep clears it because this plugin is no longer
21160
- * running. `sendAt` (epoch ms) sets the row's own `sendAt`, so core's due sweep
21161
- * re-attempts at that instant without the plugin holding a timer of its own —
21162
- * which is what a rate-limit window wants. `reject` refuses the attempt
21163
- * outright: `message` is shown to the user verbatim.
21294
+ * running. `recheckAt` (epoch ms) is when core's due sweep re-asks, without
21295
+ * the plugin holding a timer of its own — which is what a rate-limit window
21296
+ * wants. It is not the message's schedule: the row's `sendAt` stays the
21297
+ * sender's time, and a message the sender scheduled never dispatches before
21298
+ * that time, even when this hook proceeds earlier. `reject` refuses the attempt outright:
21299
+ * `message` is shown to the user verbatim.
21164
21300
  *
21165
21301
  * There is deliberately no "handled it myself" answer and no amendment arm —
21166
21302
  * a hook is a decision, never an owner or an author of the work.
@@ -21170,7 +21306,7 @@ type MessageDispatchHookDecision = {
21170
21306
  } | {
21171
21307
  action: "wait";
21172
21308
  reason: string;
21173
- sendAt?: number | null;
21309
+ recheckAt?: number | null;
21174
21310
  } | {
21175
21311
  action: "reject";
21176
21312
  message: string;
@@ -21360,7 +21496,7 @@ interface PluginHooks {
21360
21496
  *
21361
21497
  * Fail-closed: a handler that throws or exceeds the 10 second decision box
21362
21498
  * FAILS THE ATTEMPT with this plugin named. Decide in milliseconds — if the
21363
- * answer needs real work, return `wait` with a `sendAt` and answer again on
21499
+ * answer needs real work, return `wait` with a `recheckAt` and answer again on
21364
21500
  * the re-attempt.
21365
21501
  *
21366
21502
  * The whole pass runs under one server-wide lock, so a counting handler never
@@ -21379,7 +21515,7 @@ interface PluginHooks {
21379
21515
  *
21380
21516
  * **The pair to `on`.** `on` answers the question core asks; `recheck`
21381
21517
  * asks core to ask it again. Core owns the re-draining and the clock — the
21382
- * `sendAt` due sweep is still core's — and a plugin owns every other
21518
+ * `recheckAt` due sweep is still core's — and a plugin owns every other
21383
21519
  * condition its own waits depend on. When that condition changes, say so
21384
21520
  * here and answer the hook again on the re-attempt; there is no way to
21385
21521
  * release a specific row, and there does not need to be.
@@ -22393,9 +22529,10 @@ interface PluginServerApi {
22393
22529
  * its repo root and instance id, so a plugin that guesses `~/.bb` reads the
22394
22530
  * production file while the dev server reads another one.
22395
22531
  *
22396
- * For reading bb-managed files a plugin is migrating away from. A plugin's
22397
- * OWN storage is `bb.storage`, which is scoped for it; this is deliberately
22398
- * not a place to write.
22532
+ * Read-only, for migrating off files bb used to manage, or comparing paths
22533
+ * against it. Never write under it: a plugin's own files go in
22534
+ * `bb.storage.experimental_directory()`, and its other state in
22535
+ * `bb.storage`.
22399
22536
  */
22400
22537
  readonly experimental_dataDir: string;
22401
22538
  }
@@ -22642,7 +22779,10 @@ interface BbPluginApi {
22642
22779
  */
22643
22780
  /** Props passed to a `homepageSection` component. */
22644
22781
  interface PluginHomepageSectionProps {
22645
- /** Project in view on the compose surface; null when none is selected. */
22782
+ /**
22783
+ * Project selected in the New thread composer; null when the composer is
22784
+ * set to "No project".
22785
+ */
22646
22786
  projectId: string | null;
22647
22787
  }
22648
22788
  /**
@@ -22887,7 +23027,8 @@ interface ExperimentalSidebarNavigationItem {
22887
23027
  isVisible: boolean;
22888
23028
  /**
22889
23029
  * A plugin panel remembered from the last session whose bundle has not
22890
- * registered yet. Activating it does nothing until it loads.
23030
+ * registered yet. Activating it opens the panel's page, which shows the
23031
+ * panel once the bundle loads.
22891
23032
  */
22892
23033
  isLoading: boolean;
22893
23034
  /**
@@ -23079,13 +23220,6 @@ interface PluginThreadListProps {
23079
23220
  * Call after the user opens a thread. It closes the mobile sidebar drawer.
23080
23221
  */
23081
23222
  onNavigate: () => void;
23082
- /**
23083
- * Compatibility value for the former sidebar search field. BB now searches
23084
- * threads in the quick palette, so the host always supplies "".
23085
- *
23086
- * @deprecated The quick palette owns thread search. Ignore this value.
23087
- */
23088
- searchQuery: string;
23089
23223
  }
23090
23224
  /** JavaScript world a Browser page expression runs in. */
23091
23225
  type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
@@ -23116,7 +23250,12 @@ interface ExperimentalPluginBrowserPage {
23116
23250
  onMessage(listener: (data: JsonValue) => void): () => void;
23117
23251
  }
23118
23252
  interface ExperimentalPluginBrowserToolbarActionProps {
23119
- /** Thread that owns the Browser tab. */
23253
+ /**
23254
+ * Owner of the Browser tab. In a thread's side panel it is the thread id. On
23255
+ * the New thread screen and plugin pages it is an opaque panel key that is
23256
+ * not a thread id. Pass it with `tabId` as the `threadId` of
23257
+ * `sdk.experimental_desktopBrowsers` calls to reach this tab.
23258
+ */
23120
23259
  threadId: string;
23121
23260
  /** Browser tab currently rendering the action. */
23122
23261
  tabId: string;
@@ -24655,6 +24794,11 @@ interface PluginThreadActionTarget {
24655
24794
  pinnedAt: number | null;
24656
24795
  sectionId: string | null;
24657
24796
  isUnread: boolean;
24797
+ /**
24798
+ * True for threads bb keeps out of its own list, such as side chats; pins
24799
+ * and sections on them have no visible effect.
24800
+ */
24801
+ isHidden: boolean;
24658
24802
  status: ThreadStatus;
24659
24803
  /**
24660
24804
  * The thread's environment when a new thread can reuse it, null otherwise.
@@ -24796,7 +24940,8 @@ interface PluginThreadActionRegistration<Data = undefined> {
24796
24940
  * (see {@link PluginThreadActionsContextMenuProps}). Pure and
24797
24941
  * synchronous like `item`, with every selected thread in `useData`'s
24798
24942
  * `threadIds`; `run` acts on all of them. Omit it, or return null, to leave
24799
- * the action out of selection menus. Experimental: see docs/api_to_audit.md.
24943
+ * the action out of selection menus. Unused with `placement: "header"`,
24944
+ * which selection menus leave out. Experimental: see docs/api_to_audit.md.
24800
24945
  */
24801
24946
  experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
24802
24947
  }
@@ -24804,9 +24949,11 @@ interface PluginThreadActionRegistration<Data = undefined> {
24804
24949
  * Where a thread action shows.
24805
24950
  *
24806
24951
  * - `"menu"`: every thread actions menu and the quick-action picker.
24807
- * - `"header"`: only the open thread's header, as an outline button labelled
24808
- * with the action's `label`, after the workspace's Open button. Several
24809
- * header actions share one split button, the first as its main action. At
24952
+ * - `"header"`: only the open thread's header, as an outline button with the
24953
+ * action's `icon` and `label`, after the workspace's Open button. `detail`
24954
+ * is the button's tooltip and `variant: "destructive"` colors it. Several
24955
+ * header actions share one split button, the first as its main action and
24956
+ * the rest as menu rows drawn like the thread menu's. At
24810
24957
  * compact width and in narrow split panes the buttons fold into the
24811
24958
  * header's thread menu as rows at its top, after Open. `group` and `order`
24812
24959
  * sort header actions among themselves. Header actions never appear in
@@ -25795,6 +25942,26 @@ interface ExperimentalMessageMetadataRegistration {
25795
25942
  }
25796
25943
  /** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
25797
25944
  type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
25945
+ /**
25946
+ * bb's own Archive and Delete flows, the ones its thread menus and selection
25947
+ * menu run. Each takes thread ids, fetches any thread the app has not loaded,
25948
+ * counts child threads on the server, and confirms once for the whole list:
25949
+ * Delete always, Archive when a tree has child threads outside the list and
25950
+ * archive confirmation is on in Settings → General. Archive then removes the
25951
+ * threads, closes their split panes, leaves a route that showed one of them,
25952
+ * and shows one Undo toast that restores the threads and the route. Delete
25953
+ * cleans up panes and routes the same way and has no Undo.
25954
+ *
25955
+ * The promise resolves once the flow settles: done, cancelled in the dialog,
25956
+ * or failed after bb has shown its error toast. It never rejects. Archive
25957
+ * skips threads that are already archived. Server code should call
25958
+ * `bb.sdk.threads.archive` instead, which has no confirmation or Undo.
25959
+ * Experimental: see docs/api_to_audit.md.
25960
+ */
25961
+ interface ExperimentalThreadRequests {
25962
+ requestArchive(threadIds: readonly string[]): Promise<void>;
25963
+ requestDelete(threadIds: readonly string[]): Promise<void>;
25964
+ }
25798
25965
  /**
25799
25966
  * What every plugin callback's context carries besides its own fields:
25800
25967
  * commands, message actions, thread actions, panel and New thread panel
@@ -25811,6 +25978,23 @@ interface ExperimentalPluginActionContext {
25811
25978
  navigate: BbNavigate;
25812
25979
  /** The side panel of the surface that invoked the callback. */
25813
25980
  panel: ExperimentalPanelController;
25981
+ /**
25982
+ * The composer this callback acts on, bound to this plugin like
25983
+ * `useComposers()` handles. A composer command or menu item gets the
25984
+ * handling composer; a message action gets the composer of the message's
25985
+ * thread. Every other callback gets the focused surface's active composer:
25986
+ * the one holding the caret, or the one that held it before focus moved into
25987
+ * the command palette, a dialog, a popover or an overlay; otherwise the
25988
+ * surface's main composer; otherwise null, as on a plugin page without a
25989
+ * composer. Read in app-wide components with
25990
+ * `experimental_useActiveComposer()`. Experimental: see docs/api_to_audit.md.
25991
+ */
25992
+ composer: PluginComposerApi | null;
25993
+ /**
25994
+ * bb's own Archive and Delete flows (see {@link ExperimentalThreadRequests}),
25995
+ * the same object `experimental_useThreadRequests()` returns in components.
25996
+ */
25997
+ threadRequests: ExperimentalThreadRequests;
25814
25998
  }
25815
25999
  /**
25816
26000
  * Context handed to a composer command's or composer menu item's `run`.
@@ -26458,7 +26642,13 @@ type PluginComposerScope = {
26458
26642
  interface ComposerCustomization {
26459
26643
  /** Unique within the plugin; letters, digits, `-`, `_`. */
26460
26644
  id: string;
26461
- /** Composer kinds where this customization is active; omit for all kinds. */
26645
+ /**
26646
+ * Composer kinds where this customization is active; omit for all kinds.
26647
+ * The sent-message editor reports `"thread"` and runs only what the user
26648
+ * invokes there: `plusMenu` rows, the popups they open, and composer
26649
+ * commands. It mounts no `actions`, `banners`, `sendMenu` rows or
26650
+ * `richText` effects.
26651
+ */
26462
26652
  scopes?: readonly PluginComposerScope["kind"][];
26463
26653
  /**
26464
26654
  * Controls rendered in the composer's action row, before the voice, stop
@@ -27634,6 +27824,13 @@ interface ExperimentalServers {
27634
27824
  servers: readonly ExperimentalServer[];
27635
27825
  /** Switch this client to the server and reload the page on it, unloading every plugin. Ignores the active server and unknown ids. */
27636
27826
  switchTo(id: string): void;
27827
+ /** Open the client's own add-server screen: bb Desktop's Add Server dialog or the mobile app's Add server screen. Null when the client has none, such as an app from before this API. */
27828
+ addServer: (() => void) | null;
27829
+ /** Set while bb Desktop can't list the user's account servers until they sign in to bb Connect. `label` is the desktop's own wording, also used in its Server menu; `start()` opens the sign-in window. Always null on the mobile app. */
27830
+ accountSignIn: {
27831
+ label: string;
27832
+ start(): void;
27833
+ } | null;
27637
27834
  }
27638
27835
  /**
27639
27836
  * Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
@@ -27749,6 +27946,13 @@ interface PluginSdkApp {
27749
27946
  * offers. Null when the client keeps no server list: any web browser.
27750
27947
  */
27751
27948
  experimental_useServers(): ExperimentalServers | null;
27949
+ /**
27950
+ * True on clients that keep a server list (bb Desktop and the mobile app),
27951
+ * where `experimental_useServers()` returns a value; false in a web browser.
27952
+ * Fixed for the life of the page, so a plugin can read it inside
27953
+ * `definePluginApp` to register server controls only where they work.
27954
+ */
27955
+ experimental_hasServers(): boolean;
27752
27956
  /**
27753
27957
  * The side panel of the surface the calling component renders in: the
27754
27958
  * thread view, the plugin page, or the New thread screen.
@@ -27779,6 +27983,18 @@ interface PluginSdkApp {
27779
27983
  * changes.
27780
27984
  */
27781
27985
  useComposers(): readonly PluginComposerApi[];
27986
+ /**
27987
+ * The focused surface's active composer, the value plain commands read as
27988
+ * `context.composer`: the composer holding the caret, or the one that held
27989
+ * it before focus moved into the command palette, a dialog, a popover or an
27990
+ * overlay; otherwise the surface's main composer; otherwise null. For
27991
+ * app-wide components such as overlays and plugin pages; inside a composer
27992
+ * slot use `useComposer()`. The handle names the same composer as the
27993
+ * `useComposers()` entry with its `key`. The calling component re-renders
27994
+ * when the active composer or its draft changes. Experimental: see
27995
+ * docs/api_to_audit.md.
27996
+ */
27997
+ experimental_useActiveComposer(): PluginComposerApi | null;
27782
27998
  /**
27783
27999
  * The sidebar's live thread view (see {@link PluginSidebarThreadsState}).
27784
28000
  * Reads the host's own cache and realtime subscriptions, so it costs no
@@ -27798,6 +28014,13 @@ interface PluginSdkApp {
27798
28014
  /** Defaults to active threads only. An empty selection also means active. */
27799
28015
  experimental_lifecycles: readonly ("active" | "archived")[];
27800
28016
  }): PluginSidebarThreadsState;
28017
+ /**
28018
+ * bb's Archive and Delete flows for any thread ids, with its confirmation,
28019
+ * child counts, Undo and error toast (see
28020
+ * {@link ExperimentalThreadRequests}). Callbacks get the same object as
28021
+ * their context's `threadRequests`. Experimental: see docs/api_to_audit.md.
28022
+ */
28023
+ experimental_useThreadRequests(): ExperimentalThreadRequests;
27801
28024
  /**
27802
28025
  * Archive an environment's active thread trees the way bb's own list does:
27803
28026
  * optimistic removal, closing their split panes, leaving a route that shows
@@ -28521,5 +28744,5 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
28521
28744
 
28522
28745
  declare function sliceUtf16Head(value: string, maxChars: number): string;
28523
28746
 
28524
- export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry, getHostPathBasename as experimental_getHostPathBasename, getHostPathComparisonKey as experimental_getHostPathComparisonKey, getHostPathDirname as experimental_getHostPathDirname, getRelativeHostPath as experimental_getRelativeHostPath, isHostPathWithin as experimental_isHostPathWithin, joinHostPath as experimental_joinHostPath, normalizeHostPath as experimental_normalizeHostPath, resolveHostPath as experimental_resolveHostPath, sliceUtf16Head as experimental_sliceUtf16Head };
28525
- export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerActionContext, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginPanelPage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutKeyEvent, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadSettledEvent, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
28747
+ export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, BbHttpError as experimental_BbHttpError, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry, getHostPathBasename as experimental_getHostPathBasename, getHostPathComparisonKey as experimental_getHostPathComparisonKey, getHostPathDirname as experimental_getHostPathDirname, getRelativeHostPath as experimental_getRelativeHostPath, isHostPathWithin as experimental_isHostPathWithin, joinHostPath as experimental_joinHostPath, normalizeHostPath as experimental_normalizeHostPath, resolveHostPath as experimental_resolveHostPath, sliceUtf16Head as experimental_sliceUtf16Head };
28748
+ export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerActionContext, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginPanelPage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutKeyEvent, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRequests, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadSettledEvent, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };