@get-bb/plugin-sdk 0.4.9 → 0.4.11

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.
@@ -6,7 +6,7 @@
6
6
  // and read the real source: https://github.com/get-bb/bb
7
7
 
8
8
  import * as react from 'react';
9
- import { ComponentType, ReactNode } from 'react';
9
+ import { ComponentType, ComponentPropsWithoutRef, ReactNode } from 'react';
10
10
  import * as z from 'zod';
11
11
  import { z as z$1 } from 'zod';
12
12
  import Database from 'better-sqlite3';
@@ -17,14 +17,12 @@ import { Context } from 'hono';
17
17
  * Client-local settings stay in the frontend localStorage helpers instead.
18
18
  */
19
19
  declare const appSettingsSchema: z$1.ZodObject<{
20
- claudeCodeMemoryEnabled: z$1.ZodBoolean;
21
- claudeCodeSubagentsDisabled: z$1.ZodBoolean;
22
- claudeCodeWorkflowsDisabled: z$1.ZodBoolean;
23
- codexMemoryEnabled: z$1.ZodBoolean;
24
- codexSubagentsDisabled: z$1.ZodBoolean;
20
+ defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
21
+ providerOrder: z$1.ZodArray<z$1.ZodString>;
25
22
  showKeyboardHints: z$1.ZodBoolean;
26
23
  showUnhandledProviderEvents: z$1.ZodBoolean;
27
24
  steerActiveThreadOnEnter: z$1.ZodBoolean;
25
+ streamerMode: z$1.ZodBoolean;
28
26
  }, z$1.core.$strict>;
29
27
  type AppSettings = z$1.infer<typeof appSettingsSchema>;
30
28
 
@@ -171,7 +169,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
171
169
  id: z$1.ZodOptional<z$1.ZodString>;
172
170
  metadata: z$1.ZodOptional<z$1.ZodObject<{
173
171
  backgroundActivityChanged: z$1.ZodOptional<z$1.ZodBoolean>;
174
- eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string>>>>>;
172
+ eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string>>>>>;
175
173
  hasPendingInteraction: z$1.ZodOptional<z$1.ZodBoolean>;
176
174
  projectId: z$1.ZodOptional<z$1.ZodString>;
177
175
  }, z$1.core.$strict>>;
@@ -256,6 +254,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
256
254
  editMessages: "editMessages";
257
255
  mobileApp: "mobileApp";
258
256
  providerSessionReaping: "providerSessionReaping";
257
+ timelineWindowing: "timelineWindowing";
259
258
  }>, z$1.ZodBoolean>;
260
259
  type Experiments = z$1.infer<typeof experimentsSchema>;
261
260
 
@@ -396,6 +395,26 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
396
395
  kind: z$1.ZodLiteral<"plan">;
397
396
  plan: z$1.ZodString;
398
397
  planFilePath: z$1.ZodNullable<z$1.ZodString>;
398
+ }, z$1.core.$strip>, z$1.ZodObject<{
399
+ itemId: z$1.ZodString;
400
+ kind: z$1.ZodLiteral<"tool_use">;
401
+ presentation: z$1.ZodObject<{
402
+ detail: z$1.ZodOptional<z$1.ZodString>;
403
+ icon: z$1.ZodObject<{
404
+ glyph: z$1.ZodString;
405
+ }, z$1.core.$strip>;
406
+ label: z$1.ZodObject<{
407
+ completed: z$1.ZodString;
408
+ pending: z$1.ZodString;
409
+ }, z$1.core.$strip>;
410
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
411
+ tint: z$1.ZodOptional<z$1.ZodObject<{
412
+ dark: z$1.ZodString;
413
+ light: z$1.ZodString;
414
+ }, z$1.core.$strip>>;
415
+ title: z$1.ZodOptional<z$1.ZodString>;
416
+ }, z$1.core.$strip>;
417
+ tool: z$1.ZodString;
399
418
  }, z$1.core.$strip>], "kind">;
400
419
  }, z$1.core.$strip>, z$1.ZodObject<{
401
420
  kind: z$1.ZodLiteral<"user_question">;
@@ -489,176 +508,6 @@ declare const pluginPendingInteractionSchema: z$1.ZodObject<{
489
508
  type PluginPendingInteraction = z$1.infer<typeof pluginPendingInteractionSchema>;
490
509
  type PendingInteraction = ProviderPendingInteraction | PluginPendingInteraction;
491
510
 
492
- declare const projectSourceSchema: z$1.ZodObject<{
493
- createdAt: z$1.ZodNumber;
494
- hostId: z$1.ZodString;
495
- id: z$1.ZodString;
496
- isDefault: z$1.ZodBoolean;
497
- path: z$1.ZodString;
498
- projectId: z$1.ZodString;
499
- type: z$1.ZodLiteral<"local_path">;
500
- updatedAt: z$1.ZodNumber;
501
- }, z$1.core.$strip>;
502
- type ProjectSource = z$1.infer<typeof projectSourceSchema>;
503
-
504
- declare const reasoningLevelSchema: z$1.ZodEnum<{
505
- high: "high";
506
- low: "low";
507
- max: "max";
508
- medium: "medium";
509
- none: "none";
510
- ultra: "ultra";
511
- ultracode: "ultracode";
512
- xhigh: "xhigh";
513
- }>;
514
- type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
515
- declare const serviceTierSchema: z$1.ZodEnum<{
516
- default: "default";
517
- fast: "fast";
518
- }>;
519
- type ServiceTier = z$1.infer<typeof serviceTierSchema>;
520
- declare const permissionModeSchema: z$1.ZodEnum<{
521
- "accept-edits": "accept-edits";
522
- auto: "auto";
523
- full: "full";
524
- }>;
525
- type PermissionMode = z$1.infer<typeof permissionModeSchema>;
526
- declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
527
- mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
528
- end: z$1.ZodNumber;
529
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
530
- kind: z$1.ZodLiteral<"thread">;
531
- label: z$1.ZodString;
532
- projectId: z$1.ZodOptional<z$1.ZodString>;
533
- threadId: z$1.ZodString;
534
- }, z$1.core.$strip>, z$1.ZodObject<{
535
- kind: z$1.ZodLiteral<"project">;
536
- label: z$1.ZodString;
537
- projectId: z$1.ZodString;
538
- }, z$1.core.$strip>, z$1.ZodObject<{
539
- kind: z$1.ZodLiteral<"section">;
540
- label: z$1.ZodString;
541
- sectionId: z$1.ZodString;
542
- }, z$1.core.$strip>, z$1.ZodObject<{
543
- entryKind: z$1.ZodEnum<{
544
- directory: "directory";
545
- file: "file";
546
- }>;
547
- kind: z$1.ZodLiteral<"path">;
548
- label: z$1.ZodString;
549
- path: z$1.ZodString;
550
- source: z$1.ZodEnum<{
551
- "thread-storage": "thread-storage";
552
- workspace: "workspace";
553
- }>;
554
- }, z$1.core.$strip>, z$1.ZodObject<{
555
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
556
- kind: z$1.ZodLiteral<"command">;
557
- label: z$1.ZodString;
558
- name: z$1.ZodString;
559
- origin: z$1.ZodEnum<{
560
- builtin: "builtin";
561
- project: "project";
562
- user: "user";
563
- }>;
564
- source: z$1.ZodEnum<{
565
- command: "command";
566
- skill: "skill";
567
- }>;
568
- trigger: z$1.ZodEnum<{
569
- "/": "/";
570
- }>;
571
- }, z$1.core.$strip>, z$1.ZodObject<{
572
- icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
573
- itemId: z$1.ZodString;
574
- kind: z$1.ZodLiteral<"plugin">;
575
- label: z$1.ZodString;
576
- pluginId: z$1.ZodString;
577
- }, z$1.core.$strip>], "kind">>;
578
- start: z$1.ZodNumber;
579
- }, z$1.core.$strip>>>;
580
- text: z$1.ZodString;
581
- type: z$1.ZodLiteral<"text">;
582
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
583
- "agent-only": "agent-only";
584
- }>>;
585
- }, z$1.core.$strip>, z$1.ZodObject<{
586
- type: z$1.ZodLiteral<"image">;
587
- url: z$1.ZodString;
588
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
589
- "agent-only": "agent-only";
590
- }>>;
591
- }, z$1.core.$strip>, z$1.ZodObject<{
592
- path: z$1.ZodString;
593
- type: z$1.ZodLiteral<"localImage">;
594
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
595
- "agent-only": "agent-only";
596
- }>>;
597
- }, z$1.core.$strip>, z$1.ZodObject<{
598
- mimeType: z$1.ZodOptional<z$1.ZodString>;
599
- name: z$1.ZodOptional<z$1.ZodString>;
600
- path: z$1.ZodString;
601
- sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
602
- type: z$1.ZodLiteral<"localFile">;
603
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
604
- "agent-only": "agent-only";
605
- }>>;
606
- }, z$1.core.$strip>], "type">;
607
- type PromptInput = z$1.infer<typeof promptInputSchema>;
608
- declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
609
- model: z$1.ZodString;
610
- permissionMode: z$1.ZodEnum<{
611
- "accept-edits": "accept-edits";
612
- auto: "auto";
613
- full: "full";
614
- }>;
615
- reasoningLevel: z$1.ZodEnum<{
616
- high: "high";
617
- low: "low";
618
- max: "max";
619
- medium: "medium";
620
- none: "none";
621
- ultra: "ultra";
622
- ultracode: "ultracode";
623
- xhigh: "xhigh";
624
- }>;
625
- seq: z$1.ZodOptional<z$1.ZodNumber>;
626
- serviceTier: z$1.ZodEnum<{
627
- default: "default";
628
- fast: "fast";
629
- }>;
630
- source: z$1.ZodEnum<{
631
- "client/thread/start": "client/thread/start";
632
- "client/turn/requested": "client/turn/requested";
633
- "client/turn/start": "client/turn/start";
634
- }>;
635
- }, z$1.core.$strip>;
636
- type ResolvedThreadExecutionOptions = z$1.infer<typeof resolvedThreadExecutionOptionsSchema>;
637
- declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
638
- model: z$1.ZodString;
639
- permissionMode: z$1.ZodEnum<{
640
- "accept-edits": "accept-edits";
641
- auto: "auto";
642
- full: "full";
643
- }>;
644
- providerId: z$1.ZodString;
645
- reasoningLevel: z$1.ZodEnum<{
646
- high: "high";
647
- low: "low";
648
- max: "max";
649
- medium: "medium";
650
- none: "none";
651
- ultra: "ultra";
652
- ultracode: "ultracode";
653
- xhigh: "xhigh";
654
- }>;
655
- serviceTier: z$1.ZodEnum<{
656
- default: "default";
657
- fast: "fast";
658
- }>;
659
- }, z$1.core.$strip>;
660
- type ProjectExecutionDefaults = z$1.infer<typeof projectExecutionDefaultsSchema>;
661
-
662
511
  /** All thread events — provider-originated or system-originated. */
663
512
  declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
664
513
  threadId: z$1.ZodString;
@@ -749,6 +598,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
749
598
  }, z$1.core.$strict>, z$1.ZodObject<{
750
599
  id: z$1.ZodString;
751
600
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
601
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
602
+ detail: z$1.ZodOptional<z$1.ZodString>;
603
+ icon: z$1.ZodObject<{
604
+ glyph: z$1.ZodString;
605
+ }, z$1.core.$strip>;
606
+ label: z$1.ZodObject<{
607
+ completed: z$1.ZodString;
608
+ pending: z$1.ZodString;
609
+ }, z$1.core.$strip>;
610
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
611
+ tint: z$1.ZodOptional<z$1.ZodObject<{
612
+ dark: z$1.ZodString;
613
+ light: z$1.ZodString;
614
+ }, z$1.core.$strip>>;
615
+ title: z$1.ZodOptional<z$1.ZodString>;
616
+ }, z$1.core.$strip>>;
752
617
  text: z$1.ZodString;
753
618
  type: z$1.ZodLiteral<"agentMessage">;
754
619
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -763,6 +628,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
763
628
  exitCode: z$1.ZodOptional<z$1.ZodNumber>;
764
629
  id: z$1.ZodString;
765
630
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
631
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
632
+ detail: z$1.ZodOptional<z$1.ZodString>;
633
+ icon: z$1.ZodObject<{
634
+ glyph: z$1.ZodString;
635
+ }, z$1.core.$strip>;
636
+ label: z$1.ZodObject<{
637
+ completed: z$1.ZodString;
638
+ pending: z$1.ZodString;
639
+ }, z$1.core.$strip>;
640
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
641
+ tint: z$1.ZodOptional<z$1.ZodObject<{
642
+ dark: z$1.ZodString;
643
+ light: z$1.ZodString;
644
+ }, z$1.core.$strip>>;
645
+ title: z$1.ZodOptional<z$1.ZodString>;
646
+ }, z$1.core.$strip>>;
766
647
  status: z$1.ZodEnum<{
767
648
  completed: "completed";
768
649
  failed: "failed";
@@ -807,6 +688,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
807
688
  }, z$1.core.$strip>>;
808
689
  id: z$1.ZodString;
809
690
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
691
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
692
+ detail: z$1.ZodOptional<z$1.ZodString>;
693
+ icon: z$1.ZodObject<{
694
+ glyph: z$1.ZodString;
695
+ }, z$1.core.$strip>;
696
+ label: z$1.ZodObject<{
697
+ completed: z$1.ZodString;
698
+ pending: z$1.ZodString;
699
+ }, z$1.core.$strip>;
700
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
701
+ tint: z$1.ZodOptional<z$1.ZodObject<{
702
+ dark: z$1.ZodString;
703
+ light: z$1.ZodString;
704
+ }, z$1.core.$strip>>;
705
+ title: z$1.ZodOptional<z$1.ZodString>;
706
+ }, z$1.core.$strip>>;
810
707
  status: z$1.ZodEnum<{
811
708
  completed: "completed";
812
709
  failed: "failed";
@@ -817,6 +714,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
817
714
  }, z$1.core.$strip>, z$1.ZodObject<{
818
715
  id: z$1.ZodString;
819
716
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
717
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
718
+ detail: z$1.ZodOptional<z$1.ZodString>;
719
+ icon: z$1.ZodObject<{
720
+ glyph: z$1.ZodString;
721
+ }, z$1.core.$strip>;
722
+ label: z$1.ZodObject<{
723
+ completed: z$1.ZodString;
724
+ pending: z$1.ZodString;
725
+ }, z$1.core.$strip>;
726
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
727
+ tint: z$1.ZodOptional<z$1.ZodObject<{
728
+ dark: z$1.ZodString;
729
+ light: z$1.ZodString;
730
+ }, z$1.core.$strip>>;
731
+ title: z$1.ZodOptional<z$1.ZodString>;
732
+ }, z$1.core.$strip>>;
820
733
  queries: z$1.ZodArray<z$1.ZodString>;
821
734
  resultText: z$1.ZodNullable<z$1.ZodString>;
822
735
  type: z$1.ZodLiteral<"webSearch">;
@@ -824,6 +737,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
824
737
  id: z$1.ZodString;
825
738
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
826
739
  pattern: z$1.ZodNullable<z$1.ZodString>;
740
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
741
+ detail: z$1.ZodOptional<z$1.ZodString>;
742
+ icon: z$1.ZodObject<{
743
+ glyph: z$1.ZodString;
744
+ }, z$1.core.$strip>;
745
+ label: z$1.ZodObject<{
746
+ completed: z$1.ZodString;
747
+ pending: z$1.ZodString;
748
+ }, z$1.core.$strip>;
749
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
750
+ tint: z$1.ZodOptional<z$1.ZodObject<{
751
+ dark: z$1.ZodString;
752
+ light: z$1.ZodString;
753
+ }, z$1.core.$strip>>;
754
+ title: z$1.ZodOptional<z$1.ZodString>;
755
+ }, z$1.core.$strip>>;
827
756
  prompt: z$1.ZodNullable<z$1.ZodString>;
828
757
  resultText: z$1.ZodNullable<z$1.ZodString>;
829
758
  type: z$1.ZodLiteral<"webFetch">;
@@ -832,13 +761,107 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
832
761
  id: z$1.ZodString;
833
762
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
834
763
  path: z$1.ZodString;
764
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
765
+ detail: z$1.ZodOptional<z$1.ZodString>;
766
+ icon: z$1.ZodObject<{
767
+ glyph: z$1.ZodString;
768
+ }, z$1.core.$strip>;
769
+ label: z$1.ZodObject<{
770
+ completed: z$1.ZodString;
771
+ pending: z$1.ZodString;
772
+ }, z$1.core.$strip>;
773
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
774
+ tint: z$1.ZodOptional<z$1.ZodObject<{
775
+ dark: z$1.ZodString;
776
+ light: z$1.ZodString;
777
+ }, z$1.core.$strip>>;
778
+ title: z$1.ZodOptional<z$1.ZodString>;
779
+ }, z$1.core.$strip>>;
835
780
  type: z$1.ZodLiteral<"imageView">;
781
+ }, z$1.core.$strip>, z$1.ZodObject<{
782
+ cmd: z$1.ZodOptional<z$1.ZodString>;
783
+ id: z$1.ZodString;
784
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
785
+ path: z$1.ZodString;
786
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
787
+ detail: z$1.ZodOptional<z$1.ZodString>;
788
+ icon: z$1.ZodObject<{
789
+ glyph: z$1.ZodString;
790
+ }, z$1.core.$strip>;
791
+ label: z$1.ZodObject<{
792
+ completed: z$1.ZodString;
793
+ pending: z$1.ZodString;
794
+ }, z$1.core.$strip>;
795
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
796
+ tint: z$1.ZodOptional<z$1.ZodObject<{
797
+ dark: z$1.ZodString;
798
+ light: z$1.ZodString;
799
+ }, z$1.core.$strip>>;
800
+ title: z$1.ZodOptional<z$1.ZodString>;
801
+ }, z$1.core.$strip>>;
802
+ status: z$1.ZodEnum<{
803
+ completed: "completed";
804
+ failed: "failed";
805
+ interrupted: "interrupted";
806
+ pending: "pending";
807
+ }>;
808
+ type: z$1.ZodLiteral<"fileRead">;
809
+ }, z$1.core.$strip>, z$1.ZodObject<{
810
+ cmd: z$1.ZodOptional<z$1.ZodString>;
811
+ id: z$1.ZodString;
812
+ mode: z$1.ZodEnum<{
813
+ content: "content";
814
+ list: "list";
815
+ path: "path";
816
+ }>;
817
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
818
+ path: z$1.ZodOptional<z$1.ZodString>;
819
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
820
+ detail: z$1.ZodOptional<z$1.ZodString>;
821
+ icon: z$1.ZodObject<{
822
+ glyph: z$1.ZodString;
823
+ }, z$1.core.$strip>;
824
+ label: z$1.ZodObject<{
825
+ completed: z$1.ZodString;
826
+ pending: z$1.ZodString;
827
+ }, z$1.core.$strip>;
828
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
829
+ tint: z$1.ZodOptional<z$1.ZodObject<{
830
+ dark: z$1.ZodString;
831
+ light: z$1.ZodString;
832
+ }, z$1.core.$strip>>;
833
+ title: z$1.ZodOptional<z$1.ZodString>;
834
+ }, z$1.core.$strip>>;
835
+ query: z$1.ZodString;
836
+ status: z$1.ZodEnum<{
837
+ completed: "completed";
838
+ failed: "failed";
839
+ interrupted: "interrupted";
840
+ pending: "pending";
841
+ }>;
842
+ type: z$1.ZodLiteral<"search">;
836
843
  }, z$1.core.$strip>, z$1.ZodObject<{
837
844
  arguments: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
838
845
  durationMs: z$1.ZodOptional<z$1.ZodNumber>;
839
846
  error: z$1.ZodOptional<z$1.ZodString>;
840
847
  id: z$1.ZodString;
841
848
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
849
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
850
+ detail: z$1.ZodOptional<z$1.ZodString>;
851
+ icon: z$1.ZodObject<{
852
+ glyph: z$1.ZodString;
853
+ }, z$1.core.$strip>;
854
+ label: z$1.ZodObject<{
855
+ completed: z$1.ZodString;
856
+ pending: z$1.ZodString;
857
+ }, z$1.core.$strip>;
858
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
859
+ tint: z$1.ZodOptional<z$1.ZodObject<{
860
+ dark: z$1.ZodString;
861
+ light: z$1.ZodString;
862
+ }, z$1.core.$strip>>;
863
+ title: z$1.ZodOptional<z$1.ZodString>;
864
+ }, z$1.core.$strip>>;
842
865
  result: z$1.ZodOptional<z$1.ZodUnknown>;
843
866
  server: z$1.ZodOptional<z$1.ZodString>;
844
867
  status: z$1.ZodEnum<{
@@ -877,24 +900,124 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
877
900
  content: z$1.ZodArray<z$1.ZodString>;
878
901
  id: z$1.ZodString;
879
902
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
903
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
904
+ detail: z$1.ZodOptional<z$1.ZodString>;
905
+ icon: z$1.ZodObject<{
906
+ glyph: z$1.ZodString;
907
+ }, z$1.core.$strip>;
908
+ label: z$1.ZodObject<{
909
+ completed: z$1.ZodString;
910
+ pending: z$1.ZodString;
911
+ }, z$1.core.$strip>;
912
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
913
+ tint: z$1.ZodOptional<z$1.ZodObject<{
914
+ dark: z$1.ZodString;
915
+ light: z$1.ZodString;
916
+ }, z$1.core.$strip>>;
917
+ title: z$1.ZodOptional<z$1.ZodString>;
918
+ }, z$1.core.$strip>>;
880
919
  summary: z$1.ZodArray<z$1.ZodString>;
881
920
  type: z$1.ZodLiteral<"reasoning">;
882
921
  }, z$1.core.$strip>, z$1.ZodObject<{
883
922
  id: z$1.ZodString;
884
923
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
924
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
925
+ detail: z$1.ZodOptional<z$1.ZodString>;
926
+ icon: z$1.ZodObject<{
927
+ glyph: z$1.ZodString;
928
+ }, z$1.core.$strip>;
929
+ label: z$1.ZodObject<{
930
+ completed: z$1.ZodString;
931
+ pending: z$1.ZodString;
932
+ }, z$1.core.$strip>;
933
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
934
+ tint: z$1.ZodOptional<z$1.ZodObject<{
935
+ dark: z$1.ZodString;
936
+ light: z$1.ZodString;
937
+ }, z$1.core.$strip>>;
938
+ title: z$1.ZodOptional<z$1.ZodString>;
939
+ }, z$1.core.$strip>>;
885
940
  text: z$1.ZodString;
