@get-bb/plugin-sdk 0.6.169 → 0.6.178

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";
@@ -7977,7 +7982,7 @@ declare const hostDaemonCommandRegistry: {
7977
7982
  rootPath: z$1.ZodString;
7978
7983
  type: z$1.ZodLiteral<"host.read_file_chunk">;
7979
7984
  }, z$1.core.$strict>, z$1.ZodObject<{
7980
- content: z$1.ZodString;
7985
+ content: z$1.ZodInstanceOf<Uint8Array<ArrayBuffer>>;
7981
7986
  mimeType: z$1.ZodNullable<z$1.ZodString>;
7982
7987
  modifiedAtMs: z$1.ZodNumber;
7983
7988
  offset: z$1.ZodNumber;
@@ -10966,6 +10971,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10966
10971
  "thread.rename": "thread.rename";
10967
10972
  "thread.search": "thread.search";
10968
10973
  "window.find": "window.find";
10974
+ "window.forceReload": "window.forceReload";
10969
10975
  "window.new": "window.new";
10970
10976
  "window.reload": "window.reload";
10971
10977
  "workspace.openPreferred": "workspace.openPreferred";
@@ -11144,6 +11150,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
11144
11150
  "thread.rename": "thread.rename";
11145
11151
  "thread.search": "thread.search";
11146
11152
  "window.find": "window.find";
11153
+ "window.forceReload": "window.forceReload";
11147
11154
  "window.new": "window.new";
11148
11155
  "window.reload": "window.reload";
11149
11156
  "workspace.openPreferred": "workspace.openPreferred";
@@ -11247,6 +11254,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
11247
11254
  "thread.rename": "thread.rename";
11248
11255
  "thread.search": "thread.search";
11249
11256
  "window.find": "window.find";
11257
+ "window.forceReload": "window.forceReload";
11250
11258
  "window.new": "window.new";
11251
11259
  "window.reload": "window.reload";
11252
11260
  "workspace.openPreferred": "workspace.openPreferred";
@@ -14696,6 +14704,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14696
14704
  }, z$1.core.$strip>;
14697
14705
  }, z$1.core.$strict>>;
14698
14706
  total: z$1.ZodNumber;
14707
+ totalCapped: z$1.ZodBoolean;
14699
14708
  }, z$1.core.$strict>;
14700
14709
  archived: z$1.ZodObject<{
14701
14710
  results: z$1.ZodArray<z$1.ZodObject<{
@@ -14792,6 +14801,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14792
14801
  }, z$1.core.$strip>;
14793
14802
  }, z$1.core.$strict>>;
14794
14803
  total: z$1.ZodNumber;
14804
+ totalCapped: z$1.ZodBoolean;
14795
14805
  }, z$1.core.$strict>;
14796
14806
  }, z$1.core.$strict>;
14797
14807
  type ThreadSearchResponse = z$1.infer<typeof threadSearchResponseSchema>;
@@ -14917,6 +14927,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14917
14927
  type: z$1.ZodLiteral<"new">;
14918
14928
  }, z$1.core.$strip>], "type">;
14919
14929
  }, z$1.core.$strip>>;
14930
+ heldBy: z$1.ZodNullable<z$1.ZodLiteral<"user">>;
14920
14931
  hostId: z$1.ZodString;
14921
14932
  hostLifecycle: z$1.ZodEnum<{
14922
14933
  "cleanup-failed": "cleanup-failed";
@@ -14958,6 +14969,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14958
14969
  provisioning: "provisioning";
14959
14970
  ready: "ready";
14960
14971
  }>;
14972
+ statusMessage: z$1.ZodNullable<z$1.ZodString>;
14961
14973
  updatedAt: z$1.ZodNumber;