886
941
  type: z$1.ZodLiteral<"plan">;
887
942
  }, z$1.core.$strip>, z$1.ZodObject<{
943
+ explanation: z$1.ZodOptional<z$1.ZodString>;
888
944
  id: z$1.ZodString;
889
945
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
890
- type: z$1.ZodLiteral<"contextCompaction">;
891
- }, z$1.core.$strip>, z$1.ZodObject<{
946
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
947
+ detail: z$1.ZodOptional<z$1.ZodString>;
948
+ icon: z$1.ZodObject<{
949
+ glyph: z$1.ZodString;
950
+ }, z$1.core.$strip>;
951
+ label: z$1.ZodObject<{
952
+ completed: z$1.ZodString;
953
+ pending: z$1.ZodString;
954
+ }, z$1.core.$strip>;
955
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
956
+ tint: z$1.ZodOptional<z$1.ZodObject<{
957
+ dark: z$1.ZodString;
958
+ light: z$1.ZodString;
959
+ }, z$1.core.$strip>>;
960
+ title: z$1.ZodOptional<z$1.ZodString>;
961
+ }, z$1.core.$strip>>;
962
+ status: z$1.ZodEnum<{
963
+ completed: "completed";
964
+ failed: "failed";
965
+ interrupted: "interrupted";
966
+ pending: "pending";
967
+ }>;
968
+ steps: z$1.ZodArray<z$1.ZodObject<{
969
+ status: z$1.ZodOptional<z$1.ZodEnum<{
970
+ active: "active";
971
+ completed: "completed";
972
+ failed: "failed";
973
+ pending: "pending";
974
+ }>>;
975
+ step: z$1.ZodString;
976
+ }, z$1.core.$strip>>;
977
+ type: z$1.ZodLiteral<"planSteps">;
978
+ }, z$1.core.$strip>, z$1.ZodObject<{
979
+ id: z$1.ZodString;
980
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
981
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
982
+ detail: z$1.ZodOptional<z$1.ZodString>;
983
+ icon: z$1.ZodObject<{
984
+ glyph: z$1.ZodString;
985
+ }, z$1.core.$strip>;
986
+ label: z$1.ZodObject<{
987
+ completed: z$1.ZodString;
988
+ pending: z$1.ZodString;
989
+ }, z$1.core.$strip>;
990
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
991
+ tint: z$1.ZodOptional<z$1.ZodObject<{
992
+ dark: z$1.ZodString;
993
+ light: z$1.ZodString;
994
+ }, z$1.core.$strip>>;
995
+ title: z$1.ZodOptional<z$1.ZodString>;
996
+ }, z$1.core.$strip>>;
997
+ type: z$1.ZodLiteral<"contextCompaction">;
998
+ }, z$1.core.$strip>, z$1.ZodObject<{
892
999
  description: z$1.ZodString;
893
1000
  error: z$1.ZodOptional<z$1.ZodString>;
894
1001
  familyId: z$1.ZodOptional<z$1.ZodString>;
895
1002
  id: z$1.ZodString;
896
1003
  outputFile: z$1.ZodOptional<z$1.ZodString>;
897
1004
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1005
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1006
+ detail: z$1.ZodOptional<z$1.ZodString>;
1007
+ icon: z$1.ZodObject<{
1008
+ glyph: z$1.ZodString;
1009
+ }, z$1.core.$strip>;
1010
+ label: z$1.ZodObject<{
1011
+ completed: z$1.ZodString;
1012
+ pending: z$1.ZodString;
1013
+ }, z$1.core.$strip>;
1014
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1015
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1016
+ dark: z$1.ZodString;
1017
+ light: z$1.ZodString;
1018
+ }, z$1.core.$strip>>;
1019
+ title: z$1.ZodOptional<z$1.ZodString>;
1020
+ }, z$1.core.$strip>>;
898
1021
  skipTranscript: z$1.ZodBoolean;
899
1022
  status: z$1.ZodEnum<{
900
1023
  completed: "completed";
@@ -956,6 +1079,64 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
956
1079
  }, z$1.core.$strip>>;
957
1080
  }, z$1.core.$strip>>;
958
1081
  workflowName: z$1.ZodOptional<z$1.ZodString>;
1082
+ }, z$1.core.$strip>, z$1.ZodObject<{
1083
+ background: z$1.ZodBoolean;
1084
+ childRef: z$1.ZodString;
1085
+ id: z$1.ZodString;
1086
+ label: z$1.ZodString;
1087
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1088
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1089
+ detail: z$1.ZodOptional<z$1.ZodString>;
1090
+ icon: z$1.ZodObject<{
1091
+ glyph: z$1.ZodString;
1092
+ }, z$1.core.$strip>;
1093
+ label: z$1.ZodObject<{
1094
+ completed: z$1.ZodString;
1095
+ pending: z$1.ZodString;
1096
+ }, z$1.core.$strip>;
1097
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1098
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1099
+ dark: z$1.ZodString;
1100
+ light: z$1.ZodString;
1101
+ }, z$1.core.$strip>>;
1102
+ title: z$1.ZodOptional<z$1.ZodString>;
1103
+ }, z$1.core.$strip>>;
1104
+ status: z$1.ZodEnum<{
1105
+ completed: "completed";
1106
+ failed: "failed";
1107
+ interrupted: "interrupted";
1108
+ pending: "pending";
1109
+ }>;
1110
+ summary: z$1.ZodOptional<z$1.ZodString>;
1111
+ type: z$1.ZodLiteral<"delegation">;
1112
+ }, z$1.core.$strip>, z$1.ZodObject<{
1113
+ id: z$1.ZodString;
1114
+ kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
1115
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1116
+ payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
1117
+ presentation: z$1.ZodObject<{
1118
+ detail: z$1.ZodOptional<z$1.ZodString>;
1119
+ icon: z$1.ZodObject<{
1120
+ glyph: z$1.ZodString;
1121
+ }, z$1.core.$strip>;
1122
+ label: z$1.ZodObject<{
1123
+ completed: z$1.ZodString;
1124
+ pending: z$1.ZodString;
1125
+ }, z$1.core.$strip>;
1126
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1127
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1128
+ dark: z$1.ZodString;
1129
+ light: z$1.ZodString;
1130
+ }, z$1.core.$strip>>;
1131
+ title: z$1.ZodOptional<z$1.ZodString>;
1132
+ }, z$1.core.$strip>;
1133
+ status: z$1.ZodEnum<{
1134
+ completed: "completed";
1135
+ failed: "failed";
1136
+ interrupted: "interrupted";
1137
+ pending: "pending";
1138
+ }>;
1139
+ type: z$1.ZodLiteral<"extension">;
959
1140
  }, z$1.core.$strip>], "type">;
960
1141
  providerThreadId: z$1.ZodString;
961
1142
  threadId: z$1.ZodString;
@@ -982,6 +1163,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
982
1163
  }, z$1.core.$strict>, z$1.ZodObject<{
983
1164
  id: z$1.ZodString;
984
1165
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1166
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1167
+ detail: z$1.ZodOptional<z$1.ZodString>;
1168
+ icon: z$1.ZodObject<{
1169
+ glyph: z$1.ZodString;
1170
+ }, z$1.core.$strip>;
1171
+ label: z$1.ZodObject<{
1172
+ completed: z$1.ZodString;
1173
+ pending: z$1.ZodString;
1174
+ }, z$1.core.$strip>;
1175
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1176
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1177
+ dark: z$1.ZodString;
1178
+ light: z$1.ZodString;
1179
+ }, z$1.core.$strip>>;
1180
+ title: z$1.ZodOptional<z$1.ZodString>;
1181
+ }, z$1.core.$strip>>;
985
1182
  text: z$1.ZodString;
986
1183
  type: z$1.ZodLiteral<"agentMessage">;
987
1184
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -996,6 +1193,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
996
1193
  exitCode: z$1.ZodOptional<z$1.ZodNumber>;
997
1194
  id: z$1.ZodString;
998
1195
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1196
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1197
+ detail: z$1.ZodOptional<z$1.ZodString>;
1198
+ icon: z$1.ZodObject<{
1199
+ glyph: z$1.ZodString;
1200
+ }, z$1.core.$strip>;
1201
+ label: z$1.ZodObject<{
1202
+ completed: z$1.ZodString;
1203
+ pending: z$1.ZodString;
1204
+ }, z$1.core.$strip>;
1205
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1206
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1207
+ dark: z$1.ZodString;
1208
+ light: z$1.ZodString;
1209
+ }, z$1.core.$strip>>;
1210
+ title: z$1.ZodOptional<z$1.ZodString>;
1211
+ }, z$1.core.$strip>>;
999
1212
  status: z$1.ZodEnum<{
1000
1213
  completed: "completed";
1001
1214
  failed: "failed";
@@ -1040,6 +1253,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1040
1253
  }, z$1.core.$strip>>;
1041
1254
  id: z$1.ZodString;
1042
1255
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1256
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1257
+ detail: z$1.ZodOptional<z$1.ZodString>;
1258
+ icon: z$1.ZodObject<{
1259
+ glyph: z$1.ZodString;
1260
+ }, z$1.core.$strip>;
1261
+ label: z$1.ZodObject<{
1262
+ completed: z$1.ZodString;
1263
+ pending: z$1.ZodString;
1264
+ }, z$1.core.$strip>;
1265
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1266
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1267
+ dark: z$1.ZodString;
1268
+ light: z$1.ZodString;
1269
+ }, z$1.core.$strip>>;
1270
+ title: z$1.ZodOptional<z$1.ZodString>;
1271
+ }, z$1.core.$strip>>;
1043
1272
  status: z$1.ZodEnum<{
1044
1273
  completed: "completed";
1045
1274
  failed: "failed";
@@ -1050,6 +1279,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1050
1279
  }, z$1.core.$strip>, z$1.ZodObject<{
1051
1280
  id: z$1.ZodString;
1052
1281
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1282
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1283
+ detail: z$1.ZodOptional<z$1.ZodString>;
1284
+ icon: z$1.ZodObject<{
1285
+ glyph: z$1.ZodString;
1286
+ }, z$1.core.$strip>;
1287
+ label: z$1.ZodObject<{
1288
+ completed: z$1.ZodString;
1289
+ pending: z$1.ZodString;
1290
+ }, z$1.core.$strip>;
1291
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1292
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1293
+ dark: z$1.ZodString;
1294
+ light: z$1.ZodString;
1295
+ }, z$1.core.$strip>>;
1296
+ title: z$1.ZodOptional<z$1.ZodString>;
1297
+ }, z$1.core.$strip>>;
1053
1298
  queries: z$1.ZodArray<z$1.ZodString>;
1054
1299
  resultText: z$1.ZodNullable<z$1.ZodString>;
1055
1300
  type: z$1.ZodLiteral<"webSearch">;
@@ -1057,6 +1302,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1057
1302
  id: z$1.ZodString;
1058
1303
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1059
1304
  pattern: z$1.ZodNullable<z$1.ZodString>;
1305
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1306
+ detail: z$1.ZodOptional<z$1.ZodString>;
1307
+ icon: z$1.ZodObject<{
1308
+ glyph: z$1.ZodString;
1309
+ }, z$1.core.$strip>;
1310
+ label: z$1.ZodObject<{
1311
+ completed: z$1.ZodString;
1312
+ pending: z$1.ZodString;
1313
+ }, z$1.core.$strip>;
1314
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1315
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1316
+ dark: z$1.ZodString;
1317
+ light: z$1.ZodString;
1318
+ }, z$1.core.$strip>>;
1319
+ title: z$1.ZodOptional<z$1.ZodString>;
1320
+ }, z$1.core.$strip>>;
1060
1321
  prompt: z$1.ZodNullable<z$1.ZodString>;
1061
1322
  resultText: z$1.ZodNullable<z$1.ZodString>;
1062
1323
  type: z$1.ZodLiteral<"webFetch">;
@@ -1065,13 +1326,107 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1065
1326
  id: z$1.ZodString;
1066
1327
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1067
1328
  path: z$1.ZodString;
1329
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1330
+ detail: z$1.ZodOptional<z$1.ZodString>;
1331
+ icon: z$1.ZodObject<{
1332
+ glyph: z$1.ZodString;
1333
+ }, z$1.core.$strip>;
1334
+ label: z$1.ZodObject<{
1335
+ completed: z$1.ZodString;
1336
+ pending: z$1.ZodString;
1337
+ }, z$1.core.$strip>;
1338
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1339
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1340
+ dark: z$1.ZodString;
1341
+ light: z$1.ZodString;
1342
+ }, z$1.core.$strip>>;
1343
+ title: z$1.ZodOptional<z$1.ZodString>;
1344
+ }, z$1.core.$strip>>;
1068
1345
  type: z$1.ZodLiteral<"imageView">;
1346
+ }, z$1.core.$strip>, z$1.ZodObject<{
1347
+ cmd: z$1.ZodOptional<z$1.ZodString>;
1348
+ id: z$1.ZodString;
1349
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1350
+ path: z$1.ZodString;
1351
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1352
+ detail: z$1.ZodOptional<z$1.ZodString>;
1353
+ icon: z$1.ZodObject<{
1354
+ glyph: z$1.ZodString;
1355
+ }, z$1.core.$strip>;
1356
+ label: z$1.ZodObject<{
1357
+ completed: z$1.ZodString;
1358
+ pending: z$1.ZodString;
1359
+ }, z$1.core.$strip>;
1360
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1361
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1362
+ dark: z$1.ZodString;
1363
+ light: z$1.ZodString;
1364
+ }, z$1.core.$strip>>;
1365
+ title: z$1.ZodOptional<z$1.ZodString>;
1366
+ }, z$1.core.$strip>>;
1367
+ status: z$1.ZodEnum<{
1368
+ completed: "completed";
1369
+ failed: "failed";
1370
+ interrupted: "interrupted";
1371
+ pending: "pending";
1372
+ }>;
1373
+ type: z$1.ZodLiteral<"fileRead">;
1374
+ }, z$1.core.$strip>, z$1.ZodObject<{
1375
+ cmd: z$1.ZodOptional<z$1.ZodString>;
1376
+ id: z$1.ZodString;
1377
+ mode: z$1.ZodEnum<{
1378
+ content: "content";
1379
+ list: "list";
1380
+ path: "path";
1381
+ }>;
1382
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1383
+ path: z$1.ZodOptional<z$1.ZodString>;
1384
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1385
+ detail: z$1.ZodOptional<z$1.ZodString>;
1386
+ icon: z$1.ZodObject<{
1387
+ glyph: z$1.ZodString;
1388
+ }, z$1.core.$strip>;
1389
+ label: z$1.ZodObject<{
1390
+ completed: z$1.ZodString;
1391
+ pending: z$1.ZodString;
1392
+ }, z$1.core.$strip>;
1393
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1394
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1395
+ dark: z$1.ZodString;
1396
+ light: z$1.ZodString;
1397
+ }, z$1.core.$strip>>;
1398
+ title: z$1.ZodOptional<z$1.ZodString>;
1399
+ }, z$1.core.$strip>>;
1400
+ query: z$1.ZodString;
1401
+ status: z$1.ZodEnum<{
1402
+ completed: "completed";
1403
+ failed: "failed";
1404
+ interrupted: "interrupted";
1405
+ pending: "pending";
1406
+ }>;
1407
+ type: z$1.ZodLiteral<"search">;
1069
1408
  }, z$1.core.$strip>, z$1.ZodObject<{
1070
1409
  arguments: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
1071
1410
  durationMs: z$1.ZodOptional<z$1.ZodNumber>;
1072
1411
  error: z$1.ZodOptional<z$1.ZodString>;
1073
1412
  id: z$1.ZodString;
1074
1413
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1414
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1415
+ detail: z$1.ZodOptional<z$1.ZodString>;
1416
+ icon: z$1.ZodObject<{
1417
+ glyph: z$1.ZodString;
1418
+ }, z$1.core.$strip>;
1419
+ label: z$1.ZodObject<{
1420
+ completed: z$1.ZodString;
1421
+ pending: z$1.ZodString;
1422
+ }, z$1.core.$strip>;
1423
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1424
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1425
+ dark: z$1.ZodString;
1426
+ light: z$1.ZodString;
1427
+ }, z$1.core.$strip>>;
1428
+ title: z$1.ZodOptional<z$1.ZodString>;
1429
+ }, z$1.core.$strip>>;
1075
1430
  result: z$1.ZodOptional<z$1.ZodUnknown>;
1076
1431
  server: z$1.ZodOptional<z$1.ZodString>;
1077
1432
  status: z$1.ZodEnum<{
@@ -1110,16 +1465,100 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1110
1465
  content: z$1.ZodArray<z$1.ZodString>;
1111
1466
  id: z$1.ZodString;
1112
1467
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1468
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1469
+ detail: z$1.ZodOptional<z$1.ZodString>;
1470
+ icon: z$1.ZodObject<{
1471
+ glyph: z$1.ZodString;
1472
+ }, z$1.core.$strip>;
1473
+ label: z$1.ZodObject<{
1474
+ completed: z$1.ZodString;
1475
+ pending: z$1.ZodString;
1476
+ }, z$1.core.$strip>;
1477
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1478
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1479
+ dark: z$1.ZodString;
1480
+ light: z$1.ZodString;
1481
+ }, z$1.core.$strip>>;
1482
+ title: z$1.ZodOptional<z$1.ZodString>;
1483
+ }, z$1.core.$strip>>;
1113
1484
  summary: z$1.ZodArray<z$1.ZodString>;
1114
1485
  type: z$1.ZodLiteral<"reasoning">;
1115
1486
  }, z$1.core.$strip>, z$1.ZodObject<{
1116
1487
  id: z$1.ZodString;
1117
1488
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1489
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1490
+ detail: z$1.ZodOptional<z$1.ZodString>;
1491
+ icon: z$1.ZodObject<{
1492
+ glyph: z$1.ZodString;
1493
+ }, z$1.core.$strip>;
1494
+ label: z$1.ZodObject<{
1495
+ completed: z$1.ZodString;
1496
+ pending: z$1.ZodString;
1497
+ }, z$1.core.$strip>;
1498
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1499
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1500
+ dark: z$1.ZodString;
1501
+ light: z$1.ZodString;
1502
+ }, z$1.core.$strip>>;
1503
+ title: z$1.ZodOptional<z$1.ZodString>;
1504
+ }, z$1.core.$strip>>;
1118
1505
  text: z$1.ZodString;
1119
1506
  type: z$1.ZodLiteral<"plan">;
1507
+ }, z$1.core.$strip>, z$1.ZodObject<{
1508
+ explanation: z$1.ZodOptional<z$1.ZodString>;
1509
+ id: z$1.ZodString;
1510
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1511
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1512
+ detail: z$1.ZodOptional<z$1.ZodString>;
1513
+ icon: z$1.ZodObject<{
1514
+ glyph: z$1.ZodString;
1515
+ }, z$1.core.$strip>;
1516
+ label: z$1.ZodObject<{
1517
+ completed: z$1.ZodString;
1518
+ pending: z$1.ZodString;
1519
+ }, z$1.core.$strip>;
1520
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1521
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1522
+ dark: z$1.ZodString;
1523
+ light: z$1.ZodString;
1524
+ }, z$1.core.$strip>>;
1525
+ title: z$1.ZodOptional<z$1.ZodString>;
1526
+ }, z$1.core.$strip>>;
1527
+ status: z$1.ZodEnum<{
1528
+ completed: "completed";
1529
+ failed: "failed";
1530
+ interrupted: "interrupted";
1531
+ pending: "pending";
1532
+ }>;
1533
+ steps: z$1.ZodArray<z$1.ZodObject<{
1534
+ status: z$1.ZodOptional<z$1.ZodEnum<{
1535
+ active: "active";
1536
+ completed: "completed";
1537
+ failed: "failed";
1538
+ pending: "pending";
1539
+ }>>;
1540
+ step: z$1.ZodString;
1541
+ }, z$1.core.$strip>>;
1542
+ type: z$1.ZodLiteral<"planSteps">;
1120
1543
  }, z$1.core.$strip>, z$1.ZodObject<{
1121
1544
  id: z$1.ZodString;
1122
1545
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1546
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1547
+ detail: z$1.ZodOptional<z$1.ZodString>;
1548
+ icon: z$1.ZodObject<{
1549
+ glyph: z$1.ZodString;
1550
+ }, z$1.core.$strip>;
1551
+ label: z$1.ZodObject<{
1552
+ completed: z$1.ZodString;
1553
+ pending: z$1.ZodString;
1554
+ }, z$1.core.$strip>;
1555
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1556
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1557
+ dark: z$1.ZodString;
1558
+ light: z$1.ZodString;
1559
+ }, z$1.core.$strip>>;
1560
+ title: z$1.ZodOptional<z$1.ZodString>;
1561
+ }, z$1.core.$strip>>;
1123
1562
  type: z$1.ZodLiteral<"contextCompaction">;
1124
1563
  }, z$1.core.$strip>, z$1.ZodObject<{
1125
1564
  description: z$1.ZodString;
@@ -1128,6 +1567,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1128
1567
  id: z$1.ZodString;
1129
1568
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1130
1569
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1570
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1571
+ detail: z$1.ZodOptional<z$1.ZodString>;
1572
+ icon: z$1.ZodObject<{
1573
+ glyph: z$1.ZodString;
1574
+ }, z$1.core.$strip>;
1575
+ label: z$1.ZodObject<{
1576
+ completed: z$1.ZodString;
1577
+ pending: z$1.ZodString;
1578
+ }, z$1.core.$strip>;
1579
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1580
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1581
+ dark: z$1.ZodString;
1582
+ light: z$1.ZodString;
1583
+ }, z$1.core.$strip>>;
1584
+ title: z$1.ZodOptional<z$1.ZodString>;
1585
+ }, z$1.core.$strip>>;
1131
1586
  skipTranscript: z$1.ZodBoolean;
1132
1587
  status: z$1.ZodEnum<{
1133
1588
  completed: "completed";
@@ -1189,6 +1644,64 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1189
1644
  }, z$1.core.$strip>>;
1190
1645
  }, z$1.core.$strip>>;
1191
1646
  workflowName: z$1.ZodOptional<z$1.ZodString>;
1647
+ }, z$1.core.$strip>, z$1.ZodObject<{
1648
+ background: z$1.ZodBoolean;
1649
+ childRef: z$1.ZodString;
1650
+ id: z$1.ZodString;
1651
+ label: z$1.ZodString;
1652
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1653
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1654
+ detail: z$1.ZodOptional<z$1.ZodString>;
1655
+ icon: z$1.ZodObject<{
1656
+ glyph: z$1.ZodString;
1657
+ }, z$1.core.$strip>;
1658
+ label: z$1.ZodObject<{
1659
+ completed: z$1.ZodString;
1660
+ pending: z$1.ZodString;
1661
+ }, z$1.core.$strip>;
1662
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1663
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1664
+ dark: z$1.ZodString;
1665
+ light: z$1.ZodString;
1666
+ }, z$1.core.$strip>>;
1667
+ title: z$1.ZodOptional<z$1.ZodString>;
1668
+ }, z$1.core.$strip>>;
1669
+ status: z$1.ZodEnum<{
1670
+ completed: "completed";
1671
+ failed: "failed";
1672
+ interrupted: "interrupted";
1673
+ pending: "pending";
1674
+ }>;
1675
+ summary: z$1.ZodOptional<z$1.ZodString>;
1676
+ type: z$1.ZodLiteral<"delegation">;
1677
+ }, z$1.core.$strip>, z$1.ZodObject<{
1678
+ id: z$1.ZodString;
1679
+ kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
1680
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1681
+ payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
1682
+ presentation: z$1.ZodObject<{
1683
+ detail: z$1.ZodOptional<z$1.ZodString>;
1684
+ icon: z$1.ZodObject<{
1685
+ glyph: z$1.ZodString;
1686
+ }, z$1.core.$strip>;
1687
+ label: z$1.ZodObject<{
1688
+ completed: z$1.ZodString;
1689
+ pending: z$1.ZodString;
1690
+ }, z$1.core.$strip>;
1691
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1692
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1693
+ dark: z$1.ZodString;
1694
+ light: z$1.ZodString;
1695
+ }, z$1.core.$strip>>;
1696
+ title: z$1.ZodOptional<z$1.ZodString>;
1697
+ }, z$1.core.$strip>;
1698
+ status: z$1.ZodEnum<{
1699
+ completed: "completed";
1700
+ failed: "failed";
1701
+ interrupted: "interrupted";
1702
+ pending: "pending";
1703
+ }>;
1704
+ type: z$1.ZodLiteral<"extension">;
1192
1705
  }, z$1.core.$strip>], "type">;
1193
1706
  providerThreadId: z$1.ZodString;
1194
1707
  threadId: z$1.ZodString;
@@ -1258,6 +1771,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1258
1771
  id: z$1.ZodString;
1259
1772
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1260
1773
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1774
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1775
+ detail: z$1.ZodOptional<z$1.ZodString>;
1776
+ icon: z$1.ZodObject<{
1777
+ glyph: z$1.ZodString;
1778
+ }, z$1.core.$strip>;
1779
+ label: z$1.ZodObject<{
1780
+ completed: z$1.ZodString;
1781
+ pending: z$1.ZodString;
1782
+ }, z$1.core.$strip>;
1783
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1784
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1785
+ dark: z$1.ZodString;
1786
+ light: z$1.ZodString;
1787
+ }, z$1.core.$strip>>;
1788
+ title: z$1.ZodOptional<z$1.ZodString>;
1789
+ }, z$1.core.$strip>>;
1261
1790
  skipTranscript: z$1.ZodBoolean;
1262
1791
  status: z$1.ZodEnum<{
1263
1792
  completed: "completed";
@@ -1331,6 +1860,22 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1331
1860
  id: z$1.ZodString;
1332
1861
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1333
1862
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1863
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1864
+ detail: z$1.ZodOptional<z$1.ZodString>;
1865
+ icon: z$1.ZodObject<{
1866
+ glyph: z$1.ZodString;
1867
+ }, z$1.core.$strip>;
1868
+ label: z$1.ZodObject<{
1869
+ completed: z$1.ZodString;
1870
+ pending: z$1.ZodString;
1871
+ }, z$1.core.$strip>;
1872
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1873
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1874
+ dark: z$1.ZodString;
1875
+ light: z$1.ZodString;
1876
+ }, z$1.core.$strip>>;
1877
+ title: z$1.ZodOptional<z$1.ZodString>;
1878
+ }, z$1.core.$strip>>;
1334
1879
  skipTranscript: z$1.ZodBoolean;
1335
1880
  status: z$1.ZodEnum<{
1336
1881
  completed: "completed";
@@ -1396,6 +1941,76 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1396
1941
  providerThreadId: z$1.ZodString;
1397
1942
  threadId: z$1.ZodString;
1398
1943
  type: z$1.ZodLiteral<"item/backgroundTask/completed">;
1944
+ }, z$1.core.$strip>, z$1.ZodObject<{
1945
+ item: z$1.ZodObject<{
1946
+ background: z$1.ZodBoolean;
1947
+ childRef: z$1.ZodString;
1948
+ id: z$1.ZodString;
1949
+ label: z$1.ZodString;
1950
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1951
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1952
+ detail: z$1.ZodOptional<z$1.ZodString>;
1953
+ icon: z$1.ZodObject<{
1954
+ glyph: z$1.ZodString;
1955
+ }, z$1.core.$strip>;
1956
+ label: z$1.ZodObject<{
1957
+ completed: z$1.ZodString;
1958
+ pending: z$1.ZodString;
1959
+ }, z$1.core.$strip>;
1960
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1961
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1962
+ dark: z$1.ZodString;
1963
+ light: z$1.ZodString;
1964
+ }, z$1.core.$strip>>;
1965
+ title: z$1.ZodOptional<z$1.ZodString>;
1966
+ }, z$1.core.$strip>>;
1967
+ status: z$1.ZodEnum<{
1968
+ completed: "completed";
1969
+ failed: "failed";
1970
+ interrupted: "interrupted";
1971
+ pending: "pending";
1972
+ }>;
1973
+ summary: z$1.ZodOptional<z$1.ZodString>;
1974
+ type: z$1.ZodLiteral<"delegation">;
1975
+ }, z$1.core.$strip>;
1976
+ providerThreadId: z$1.ZodString;
1977
+ threadId: z$1.ZodString;
1978
+ type: z$1.ZodLiteral<"item/delegation/progress">;
1979
+ }, z$1.core.$strip>, z$1.ZodObject<{
1980
+ item: z$1.ZodObject<{
1981
+ background: z$1.ZodBoolean;
1982
+ childRef: z$1.ZodString;
1983
+ id: z$1.ZodString;
1984
+ label: z$1.ZodString;
1985
+ parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1986
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
1987
+ detail: z$1.ZodOptional<z$1.ZodString>;
1988
+ icon: z$1.ZodObject<{
1989
+ glyph: z$1.ZodString;
1990
+ }, z$1.core.$strip>;
1991
+ label: z$1.ZodObject<{
1992
+ completed: z$1.ZodString;
1993
+ pending: z$1.ZodString;
1994
+ }, z$1.core.$strip>;
1995
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
1996
+ tint: z$1.ZodOptional<z$1.ZodObject<{
1997
+ dark: z$1.ZodString;
1998
+ light: z$1.ZodString;
1999
+ }, z$1.core.$strip>>;
2000
+ title: z$1.ZodOptional<z$1.ZodString>;
2001
+ }, z$1.core.$strip>>;
2002
+ status: z$1.ZodEnum<{
2003
+ completed: "completed";
2004
+ failed: "failed";
2005
+ interrupted: "interrupted";
2006
+ pending: "pending";
2007
+ }>;
2008
+ summary: z$1.ZodOptional<z$1.ZodString>;
2009
+ type: z$1.ZodLiteral<"delegation">;
2010
+ }, z$1.core.$strip>;
2011
+ providerThreadId: z$1.ZodString;
2012
+ threadId: z$1.ZodString;
2013
+ type: z$1.ZodLiteral<"item/delegation/completed">;
1399
2014
  }, z$1.core.$strip>, z$1.ZodObject<{
1400
2015
  providerThreadId: z$1.ZodString;
1401
2016
  threadId: z$1.ZodString;
@@ -1515,6 +2130,12 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1515
2130
  }, z$1.core.$strip>;
1516
2131
  threadId: z$1.ZodString;
1517
2132
  type: z$1.ZodLiteral<"provider/rateLimits/updated">;
2133
+ }, z$1.core.$strip>, z$1.ZodObject<{
2134
+ kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
2135
+ payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
2136
+ providerThreadId: z$1.ZodString;
2137
+ threadId: z$1.ZodString;
2138
+ type: z$1.ZodLiteral<"thread/extensionState/updated">;
1518
2139
  }, z$1.core.$strip>, z$1.ZodObject<{
1519
2140
  category: z$1.ZodEnum<{
1520
2141
  "compaction-skipped": "compaction-skipped";
@@ -2016,10 +2637,180 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2016
2637
  type ThreadEvent = z$1.infer<typeof threadEventSchema>;
2017
2638
  type ThreadEventType = ThreadEvent["type"];
2018
2639
 
2019
- /**
2640
+ declare const projectSourceSchema: z$1.ZodObject<{
2641
+ createdAt: z$1.ZodNumber;
2642
+ hostId: z$1.ZodString;
2643
+ id: z$1.ZodString;
2644
+ isDefault: z$1.ZodBoolean;
2645
+ path: z$1.ZodString;
2646
+ projectId: z$1.ZodString;
2647
+ type: z$1.ZodLiteral<"local_path">;
2648
+ updatedAt: z$1.ZodNumber;
2649
+ }, z$1.core.$strip>;
2650
+ type ProjectSource = z$1.infer<typeof projectSourceSchema>;
2651
+
2652
+ declare const reasoningLevelSchema: z$1.ZodEnum<{
2653
+ high: "high";
2654
+ low: "low";
2655
+ max: "max";
2656
+ medium: "medium";
2657
+ none: "none";
2658
+ ultra: "ultra";
2659
+ ultracode: "ultracode";
2660
+ xhigh: "xhigh";
2661
+ }>;
2662
+ type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
2663
+ declare const serviceTierSchema: z$1.ZodEnum<{
2664
+ default: "default";
2665
+ fast: "fast";
2666
+ }>;
2667
+ type ServiceTier = z$1.infer<typeof serviceTierSchema>;
2668
+ declare const permissionModeSchema: z$1.ZodEnum<{
2669
+ "accept-edits": "accept-edits";
2670
+ auto: "auto";
2671
+ full: "full";
2672
+ }>;
2673
+ type PermissionMode = z$1.infer<typeof permissionModeSchema>;
2674
+ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2675
+ mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
2676
+ end: z$1.ZodNumber;
2677
+ resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2678
+ kind: z$1.ZodLiteral<"thread">;
2679
+ label: z$1.ZodString;
2680
+ projectId: z$1.ZodOptional<z$1.ZodString>;
2681
+ threadId: z$1.ZodString;
2682
+ }, z$1.core.$strip>, z$1.ZodObject<{
2683
+ kind: z$1.ZodLiteral<"project">;
2684
+ label: z$1.ZodString;
2685
+ projectId: z$1.ZodString;
2686
+ }, z$1.core.$strip>, z$1.ZodObject<{
2687
+ kind: z$1.ZodLiteral<"section">;
2688
+ label: z$1.ZodString;
2689
+ sectionId: z$1.ZodString;
2690
+ }, z$1.core.$strip>, z$1.ZodObject<{
2691
+ entryKind: z$1.ZodEnum<{
2692
+ directory: "directory";
2693
+ file: "file";
2694
+ }>;
2695
+ kind: z$1.ZodLiteral<"path">;
2696
+ label: z$1.ZodString;
2697
+ path: z$1.ZodString;
2698
+ source: z$1.ZodEnum<{
2699
+ "thread-storage": "thread-storage";
2700
+ workspace: "workspace";
2701
+ }>;
2702
+ }, z$1.core.$strip>, z$1.ZodObject<{
2703
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
2704
+ kind: z$1.ZodLiteral<"command">;
2705
+ label: z$1.ZodString;
2706
+ name: z$1.ZodString;
2707
+ origin: z$1.ZodEnum<{
2708
+ builtin: "builtin";
2709
+ project: "project";
2710
+ user: "user";
2711
+ }>;
2712
+ source: z$1.ZodEnum<{
2713
+ command: "command";
2714
+ skill: "skill";
2715
+ }>;
2716
+ trigger: z$1.ZodEnum<{
2717
+ "/": "/";
2718
+ }>;
2719
+ }, z$1.core.$strip>, z$1.ZodObject<{
2720
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
2721
+ itemId: z$1.ZodString;
2722
+ kind: z$1.ZodLiteral<"plugin">;
2723
+ label: z$1.ZodString;
2724
+ pluginId: z$1.ZodString;
2725
+ }, z$1.core.$strip>], "kind">>;
2726
+ start: z$1.ZodNumber;
2727
+ }, z$1.core.$strip>>>;
2728
+ text: z$1.ZodString;
2729
+ type: z$1.ZodLiteral<"text">;
2730
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
2731
+ "agent-only": "agent-only";
2732
+ }>>;
2733
+ }, z$1.core.$strip>, z$1.ZodObject<{
2734
+ type: z$1.ZodLiteral<"image">;
2735
+ url: z$1.ZodString;
2736
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
2737
+ "agent-only": "agent-only";
2738
+ }>>;
2739
+ }, z$1.core.$strip>, z$1.ZodObject<{
2740
+ path: z$1.ZodString;
2741
+ type: z$1.ZodLiteral<"localImage">;
2742
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
2743
+ "agent-only": "agent-only";
2744
+ }>>;
2745
+ }, z$1.core.$strip>, z$1.ZodObject<{
2746
+ mimeType: z$1.ZodOptional<z$1.ZodString>;
2747
+ name: z$1.ZodOptional<z$1.ZodString>;
2748
+ path: z$1.ZodString;
2749
+ sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
2750
+ type: z$1.ZodLiteral<"localFile">;
2751
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
2752
+ "agent-only": "agent-only";
2753
+ }>>;
2754
+ }, z$1.core.$strip>], "type">;
2755
+ type PromptInput = z$1.infer<typeof promptInputSchema>;
2756
+ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
2757
+ model: z$1.ZodString;
2758
+ permissionMode: z$1.ZodEnum<{
2759
+ "accept-edits": "accept-edits";
2760
+ auto: "auto";
2761
+ full: "full";
2762
+ }>;
2763
+ reasoningLevel: z$1.ZodEnum<{
2764
+ high: "high";
2765
+ low: "low";
2766
+ max: "max";
2767
+ medium: "medium";
2768
+ none: "none";
2769
+ ultra: "ultra";
2770
+ ultracode: "ultracode";
2771
+ xhigh: "xhigh";
2772
+ }>;
2773
+ seq: z$1.ZodOptional<z$1.ZodNumber>;
2774
+ serviceTier: z$1.ZodEnum<{
2775
+ default: "default";
2776
+ fast: "fast";
2777
+ }>;
2778
+ source: z$1.ZodEnum<{
2779
+ "client/thread/start": "client/thread/start";
2780
+ "client/turn/requested": "client/turn/requested";
2781
+ "client/turn/start": "client/turn/start";
2782
+ }>;
2783
+ }, z$1.core.$strip>;
2784
+ type ResolvedThreadExecutionOptions = z$1.infer<typeof resolvedThreadExecutionOptionsSchema>;
2785
+ declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
2786
+ model: z$1.ZodString;
2787
+ permissionMode: z$1.ZodEnum<{
2788
+ "accept-edits": "accept-edits";
2789
+ auto: "auto";
2790
+ full: "full";
2791
+ }>;
2792
+ providerId: z$1.ZodString;
2793
+ reasoningLevel: z$1.ZodEnum<{
2794
+ high: "high";
2795
+ low: "low";
2796
+ max: "max";
2797
+ medium: "medium";
2798
+ none: "none";
2799
+ ultra: "ultra";
2800
+ ultracode: "ultracode";
2801
+ xhigh: "xhigh";
2802
+ }>;
2803
+ serviceTier: z$1.ZodEnum<{
2804
+ default: "default";
2805
+ fast: "fast";
2806
+ }>;
2807
+ }, z$1.core.$strip>;
2808
+ type ProjectExecutionDefaults = z$1.infer<typeof projectExecutionDefaultsSchema>;
2809
+
2810
+ /**
2020
2811
  * How completely a provider can clone one of its sessions — the single
2021
2812
  * vocabulary shared by the provider declaration
2022
- * (`bb.agents.experimental_registerProvider`), the server→daemon
2813
+ * (`bb.providers.register`), the server→daemon
2023
2814
  * `bridgeLaunch`, and the bridge's `initialize` handshake.
2024
2815
  *
2025
2816
  * - `"none"`: sessions cannot be cloned at all.
@@ -2075,8 +2866,37 @@ declare const providerInfoSchema: z$1.ZodObject<{
2075
2866
  kind: z$1.ZodLiteral<"goal">;
2076
2867
  }, z$1.core.$strip>], "kind">>;
2077
2868
  displayName: z$1.ZodString;
2869
+ experimental_providerHealth: z$1.ZodBoolean;
2870
+ experimental_providerInstallation: z$1.ZodBoolean;
2871
+ experimental_providerUsage: z$1.ZodBoolean;
2872
+ extensionKinds: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>, z$1.ZodObject<{
2873
+ item: z$1.ZodBoolean;
2874
+ state: z$1.ZodBoolean;
2875
+ }, z$1.core.$strip>>>;
2876
+ family: z$1.ZodOptional<z$1.ZodString>;
2078
2877
  id: z$1.ZodString;
2079
2878
  logoUrl: z$1.ZodNullable<z$1.ZodString>;
2879
+ reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2880
+ description: z$1.ZodOptional<z$1.ZodString>;
2881
+ id: z$1.ZodString;
2882
+ label: z$1.ZodString;
2883
+ }, z$1.core.$strip>>>;
2884
+ serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2885
+ description: z$1.ZodOptional<z$1.ZodString>;
2886
+ id: z$1.ZodString;
2887
+ label: z$1.ZodString;
2888
+ }, z$1.core.$strip>>>;
2889
+ strings: z$1.ZodOptional<z$1.ZodObject<{
2890
+ brandPrefix: z$1.ZodOptional<z$1.ZodString>;
2891
+ expiredHint: z$1.ZodString;
2892
+ iconTint: z$1.ZodOptional<z$1.ZodObject<{
2893
+ dark: z$1.ZodString;
2894
+ light: z$1.ZodString;
2895
+ }, z$1.core.$strip>>;
2896
+ installUrl: z$1.ZodString;
2897
+ planModeCopy: z$1.ZodOptional<z$1.ZodString>;
2898
+ signInHint: z$1.ZodString;
2899
+ }, z$1.core.$strip>>;
2080
2900
  }, z$1.core.$strip>;
2081
2901
  type ProviderInfo = z$1.infer<typeof providerInfoSchema>;
2082
2902
 
@@ -3565,83 +4385,32 @@ declare const environmentDiffPatchRequestSchema: z$1.ZodObject<{
3565
4385
  type EnvironmentDiffPatchRequest = z$1.infer<typeof environmentDiffPatchRequestSchema>;
3566
4386
  type EnvironmentStatusResponse = z$1.infer<typeof environmentStatusResponseSchema>;
3567
4387
 
3568
- declare const providerUsageResponseSchema: z$1.ZodObject<{
3569
- claudeCode: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3570
- accountEmail: z$1.ZodNullable<z$1.ZodString>;
3571
- planLabel: z$1.ZodNullable<z$1.ZodString>;
3572
- status: z$1.ZodLiteral<"ok">;
3573
- windows: z$1.ZodArray<z$1.ZodObject<{
3574
- cost: z$1.ZodOptional<z$1.ZodObject<{
3575
- limitUsdCents: z$1.ZodNumber;
3576
- usedUsdCents: z$1.ZodNumber;
3577
- }, z$1.core.$strip>>;
3578
- label: z$1.ZodString;
3579
- resetsAt: z$1.ZodNullable<z$1.ZodString>;
3580
- usedPercent: z$1.ZodNumber;
3581
- }, z$1.core.$strip>>;
3582
- }, z$1.core.$strip>, z$1.ZodObject<{
3583
- status: z$1.ZodLiteral<"not_installed">;
3584
- }, z$1.core.$strip>, z$1.ZodObject<{
3585
- status: z$1.ZodLiteral<"unauthenticated">;
3586
- }, z$1.core.$strip>, z$1.ZodObject<{
3587
- status: z$1.ZodLiteral<"expired">;
3588
- }, z$1.core.$strip>, z$1.ZodObject<{
3589
- accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
3590
- message: z$1.ZodString;
3591
- planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
3592
- status: z$1.ZodLiteral<"error">;
3593
- }, z$1.core.$strip>], "status">;
3594
- codex: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3595
- accountEmail: z$1.ZodNullable<z$1.ZodString>;
3596
- planLabel: z$1.ZodNullable<z$1.ZodString>;
3597
- status: z$1.ZodLiteral<"ok">;
3598
- windows: z$1.ZodArray<z$1.ZodObject<{
3599
- cost: z$1.ZodOptional<z$1.ZodObject<{
3600
- limitUsdCents: z$1.ZodNumber;
3601
- usedUsdCents: z$1.ZodNumber;
3602
- }, z$1.core.$strip>>;
3603
- label: z$1.ZodString;
3604
- resetsAt: z$1.ZodNullable<z$1.ZodString>;
3605
- usedPercent: z$1.ZodNumber;
3606
- }, z$1.core.$strip>>;
3607
- }, z$1.core.$strip>, z$1.ZodObject<{
3608
- status: z$1.ZodLiteral<"not_installed">;
3609
- }, z$1.core.$strip>, z$1.ZodObject<{
3610
- status: z$1.ZodLiteral<"unauthenticated">;
3611
- }, z$1.core.$strip>, z$1.ZodObject<{
3612
- status: z$1.ZodLiteral<"expired">;
3613
- }, z$1.core.$strip>, z$1.ZodObject<{
3614
- accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
3615
- message: z$1.ZodString;
3616
- planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
3617
- status: z$1.ZodLiteral<"error">;
3618
- }, z$1.core.$strip>], "status">;
3619
- cursor: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3620
- accountEmail: z$1.ZodNullable<z$1.ZodString>;
3621
- planLabel: z$1.ZodNullable<z$1.ZodString>;
3622
- status: z$1.ZodLiteral<"ok">;
3623
- windows: z$1.ZodArray<z$1.ZodObject<{
3624
- cost: z$1.ZodOptional<z$1.ZodObject<{
3625
- limitUsdCents: z$1.ZodNumber;
3626
- usedUsdCents: z$1.ZodNumber;
3627
- }, z$1.core.$strip>>;
3628
- label: z$1.ZodString;
3629
- resetsAt: z$1.ZodNullable<z$1.ZodString>;
3630
- usedPercent: z$1.ZodNumber;
4388
+ /** Provider-id keyed usage returned by the public server aggregation route. */
4389
+ declare const providerUsageResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4390
+ accountEmail: z$1.ZodNullable<z$1.ZodString>;
4391
+ planLabel: z$1.ZodNullable<z$1.ZodString>;
4392
+ status: z$1.ZodLiteral<"ok">;
4393
+ windows: z$1.ZodArray<z$1.ZodObject<{
4394
+ cost: z$1.ZodOptional<z$1.ZodObject<{
4395
+ limitUsdCents: z$1.ZodNumber;
4396
+ usedUsdCents: z$1.ZodNumber;
3631
4397
  }, z$1.core.$strip>>;
3632
- }, z$1.core.$strip>, z$1.ZodObject<{
3633
- status: z$1.ZodLiteral<"not_installed">;
3634
- }, z$1.core.$strip>, z$1.ZodObject<{
3635
- status: z$1.ZodLiteral<"unauthenticated">;
3636
- }, z$1.core.$strip>, z$1.ZodObject<{
3637
- status: z$1.ZodLiteral<"expired">;
3638
- }, z$1.core.$strip>, z$1.ZodObject<{
3639
- accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
3640
- message: z$1.ZodString;
3641
- planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
3642
- status: z$1.ZodLiteral<"error">;
3643
- }, z$1.core.$strip>], "status">;
3644
- }, z$1.core.$strip>;
4398
+ label: z$1.ZodString;
4399
+ resetsAt: z$1.ZodNullable<z$1.ZodString>;
4400
+ usedPercent: z$1.ZodNumber;
4401
+ }, z$1.core.$loose>>;
4402
+ }, z$1.core.$loose>, z$1.ZodObject<{
4403
+ status: z$1.ZodLiteral<"not_installed">;
4404
+ }, z$1.core.$loose>, z$1.ZodObject<{
4405
+ status: z$1.ZodLiteral<"unauthenticated">;
4406
+ }, z$1.core.$loose>, z$1.ZodObject<{
4407
+ status: z$1.ZodLiteral<"expired">;
4408
+ }, z$1.core.$loose>, z$1.ZodObject<{
4409
+ accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
4410
+ message: z$1.ZodString;
4411
+ planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
4412
+ status: z$1.ZodLiteral<"error">;
4413
+ }, z$1.core.$loose>], "status">>;
3645
4414
  type ProviderUsageResponse = z$1.infer<typeof providerUsageResponseSchema>;