14962
14974
  workspaceProvisionType: z$1.ZodNullable<z$1.ZodEnum<{
14963
14975
  "managed-worktree": "managed-worktree";
@@ -18664,9 +18676,16 @@ type EnvironmentPathsResult = WorkspacePathListResponse;
18664
18676
  type EnvironmentUpdateResult = Environment;
18665
18677
  interface EnvironmentListArgs {
18666
18678
  environmentProviderId?: string;
18679
+ /** Only environments with this holder: `"user"` or `"plugin:<pluginId>"`. */
18680
+ heldBy?: EnvironmentHolder;
18667
18681
  hostId?: string;
18668
18682
  instanceKey?: string;
18669
- limit?: number;
18683
+ /**
18684
+ * Page size. A caller that needs every row pages with `offset` until a
18685
+ * page comes back shorter than its `limit`.
18686
+ */
18687
+ limit: number;
18688
+ /** Rows to skip, in the list's own order; defaults to 0. */
18670
18689
  offset?: number;
18671
18690
  path?: string;
18672
18691
  projectId?: string;
@@ -18674,6 +18693,25 @@ interface EnvironmentListArgs {
18674
18693
  status?: EnvironmentStatus;
18675
18694
  }
18676
18695
  type EnvironmentListResult = Environment[];
18696
+ interface EnvironmentCreateBaseArgs {
18697
+ projectId: string;
18698
+ /** Defaults to the project's default checkout machine. */
18699
+ hostId?: string;
18700
+ /** Defaults to the Worktree provider (Personal workspace for the personal project). */
18701
+ provider?: {
18702
+ id: string;
18703
+ inputs?: JsonValue$1;
18704
+ };
18705
+ name?: string;
18706
+ }
18707
+ /**
18708
+ * `hold: "user"` keeps the environment until the user deletes it and lets
18709
+ * threads join it.
18710
+ */
18711
+ type EnvironmentCreateArgs = EnvironmentCreateBaseArgs & {
18712
+ hold: "user";
18713
+ };
18714
+ type EnvironmentCreateResult = Environment;
18677
18715
  interface EnvironmentDeleteArgs {
18678
18716
  environmentId: string;
18679
18717
  }
@@ -18685,13 +18723,15 @@ interface EnvironmentListProvidersArgs {
18685
18723
  }
18686
18724
  type EnvironmentListProvidersResult = SystemEnvironmentProvider[];
18687
18725
  interface EnvironmentsArea {
18726
+ /** Create an environment before any thread exists; setup runs as for a thread. Experimental: see docs/api_to_audit.md. */
18727
+ experimental_create(args: EnvironmentCreateArgs): Promise<EnvironmentCreateResult>;
18688
18728
  experimental_cleanup(args: EnvironmentActionArgs & {
18689
18729
  recover?: boolean;
18690
18730
  }): Promise<OperationResponse>;
18691
18731
  archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
18692
18732
  commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
18693
18733
  get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
18694
- list(args?: EnvironmentListArgs): Promise<EnvironmentListResult>;
18734
+ list(args: EnvironmentListArgs): Promise<EnvironmentListResult>;
18695
18735
  listProviders(args?: EnvironmentListProvidersArgs): Promise<EnvironmentListProvidersResult>;
18696
18736
  delete(args: EnvironmentDeleteArgs): Promise<EnvironmentDeleteResult>;
18697
18737
  paths(args: EnvironmentPathsArgs): Promise<EnvironmentPathsResult>;
@@ -19744,7 +19784,12 @@ interface ThreadListArgs {
19744
19784
  sectionId?: string;
19745
19785
  hasParent?: boolean;
19746
19786
  includeHidden?: boolean;
19747
- limit?: number;
19787
+ /**
19788
+ * Page size. A caller that needs every row pages with `offset` until a
19789
+ * page comes back shorter than its `limit`.
19790
+ */
19791
+ limit: number;
19792
+ /** Rows to skip, in the list's own order; defaults to 0. */
19748
19793
  offset?: number;
19749
19794
  originKind?: ThreadListQuery["originKind"];
19750
19795
  originPluginId?: string;
@@ -20205,7 +20250,7 @@ interface ThreadsArea {
20205
20250
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
20206
20251
  queue: ThreadQueueArea;
20207
20252
  interactions: ThreadInteractionsArea;
20208
- list(args?: ThreadListArgs): Promise<ThreadListResult>;
20253
+ list(args: ThreadListArgs): Promise<ThreadListResult>;
20209
20254
  listRunning(args?: {
20210
20255
  signal?: AbortSignal;
20211
20256
  }): Promise<ThreadRunningResult>;
@@ -20307,6 +20352,27 @@ interface BbSdk extends BbSdkAreas {
20307
20352
  guide: GuideArea;
20308
20353
  }
20309
20354
 
20355
+ interface BbHttpErrorArgs {
20356
+ body: unknown;
20357
+ code: string | null;
20358
+ message: string;
20359
+ status: number;
20360
+ }
20361
+ /**
20362
+ * A non-2xx response from the bb server API. `status` is the HTTP status,
20363
+ * `code` the server's error code (`thread_not_found`, `forbidden`, ...) when
20364
+ * the body carried one, and `body` the parsed response body. `instanceof`
20365
+ * recognizes errors thrown by any copy of the SDK, so a plugin's bundled copy
20366
+ * matches the errors `bb.sdk` throws from the host.
20367
+ */
20368
+ declare class BbHttpError extends Error {
20369
+ static [Symbol.hasInstance](value: unknown): boolean;
20370
+ readonly body: unknown;
20371
+ readonly code: string | null;
20372
+ readonly status: number;
20373
+ constructor(args: BbHttpErrorArgs);
20374
+ }
20375
+
20310
20376
  /**
20311
20377
  * A value that survives a JSON round trip without coercion or data loss.
20312
20378
  *
@@ -20403,17 +20469,16 @@ interface PluginMachineProviderDefinition<S extends PluginMachineProviderInputsS
20403
20469
 
20404
20470
  type PluginEnvironmentProviderInputsSchema = StandardSchemaV1$1 | undefined;
20405
20471
  type Fact<R, K extends PropertyKey, T> = R extends Record<K, true> ? T : T | null;
20472
+ /** `ownsPath`: bb cloned this checkout, so a provider may own work there. */
20473
+ interface ProjectCheckout {
20474
+ path: string;
20475
+ ownsPath: boolean;
20476
+ }
20406
20477
  type Checkout<R> = R extends {
20407
20478
  projectCheckout: true;
20408
20479
  } | {
20409
20480
  gitCheckout: true;
20410
- } ? {
20411
- path: string;
20412
- experimental_ownsPath: boolean;
20413
- } : {
20414
- path: string;
20415
- experimental_ownsPath: boolean;
20416
- } | null;
20481
+ } ? ProjectCheckout : ProjectCheckout | null;
20417
20482
  type InputsValue<S> = S extends StandardSchemaV1$1 ? StandardSchemaV1InferOutput$1<S> : null;
20418
20483
  /** Attempt-scoped updates; core persists each update before this call returns. */
20419
20484
  interface PluginEnvironmentProviderProgress {
@@ -20427,6 +20492,15 @@ interface PluginEnvironmentProviderValidateContext<R extends PluginEnvironmentPr
20427
20492
  gitRemote: Fact<R, "gitRemote", string>;
20428
20493
  inputs: InputsValue<S>;
20429
20494
  }
20495
+ interface PluginEnvironmentProviderLocation {
20496
+ path: string;
20497
+ reuse: boolean;
20498
+ }
20499
+ interface PluginEnvironmentProviderLocateContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> {
20500
+ host: Host;
20501
+ projectCheckout: Checkout<R>;
20502
+ inputs: InputsValue<S>;
20503
+ }
20430
20504
  interface PluginEnvironmentProviderAvailabilityContext {
20431
20505
  project: Project;
20432
20506
  host: Host;
@@ -20444,28 +20518,46 @@ type PluginEnvironmentProviderAvailability = {
20444
20518
  status: "unavailable";
20445
20519
  message: string;
20446
20520
  };
20447
- interface PluginEnvironmentProviderCreateContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> extends PluginEnvironmentProviderValidateContext<R, S> {
20448
- thread: ThreadResponse;
20449
- suggestedBranchName: string;
20521
+ /** The environment a create or restore produces a workspace for. */
20522
+ interface PluginEnvironmentProviderEnvironment {
20523
+ id: string;
20524
+ name: string | null;
20525
+ projectId: string;
20526
+ }
20527
+ /** Core's create steps, which a provider calls in the order it needs. */
20528
+ interface PluginEnvironmentProviderSteps {
20529
+ /**
20530
+ * The name for a branch this operation makes. A thread's environment
20531
+ * resolves to `<prefix><slug(title)>-<threadId>` once the thread's title
20532
+ * settles (generated, provided, or the fallback); a thread-less one resolves
20533
+ * at once to `<prefix><slug(name)>-<id>`, or `<prefix><id>` without a name.
20534
+ * Core generates the title while create runs, so await it as late as
20535
+ * possible. Repeated calls return the same name.
20536
+ */
20537
+ branchName(): Promise<string>;
20538
+ /**
20539
+ * Claims `path` as this environment's provider-owned workspace and asks core
20540
+ * to run setup there; resolves once the request is recorded, while setup
20541
+ * runs alongside the rest of create. The environment becomes ready only
20542
+ * after create returns `created` with the same path and `ownsPath: true`.
20543
+ * Without a call, core runs setup after create returns.
20544
+ */
20545
+ setup(path: string): Promise<void>;
20546
+ }
20547
+ interface PluginEnvironmentProviderCreateContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> extends PluginEnvironmentProviderValidateContext<R, S>, PluginEnvironmentProviderSteps {
20548
+ environment: PluginEnvironmentProviderEnvironment;
20450
20549
  attempt: number;
20451
20550
  pathKey: string;
20452
- experimental_claimPath(path: string): Promise<boolean>;
20453
20551
  report: PluginEnvironmentProviderProgress;
20454
20552
  signal: AbortSignal;
20455
20553
  }
20456
20554
  /** 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>;
20555
+ interface PluginEnvironmentProviderRestoreContext<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> extends PluginEnvironmentProviderCreateContext<R, S> {
20462
20556
  /** Resource is private to this provider; null after completed removal. */
20463
20557
  previous: {
20464
20558
  environment: Environment;
20465
20559
  resource: JsonValue$2 | null;
20466
20560
  };
20467
- report: PluginEnvironmentProviderProgress;
20468
- signal: AbortSignal;
20469
20561
  }
20470
20562
  type PluginEnvironmentProviderCreateResult = {
20471
20563
  status: "created";
@@ -20498,11 +20590,25 @@ type PluginEnvironmentProviderRemoveResult = {
20498
20590
  interface PluginEnvironmentProviderPolicy {
20499
20591
  /** Default five minutes; null keeps the environment indefinitely. */
20500
20592
  retireGraceMs: number | null;
20501
- /** Default per-thread; replacement environments use a fresh key to avoid dead paths. */
20502
- pathKeys: "per-attempt" | "per-thread";
20593
+ /**
20594
+ * Default per-environment: one key for the environment's workspace, stable
20595
+ * across retries. Core derives it from the driving thread when there is one
20596
+ * and from the environment otherwise, so thread workspaces keep their
20597
+ * names. Replacement environments use a fresh key to avoid dead paths.
20598
+ */
20599
+ pathKeys: "per-attempt" | "per-environment";
20503
20600
  }
20504
- /** Resource operations only. Core owns durable launches, retries and retirement. */
20601
+ /**
20602
+ * Resource operations only. Core owns durable launches, retries and
20603
+ * retirement. Contexts carry the `environment` being created rather than a
20604
+ * thread, so core can also create environments before any thread exists.
20605
+ */
20505
20606
  interface PluginEnvironmentProviderDefinition<R extends PluginEnvironmentProviderRequirements$1 = PluginEnvironmentProviderRequirements$1, S extends PluginEnvironmentProviderInputsSchema = PluginEnvironmentProviderInputsSchema> {
20607
+ /**
20608
+ * The context shape `create` and `restore` receive. Required: bb still runs
20609
+ * providers built before it with the earlier, thread-based contexts.
20610
+ */
20611
+ apiVersion: 2;
20506
20612
  id: string;
20507
20613
  displayName: string;
20508
20614
  /** Short explanation shown in environment choices. */
@@ -20515,10 +20621,18 @@ interface PluginEnvironmentProviderDefinition<R extends PluginEnvironmentProvide
20515
20621
  /** Experimental per-machine availability, probed in the background for pickers and again at thread creation: see docs/api_to_audit.md. */
20516
20622
  availability?(context: PluginEnvironmentProviderAvailabilityContext): PluginEnvironmentProviderAvailability | Promise<PluginEnvironmentProviderAvailability>;
20517
20623
  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;
20624
+ /**
20625
+ * Where an environment for these inputs lives, if the provider knows before
20626
+ * creating anything; null asks for a new environment. Core claims the path
20627
+ * for the operation. With `reuse: true`, a thread joins the environment
20628
+ * recorded at `path` as it is. Otherwise create runs on a fresh
20629
+ * reservation, which core refuses while another live thread uses an
20630
+ * environment at `path`, and core folds the result into that environment
20631
+ * when create returns the same path.
20632
+ */
20633
+ locate?(context: PluginEnvironmentProviderLocateContext<R, S>): PluginEnvironmentProviderLocation | null | Promise<PluginEnvironmentProviderLocation | null>;
20520
20634
  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. */
20635
+ /** 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
20636
  restore?(context: PluginEnvironmentProviderRestoreContext<R, S>): Promise<PluginEnvironmentProviderCreateResult>;
20523
20637
  remove(context: PluginEnvironmentProviderRemoveContext): Promise<PluginEnvironmentProviderRemoveResult>;
20524
20638
  }
@@ -20772,6 +20886,15 @@ interface PluginStorage {
20772
20886
  * Append-only — never reorder or edit shipped statements.
20773
20887
  */
20774
20888
  migrate(db: Database.Database, statements: string[]): void;
20889
+ /**
20890
+ * The plugin's own directory for files, at
20891
+ * <dataDir>/plugins/<id>/files. Created (mode 0700) on each call if it does
20892
+ * not exist, so call it where the path is needed. bb snapshots it with
20893
+ * `data.db` and secrets before a git: or npm: update, restores it on
20894
+ * rollback, and deletes it when the plugin is uninstalled; `data.db` and
20895
+ * logs survive uninstall. Experimental: see docs/api_to_audit.md.
20896
+ */
20897
+ experimental_directory(): string;
20775
20898
  }
20776
20899
  /**
20777
20900
  * One terminal outcome of the work on a thread, in a single union so a plugin
@@ -21058,7 +21181,9 @@ type PluginEnvironmentProviderDeclaration<Requires extends PluginEnvironmentProv
21058
21181
  interface PluginEnvironments {
21059
21182
  /**
21060
21183
  * Offer a place threads can run. Registering an id this plugin already
21061
- * registered replaces it. Experimental: see docs/api_to_audit.md.
21184
+ * registered replaces it. Providers receive the environment being created,
21185
+ * so core can also create environments before any thread exists.
21186
+ * Experimental: see docs/api_to_audit.md.
21062
21187
  */
21063
21188
  register<const Requires extends PluginEnvironmentProviderRequirements, const Inputs extends PluginEnvironmentProviderInputsSchema = undefined>(declaration: PluginEnvironmentProviderDeclaration<Requires, Inputs> | {
21064
21189
  id: string;
@@ -21155,12 +21280,14 @@ type PluginDispatchEnvironmentIntent = {
21155
21280
  *
21156
21281
  * `proceed` lets the attempt continue. `wait` QUEUES the message as a row
21157
21282
  * whose `waitingOn` names this plugin and carries `reason` verbatim; the
21158
- * row stays queued until `sendAt` comes due, capacity frees, the user sends
21283
+ * row stays queued until `recheckAt` comes due, capacity frees, the user sends
21159
21284
  * 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.
21285
+ * running. `recheckAt` (epoch ms) is when core's due sweep re-asks, without
21286
+ * the plugin holding a timer of its own — which is what a rate-limit window
21287
+ * wants. It is not the message's schedule: the row's `sendAt` stays the
21288
+ * sender's time, and a message the sender scheduled never dispatches before
21289
+ * that time, even when this hook proceeds earlier. `reject` refuses the attempt outright:
21290
+ * `message` is shown to the user verbatim.
21164
21291
  *
21165
21292
  * There is deliberately no "handled it myself" answer and no amendment arm —
21166
21293
  * a hook is a decision, never an owner or an author of the work.
@@ -21170,7 +21297,7 @@ type MessageDispatchHookDecision = {
21170
21297
  } | {
21171
21298
  action: "wait";
21172
21299
  reason: string;
21173
- sendAt?: number | null;
21300
+ recheckAt?: number | null;
21174
21301
  } | {
21175
21302
  action: "reject";
21176
21303
  message: string;
@@ -21360,7 +21487,7 @@ interface PluginHooks {
21360
21487
  *
21361
21488
  * Fail-closed: a handler that throws or exceeds the 10 second decision box
21362
21489
  * 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
21490
+ * answer needs real work, return `wait` with a `recheckAt` and answer again on
21364
21491
  * the re-attempt.
21365
21492
  *
21366
21493
  * The whole pass runs under one server-wide lock, so a counting handler never
@@ -21379,7 +21506,7 @@ interface PluginHooks {
21379
21506
  *
21380
21507
  * **The pair to `on`.** `on` answers the question core asks; `recheck`
21381
21508
  * 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
21509
+ * `recheckAt` due sweep is still core's — and a plugin owns every other
21383
21510
  * condition its own waits depend on. When that condition changes, say so
21384
21511
  * here and answer the hook again on the re-attempt; there is no way to
21385
21512
  * release a specific row, and there does not need to be.
@@ -22393,9 +22520,10 @@ interface PluginServerApi {
22393
22520
  * its repo root and instance id, so a plugin that guesses `~/.bb` reads the
22394
22521
  * production file while the dev server reads another one.
22395
22522
  *
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.
22523
+ * Read-only, for migrating off files bb used to manage, or comparing paths
22524
+ * against it. Never write under it: a plugin's own files go in
22525
+ * `bb.storage.experimental_directory()`, and its other state in
22526
+ * `bb.storage`.
22399
22527
  */
22400
22528
  readonly experimental_dataDir: string;
22401
22529
  }
@@ -22642,7 +22770,10 @@ interface BbPluginApi {
22642
22770
  */
22643
22771
  /** Props passed to a `homepageSection` component. */
22644
22772
  interface PluginHomepageSectionProps {
22645
- /** Project in view on the compose surface; null when none is selected. */
22773
+ /**
22774
+ * Project selected in the New thread composer; null when the composer is
22775
+ * set to "No project".
22776
+ */
22646
22777
  projectId: string | null;
22647
22778
  }
22648
22779
  /**
@@ -22887,7 +23018,8 @@ interface ExperimentalSidebarNavigationItem {
22887
23018
  isVisible: boolean;
22888
23019
  /**
22889
23020
  * A plugin panel remembered from the last session whose bundle has not
22890
- * registered yet. Activating it does nothing until it loads.
23021
+ * registered yet. Activating it opens the panel's page, which shows the
23022
+ * panel once the bundle loads.
22891
23023
  */
22892
23024
  isLoading: boolean;
22893
23025
  /**
@@ -23079,13 +23211,6 @@ interface PluginThreadListProps {
23079
23211
  * Call after the user opens a thread. It closes the mobile sidebar drawer.
23080
23212
  */
23081
23213
  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
23214
  }
23090
23215
  /** JavaScript world a Browser page expression runs in. */
23091
23216
  type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
@@ -23116,7 +23241,12 @@ interface ExperimentalPluginBrowserPage {
23116
23241
  onMessage(listener: (data: JsonValue) => void): () => void;
23117
23242
  }
23118
23243
  interface ExperimentalPluginBrowserToolbarActionProps {
23119
- /** Thread that owns the Browser tab. */
23244
+ /**
23245
+ * Owner of the Browser tab. In a thread's side panel it is the thread id. On
23246
+ * the New thread screen and plugin pages it is an opaque panel key that is
23247
+ * not a thread id. Pass it with `tabId` as the `threadId` of
23248
+ * `sdk.experimental_desktopBrowsers` calls to reach this tab.
23249
+ */
23120
23250
  threadId: string;
23121
23251
  /** Browser tab currently rendering the action. */
23122
23252
  tabId: string;
@@ -24655,6 +24785,11 @@ interface PluginThreadActionTarget {
24655
24785
  pinnedAt: number | null;
24656
24786
  sectionId: string | null;
24657
24787
  isUnread: boolean;
24788
+ /**
24789
+ * True for threads bb keeps out of its own list, such as side chats; pins
24790
+ * and sections on them have no visible effect.
24791
+ */
24792
+ isHidden: boolean;
24658
24793
  status: ThreadStatus;
24659
24794
  /**
24660
24795
  * The thread's environment when a new thread can reuse it, null otherwise.
@@ -24796,7 +24931,8 @@ interface PluginThreadActionRegistration<Data = undefined> {
24796
24931
  * (see {@link PluginThreadActionsContextMenuProps}). Pure and
24797
24932
  * synchronous like `item`, with every selected thread in `useData`'s
24798
24933
  * `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.
24934
+ * the action out of selection menus. Unused with `placement: "header"`,
24935
+ * which selection menus leave out. Experimental: see docs/api_to_audit.md.
24800
24936
  */
24801
24937
  experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
24802
24938
  }
@@ -24804,9 +24940,11 @@ interface PluginThreadActionRegistration<Data = undefined> {
24804
24940
  * Where a thread action shows.
24805
24941
  *
24806
24942
  * - `"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
24943
+ * - `"header"`: only the open thread's header, as an outline button with the
24944
+ * action's `icon` and `label`, after the workspace's Open button. `detail`
24945
+ * is the button's tooltip and `variant: "destructive"` colors it. Several
24946
+ * header actions share one split button, the first as its main action and
24947
+ * the rest as menu rows drawn like the thread menu's. At
24810
24948
  * compact width and in narrow split panes the buttons fold into the
24811
24949
  * header's thread menu as rows at its top, after Open. `group` and `order`
24812
24950
  * sort header actions among themselves. Header actions never appear in
@@ -25795,6 +25933,26 @@ interface ExperimentalMessageMetadataRegistration {
25795
25933
  }
25796
25934
  /** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
25797
25935
  type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
25936
+ /**
25937
+ * bb's own Archive and Delete flows, the ones its thread menus and selection
25938
+ * menu run. Each takes thread ids, fetches any thread the app has not loaded,
25939
+ * counts child threads on the server, and confirms once for the whole list:
25940
+ * Delete always, Archive when a tree has child threads outside the list and
25941
+ * archive confirmation is on in Settings → General. Archive then removes the
25942
+ * threads, closes their split panes, leaves a route that showed one of them,
25943
+ * and shows one Undo toast that restores the threads and the route. Delete
25944
+ * cleans up panes and routes the same way and has no Undo.
25945
+ *
25946
+ * The promise resolves once the flow settles: done, cancelled in the dialog,
25947
+ * or failed after bb has shown its error toast. It never rejects. Archive
25948
+ * skips threads that are already archived. Server code should call
25949
+ * `bb.sdk.threads.archive` instead, which has no confirmation or Undo.
25950
+ * Experimental: see docs/api_to_audit.md.
25951
+ */
25952
+ interface ExperimentalThreadRequests {
25953
+ requestArchive(threadIds: readonly string[]): Promise<void>;
25954
+ requestDelete(threadIds: readonly string[]): Promise<void>;
25955
+ }
25798
25956
  /**
25799
25957
  * What every plugin callback's context carries besides its own fields:
25800
25958
  * commands, message actions, thread actions, panel and New thread panel
@@ -25811,6 +25969,23 @@ interface ExperimentalPluginActionContext {
25811
25969
  navigate: BbNavigate;
25812
25970
  /** The side panel of the surface that invoked the callback. */
25813
25971
  panel: ExperimentalPanelController;
25972
+ /**
25973
+ * The composer this callback acts on, bound to this plugin like
25974
+ * `useComposers()` handles. A composer command or menu item gets the
25975
+ * handling composer; a message action gets the composer of the message's
25976
+ * thread. Every other callback gets the focused surface's active composer:
25977
+ * the one holding the caret, or the one that held it before focus moved into
25978
+ * the command palette, a dialog, a popover or an overlay; otherwise the
25979
+ * surface's main composer; otherwise null, as on a plugin page without a
25980
+ * composer. Read in app-wide components with
25981
+ * `experimental_useActiveComposer()`. Experimental: see docs/api_to_audit.md.
25982
+ */
25983
+ composer: PluginComposerApi | null;
25984
+ /**
25985
+ * bb's own Archive and Delete flows (see {@link ExperimentalThreadRequests}),
25986
+ * the same object `experimental_useThreadRequests()` returns in components.
25987
+ */
25988
+ threadRequests: ExperimentalThreadRequests;
25814
25989
  }
25815
25990
  /**
25816
25991
  * Context handed to a composer command's or composer menu item's `run`.
@@ -26458,7 +26633,13 @@ type PluginComposerScope = {
26458
26633
  interface ComposerCustomization {
26459
26634
  /** Unique within the plugin; letters, digits, `-`, `_`. */
26460
26635
  id: string;
26461
- /** Composer kinds where this customization is active; omit for all kinds. */
26636
+ /**
26637
+ * Composer kinds where this customization is active; omit for all kinds.
26638
+ * The sent-message editor reports `"thread"` and runs only what the user
26639
+ * invokes there: `plusMenu` rows, the popups they open, and composer
26640
+ * commands. It mounts no `actions`, `banners`, `sendMenu` rows or
26641
+ * `richText` effects.
26642
+ */
26462
26643
  scopes?: readonly PluginComposerScope["kind"][];
26463
26644
  /**
26464
26645
  * Controls rendered in the composer's action row, before the voice, stop
@@ -27634,6 +27815,13 @@ interface ExperimentalServers {
27634
27815
  servers: readonly ExperimentalServer[];
27635
27816
  /** Switch this client to the server and reload the page on it, unloading every plugin. Ignores the active server and unknown ids. */
27636
27817
  switchTo(id: string): void;
27818
+ /** 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. */
27819
+ addServer: (() => void) | null;
27820
+ /** 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. */
27821
+ accountSignIn: {
27822
+ label: string;
27823
+ start(): void;
27824
+ } | null;
27637
27825
  }
27638
27826
  /**
27639
27827
  * Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
@@ -27749,6 +27937,13 @@ interface PluginSdkApp {
27749
27937
  * offers. Null when the client keeps no server list: any web browser.
27750
27938
  */
27751
27939
  experimental_useServers(): ExperimentalServers | null;
27940
+ /**
27941
+ * True on clients that keep a server list (bb Desktop and the mobile app),
27942
+ * where `experimental_useServers()` returns a value; false in a web browser.
27943
+ * Fixed for the life of the page, so a plugin can read it inside
27944
+ * `definePluginApp` to register server controls only where they work.
27945
+ */
27946
+ experimental_hasServers(): boolean;
27752
27947
  /**
27753
27948
  * The side panel of the surface the calling component renders in: the
27754
27949
  * thread view, the plugin page, or the New thread screen.
@@ -27779,6 +27974,18 @@ interface PluginSdkApp {
27779
27974
  * changes.
27780
27975
  */
27781
27976
  useComposers(): readonly PluginComposerApi[];
27977
+ /**
27978
+ * The focused surface's active composer, the value plain commands read as
27979
+ * `context.composer`: the composer holding the caret, or the one that held
27980
+ * it before focus moved into the command palette, a dialog, a popover or an
27981
+ * overlay; otherwise the surface's main composer; otherwise null. For
27982
+ * app-wide components such as overlays and plugin pages; inside a composer
27983
+ * slot use `useComposer()`. The handle names the same composer as the
27984
+ * `useComposers()` entry with its `key`. The calling component re-renders
27985
+ * when the active composer or its draft changes. Experimental: see
27986
+ * docs/api_to_audit.md.
27987
+ */
27988
+ experimental_useActiveComposer(): PluginComposerApi | null;
27782
27989
  /**
27783
27990
  * The sidebar's live thread view (see {@link PluginSidebarThreadsState}).
27784
27991
  * Reads the host's own cache and realtime subscriptions, so it costs no
@@ -27798,6 +28005,13 @@ interface PluginSdkApp {
27798
28005
  /** Defaults to active threads only. An empty selection also means active. */
27799
28006
  experimental_lifecycles: readonly ("active" | "archived")[];
27800
28007
  }): PluginSidebarThreadsState;
28008
+ /**
28009
+ * bb's Archive and Delete flows for any thread ids, with its confirmation,
28010
+ * child counts, Undo and error toast (see
28011
+ * {@link ExperimentalThreadRequests}). Callbacks get the same object as
28012
+ * their context's `threadRequests`. Experimental: see docs/api_to_audit.md.
28013
+ */
28014
+ experimental_useThreadRequests(): ExperimentalThreadRequests;
27801
28015
  /**
27802
28016
  * Archive an environment's active thread trees the way bb's own list does:
27803
28017
  * optimistic removal, closing their split panes, leaving a route that shows
@@ -28521,5 +28735,5 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
28521
28735
 
28522
28736
  declare function sliceUtf16Head(value: string, maxChars: number): string;
28523
28737
 
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 };
28738
+ 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 };
28739
+ 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 };