3646
4415
  type HostDaemonCommandTransport = "onlineRpc" | "settled";
3647
4416
  type HostDaemonCommandEnvironmentLane = "read" | "write";
@@ -3761,6 +4530,7 @@ declare const hostDaemonCommandRegistry: {
3761
4530
  }, z$1.core.$strict>>;
3762
4531
  bridgeLaunch: z$1.ZodObject<{
3763
4532
  capabilities: z$1.ZodObject<{
4533
+ experimental_providerInstallation: z$1.ZodBoolean;
3764
4534
  fork: z$1.ZodEnum<{
3765
4535
  checkpoint: "checkpoint";
3766
4536
  none: "none";
@@ -3775,7 +4545,9 @@ declare const hostDaemonCommandRegistry: {
3775
4545
  supportsThreadArchive: z$1.ZodBoolean;
3776
4546
  supportsThreadRename: z$1.ZodBoolean;
3777
4547
  }, z$1.core.$strict>;
4548
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
3778
4549
  pluginId: z$1.ZodString;
4550
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
3779
4551
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3780
4552
  byteLength: z$1.ZodNumber;
3781
4553
  digest: z$1.ZodString;
@@ -3790,6 +4562,22 @@ declare const hostDaemonCommandRegistry: {
3790
4562
  description: z$1.ZodString;
3791
4563
  inputSchema: z$1.ZodUnknown;
3792
4564
  name: z$1.ZodString;
4565
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
4566
+ detail: z$1.ZodOptional<z$1.ZodString>;
4567
+ icon: z$1.ZodObject<{
4568
+ glyph: z$1.ZodString;
4569
+ }, z$1.core.$strip>;
4570
+ label: z$1.ZodObject<{
4571
+ completed: z$1.ZodString;
4572
+ pending: z$1.ZodString;
4573
+ }, z$1.core.$strip>;
4574
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
4575
+ tint: z$1.ZodOptional<z$1.ZodObject<{
4576
+ dark: z$1.ZodString;
4577
+ light: z$1.ZodString;
4578
+ }, z$1.core.$strip>>;
4579
+ title: z$1.ZodOptional<z$1.ZodString>;
4580
+ }, z$1.core.$strip>>;
3793
4581
  }, z$1.core.$strip>>;
3794
4582
  environmentId: z$1.ZodString;
3795
4583
  injectedSkillSources: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -3827,10 +4615,9 @@ declare const hostDaemonCommandRegistry: {
3827
4615
  instructions: z$1.ZodString;
3828
4616
  leaseId: z$1.ZodString;
3829
4617
  options: z$1.ZodIntersection<z$1.ZodObject<{
3830
- claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
3831
- memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
3832
4618
  model: z$1.ZodString;
3833
- providerSubagentsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
4619
+ promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
4620
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
3834
4621
  reasoningLevel: z$1.ZodEnum<{
3835
4622
  high: "high";
3836
4623
  low: "low";
@@ -3845,7 +4632,6 @@ declare const hostDaemonCommandRegistry: {
3845
4632
  default: "default";
3846
4633
  fast: "fast";
3847
4634
  }>;
3848
- workflowsEnabled: z$1.ZodBoolean;
3849
4635
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3850
4636
  approvalReviewer: z$1.ZodLiteral<"user">;
3851
4637
  permissionEscalation: z$1.ZodEnum<{
@@ -3984,6 +4770,7 @@ declare const hostDaemonCommandRegistry: {
3984
4770
  }, z$1.core.$strict>>;
3985
4771
  bridgeLaunch: z$1.ZodObject<{
3986
4772
  capabilities: z$1.ZodObject<{
4773
+ experimental_providerInstallation: z$1.ZodBoolean;
3987
4774
  fork: z$1.ZodEnum<{
3988
4775
  checkpoint: "checkpoint";
3989
4776
  none: "none";
@@ -3998,7 +4785,9 @@ declare const hostDaemonCommandRegistry: {
3998
4785
  supportsThreadArchive: z$1.ZodBoolean;
3999
4786
  supportsThreadRename: z$1.ZodBoolean;
4000
4787
  }, z$1.core.$strict>;
4788
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
4001
4789
  pluginId: z$1.ZodString;
4790
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4002
4791
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4003
4792
  byteLength: z$1.ZodNumber;
4004
4793
  digest: z$1.ZodString;
@@ -4013,6 +4802,22 @@ declare const hostDaemonCommandRegistry: {
4013
4802
  description: z$1.ZodString;
4014
4803
  inputSchema: z$1.ZodUnknown;
4015
4804
  name: z$1.ZodString;
4805
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
4806
+ detail: z$1.ZodOptional<z$1.ZodString>;
4807
+ icon: z$1.ZodObject<{
4808
+ glyph: z$1.ZodString;
4809
+ }, z$1.core.$strip>;
4810
+ label: z$1.ZodObject<{
4811
+ completed: z$1.ZodString;
4812
+ pending: z$1.ZodString;
4813
+ }, z$1.core.$strip>;
4814
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
4815
+ tint: z$1.ZodOptional<z$1.ZodObject<{
4816
+ dark: z$1.ZodString;
4817
+ light: z$1.ZodString;
4818
+ }, z$1.core.$strip>>;
4819
+ title: z$1.ZodOptional<z$1.ZodString>;
4820
+ }, z$1.core.$strip>>;
4016
4821
  }, z$1.core.$strip>>;
4017
4822
  environmentId: z$1.ZodString;
4018
4823
  fork: z$1.ZodOptional<z$1.ZodObject<{
@@ -4214,10 +5019,9 @@ declare const hostDaemonCommandRegistry: {
4214
5019
  }>;
4215
5020
  instructions: z$1.ZodString;
4216
5021
  options: z$1.ZodIntersection<z$1.ZodObject<{
4217
- claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
4218
- memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
4219
5022
  model: z$1.ZodString;
4220
- providerSubagentsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
5023
+ promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
5024
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4221
5025
  reasoningLevel: z$1.ZodEnum<{
4222
5026
  high: "high";
4223
5027
  low: "low";
@@ -4232,7 +5036,6 @@ declare const hostDaemonCommandRegistry: {
4232
5036
  default: "default";
4233
5037
  fast: "fast";
4234
5038
  }>;
4235
- workflowsEnabled: z$1.ZodBoolean;
4236
5039
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4237
5040
  approvalReviewer: z$1.ZodLiteral<"user">;
4238
5041
  permissionEscalation: z$1.ZodEnum<{
@@ -4371,6 +5174,7 @@ declare const hostDaemonCommandRegistry: {
4371
5174
  }, z$1.core.$strict>>;
4372
5175
  bridgeLaunch: z$1.ZodObject<{
4373
5176
  capabilities: z$1.ZodObject<{
5177
+ experimental_providerInstallation: z$1.ZodBoolean;
4374
5178
  fork: z$1.ZodEnum<{
4375
5179
  checkpoint: "checkpoint";
4376
5180
  none: "none";
@@ -4385,7 +5189,9 @@ declare const hostDaemonCommandRegistry: {
4385
5189
  supportsThreadArchive: z$1.ZodBoolean;
4386
5190
  supportsThreadRename: z$1.ZodBoolean;
4387
5191
  }, z$1.core.$strict>;
5192
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
4388
5193
  pluginId: z$1.ZodString;
5194
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4389
5195
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4390
5196
  byteLength: z$1.ZodNumber;
4391
5197
  digest: z$1.ZodString;
@@ -4559,10 +5365,9 @@ declare const hostDaemonCommandRegistry: {
4559
5365
  }>>;
4560
5366
  }, z$1.core.$strip>], "type">>>>;
4561
5367
  options: z$1.ZodIntersection<z$1.ZodObject<{
4562
- claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
4563
- memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
4564
5368
  model: z$1.ZodString;
4565
- providerSubagentsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
5369
+ promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
5370
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4566
5371
  reasoningLevel: z$1.ZodEnum<{
4567
5372
  high: "high";
4568
5373
  low: "low";
@@ -4577,7 +5382,6 @@ declare const hostDaemonCommandRegistry: {
4577
5382
  default: "default";
4578
5383
  fast: "fast";
4579
5384
  }>;
4580
- workflowsEnabled: z$1.ZodBoolean;
4581
5385
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4582
5386
  approvalReviewer: z$1.ZodLiteral<"user">;
4583
5387
  permissionEscalation: z$1.ZodEnum<{
@@ -4700,6 +5504,7 @@ declare const hostDaemonCommandRegistry: {
4700
5504
  }, z$1.core.$strict>>;
4701
5505
  bridgeLaunch: z$1.ZodObject<{
4702
5506
  capabilities: z$1.ZodObject<{
5507
+ experimental_providerInstallation: z$1.ZodBoolean;
4703
5508
  fork: z$1.ZodEnum<{
4704
5509
  checkpoint: "checkpoint";
4705
5510
  none: "none";
@@ -4714,7 +5519,9 @@ declare const hostDaemonCommandRegistry: {
4714
5519
  supportsThreadArchive: z$1.ZodBoolean;
4715
5520
  supportsThreadRename: z$1.ZodBoolean;
4716
5521
  }, z$1.core.$strict>;
5522
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
4717
5523
  pluginId: z$1.ZodString;
5524
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4718
5525
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4719
5526
  byteLength: z$1.ZodNumber;
4720
5527
  digest: z$1.ZodString;
@@ -4729,6 +5536,22 @@ declare const hostDaemonCommandRegistry: {
4729
5536
  description: z$1.ZodString;
4730
5537
  inputSchema: z$1.ZodUnknown;
4731
5538
  name: z$1.ZodString;
5539
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
5540
+ detail: z$1.ZodOptional<z$1.ZodString>;
5541
+ icon: z$1.ZodObject<{
5542
+ glyph: z$1.ZodString;
5543
+ }, z$1.core.$strip>;
5544
+ label: z$1.ZodObject<{
5545
+ completed: z$1.ZodString;
5546
+ pending: z$1.ZodString;
5547
+ }, z$1.core.$strip>;
5548
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
5549
+ tint: z$1.ZodOptional<z$1.ZodObject<{
5550
+ dark: z$1.ZodString;
5551
+ light: z$1.ZodString;
5552
+ }, z$1.core.$strip>>;
5553
+ title: z$1.ZodOptional<z$1.ZodString>;
5554
+ }, z$1.core.$strip>>;
4732
5555
  }, z$1.core.$strip>>;
4733
5556
  injectedSkillSources: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4734
5557
  description: z$1.ZodString;
@@ -4902,6 +5725,7 @@ declare const hostDaemonCommandRegistry: {
4902
5725
  }, z$1.core.$strict>>;
4903
5726
  bridgeLaunch: z$1.ZodObject<{
4904
5727
  capabilities: z$1.ZodObject<{
5728
+ experimental_providerInstallation: z$1.ZodBoolean;
4905
5729
  fork: z$1.ZodEnum<{
4906
5730
  checkpoint: "checkpoint";
4907
5731
  none: "none";
@@ -4916,7 +5740,9 @@ declare const hostDaemonCommandRegistry: {
4916
5740
  supportsThreadArchive: z$1.ZodBoolean;
4917
5741
  supportsThreadRename: z$1.ZodBoolean;
4918
5742
  }, z$1.core.$strict>;
5743
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
4919
5744
  pluginId: z$1.ZodString;
5745
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4920
5746
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4921
5747
  byteLength: z$1.ZodNumber;
4922
5748
  digest: z$1.ZodString;
@@ -4928,10 +5754,9 @@ declare const hostDaemonCommandRegistry: {
4928
5754
  }, z$1.core.$strict>;
4929
5755
  environmentId: z$1.ZodString;
4930
5756
  options: z$1.ZodIntersection<z$1.ZodObject<{
4931
- claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
4932
- memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
4933
5757
  model: z$1.ZodString;
4934
- providerSubagentsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
5758
+ promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
5759
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4935
5760
  reasoningLevel: z$1.ZodEnum<{
4936
5761
  high: "high";
4937
5762
  low: "low";
@@ -4946,7 +5771,6 @@ declare const hostDaemonCommandRegistry: {
4946
5771
  default: "default";
4947
5772
  fast: "fast";
4948
5773
  }>;
4949
- workflowsEnabled: z$1.ZodBoolean;
4950
5774
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4951
5775
  approvalReviewer: z$1.ZodLiteral<"user">;
4952
5776
  permissionEscalation: z$1.ZodEnum<{
@@ -5068,6 +5892,7 @@ declare const hostDaemonCommandRegistry: {
5068
5892
  }, z$1.core.$strict>>;
5069
5893
  bridgeLaunch: z$1.ZodObject<{
5070
5894
  capabilities: z$1.ZodObject<{
5895
+ experimental_providerInstallation: z$1.ZodBoolean;
5071
5896
  fork: z$1.ZodEnum<{
5072
5897
  checkpoint: "checkpoint";
5073
5898
  none: "none";
@@ -5082,7 +5907,9 @@ declare const hostDaemonCommandRegistry: {
5082
5907
  supportsThreadArchive: z$1.ZodBoolean;
5083
5908
  supportsThreadRename: z$1.ZodBoolean;
5084
5909
  }, z$1.core.$strict>;
5910
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
5085
5911
  pluginId: z$1.ZodString;
5912
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5086
5913
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5087
5914
  byteLength: z$1.ZodNumber;
5088
5915
  digest: z$1.ZodString;
@@ -5097,6 +5924,22 @@ declare const hostDaemonCommandRegistry: {
5097
5924
  description: z$1.ZodString;
5098
5925
  inputSchema: z$1.ZodUnknown;
5099
5926
  name: z$1.ZodString;
5927
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
5928
+ detail: z$1.ZodOptional<z$1.ZodString>;
5929
+ icon: z$1.ZodObject<{
5930
+ glyph: z$1.ZodString;
5931
+ }, z$1.core.$strip>;
5932
+ label: z$1.ZodObject<{
5933
+ completed: z$1.ZodString;
5934
+ pending: z$1.ZodString;
5935
+ }, z$1.core.$strip>;
5936
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
5937
+ tint: z$1.ZodOptional<z$1.ZodObject<{
5938
+ dark: z$1.ZodString;
5939
+ light: z$1.ZodString;
5940
+ }, z$1.core.$strip>>;
5941
+ title: z$1.ZodOptional<z$1.ZodString>;
5942
+ }, z$1.core.$strip>>;
5100
5943
  }, z$1.core.$strip>>;
5101
5944
  injectedSkillSources: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5102
5945
  description: z$1.ZodString;
@@ -5165,6 +6008,7 @@ declare const hostDaemonCommandRegistry: {
5165
6008
  "thread.archive": HostDaemonCommandDescriptor<"thread.archive", z$1.ZodObject<{
5166
6009
  bridgeLaunch: z$1.ZodObject<{
5167
6010
  capabilities: z$1.ZodObject<{
6011
+ experimental_providerInstallation: z$1.ZodBoolean;
5168
6012
  fork: z$1.ZodEnum<{
5169
6013
  checkpoint: "checkpoint";
5170
6014
  none: "none";
@@ -5179,7 +6023,9 @@ declare const hostDaemonCommandRegistry: {
5179
6023
  supportsThreadArchive: z$1.ZodBoolean;
5180
6024
  supportsThreadRename: z$1.ZodBoolean;
5181
6025
  }, z$1.core.$strict>;
6026
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
5182
6027
  pluginId: z$1.ZodString;
6028
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5183
6029
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5184
6030
  byteLength: z$1.ZodNumber;
5185
6031
  digest: z$1.ZodString;
@@ -5206,6 +6052,7 @@ declare const hostDaemonCommandRegistry: {
5206
6052
  "thread.unarchive": HostDaemonCommandDescriptor<"thread.unarchive", z$1.ZodObject<{
5207
6053
  bridgeLaunch: z$1.ZodObject<{
5208
6054
  capabilities: z$1.ZodObject<{
6055
+ experimental_providerInstallation: z$1.ZodBoolean;
5209
6056
  fork: z$1.ZodEnum<{
5210
6057
  checkpoint: "checkpoint";
5211
6058
  none: "none";
@@ -5220,7 +6067,9 @@ declare const hostDaemonCommandRegistry: {
5220
6067
  supportsThreadArchive: z$1.ZodBoolean;
5221
6068
  supportsThreadRename: z$1.ZodBoolean;
5222
6069
  }, z$1.core.$strict>;
6070
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
5223
6071
  pluginId: z$1.ZodString;
6072
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5224
6073
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5225
6074
  byteLength: z$1.ZodNumber;
5226
6075
  digest: z$1.ZodString;
@@ -5764,6 +6613,30 @@ declare const hostDaemonCommandRegistry: {
5764
6613
  name: z$1.ZodString;
5765
6614
  }, z$1.core.$strip>>;
5766
6615
  }, z$1.core.$strip>, "onlineRpc", true>;
6616
+ "host.list_branch_options": HostDaemonCommandDescriptor<"host.list_branch_options", z$1.ZodObject<{
6617
+ limit: z$1.ZodNumber;
6618
+ path: z$1.ZodString;
6619
+ query: z$1.ZodOptional<z$1.ZodString>;
6620
+ remoteRefresh: z$1.ZodEnum<{
6621
+ background: "background";
6622
+ none: "none";
6623
+ }>;
6624
+ selectedBranch: z$1.ZodOptional<z$1.ZodString>;
6625
+ type: z$1.ZodLiteral<"host.list_branch_options">;
6626
+ }, z$1.core.$strict>, z$1.ZodObject<{
6627
+ branches: z$1.ZodArray<z$1.ZodString>;
6628
+ branchesTruncated: z$1.ZodBoolean;
6629
+ remoteBranches: z$1.ZodArray<z$1.ZodString>;
6630
+ remoteBranchesTruncated: z$1.ZodBoolean;
6631
+ selectedBranch: z$1.ZodNullable<z$1.ZodObject<{
6632
+ kind: z$1.ZodEnum<{
6633
+ local: "local";
6634
+ missing: "missing";
6635
+ remote: "remote";
6636
+ }>;
6637
+ name: z$1.ZodString;
6638
+ }, z$1.core.$strip>>;
6639
+ }, z$1.core.$strip>, "onlineRpc", true>;
5767
6640
  "host.file_metadata": HostDaemonCommandDescriptor<"host.file_metadata", z$1.ZodObject<{
5768
6641
  path: z$1.ZodString;
5769
6642
  rootPath: z$1.ZodOptional<z$1.ZodString>;
@@ -5929,6 +6802,7 @@ declare const hostDaemonCommandRegistry: {
5929
6802
  }, z$1.core.$strict>>;
5930
6803
  bridgeLaunch: z$1.ZodObject<{
5931
6804
  capabilities: z$1.ZodObject<{
6805
+ experimental_providerInstallation: z$1.ZodBoolean;
5932
6806
  fork: z$1.ZodEnum<{
5933
6807
  checkpoint: "checkpoint";
5934
6808
  none: "none";
@@ -5943,7 +6817,9 @@ declare const hostDaemonCommandRegistry: {
5943
6817
  supportsThreadArchive: z$1.ZodBoolean;
5944
6818
  supportsThreadRename: z$1.ZodBoolean;
5945
6819
  }, z$1.core.$strict>;
6820
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
5946
6821
  pluginId: z$1.ZodString;
6822
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5947
6823
  source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5948
6824
  byteLength: z$1.ZodNumber;
5949
6825
  digest: z$1.ZodString;
@@ -6020,74 +6896,608 @@ declare const hostDaemonCommandRegistry: {
6020
6896
  }, z$1.core.$strip>>;
6021
6897
  }, z$1.core.$strip>>;
6022
6898
  }, z$1.core.$strip>, "onlineRpc", true>;
6023
- "known_acp_agents.status": HostDaemonCommandDescriptor<"known_acp_agents.status", z$1.ZodObject<{
6024
- agents: z$1.ZodArray<z$1.ZodObject<{
6025
- executableName: z$1.ZodString;
6026
- id: z$1.ZodString;
6027
- }, z$1.core.$strict>>;
6028
- type: z$1.ZodLiteral<"known_acp_agents.status">;
6029
- }, z$1.core.$strict>, z$1.ZodObject<{
6030
- agents: z$1.ZodArray<z$1.ZodObject<{
6031
- executableName: z$1.ZodString;
6032
- executablePath: z$1.ZodNullable<z$1.ZodString>;
6033
- id: z$1.ZodString;
6034
- installed: z$1.ZodBoolean;
6035
- }, z$1.core.$strict>>;
6036
- }, z$1.core.$strict>, "onlineRpc", true>;
6037
- "provider.usage": HostDaemonCommandDescriptor<"provider.usage", z$1.ZodObject<{
6038
- type: z$1.ZodLiteral<"provider.usage">;
6899
+ "provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
6900
+ acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
6901
+ args: z$1.ZodArray<z$1.ZodString>;
6902
+ command: z$1.ZodString;
6903
+ cwd: z$1.ZodOptional<z$1.ZodString>;
6904
+ displayName: z$1.ZodString;
6905
+ env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
6906
+ modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
6907
+ listArgs: z$1.ZodArray<z$1.ZodString>;
6908
+ primaryModels: z$1.ZodArray<z$1.ZodString>;
6909
+ selectFlag: z$1.ZodOptional<z$1.ZodString>;
6910
+ }, z$1.core.$strict>, z$1.ZodTransform<{
6911
+ listArgs: string[];
6912
+ primaryModels: string[];
6913
+ selectFlag?: string | undefined;
6914
+ } | undefined, {
6915
+ listArgs: string[];
6916
+ primaryModels: string[];
6917
+ selectFlag?: string | undefined;
6918
+ }>>>;
6919
+ nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
6920
+ configId: z$1.ZodString;
6921
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6922
+ high: "high";
6923
+ low: "low";
6924
+ max: "max";
6925
+ medium: "medium";
6926
+ none: "none";
6927
+ ultra: "ultra";
6928
+ ultracode: "ultracode";
6929
+ xhigh: "xhigh";
6930
+ }>>;
6931
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6932
+ high: "high";
6933
+ low: "low";
6934
+ max: "max";
6935
+ medium: "medium";
6936
+ none: "none";
6937
+ ultra: "ultra";
6938
+ ultracode: "ultracode";
6939
+ xhigh: "xhigh";
6940
+ }> & z$1.core.$partial, z$1.ZodString>>;
6941
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6942
+ high: "high";
6943
+ low: "low";
6944
+ max: "max";
6945
+ medium: "medium";
6946
+ none: "none";
6947
+ ultra: "ultra";
6948
+ ultracode: "ultracode";
6949
+ xhigh: "xhigh";
6950
+ }>>;
6951
+ }, z$1.core.$strict>>;
6952
+ nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6953
+ project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6954
+ user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6955
+ }, z$1.core.$strict>>;
6956
+ permissionCli: z$1.ZodOptional<z$1.ZodObject<{
6957
+ full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6958
+ insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
6959
+ readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6960
+ workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6961
+ }, z$1.core.$strict>>;
6962
+ reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
6963
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6964
+ high: "high";
6965
+ low: "low";
6966
+ max: "max";
6967
+ medium: "medium";
6968
+ none: "none";
6969
+ ultra: "ultra";
6970
+ ultracode: "ultracode";
6971
+ xhigh: "xhigh";
6972
+ }>>;
6973
+ flag: z$1.ZodString;
6974
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6975
+ high: "high";
6976
+ low: "low";
6977
+ max: "max";
6978
+ medium: "medium";
6979
+ none: "none";
6980
+ ultra: "ultra";
6981
+ ultracode: "ultracode";
6982
+ xhigh: "xhigh";
6983
+ }> & z$1.core.$partial, z$1.ZodString>>;
6984
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6985
+ high: "high";
6986
+ low: "low";
6987
+ max: "max";
6988
+ medium: "medium";
6989
+ none: "none";
6990
+ ultra: "ultra";
6991
+ ultracode: "ultracode";
6992
+ xhigh: "xhigh";
6993
+ }>>;
6994
+ }, z$1.core.$strict>>;
6995
+ }, z$1.core.$strict>>;
6996
+ bridgeLaunch: z$1.ZodObject<{
6997
+ capabilities: z$1.ZodObject<{
6998
+ experimental_providerInstallation: z$1.ZodBoolean;
6999
+ fork: z$1.ZodEnum<{
7000
+ checkpoint: "checkpoint";
7001
+ none: "none";
7002
+ tip: "tip";
7003
+ }>;
7004
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
7005
+ "accept-edits": "accept-edits";
7006
+ auto: "auto";
7007
+ full: "full";
7008
+ }>>;
7009
+ supportsServiceTier: z$1.ZodBoolean;
7010
+ supportsThreadArchive: z$1.ZodBoolean;
7011
+ supportsThreadRename: z$1.ZodBoolean;
7012
+ }, z$1.core.$strict>;
7013
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
7014
+ pluginId: z$1.ZodString;
7015
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7016
+ source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7017
+ byteLength: z$1.ZodNumber;
7018
+ digest: z$1.ZodString;
7019
+ kind: z$1.ZodLiteral<"artifact">;
7020
+ }, z$1.core.$strict>, z$1.ZodObject<{
7021
+ id: z$1.ZodString;
7022
+ kind: z$1.ZodLiteral<"daemon-bundled">;
7023
+ }, z$1.core.$strict>], "kind">;
7024
+ }, z$1.core.$strict>;
7025
+ cwd: z$1.ZodOptional<z$1.ZodString>;
7026
+ providerId: z$1.ZodString;
7027
+ type: z$1.ZodLiteral<"provider.health">;
7028
+ }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7029
+ supported: z$1.ZodLiteral<false>;
7030
+ }, z$1.core.$loose>, z$1.ZodObject<{
7031
+ health: z$1.ZodObject<{
7032
+ accountEmail: z$1.ZodNullable<z$1.ZodString>;
7033
+ canInstall: z$1.ZodBoolean;
7034
+ canUpdate: z$1.ZodBoolean;
7035
+ installedVersion: z$1.ZodNullable<z$1.ZodString>;
7036
+ loginCommand: z$1.ZodNullable<z$1.ZodString>;
7037
+ minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
7038
+ planLabel: z$1.ZodNullable<z$1.ZodString>;
7039
+ status: z$1.ZodEnum<{
7040
+ expired: "expired";
7041
+ not_installed: "not_installed";
7042
+ ready: "ready";
7043
+ unauthenticated: "unauthenticated";
7044
+ unknown: "unknown";
7045
+ unsupported_version: "unsupported_version";
7046
+ }>;
7047
+ statusMessage: z$1.ZodNullable<z$1.ZodString>;
7048
+ }, z$1.core.$loose>;
7049
+ supported: z$1.ZodLiteral<true>;
7050
+ }, z$1.core.$loose>], "supported">, "onlineRpc", true>;
7051
+ "provider.installation.status": HostDaemonCommandDescriptor<"provider.installation.status", z$1.ZodObject<{
7052
+ acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7053
+ args: z$1.ZodArray<z$1.ZodString>;
7054
+ command: z$1.ZodString;
7055
+ cwd: z$1.ZodOptional<z$1.ZodString>;
7056
+ displayName: z$1.ZodString;
7057
+ env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7058
+ modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7059
+ listArgs: z$1.ZodArray<z$1.ZodString>;
7060
+ primaryModels: z$1.ZodArray<z$1.ZodString>;
7061
+ selectFlag: z$1.ZodOptional<z$1.ZodString>;
7062
+ }, z$1.core.$strict>, z$1.ZodTransform<{
7063
+ listArgs: string[];
7064
+ primaryModels: string[];
7065
+ selectFlag?: string | undefined;
7066
+ } | undefined, {
7067
+ listArgs: string[];
7068
+ primaryModels: string[];
7069
+ selectFlag?: string | undefined;
7070
+ }>>>;
7071
+ nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7072
+ configId: z$1.ZodString;
7073
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7074
+ high: "high";
7075
+ low: "low";
7076
+ max: "max";
7077
+ medium: "medium";
7078
+ none: "none";
7079
+ ultra: "ultra";
7080
+ ultracode: "ultracode";
7081
+ xhigh: "xhigh";
7082
+ }>>;
7083
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7084
+ high: "high";
7085
+ low: "low";
7086
+ max: "max";
7087
+ medium: "medium";
7088
+ none: "none";
7089
+ ultra: "ultra";
7090
+ ultracode: "ultracode";
7091
+ xhigh: "xhigh";
7092
+ }> & z$1.core.$partial, z$1.ZodString>>;
7093
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7094
+ high: "high";
7095
+ low: "low";
7096
+ max: "max";
7097
+ medium: "medium";
7098
+ none: "none";
7099
+ ultra: "ultra";
7100
+ ultracode: "ultracode";
7101
+ xhigh: "xhigh";
7102
+ }>>;
7103
+ }, z$1.core.$strict>>;
7104
+ nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7105
+ project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7106
+ user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7107
+ }, z$1.core.$strict>>;
7108
+ permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7109
+ full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7110
+ insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7111
+ readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7112
+ workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7113
+ }, z$1.core.$strict>>;
7114
+ reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7115
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7116
+ high: "high";
7117
+ low: "low";
7118
+ max: "max";
7119
+ medium: "medium";
7120
+ none: "none";
7121
+ ultra: "ultra";
7122
+ ultracode: "ultracode";
7123
+ xhigh: "xhigh";
7124
+ }>>;
7125
+ flag: z$1.ZodString;
7126
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7127
+ high: "high";
7128
+ low: "low";
7129
+ max: "max";
7130
+ medium: "medium";
7131
+ none: "none";
7132
+ ultra: "ultra";
7133
+ ultracode: "ultracode";
7134
+ xhigh: "xhigh";
7135
+ }> & z$1.core.$partial, z$1.ZodString>>;
7136
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7137
+ high: "high";
7138
+ low: "low";
7139
+ max: "max";
7140
+ medium: "medium";
7141
+ none: "none";
7142
+ ultra: "ultra";
7143
+ ultracode: "ultracode";
7144
+ xhigh: "xhigh";
7145
+ }>>;
7146
+ }, z$1.core.$strict>>;
7147
+ }, z$1.core.$strict>>;
7148
+ bridgeLaunch: z$1.ZodObject<{
7149
+ capabilities: z$1.ZodObject<{
7150
+ experimental_providerInstallation: z$1.ZodBoolean;
7151
+ fork: z$1.ZodEnum<{
7152
+ checkpoint: "checkpoint";
7153
+ none: "none";
7154
+ tip: "tip";
7155
+ }>;
7156
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
7157
+ "accept-edits": "accept-edits";
7158
+ auto: "auto";
7159
+ full: "full";
7160
+ }>>;
7161
+ supportsServiceTier: z$1.ZodBoolean;
7162
+ supportsThreadArchive: z$1.ZodBoolean;
7163
+ supportsThreadRename: z$1.ZodBoolean;
7164
+ }, z$1.core.$strict>;
7165
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
7166
+ pluginId: z$1.ZodString;
7167
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7168
+ source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7169
+ byteLength: z$1.ZodNumber;
7170
+ digest: z$1.ZodString;
7171
+ kind: z$1.ZodLiteral<"artifact">;
7172
+ }, z$1.core.$strict>, z$1.ZodObject<{
7173
+ id: z$1.ZodString;
7174
+ kind: z$1.ZodLiteral<"daemon-bundled">;
7175
+ }, z$1.core.$strict>], "kind">;
7176
+ }, z$1.core.$strict>;
7177
+ cwd: z$1.ZodOptional<z$1.ZodString>;
7178
+ providerId: z$1.ZodString;
7179
+ requirement: z$1.ZodOptional<z$1.ZodLiteral<"thread_rewind">>;
7180
+ type: z$1.ZodLiteral<"provider.installation.status">;
7181
+ }, z$1.core.$strict>, z$1.ZodObject<{
7182
+ currentVersion: z$1.ZodNullable<z$1.ZodString>;
7183
+ executableName: z$1.ZodString;
7184
+ executablePath: z$1.ZodNullable<z$1.ZodString>;
7185
+ installAction: z$1.ZodNullable<z$1.ZodObject<{
7186
+ command: z$1.ZodString;
7187
+ kind: z$1.ZodEnum<{
7188
+ install: "install";
7189
+ update: "update";
7190
+ }>;
7191
+ label: z$1.ZodEnum<{
7192
+ Install: "Install";
7193
+ Update: "Update";
7194
+ }>;
7195
+ }, z$1.core.$loose>>;
7196
+ installSource: z$1.ZodEnum<{
7197
+ external: "external";
7198
+ notInstalled: "notInstalled";
7199
+ npmGlobal: "npmGlobal";
7200
+ }>;
7201
+ installed: z$1.ZodBoolean;
7202
+ latestVersion: z$1.ZodNullable<z$1.ZodString>;
7203
+ minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
7204
+ needsUpdate: z$1.ZodBoolean;
7205
+ npmGlobalPackageVersion: z$1.ZodNullable<z$1.ZodString>;
7206
+ npmPackageName: z$1.ZodNullable<z$1.ZodString>;
7207
+ versionUnsupported: z$1.ZodBoolean;
7208
+ }, z$1.core.$loose>, "onlineRpc", true>;
7209
+ "provider.installation.run": HostDaemonCommandDescriptor<"provider.installation.run", z$1.ZodObject<{
7210
+ acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7211
+ args: z$1.ZodArray<z$1.ZodString>;
7212
+ command: z$1.ZodString;
7213
+ cwd: z$1.ZodOptional<z$1.ZodString>;
7214
+ displayName: z$1.ZodString;
7215
+ env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7216
+ modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7217
+ listArgs: z$1.ZodArray<z$1.ZodString>;
7218
+ primaryModels: z$1.ZodArray<z$1.ZodString>;
7219
+ selectFlag: z$1.ZodOptional<z$1.ZodString>;
7220
+ }, z$1.core.$strict>, z$1.ZodTransform<{
7221
+ listArgs: string[];
7222
+ primaryModels: string[];
7223
+ selectFlag?: string | undefined;
7224
+ } | undefined, {
7225
+ listArgs: string[];
7226
+ primaryModels: string[];
7227
+ selectFlag?: string | undefined;
7228
+ }>>>;
7229
+ nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7230
+ configId: z$1.ZodString;
7231
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7232
+ high: "high";
7233
+ low: "low";
7234
+ max: "max";
7235
+ medium: "medium";
7236
+ none: "none";
7237
+ ultra: "ultra";
7238
+ ultracode: "ultracode";
7239
+ xhigh: "xhigh";
7240
+ }>>;
7241
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7242
+ high: "high";
7243
+ low: "low";
7244
+ max: "max";
7245
+ medium: "medium";
7246
+ none: "none";
7247
+ ultra: "ultra";
7248
+ ultracode: "ultracode";
7249
+ xhigh: "xhigh";
7250
+ }> & z$1.core.$partial, z$1.ZodString>>;
7251
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7252
+ high: "high";
7253
+ low: "low";
7254
+ max: "max";
7255
+ medium: "medium";
7256
+ none: "none";
7257
+ ultra: "ultra";
7258
+ ultracode: "ultracode";
7259
+ xhigh: "xhigh";
7260
+ }>>;
7261
+ }, z$1.core.$strict>>;
7262
+ nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7263
+ project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7264
+ user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7265
+ }, z$1.core.$strict>>;
7266
+ permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7267
+ full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7268
+ insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7269
+ readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7270
+ workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7271
+ }, z$1.core.$strict>>;
7272
+ reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7273
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7274
+ high: "high";
7275
+ low: "low";
7276
+ max: "max";
7277
+ medium: "medium";
7278
+ none: "none";
7279
+ ultra: "ultra";
7280
+ ultracode: "ultracode";
7281
+ xhigh: "xhigh";
7282
+ }>>;
7283
+ flag: z$1.ZodString;
7284
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7285
+ high: "high";
7286
+ low: "low";
7287
+ max: "max";
7288
+ medium: "medium";
7289
+ none: "none";
7290
+ ultra: "ultra";
7291
+ ultracode: "ultracode";
7292
+ xhigh: "xhigh";
7293
+ }> & z$1.core.$partial, z$1.ZodString>>;
7294
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7295
+ high: "high";
7296
+ low: "low";
7297
+ max: "max";
7298
+ medium: "medium";
7299
+ none: "none";
7300
+ ultra: "ultra";
7301
+ ultracode: "ultracode";
7302
+ xhigh: "xhigh";
7303
+ }>>;
7304
+ }, z$1.core.$strict>>;
7305
+ }, z$1.core.$strict>>;
7306
+ action: z$1.ZodEnum<{
7307
+ install: "install";
7308
+ update: "update";
7309
+ }>;
7310
+ bridgeLaunch: z$1.ZodObject<{
7311
+ capabilities: z$1.ZodObject<{
7312
+ experimental_providerInstallation: z$1.ZodBoolean;
7313
+ fork: z$1.ZodEnum<{
7314
+ checkpoint: "checkpoint";
7315
+ none: "none";
7316
+ tip: "tip";
7317
+ }>;
7318
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
7319
+ "accept-edits": "accept-edits";
7320
+ auto: "auto";
7321
+ full: "full";
7322
+ }>>;
7323
+ supportsServiceTier: z$1.ZodBoolean;
7324
+ supportsThreadArchive: z$1.ZodBoolean;
7325
+ supportsThreadRename: z$1.ZodBoolean;
7326
+ }, z$1.core.$strict>;
7327
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
7328
+ pluginId: z$1.ZodString;
7329
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7330
+ source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7331
+ byteLength: z$1.ZodNumber;
7332
+ digest: z$1.ZodString;
7333
+ kind: z$1.ZodLiteral<"artifact">;
7334
+ }, z$1.core.$strict>, z$1.ZodObject<{
7335
+ id: z$1.ZodString;
7336
+ kind: z$1.ZodLiteral<"daemon-bundled">;
7337
+ }, z$1.core.$strict>], "kind">;
7338
+ }, z$1.core.$strict>;
7339
+ cwd: z$1.ZodOptional<z$1.ZodString>;
7340
+ providerId: z$1.ZodString;
7341
+ type: z$1.ZodLiteral<"provider.installation.run">;
6039
7342
  }, z$1.core.$strict>, z$1.ZodObject<{
6040
- claudeCode: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6041
- accountEmail: z$1.ZodNullable<z$1.ZodString>;
6042
- planLabel: z$1.ZodNullable<z$1.ZodString>;
6043
- status: z$1.ZodLiteral<"ok">;
6044
- windows: z$1.ZodArray<z$1.ZodObject<{
6045
- cost: z$1.ZodOptional<z$1.ZodObject<{
6046
- limitUsdCents: z$1.ZodNumber;
6047
- usedUsdCents: z$1.ZodNumber;
6048
- }, z$1.core.$strip>>;
6049
- label: z$1.ZodString;
6050
- resetsAt: z$1.ZodNullable<z$1.ZodString>;
6051
- usedPercent: z$1.ZodNumber;
6052
- }, z$1.core.$strip>>;
6053
- }, z$1.core.$strip>, z$1.ZodObject<{
6054
- status: z$1.ZodLiteral<"not_installed">;
6055
- }, z$1.core.$strip>, z$1.ZodObject<{
6056
- status: z$1.ZodLiteral<"unauthenticated">;
6057
- }, z$1.core.$strip>, z$1.ZodObject<{
6058
- status: z$1.ZodLiteral<"expired">;
6059
- }, z$1.core.$strip>, z$1.ZodObject<{
6060
- accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
6061
- message: z$1.ZodString;
6062
- planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
6063
- status: z$1.ZodLiteral<"error">;
6064
- }, z$1.core.$strip>], "status">;
6065
- codex: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6066
- accountEmail: z$1.ZodNullable<z$1.ZodString>;
6067
- planLabel: z$1.ZodNullable<z$1.ZodString>;
6068
- status: z$1.ZodLiteral<"ok">;
6069
- windows: z$1.ZodArray<z$1.ZodObject<{
6070
- cost: z$1.ZodOptional<z$1.ZodObject<{
6071
- limitUsdCents: z$1.ZodNumber;
6072
- usedUsdCents: z$1.ZodNumber;
6073
- }, z$1.core.$strip>>;
6074
- label: z$1.ZodString;
6075
- resetsAt: z$1.ZodNullable<z$1.ZodString>;
6076
- usedPercent: z$1.ZodNumber;
6077
- }, z$1.core.$strip>>;
6078
- }, z$1.core.$strip>, z$1.ZodObject<{
6079
- status: z$1.ZodLiteral<"not_installed">;
7343
+ events: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7344
+ command: z$1.ZodString;
7345
+ provider: z$1.ZodString;
7346
+ type: z$1.ZodLiteral<"started">;
6080
7347
  }, z$1.core.$strip>, z$1.ZodObject<{
6081
- status: z$1.ZodLiteral<"unauthenticated">;
7348
+ provider: z$1.ZodString;
7349
+ stream: z$1.ZodEnum<{
7350
+ stderr: "stderr";
7351
+ stdout: "stdout";
7352
+ }>;
7353
+ text: z$1.ZodString;
7354
+ type: z$1.ZodLiteral<"output">;
6082
7355
  }, z$1.core.$strip>, z$1.ZodObject<{
6083
- status: z$1.ZodLiteral<"expired">;
7356
+ exitCode: z$1.ZodNullable<z$1.ZodNumber>;
7357
+ provider: z$1.ZodString;
7358
+ signal: z$1.ZodNullable<z$1.ZodString>;
7359
+ success: z$1.ZodBoolean;
7360
+ type: z$1.ZodLiteral<"completed">;
6084
7361
  }, z$1.core.$strip>, z$1.ZodObject<{
6085
- accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
6086
7362
  message: z$1.ZodString;
6087
- planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
6088
- status: z$1.ZodLiteral<"error">;
6089
- }, z$1.core.$strip>], "status">;
6090
- cursor: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7363
+ provider: z$1.ZodString;
7364
+ type: z$1.ZodLiteral<"error">;
7365
+ }, z$1.core.$strip>], "type">>;
7366
+ }, z$1.core.$strict>, "onlineRpc", false>;
7367
+ "provider.usage": HostDaemonCommandDescriptor<"provider.usage", z$1.ZodObject<{
7368
+ acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7369
+ args: z$1.ZodArray<z$1.ZodString>;
7370
+ command: z$1.ZodString;
7371
+ cwd: z$1.ZodOptional<z$1.ZodString>;
7372
+ displayName: z$1.ZodString;
7373
+ env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7374
+ modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7375
+ listArgs: z$1.ZodArray<z$1.ZodString>;
7376
+ primaryModels: z$1.ZodArray<z$1.ZodString>;
7377
+ selectFlag: z$1.ZodOptional<z$1.ZodString>;
7378
+ }, z$1.core.$strict>, z$1.ZodTransform<{
7379
+ listArgs: string[];
7380
+ primaryModels: string[];
7381
+ selectFlag?: string | undefined;
7382
+ } | undefined, {
7383
+ listArgs: string[];
7384
+ primaryModels: string[];
7385
+ selectFlag?: string | undefined;
7386
+ }>>>;
7387
+ nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7388
+ configId: z$1.ZodString;
7389
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7390
+ high: "high";
7391
+ low: "low";
7392
+ max: "max";
7393
+ medium: "medium";
7394
+ none: "none";
7395
+ ultra: "ultra";
7396
+ ultracode: "ultracode";
7397
+ xhigh: "xhigh";
7398
+ }>>;
7399
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7400
+ high: "high";
7401
+ low: "low";
7402
+ max: "max";
7403
+ medium: "medium";
7404
+ none: "none";
7405
+ ultra: "ultra";
7406
+ ultracode: "ultracode";
7407
+ xhigh: "xhigh";
7408
+ }> & z$1.core.$partial, z$1.ZodString>>;
7409
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7410
+ high: "high";
7411
+ low: "low";
7412
+ max: "max";
7413
+ medium: "medium";
7414
+ none: "none";
7415
+ ultra: "ultra";
7416
+ ultracode: "ultracode";
7417
+ xhigh: "xhigh";
7418
+ }>>;
7419
+ }, z$1.core.$strict>>;
7420
+ nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7421
+ project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7422
+ user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7423
+ }, z$1.core.$strict>>;
7424
+ permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7425
+ full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7426
+ insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7427
+ readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7428
+ workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7429
+ }, z$1.core.$strict>>;
7430
+ reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7431
+ defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7432
+ high: "high";
7433
+ low: "low";
7434
+ max: "max";
7435
+ medium: "medium";
7436
+ none: "none";
7437
+ ultra: "ultra";
7438
+ ultracode: "ultracode";
7439
+ xhigh: "xhigh";
7440
+ }>>;
7441
+ flag: z$1.ZodString;
7442
+ levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7443
+ high: "high";
7444
+ low: "low";
7445
+ max: "max";
7446
+ medium: "medium";
7447
+ none: "none";
7448
+ ultra: "ultra";
7449
+ ultracode: "ultracode";
7450
+ xhigh: "xhigh";
7451
+ }> & z$1.core.$partial, z$1.ZodString>>;
7452
+ supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7453
+ high: "high";
7454
+ low: "low";
7455
+ max: "max";
7456
+ medium: "medium";
7457
+ none: "none";
7458
+ ultra: "ultra";
7459
+ ultracode: "ultracode";
7460
+ xhigh: "xhigh";
7461
+ }>>;
7462
+ }, z$1.core.$strict>>;
7463
+ }, z$1.core.$strict>>;
7464
+ bridgeLaunch: z$1.ZodObject<{
7465
+ capabilities: z$1.ZodObject<{
7466
+ experimental_providerInstallation: z$1.ZodBoolean;
7467
+ fork: z$1.ZodEnum<{
7468
+ checkpoint: "checkpoint";
7469
+ none: "none";
7470
+ tip: "tip";
7471
+ }>;
7472
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
7473
+ "accept-edits": "accept-edits";
7474
+ auto: "auto";
7475
+ full: "full";
7476
+ }>>;
7477
+ supportsServiceTier: z$1.ZodBoolean;
7478
+ supportsThreadArchive: z$1.ZodBoolean;
7479
+ supportsThreadRename: z$1.ZodBoolean;
7480
+ }, z$1.core.$strict>;
7481
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
7482
+ pluginId: z$1.ZodString;
7483
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7484
+ source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7485
+ byteLength: z$1.ZodNumber;
7486
+ digest: z$1.ZodString;
7487
+ kind: z$1.ZodLiteral<"artifact">;
7488
+ }, z$1.core.$strict>, z$1.ZodObject<{
7489
+ id: z$1.ZodString;
7490
+ kind: z$1.ZodLiteral<"daemon-bundled">;
7491
+ }, z$1.core.$strict>], "kind">;
7492
+ }, z$1.core.$strict>;
7493
+ cwd: z$1.ZodOptional<z$1.ZodString>;
7494
+ providerId: z$1.ZodString;
7495
+ type: z$1.ZodLiteral<"provider.usage">;
7496
+ }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7497
+ supported: z$1.ZodLiteral<false>;
7498
+ }, z$1.core.$loose>, z$1.ZodObject<{
7499
+ supported: z$1.ZodLiteral<true>;
7500
+ usage: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6091
7501
  accountEmail: z$1.ZodNullable<z$1.ZodString>;
6092
7502
  planLabel: z$1.ZodNullable<z$1.ZodString>;
6093
7503
  status: z$1.ZodLiteral<"ok">;
@@ -6099,111 +7509,20 @@ declare const hostDaemonCommandRegistry: {
6099
7509
  label: z$1.ZodString;
6100
7510
  resetsAt: z$1.ZodNullable<z$1.ZodString>;
6101
7511
  usedPercent: z$1.ZodNumber;
6102
- }, z$1.core.$strip>>;
6103
- }, z$1.core.$strip>, z$1.ZodObject<{
7512
+ }, z$1.core.$loose>>;
7513
+ }, z$1.core.$loose>, z$1.ZodObject<{
6104
7514
  status: z$1.ZodLiteral<"not_installed">;
6105
- }, z$1.core.$strip>, z$1.ZodObject<{
7515
+ }, z$1.core.$loose>, z$1.ZodObject<{
6106
7516
  status: z$1.ZodLiteral<"unauthenticated">;
6107
- }, z$1.core.$strip>, z$1.ZodObject<{
7517
+ }, z$1.core.$loose>, z$1.ZodObject<{
6108
7518
  status: z$1.ZodLiteral<"expired">;
6109
- }, z$1.core.$strip>, z$1.ZodObject<{
7519
+ }, z$1.core.$loose>, z$1.ZodObject<{
6110
7520
  accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
6111
7521
  message: z$1.ZodString;
6112
7522
  planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
6113
7523
  status: z$1.ZodLiteral<"error">;
6114
- }, z$1.core.$strip>], "status">;
6115
- }, z$1.core.$strip>, "onlineRpc", true>;
6116
- "provider_cli.status": HostDaemonCommandDescriptor<"provider_cli.status", z$1.ZodObject<{
6117
- type: z$1.ZodLiteral<"provider_cli.status">;
6118
- }, z$1.core.$strict>, z$1.ZodRecord<z$1.ZodEnum<{
6119
- claudeCode: "claudeCode";
6120
- codex: "codex";
6121
- cursor: "cursor";
6122
- }>, z$1.ZodObject<{
6123
- currentVersion: z$1.ZodNullable<z$1.ZodString>;
6124
- displayName: z$1.ZodString;
6125
- executableName: z$1.ZodString;
6126
- executablePath: z$1.ZodNullable<z$1.ZodString>;
6127
- installAction: z$1.ZodNullable<z$1.ZodObject<{
6128
- command: z$1.ZodString;
6129
- commandKind: z$1.ZodEnum<{
6130
- exec: "exec";
6131
- shell: "shell";
6132
- }>;
6133
- kind: z$1.ZodEnum<{
6134
- install: "install";
6135
- update: "update";
6136
- }>;
6137
- label: z$1.ZodEnum<{
6138
- Install: "Install";
6139
- Update: "Update";
6140
- }>;
6141
- }, z$1.core.$strip>>;
6142
- installSource: z$1.ZodEnum<{
6143
- external: "external";
6144
- notInstalled: "notInstalled";
6145
- npmGlobal: "npmGlobal";
6146
- }>;
6147
- installed: z$1.ZodBoolean;
6148
- latestVersion: z$1.ZodNullable<z$1.ZodString>;
6149
- minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
6150
- needsUpdate: z$1.ZodBoolean;
6151
- npmGlobalPackageVersion: z$1.ZodNullable<z$1.ZodString>;
6152
- npmPackageName: z$1.ZodNullable<z$1.ZodString>;
6153
- versionUnsupported: z$1.ZodBoolean;
6154
- }, z$1.core.$strip>>, "onlineRpc", true>;
6155
- "provider_cli.install": HostDaemonCommandDescriptor<"provider_cli.install", z$1.ZodObject<{
6156
- actionKind: z$1.ZodEnum<{
6157
- install: "install";
6158
- update: "update";
6159
- }>;
6160
- provider: z$1.ZodEnum<{
6161
- claudeCode: "claudeCode";
6162
- codex: "codex";
6163
- cursor: "cursor";
6164
- }>;
6165
- type: z$1.ZodLiteral<"provider_cli.install">;
6166
- }, z$1.core.$strict>, z$1.ZodObject<{
6167
- events: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6168
- command: z$1.ZodString;
6169
- provider: z$1.ZodEnum<{
6170
- claudeCode: "claudeCode";
6171
- codex: "codex";
6172
- cursor: "cursor";
6173
- }>;
6174
- type: z$1.ZodLiteral<"started">;
6175
- }, z$1.core.$strip>, z$1.ZodObject<{
6176
- provider: z$1.ZodEnum<{
6177
- claudeCode: "claudeCode";
6178
- codex: "codex";
6179
- cursor: "cursor";
6180
- }>;
6181
- stream: z$1.ZodEnum<{
6182
- stderr: "stderr";
6183
- stdout: "stdout";
6184
- }>;
6185
- text: z$1.ZodString;
6186
- type: z$1.ZodLiteral<"output">;
6187
- }, z$1.core.$strip>, z$1.ZodObject<{
6188
- exitCode: z$1.ZodNullable<z$1.ZodNumber>;
6189
- provider: z$1.ZodEnum<{
6190
- claudeCode: "claudeCode";
6191
- codex: "codex";
6192
- cursor: "cursor";
6193
- }>;
6194
- signal: z$1.ZodNullable<z$1.ZodString>;
6195
- success: z$1.ZodBoolean;
6196
- type: z$1.ZodLiteral<"completed">;
6197
- }, z$1.core.$strip>, z$1.ZodObject<{
6198
- message: z$1.ZodString;
6199
- provider: z$1.ZodEnum<{
6200
- claudeCode: "claudeCode";
6201
- codex: "codex";
6202
- cursor: "cursor";
6203
- }>;
6204
- type: z$1.ZodLiteral<"error">;
6205
- }, z$1.core.$strip>], "type">>;
6206
- }, z$1.core.$strict>, "onlineRpc", false>;
7524
+ }, z$1.core.$loose>], "status">;
7525
+ }, z$1.core.$loose>], "supported">, "onlineRpc", true>;
6207
7526
  "workspace.status": HostDaemonCommandDescriptor<"workspace.status", z$1.ZodObject<{
6208
7527
  environmentId: z$1.ZodString;
6209
7528
  maxUntrackedLineStatBytes: z$1.ZodNumber;
@@ -6582,21 +7901,13 @@ declare const pathsExistResponseSchema: z$1.ZodObject<{
6582
7901
  existence: z$1.ZodRecord<z$1.ZodString, z$1.ZodBoolean>;
6583
7902
  }, z$1.core.$strip>;
6584
7903
  type PathsExistResponse = z$1.infer<typeof pathsExistResponseSchema>;
6585
- declare const providerCliStatusResponseSchema: z$1.ZodRecord<z$1.ZodEnum<{
6586
- claudeCode: "claudeCode";
6587
- codex: "codex";
6588
- cursor: "cursor";
6589
- }>, z$1.ZodObject<{
7904
+ declare const providerCliStatusResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
6590
7905
  currentVersion: z$1.ZodNullable<z$1.ZodString>;
6591
7906
  displayName: z$1.ZodString;
6592
7907
  executableName: z$1.ZodString;
6593
7908
  executablePath: z$1.ZodNullable<z$1.ZodString>;
6594
7909
  installAction: z$1.ZodNullable<z$1.ZodObject<{
6595
7910
  command: z$1.ZodString;
6596
- commandKind: z$1.ZodEnum<{
6597
- exec: "exec";
6598
- shell: "shell";
6599
- }>;
6600
7911
  kind: z$1.ZodEnum<{
6601
7912
  install: "install";
6602
7913
  update: "update";
@@ -6625,27 +7936,15 @@ declare const providerCliInstallRequestSchema: z$1.ZodObject<{
6625
7936
  install: "install";
6626
7937
  update: "update";
6627
7938
  }>;
6628
- provider: z$1.ZodEnum<{
6629
- claudeCode: "claudeCode";
6630
- codex: "codex";
6631
- cursor: "cursor";
6632
- }>;
7939
+ provider: z$1.ZodString;
6633
7940
  }, z$1.core.$strip>;
6634
7941
  type ProviderCliInstallRequest = z$1.infer<typeof providerCliInstallRequestSchema>;
6635
7942
  declare const providerCliInstallEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6636
7943
  command: z$1.ZodString;
6637
- provider: z$1.ZodEnum<{
6638
- claudeCode: "claudeCode";
6639
- codex: "codex";
6640
- cursor: "cursor";
6641
- }>;
7944
+ provider: z$1.ZodString;
6642
7945
  type: z$1.ZodLiteral<"started">;
6643
7946
  }, z$1.core.$strip>, z$1.ZodObject<{
6644
- provider: z$1.ZodEnum<{
6645
- claudeCode: "claudeCode";
6646
- codex: "codex";
6647
- cursor: "cursor";
6648
- }>;
7947
+ provider: z$1.ZodString;
6649
7948
  stream: z$1.ZodEnum<{
6650
7949
  stderr: "stderr";
6651
7950
  stdout: "stdout";
@@ -6654,21 +7953,13 @@ declare const providerCliInstallEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
6654
7953
  type: z$1.ZodLiteral<"output">;
6655
7954
  }, z$1.core.$strip>, z$1.ZodObject<{
6656
7955
  exitCode: z$1.ZodNullable<z$1.ZodNumber>;
6657
- provider: z$1.ZodEnum<{
6658
- claudeCode: "claudeCode";
6659
- codex: "codex";
6660
- cursor: "cursor";
6661
- }>;
7956
+ provider: z$1.ZodString;
6662
7957
  signal: z$1.ZodNullable<z$1.ZodString>;
6663
7958
  success: z$1.ZodBoolean;
6664
7959
  type: z$1.ZodLiteral<"completed">;
6665
7960
  }, z$1.core.$strip>, z$1.ZodObject<{
6666
7961
  message: z$1.ZodString;
6667
- provider: z$1.ZodEnum<{
6668
- claudeCode: "claudeCode";
6669
- codex: "codex";
6670
- cursor: "cursor";
6671
- }>;
7962
+ provider: z$1.ZodString;
6672
7963
  type: z$1.ZodLiteral<"error">;
6673
7964
  }, z$1.core.$strip>], "type">;
6674
7965
  type ProviderCliInstallEvent = z$1.infer<typeof providerCliInstallEventSchema>;
@@ -7405,8 +8696,37 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
7405
8696
  kind: z$1.ZodLiteral<"goal">;
7406
8697
  }, z$1.core.$strip>], "kind">>;
7407
8698
  displayName: z$1.ZodString;
8699
+ experimental_providerHealth: z$1.ZodBoolean;
8700
+ experimental_providerInstallation: z$1.ZodBoolean;
8701
+ experimental_providerUsage: z$1.ZodBoolean;
8702
+ extensionKinds: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>, z$1.ZodObject<{
8703
+ item: z$1.ZodBoolean;
8704
+ state: z$1.ZodBoolean;
8705
+ }, z$1.core.$strip>>>;
8706
+ family: z$1.ZodOptional<z$1.ZodString>;
7408
8707
  id: z$1.ZodString;
7409
8708
  logoUrl: z$1.ZodNullable<z$1.ZodString>;
8709
+ reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8710
+ description: z$1.ZodOptional<z$1.ZodString>;
8711
+ id: z$1.ZodString;
8712
+ label: z$1.ZodString;
8713
+ }, z$1.core.$strip>>>;
8714
+ serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8715
+ description: z$1.ZodOptional<z$1.ZodString>;
8716
+ id: z$1.ZodString;
8717
+ label: z$1.ZodString;
8718
+ }, z$1.core.$strip>>>;
8719
+ strings: z$1.ZodOptional<z$1.ZodObject<{
8720
+ brandPrefix: z$1.ZodOptional<z$1.ZodString>;
8721
+ expiredHint: z$1.ZodString;
8722
+ iconTint: z$1.ZodOptional<z$1.ZodObject<{
8723
+ dark: z$1.ZodString;
8724
+ light: z$1.ZodString;
8725
+ }, z$1.core.$strip>>;
8726
+ installUrl: z$1.ZodString;
8727
+ planModeCopy: z$1.ZodOptional<z$1.ZodString>;
8728
+ signInHint: z$1.ZodString;
8729
+ }, z$1.core.$strip>>;
7410
8730
  }, z$1.core.$strip>>;
7411
8731
  selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
7412
8732
  defaultReasoningEffort: z$1.ZodEnum<{
@@ -7443,9 +8763,13 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
7443
8763
  type SystemExecutionOptionsResponse = z$1.infer<typeof systemExecutionOptionsResponseSchema>;
7444
8764
  /**
7445
8765
  * Routes provider discovery through an environment's host or an explicit
7446
- * host. Omitting both preserves the primary-host fallback.
8766
+ * host. Omitting both preserves the primary-host fallback. `capability`
8767
+ * narrows discovery before host probes begin.
7447
8768
  */
7448
8769
  declare const systemProvidersQuerySchema: z$1.ZodObject<{
8770
+ capability: z$1.ZodOptional<z$1.ZodEnum<{
8771
+ usage: "usage";
8772
+ }>>;
7449
8773
  environmentId: z$1.ZodOptional<z$1.ZodString>;
7450
8774
  hostId: z$1.ZodOptional<z$1.ZodString>;
7451
8775
  }, z$1.core.$strip>;
@@ -7456,32 +8780,42 @@ declare const systemExecutionOptionsQuerySchema: z$1.ZodObject<{
7456
8780
  providerId: z$1.ZodOptional<z$1.ZodString>;
7457
8781
  }, z$1.core.$strip>;
7458
8782
  type SystemExecutionOptionsQuery = z$1.infer<typeof systemExecutionOptionsQuerySchema>;
7459
- /** Omission preserves the existing behavior of reading the primary machine. */
8783
+ /**
8784
+ * Omitting `hostId` reads the primary machine; omitting `providerId` returns
8785
+ * the aggregate used by CLI clients.
8786
+ */
7460
8787
  declare const systemUsageLimitsQuerySchema: z$1.ZodObject<{
7461
8788
  hostId: z$1.ZodOptional<z$1.ZodString>;
8789
+ providerId: z$1.ZodOptional<z$1.ZodString>;
7462
8790
  }, z$1.core.$strip>;
7463
8791
  type SystemUsageLimitsQuery = z$1.infer<typeof systemUsageLimitsQuerySchema>;
7464
8792
  declare const systemVoiceTranscriptionResponseSchema: z$1.ZodObject<{
7465
8793
  text: z$1.ZodString;
7466
8794
  }, z$1.core.$strip>;
7467
8795
  type SystemVoiceTranscriptionResponse = z$1.infer<typeof systemVoiceTranscriptionResponseSchema>;
7468
- declare const onboardingAgentOverviewSchema: z$1.ZodObject<{
7469
- agents: z$1.ZodArray<z$1.ZodObject<{
8796
+ declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
8797
+ providers: z$1.ZodArray<z$1.ZodObject<{
7470
8798
  accountEmail: z$1.ZodNullable<z$1.ZodString>;
7471
8799
  canInstall: z$1.ZodBoolean;
8800
+ canUpdate: z$1.ZodBoolean;
7472
8801
  displayName: z$1.ZodString;
8802
+ installedVersion: z$1.ZodNullable<z$1.ZodString>;
7473
8803
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
8804
+ minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
7474
8805
  planLabel: z$1.ZodNullable<z$1.ZodString>;
7475
8806
  providerId: z$1.ZodString;
7476
8807
  status: z$1.ZodEnum<{
7477
- connected: "connected";
7478
8808
  expired: "expired";
7479
8809
  not_installed: "not_installed";
8810
+ ready: "ready";
7480
8811
  unauthenticated: "unauthenticated";
8812
+ unknown: "unknown";
8813
+ unsupported_version: "unsupported_version";
7481
8814
  }>;
7482
- }, z$1.core.$strip>>;
8815
+ statusMessage: z$1.ZodNullable<z$1.ZodString>;
8816
+ }, z$1.core.$loose>>;
7483
8817
  }, z$1.core.$strip>;
7484
- type OnboardingAgentOverview = z$1.infer<typeof onboardingAgentOverviewSchema>;
8818
+ type SystemProviderStatesResponse = z$1.infer<typeof systemProviderStatesResponseSchema>;
7485
8819
  declare const systemConfigResponseSchema: z$1.ZodObject<{
7486
8820
  appearance: z$1.ZodObject<{
7487
8821
  customCss: z$1.ZodNullable<z$1.ZodString>;
@@ -7609,20 +8943,19 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
7609
8943
  editMessages: "editMessages";
7610
8944
  mobileApp: "mobileApp";
7611
8945
  providerSessionReaping: "providerSessionReaping";
8946
+ timelineWindowing: "timelineWindowing";
7612
8947
  }>, z$1.ZodBoolean>;
7613
8948
  featureFlags: z$1.ZodObject<{
7614
8949
  placeholder: z$1.ZodBoolean;
7615
8950
  timelineWindowEventBudget: z$1.ZodNumber;
7616
8951
  }, z$1.core.$strip>;
7617
8952
  generalSettings: z$1.ZodObject<{
7618
- claudeCodeMemoryEnabled: z$1.ZodBoolean;
7619
- claudeCodeSubagentsDisabled: z$1.ZodBoolean;
7620
- claudeCodeWorkflowsDisabled: z$1.ZodBoolean;
7621
- codexMemoryEnabled: z$1.ZodBoolean;
7622
- codexSubagentsDisabled: z$1.ZodBoolean;
8953
+ defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
8954
+ providerOrder: z$1.ZodArray<z$1.ZodString>;
7623
8955
  showKeyboardHints: z$1.ZodBoolean;
7624
8956
  showUnhandledProviderEvents: z$1.ZodBoolean;
7625
8957
  steerActiveThreadOnEnter: z$1.ZodBoolean;
8958
+ streamerMode: z$1.ZodBoolean;
7626
8959
  }, z$1.core.$strict>;
7627
8960
  hostDaemonPort: z$1.ZodNullable<z$1.ZodNumber>;
7628
8961
  keybindingOverrides: z$1.ZodArray<z$1.ZodObject<{
@@ -10139,6 +11472,26 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
10139
11472
  kind: z$1.ZodLiteral<"plan">;
10140
11473
  plan: z$1.ZodString;
10141
11474
  planFilePath: z$1.ZodNullable<z$1.ZodString>;
11475
+ }, z$1.core.$strip>, z$1.ZodObject<{
11476
+ itemId: z$1.ZodString;
11477
+ kind: z$1.ZodLiteral<"tool_use">;
11478
+ presentation: z$1.ZodObject<{
11479
+ detail: z$1.ZodOptional<z$1.ZodString>;
11480
+ icon: z$1.ZodObject<{
11481
+ glyph: z$1.ZodString;
11482
+ }, z$1.core.$strip>;
11483
+ label: z$1.ZodObject<{
11484
+ completed: z$1.ZodString;
11485
+ pending: z$1.ZodString;
11486
+ }, z$1.core.$strip>;
11487
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
11488
+ tint: z$1.ZodOptional<z$1.ZodObject<{
11489
+ dark: z$1.ZodString;
11490
+ light: z$1.ZodString;
11491
+ }, z$1.core.$strip>>;
11492
+ title: z$1.ZodOptional<z$1.ZodString>;
11493
+ }, z$1.core.$strip>;
11494
+ tool: z$1.ZodString;
10142
11495
  }, z$1.core.$strip>], "kind">;
10143
11496
  }, z$1.core.$strip>, z$1.ZodObject<{
10144
11497
  kind: z$1.ZodLiteral<"user_question">;
@@ -10490,6 +11843,11 @@ declare const threadStoragePathsQuerySchema: z$1.ZodObject<{
10490
11843
  query: z$1.ZodOptional<z$1.ZodString>;
10491
11844
  }, z$1.core.$strip>;
10492
11845
  type ThreadStoragePathsQuery = z$1.infer<typeof threadStoragePathsQuerySchema>;
11846
+ declare const threadStorageLocationResponseSchema: z$1.ZodObject<{
11847
+ hostId: z$1.ZodString;
11848
+ storageRootPath: z$1.ZodString;
11849
+ }, z$1.core.$strict>;
11850
+ type ThreadStorageLocationResponse = z$1.infer<typeof threadStorageLocationResponseSchema>;
10493
11851
  declare const timelineTurnSummaryDetailsResponseSchema: z$1.ZodObject<{
10494
11852
  rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
10495
11853
  }, z$1.core.$strip>;
@@ -10793,7 +12151,8 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
10793
12151
  }, z$1.core.$strict>;
10794
12152
  threadId: z$1.ZodNullable<z$1.ZodString>;
10795
12153
  }, z$1.core.$strict>, z$1.ZodObject<{
10796
- environmentId: z$1.ZodString;
12154
+ environmentId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
12155
+ hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
10797
12156
  kind: z$1.ZodLiteral<"host-file-preview">;
10798
12157
  tab: z$1.ZodObject<{
10799
12158
  lineRange: z$1.ZodNullable<z$1.ZodObject<{
@@ -10802,7 +12161,7 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
10802
12161
  }, z$1.core.$strict>>;
10803
12162
  path: z$1.ZodString;
10804
12163
  }, z$1.core.$strict>;
10805
- threadId: z$1.ZodString;
12164
+ threadId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
10806
12165
  }, z$1.core.$strict>, z$1.ZodObject<{
10807
12166
  environmentId: z$1.ZodNullable<z$1.ZodString>;
10808
12167
  kind: z$1.ZodLiteral<"thread-storage-file-preview">;
@@ -10841,6 +12200,7 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
10841
12200
  statusLabel: z$1.ZodNullable<z$1.ZodLiteral<"deleted">>;
10842
12201
  }, z$1.core.$strict>, z$1.ZodObject<{
10843
12202
  environmentId: z$1.ZodNullable<z$1.ZodString>;
12203
+ hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
10844
12204
  id: z$1.ZodString;
10845
12205
  kind: z$1.ZodLiteral<"host-file-preview">;
10846
12206
  lineRange: z$1.ZodNullable<z$1.ZodObject<{
@@ -10926,7 +12286,8 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
10926
12286
  }, z$1.core.$strict>;
10927
12287
  threadId: z$1.ZodNullable<z$1.ZodString>;
10928
12288
  }, z$1.core.$strict>, z$1.ZodObject<{
10929
- environmentId: z$1.ZodString;
12289
+ environmentId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
12290
+ hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
10930
12291
  kind: z$1.ZodLiteral<"host-file-preview">;
10931
12292
  tab: z$1.ZodObject<{
10932
12293
  lineRange: z$1.ZodNullable<z$1.ZodObject<{
@@ -10935,7 +12296,7 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
10935
12296
  }, z$1.core.$strict>>;
10936
12297
  path: z$1.ZodString;
10937
12298
  }, z$1.core.$strict>;
10938
- threadId: z$1.ZodString;
12299
+ threadId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
10939
12300
  }, z$1.core.$strict>, z$1.ZodObject<{
10940
12301
  environmentId: z$1.ZodNullable<z$1.ZodString>;
10941
12302
  kind: z$1.ZodLiteral<"thread-storage-file-preview">;
@@ -10974,6 +12335,7 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
10974
12335
  statusLabel: z$1.ZodNullable<z$1.ZodLiteral<"deleted">>;
10975
12336
  }, z$1.core.$strict>, z$1.ZodObject<{
10976
12337
  environmentId: z$1.ZodNullable<z$1.ZodString>;
12338
+ hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
10977
12339
  id: z$1.ZodString;
10978
12340
  kind: z$1.ZodLiteral<"host-file-preview">;
10979
12341
  lineRange: z$1.ZodNullable<z$1.ZodObject<{
@@ -11236,6 +12598,13 @@ interface PluginFileOpenerSource {
11236
12598
  threadId: string | null;
11237
12599
  environmentId: string | null;
11238
12600
  projectId: string | null;
12601
+ /**
12602
+ * Explicit host selected for a project-backed workspace file. Omitted when
12603
+ * the source is resolved by its environment/thread or the primary host.
12604
+ *
12605
+ * @experimental Audit before relying on this as a stable contract.
12606
+ */
12607
+ experimental_hostId?: string;
11239
12608
  }
11240
12609
  /** Props passed to a `fileOpener` component (rendered as a panel file tab). */
11241
12610
  interface PluginFileOpenerProps {
@@ -11389,6 +12758,38 @@ interface PluginSettingsSectionRegistration {
11389
12758
  description?: string;
11390
12759
  component: ComponentType<PluginSettingsSectionProps>;
11391
12760
  }
12761
+ /**
12762
+ * Owner-defined validator for a fixed tab's transient target. The host first
12763
+ * verifies that the value is JSON-safe, then calls this validator before
12764
+ * selecting the tab or delivering the target.
12765
+ */
12766
+ interface ExperimentalFixedTabTargetContract<Target extends JsonValue> {
12767
+ validate(value: JsonValue): value is Target;
12768
+ }
12769
+ /** Stable, owner-scoped reference used by the app-panel controller. */
12770
+ type ExperimentalPluginFixedTabReference<Target extends JsonValue = never> = {
12771
+ /** The owning `navPanel` id; validated against the containing registration. */
12772
+ readonly panelId: string;
12773
+ /** Unique within the owning nav panel; letters, digits, `-`, `_`. */
12774
+ readonly id: string;
12775
+ } & ([Target] extends [never] ? {
12776
+ /** An untargeted tab cannot be opened with a target. */
12777
+ readonly experimental_target?: never;
12778
+ } : {
12779
+ /** Owner validation required before the host delivers a target. */
12780
+ readonly experimental_target: ExperimentalFixedTabTargetContract<Target>;
12781
+ });
12782
+ /** A fixed tab declared by a plugin nav panel. */
12783
+ type ExperimentalPluginFixedTabRegistration<Target extends JsonValue = never> = ExperimentalPluginFixedTabReference<Target> & {
12784
+ title: string;
12785
+ /** Icon hint (BB icon name); unknown names fall back to a generic icon. */
12786
+ icon: string;
12787
+ component: ComponentType<PluginNavPanelProps>;
12788
+ /** `flush` lets the component own padding and scrolling. */
12789
+ layout?: "flush" | "padded";
12790
+ };
12791
+ /** A fixed tab with either no target or an owner-validated JSON target. */
12792
+ type ExperimentalPluginFixedTabDeclaration = ExperimentalPluginFixedTabRegistration | ExperimentalPluginFixedTabRegistration<JsonValue>;
11392
12793
  interface PluginNavPanelRegistration {
11393
12794
  /** Unique within the plugin; letters, digits, `-`, `_`. */
11394
12795
  id: string;
@@ -11401,22 +12802,14 @@ interface PluginNavPanelRegistration {
11401
12802
  /**
11402
12803
  * Ordered, non-closable tabs shown in this page's host-owned right panel.
11403
12804
  * BB owns selection and persistence and always includes its native Browser
11404
- * and Terminal tools beside them. Components mount only while their tab is
11405
- * active and the panel is open, and receive the same `subPath` as the page
11406
- * component.
12805
+ * and Terminal tools beside them. One tab is active in each visible split
12806
+ * pane, so multiple fixed-tab components can be mounted concurrently. A
12807
+ * component mounts only while its tab is active in a visible pane and the
12808
+ * panel is open, and receives the same `subPath` as the page component.
11407
12809
  *
11408
12810
  * Experimental: see docs/api_to_audit.md.
11409
12811
  */
11410
- experimental_fixedTabs?: readonly {
11411
- /** Unique within this nav panel; letters, digits, `-`, `_`. */
11412
- id: string;
11413
- title: string;
11414
- /** Icon hint (BB icon name); unknown names fall back to a generic icon. */
11415
- icon: string;
11416
- component: ComponentType<PluginNavPanelProps>;
11417
- /** `flush` lets the component own padding and scrolling. */
11418
- layout?: "flush" | "padded";
11419
- }[];
12812
+ experimental_fixedTabs?: readonly ExperimentalPluginFixedTabDeclaration[];
11420
12813
  /**
11421
12814
  * Optional presentational component rendered at the trailing edge of this
11422
12815
  * panel's sidebar row. It receives no props so it can own a narrow live
@@ -11616,7 +13009,8 @@ interface PluginSidebarThread {
11616
13009
  originKind: "fork" | null;
11617
13010
  /** The plugin that spawned it, or null for non-plugin origins. */
11618
13011
  originPluginId: string | null;
11619
- /** The agent provider this thread runs on, e.g. "codex", "claude-code". */
13012
+ /** The agent provider this thread runs on; resolve it through
13013
+ * {@link PluginSdkApp.experimental_useProviders} for a name and icon. */
11620
13014
  providerId: string;
11621
13015
  /** The agent is blocked on the user: an approval or a question. */
11622
13016
  hasPendingInteraction: boolean;
@@ -11686,6 +13080,17 @@ interface PluginSidebarThreadsState {
11686
13080
  threads: readonly PluginSidebarThread[];
11687
13081
  projects: readonly PluginSidebarProject[];
11688
13082
  }
13083
+ /**
13084
+ * The provider directory (see {@link PluginSdkApp.experimental_useProviders}):
13085
+ * every registered agent provider in picker order, as the same `ProviderInfo`
13086
+ * the host's own pickers read. `logoUrl` is server-relative
13087
+ * (`/api/v1/system/providers/<id>/logo`) or null when the provider declared a
13088
+ * glyph or no icon; `strings` carries the provider's declared copy.
13089
+ */
13090
+ interface PluginProvidersState {
13091
+ status: "error" | "loading" | "ready";
13092
+ providers: readonly ProviderInfo[];
13093
+ }
11689
13094
  /**
11690
13095
  * Act on threads from a plugin surface. Every method routes to the host's own
11691
13096
  * flow, so optimistic updates, toasts, dialogs, pane closing, and route repair
@@ -12060,7 +13465,10 @@ interface PluginContentScriptRegistration {
12060
13465
  id: string;
12061
13466
  /**
12062
13467
  * Install behavior into the bb app shell. The host awaits a returned
12063
- * promise, contains failures, and calls the returned disposer exactly once.
13468
+ * promise, retains the plugin's imported frontend stylesheet for this
13469
+ * generation, contains failures, and calls the returned disposer exactly
13470
+ * once. Styling or decorating existing app-shell DOM belongs here rather
13471
+ * than in an always-on frontend stylesheet.
12064
13472
  */
12065
13473
  mount(context: PluginContentScriptContext): void | PluginContentScriptDisposer | Promise<void | PluginContentScriptDisposer>;
12066
13474
  }
@@ -12491,6 +13899,78 @@ interface MarkdownProps {
12491
13899
  content: string;
12492
13900
  className?: string;
12493
13901
  }
13902
+ /**
13903
+ * Props for BB's semantic URL link. The host owns ordinary activation while
13904
+ * retaining browser-owned anchor behavior for app routes, modifiers, explicit
13905
+ * targets, copying, and unsupported schemes. New top-level targets preserve
13906
+ * supplied `rel` tokens and receive safe defaults unless `opener` is explicit.
13907
+ * Experimental: see docs/api_to_audit.md.
13908
+ */
13909
+ interface ExperimentalUrlLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href"> {
13910
+ href: string;
13911
+ }
13912
+ /** A live file whose identity is complete without ambient route context. */
13913
+ type ExperimentalLiveFileTarget = {
13914
+ kind: "workspace";
13915
+ environmentId: string;
13916
+ path: string;
13917
+ } | {
13918
+ kind: "host";
13919
+ hostId: string;
13920
+ path: string;
13921
+ } | {
13922
+ kind: "thread-storage";
13923
+ threadId: string;
13924
+ path: string;
13925
+ };
13926
+ /** One-based location to reveal after a live file opens. */
13927
+ type ExperimentalFileLocation = {
13928
+ kind: "line";
13929
+ line: number;
13930
+ column: number | null;
13931
+ } | {
13932
+ kind: "range";
13933
+ startLine: number;
13934
+ endLine: number;
13935
+ };
13936
+ /** Options shared by BB's preview and preferred-external file intents. */
13937
+ interface ExperimentalFileOpenOptions {
13938
+ target: ExperimentalLiveFileTarget;
13939
+ location: ExperimentalFileLocation | null;
13940
+ }
13941
+ /**
13942
+ * Props for BB's host-rendered semantic file link. Valid targets receive a
13943
+ * scheme-safe anchor href; traversal paths, ill-formed Unicode, and other
13944
+ * malformed runtime targets remain inert.
13945
+ */
13946
+ interface ExperimentalFileLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href" | "target"> {
13947
+ target: ExperimentalLiveFileTarget;
13948
+ location?: ExperimentalFileLocation | null;
13949
+ }
13950
+ /** The panel surface resolved by the component making the request. */
13951
+ type ExperimentalAppPanelSurface = {
13952
+ kind: "current";
13953
+ };
13954
+ /**
13955
+ * The owning fixed tab's current memory-only target. It survives tab, panel,
13956
+ * and route remounts during the current app session, but is never persisted
13957
+ * across a refresh. Call `clear` when the owner returns to its untargeted state.
13958
+ */
13959
+ interface ExperimentalFixedTabTargetState<Target extends JsonValue> {
13960
+ readonly sequence: number;
13961
+ readonly target: Target;
13962
+ clear(): void;
13963
+ }
13964
+ type ExperimentalOpenFixedTabOptions<Target extends JsonValue> = {
13965
+ surface: ExperimentalAppPanelSurface;
13966
+ tab: ExperimentalPluginFixedTabReference<Target>;
13967
+ /** Omit to select the tab without replacing its current session target. */
13968
+ target?: NoInfer<Target>;
13969
+ };
13970
+ /** Surface-aware controller for selecting owner-scoped fixed tabs. */
13971
+ interface ExperimentalAppPanel {
13972
+ openFixedTab<Target extends JsonValue = never>(options: ExperimentalOpenFixedTabOptions<Target>): boolean;
13973
+ }
12494
13974
  /** Current app selection, derived from the route. */
12495
13975
  interface BbContext {
12496
13976
  projectId: string | null;
@@ -12525,6 +14005,16 @@ interface BbNavigate {
12525
14005
  * the action is unavailable.
12526
14006
  */
12527
14007
  openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
14008
+ /**
14009
+ * Open an HTTP(S) URL using this client's BB browser preference. Returns
14010
+ * false for schemes the host does not own. Experimental: see
14011
+ * docs/api_to_audit.md.
14012
+ */
14013
+ experimental_openUrl(url: string): boolean;
14014
+ /** Open a live file in this surface's shared BB preview panel. */
14015
+ experimental_openFilePreview(options: ExperimentalFileOpenOptions): boolean;
14016
+ /** Open a live file in this client's preferred external file target. */
14017
+ experimental_openFileExternally(options: ExperimentalFileOpenOptions): boolean;
12528
14018
  }
12529
14019
  /**
12530
14020
  * Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
@@ -12545,6 +14035,10 @@ interface PluginSdkApp {
12545
14035
  useSettings(): PluginSettingsState;
12546
14036
  useBbContext(): BbContext;
12547
14037
  useBbNavigate(): BbNavigate;
14038
+ /** Select one of this plugin's eligible fixed tabs on the current surface. */
14039
+ experimental_useAppPanel(): ExperimentalAppPanel;
14040
+ /** Read or clear the owning tab's validated, session-scoped target. */
14041
+ experimental_useFixedTabTarget<Target extends JsonValue>(tab: ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
12548
14042
  useComposer(): PluginComposerApi;
12549
14043
  /**
12550
14044
  * The sidebar's live thread view (see {@link PluginSidebarThreadsState}).
@@ -12584,6 +14078,13 @@ interface PluginSdkApp {
12584
14078
  * Experimental: see docs/api_to_audit.md.
12585
14079
  */
12586
14080
  experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
14081
+ /**
14082
+ * The provider directory (see {@link PluginProvidersState}). Reads the
14083
+ * host's own cached provider roster, so a plugin that shows a thread's
14084
+ * provider never re-vendors provider names, icons, or copy. Experimental:
14085
+ * see docs/api_to_audit.md.
14086
+ */
14087
+ experimental_useProviders(): PluginProvidersState;
12587
14088
  /**
12588
14089
  * The host-owned chat component (see {@link ThreadChatProps}). Together
12589
14090
  * with `Markdown`, the only components the SDK ships — everything else
@@ -12595,6 +14096,13 @@ interface PluginSdkApp {
12595
14096
  * {@link MarkdownProps}).
12596
14097
  */
12597
14098
  Markdown: ComponentType<MarkdownProps>;
14099
+ /**
14100
+ * A real anchor whose ordinary HTTP(S) activation uses BB's URL preference.
14101
+ * Experimental: see docs/api_to_audit.md.
14102
+ */
14103
+ experimental_UrlLink: ComponentType<ExperimentalUrlLinkProps>;
14104
+ /** Host-rendered live-file link backed by the shared navigation controller. */
14105
+ experimental_FileLink: ComponentType<ExperimentalFileLinkProps>;
12598
14106
  /**
12599
14107
  * The host-owned new-thread compose surface (see
12600
14108
  * {@link NewThreadComposerProps}). Experimental: see
@@ -13049,6 +14557,7 @@ type ProviderHostRoutingArgs = {
13049
14557
  hostId?: never;
13050
14558
  };
13051
14559
  type ProviderListArgs = ProviderHostRoutingArgs & {
14560
+ capability?: SystemProvidersQuery["capability"];
13052
14561
  signal?: AbortSignal;
13053
14562
  };
13054
14563
  type ProviderModelsArgs = ProviderHostRoutingArgs & {
@@ -13467,10 +14976,10 @@ type SystemUpdateExperimentsResult = Experiments;
13467
14976
  type SystemUpdateGeneralSettingsResult = AppSettings;
13468
14977
  type SystemUpdateKeyboardSettingsResult = AppKeybindingOverrides;
13469
14978
  type SystemUsageLimitsResult = ProviderUsageResponse;
13470
- interface SystemOnboardingArgs extends SystemProvidersQuery {
14979
+ interface SystemProviderStatesArgs extends SystemProvidersQuery {
13471
14980
  signal?: AbortSignal;
13472
14981
  }
13473
- type SystemOnboardingAgentsResult = OnboardingAgentOverview;
14982
+ type SystemProviderStatesResult = SystemProviderStatesResponse;
13474
14983
  type SystemVersionResult = SystemVersionResponse;
13475
14984
  interface SystemArea {
13476
14985
  attention(args?: SystemAttentionArgs): Promise<SystemAttentionResult>;
@@ -13489,8 +14998,8 @@ interface SystemArea {
13489
14998
  updateExperiments(args: Experiments): Promise<SystemUpdateExperimentsResult>;
13490
14999
  updateGeneralSettings(args: AppSettings): Promise<SystemUpdateGeneralSettingsResult>;
13491
15000
  updateKeyboardSettings(args: AppKeybindingOverrides): Promise<SystemUpdateKeyboardSettingsResult>;
13492
- /** Live agent state for onboarding: install, auth, and plan per provider. */
13493
- onboardingAgents(args?: SystemOnboardingArgs): Promise<SystemOnboardingAgentsResult>;
15001
+ /** Live host-local install and authentication state for every provider. */
15002
+ providerStates(args?: SystemProviderStatesArgs): Promise<SystemProviderStatesResult>;
13494
15003
  usageLimits(args?: SystemUsageLimitsArgs): Promise<SystemUsageLimitsResult>;
13495
15004
  version(args?: SystemVersionArgs): Promise<SystemVersionResult>;
13496
15005
  }
@@ -13674,6 +15183,7 @@ type ThreadQueuedMessageGroupBoundaryResult = ThreadQueuedMessageListResponse;
13674
15183
  type ThreadTabsResult = ThreadTabsResponse;
13675
15184
  type ThreadTabsUpdateResult = ThreadTabsResponse;
13676
15185
  type ThreadStorageFilesResult = ThreadStorageFileListResponse;
15186
+ type ThreadStorageLocationResult = ThreadStorageLocationResponse;
13677
15187
  type ThreadStoragePathsResult = ThreadStoragePathListResponse;
13678
15188
  type ThreadChildSummaryResult = ThreadChildSummaryResponse;
13679
15189
  type ThreadDefaultExecutionOptionsResult = ResolvedThreadExecutionOptions | null;
@@ -13902,6 +15412,7 @@ interface ThreadsArea {
13902
15412
  timeline(args: ThreadTimelineArgs): Promise<ThreadTimelineResult>;
13903
15413
  timelineTurnSummaryDetails(args: ThreadTimelineTurnSummaryDetailsArgs): Promise<ThreadTimelineTurnSummaryDetailsResult>;
13904
15414
  storageFiles(args: ThreadStorageFilesArgs): Promise<ThreadStorageFilesResult>;
15415
+ storageLocation(args: ThreadStatusArgs): Promise<ThreadStorageLocationResult>;
13905
15416
  storagePaths(args: ThreadStoragePathsArgs): Promise<ThreadStoragePathsResult>;
13906
15417
  unarchive(args: ThreadActionArgs): Promise<ThreadUnarchiveResult>;
13907
15418
  unpin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
@@ -14220,7 +15731,10 @@ interface PluginBackground {
14220
15731
  * factory completes and should resolve when `signal` aborts
14221
15732
  * (dispose/reload/disable/shutdown). A crash restarts it with capped
14222
15733
  * exponential backoff; throwing NeedsConfigurationError marks the plugin
14223
- * `needs-configuration` and stops restarting until the next load.
15734
+ * `needs-configuration` and stops restarting until the next load. An
15735
+ * error raised outside the `start` promise (an unlistened EventEmitter
15736
+ * 'error', a throw in a timer callback, a detached rejection) counts as
15737
+ * a crash too: the run is aborted and restarted the same way.
14224
15738
  */
14225
15739
  service(name: string, service: {
14226
15740
  start(signal: AbortSignal): void | Promise<void>;
@@ -14339,6 +15853,29 @@ interface PluginAgentToolExperimentalStatusLabels {
14339
15853
  /** Label shown after the tool call completes successfully. */
14340
15854
  completed: string;
14341
15855
  }
15856
+ /**
15857
+ * How calls to a native plugin tool read as a timeline row (grammar v3). Every
15858
+ * field is optional at registration: the server fills what the plugin leaves
15859
+ * out (the `experimental_statusLabels` pair as the label, then a generic
15860
+ * label; the plugin's branding glyph, then `Toolbox`) and hands one complete
15861
+ * presentation to the provider bridge with the tool definition.
15862
+ */
15863
+ interface PluginAgentToolPresentation {
15864
+ /** Row title while the call is pending and once it settled. */
15865
+ label?: PluginAgentToolExperimentalStatusLabels;
15866
+ /** A named host glyph (`{ glyph: "Workflow" }`). */
15867
+ icon?: {
15868
+ glyph: string;
15869
+ };
15870
+ /** Low-value rows clients collapse by default (a question a dedicated
15871
+ * interaction row already shows, a bookkeeping call). */
15872
+ suppress?: boolean;
15873
+ /** Accent colour per theme; omitted rows use the neutral row tint. */
15874
+ tint?: {
15875
+ light: string;
15876
+ dark: string;
15877
+ };
15878
+ }
14342
15879
  interface PluginAgentToolRegistrationBase {
14343
15880
  /** Tool name shown to the model: [a-zA-Z0-9_-]+, unique across plugins,
14344
15881
  * and not a built-in dynamic tool (see RESERVED_AGENT_TOOL_NAMES in the
@@ -14358,6 +15895,12 @@ interface PluginAgentToolRegistrationBase {
14358
15895
  * approval, error, and interruption states keep BB's standard rendering.
14359
15896
  */
14360
15897
  experimental_statusLabels?: PluginAgentToolExperimentalStatusLabels;
15898
+ /**
15899
+ * How calls to this tool read as a timeline row (grammar v3). Supersedes
15900
+ * `experimental_statusLabels`, which still supplies the label when this
15901
+ * field omits one. See docs/api_to_audit.md.
15902
+ */
15903
+ experimental_presentation?: PluginAgentToolPresentation;
14361
15904
  }
14362
15905
  /** Stable, plain-data context resolved by the server for one agent session. */
14363
15906
  interface PluginAgentConfigurationContext {
@@ -14460,10 +16003,23 @@ type PluginProviderComposerAction = "goal" | "plan";
14460
16003
  * live session (picker rendering, route gating, cross-plugin tool
14461
16004
  * composition — including with the host offline). Every boolean is a
14462
16005
  * provider-native fact — the provider implements the feature; the flag only
14463
- * tells external consumers it exists. Everything else is a handshake fact the
14464
- * bridge reports at `initialize`, where it cannot drift from behavior.
16006
+ * tells external consumers it exists. Session-behavior facts remain handshake
16007
+ * capabilities reported by the running bridge. Sessionless maintenance
16008
+ * methods are declared here so callers can decide whether to probe without
16009
+ * starting the bridge first.
14465
16010
  */
14466
16011
  interface PluginProviderCapabilities {
16012
+ /** The provider bridge implements the sessionless `provider/health`
16013
+ * request. This is host-local readiness, not a network health check. */
16014
+ experimental_providerHealth: boolean;
16015
+ /** The provider exposes subscription usage through the sessionless
16016
+ * `provider/usage` request. False means callers skip the request and usage
16017
+ * settings omit the provider. A shared bridge that declares true may still
16018
+ * report usage unavailable for one provider id or return no windows. */
16019
+ experimental_providerUsage: boolean;
16020
+ /** The provider bridge implements `provider/installation/status` and
16021
+ * `provider/installation/run` for host-local installation management. */
16022
+ experimental_providerInstallation: boolean;
14467
16023
  /** The provider accepts a fast/priority service-tier choice — shows the
14468
16024
  * service-tier toggle in the picker. */
14469
16025
  supportsServiceTier: boolean;
@@ -14488,9 +16044,6 @@ interface PluginProviderCapabilities {
14488
16044
  /** The provider stores a thread name of its own, so BB forwards renames to
14489
16045
  * it. */
14490
16046
  supportsThreadRename: boolean;
14491
- /** The provider can run BB's Workflow tools — gates the workflows opt-in on
14492
- * new threads. */
14493
- supportsWorkflows: boolean;
14494
16047
  /** Permission modes the provider can actually run in. Non-empty, no
14495
16048
  * duplicates. */
14496
16049
  permissionModes: readonly PluginProviderPermissionMode[];
@@ -14498,20 +16051,115 @@ interface PluginProviderCapabilities {
14498
16051
  * {@link PluginProviderReasoningLevel}). Non-empty, no duplicates. */
14499
16052
  reasoningLevels: readonly PluginProviderReasoningLevel[];
14500
16053
  }
16054
+ /**
16055
+ * Provider copy core surfaces render from per-provider tables today (usage
16056
+ * banners, sign-in hints, the mobile picker, the agent guide). Declared once
16057
+ * here so no core surface keys copy on a provider id. Mirrors
16058
+ * `ProviderStrings` in `@bb/domain`, which is the client projection.
16059
+ */
16060
+ interface PluginProviderStrings {
16061
+ /** How to sign in on the host ("Run `claude` on the machine to sign in."). */
16062
+ signInHint: string;
16063
+ /** Shown when a session's credentials expired. */
16064
+ expiredHint: string;
16065
+ /** Where to install the agent. */
16066
+ installUrl: string;
16067
+ /** Brand prefix stripped from model display names ("Claude "). */
16068
+ brandPrefix?: string;
16069
+ /** Plan-mode banner copy for providers that declare the `plan` action. */
16070
+ planModeCopy?: string;
16071
+ /** Per-theme tint for the provider icon. */
16072
+ iconTint?: {
16073
+ light: string;
16074
+ dark: string;
16075
+ };
16076
+ }
16077
+ /**
16078
+ * One selectable option for a picker — a service tier or a reasoning level.
16079
+ * `id` is the wire value the bridge receives; `label` is what the picker
16080
+ * shows. Declared lists are the cold-cache fallback; `model/list` is precise
16081
+ * per model.
16082
+ */
16083
+ interface PluginProviderOptionDescriptor {
16084
+ id: string;
16085
+ label: string;
16086
+ description?: string;
16087
+ }
16088
+ /**
16089
+ * Payload schemas for one extension kind this provider emits, keyed by the
16090
+ * kind's local name (the server prefixes the plugin id to form the
16091
+ * namespaced `"<pluginId>/<name>"`). `item` validates `item.open` payloads
16092
+ * with `type: "extension"`, `state` validates `extension.state` payloads;
16093
+ * each is optional so a kind can be item-only or state-only. Schemas are
16094
+ * Standard Schema v1 validators (zod 4 schemas qualify).
16095
+ */
16096
+ interface PluginProviderExtensionKindDeclaration {
16097
+ item?: StandardSchemaV1;
16098
+ state?: StandardSchemaV1;
16099
+ }
16100
+ /**
16101
+ * Per-command context handed to
16102
+ * {@link PluginProviderDeclaration.experimental_deriveProviderOptions}. The
16103
+ * server builds one for every session and turn command it dispatches on a
16104
+ * thread of this provider.
16105
+ */
16106
+ interface PluginProviderOptionsContext {
16107
+ threadId: string;
16108
+ projectId: string;
16109
+ /** The resolved model id for this command. */
16110
+ model: string;
16111
+ /** BB's permission mode for this command (already clamped to the host). */
16112
+ permissionMode: PluginProviderPermissionMode;
16113
+ /**
16114
+ * `"plan"` when the prompt entered plan mode through this provider's
16115
+ * declared `plan` composer action. Absent for an ordinary prompt — plan
16116
+ * mode is a BB prompt mode, so the bridge maps it onto whatever the agent
16117
+ * calls it natively.
16118
+ */
16119
+ promptMode?: "plan";
16120
+ /**
16121
+ * This plugin's own settings values (`bb.settings.define`), read at call
16122
+ * time. Secret settings are omitted — provider options ride the daemon
16123
+ * wire and are persisted with the session, so a secret must never be
16124
+ * derived into them.
16125
+ */
16126
+ settings: Readonly<Record<string, PluginSettingValue | undefined>>;
16127
+ }
16128
+ /**
16129
+ * One cold-cache fallback model. The provider's live `model/list` result is
16130
+ * the only real model source; this list stands in only while no probe has
16131
+ * completed, or when a probe fails transiently, so the picker is not empty.
16132
+ * `id` is the wire model id the bridge receives.
16133
+ */
16134
+ interface PluginProviderFallbackModel {
16135
+ id: string;
16136
+ /** Picker display name ("Opus 5 (1M)"). */
16137
+ displayName: string;
16138
+ description: string;
16139
+ /** Reasoning levels this model supports, lowest to highest. Non-empty. */
16140
+ supportedReasoningEfforts: readonly {
16141
+ reasoningEffort: PluginProviderReasoningLevel;
16142
+ description: string;
16143
+ }[];
16144
+ /** Must be one of `supportedReasoningEfforts`. */
16145
+ defaultReasoningEffort: PluginProviderReasoningLevel;
16146
+ /** Exactly one entry in the list is the default. */
16147
+ isDefault: boolean;
16148
+ }
14501
16149
  /**
14502
16150
  * One provider this plugin contributes to BB's provider registry.
14503
16151
  *
14504
16152
  * Ids are stable public identifiers — thread rows and routes reference them —
14505
16153
  * and are collision-rejected: a declaration whose id matches another plugin's
14506
- * live registration, or reserves a first-party provider it does not own, is
14507
- * refused. Registrations are replaced wholesale on plugin reload, like every
14508
- * other plugin surface.
16154
+ * live registration is refused; the first registration wins and no id is
16155
+ * reserved ahead of time. Registrations are replaced wholesale on plugin
16156
+ * reload, like every other plugin surface.
14509
16157
  *
14510
- * A declaration is metadata only. The implementation is the plugin's own
14511
- * provider bridge, named by `bb.providerBridge` in the manifest and built into
14512
- * the artifact BB ships to hosts declaring a provider without one is
14513
- * refused, because the picker entry would exist and no turn on it could ever
14514
- * run.
16158
+ * A declaration owns the provider's static metadata and bridge options. The
16159
+ * executable implementation is the plugin's own provider bridge, named by
16160
+ * `bb.providerBridge` in the manifest and built into the artifact BB ships to
16161
+ * hosts declaring a provider without one is refused, because the picker
16162
+ * entry would exist and no turn on it could ever run.
14515
16163
  */
14516
16164
  interface PluginProviderDeclaration {
14517
16165
  /** Stable provider id: 2–64 characters of lowercase letters, digits, and
@@ -14520,6 +16168,12 @@ interface PluginProviderDeclaration {
14520
16168
  id: string;
14521
16169
  /** Picker display name: 1–80 characters, non-blank. */
14522
16170
  displayName: string;
16171
+ /**
16172
+ * Optional grouping key (same grammar as `id`) for providers that share a
16173
+ * family — the ACP agents, for example — so clients can group them without
16174
+ * parsing a prefix out of the id. Grouping only: no policy keys on it.
16175
+ */
16176
+ experimental_family?: string;
14523
16177
  /**
14524
16178
  * Optional picker icon, in the same grammar as `bb.branding.icon`: either a
14525
16179
  * named host glyph (`"Zap"`) or a plugin-relative path starting with `"./"`
@@ -14527,12 +16181,71 @@ interface PluginProviderDeclaration {
14527
16181
  * — no leading "/", no ".." segments, no backslashes.
14528
16182
  */
14529
16183
  icon?: string;
16184
+ /**
16185
+ * Provider-owned static options passed opaquely to this plugin's bridge on
16186
+ * every sessionless and session request. Core validates that the value is
16187
+ * JSON, but does not interpret its keys. This is intended for immutable
16188
+ * launch metadata shared by every host (for example an ACP command spec),
16189
+ * not user or machine configuration.
16190
+ */
16191
+ experimental_bridgeOptions?: Readonly<Record<string, JsonValue>>;
16192
+ /**
16193
+ * Whether the provider is always listed or only listed on hosts where its
16194
+ * bridge reports it installed. Defaults to `"always"`.
16195
+ */
16196
+ experimental_visibility?: "always" | "installed";
14530
16197
  /** Pre-session capability facts (see the declaration tests on
14531
16198
  * {@link PluginProviderCapabilities}). */
14532
16199
  capabilities: PluginProviderCapabilities;
14533
16200
  /** Composer actions this provider supports. No duplicates; may be empty
14534
16201
  * (the universal skills typeahead is implicit). */
14535
16202
  composerActions: readonly PluginProviderComposerAction[];
16203
+ /** Provider copy for core surfaces ({@link PluginProviderStrings}). */
16204
+ experimental_strings?: PluginProviderStrings;
16205
+ /** Service tiers this provider accepts, as picker options. Non-empty when
16206
+ * present, unique ids. The coarse `capabilities.supportsServiceTier` stays
16207
+ * until WS2a stabilizes. */
16208
+ experimental_serviceTiers?: readonly PluginProviderOptionDescriptor[];
16209
+ /** Reasoning levels as picker options with labels, beside the coarse
16210
+ * `capabilities.reasoningLevels` ladder (ids only). Non-empty when present,
16211
+ * unique ids. WS2a merges the two. */
16212
+ experimental_reasoningLevels?: readonly PluginProviderOptionDescriptor[];
16213
+ /** Extension kinds this provider's bridge may emit, keyed by local name
16214
+ * (`[a-z0-9-]+`). The server validates extension payloads against these
16215
+ * schemas at ingest and persists a `provider/unhandled` on a miss. */
16216
+ experimental_extensionKinds?: Readonly<Record<string, PluginProviderExtensionKindDeclaration>>;
16217
+ /**
16218
+ * Cold-cache fallback models ({@link PluginProviderFallbackModel}). The
16219
+ * server offers them only while a model probe has not completed or failed
16220
+ * transiently; the live `model/list` result always replaces them. Ids must
16221
+ * be unique and exactly one entry must be the default.
16222
+ */
16223
+ experimental_models?: {
16224
+ fallback: readonly PluginProviderFallbackModel[];
16225
+ };
16226
+ /**
16227
+ * Daemon environment variables this provider's bridge may read. Provider
16228
+ * processes are spawned with every inherited `BB_*` variable stripped, so a
16229
+ * bridge that honors an operator override (a CLI path, say) names it here
16230
+ * and the daemon forwards exactly those variables. Names are
16231
+ * `[A-Z_][A-Z0-9_]*`, at most 32.
16232
+ */
16233
+ experimental_env?: {
16234
+ passthrough: readonly string[];
16235
+ };
16236
+ /**
16237
+ * Derive this provider's opaque per-command options. Called synchronously
16238
+ * by the server for every session and turn command on a thread of this
16239
+ * provider, with the command's {@link PluginProviderOptionsContext}; the
16240
+ * returned JSON object reaches this plugin's bridge as
16241
+ * `options.providerOptions`, merged over `experimental_bridgeOptions`. Core
16242
+ * never interprets its keys — this is where a provider's own knobs (memory,
16243
+ * native subagents, a native plan flag) travel instead of on the shared
16244
+ * execution contract. A throw fails the command with the plugin named, so
16245
+ * a buggy hook cannot silently run a turn with default knobs. Must be fast:
16246
+ * it sits on the turn-submit path.
16247
+ */
16248
+ experimental_deriveProviderOptions?: (context: PluginProviderOptionsContext) => Readonly<Record<string, JsonValue>>;
14536
16249
  }
14537
16250
  interface PluginAgents {
14538
16251
  /**
@@ -14593,17 +16306,35 @@ interface PluginAgents {
14593
16306
  projectId: string;
14594
16307
  }) => string | null): void;
14595
16308
  /**
14596
- * Register an agent provider this plugin contributes (experimental see
16309
+ * The original registration entry point, kept as an alias of
16310
+ * {@link PluginProviders.register} (`bb.providers.register`) so plugins
16311
+ * compiled against it keep loading. New code registers through
16312
+ * `bb.providers`; this alias goes when the surface stabilizes.
16313
+ */
16314
+ experimental_registerProvider(declaration: PluginProviderDeclaration): {
16315
+ dispose(): void;
16316
+ };
16317
+ }
16318
+ /**
16319
+ * Provider registration (docs/provider-plugin-api.md §1). Owns only
16320
+ * registration; `bb.agents` keeps `configure`, `registerTool`, and
16321
+ * `contributeInstructions`.
16322
+ */
16323
+ interface PluginProviders {
16324
+ /**
16325
+ * Register an agent provider this plugin contributes (see
14597
16326
  * docs/api_to_audit.md before relying on it). The declaration is validated
14598
16327
  * at call time; the provider joins the server's provider registry when the
14599
- * plugin load commits and then appears in provider listings. Ids are stable
14600
- * and collision-rejected: an id already claimed by a core provider or
14601
- * another plugin fails this plugin's load. A plugin may register several
14602
- * providers and may re-register after `dispose()` (a settings-driven
14603
- * re-declaration); registrations are replaced wholesale on plugin reload,
14604
- * like every other surface. The disposer removes the registration.
16328
+ * plugin load commits and then appears in provider listings as exactly one
16329
+ * client shape, `ProviderInfo`. Ids are flat and collision-rejected: the
16330
+ * first live registration of an id wins, a later one from another plugin
16331
+ * fails that plugin's load, and no id is reserved ahead of time. A plugin
16332
+ * may register several providers and may re-register after `dispose()` (a
16333
+ * settings-driven re-declaration); registrations are replaced wholesale on
16334
+ * plugin reload, like every other surface. The disposer removes the
16335
+ * registration.
14605
16336
  */
14606
- experimental_registerProvider(declaration: PluginProviderDeclaration): {
16337
+ register(declaration: PluginProviderDeclaration): {
14607
16338
  dispose(): void;
14608
16339
  };
14609
16340
  }
@@ -14748,6 +16479,8 @@ interface BbPluginApi {
14748
16479
  readonly cli: PluginCli;
14749
16480
  /** Per-turn agent context contributions (design §4.4). */
14750
16481
  readonly agents: PluginAgents;
16482
+ /** Agent provider registration (docs/provider-plugin-api.md §1). */
16483
+ readonly providers: PluginProviders;
14751
16484
  /** Host-rendered UI contributions (design §4.9). */
14752
16485
  readonly ui: PluginUi;
14753
16486
  /** Additive plugin lifecycle listeners (design §4.5). */
@@ -14776,4 +16509,4 @@ interface BbPluginApi {
14776
16509
  }
14777
16510
 
14778
16511
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
14779
- export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolExperimentalStatusLabels, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderIconRegistration, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps };
16512
+ export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPluginFixedTabDeclaration, ExperimentalPluginFixedTabReference, ExperimentalPluginFixedTabRegistration, ExperimentalUrlLinkProps, JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolExperimentalStatusLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps };