@get-bb/plugin-sdk 0.4.15 → 0.4.16

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.
@@ -12,6 +12,36 @@ import { z as z$1 } from 'zod';
12
12
  import Database from 'better-sqlite3';
13
13
  import { Context } from 'hono';
14
14
 
15
+ /** Input-form entry: a path, or a path with options. */
16
+ declare const providerNativeRootInputSchema: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
17
+ ancestors: z$1.ZodOptional<z$1.ZodBoolean>;
18
+ namePrefix: z$1.ZodOptional<z$1.ZodString>;
19
+ path: z$1.ZodString;
20
+ recursive: z$1.ZodOptional<z$1.ZodBoolean>;
21
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
22
+ }, z$1.core.$strict>]>;
23
+ /**
24
+ * One provider-native root as a plugin declares it: a path, or a path with
25
+ * options. `recursive`: the agent scans nested skill directories. `ancestors`
26
+ * (project roots only): scan the same relative directory in every ancestor of
27
+ * the workspace up to the repository root. `namePrefix`: prepended to every
28
+ * name under the root, a vendor plugin's `plugin-name:`; a prefixed root is
29
+ * listed as a plugin root. `skipIfManifest`: a vendor-plugin marker file to
30
+ * skip by.
31
+ */
32
+ type ProviderNativeRootInput = z$1.infer<typeof providerNativeRootInputSchema>;
33
+ /**
34
+ * Provider-native roots as a plugin's frozen declaration holds them: relative
35
+ * to the target host's home (`user`) or to the workspace (`project`). Paths
36
+ * are relative without dot segments, unique per side, at most 32 per side. A
37
+ * root only one host can name — a moved config directory, a settings entry —
38
+ * is the resolver's answer (`resolveNativeRoots`), never a declared root.
39
+ */
40
+ interface ProviderNativeRootsInputLike {
41
+ readonly user?: readonly ProviderNativeRootInput[];
42
+ readonly project?: readonly ProviderNativeRootInput[];
43
+ }
44
+
15
45
  /**
16
46
  * App-wide server-backed preferences.
17
47
  * Client-local settings stay in the frontend localStorage helpers instead.
@@ -171,7 +201,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
171
201
  id: z$1.ZodOptional<z$1.ZodString>;
172
202
  metadata: z$1.ZodOptional<z$1.ZodObject<{
173
203
  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/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>>>>>;
204
+ 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/interaction/lifecycle" | "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/interaction/lifecycle" | "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
205
  hasPendingInteraction: z$1.ZodOptional<z$1.ZodBoolean>;
176
206
  projectId: z$1.ZodOptional<z$1.ZodString>;
177
207
  statusChange: z$1.ZodOptional<z$1.ZodObject<{
@@ -313,6 +343,24 @@ declare const hostSchema: z$1.ZodObject<{
313
343
  }, z$1.core.$strip>;
314
344
  type Host = z$1.infer<typeof hostSchema>;
315
345
 
346
+ declare const threadEventItemPresentationSchema: z$1.ZodObject<{
347
+ detail: z$1.ZodOptional<z$1.ZodString>;
348
+ icon: z$1.ZodObject<{
349
+ glyph: z$1.ZodString;
350
+ }, z$1.core.$strip>;
351
+ label: z$1.ZodObject<{
352
+ completed: z$1.ZodString;
353
+ pending: z$1.ZodString;
354
+ }, z$1.core.$strip>;
355
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
356
+ tint: z$1.ZodOptional<z$1.ZodObject<{
357
+ dark: z$1.ZodString;
358
+ light: z$1.ZodString;
359
+ }, z$1.core.$strip>>;
360
+ title: z$1.ZodOptional<z$1.ZodString>;
361
+ }, z$1.core.$strip>;
362
+ type ThreadEventItemPresentation = z$1.infer<typeof threadEventItemPresentationSchema>;
363
+
316
364
  declare const pendingInteractionResolutionSchema: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
317
365
  decision: z$1.ZodLiteral<"allow_once">;
318
366
  grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
@@ -345,9 +393,12 @@ declare const pendingInteractionResolutionSchema: z$1.ZodUnion<readonly [z$1.Zod
345
393
  kind: z$1.ZodLiteral<"user_answer">;
346
394
  }, z$1.core.$strip>, z$1.ZodObject<{
347
395
  kind: z$1.ZodLiteral<"plugin_submitted">;
396
+ }, z$1.core.$strip>, z$1.ZodObject<{
397
+ kind: z$1.ZodLiteral<"request_answer">;
398
+ value: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
348
399
  }, z$1.core.$strip>]>;
349
400
  type PendingInteractionResolution = z$1.infer<typeof pendingInteractionResolutionSchema>;
350
- declare const providerPendingInteractionSchema: z$1.ZodObject<{
401
+ declare const providerPendingInteractionSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
351
402
  createdAt: z$1.ZodNumber;
352
403
  expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
353
404
  id: z$1.ZodString;
@@ -357,7 +408,7 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
357
408
  providerRequestId: z$1.ZodString;
358
409
  providerThreadId: z$1.ZodString;
359
410
  }, z$1.core.$strip>>;
360
- payload: z$1.ZodUnion<readonly [z$1.ZodObject<{
411
+ payload: z$1.ZodObject<{
361
412
  availableDecisions: z$1.ZodArray<z$1.ZodEnum<{
362
413
  allow_for_session: "allow_for_session";
363
414
  allow_once: "allow_once";
@@ -449,25 +500,11 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
449
500
  }, z$1.core.$strip>;
450
501
  tool: z$1.ZodString;
451
502
  }, z$1.core.$strip>], "kind">;
452
- }, z$1.core.$strip>, z$1.ZodObject<{
453
- kind: z$1.ZodLiteral<"user_question">;
454
- questions: z$1.ZodArray<z$1.ZodObject<{
455
- allowFreeText: z$1.ZodBoolean;
456
- id: z$1.ZodString;
457
- multiSelect: z$1.ZodBoolean;
458
- options: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
459
- description: z$1.ZodOptional<z$1.ZodString>;
460
- label: z$1.ZodString;
461
- value: z$1.ZodString;
462
- }, z$1.core.$strip>>>;
463
- prompt: z$1.ZodString;
464
- shortLabel: z$1.ZodOptional<z$1.ZodString>;
465
- }, z$1.core.$strip>>;
466
- }, z$1.core.$strip>]>;
503
+ }, z$1.core.$strip>;
467
504
  providerId: z$1.ZodString;
468
505
  providerRequestId: z$1.ZodString;
469
506
  providerThreadId: z$1.ZodString;
470
- resolution: z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
507
+ resolution: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
471
508
  decision: z$1.ZodLiteral<"allow_once">;
472
509
  grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
473
510
  fileSystem: z$1.ZodNullable<z$1.ZodObject<{
@@ -491,13 +528,52 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
491
528
  }, z$1.core.$strict>>;
492
529
  }, z$1.core.$strip>, z$1.ZodObject<{
493
530
  decision: z$1.ZodLiteral<"deny">;
494
- }, z$1.core.$strip>], "decision">, z$1.ZodObject<{
531
+ }, z$1.core.$strip>], "decision">>;
532
+ resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
533
+ status: z$1.ZodEnum<{
534
+ interrupted: "interrupted";
535
+ pending: "pending";
536
+ resolved: "resolved";
537
+ resolving: "resolving";
538
+ }>;
539
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
540
+ threadId: z$1.ZodString;
541
+ turnId: z$1.ZodString;
542
+ }, z$1.core.$strip>, z$1.ZodObject<{
543
+ createdAt: z$1.ZodNumber;
544
+ expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
545
+ id: z$1.ZodString;
546
+ origin: z$1.ZodOptional<z$1.ZodObject<{
547
+ kind: z$1.ZodLiteral<"provider">;
548
+ providerId: z$1.ZodString;
549
+ providerRequestId: z$1.ZodString;
550
+ providerThreadId: z$1.ZodString;
551
+ }, z$1.core.$strip>>;
552
+ payload: z$1.ZodObject<{
553
+ kind: z$1.ZodLiteral<"user_question">;
554
+ questions: z$1.ZodArray<z$1.ZodObject<{
555
+ allowFreeText: z$1.ZodBoolean;
556
+ id: z$1.ZodString;
557
+ multiSelect: z$1.ZodBoolean;
558
+ options: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
559
+ description: z$1.ZodOptional<z$1.ZodString>;
560
+ label: z$1.ZodString;
561
+ value: z$1.ZodString;
562
+ }, z$1.core.$strip>>>;
563
+ prompt: z$1.ZodString;
564
+ shortLabel: z$1.ZodOptional<z$1.ZodString>;
565
+ }, z$1.core.$strip>>;
566
+ }, z$1.core.$strip>;
567
+ providerId: z$1.ZodString;
568
+ providerRequestId: z$1.ZodString;
569
+ providerThreadId: z$1.ZodString;
570
+ resolution: z$1.ZodNullable<z$1.ZodObject<{
495
571
  answers: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
496
572
  freeText: z$1.ZodOptional<z$1.ZodString>;
497
573
  selected: z$1.ZodArray<z$1.ZodString>;
498
574
  }, z$1.core.$strip>>;
499
575
  kind: z$1.ZodLiteral<"user_answer">;
500
- }, z$1.core.$strip>]>>;
576
+ }, z$1.core.$strip>>;
501
577
  resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
502
578
  status: z$1.ZodEnum<{
503
579
  interrupted: "interrupted";
@@ -508,7 +584,39 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
508
584
  statusReason: z$1.ZodNullable<z$1.ZodString>;
509
585
  threadId: z$1.ZodString;
510
586
  turnId: z$1.ZodString;
511
- }, z$1.core.$strip>;
587
+ }, z$1.core.$strip>, z$1.ZodObject<{
588
+ createdAt: z$1.ZodNumber;
589
+ expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
590
+ id: z$1.ZodString;
591
+ origin: z$1.ZodOptional<z$1.ZodObject<{
592
+ kind: z$1.ZodLiteral<"provider">;
593
+ providerId: z$1.ZodString;
594
+ providerRequestId: z$1.ZodString;
595
+ providerThreadId: z$1.ZodString;
596
+ }, z$1.core.$strip>>;
597
+ payload: z$1.ZodObject<{
598
+ data: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
599
+ kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
600
+ title: z$1.ZodString;
601
+ }, z$1.core.$strip>;
602
+ providerId: z$1.ZodString;
603
+ providerRequestId: z$1.ZodString;
604
+ providerThreadId: z$1.ZodString;
605
+ resolution: z$1.ZodNullable<z$1.ZodObject<{
606
+ kind: z$1.ZodLiteral<"request_answer">;
607
+ value: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
608
+ }, z$1.core.$strip>>;
609
+ resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
610
+ status: z$1.ZodEnum<{
611
+ interrupted: "interrupted";
612
+ pending: "pending";
613
+ resolved: "resolved";
614
+ resolving: "resolving";
615
+ }>;
616
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
617
+ threadId: z$1.ZodString;
618
+ turnId: z$1.ZodString;
619
+ }, z$1.core.$strip>]>;
512
620
  type ProviderPendingInteraction = z$1.infer<typeof providerPendingInteractionSchema>;
513
621
  declare const pluginPendingInteractionSchema: z$1.ZodObject<{
514
622
  createdAt: z$1.ZodNumber;
@@ -903,10 +1011,6 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
903
1011
  interrupted: "interrupted";
904
1012
  pending: "pending";
905
1013
  }>;
906
- statusLabels: z$1.ZodOptional<z$1.ZodObject<{
907
- completed: z$1.ZodString;
908
- pending: z$1.ZodString;
909
- }, z$1.core.$strip>>;
910
1014
  tool: z$1.ZodString;
911
1015
  truncation: z$1.ZodOptional<z$1.ZodObject<{
912
1016
  aggregatedOutput: z$1.ZodOptional<z$1.ZodObject<{
@@ -1468,10 +1572,6 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1468
1572
  interrupted: "interrupted";
1469
1573
  pending: "pending";
1470
1574
  }>;
1471
- statusLabels: z$1.ZodOptional<z$1.ZodObject<{
1472
- completed: z$1.ZodString;
1473
- pending: z$1.ZodString;
1474
- }, z$1.core.$strip>>;
1475
1575
  tool: z$1.ZodString;
1476
1576
  truncation: z$1.ZodOptional<z$1.ZodObject<{
1477
1577
  aggregatedOutput: z$1.ZodOptional<z$1.ZodObject<{
@@ -2532,6 +2632,215 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2532
2632
  status: z$1.ZodString;
2533
2633
  threadId: z$1.ZodString;
2534
2634
  type: z$1.ZodLiteral<"system/operation">;
2635
+ }, z$1.core.$strip>, z$1.ZodObject<{
2636
+ interaction: z$1.ZodUnion<readonly [z$1.ZodObject<{
2637
+ id: z$1.ZodString;
2638
+ origin: z$1.ZodObject<{
2639
+ kind: z$1.ZodLiteral<"provider">;
2640
+ providerId: z$1.ZodString;
2641
+ providerRequestId: z$1.ZodString;
2642
+ }, z$1.core.$strip>;
2643
+ payload: z$1.ZodObject<{
2644
+ kind: z$1.ZodLiteral<"approval">;
2645
+ reason: z$1.ZodNullable<z$1.ZodString>;
2646
+ subject: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2647
+ actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2648
+ command: z$1.ZodString;
2649
+ name: z$1.ZodString;
2650
+ path: z$1.ZodString;
2651
+ type: z$1.ZodLiteral<"read">;
2652
+ }, z$1.core.$strip>, z$1.ZodObject<{
2653
+ command: z$1.ZodString;
2654
+ path: z$1.ZodNullable<z$1.ZodString>;
2655
+ type: z$1.ZodLiteral<"listFiles">;
2656
+ }, z$1.core.$strip>, z$1.ZodObject<{
2657
+ command: z$1.ZodString;
2658
+ path: z$1.ZodNullable<z$1.ZodString>;
2659
+ query: z$1.ZodNullable<z$1.ZodString>;
2660
+ type: z$1.ZodLiteral<"search">;
2661
+ }, z$1.core.$strip>, z$1.ZodObject<{
2662
+ command: z$1.ZodString;
2663
+ type: z$1.ZodLiteral<"unknown">;
2664
+ }, z$1.core.$strip>], "type">>;
2665
+ command: z$1.ZodString;
2666
+ cwd: z$1.ZodNullable<z$1.ZodString>;
2667
+ itemId: z$1.ZodString;
2668
+ kind: z$1.ZodLiteral<"command">;
2669
+ sessionGrant: z$1.ZodNullable<z$1.ZodObject<{
2670
+ fileSystem: z$1.ZodNullable<z$1.ZodObject<{
2671
+ read: z$1.ZodArray<z$1.ZodString>;
2672
+ write: z$1.ZodArray<z$1.ZodString>;
2673
+ }, z$1.core.$strip>>;
2674
+ network: z$1.ZodNullable<z$1.ZodObject<{
2675
+ enabled: z$1.ZodNullable<z$1.ZodBoolean>;
2676
+ }, z$1.core.$strip>>;
2677
+ }, z$1.core.$strict>>;
2678
+ }, z$1.core.$strip>, z$1.ZodObject<{
2679
+ itemId: z$1.ZodString;
2680
+ kind: z$1.ZodLiteral<"file_change">;
2681
+ sessionGrant: z$1.ZodNullable<z$1.ZodObject<{
2682
+ fileSystem: z$1.ZodNullable<z$1.ZodObject<{
2683
+ read: z$1.ZodArray<z$1.ZodString>;
2684
+ write: z$1.ZodArray<z$1.ZodString>;
2685
+ }, z$1.core.$strip>>;
2686
+ network: z$1.ZodNullable<z$1.ZodObject<{
2687
+ enabled: z$1.ZodNullable<z$1.ZodBoolean>;
2688
+ }, z$1.core.$strip>>;
2689
+ }, z$1.core.$strict>>;
2690
+ writeScope: z$1.ZodNullable<z$1.ZodString>;
2691
+ }, z$1.core.$strip>, z$1.ZodObject<{
2692
+ itemId: z$1.ZodString;
2693
+ kind: z$1.ZodLiteral<"permission_grant">;
2694
+ permissions: z$1.ZodObject<{
2695
+ fileSystem: z$1.ZodNullable<z$1.ZodObject<{
2696
+ read: z$1.ZodArray<z$1.ZodString>;
2697
+ write: z$1.ZodArray<z$1.ZodString>;
2698
+ }, z$1.core.$strip>>;
2699
+ network: z$1.ZodNullable<z$1.ZodObject<{
2700
+ enabled: z$1.ZodNullable<z$1.ZodBoolean>;
2701
+ }, z$1.core.$strip>>;
2702
+ }, z$1.core.$strict>;
2703
+ toolName: z$1.ZodNullable<z$1.ZodString>;
2704
+ }, z$1.core.$strip>, z$1.ZodObject<{
2705
+ itemId: z$1.ZodString;
2706
+ kind: z$1.ZodLiteral<"plan">;
2707
+ plan: z$1.ZodString;
2708
+ planFilePath: z$1.ZodNullable<z$1.ZodString>;
2709
+ }, z$1.core.$strip>, z$1.ZodObject<{
2710
+ itemId: z$1.ZodString;
2711
+ kind: z$1.ZodLiteral<"tool_use">;
2712
+ presentation: z$1.ZodObject<{
2713
+ detail: z$1.ZodOptional<z$1.ZodString>;
2714
+ icon: z$1.ZodObject<{
2715
+ glyph: z$1.ZodString;
2716
+ }, z$1.core.$strip>;
2717
+ label: z$1.ZodObject<{
2718
+ completed: z$1.ZodString;
2719
+ pending: z$1.ZodString;
2720
+ }, z$1.core.$strip>;
2721
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
2722
+ tint: z$1.ZodOptional<z$1.ZodObject<{
2723
+ dark: z$1.ZodString;
2724
+ light: z$1.ZodString;
2725
+ }, z$1.core.$strip>>;
2726
+ title: z$1.ZodOptional<z$1.ZodString>;
2727
+ }, z$1.core.$strip>;
2728
+ tool: z$1.ZodString;
2729
+ }, z$1.core.$strip>], "kind">;
2730
+ }, z$1.core.$strip>;
2731
+ resolution: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2732
+ decision: z$1.ZodLiteral<"allow_once">;
2733
+ grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
2734
+ fileSystem: z$1.ZodNullable<z$1.ZodObject<{
2735
+ read: z$1.ZodArray<z$1.ZodString>;
2736
+ write: z$1.ZodArray<z$1.ZodString>;
2737
+ }, z$1.core.$strip>>;
2738
+ network: z$1.ZodNullable<z$1.ZodObject<{
2739
+ enabled: z$1.ZodNullable<z$1.ZodBoolean>;
2740
+ }, z$1.core.$strip>>;
2741
+ }, z$1.core.$strict>>;
2742
+ }, z$1.core.$strip>, z$1.ZodObject<{
2743
+ decision: z$1.ZodLiteral<"allow_for_session">;
2744
+ grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
2745
+ fileSystem: z$1.ZodNullable<z$1.ZodObject<{
2746
+ read: z$1.ZodArray<z$1.ZodString>;
2747
+ write: z$1.ZodArray<z$1.ZodString>;
2748
+ }, z$1.core.$strip>>;
2749
+ network: z$1.ZodNullable<z$1.ZodObject<{
2750
+ enabled: z$1.ZodNullable<z$1.ZodBoolean>;
2751
+ }, z$1.core.$strip>>;
2752
+ }, z$1.core.$strict>>;
2753
+ }, z$1.core.$strip>, z$1.ZodObject<{
2754
+ decision: z$1.ZodLiteral<"deny">;
2755
+ }, z$1.core.$strip>], "decision">>;
2756
+ status: z$1.ZodEnum<{
2757
+ interrupted: "interrupted";
2758
+ pending: "pending";
2759
+ resolved: "resolved";
2760
+ resolving: "resolving";
2761
+ }>;
2762
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
2763
+ }, z$1.core.$strip>, z$1.ZodObject<{
2764
+ id: z$1.ZodString;
2765
+ origin: z$1.ZodObject<{
2766
+ kind: z$1.ZodLiteral<"provider">;
2767
+ providerId: z$1.ZodString;
2768
+ providerRequestId: z$1.ZodString;
2769
+ }, z$1.core.$strip>;
2770
+ payload: z$1.ZodObject<{
2771
+ kind: z$1.ZodLiteral<"user_question">;
2772
+ questions: z$1.ZodArray<z$1.ZodObject<{
2773
+ allowFreeText: z$1.ZodBoolean;
2774
+ id: z$1.ZodString;
2775
+ multiSelect: z$1.ZodBoolean;
2776
+ options: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2777
+ description: z$1.ZodOptional<z$1.ZodString>;
2778
+ label: z$1.ZodString;
2779
+ value: z$1.ZodString;
2780
+ }, z$1.core.$strip>>>;
2781
+ prompt: z$1.ZodString;
2782
+ shortLabel: z$1.ZodOptional<z$1.ZodString>;
2783
+ }, z$1.core.$strip>>;
2784
+ }, z$1.core.$strip>;
2785
+ resolution: z$1.ZodNullable<z$1.ZodObject<{
2786
+ answers: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
2787
+ freeText: z$1.ZodOptional<z$1.ZodString>;
2788
+ selected: z$1.ZodArray<z$1.ZodString>;
2789
+ }, z$1.core.$strip>>;
2790
+ kind: z$1.ZodLiteral<"user_answer">;
2791
+ }, z$1.core.$strip>>;
2792
+ status: z$1.ZodEnum<{
2793
+ interrupted: "interrupted";
2794
+ pending: "pending";
2795
+ resolved: "resolved";
2796
+ resolving: "resolving";
2797
+ }>;
2798
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
2799
+ }, z$1.core.$strip>, z$1.ZodObject<{
2800
+ id: z$1.ZodString;
2801
+ origin: z$1.ZodObject<{
2802
+ kind: z$1.ZodLiteral<"plugin">;
2803
+ pluginId: z$1.ZodString;
2804
+ rendererId: z$1.ZodString;
2805
+ }, z$1.core.$strip>;
2806
+ payload: z$1.ZodObject<{
2807
+ kind: z$1.ZodLiteral<"plugin">;
2808
+ title: z$1.ZodString;
2809
+ }, z$1.core.$strip>;
2810
+ resolution: z$1.ZodNullable<z$1.ZodObject<{
2811
+ kind: z$1.ZodLiteral<"plugin_submitted">;
2812
+ }, z$1.core.$strip>>;
2813
+ status: z$1.ZodEnum<{
2814
+ interrupted: "interrupted";
2815
+ pending: "pending";
2816
+ resolved: "resolved";
2817
+ resolving: "resolving";
2818
+ }>;
2819
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
2820
+ }, z$1.core.$strip>, z$1.ZodObject<{
2821
+ id: z$1.ZodString;
2822
+ origin: z$1.ZodObject<{
2823
+ kind: z$1.ZodLiteral<"provider">;
2824
+ providerId: z$1.ZodString;
2825
+ providerRequestId: z$1.ZodString;
2826
+ }, z$1.core.$strip>;
2827
+ payload: z$1.ZodObject<{
2828
+ kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
2829
+ title: z$1.ZodString;
2830
+ }, z$1.core.$strip>;
2831
+ resolution: z$1.ZodNullable<z$1.ZodObject<{
2832
+ kind: z$1.ZodLiteral<"request_answer">;
2833
+ }, z$1.core.$strip>>;
2834
+ status: z$1.ZodEnum<{
2835
+ interrupted: "interrupted";
2836
+ pending: "pending";
2837
+ resolved: "resolved";
2838
+ resolving: "resolving";
2839
+ }>;
2840
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
2841
+ }, z$1.core.$strip>]>;
2842
+ threadId: z$1.ZodString;
2843
+ type: z$1.ZodLiteral<"system/interaction/lifecycle">;
2535
2844
  }, z$1.core.$strip>, z$1.ZodObject<{
2536
2845
  interactionId: z$1.ZodString;
2537
2846
  providerId: z$1.ZodString;
@@ -2862,6 +3171,10 @@ type ProviderFork = (typeof PROVIDER_FORK_VALUES)[number];
2862
3171
  declare const providerInfoSchema: z$1.ZodObject<{
2863
3172
  available: z$1.ZodBoolean;
2864
3173
  capabilities: z$1.ZodObject<{
3174
+ modelCatalogScope: z$1.ZodEnum<{
3175
+ host: "host";
3176
+ workspace: "workspace";
3177
+ }>;
2865
3178
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
2866
3179
  "accept-edits": "accept-edits";
2867
3180
  auto: "auto";
@@ -2899,16 +3212,22 @@ declare const providerInfoSchema: z$1.ZodObject<{
2899
3212
  kind: z$1.ZodLiteral<"goal">;
2900
3213
  }, z$1.core.$strip>], "kind">>;
2901
3214
  displayName: z$1.ZodString;
2902
- experimental_providerHealth: z$1.ZodBoolean;
2903
- experimental_providerInstallation: z$1.ZodBoolean;
2904
- experimental_providerUsage: z$1.ZodBoolean;
2905
3215
  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<{
2906
3216
  item: z$1.ZodBoolean;
2907
3217
  state: z$1.ZodBoolean;
2908
3218
  }, z$1.core.$strip>>>;
2909
3219
  family: z$1.ZodOptional<z$1.ZodString>;
3220
+ icon: z$1.ZodOptional<z$1.ZodObject<{
3221
+ glyph: z$1.ZodString;
3222
+ }, z$1.core.$strip>>;
2910
3223
  id: z$1.ZodString;
2911
3224
  logoUrl: z$1.ZodNullable<z$1.ZodString>;
3225
+ maintenance: z$1.ZodObject<{
3226
+ health: z$1.ZodBoolean;
3227
+ installation: z$1.ZodBoolean;
3228
+ usage: z$1.ZodBoolean;
3229
+ }, z$1.core.$strip>;
3230
+ pluginId: z$1.ZodString;
2912
3231
  reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2913
3232
  description: z$1.ZodOptional<z$1.ZodString>;
2914
3233
  id: z$1.ZodString;
@@ -4465,115 +4784,19 @@ declare const hostDaemonCommandRegistry: {
4465
4784
  type: z$1.ZodLiteral<"thread.rewind.discard">;
4466
4785
  }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
4467
4786
  "thread.rewind.prepare": HostDaemonCommandDescriptor<"thread.rewind.prepare", z$1.ZodObject<{
4468
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
4469
- args: z$1.ZodArray<z$1.ZodString>;
4470
- command: z$1.ZodString;
4471
- cwd: z$1.ZodOptional<z$1.ZodString>;
4472
- displayName: z$1.ZodString;
4473
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
4474
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
4475
- listArgs: z$1.ZodArray<z$1.ZodString>;
4476
- primaryModels: z$1.ZodArray<z$1.ZodString>;
4477
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
4478
- }, z$1.core.$strict>, z$1.ZodTransform<{
4479
- listArgs: string[];
4480
- primaryModels: string[];
4481
- selectFlag?: string | undefined;
4482
- } | undefined, {
4483
- listArgs: string[];
4484
- primaryModels: string[];
4485
- selectFlag?: string | undefined;
4486
- }>>>;
4487
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
4488
- configId: z$1.ZodString;
4489
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4490
- high: "high";
4491
- low: "low";
4492
- max: "max";
4493
- medium: "medium";
4787
+ bridgeLaunch: z$1.ZodObject<{
4788
+ capabilities: z$1.ZodObject<{
4789
+ fork: z$1.ZodEnum<{
4790
+ checkpoint: "checkpoint";
4494
4791
  none: "none";
4495
- ultra: "ultra";
4496
- ultracode: "ultracode";
4497
- xhigh: "xhigh";
4498
- }>>;
4499
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4500
- high: "high";
4501
- low: "low";
4502
- max: "max";
4503
- medium: "medium";
4504
- none: "none";
4505
- ultra: "ultra";
4506
- ultracode: "ultracode";
4507
- xhigh: "xhigh";
4508
- }> & z$1.core.$partial, z$1.ZodString>>;
4509
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4510
- high: "high";
4511
- low: "low";
4512
- max: "max";
4513
- medium: "medium";
4514
- none: "none";
4515
- ultra: "ultra";
4516
- ultracode: "ultracode";
4517
- xhigh: "xhigh";
4518
- }>>;
4519
- }, z$1.core.$strict>>;
4520
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
4521
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4522
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4523
- }, z$1.core.$strict>>;
4524
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
4525
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4526
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
4527
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4528
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4529
- }, z$1.core.$strict>>;
4530
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
4531
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4532
- high: "high";
4533
- low: "low";
4534
- max: "max";
4535
- medium: "medium";
4536
- none: "none";
4537
- ultra: "ultra";
4538
- ultracode: "ultracode";
4539
- xhigh: "xhigh";
4540
- }>>;
4541
- flag: z$1.ZodString;
4542
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4543
- high: "high";
4544
- low: "low";
4545
- max: "max";
4546
- medium: "medium";
4547
- none: "none";
4548
- ultra: "ultra";
4549
- ultracode: "ultracode";
4550
- xhigh: "xhigh";
4551
- }> & z$1.core.$partial, z$1.ZodString>>;
4552
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4553
- high: "high";
4554
- low: "low";
4555
- max: "max";
4556
- medium: "medium";
4557
- none: "none";
4558
- ultra: "ultra";
4559
- ultracode: "ultracode";
4560
- xhigh: "xhigh";
4561
- }>>;
4562
- }, z$1.core.$strict>>;
4563
- }, z$1.core.$strict>>;
4564
- bridgeLaunch: z$1.ZodObject<{
4565
- capabilities: z$1.ZodObject<{
4566
- experimental_providerInstallation: z$1.ZodBoolean;
4567
- fork: z$1.ZodEnum<{
4568
- checkpoint: "checkpoint";
4569
- none: "none";
4570
- tip: "tip";
4571
- }>;
4572
- permissionModes: z$1.ZodArray<z$1.ZodEnum<{
4573
- "accept-edits": "accept-edits";
4574
- auto: "auto";
4575
- full: "full";
4792
+ tip: "tip";
4793
+ }>;
4794
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
4795
+ "accept-edits": "accept-edits";
4796
+ auto: "auto";
4797
+ full: "full";
4576
4798
  }>>;
4799
+ providerInstallation: z$1.ZodBoolean;
4577
4800
  supportsServiceTier: z$1.ZodBoolean;
4578
4801
  supportsThreadArchive: z$1.ZodBoolean;
4579
4802
  supportsThreadRename: z$1.ZodBoolean;
@@ -4581,14 +4804,11 @@ declare const hostDaemonCommandRegistry: {
4581
4804
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
4582
4805
  pluginId: z$1.ZodString;
4583
4806
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4584
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4807
+ source: z$1.ZodObject<{
4585
4808
  byteLength: z$1.ZodNumber;
4586
4809
  digest: z$1.ZodString;
4587
4810
  kind: z$1.ZodLiteral<"artifact">;
4588
- }, z$1.core.$strict>, z$1.ZodObject<{
4589
- id: z$1.ZodString;
4590
- kind: z$1.ZodLiteral<"daemon-bundled">;
4591
- }, z$1.core.$strict>], "kind">;
4811
+ }, z$1.core.$strict>;
4592
4812
  }, z$1.core.$strict>;
4593
4813
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4594
4814
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -4705,105 +4925,8 @@ declare const hostDaemonCommandRegistry: {
4705
4925
  providerThreadId: z$1.ZodString;
4706
4926
  }, z$1.core.$strip>, "settled", false>;
4707
4927
  "thread.start": HostDaemonCommandDescriptor<"thread.start", z$1.ZodObject<{
4708
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
4709
- args: z$1.ZodArray<z$1.ZodString>;
4710
- command: z$1.ZodString;
4711
- cwd: z$1.ZodOptional<z$1.ZodString>;
4712
- displayName: z$1.ZodString;
4713
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
4714
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
4715
- listArgs: z$1.ZodArray<z$1.ZodString>;
4716
- primaryModels: z$1.ZodArray<z$1.ZodString>;
4717
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
4718
- }, z$1.core.$strict>, z$1.ZodTransform<{
4719
- listArgs: string[];
4720
- primaryModels: string[];
4721
- selectFlag?: string | undefined;
4722
- } | undefined, {
4723
- listArgs: string[];
4724
- primaryModels: string[];
4725
- selectFlag?: string | undefined;
4726
- }>>>;
4727
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
4728
- configId: z$1.ZodString;
4729
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4730
- high: "high";
4731
- low: "low";
4732
- max: "max";
4733
- medium: "medium";
4734
- none: "none";
4735
- ultra: "ultra";
4736
- ultracode: "ultracode";
4737
- xhigh: "xhigh";
4738
- }>>;
4739
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4740
- high: "high";
4741
- low: "low";
4742
- max: "max";
4743
- medium: "medium";
4744
- none: "none";
4745
- ultra: "ultra";
4746
- ultracode: "ultracode";
4747
- xhigh: "xhigh";
4748
- }> & z$1.core.$partial, z$1.ZodString>>;
4749
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4750
- high: "high";
4751
- low: "low";
4752
- max: "max";
4753
- medium: "medium";
4754
- none: "none";
4755
- ultra: "ultra";
4756
- ultracode: "ultracode";
4757
- xhigh: "xhigh";
4758
- }>>;
4759
- }, z$1.core.$strict>>;
4760
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
4761
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4762
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4763
- }, z$1.core.$strict>>;
4764
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
4765
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4766
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
4767
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4768
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4769
- }, z$1.core.$strict>>;
4770
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
4771
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4772
- high: "high";
4773
- low: "low";
4774
- max: "max";
4775
- medium: "medium";
4776
- none: "none";
4777
- ultra: "ultra";
4778
- ultracode: "ultracode";
4779
- xhigh: "xhigh";
4780
- }>>;
4781
- flag: z$1.ZodString;
4782
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4783
- high: "high";
4784
- low: "low";
4785
- max: "max";
4786
- medium: "medium";
4787
- none: "none";
4788
- ultra: "ultra";
4789
- ultracode: "ultracode";
4790
- xhigh: "xhigh";
4791
- }> & z$1.core.$partial, z$1.ZodString>>;
4792
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4793
- high: "high";
4794
- low: "low";
4795
- max: "max";
4796
- medium: "medium";
4797
- none: "none";
4798
- ultra: "ultra";
4799
- ultracode: "ultracode";
4800
- xhigh: "xhigh";
4801
- }>>;
4802
- }, z$1.core.$strict>>;
4803
- }, z$1.core.$strict>>;
4804
4928
  bridgeLaunch: z$1.ZodObject<{
4805
4929
  capabilities: z$1.ZodObject<{
4806
- experimental_providerInstallation: z$1.ZodBoolean;
4807
4930
  fork: z$1.ZodEnum<{
4808
4931
  checkpoint: "checkpoint";
4809
4932
  none: "none";
@@ -4814,6 +4937,7 @@ declare const hostDaemonCommandRegistry: {
4814
4937
  auto: "auto";
4815
4938
  full: "full";
4816
4939
  }>>;
4940
+ providerInstallation: z$1.ZodBoolean;
4817
4941
  supportsServiceTier: z$1.ZodBoolean;
4818
4942
  supportsThreadArchive: z$1.ZodBoolean;
4819
4943
  supportsThreadRename: z$1.ZodBoolean;
@@ -4821,14 +4945,11 @@ declare const hostDaemonCommandRegistry: {
4821
4945
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
4822
4946
  pluginId: z$1.ZodString;
4823
4947
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4824
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4948
+ source: z$1.ZodObject<{
4825
4949
  byteLength: z$1.ZodNumber;
4826
4950
  digest: z$1.ZodString;
4827
4951
  kind: z$1.ZodLiteral<"artifact">;
4828
- }, z$1.core.$strict>, z$1.ZodObject<{
4829
- id: z$1.ZodString;
4830
- kind: z$1.ZodLiteral<"daemon-bundled">;
4831
- }, z$1.core.$strict>], "kind">;
4952
+ }, z$1.core.$strict>;
4832
4953
  }, z$1.core.$strict>;
4833
4954
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4834
4955
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -5110,105 +5231,8 @@ declare const hostDaemonCommandRegistry: {
5110
5231
  providerThreadId: z$1.ZodString;
5111
5232
  }, z$1.core.$strip>, "settled", false>;
5112
5233
  "turn.submit": HostDaemonCommandDescriptor<"turn.submit", z$1.ZodObject<{
5113
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5114
- args: z$1.ZodArray<z$1.ZodString>;
5115
- command: z$1.ZodString;
5116
- cwd: z$1.ZodOptional<z$1.ZodString>;
5117
- displayName: z$1.ZodString;
5118
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5119
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5120
- listArgs: z$1.ZodArray<z$1.ZodString>;
5121
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5122
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5123
- }, z$1.core.$strict>, z$1.ZodTransform<{
5124
- listArgs: string[];
5125
- primaryModels: string[];
5126
- selectFlag?: string | undefined;
5127
- } | undefined, {
5128
- listArgs: string[];
5129
- primaryModels: string[];
5130
- selectFlag?: string | undefined;
5131
- }>>>;
5132
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5133
- configId: z$1.ZodString;
5134
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5135
- high: "high";
5136
- low: "low";
5137
- max: "max";
5138
- medium: "medium";
5139
- none: "none";
5140
- ultra: "ultra";
5141
- ultracode: "ultracode";
5142
- xhigh: "xhigh";
5143
- }>>;
5144
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5145
- high: "high";
5146
- low: "low";
5147
- max: "max";
5148
- medium: "medium";
5149
- none: "none";
5150
- ultra: "ultra";
5151
- ultracode: "ultracode";
5152
- xhigh: "xhigh";
5153
- }> & z$1.core.$partial, z$1.ZodString>>;
5154
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5155
- high: "high";
5156
- low: "low";
5157
- max: "max";
5158
- medium: "medium";
5159
- none: "none";
5160
- ultra: "ultra";
5161
- ultracode: "ultracode";
5162
- xhigh: "xhigh";
5163
- }>>;
5164
- }, z$1.core.$strict>>;
5165
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5166
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5167
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5168
- }, z$1.core.$strict>>;
5169
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5170
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5171
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5172
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5173
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5174
- }, z$1.core.$strict>>;
5175
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5176
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5177
- high: "high";
5178
- low: "low";
5179
- max: "max";
5180
- medium: "medium";
5181
- none: "none";
5182
- ultra: "ultra";
5183
- ultracode: "ultracode";
5184
- xhigh: "xhigh";
5185
- }>>;
5186
- flag: z$1.ZodString;
5187
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5188
- high: "high";
5189
- low: "low";
5190
- max: "max";
5191
- medium: "medium";
5192
- none: "none";
5193
- ultra: "ultra";
5194
- ultracode: "ultracode";
5195
- xhigh: "xhigh";
5196
- }> & z$1.core.$partial, z$1.ZodString>>;
5197
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5198
- high: "high";
5199
- low: "low";
5200
- max: "max";
5201
- medium: "medium";
5202
- none: "none";
5203
- ultra: "ultra";
5204
- ultracode: "ultracode";
5205
- xhigh: "xhigh";
5206
- }>>;
5207
- }, z$1.core.$strict>>;
5208
- }, z$1.core.$strict>>;
5209
5234
  bridgeLaunch: z$1.ZodObject<{
5210
5235
  capabilities: z$1.ZodObject<{
5211
- experimental_providerInstallation: z$1.ZodBoolean;
5212
5236
  fork: z$1.ZodEnum<{
5213
5237
  checkpoint: "checkpoint";
5214
5238
  none: "none";
@@ -5219,6 +5243,7 @@ declare const hostDaemonCommandRegistry: {
5219
5243
  auto: "auto";
5220
5244
  full: "full";
5221
5245
  }>>;
5246
+ providerInstallation: z$1.ZodBoolean;
5222
5247
  supportsServiceTier: z$1.ZodBoolean;
5223
5248
  supportsThreadArchive: z$1.ZodBoolean;
5224
5249
  supportsThreadRename: z$1.ZodBoolean;
@@ -5226,14 +5251,11 @@ declare const hostDaemonCommandRegistry: {
5226
5251
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5227
5252
  pluginId: z$1.ZodString;
5228
5253
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5229
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5254
+ source: z$1.ZodObject<{
5230
5255
  byteLength: z$1.ZodNumber;
5231
5256
  digest: z$1.ZodString;
5232
5257
  kind: z$1.ZodLiteral<"artifact">;
5233
- }, z$1.core.$strict>, z$1.ZodObject<{
5234
- id: z$1.ZodString;
5235
- kind: z$1.ZodLiteral<"daemon-bundled">;
5236
- }, z$1.core.$strict>], "kind">;
5258
+ }, z$1.core.$strict>;
5237
5259
  }, z$1.core.$strict>;
5238
5260
  environmentId: z$1.ZodString;
5239
5261
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -5440,105 +5462,8 @@ declare const hostDaemonCommandRegistry: {
5440
5462
  }, z$1.core.$strip>], "permissionMode">>;
5441
5463
  requestId: z$1.ZodString;
5442
5464
  resumeContext: z$1.ZodObject<{
5443
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5444
- args: z$1.ZodArray<z$1.ZodString>;
5445
- command: z$1.ZodString;
5446
- cwd: z$1.ZodOptional<z$1.ZodString>;
5447
- displayName: z$1.ZodString;
5448
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5449
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5450
- listArgs: z$1.ZodArray<z$1.ZodString>;
5451
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5452
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5453
- }, z$1.core.$strict>, z$1.ZodTransform<{
5454
- listArgs: string[];
5455
- primaryModels: string[];
5456
- selectFlag?: string | undefined;
5457
- } | undefined, {
5458
- listArgs: string[];
5459
- primaryModels: string[];
5460
- selectFlag?: string | undefined;
5461
- }>>>;
5462
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5463
- configId: z$1.ZodString;
5464
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5465
- high: "high";
5466
- low: "low";
5467
- max: "max";
5468
- medium: "medium";
5469
- none: "none";
5470
- ultra: "ultra";
5471
- ultracode: "ultracode";
5472
- xhigh: "xhigh";
5473
- }>>;
5474
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5475
- high: "high";
5476
- low: "low";
5477
- max: "max";
5478
- medium: "medium";
5479
- none: "none";
5480
- ultra: "ultra";
5481
- ultracode: "ultracode";
5482
- xhigh: "xhigh";
5483
- }> & z$1.core.$partial, z$1.ZodString>>;
5484
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5485
- high: "high";
5486
- low: "low";
5487
- max: "max";
5488
- medium: "medium";
5489
- none: "none";
5490
- ultra: "ultra";
5491
- ultracode: "ultracode";
5492
- xhigh: "xhigh";
5493
- }>>;
5494
- }, z$1.core.$strict>>;
5495
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5496
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5497
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5498
- }, z$1.core.$strict>>;
5499
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5500
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5501
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5502
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5503
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5504
- }, z$1.core.$strict>>;
5505
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5506
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5507
- high: "high";
5508
- low: "low";
5509
- max: "max";
5510
- medium: "medium";
5511
- none: "none";
5512
- ultra: "ultra";
5513
- ultracode: "ultracode";
5514
- xhigh: "xhigh";
5515
- }>>;
5516
- flag: z$1.ZodString;
5517
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5518
- high: "high";
5519
- low: "low";
5520
- max: "max";
5521
- medium: "medium";
5522
- none: "none";
5523
- ultra: "ultra";
5524
- ultracode: "ultracode";
5525
- xhigh: "xhigh";
5526
- }> & z$1.core.$partial, z$1.ZodString>>;
5527
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5528
- high: "high";
5529
- low: "low";
5530
- max: "max";
5531
- medium: "medium";
5532
- none: "none";
5533
- ultra: "ultra";
5534
- ultracode: "ultracode";
5535
- xhigh: "xhigh";
5536
- }>>;
5537
- }, z$1.core.$strict>>;
5538
- }, z$1.core.$strict>>;
5539
5465
  bridgeLaunch: z$1.ZodObject<{
5540
5466
  capabilities: z$1.ZodObject<{
5541
- experimental_providerInstallation: z$1.ZodBoolean;
5542
5467
  fork: z$1.ZodEnum<{
5543
5468
  checkpoint: "checkpoint";
5544
5469
  none: "none";
@@ -5549,6 +5474,7 @@ declare const hostDaemonCommandRegistry: {
5549
5474
  auto: "auto";
5550
5475
  full: "full";
5551
5476
  }>>;
5477
+ providerInstallation: z$1.ZodBoolean;
5552
5478
  supportsServiceTier: z$1.ZodBoolean;
5553
5479
  supportsThreadArchive: z$1.ZodBoolean;
5554
5480
  supportsThreadRename: z$1.ZodBoolean;
@@ -5556,14 +5482,11 @@ declare const hostDaemonCommandRegistry: {
5556
5482
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5557
5483
  pluginId: z$1.ZodString;
5558
5484
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5559
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5485
+ source: z$1.ZodObject<{
5560
5486
  byteLength: z$1.ZodNumber;
5561
5487
  digest: z$1.ZodString;
5562
5488
  kind: z$1.ZodLiteral<"artifact">;
5563
- }, z$1.core.$strict>, z$1.ZodObject<{
5564
- id: z$1.ZodString;
5565
- kind: z$1.ZodLiteral<"daemon-bundled">;
5566
- }, z$1.core.$strict>], "kind">;
5489
+ }, z$1.core.$strict>;
5567
5490
  }, z$1.core.$strict>;
5568
5491
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5569
5492
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -5661,115 +5584,19 @@ declare const hostDaemonCommandRegistry: {
5661
5584
  providerCheckpointId: z$1.ZodNullable<z$1.ZodString>;
5662
5585
  }, z$1.core.$strict>, "settled", false>;
5663
5586
  "thread.goal.clear": HostDaemonCommandDescriptor<"thread.goal.clear", z$1.ZodObject<{
5664
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5665
- args: z$1.ZodArray<z$1.ZodString>;
5666
- command: z$1.ZodString;
5667
- cwd: z$1.ZodOptional<z$1.ZodString>;
5668
- displayName: z$1.ZodString;
5669
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5670
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5671
- listArgs: z$1.ZodArray<z$1.ZodString>;
5672
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5673
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5674
- }, z$1.core.$strict>, z$1.ZodTransform<{
5675
- listArgs: string[];
5676
- primaryModels: string[];
5677
- selectFlag?: string | undefined;
5678
- } | undefined, {
5679
- listArgs: string[];
5680
- primaryModels: string[];
5681
- selectFlag?: string | undefined;
5682
- }>>>;
5683
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5684
- configId: z$1.ZodString;
5685
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5686
- high: "high";
5687
- low: "low";
5688
- max: "max";
5689
- medium: "medium";
5690
- none: "none";
5691
- ultra: "ultra";
5692
- ultracode: "ultracode";
5693
- xhigh: "xhigh";
5694
- }>>;
5695
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5696
- high: "high";
5697
- low: "low";
5698
- max: "max";
5699
- medium: "medium";
5700
- none: "none";
5701
- ultra: "ultra";
5702
- ultracode: "ultracode";
5703
- xhigh: "xhigh";
5704
- }> & z$1.core.$partial, z$1.ZodString>>;
5705
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5706
- high: "high";
5707
- low: "low";
5708
- max: "max";
5709
- medium: "medium";
5710
- none: "none";
5711
- ultra: "ultra";
5712
- ultracode: "ultracode";
5713
- xhigh: "xhigh";
5714
- }>>;
5715
- }, z$1.core.$strict>>;
5716
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5717
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5718
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5719
- }, z$1.core.$strict>>;
5720
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5721
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5722
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5723
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5724
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5725
- }, z$1.core.$strict>>;
5726
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5727
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5728
- high: "high";
5729
- low: "low";
5730
- max: "max";
5731
- medium: "medium";
5587
+ bridgeLaunch: z$1.ZodObject<{
5588
+ capabilities: z$1.ZodObject<{
5589
+ fork: z$1.ZodEnum<{
5590
+ checkpoint: "checkpoint";
5732
5591
  none: "none";
5733
- ultra: "ultra";
5734
- ultracode: "ultracode";
5735
- xhigh: "xhigh";
5736
- }>>;
5737
- flag: z$1.ZodString;
5738
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5739
- high: "high";
5740
- low: "low";
5741
- max: "max";
5742
- medium: "medium";
5743
- none: "none";
5744
- ultra: "ultra";
5745
- ultracode: "ultracode";
5746
- xhigh: "xhigh";
5747
- }> & z$1.core.$partial, z$1.ZodString>>;
5748
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5749
- high: "high";
5750
- low: "low";
5751
- max: "max";
5752
- medium: "medium";
5753
- none: "none";
5754
- ultra: "ultra";
5755
- ultracode: "ultracode";
5756
- xhigh: "xhigh";
5757
- }>>;
5758
- }, z$1.core.$strict>>;
5759
- }, z$1.core.$strict>>;
5760
- bridgeLaunch: z$1.ZodObject<{
5761
- capabilities: z$1.ZodObject<{
5762
- experimental_providerInstallation: z$1.ZodBoolean;
5763
- fork: z$1.ZodEnum<{
5764
- checkpoint: "checkpoint";
5765
- none: "none";
5766
- tip: "tip";
5767
- }>;
5768
- permissionModes: z$1.ZodArray<z$1.ZodEnum<{
5769
- "accept-edits": "accept-edits";
5770
- auto: "auto";
5771
- full: "full";
5592
+ tip: "tip";
5593
+ }>;
5594
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
5595
+ "accept-edits": "accept-edits";
5596
+ auto: "auto";
5597
+ full: "full";
5772
5598
  }>>;
5599
+ providerInstallation: z$1.ZodBoolean;
5773
5600
  supportsServiceTier: z$1.ZodBoolean;
5774
5601
  supportsThreadArchive: z$1.ZodBoolean;
5775
5602
  supportsThreadRename: z$1.ZodBoolean;
@@ -5777,14 +5604,11 @@ declare const hostDaemonCommandRegistry: {
5777
5604
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5778
5605
  pluginId: z$1.ZodString;
5779
5606
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5780
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5607
+ source: z$1.ZodObject<{
5781
5608
  byteLength: z$1.ZodNumber;
5782
5609
  digest: z$1.ZodString;
5783
5610
  kind: z$1.ZodLiteral<"artifact">;
5784
- }, z$1.core.$strict>, z$1.ZodObject<{
5785
- id: z$1.ZodString;
5786
- kind: z$1.ZodLiteral<"daemon-bundled">;
5787
- }, z$1.core.$strict>], "kind">;
5611
+ }, z$1.core.$strict>;
5788
5612
  }, z$1.core.$strict>;
5789
5613
  environmentId: z$1.ZodString;
5790
5614
  options: z$1.ZodIntersection<z$1.ZodObject<{
@@ -5828,105 +5652,8 @@ declare const hostDaemonCommandRegistry: {
5828
5652
  permissionScope: z$1.ZodLiteral<"full">;
5829
5653
  }, z$1.core.$strip>], "permissionMode">>;
5830
5654
  resumeContext: z$1.ZodObject<{
5831
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5832
- args: z$1.ZodArray<z$1.ZodString>;
5833
- command: z$1.ZodString;
5834
- cwd: z$1.ZodOptional<z$1.ZodString>;
5835
- displayName: z$1.ZodString;
5836
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5837
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5838
- listArgs: z$1.ZodArray<z$1.ZodString>;
5839
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5840
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5841
- }, z$1.core.$strict>, z$1.ZodTransform<{
5842
- listArgs: string[];
5843
- primaryModels: string[];
5844
- selectFlag?: string | undefined;
5845
- } | undefined, {
5846
- listArgs: string[];
5847
- primaryModels: string[];
5848
- selectFlag?: string | undefined;
5849
- }>>>;
5850
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5851
- configId: z$1.ZodString;
5852
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5853
- high: "high";
5854
- low: "low";
5855
- max: "max";
5856
- medium: "medium";
5857
- none: "none";
5858
- ultra: "ultra";
5859
- ultracode: "ultracode";
5860
- xhigh: "xhigh";
5861
- }>>;
5862
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5863
- high: "high";
5864
- low: "low";
5865
- max: "max";
5866
- medium: "medium";
5867
- none: "none";
5868
- ultra: "ultra";
5869
- ultracode: "ultracode";
5870
- xhigh: "xhigh";
5871
- }> & z$1.core.$partial, z$1.ZodString>>;
5872
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5873
- high: "high";
5874
- low: "low";
5875
- max: "max";
5876
- medium: "medium";
5877
- none: "none";
5878
- ultra: "ultra";
5879
- ultracode: "ultracode";
5880
- xhigh: "xhigh";
5881
- }>>;
5882
- }, z$1.core.$strict>>;
5883
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5884
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5885
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5886
- }, z$1.core.$strict>>;
5887
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5888
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5889
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5890
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5891
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5892
- }, z$1.core.$strict>>;
5893
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5894
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5895
- high: "high";
5896
- low: "low";
5897
- max: "max";
5898
- medium: "medium";
5899
- none: "none";
5900
- ultra: "ultra";
5901
- ultracode: "ultracode";
5902
- xhigh: "xhigh";
5903
- }>>;
5904
- flag: z$1.ZodString;
5905
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5906
- high: "high";
5907
- low: "low";
5908
- max: "max";
5909
- medium: "medium";
5910
- none: "none";
5911
- ultra: "ultra";
5912
- ultracode: "ultracode";
5913
- xhigh: "xhigh";
5914
- }> & z$1.core.$partial, z$1.ZodString>>;
5915
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5916
- high: "high";
5917
- low: "low";
5918
- max: "max";
5919
- medium: "medium";
5920
- none: "none";
5921
- ultra: "ultra";
5922
- ultracode: "ultracode";
5923
- xhigh: "xhigh";
5924
- }>>;
5925
- }, z$1.core.$strict>>;
5926
- }, z$1.core.$strict>>;
5927
5655
  bridgeLaunch: z$1.ZodObject<{
5928
5656
  capabilities: z$1.ZodObject<{
5929
- experimental_providerInstallation: z$1.ZodBoolean;
5930
5657
  fork: z$1.ZodEnum<{
5931
5658
  checkpoint: "checkpoint";
5932
5659
  none: "none";
@@ -5937,6 +5664,7 @@ declare const hostDaemonCommandRegistry: {
5937
5664
  auto: "auto";
5938
5665
  full: "full";
5939
5666
  }>>;
5667
+ providerInstallation: z$1.ZodBoolean;
5940
5668
  supportsServiceTier: z$1.ZodBoolean;
5941
5669
  supportsThreadArchive: z$1.ZodBoolean;
5942
5670
  supportsThreadRename: z$1.ZodBoolean;
@@ -5944,14 +5672,11 @@ declare const hostDaemonCommandRegistry: {
5944
5672
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5945
5673
  pluginId: z$1.ZodString;
5946
5674
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5947
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5675
+ source: z$1.ZodObject<{
5948
5676
  byteLength: z$1.ZodNumber;
5949
5677
  digest: z$1.ZodString;
5950
5678
  kind: z$1.ZodLiteral<"artifact">;
5951
- }, z$1.core.$strict>, z$1.ZodObject<{
5952
- id: z$1.ZodString;
5953
- kind: z$1.ZodLiteral<"daemon-bundled">;
5954
- }, z$1.core.$strict>], "kind">;
5679
+ }, z$1.core.$strict>;
5955
5680
  }, z$1.core.$strict>;
5956
5681
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5957
5682
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -6042,7 +5767,6 @@ declare const hostDaemonCommandRegistry: {
6042
5767
  "thread.archive": HostDaemonCommandDescriptor<"thread.archive", z$1.ZodObject<{
6043
5768
  bridgeLaunch: z$1.ZodObject<{
6044
5769
  capabilities: z$1.ZodObject<{
6045
- experimental_providerInstallation: z$1.ZodBoolean;
6046
5770
  fork: z$1.ZodEnum<{
6047
5771
  checkpoint: "checkpoint";
6048
5772
  none: "none";
@@ -6053,6 +5777,7 @@ declare const hostDaemonCommandRegistry: {
6053
5777
  auto: "auto";
6054
5778
  full: "full";
6055
5779
  }>>;
5780
+ providerInstallation: z$1.ZodBoolean;
6056
5781
  supportsServiceTier: z$1.ZodBoolean;
6057
5782
  supportsThreadArchive: z$1.ZodBoolean;
6058
5783
  supportsThreadRename: z$1.ZodBoolean;
@@ -6060,14 +5785,11 @@ declare const hostDaemonCommandRegistry: {
6060
5785
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6061
5786
  pluginId: z$1.ZodString;
6062
5787
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6063
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5788
+ source: z$1.ZodObject<{
6064
5789
  byteLength: z$1.ZodNumber;
6065
5790
  digest: z$1.ZodString;
6066
5791
  kind: z$1.ZodLiteral<"artifact">;
6067
- }, z$1.core.$strict>, z$1.ZodObject<{
6068
- id: z$1.ZodString;
6069
- kind: z$1.ZodLiteral<"daemon-bundled">;
6070
- }, z$1.core.$strict>], "kind">;
5792
+ }, z$1.core.$strict>;
6071
5793
  }, z$1.core.$strict>;
6072
5794
  environmentId: z$1.ZodString;
6073
5795
  providerId: z$1.ZodString;
@@ -6086,7 +5808,6 @@ declare const hostDaemonCommandRegistry: {
6086
5808
  "thread.unarchive": HostDaemonCommandDescriptor<"thread.unarchive", z$1.ZodObject<{
6087
5809
  bridgeLaunch: z$1.ZodObject<{
6088
5810
  capabilities: z$1.ZodObject<{
6089
- experimental_providerInstallation: z$1.ZodBoolean;
6090
5811
  fork: z$1.ZodEnum<{
6091
5812
  checkpoint: "checkpoint";
6092
5813
  none: "none";
@@ -6097,6 +5818,7 @@ declare const hostDaemonCommandRegistry: {
6097
5818
  auto: "auto";
6098
5819
  full: "full";
6099
5820
  }>>;
5821
+ providerInstallation: z$1.ZodBoolean;
6100
5822
  supportsServiceTier: z$1.ZodBoolean;
6101
5823
  supportsThreadArchive: z$1.ZodBoolean;
6102
5824
  supportsThreadRename: z$1.ZodBoolean;
@@ -6104,14 +5826,11 @@ declare const hostDaemonCommandRegistry: {
6104
5826
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6105
5827
  pluginId: z$1.ZodString;
6106
5828
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6107
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5829
+ source: z$1.ZodObject<{
6108
5830
  byteLength: z$1.ZodNumber;
6109
5831
  digest: z$1.ZodString;
6110
5832
  kind: z$1.ZodLiteral<"artifact">;
6111
- }, z$1.core.$strict>, z$1.ZodObject<{
6112
- id: z$1.ZodString;
6113
- kind: z$1.ZodLiteral<"daemon-bundled">;
6114
- }, z$1.core.$strict>], "kind">;
5833
+ }, z$1.core.$strict>;
6115
5834
  }, z$1.core.$strict>;
6116
5835
  environmentId: z$1.ZodString;
6117
5836
  providerId: z$1.ZodString;
@@ -6157,33 +5876,13 @@ declare const hostDaemonCommandRegistry: {
6157
5876
  kind: z$1.ZodLiteral<"user_answer">;
6158
5877
  }, z$1.core.$strip>, z$1.ZodObject<{
6159
5878
  kind: z$1.ZodLiteral<"plugin_submitted">;
5879
+ }, z$1.core.$strip>, z$1.ZodObject<{
5880
+ kind: z$1.ZodLiteral<"request_answer">;
5881
+ value: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
6160
5882
  }, z$1.core.$strip>]>;
6161
5883
  threadId: z$1.ZodString;
6162
5884
  type: z$1.ZodLiteral<"interactive.resolve">;
6163
5885
  }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
6164
- "codex.inference.complete": HostDaemonCommandDescriptor<"codex.inference.complete", z$1.ZodObject<{
6165
- model: z$1.ZodString;
6166
- outputSchema: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6167
- prompt: z$1.ZodString;
6168
- reasoningEffort: z$1.ZodLiteral<"none">;
6169
- timeoutMs: z$1.ZodNumber;
6170
- type: z$1.ZodLiteral<"codex.inference.complete">;
6171
- }, z$1.core.$strict>, z$1.ZodObject<{
6172
- model: z$1.ZodString;
6173
- value: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6174
- }, z$1.core.$strip>, "settled", false>;
6175
- "codex.voice.transcribe": HostDaemonCommandDescriptor<"codex.voice.transcribe", z$1.ZodObject<{
6176
- audioBase64: z$1.ZodString;
6177
- filename: z$1.ZodString;
6178
- mimeType: z$1.ZodString;
6179
- model: z$1.ZodString;
6180
- prompt: z$1.ZodNullable<z$1.ZodString>;
6181
- timeoutMs: z$1.ZodNumber;
6182
- type: z$1.ZodLiteral<"codex.voice.transcribe">;
6183
- }, z$1.core.$strict>, z$1.ZodObject<{
6184
- model: z$1.ZodString;
6185
- text: z$1.ZodString;
6186
- }, z$1.core.$strip>, "settled", false>;
6187
5886
  "environment.provision": HostDaemonCommandDescriptor<"environment.provision", z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6188
5887
  checkout: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6189
5888
  kind: z$1.ZodLiteral<"existing">;
@@ -6481,10 +6180,80 @@ declare const hostDaemonCommandRegistry: {
6481
6180
  }, z$1.core.$strict>, "onlineRpc", true>;
6482
6181
  "host.list_commands": HostDaemonCommandDescriptor<"host.list_commands", z$1.ZodObject<{
6483
6182
  cwd: z$1.ZodNullable<z$1.ZodString>;
6484
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6485
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6486
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6487
- }, z$1.core.$strict>>;
6183
+ nativeRoots: z$1.ZodObject<{
6184
+ commands: z$1.ZodObject<{
6185
+ project: z$1.ZodArray<z$1.ZodObject<{
6186
+ ancestors: z$1.ZodBoolean;
6187
+ namePrefix: z$1.ZodString;
6188
+ path: z$1.ZodString;
6189
+ recursive: z$1.ZodBoolean;
6190
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6191
+ }, z$1.core.$strict>>;
6192
+ user: z$1.ZodArray<z$1.ZodObject<{
6193
+ ancestors: z$1.ZodBoolean;
6194
+ namePrefix: z$1.ZodString;
6195
+ path: z$1.ZodString;
6196
+ recursive: z$1.ZodBoolean;
6197
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6198
+ }, z$1.core.$strict>>;
6199
+ }, z$1.core.$strict>;
6200
+ resolved: z$1.ZodObject<{
6201
+ commands: z$1.ZodArray<z$1.ZodObject<{
6202
+ ancestors: z$1.ZodBoolean;
6203
+ fallbackName: z$1.ZodOptional<z$1.ZodString>;
6204
+ namePrefix: z$1.ZodString;
6205
+ origin: z$1.ZodEnum<{
6206
+ project: "project";
6207
+ user: "user";
6208
+ }>;
6209
+ path: z$1.ZodString;
6210
+ recursive: z$1.ZodBoolean;
6211
+ shape: z$1.ZodEnum<{
6212
+ "command-file": "command-file";
6213
+ "skill-file": "skill-file";
6214
+ commands: "commands";
6215
+ skill: "skill";
6216
+ skills: "skills";
6217
+ }>;
6218
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6219
+ }, z$1.core.$strict>>;
6220
+ skills: z$1.ZodArray<z$1.ZodObject<{
6221
+ ancestors: z$1.ZodBoolean;
6222
+ fallbackName: z$1.ZodOptional<z$1.ZodString>;
6223
+ namePrefix: z$1.ZodString;
6224
+ origin: z$1.ZodEnum<{
6225
+ project: "project";
6226
+ user: "user";
6227
+ }>;
6228
+ path: z$1.ZodString;
6229
+ recursive: z$1.ZodBoolean;
6230
+ shape: z$1.ZodEnum<{
6231
+ "command-file": "command-file";
6232
+ "skill-file": "skill-file";
6233
+ commands: "commands";
6234
+ skill: "skill";
6235
+ skills: "skills";
6236
+ }>;
6237
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6238
+ }, z$1.core.$strict>>;
6239
+ }, z$1.core.$strict>;
6240
+ skills: z$1.ZodObject<{
6241
+ project: z$1.ZodArray<z$1.ZodObject<{
6242
+ ancestors: z$1.ZodBoolean;
6243
+ namePrefix: z$1.ZodString;
6244
+ path: z$1.ZodString;
6245
+ recursive: z$1.ZodBoolean;
6246
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6247
+ }, z$1.core.$strict>>;
6248
+ user: z$1.ZodArray<z$1.ZodObject<{
6249
+ ancestors: z$1.ZodBoolean;
6250
+ namePrefix: z$1.ZodString;
6251
+ path: z$1.ZodString;
6252
+ recursive: z$1.ZodBoolean;
6253
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6254
+ }, z$1.core.$strict>>;
6255
+ }, z$1.core.$strict>;
6256
+ }, z$1.core.$strict>;
6488
6257
  providerId: z$1.ZodString;
6489
6258
  type: z$1.ZodLiteral<"host.list_commands">;
6490
6259
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -6504,10 +6273,80 @@ declare const hostDaemonCommandRegistry: {
6504
6273
  }, z$1.core.$strip>, "onlineRpc", true>;
6505
6274
  "host.list_skills": HostDaemonCommandDescriptor<"host.list_skills", z$1.ZodObject<{
6506
6275
  cwd: z$1.ZodNullable<z$1.ZodString>;
6507
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6508
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6509
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6510
- }, z$1.core.$strict>>;
6276
+ nativeRoots: z$1.ZodObject<{
6277
+ commands: z$1.ZodObject<{
6278
+ project: z$1.ZodArray<z$1.ZodObject<{
6279
+ ancestors: z$1.ZodBoolean;
6280
+ namePrefix: z$1.ZodString;
6281
+ path: z$1.ZodString;
6282
+ recursive: z$1.ZodBoolean;
6283
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6284
+ }, z$1.core.$strict>>;
6285
+ user: z$1.ZodArray<z$1.ZodObject<{
6286
+ ancestors: z$1.ZodBoolean;
6287
+ namePrefix: z$1.ZodString;
6288
+ path: z$1.ZodString;
6289
+ recursive: z$1.ZodBoolean;
6290
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6291
+ }, z$1.core.$strict>>;
6292
+ }, z$1.core.$strict>;
6293
+ resolved: z$1.ZodObject<{
6294
+ commands: z$1.ZodArray<z$1.ZodObject<{
6295
+ ancestors: z$1.ZodBoolean;
6296
+ fallbackName: z$1.ZodOptional<z$1.ZodString>;
6297
+ namePrefix: z$1.ZodString;
6298
+ origin: z$1.ZodEnum<{
6299
+ project: "project";
6300
+ user: "user";
6301
+ }>;
6302
+ path: z$1.ZodString;
6303
+ recursive: z$1.ZodBoolean;
6304
+ shape: z$1.ZodEnum<{
6305
+ "command-file": "command-file";
6306
+ "skill-file": "skill-file";
6307
+ commands: "commands";
6308
+ skill: "skill";
6309
+ skills: "skills";
6310
+ }>;
6311
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6312
+ }, z$1.core.$strict>>;
6313
+ skills: z$1.ZodArray<z$1.ZodObject<{
6314
+ ancestors: z$1.ZodBoolean;
6315
+ fallbackName: z$1.ZodOptional<z$1.ZodString>;
6316
+ namePrefix: z$1.ZodString;
6317
+ origin: z$1.ZodEnum<{
6318
+ project: "project";
6319
+ user: "user";
6320
+ }>;
6321
+ path: z$1.ZodString;
6322
+ recursive: z$1.ZodBoolean;
6323
+ shape: z$1.ZodEnum<{
6324
+ "command-file": "command-file";
6325
+ "skill-file": "skill-file";
6326
+ commands: "commands";
6327
+ skill: "skill";
6328
+ skills: "skills";
6329
+ }>;
6330
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6331
+ }, z$1.core.$strict>>;
6332
+ }, z$1.core.$strict>;
6333
+ skills: z$1.ZodObject<{
6334
+ project: z$1.ZodArray<z$1.ZodObject<{
6335
+ ancestors: z$1.ZodBoolean;
6336
+ namePrefix: z$1.ZodString;
6337
+ path: z$1.ZodString;
6338
+ recursive: z$1.ZodBoolean;
6339
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6340
+ }, z$1.core.$strict>>;
6341
+ user: z$1.ZodArray<z$1.ZodObject<{
6342
+ ancestors: z$1.ZodBoolean;
6343
+ namePrefix: z$1.ZodString;
6344
+ path: z$1.ZodString;
6345
+ recursive: z$1.ZodBoolean;
6346
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
6347
+ }, z$1.core.$strict>>;
6348
+ }, z$1.core.$strict>;
6349
+ }, z$1.core.$strict>;
6511
6350
  providerId: z$1.ZodString;
6512
6351
  type: z$1.ZodLiteral<"host.list_skills">;
6513
6352
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -6738,105 +6577,8 @@ declare const hostDaemonCommandRegistry: {
6738
6577
  outcome: z$1.ZodLiteral<"conflict">;
6739
6578
  }, z$1.core.$strict>], "outcome">, "onlineRpc", false>;
6740
6579
  "provider.list_models": HostDaemonCommandDescriptor<"provider.list_models", z$1.ZodObject<{
6741
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
6742
- args: z$1.ZodArray<z$1.ZodString>;
6743
- command: z$1.ZodString;
6744
- cwd: z$1.ZodOptional<z$1.ZodString>;
6745
- displayName: z$1.ZodString;
6746
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
6747
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
6748
- listArgs: z$1.ZodArray<z$1.ZodString>;
6749
- primaryModels: z$1.ZodArray<z$1.ZodString>;
6750
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
6751
- }, z$1.core.$strict>, z$1.ZodTransform<{
6752
- listArgs: string[];
6753
- primaryModels: string[];
6754
- selectFlag?: string | undefined;
6755
- } | undefined, {
6756
- listArgs: string[];
6757
- primaryModels: string[];
6758
- selectFlag?: string | undefined;
6759
- }>>>;
6760
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
6761
- configId: z$1.ZodString;
6762
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6763
- high: "high";
6764
- low: "low";
6765
- max: "max";
6766
- medium: "medium";
6767
- none: "none";
6768
- ultra: "ultra";
6769
- ultracode: "ultracode";
6770
- xhigh: "xhigh";
6771
- }>>;
6772
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6773
- high: "high";
6774
- low: "low";
6775
- max: "max";
6776
- medium: "medium";
6777
- none: "none";
6778
- ultra: "ultra";
6779
- ultracode: "ultracode";
6780
- xhigh: "xhigh";
6781
- }> & z$1.core.$partial, z$1.ZodString>>;
6782
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6783
- high: "high";
6784
- low: "low";
6785
- max: "max";
6786
- medium: "medium";
6787
- none: "none";
6788
- ultra: "ultra";
6789
- ultracode: "ultracode";
6790
- xhigh: "xhigh";
6791
- }>>;
6792
- }, z$1.core.$strict>>;
6793
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6794
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6795
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6796
- }, z$1.core.$strict>>;
6797
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
6798
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6799
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
6800
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6801
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6802
- }, z$1.core.$strict>>;
6803
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
6804
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6805
- high: "high";
6806
- low: "low";
6807
- max: "max";
6808
- medium: "medium";
6809
- none: "none";
6810
- ultra: "ultra";
6811
- ultracode: "ultracode";
6812
- xhigh: "xhigh";
6813
- }>>;
6814
- flag: z$1.ZodString;
6815
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6816
- high: "high";
6817
- low: "low";
6818
- max: "max";
6819
- medium: "medium";
6820
- none: "none";
6821
- ultra: "ultra";
6822
- ultracode: "ultracode";
6823
- xhigh: "xhigh";
6824
- }> & z$1.core.$partial, z$1.ZodString>>;
6825
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6826
- high: "high";
6827
- low: "low";
6828
- max: "max";
6829
- medium: "medium";
6830
- none: "none";
6831
- ultra: "ultra";
6832
- ultracode: "ultracode";
6833
- xhigh: "xhigh";
6834
- }>>;
6835
- }, z$1.core.$strict>>;
6836
- }, z$1.core.$strict>>;
6837
6580
  bridgeLaunch: z$1.ZodObject<{
6838
6581
  capabilities: z$1.ZodObject<{
6839
- experimental_providerInstallation: z$1.ZodBoolean;
6840
6582
  fork: z$1.ZodEnum<{
6841
6583
  checkpoint: "checkpoint";
6842
6584
  none: "none";
@@ -6847,6 +6589,7 @@ declare const hostDaemonCommandRegistry: {
6847
6589
  auto: "auto";
6848
6590
  full: "full";
6849
6591
  }>>;
6592
+ providerInstallation: z$1.ZodBoolean;
6850
6593
  supportsServiceTier: z$1.ZodBoolean;
6851
6594
  supportsThreadArchive: z$1.ZodBoolean;
6852
6595
  supportsThreadRename: z$1.ZodBoolean;
@@ -6854,14 +6597,11 @@ declare const hostDaemonCommandRegistry: {
6854
6597
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6855
6598
  pluginId: z$1.ZodString;
6856
6599
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6857
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6600
+ source: z$1.ZodObject<{
6858
6601
  byteLength: z$1.ZodNumber;
6859
6602
  digest: z$1.ZodString;
6860
6603
  kind: z$1.ZodLiteral<"artifact">;
6861
- }, z$1.core.$strict>, z$1.ZodObject<{
6862
- id: z$1.ZodString;
6863
- kind: z$1.ZodLiteral<"daemon-bundled">;
6864
- }, z$1.core.$strict>], "kind">;
6604
+ }, z$1.core.$strict>;
6865
6605
  }, z$1.core.$strict>;
6866
6606
  cwd: z$1.ZodOptional<z$1.ZodString>;
6867
6607
  providerId: z$1.ZodString;
@@ -6931,105 +6671,8 @@ declare const hostDaemonCommandRegistry: {
6931
6671
  }, z$1.core.$strip>>;
6932
6672
  }, z$1.core.$strip>, "onlineRpc", true>;
6933
6673
  "provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
6934
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
6935
- args: z$1.ZodArray<z$1.ZodString>;
6936
- command: z$1.ZodString;
6937
- cwd: z$1.ZodOptional<z$1.ZodString>;
6938
- displayName: z$1.ZodString;
6939
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
6940
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
6941
- listArgs: z$1.ZodArray<z$1.ZodString>;
6942
- primaryModels: z$1.ZodArray<z$1.ZodString>;
6943
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
6944
- }, z$1.core.$strict>, z$1.ZodTransform<{
6945
- listArgs: string[];
6946
- primaryModels: string[];
6947
- selectFlag?: string | undefined;
6948
- } | undefined, {
6949
- listArgs: string[];
6950
- primaryModels: string[];
6951
- selectFlag?: string | undefined;
6952
- }>>>;
6953
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
6954
- configId: z$1.ZodString;
6955
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6956
- high: "high";
6957
- low: "low";
6958
- max: "max";
6959
- medium: "medium";
6960
- none: "none";
6961
- ultra: "ultra";
6962
- ultracode: "ultracode";
6963
- xhigh: "xhigh";
6964
- }>>;
6965
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6966
- high: "high";
6967
- low: "low";
6968
- max: "max";
6969
- medium: "medium";
6970
- none: "none";
6971
- ultra: "ultra";
6972
- ultracode: "ultracode";
6973
- xhigh: "xhigh";
6974
- }> & z$1.core.$partial, z$1.ZodString>>;
6975
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6976
- high: "high";
6977
- low: "low";
6978
- max: "max";
6979
- medium: "medium";
6980
- none: "none";
6981
- ultra: "ultra";
6982
- ultracode: "ultracode";
6983
- xhigh: "xhigh";
6984
- }>>;
6985
- }, z$1.core.$strict>>;
6986
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6987
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6988
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6989
- }, z$1.core.$strict>>;
6990
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
6991
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6992
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
6993
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6994
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6995
- }, z$1.core.$strict>>;
6996
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
6997
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6998
- high: "high";
6999
- low: "low";
7000
- max: "max";
7001
- medium: "medium";
7002
- none: "none";
7003
- ultra: "ultra";
7004
- ultracode: "ultracode";
7005
- xhigh: "xhigh";
7006
- }>>;
7007
- flag: z$1.ZodString;
7008
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7009
- high: "high";
7010
- low: "low";
7011
- max: "max";
7012
- medium: "medium";
7013
- none: "none";
7014
- ultra: "ultra";
7015
- ultracode: "ultracode";
7016
- xhigh: "xhigh";
7017
- }> & z$1.core.$partial, z$1.ZodString>>;
7018
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7019
- high: "high";
7020
- low: "low";
7021
- max: "max";
7022
- medium: "medium";
7023
- none: "none";
7024
- ultra: "ultra";
7025
- ultracode: "ultracode";
7026
- xhigh: "xhigh";
7027
- }>>;
7028
- }, z$1.core.$strict>>;
7029
- }, z$1.core.$strict>>;
7030
6674
  bridgeLaunch: z$1.ZodObject<{
7031
6675
  capabilities: z$1.ZodObject<{
7032
- experimental_providerInstallation: z$1.ZodBoolean;
7033
6676
  fork: z$1.ZodEnum<{
7034
6677
  checkpoint: "checkpoint";
7035
6678
  none: "none";
@@ -7040,6 +6683,7 @@ declare const hostDaemonCommandRegistry: {
7040
6683
  auto: "auto";
7041
6684
  full: "full";
7042
6685
  }>>;
6686
+ providerInstallation: z$1.ZodBoolean;
7043
6687
  supportsServiceTier: z$1.ZodBoolean;
7044
6688
  supportsThreadArchive: z$1.ZodBoolean;
7045
6689
  supportsThreadRename: z$1.ZodBoolean;
@@ -7047,14 +6691,11 @@ declare const hostDaemonCommandRegistry: {
7047
6691
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7048
6692
  pluginId: z$1.ZodString;
7049
6693
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7050
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6694
+ source: z$1.ZodObject<{
7051
6695
  byteLength: z$1.ZodNumber;
7052
6696
  digest: z$1.ZodString;
7053
6697
  kind: z$1.ZodLiteral<"artifact">;
7054
- }, z$1.core.$strict>, z$1.ZodObject<{
7055
- id: z$1.ZodString;
7056
- kind: z$1.ZodLiteral<"daemon-bundled">;
7057
- }, z$1.core.$strict>], "kind">;
6698
+ }, z$1.core.$strict>;
7058
6699
  }, z$1.core.$strict>;
7059
6700
  cwd: z$1.ZodOptional<z$1.ZodString>;
7060
6701
  providerId: z$1.ZodString;
@@ -7083,105 +6724,8 @@ declare const hostDaemonCommandRegistry: {
7083
6724
  supported: z$1.ZodLiteral<true>;
7084
6725
  }, z$1.core.$loose>], "supported">, "onlineRpc", true>;
7085
6726
  "provider.installation.status": HostDaemonCommandDescriptor<"provider.installation.status", z$1.ZodObject<{
7086
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7087
- args: z$1.ZodArray<z$1.ZodString>;
7088
- command: z$1.ZodString;
7089
- cwd: z$1.ZodOptional<z$1.ZodString>;
7090
- displayName: z$1.ZodString;
7091
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7092
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7093
- listArgs: z$1.ZodArray<z$1.ZodString>;
7094
- primaryModels: z$1.ZodArray<z$1.ZodString>;
7095
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
7096
- }, z$1.core.$strict>, z$1.ZodTransform<{
7097
- listArgs: string[];
7098
- primaryModels: string[];
7099
- selectFlag?: string | undefined;
7100
- } | undefined, {
7101
- listArgs: string[];
7102
- primaryModels: string[];
7103
- selectFlag?: string | undefined;
7104
- }>>>;
7105
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7106
- configId: z$1.ZodString;
7107
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7108
- high: "high";
7109
- low: "low";
7110
- max: "max";
7111
- medium: "medium";
7112
- none: "none";
7113
- ultra: "ultra";
7114
- ultracode: "ultracode";
7115
- xhigh: "xhigh";
7116
- }>>;
7117
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7118
- high: "high";
7119
- low: "low";
7120
- max: "max";
7121
- medium: "medium";
7122
- none: "none";
7123
- ultra: "ultra";
7124
- ultracode: "ultracode";
7125
- xhigh: "xhigh";
7126
- }> & z$1.core.$partial, z$1.ZodString>>;
7127
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7128
- high: "high";
7129
- low: "low";
7130
- max: "max";
7131
- medium: "medium";
7132
- none: "none";
7133
- ultra: "ultra";
7134
- ultracode: "ultracode";
7135
- xhigh: "xhigh";
7136
- }>>;
7137
- }, z$1.core.$strict>>;
7138
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7139
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7140
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7141
- }, z$1.core.$strict>>;
7142
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7143
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7144
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7145
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7146
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7147
- }, z$1.core.$strict>>;
7148
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7149
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7150
- high: "high";
7151
- low: "low";
7152
- max: "max";
7153
- medium: "medium";
7154
- none: "none";
7155
- ultra: "ultra";
7156
- ultracode: "ultracode";
7157
- xhigh: "xhigh";
7158
- }>>;
7159
- flag: z$1.ZodString;
7160
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7161
- high: "high";
7162
- low: "low";
7163
- max: "max";
7164
- medium: "medium";
7165
- none: "none";
7166
- ultra: "ultra";
7167
- ultracode: "ultracode";
7168
- xhigh: "xhigh";
7169
- }> & z$1.core.$partial, z$1.ZodString>>;
7170
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7171
- high: "high";
7172
- low: "low";
7173
- max: "max";
7174
- medium: "medium";
7175
- none: "none";
7176
- ultra: "ultra";
7177
- ultracode: "ultracode";
7178
- xhigh: "xhigh";
7179
- }>>;
7180
- }, z$1.core.$strict>>;
7181
- }, z$1.core.$strict>>;
7182
6727
  bridgeLaunch: z$1.ZodObject<{
7183
6728
  capabilities: z$1.ZodObject<{
7184
- experimental_providerInstallation: z$1.ZodBoolean;
7185
6729
  fork: z$1.ZodEnum<{
7186
6730
  checkpoint: "checkpoint";
7187
6731
  none: "none";
@@ -7192,6 +6736,7 @@ declare const hostDaemonCommandRegistry: {
7192
6736
  auto: "auto";
7193
6737
  full: "full";
7194
6738
  }>>;
6739
+ providerInstallation: z$1.ZodBoolean;
7195
6740
  supportsServiceTier: z$1.ZodBoolean;
7196
6741
  supportsThreadArchive: z$1.ZodBoolean;
7197
6742
  supportsThreadRename: z$1.ZodBoolean;
@@ -7199,14 +6744,11 @@ declare const hostDaemonCommandRegistry: {
7199
6744
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7200
6745
  pluginId: z$1.ZodString;
7201
6746
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7202
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6747
+ source: z$1.ZodObject<{
7203
6748
  byteLength: z$1.ZodNumber;
7204
6749
  digest: z$1.ZodString;
7205
6750
  kind: z$1.ZodLiteral<"artifact">;
7206
- }, z$1.core.$strict>, z$1.ZodObject<{
7207
- id: z$1.ZodString;
7208
- kind: z$1.ZodLiteral<"daemon-bundled">;
7209
- }, z$1.core.$strict>], "kind">;
6751
+ }, z$1.core.$strict>;
7210
6752
  }, z$1.core.$strict>;
7211
6753
  cwd: z$1.ZodOptional<z$1.ZodString>;
7212
6754
  providerId: z$1.ZodString;
@@ -7241,109 +6783,12 @@ declare const hostDaemonCommandRegistry: {
7241
6783
  versionUnsupported: z$1.ZodBoolean;
7242
6784
  }, z$1.core.$loose>, "onlineRpc", true>;
7243
6785
  "provider.installation.run": HostDaemonCommandDescriptor<"provider.installation.run", z$1.ZodObject<{
7244
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7245
- args: z$1.ZodArray<z$1.ZodString>;
7246
- command: z$1.ZodString;
7247
- cwd: z$1.ZodOptional<z$1.ZodString>;
7248
- displayName: z$1.ZodString;
7249
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7250
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7251
- listArgs: z$1.ZodArray<z$1.ZodString>;
7252
- primaryModels: z$1.ZodArray<z$1.ZodString>;
7253
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
7254
- }, z$1.core.$strict>, z$1.ZodTransform<{
7255
- listArgs: string[];
7256
- primaryModels: string[];
7257
- selectFlag?: string | undefined;
7258
- } | undefined, {
7259
- listArgs: string[];
7260
- primaryModels: string[];
7261
- selectFlag?: string | undefined;
7262
- }>>>;
7263
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7264
- configId: z$1.ZodString;
7265
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7266
- high: "high";
7267
- low: "low";
7268
- max: "max";
7269
- medium: "medium";
7270
- none: "none";
7271
- ultra: "ultra";
7272
- ultracode: "ultracode";
7273
- xhigh: "xhigh";
7274
- }>>;
7275
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7276
- high: "high";
7277
- low: "low";
7278
- max: "max";
7279
- medium: "medium";
7280
- none: "none";
7281
- ultra: "ultra";
7282
- ultracode: "ultracode";
7283
- xhigh: "xhigh";
7284
- }> & z$1.core.$partial, z$1.ZodString>>;
7285
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7286
- high: "high";
7287
- low: "low";
7288
- max: "max";
7289
- medium: "medium";
7290
- none: "none";
7291
- ultra: "ultra";
7292
- ultracode: "ultracode";
7293
- xhigh: "xhigh";
7294
- }>>;
7295
- }, z$1.core.$strict>>;
7296
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7297
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7298
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7299
- }, z$1.core.$strict>>;
7300
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7301
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7302
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7303
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7304
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7305
- }, z$1.core.$strict>>;
7306
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7307
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7308
- high: "high";
7309
- low: "low";
7310
- max: "max";
7311
- medium: "medium";
7312
- none: "none";
7313
- ultra: "ultra";
7314
- ultracode: "ultracode";
7315
- xhigh: "xhigh";
7316
- }>>;
7317
- flag: z$1.ZodString;
7318
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7319
- high: "high";
7320
- low: "low";
7321
- max: "max";
7322
- medium: "medium";
7323
- none: "none";
7324
- ultra: "ultra";
7325
- ultracode: "ultracode";
7326
- xhigh: "xhigh";
7327
- }> & z$1.core.$partial, z$1.ZodString>>;
7328
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7329
- high: "high";
7330
- low: "low";
7331
- max: "max";
7332
- medium: "medium";
7333
- none: "none";
7334
- ultra: "ultra";
7335
- ultracode: "ultracode";
7336
- xhigh: "xhigh";
7337
- }>>;
7338
- }, z$1.core.$strict>>;
7339
- }, z$1.core.$strict>>;
7340
6786
  action: z$1.ZodEnum<{
7341
6787
  install: "install";
7342
6788
  update: "update";
7343
6789
  }>;
7344
6790
  bridgeLaunch: z$1.ZodObject<{
7345
6791
  capabilities: z$1.ZodObject<{
7346
- experimental_providerInstallation: z$1.ZodBoolean;
7347
6792
  fork: z$1.ZodEnum<{
7348
6793
  checkpoint: "checkpoint";
7349
6794
  none: "none";
@@ -7354,6 +6799,7 @@ declare const hostDaemonCommandRegistry: {
7354
6799
  auto: "auto";
7355
6800
  full: "full";
7356
6801
  }>>;
6802
+ providerInstallation: z$1.ZodBoolean;
7357
6803
  supportsServiceTier: z$1.ZodBoolean;
7358
6804
  supportsThreadArchive: z$1.ZodBoolean;
7359
6805
  supportsThreadRename: z$1.ZodBoolean;
@@ -7361,14 +6807,11 @@ declare const hostDaemonCommandRegistry: {
7361
6807
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7362
6808
  pluginId: z$1.ZodString;
7363
6809
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7364
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6810
+ source: z$1.ZodObject<{
7365
6811
  byteLength: z$1.ZodNumber;
7366
6812
  digest: z$1.ZodString;
7367
- kind: z$1.ZodLiteral<"artifact">;
7368
- }, z$1.core.$strict>, z$1.ZodObject<{
7369
- id: z$1.ZodString;
7370
- kind: z$1.ZodLiteral<"daemon-bundled">;
7371
- }, z$1.core.$strict>], "kind">;
6813
+ kind: z$1.ZodLiteral<"artifact">;
6814
+ }, z$1.core.$strict>;
7372
6815
  }, z$1.core.$strict>;
7373
6816
  cwd: z$1.ZodOptional<z$1.ZodString>;
7374
6817
  providerId: z$1.ZodString;
@@ -7399,105 +6842,8 @@ declare const hostDaemonCommandRegistry: {
7399
6842
  }, z$1.core.$strip>], "type">>;
7400
6843
  }, z$1.core.$strict>, "onlineRpc", false>;
7401
6844
  "provider.usage": HostDaemonCommandDescriptor<"provider.usage", z$1.ZodObject<{
7402
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7403
- args: z$1.ZodArray<z$1.ZodString>;
7404
- command: z$1.ZodString;
7405
- cwd: z$1.ZodOptional<z$1.ZodString>;
7406
- displayName: z$1.ZodString;
7407
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7408
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7409
- listArgs: z$1.ZodArray<z$1.ZodString>;
7410
- primaryModels: z$1.ZodArray<z$1.ZodString>;
7411
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
7412
- }, z$1.core.$strict>, z$1.ZodTransform<{
7413
- listArgs: string[];
7414
- primaryModels: string[];
7415
- selectFlag?: string | undefined;
7416
- } | undefined, {
7417
- listArgs: string[];
7418
- primaryModels: string[];
7419
- selectFlag?: string | undefined;
7420
- }>>>;
7421
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7422
- configId: z$1.ZodString;
7423
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7424
- high: "high";
7425
- low: "low";
7426
- max: "max";
7427
- medium: "medium";
7428
- none: "none";
7429
- ultra: "ultra";
7430
- ultracode: "ultracode";
7431
- xhigh: "xhigh";
7432
- }>>;
7433
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7434
- high: "high";
7435
- low: "low";
7436
- max: "max";
7437
- medium: "medium";
7438
- none: "none";
7439
- ultra: "ultra";
7440
- ultracode: "ultracode";
7441
- xhigh: "xhigh";
7442
- }> & z$1.core.$partial, z$1.ZodString>>;
7443
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7444
- high: "high";
7445
- low: "low";
7446
- max: "max";
7447
- medium: "medium";
7448
- none: "none";
7449
- ultra: "ultra";
7450
- ultracode: "ultracode";
7451
- xhigh: "xhigh";
7452
- }>>;
7453
- }, z$1.core.$strict>>;
7454
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7455
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7456
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7457
- }, z$1.core.$strict>>;
7458
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7459
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7460
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7461
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7462
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7463
- }, z$1.core.$strict>>;
7464
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7465
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7466
- high: "high";
7467
- low: "low";
7468
- max: "max";
7469
- medium: "medium";
7470
- none: "none";
7471
- ultra: "ultra";
7472
- ultracode: "ultracode";
7473
- xhigh: "xhigh";
7474
- }>>;
7475
- flag: z$1.ZodString;
7476
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7477
- high: "high";
7478
- low: "low";
7479
- max: "max";
7480
- medium: "medium";
7481
- none: "none";
7482
- ultra: "ultra";
7483
- ultracode: "ultracode";
7484
- xhigh: "xhigh";
7485
- }> & z$1.core.$partial, z$1.ZodString>>;
7486
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7487
- high: "high";
7488
- low: "low";
7489
- max: "max";
7490
- medium: "medium";
7491
- none: "none";
7492
- ultra: "ultra";
7493
- ultracode: "ultracode";
7494
- xhigh: "xhigh";
7495
- }>>;
7496
- }, z$1.core.$strict>>;
7497
- }, z$1.core.$strict>>;
7498
6845
  bridgeLaunch: z$1.ZodObject<{
7499
6846
  capabilities: z$1.ZodObject<{
7500
- experimental_providerInstallation: z$1.ZodBoolean;
7501
6847
  fork: z$1.ZodEnum<{
7502
6848
  checkpoint: "checkpoint";
7503
6849
  none: "none";
@@ -7508,6 +6854,7 @@ declare const hostDaemonCommandRegistry: {
7508
6854
  auto: "auto";
7509
6855
  full: "full";
7510
6856
  }>>;
6857
+ providerInstallation: z$1.ZodBoolean;
7511
6858
  supportsServiceTier: z$1.ZodBoolean;
7512
6859
  supportsThreadArchive: z$1.ZodBoolean;
7513
6860
  supportsThreadRename: z$1.ZodBoolean;
@@ -7515,14 +6862,11 @@ declare const hostDaemonCommandRegistry: {
7515
6862
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7516
6863
  pluginId: z$1.ZodString;
7517
6864
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7518
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6865
+ source: z$1.ZodObject<{
7519
6866
  byteLength: z$1.ZodNumber;
7520
6867
  digest: z$1.ZodString;
7521
6868
  kind: z$1.ZodLiteral<"artifact">;
7522
- }, z$1.core.$strict>, z$1.ZodObject<{
7523
- id: z$1.ZodString;
7524
- kind: z$1.ZodLiteral<"daemon-bundled">;
7525
- }, z$1.core.$strict>], "kind">;
6869
+ }, z$1.core.$strict>;
7526
6870
  }, z$1.core.$strict>;
7527
6871
  cwd: z$1.ZodOptional<z$1.ZodString>;
7528
6872
  providerId: z$1.ZodString;
@@ -8171,6 +7515,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
8171
7515
  hasSettings: z$1.ZodBoolean;
8172
7516
  icon: z$1.ZodNullable<z$1.ZodString>;
8173
7517
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
7518
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
8174
7519
  id: z$1.ZodString;
8175
7520
  isOrphanedBuiltin: z$1.ZodBoolean;
8176
7521
  logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -8181,6 +7526,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
8181
7526
  catalog: "catalog";
8182
7527
  direct: "direct";
8183
7528
  }>;
7529
+ providerIds: z$1.ZodArray<z$1.ZodString>;
8184
7530
  publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
8185
7531
  rootDir: z$1.ZodString;
8186
7532
  schedules: z$1.ZodArray<z$1.ZodObject<{
@@ -8279,6 +7625,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
8279
7625
  hasSettings: z$1.ZodBoolean;
8280
7626
  icon: z$1.ZodNullable<z$1.ZodString>;
8281
7627
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
7628
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
8282
7629
  id: z$1.ZodString;
8283
7630
  isOrphanedBuiltin: z$1.ZodBoolean;
8284
7631
  logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -8289,6 +7636,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
8289
7636
  catalog: "catalog";
8290
7637
  direct: "direct";
8291
7638
  }>;
7639
+ providerIds: z$1.ZodArray<z$1.ZodString>;
8292
7640
  publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
8293
7641
  rootDir: z$1.ZodString;
8294
7642
  schedules: z$1.ZodArray<z$1.ZodObject<{
@@ -8389,6 +7737,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
8389
7737
  hasSettings: z$1.ZodBoolean;
8390
7738
  icon: z$1.ZodNullable<z$1.ZodString>;
8391
7739
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
7740
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
8392
7741
  id: z$1.ZodString;
8393
7742
  isOrphanedBuiltin: z$1.ZodBoolean;
8394
7743
  logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -8399,6 +7748,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
8399
7748
  catalog: "catalog";
8400
7749
  direct: "direct";
8401
7750
  }>;
7751
+ providerIds: z$1.ZodArray<z$1.ZodString>;
8402
7752
  publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
8403
7753
  rootDir: z$1.ZodString;
8404
7754
  schedules: z$1.ZodArray<z$1.ZodObject<{
@@ -8465,6 +7815,7 @@ declare const pluginSettingsResponseSchema: z$1.ZodObject<{
8465
7815
  schema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8466
7816
  default: z$1.ZodOptional<z$1.ZodString>;
8467
7817
  description: z$1.ZodOptional<z$1.ZodString>;
7818
+ experimental_multiline: z$1.ZodOptional<z$1.ZodBoolean>;
8468
7819
  label: z$1.ZodString;
8469
7820
  secret: z$1.ZodOptional<z$1.ZodLiteral<true>>;
8470
7821
  type: z$1.ZodLiteral<"string">;
@@ -8693,6 +8044,10 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
8693
8044
  providers: z$1.ZodArray<z$1.ZodObject<{
8694
8045
  available: z$1.ZodBoolean;
8695
8046
  capabilities: z$1.ZodObject<{
8047
+ modelCatalogScope: z$1.ZodEnum<{
8048
+ host: "host";
8049
+ workspace: "workspace";
8050
+ }>;
8696
8051
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8697
8052
  "accept-edits": "accept-edits";
8698
8053
  auto: "auto";
@@ -8730,16 +8085,22 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
8730
8085
  kind: z$1.ZodLiteral<"goal">;
8731
8086
  }, z$1.core.$strip>], "kind">>;
8732
8087
  displayName: z$1.ZodString;
8733
- experimental_providerHealth: z$1.ZodBoolean;
8734
- experimental_providerInstallation: z$1.ZodBoolean;
8735
- experimental_providerUsage: z$1.ZodBoolean;
8736
8088
  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<{
8737
8089
  item: z$1.ZodBoolean;
8738
8090
  state: z$1.ZodBoolean;
8739
8091
  }, z$1.core.$strip>>>;
8740
8092
  family: z$1.ZodOptional<z$1.ZodString>;
8093
+ icon: z$1.ZodOptional<z$1.ZodObject<{
8094
+ glyph: z$1.ZodString;
8095
+ }, z$1.core.$strip>>;
8741
8096
  id: z$1.ZodString;
8742
8097
  logoUrl: z$1.ZodNullable<z$1.ZodString>;
8098
+ maintenance: z$1.ZodObject<{
8099
+ health: z$1.ZodBoolean;
8100
+ installation: z$1.ZodBoolean;
8101
+ usage: z$1.ZodBoolean;
8102
+ }, z$1.core.$strip>;
8103
+ pluginId: z$1.ZodString;
8743
8104
  reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8744
8105
  description: z$1.ZodOptional<z$1.ZodString>;
8745
8106
  id: z$1.ZodString;
@@ -8851,6 +8212,20 @@ declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
8851
8212
  }, z$1.core.$strip>;
8852
8213
  type SystemProviderStatesResponse = z$1.infer<typeof systemProviderStatesResponseSchema>;
8853
8214
  declare const systemConfigResponseSchema: z$1.ZodObject<{
8215
+ aiServices: z$1.ZodObject<{
8216
+ inference: z$1.ZodString;
8217
+ inferenceFallback: z$1.ZodString;
8218
+ services: z$1.ZodArray<z$1.ZodObject<{
8219
+ displayName: z$1.ZodString;
8220
+ id: z$1.ZodString;
8221
+ kinds: z$1.ZodArray<z$1.ZodEnum<{
8222
+ inference: "inference";
8223
+ voice: "voice";
8224
+ }>>;
8225
+ pluginId: z$1.ZodString;
8226
+ }, z$1.core.$strip>>;
8227
+ transcription: z$1.ZodString;
8228
+ }, z$1.core.$strip>;
8854
8229
  appearance: z$1.ZodObject<{
8855
8230
  customCss: z$1.ZodNullable<z$1.ZodString>;
8856
8231
  faviconColor: z$1.ZodEnum<{
@@ -9627,6 +9002,7 @@ interface TimelineWorkRowBase extends TimelineRowBase {
9627
9002
  kind: "work";
9628
9003
  status: TimelineRowStatus;
9629
9004
  }
9005
+ type TimelineRowPresentation = ThreadEventItemPresentation;
9630
9006
  declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
9631
9007
  activityIntents: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9632
9008
  command: z$1.ZodString;
@@ -9662,6 +9038,22 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
9662
9038
  outputPreview: z$1.ZodOptional<z$1.ZodObject<{
9663
9039
  totalChars: z$1.ZodNumber;
9664
9040
  }, z$1.core.$strip>>;
9041
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9042
+ detail: z$1.ZodOptional<z$1.ZodString>;
9043
+ icon: z$1.ZodObject<{
9044
+ glyph: z$1.ZodString;
9045
+ }, z$1.core.$strip>;
9046
+ label: z$1.ZodObject<{
9047
+ completed: z$1.ZodString;
9048
+ pending: z$1.ZodString;
9049
+ }, z$1.core.$strip>;
9050
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9051
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9052
+ dark: z$1.ZodString;
9053
+ light: z$1.ZodString;
9054
+ }, z$1.core.$strip>>;
9055
+ title: z$1.ZodOptional<z$1.ZodString>;
9056
+ }, z$1.core.$strip>>;
9665
9057
  source: z$1.ZodNullable<z$1.ZodString>;
9666
9058
  sourceSeqEnd: z$1.ZodNumber;
9667
9059
  sourceSeqStart: z$1.ZodNumber;
@@ -9678,24 +9070,6 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
9678
9070
  }, z$1.core.$strip>;
9679
9071
  type TimelineCommandWorkRow = z$1.infer<typeof timelineCommandWorkRowSchema>;
9680
9072
  declare const timelineToolWorkRowSchema: z$1.ZodObject<{
9681
- activityIntents: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9682
- command: z$1.ZodString;
9683
- name: z$1.ZodString;
9684
- path: z$1.ZodNullable<z$1.ZodString>;
9685
- type: z$1.ZodLiteral<"read">;
9686
- }, z$1.core.$strip>, z$1.ZodObject<{
9687
- command: z$1.ZodString;
9688
- path: z$1.ZodNullable<z$1.ZodString>;
9689
- type: z$1.ZodLiteral<"list_files">;
9690
- }, z$1.core.$strip>, z$1.ZodObject<{
9691
- command: z$1.ZodString;
9692
- path: z$1.ZodNullable<z$1.ZodString>;
9693
- query: z$1.ZodNullable<z$1.ZodString>;
9694
- type: z$1.ZodLiteral<"search">;
9695
- }, z$1.core.$strip>, z$1.ZodObject<{
9696
- command: z$1.ZodString;
9697
- type: z$1.ZodLiteral<"unknown">;
9698
- }, z$1.core.$strip>], "type">>;
9699
9073
  approvalStatus: z$1.ZodNullable<z$1.ZodEnum<{
9700
9074
  denied: "denied";
9701
9075
  waiting_for_approval: "waiting_for_approval";
@@ -9709,6 +9083,22 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
9709
9083
  outputPreview: z$1.ZodOptional<z$1.ZodObject<{
9710
9084
  totalChars: z$1.ZodNumber;
9711
9085
  }, z$1.core.$strip>>;
9086
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9087
+ detail: z$1.ZodOptional<z$1.ZodString>;
9088
+ icon: z$1.ZodObject<{
9089
+ glyph: z$1.ZodString;
9090
+ }, z$1.core.$strip>;
9091
+ label: z$1.ZodObject<{
9092
+ completed: z$1.ZodString;
9093
+ pending: z$1.ZodString;
9094
+ }, z$1.core.$strip>;
9095
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9096
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9097
+ dark: z$1.ZodString;
9098
+ light: z$1.ZodString;
9099
+ }, z$1.core.$strip>>;
9100
+ title: z$1.ZodOptional<z$1.ZodString>;
9101
+ }, z$1.core.$strip>>;
9712
9102
  sourceSeqEnd: z$1.ZodNumber;
9713
9103
  sourceSeqStart: z$1.ZodNumber;
9714
9104
  startedAt: z$1.ZodNumber;
@@ -9718,10 +9108,6 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
9718
9108
  interrupted: "interrupted";
9719
9109
  pending: "pending";
9720
9110
  }>;
9721
- statusLabels: z$1.ZodOptional<z$1.ZodObject<{
9722
- completed: z$1.ZodString;
9723
- pending: z$1.ZodString;
9724
- }, z$1.core.$strip>>;
9725
9111
  threadId: z$1.ZodString;
9726
9112
  toolArgs: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>>;
9727
9113
  toolName: z$1.ZodString;
@@ -9748,6 +9134,22 @@ declare const timelineFileChangeWorkRowSchema: z$1.ZodObject<{
9748
9134
  createdAt: z$1.ZodNumber;
9749
9135
  id: z$1.ZodString;
9750
9136
  kind: z$1.ZodLiteral<"work">;
9137
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9138
+ detail: z$1.ZodOptional<z$1.ZodString>;
9139
+ icon: z$1.ZodObject<{
9140
+ glyph: z$1.ZodString;
9141
+ }, z$1.core.$strip>;
9142
+ label: z$1.ZodObject<{
9143
+ completed: z$1.ZodString;
9144
+ pending: z$1.ZodString;
9145
+ }, z$1.core.$strip>;
9146
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9147
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9148
+ dark: z$1.ZodString;
9149
+ light: z$1.ZodString;
9150
+ }, z$1.core.$strip>>;
9151
+ title: z$1.ZodOptional<z$1.ZodString>;
9152
+ }, z$1.core.$strip>>;
9751
9153
  sourceSeqEnd: z$1.ZodNumber;
9752
9154
  sourceSeqStart: z$1.ZodNumber;
9753
9155
  startedAt: z$1.ZodNumber;
@@ -9770,6 +9172,22 @@ declare const timelineWebSearchWorkRowSchema: z$1.ZodObject<{
9770
9172
  createdAt: z$1.ZodNumber;
9771
9173
  id: z$1.ZodString;
9772
9174
  kind: z$1.ZodLiteral<"work">;
9175
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9176
+ detail: z$1.ZodOptional<z$1.ZodString>;
9177
+ icon: z$1.ZodObject<{
9178
+ glyph: z$1.ZodString;
9179
+ }, z$1.core.$strip>;
9180
+ label: z$1.ZodObject<{
9181
+ completed: z$1.ZodString;
9182
+ pending: z$1.ZodString;
9183
+ }, z$1.core.$strip>;
9184
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9185
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9186
+ dark: z$1.ZodString;
9187
+ light: z$1.ZodString;
9188
+ }, z$1.core.$strip>>;
9189
+ title: z$1.ZodOptional<z$1.ZodString>;
9190
+ }, z$1.core.$strip>>;
9773
9191
  queries: z$1.ZodArray<z$1.ZodString>;
9774
9192
  sourceSeqEnd: z$1.ZodNumber;
9775
9193
  sourceSeqStart: z$1.ZodNumber;
@@ -9782,17 +9200,206 @@ declare const timelineWebSearchWorkRowSchema: z$1.ZodObject<{
9782
9200
  }>;
9783
9201
  threadId: z$1.ZodString;
9784
9202
  turnId: z$1.ZodNullable<z$1.ZodString>;
9785
- workKind: z$1.ZodLiteral<"web-search">;
9203
+ workKind: z$1.ZodLiteral<"web-search">;
9204
+ }, z$1.core.$strip>;
9205
+ type TimelineWebSearchWorkRow = z$1.infer<typeof timelineWebSearchWorkRowSchema>;
9206
+ declare const timelineWebFetchWorkRowSchema: z$1.ZodObject<{
9207
+ callId: z$1.ZodString;
9208
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9209
+ createdAt: z$1.ZodNumber;
9210
+ id: z$1.ZodString;
9211
+ kind: z$1.ZodLiteral<"work">;
9212
+ pattern: z$1.ZodNullable<z$1.ZodString>;
9213
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9214
+ detail: z$1.ZodOptional<z$1.ZodString>;
9215
+ icon: z$1.ZodObject<{
9216
+ glyph: z$1.ZodString;
9217
+ }, z$1.core.$strip>;
9218
+ label: z$1.ZodObject<{
9219
+ completed: z$1.ZodString;
9220
+ pending: z$1.ZodString;
9221
+ }, z$1.core.$strip>;
9222
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9223
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9224
+ dark: z$1.ZodString;
9225
+ light: z$1.ZodString;
9226
+ }, z$1.core.$strip>>;
9227
+ title: z$1.ZodOptional<z$1.ZodString>;
9228
+ }, z$1.core.$strip>>;
9229
+ prompt: z$1.ZodNullable<z$1.ZodString>;
9230
+ sourceSeqEnd: z$1.ZodNumber;
9231
+ sourceSeqStart: z$1.ZodNumber;
9232
+ startedAt: z$1.ZodNumber;
9233
+ status: z$1.ZodEnum<{
9234
+ completed: "completed";
9235
+ error: "error";
9236
+ interrupted: "interrupted";
9237
+ pending: "pending";
9238
+ }>;
9239
+ threadId: z$1.ZodString;
9240
+ turnId: z$1.ZodNullable<z$1.ZodString>;
9241
+ url: z$1.ZodString;
9242
+ workKind: z$1.ZodLiteral<"web-fetch">;
9243
+ }, z$1.core.$strip>;
9244
+ type TimelineWebFetchWorkRow = z$1.infer<typeof timelineWebFetchWorkRowSchema>;
9245
+ declare const timelineImageViewWorkRowSchema: z$1.ZodObject<{
9246
+ callId: z$1.ZodString;
9247
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9248
+ createdAt: z$1.ZodNumber;
9249
+ id: z$1.ZodString;
9250
+ kind: z$1.ZodLiteral<"work">;
9251
+ path: z$1.ZodString;
9252
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9253
+ detail: z$1.ZodOptional<z$1.ZodString>;
9254
+ icon: z$1.ZodObject<{
9255
+ glyph: z$1.ZodString;
9256
+ }, z$1.core.$strip>;
9257
+ label: z$1.ZodObject<{
9258
+ completed: z$1.ZodString;
9259
+ pending: z$1.ZodString;
9260
+ }, z$1.core.$strip>;
9261
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9262
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9263
+ dark: z$1.ZodString;
9264
+ light: z$1.ZodString;
9265
+ }, z$1.core.$strip>>;
9266
+ title: z$1.ZodOptional<z$1.ZodString>;
9267
+ }, z$1.core.$strip>>;
9268
+ sourceSeqEnd: z$1.ZodNumber;
9269
+ sourceSeqStart: z$1.ZodNumber;
9270
+ startedAt: z$1.ZodNumber;
9271
+ status: z$1.ZodEnum<{
9272
+ completed: "completed";
9273
+ error: "error";
9274
+ interrupted: "interrupted";
9275
+ pending: "pending";
9276
+ }>;
9277
+ threadId: z$1.ZodString;
9278
+ turnId: z$1.ZodNullable<z$1.ZodString>;
9279
+ workKind: z$1.ZodLiteral<"image-view">;
9280
+ }, z$1.core.$strip>;
9281
+ type TimelineImageViewWorkRow = z$1.infer<typeof timelineImageViewWorkRowSchema>;
9282
+ /**
9283
+ * A file the agent read (grammar v3 `fileRead`). `cmd` is the native shell
9284
+ * form when the provider read through a command rather than a structured
9285
+ * tool; null for a structured read.
9286
+ */
9287
+ declare const timelineFileReadWorkRowSchema: z$1.ZodObject<{
9288
+ callId: z$1.ZodString;
9289
+ cmd: z$1.ZodNullable<z$1.ZodString>;
9290
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9291
+ createdAt: z$1.ZodNumber;
9292
+ id: z$1.ZodString;
9293
+ kind: z$1.ZodLiteral<"work">;
9294
+ path: z$1.ZodString;
9295
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9296
+ detail: z$1.ZodOptional<z$1.ZodString>;
9297
+ icon: z$1.ZodObject<{
9298
+ glyph: z$1.ZodString;
9299
+ }, z$1.core.$strip>;
9300
+ label: z$1.ZodObject<{
9301
+ completed: z$1.ZodString;
9302
+ pending: z$1.ZodString;
9303
+ }, z$1.core.$strip>;
9304
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9305
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9306
+ dark: z$1.ZodString;
9307
+ light: z$1.ZodString;
9308
+ }, z$1.core.$strip>>;
9309
+ title: z$1.ZodOptional<z$1.ZodString>;
9310
+ }, z$1.core.$strip>>;
9311
+ sourceSeqEnd: z$1.ZodNumber;
9312
+ sourceSeqStart: z$1.ZodNumber;
9313
+ startedAt: z$1.ZodNumber;
9314
+ status: z$1.ZodEnum<{
9315
+ completed: "completed";
9316
+ error: "error";
9317
+ interrupted: "interrupted";
9318
+ pending: "pending";
9319
+ }>;
9320
+ threadId: z$1.ZodString;
9321
+ turnId: z$1.ZodNullable<z$1.ZodString>;
9322
+ workKind: z$1.ZodLiteral<"file-read">;
9323
+ }, z$1.core.$strip>;
9324
+ type TimelineFileReadWorkRow = z$1.infer<typeof timelineFileReadWorkRowSchema>;
9325
+ /**
9326
+ * An exploration search (grammar v3 `search`): `content` searches inside
9327
+ * files, `path` matches file names, `list` enumerates a directory. `query`
9328
+ * is the pattern (empty for a whole-directory listing); `path` is the root
9329
+ * the search ran under when the provider named one.
9330
+ */
9331
+ declare const timelineSearchWorkRowSchema: z$1.ZodObject<{
9332
+ callId: z$1.ZodString;
9333
+ cmd: z$1.ZodNullable<z$1.ZodString>;
9334
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9335
+ createdAt: z$1.ZodNumber;
9336
+ id: z$1.ZodString;
9337
+ kind: z$1.ZodLiteral<"work">;
9338
+ mode: z$1.ZodEnum<{
9339
+ content: "content";
9340
+ list: "list";
9341
+ path: "path";
9342
+ }>;
9343
+ path: z$1.ZodNullable<z$1.ZodString>;
9344
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9345
+ detail: z$1.ZodOptional<z$1.ZodString>;
9346
+ icon: z$1.ZodObject<{
9347
+ glyph: z$1.ZodString;
9348
+ }, z$1.core.$strip>;
9349
+ label: z$1.ZodObject<{
9350
+ completed: z$1.ZodString;
9351
+ pending: z$1.ZodString;
9352
+ }, z$1.core.$strip>;
9353
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9354
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9355
+ dark: z$1.ZodString;
9356
+ light: z$1.ZodString;
9357
+ }, z$1.core.$strip>>;
9358
+ title: z$1.ZodOptional<z$1.ZodString>;
9359
+ }, z$1.core.$strip>>;
9360
+ query: z$1.ZodString;
9361
+ sourceSeqEnd: z$1.ZodNumber;
9362
+ sourceSeqStart: z$1.ZodNumber;
9363
+ startedAt: z$1.ZodNumber;
9364
+ status: z$1.ZodEnum<{
9365
+ completed: "completed";
9366
+ error: "error";
9367
+ interrupted: "interrupted";
9368
+ pending: "pending";
9369
+ }>;
9370
+ threadId: z$1.ZodString;
9371
+ turnId: z$1.ZodNullable<z$1.ZodString>;
9372
+ workKind: z$1.ZodLiteral<"search">;
9786
9373
  }, z$1.core.$strip>;
9787
- type TimelineWebSearchWorkRow = z$1.infer<typeof timelineWebSearchWorkRowSchema>;
9788
- declare const timelineWebFetchWorkRowSchema: z$1.ZodObject<{
9374
+ type TimelineSearchWorkRow = z$1.infer<typeof timelineSearchWorkRowSchema>;
9375
+ /**
9376
+ * A structured plan snapshot the agent maintains (grammar v3 `planSteps`:
9377
+ * codex `update_plan`, the Claude TodoWrite/Task family). Each row carries
9378
+ * the full step list of one snapshot; the todo banner reads the latest.
9379
+ */
9380
+ declare const timelinePlanStepsWorkRowSchema: z$1.ZodObject<{
9789
9381
  callId: z$1.ZodString;
9790
9382
  completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9791
9383
  createdAt: z$1.ZodNumber;
9384
+ explanation: z$1.ZodNullable<z$1.ZodString>;
9792
9385
  id: z$1.ZodString;
9793
9386
  kind: z$1.ZodLiteral<"work">;
9794
- pattern: z$1.ZodNullable<z$1.ZodString>;
9795
- prompt: z$1.ZodNullable<z$1.ZodString>;
9387
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9388
+ detail: z$1.ZodOptional<z$1.ZodString>;
9389
+ icon: z$1.ZodObject<{
9390
+ glyph: z$1.ZodString;
9391
+ }, z$1.core.$strip>;
9392
+ label: z$1.ZodObject<{
9393
+ completed: z$1.ZodString;
9394
+ pending: z$1.ZodString;
9395
+ }, z$1.core.$strip>;
9396
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9397
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9398
+ dark: z$1.ZodString;
9399
+ light: z$1.ZodString;
9400
+ }, z$1.core.$strip>>;
9401
+ title: z$1.ZodOptional<z$1.ZodString>;
9402
+ }, z$1.core.$strip>>;
9796
9403
  sourceSeqEnd: z$1.ZodNumber;
9797
9404
  sourceSeqStart: z$1.ZodNumber;
9798
9405
  startedAt: z$1.ZodNumber;
@@ -9802,19 +9409,51 @@ declare const timelineWebFetchWorkRowSchema: z$1.ZodObject<{
9802
9409
  interrupted: "interrupted";
9803
9410
  pending: "pending";
9804
9411
  }>;
9412
+ steps: z$1.ZodArray<z$1.ZodObject<{
9413
+ status: z$1.ZodOptional<z$1.ZodEnum<{
9414
+ active: "active";
9415
+ completed: "completed";
9416
+ failed: "failed";
9417
+ pending: "pending";
9418
+ }>>;
9419
+ step: z$1.ZodString;
9420
+ }, z$1.core.$strip>>;
9805
9421
  threadId: z$1.ZodString;
9806
9422
  turnId: z$1.ZodNullable<z$1.ZodString>;
9807
- url: z$1.ZodString;
9808
- workKind: z$1.ZodLiteral<"web-fetch">;
9423
+ workKind: z$1.ZodLiteral<"plan-steps">;
9809
9424
  }, z$1.core.$strip>;
9810
- type TimelineWebFetchWorkRow = z$1.infer<typeof timelineWebFetchWorkRowSchema>;
9811
- declare const timelineImageViewWorkRowSchema: z$1.ZodObject<{
9425
+ type TimelinePlanStepsWorkRow = z$1.infer<typeof timelinePlanStepsWorkRowSchema>;
9426
+ /**
9427
+ * A plugin-defined item kind outside the core vocabulary
9428
+ * (`extensionKind` is `"<pluginId>/<name>"`). The payload is the plugin's
9429
+ * declared shape, validated at ingest and opaque here. `presentation` is
9430
+ * required: the declarative base is the only thing every client can render,
9431
+ * and a plugin web renderer registered for the kind is an upgrade on top.
9432
+ */
9433
+ declare const timelineExtensionWorkRowSchema: z$1.ZodObject<{
9812
9434
  callId: z$1.ZodString;
9813
9435
  completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9814
9436
  createdAt: z$1.ZodNumber;
9437
+ extensionKind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
9815
9438
  id: z$1.ZodString;
9816
9439
  kind: z$1.ZodLiteral<"work">;
9817
- path: z$1.ZodString;
9440
+ payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
9441
+ presentation: z$1.ZodObject<{
9442
+ detail: z$1.ZodOptional<z$1.ZodString>;
9443
+ icon: z$1.ZodObject<{
9444
+ glyph: z$1.ZodString;
9445
+ }, z$1.core.$strip>;
9446
+ label: z$1.ZodObject<{
9447
+ completed: z$1.ZodString;
9448
+ pending: z$1.ZodString;
9449
+ }, z$1.core.$strip>;
9450
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9451
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9452
+ dark: z$1.ZodString;
9453
+ light: z$1.ZodString;
9454
+ }, z$1.core.$strip>>;
9455
+ title: z$1.ZodOptional<z$1.ZodString>;
9456
+ }, z$1.core.$strip>;
9818
9457
  sourceSeqEnd: z$1.ZodNumber;
9819
9458
  sourceSeqStart: z$1.ZodNumber;
9820
9459
  startedAt: z$1.ZodNumber;
@@ -9826,9 +9465,9 @@ declare const timelineImageViewWorkRowSchema: z$1.ZodObject<{
9826
9465
  }>;
9827
9466
  threadId: z$1.ZodString;
9828
9467
  turnId: z$1.ZodNullable<z$1.ZodString>;
9829
- workKind: z$1.ZodLiteral<"image-view">;
9468
+ workKind: z$1.ZodLiteral<"extension">;
9830
9469
  }, z$1.core.$strip>;
9831
- type TimelineImageViewWorkRow = z$1.infer<typeof timelineImageViewWorkRowSchema>;
9470
+ type TimelineExtensionWorkRow = z$1.infer<typeof timelineExtensionWorkRowSchema>;
9832
9471
  declare const timelineApprovalWorkRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9833
9472
  approvalKind: z$1.ZodLiteral<"file-edit">;
9834
9473
  createdAt: z$1.ZodNumber;
@@ -9933,15 +9572,24 @@ declare const timelineQuestionWorkRowSchema: z$1.ZodObject<{
9933
9572
  workKind: z$1.ZodLiteral<"question">;
9934
9573
  }, z$1.core.$strip>;
9935
9574
  type TimelineQuestionWorkRow = z$1.infer<typeof timelineQuestionWorkRowSchema>;
9575
+ /**
9576
+ * Work the agent delegated to a child agent. `childRef` is the provider-
9577
+ * native id of the child (grammar v3 `delegation`); null for rows projected
9578
+ * from a legacy delegation tool call, whose child is linked by turn parentage
9579
+ * alone. `background` marks a delegation that outlives its spawning turn.
9580
+ */
9936
9581
  interface TimelineDelegationWorkRow extends TimelineWorkRowBase {
9937
9582
  workKind: "delegation";
9938
9583
  callId: string;
9939
9584
  toolName: string;
9585
+ childRef: string | null;
9586
+ background: boolean;
9940
9587
  subagentType: string | null;
9941
9588
  description: string | null;
9942
9589
  output: string;
9943
9590
  completedAt: number | null;
9944
9591
  childRows: TimelineRow[];
9592
+ presentation?: TimelineRowPresentation;
9945
9593
  }
9946
9594
  /**
9947
9595
  * A provider background task — a dynamic workflow (Claude Code Workflow tool)
@@ -9963,6 +9611,22 @@ declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
9963
9611
  itemId: z$1.ZodString;
9964
9612
  kind: z$1.ZodLiteral<"work">;
9965
9613
  model: z$1.ZodNullable<z$1.ZodString>;
9614
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
9615
+ detail: z$1.ZodOptional<z$1.ZodString>;
9616
+ icon: z$1.ZodObject<{
9617
+ glyph: z$1.ZodString;
9618
+ }, z$1.core.$strip>;
9619
+ label: z$1.ZodObject<{
9620
+ completed: z$1.ZodString;
9621
+ pending: z$1.ZodString;
9622
+ }, z$1.core.$strip>;
9623
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
9624
+ tint: z$1.ZodOptional<z$1.ZodObject<{
9625
+ dark: z$1.ZodString;
9626
+ light: z$1.ZodString;
9627
+ }, z$1.core.$strip>>;
9628
+ title: z$1.ZodOptional<z$1.ZodString>;
9629
+ }, z$1.core.$strip>>;
9966
9630
  sourceSeqEnd: z$1.ZodNumber;
9967
9631
  sourceSeqStart: z$1.ZodNumber;
9968
9632
  startedAt: z$1.ZodNumber;
@@ -10030,7 +9694,7 @@ declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
10030
9694
  workflowName: z$1.ZodNullable<z$1.ZodString>;
10031
9695
  }, z$1.core.$strip>;
10032
9696
  type TimelineWorkflowWorkRow = z$1.infer<typeof timelineWorkflowWorkRowSchema>;
10033
- type TimelineWorkRow = TimelineCommandWorkRow | TimelineToolWorkRow | TimelineFileChangeWorkRow | TimelineWebSearchWorkRow | TimelineWebFetchWorkRow | TimelineImageViewWorkRow | TimelineApprovalWorkRow | TimelineQuestionWorkRow | TimelineDelegationWorkRow | TimelineWorkflowWorkRow;
9697
+ type TimelineWorkRow = TimelineCommandWorkRow | TimelineToolWorkRow | TimelineFileChangeWorkRow | TimelineWebSearchWorkRow | TimelineWebFetchWorkRow | TimelineImageViewWorkRow | TimelineFileReadWorkRow | TimelineSearchWorkRow | TimelinePlanStepsWorkRow | TimelineExtensionWorkRow | TimelineApprovalWorkRow | TimelineQuestionWorkRow | TimelineDelegationWorkRow | TimelineWorkflowWorkRow;
10034
9698
  interface TimelineTurnRow extends TimelineRowBase {
10035
9699
  kind: "turn";
10036
9700
  turnId: string;
@@ -11431,7 +11095,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
11431
11095
  }>;
11432
11096
  }, z$1.core.$strip>;
11433
11097
  type ThreadWithIncludesResponse = z$1.infer<typeof threadWithIncludesResponseSchema>;
11434
- declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
11098
+ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.ZodObject<{
11435
11099
  createdAt: z$1.ZodNumber;
11436
11100
  expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
11437
11101
  id: z$1.ZodString;
@@ -11441,7 +11105,7 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11441
11105
  providerRequestId: z$1.ZodString;
11442
11106
  providerThreadId: z$1.ZodString;
11443
11107
  }, z$1.core.$strip>>;
11444
- payload: z$1.ZodUnion<readonly [z$1.ZodObject<{
11108
+ payload: z$1.ZodObject<{
11445
11109
  availableDecisions: z$1.ZodArray<z$1.ZodEnum<{
11446
11110
  allow_for_session: "allow_for_session";
11447
11111
  allow_once: "allow_once";
@@ -11533,25 +11197,11 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11533
11197
  }, z$1.core.$strip>;
11534
11198
  tool: z$1.ZodString;
11535
11199
  }, z$1.core.$strip>], "kind">;
11536
- }, z$1.core.$strip>, z$1.ZodObject<{
11537
- kind: z$1.ZodLiteral<"user_question">;
11538
- questions: z$1.ZodArray<z$1.ZodObject<{
11539
- allowFreeText: z$1.ZodBoolean;
11540
- id: z$1.ZodString;
11541
- multiSelect: z$1.ZodBoolean;
11542
- options: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
11543
- description: z$1.ZodOptional<z$1.ZodString>;
11544
- label: z$1.ZodString;
11545
- value: z$1.ZodString;
11546
- }, z$1.core.$strip>>>;
11547
- prompt: z$1.ZodString;
11548
- shortLabel: z$1.ZodOptional<z$1.ZodString>;
11549
- }, z$1.core.$strip>>;
11550
- }, z$1.core.$strip>]>;
11200
+ }, z$1.core.$strip>;
11551
11201
  providerId: z$1.ZodString;
11552
11202
  providerRequestId: z$1.ZodString;
11553
11203
  providerThreadId: z$1.ZodString;
11554
- resolution: z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
11204
+ resolution: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
11555
11205
  decision: z$1.ZodLiteral<"allow_once">;
11556
11206
  grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
11557
11207
  fileSystem: z$1.ZodNullable<z$1.ZodObject<{
@@ -11575,13 +11225,52 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11575
11225
  }, z$1.core.$strict>>;
11576
11226
  }, z$1.core.$strip>, z$1.ZodObject<{
11577
11227
  decision: z$1.ZodLiteral<"deny">;
11578
- }, z$1.core.$strip>], "decision">, z$1.ZodObject<{
11228
+ }, z$1.core.$strip>], "decision">>;
11229
+ resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
11230
+ status: z$1.ZodEnum<{
11231
+ interrupted: "interrupted";
11232
+ pending: "pending";
11233
+ resolved: "resolved";
11234
+ resolving: "resolving";
11235
+ }>;
11236
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
11237
+ threadId: z$1.ZodString;
11238
+ turnId: z$1.ZodString;
11239
+ }, z$1.core.$strip>, z$1.ZodObject<{
11240
+ createdAt: z$1.ZodNumber;
11241
+ expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
11242
+ id: z$1.ZodString;
11243
+ origin: z$1.ZodOptional<z$1.ZodObject<{
11244
+ kind: z$1.ZodLiteral<"provider">;
11245
+ providerId: z$1.ZodString;
11246
+ providerRequestId: z$1.ZodString;
11247
+ providerThreadId: z$1.ZodString;
11248
+ }, z$1.core.$strip>>;
11249
+ payload: z$1.ZodObject<{
11250
+ kind: z$1.ZodLiteral<"user_question">;
11251
+ questions: z$1.ZodArray<z$1.ZodObject<{
11252
+ allowFreeText: z$1.ZodBoolean;
11253
+ id: z$1.ZodString;
11254
+ multiSelect: z$1.ZodBoolean;
11255
+ options: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
11256
+ description: z$1.ZodOptional<z$1.ZodString>;
11257
+ label: z$1.ZodString;
11258
+ value: z$1.ZodString;
11259
+ }, z$1.core.$strip>>>;
11260
+ prompt: z$1.ZodString;
11261
+ shortLabel: z$1.ZodOptional<z$1.ZodString>;
11262
+ }, z$1.core.$strip>>;
11263
+ }, z$1.core.$strip>;
11264
+ providerId: z$1.ZodString;
11265
+ providerRequestId: z$1.ZodString;
11266
+ providerThreadId: z$1.ZodString;
11267
+ resolution: z$1.ZodNullable<z$1.ZodObject<{
11579
11268
  answers: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
11580
11269
  freeText: z$1.ZodOptional<z$1.ZodString>;
11581
11270
  selected: z$1.ZodArray<z$1.ZodString>;
11582
11271
  }, z$1.core.$strip>>;
11583
11272
  kind: z$1.ZodLiteral<"user_answer">;
11584
- }, z$1.core.$strip>]>>;
11273
+ }, z$1.core.$strip>>;
11585
11274
  resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
11586
11275
  status: z$1.ZodEnum<{
11587
11276
  interrupted: "interrupted";
@@ -11593,6 +11282,38 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11593
11282
  threadId: z$1.ZodString;
11594
11283
  turnId: z$1.ZodString;
11595
11284
  }, z$1.core.$strip>, z$1.ZodObject<{
11285
+ createdAt: z$1.ZodNumber;
11286
+ expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
11287
+ id: z$1.ZodString;
11288
+ origin: z$1.ZodOptional<z$1.ZodObject<{
11289
+ kind: z$1.ZodLiteral<"provider">;
11290
+ providerId: z$1.ZodString;
11291
+ providerRequestId: z$1.ZodString;
11292
+ providerThreadId: z$1.ZodString;
11293
+ }, z$1.core.$strip>>;
11294
+ payload: z$1.ZodObject<{
11295
+ data: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
11296
+ kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
11297
+ title: z$1.ZodString;
11298
+ }, z$1.core.$strip>;
11299
+ providerId: z$1.ZodString;
11300
+ providerRequestId: z$1.ZodString;
11301
+ providerThreadId: z$1.ZodString;
11302
+ resolution: z$1.ZodNullable<z$1.ZodObject<{
11303
+ kind: z$1.ZodLiteral<"request_answer">;
11304
+ value: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
11305
+ }, z$1.core.$strip>>;
11306
+ resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
11307
+ status: z$1.ZodEnum<{
11308
+ interrupted: "interrupted";
11309
+ pending: "pending";
11310
+ resolved: "resolved";
11311
+ resolving: "resolving";
11312
+ }>;
11313
+ statusReason: z$1.ZodNullable<z$1.ZodString>;
11314
+ threadId: z$1.ZodString;
11315
+ turnId: z$1.ZodString;
11316
+ }, z$1.core.$strip>]>, z$1.ZodObject<{
11596
11317
  createdAt: z$1.ZodNumber;
11597
11318
  expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
11598
11319
  id: z$1.ZodString;
@@ -11902,6 +11623,22 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
11902
11623
  itemId: z$1.ZodString;
11903
11624
  kind: z$1.ZodLiteral<"work">;
11904
11625
  model: z$1.ZodNullable<z$1.ZodString>;
11626
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
11627
+ detail: z$1.ZodOptional<z$1.ZodString>;
11628
+ icon: z$1.ZodObject<{
11629
+ glyph: z$1.ZodString;
11630
+ }, z$1.core.$strip>;
11631
+ label: z$1.ZodObject<{
11632
+ completed: z$1.ZodString;
11633
+ pending: z$1.ZodString;
11634
+ }, z$1.core.$strip>;
11635
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
11636
+ tint: z$1.ZodOptional<z$1.ZodObject<{
11637
+ dark: z$1.ZodString;
11638
+ light: z$1.ZodString;
11639
+ }, z$1.core.$strip>>;
11640
+ title: z$1.ZodOptional<z$1.ZodString>;
11641
+ }, z$1.core.$strip>>;
11905
11642
  sourceSeqEnd: z$1.ZodNumber;
11906
11643
  sourceSeqStart: z$1.ZodNumber;
11907
11644
  startedAt: z$1.ZodNumber;
@@ -11988,6 +11725,22 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
11988
11725
  itemId: z$1.ZodString;
11989
11726
  kind: z$1.ZodLiteral<"work">;
11990
11727
  model: z$1.ZodNullable<z$1.ZodString>;
11728
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
11729
+ detail: z$1.ZodOptional<z$1.ZodString>;
11730
+ icon: z$1.ZodObject<{
11731
+ glyph: z$1.ZodString;
11732
+ }, z$1.core.$strip>;
11733
+ label: z$1.ZodObject<{
11734
+ completed: z$1.ZodString;
11735
+ pending: z$1.ZodString;
11736
+ }, z$1.core.$strip>;
11737
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
11738
+ tint: z$1.ZodOptional<z$1.ZodObject<{
11739
+ dark: z$1.ZodString;
11740
+ light: z$1.ZodString;
11741
+ }, z$1.core.$strip>>;
11742
+ title: z$1.ZodOptional<z$1.ZodString>;
11743
+ }, z$1.core.$strip>>;
11991
11744
  sourceSeqEnd: z$1.ZodNumber;
11992
11745
  sourceSeqStart: z$1.ZodNumber;
11993
11746
  startedAt: z$1.ZodNumber;
@@ -12605,7 +12358,9 @@ interface PluginThreadListProps {
12605
12358
  *
12606
12359
  * @experimental Audit before relying on this as a stable contract.
12607
12360
  */
12608
- experimental_Original: ComponentType;
12361
+ Original: ComponentType;
12362
+ /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
12363
+ experimental_Original?: ComponentType;
12609
12364
  }
12610
12365
  /**
12611
12366
  * Props passed to an `experimental_threadHeaderAction` component, rendered in
@@ -12656,7 +12411,9 @@ interface PluginFileOpenerProps {
12656
12411
  *
12657
12412
  * @experimental Audit before relying on this as a stable contract.
12658
12413
  */
12659
- experimental_Original: ComponentType;
12414
+ Original: ComponentType;
12415
+ /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
12416
+ experimental_Original?: ComponentType;
12660
12417
  }
12661
12418
  /** How a code line longer than the viewport is presented. */
12662
12419
  type CodeOverflowMode = "scroll" | "wrap";
@@ -12747,7 +12504,9 @@ interface PluginSourceCodeRendererProps {
12747
12504
  *
12748
12505
  * @experimental Audit before relying on this as a stable contract.
12749
12506
  */
12750
- experimental_Original: ComponentType;
12507
+ Original: ComponentType;
12508
+ /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
12509
+ experimental_Original?: ComponentType;
12751
12510
  }
12752
12511
  /**
12753
12512
  * Props passed to an `experimental_diffRenderer` component. `patch` is always
@@ -12774,7 +12533,9 @@ interface PluginDiffRendererProps {
12774
12533
  *
12775
12534
  * @experimental Audit before relying on this as a stable contract.
12776
12535
  */
12777
- experimental_Original: ComponentType;
12536
+ Original: ComponentType;
12537
+ /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
12538
+ experimental_Original?: ComponentType;
12778
12539
  }
12779
12540
  /**
12780
12541
  * Message context passed to a `messageDirective` component — the assistant
@@ -12848,7 +12609,7 @@ type ExperimentalPluginFixedTabReference<Target extends JsonValue = never> = {
12848
12609
  readonly experimental_target: ExperimentalFixedTabTargetContract<Target>;
12849
12610
  });
12850
12611
  /** A fixed tab declared by a plugin nav panel. */
12851
- type ExperimentalPluginFixedTabRegistration<Target extends JsonValue = never> = ExperimentalPluginFixedTabReference<Target> & {
12612
+ type PluginFixedTabRegistration<Target extends JsonValue = never> = ExperimentalPluginFixedTabReference<Target> & {
12852
12613
  title: string;
12853
12614
  /** Icon hint (BB icon name); unknown names fall back to a generic icon. */
12854
12615
  icon: string;
@@ -12857,7 +12618,7 @@ type ExperimentalPluginFixedTabRegistration<Target extends JsonValue = never> =
12857
12618
  layout?: "flush" | "padded";
12858
12619
  };
12859
12620
  /** A fixed tab with either no target or an owner-validated JSON target. */
12860
- type ExperimentalPluginFixedTabDeclaration = ExperimentalPluginFixedTabRegistration | ExperimentalPluginFixedTabRegistration<JsonValue>;
12621
+ type PluginFixedTabDeclaration = PluginFixedTabRegistration | PluginFixedTabRegistration<JsonValue>;
12861
12622
  interface PluginNavPanelRegistration {
12862
12623
  /** Unique within the plugin; letters, digits, `-`, `_`. */
12863
12624
  id: string;
@@ -12877,7 +12638,7 @@ interface PluginNavPanelRegistration {
12877
12638
  *
12878
12639
  * Experimental: see docs/api_to_audit.md.
12879
12640
  */
12880
- experimental_fixedTabs?: readonly ExperimentalPluginFixedTabDeclaration[];
12641
+ fixedTabs?: readonly PluginFixedTabDeclaration[];
12881
12642
  /**
12882
12643
  * Optional presentational component rendered at the trailing edge of this
12883
12644
  * panel's sidebar row. It receives no props so it can own a narrow live
@@ -12999,7 +12760,17 @@ interface PluginNewThreadPanelActionRegistration {
12999
12760
  run?(context: PluginNewThreadPanelActionContext): void | Promise<void>;
13000
12761
  }
13001
12762
  interface PluginPendingInteractionRegistration {
13002
- /** Matches `rendererId` passed to `bb.ui.requestInput`. */
12763
+ /**
12764
+ * The renderer's plugin-local name. Two addresses resolve to it: the
12765
+ * `rendererId` a backend passes to `bb.ui.requestInput`, and the `<name>`
12766
+ * half of a provider bridge's `interaction/request` kind
12767
+ * `"<pluginId>/<name>"` (docs/provider-plugin-api.md §4), which the client
12768
+ * splits on the slash to find this registration under its plugin.
12769
+ * `bb.ui.requestInput` validates `rendererId` against `/^[a-zA-Z0-9_-]+$/`;
12770
+ * an extension kind must match `/^[a-z0-9-]+\/[a-z0-9-]+$/`
12771
+ * (`EXTENSION_KIND_PATTERN` in @bb/domain), so an id addressable both ways
12772
+ * uses lowercase letters, digits, and "-" only.
12773
+ */
13003
12774
  id: string;
13004
12775
  component: ComponentType<PluginPendingInteractionProps>;
13005
12776
  }
@@ -13271,7 +13042,7 @@ interface PluginSidebarThreadSplit {
13271
13042
  * enabled. If multiple plugins register one, the first in deterministic slot
13272
13043
  * order is active by default; removing it reveals the next. The user can pin
13273
13044
  * BB's list or a specific provider under Settings → Appearance. A plugin can
13274
- * also use its own setting and render `experimental_Original` conditionally.
13045
+ * also use its own setting and render `Original` conditionally.
13275
13046
  * An absent or crashing replacement falls back to BB's list rather than
13276
13047
  * leaving the user with no sidebar.
13277
13048
  *
@@ -13295,7 +13066,7 @@ interface PluginThreadListRegistration {
13295
13066
  * order. The user can pin BB's preview or a specific opener per extension
13296
13067
  * under Settings → Files. The file tab's "Open with" menu can override that
13297
13068
  * choice for one open. A plugin can also use its own setting and render
13298
- * `experimental_Original` conditionally. Applies to working-tree, host, and
13069
+ * `Original` conditionally. Applies to working-tree, host, and
13299
13070
  * thread-storage files — never to git-ref snapshots (diff views always use
13300
13071
  * BB's preview).
13301
13072
  */
@@ -13315,7 +13086,7 @@ interface PluginFileOpenerRegistration {
13315
13086
  * **exclusive**: one renderer at a time. Registering activates it while the
13316
13087
  * plugin is enabled; if several are registered the first in deterministic slot
13317
13088
  * order wins. A missing, disabled, or crashing replacement falls back to BB's
13318
- * renderer, and a replacement can render `experimental_Original` to delegate
13089
+ * renderer, and a replacement can render `Original` to delegate
13319
13090
  * per call (behind its own setting, by language, by size — whatever it needs).
13320
13091
  */
13321
13092
  interface PluginSourceCodeRendererRegistration {
@@ -13331,7 +13102,7 @@ interface PluginSourceCodeRendererRegistration {
13331
13102
  * Replace BB's diff renderer everywhere it renders supplied diff content — the
13332
13103
  * timeline file diffs, the environment diff panel's text bodies, and every
13333
13104
  * plugin that calls `experimental_Diff`. Exclusive, with the same activation,
13334
- * fallback, and `experimental_Original` delegation rules as
13105
+ * fallback, and `Original` delegation rules as
13335
13106
  * {@link PluginSourceCodeRendererRegistration}.
13336
13107
  */
13337
13108
  interface PluginDiffRendererRegistration {
@@ -13485,6 +13256,94 @@ interface PluginProviderIconRegistration {
13485
13256
  className?: string;
13486
13257
  }>;
13487
13258
  }
13259
+ /**
13260
+ * The declarative presentation persisted with a timeline item (docs/
13261
+ * provider-plugin-api.md §3): what every client renders when no plugin code
13262
+ * is present. A renderer receives it so it can reuse the bridge's label,
13263
+ * glyph and tint instead of re-deriving them from the payload.
13264
+ */
13265
+ interface PluginTimelineRowPresentation {
13266
+ label: {
13267
+ pending: string;
13268
+ completed: string;
13269
+ };
13270
+ icon: {
13271
+ glyph: string;
13272
+ };
13273
+ title?: string;
13274
+ /** Short Markdown, length-capped at ingest. */
13275
+ detail?: string;
13276
+ suppress?: boolean;
13277
+ tint?: {
13278
+ light: string;
13279
+ dark: string;
13280
+ };
13281
+ }
13282
+ type PluginTimelineRowStatus = "completed" | "error" | "interrupted" | "pending";
13283
+ /** The projected row a `experimental_timelineRenderer` component receives. */
13284
+ interface PluginTimelineRendererRow {
13285
+ id: string;
13286
+ threadId: string;
13287
+ turnId: string | null;
13288
+ /**
13289
+ * The item kind the renderer registered for: this plugin's extension kind
13290
+ * (`"<pluginId>/<name>"`) or `"tool"` for a generic tool item.
13291
+ */
13292
+ kind: string;
13293
+ /** The tool name for a `"tool"` row; null for an extension row. */
13294
+ toolName: string | null;
13295
+ status: PluginTimelineRowStatus;
13296
+ startedAt: number;
13297
+ completedAt: number | null;
13298
+ }
13299
+ interface PluginTimelineRendererProps {
13300
+ row: PluginTimelineRendererRow;
13301
+ /**
13302
+ * The item's data: an extension item's payload (validated against the
13303
+ * plugin's declared schema at ingest), or for a `"tool"` row the call's
13304
+ * `{ arguments, output }`.
13305
+ */
13306
+ payload: JsonValue;
13307
+ /**
13308
+ * The bridge's presentation for the row. Null only for a generic tool row
13309
+ * persisted before bridges attached presentation (grammar v2); an
13310
+ * extension row always has one.
13311
+ */
13312
+ presentation: PluginTimelineRowPresentation | null;
13313
+ /** The thread the row belongs to. */
13314
+ thread: {
13315
+ id: string;
13316
+ providerId: string | null;
13317
+ };
13318
+ /**
13319
+ * The host's declarative base for this row's body (the presentation's
13320
+ * `detail`, or the tool call's arguments and output). Render it to keep
13321
+ * the default body beside the plugin's own content.
13322
+ */
13323
+ Original: ComponentType<Record<never, never>>;
13324
+ }
13325
+ /**
13326
+ * Render the expanded body of the timeline rows this plugin owns: its own
13327
+ * extension item kinds (`"<pluginId>/<name>"`, where `<pluginId>` is this
13328
+ * plugin), and `"tool"` for the generic tool items of the providers this
13329
+ * plugin registered. Core kinds (message, command, fileChange, fileRead,
13330
+ * search, delegation, planSteps, …) always use the core renderers and are
13331
+ * customized through the bridge's presentation alone.
13332
+ *
13333
+ * The row's header — the bridge's label, glyph, tint and headline — stays
13334
+ * host-rendered so the timeline reads uniformly; the component owns the
13335
+ * body. When no renderer is registered for a kind (the plugin is not loaded,
13336
+ * uninstalled, or never shipped an app bundle) the declarative base renders
13337
+ * instead, so a row never goes blank. Crashes are contained per row.
13338
+ */
13339
+ interface PluginTimelineRendererRegistration {
13340
+ /**
13341
+ * `"<pluginId>/<name>"` for one of this plugin's extension kinds, or
13342
+ * `"tool"` for the generic tool items of this plugin's providers.
13343
+ */
13344
+ kind: string;
13345
+ component: ComponentType<PluginTimelineRendererProps>;
13346
+ }
13488
13347
  interface PluginAppSlots {
13489
13348
  homepageSection(registration: PluginHomepageSectionRegistration): void;
13490
13349
  settingsSection(registration: PluginSettingsSectionRegistration): void;
@@ -13541,6 +13400,13 @@ interface PluginAppSlots {
13541
13400
  * docs/api_to_audit.md.
13542
13401
  */
13543
13402
  experimental_providerIcon(registration: PluginProviderIconRegistration): void;
13403
+ /**
13404
+ * Render the body of this plugin's own timeline rows: its extension kinds
13405
+ * and its providers' generic tool items (see
13406
+ * {@link PluginTimelineRendererRegistration}). Experimental: see
13407
+ * docs/api_to_audit.md.
13408
+ */
13409
+ experimental_timelineRenderer(registration: PluginTimelineRendererRegistration): void;
13544
13410
  }
13545
13411
  interface PluginAppComposer {
13546
13412
  customize(registration: ComposerCustomization): void;
@@ -14069,7 +13935,7 @@ interface MarkdownProps {
14069
13935
  * supplied `rel` tokens and receive safe defaults unless `opener` is explicit.
14070
13936
  * Experimental: see docs/api_to_audit.md.
14071
13937
  */
14072
- interface ExperimentalUrlLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href"> {
13938
+ interface UrlLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href"> {
14073
13939
  href: string;
14074
13940
  }
14075
13941
  /** A live file whose identity is complete without ambient route context. */
@@ -14173,7 +14039,7 @@ interface BbNavigate {
14173
14039
  * false for schemes the host does not own. Experimental: see
14174
14040
  * docs/api_to_audit.md.
14175
14041
  */
14176
- experimental_openUrl(url: string): boolean;
14042
+ openUrl(url: string): boolean;
14177
14043
  /** Open a live file in this surface's shared BB preview panel. */
14178
14044
  experimental_openFilePreview(options: ExperimentalFileOpenOptions): boolean;
14179
14045
  /** Open a live file in this client's preferred external file target. */
@@ -14263,7 +14129,7 @@ interface PluginSdkApp {
14263
14129
  * A real anchor whose ordinary HTTP(S) activation uses BB's URL preference.
14264
14130
  * Experimental: see docs/api_to_audit.md.
14265
14131
  */
14266
- experimental_UrlLink: ComponentType<ExperimentalUrlLinkProps>;
14132
+ UrlLink: ComponentType<UrlLinkProps>;
14267
14133
  /** Host-rendered live-file link backed by the shared navigation controller. */
14268
14134
  experimental_FileLink: ComponentType<ExperimentalFileLinkProps>;
14269
14135
  /**
@@ -15766,6 +15632,11 @@ type PluginSettingDescriptor = {
15766
15632
  description?: string;
15767
15633
  /** Stored in a 0600 file under <dataDir>/plugins/<id>/secrets/, never in the db or sent to the frontend. */
15768
15634
  secret?: true;
15635
+ /**
15636
+ * Render as a multi-line text field; for JSON or lists. Secrets cannot
15637
+ * be multi-line.
15638
+ */
15639
+ experimental_multiline?: boolean;
15769
15640
  default?: string;
15770
15641
  } | {
15771
15642
  type: "boolean";
@@ -16020,11 +15891,10 @@ interface PluginAgentToolContext {
16020
15891
  signal: AbortSignal;
16021
15892
  }
16022
15893
  /**
16023
- * Native timeline labels for a plugin tool, keyed by BB's own timeline row
16024
- * status. This is experimental: BB may refine its presentation contract
16025
- * before the field is stabilized.
15894
+ * The row title of a plugin tool call while it is pending and once it
15895
+ * settled. Each label is capped at 80 characters and rendered as plain text.
16026
15896
  */
16027
- interface PluginAgentToolExperimentalStatusLabels {
15897
+ interface PluginAgentToolLabels {
16028
15898
  /** Label shown while the tool call is pending. */
16029
15899
  pending: string;
16030
15900
  /** Label shown after the tool call completes successfully. */
@@ -16033,14 +15903,20 @@ interface PluginAgentToolExperimentalStatusLabels {
16033
15903
  /**
16034
15904
  * How calls to a native plugin tool read as a timeline row (grammar v3). Every
16035
15905
  * field is optional at registration: the server fills what the plugin leaves
16036
- * out (the `experimental_statusLabels` pair as the label, then a generic
16037
- * label; the plugin's branding glyph, then `Toolbox`) and hands one complete
16038
- * presentation to the provider bridge with the tool definition.
15906
+ * out (a generic `Running <name>` / `Ran <name>` label; the plugin's branding
15907
+ * glyph, then `Toolbox`) and hands one complete presentation to the provider
15908
+ * bridge with the tool definition.
16039
15909
  */
16040
15910
  interface PluginAgentToolPresentation {
16041
15911
  /** Row title while the call is pending and once it settled. */
16042
- label?: PluginAgentToolExperimentalStatusLabels;
16043
- /** A named host glyph (`{ glyph: "Workflow" }`). */
15912
+ label?: PluginAgentToolLabels;
15913
+ /**
15914
+ * A named host glyph (`{ glyph: "Workflow" }`), or one of this plugin's
15915
+ * own declared icons by its namespaced glyph (`{ glyph: "<pluginId>/<name>" }`,
15916
+ * an entry of the manifest's `bb.branding.experimental_icons` map). A
15917
+ * namespaced glyph that names another plugin or an undeclared name rejects
15918
+ * the tool registration.
15919
+ */
16044
15920
  icon?: {
16045
15921
  glyph: string;
16046
15922
  };
@@ -16066,18 +15942,12 @@ interface PluginAgentToolRegistrationBase {
16066
15942
  */
16067
15943
  instructions?: string;
16068
15944
  /**
16069
- * Optional native timeline labels. When omitted, BB shows the standard
16070
- * tool name and arguments (for example, `Ran tool search_docs …`). Labels
16071
- * apply only while the call is pending and after successful completion;
16072
- * approval, error, and interruption states keep BB's standard rendering.
15945
+ * How calls to this tool read as a timeline row (grammar v3). When omitted,
15946
+ * BB shows the standard tool name (`Running <name>` / `Ran <name>`) and the
15947
+ * plugin's branding glyph. Approval, error, and interruption states keep
15948
+ * BB's standard rendering. See docs/api_to_audit.md.
16073
15949
  */
16074
- experimental_statusLabels?: PluginAgentToolExperimentalStatusLabels;
16075
- /**
16076
- * How calls to this tool read as a timeline row (grammar v3). Supersedes
16077
- * `experimental_statusLabels`, which still supplies the label when this
16078
- * field omits one. See docs/api_to_audit.md.
16079
- */
16080
- experimental_presentation?: PluginAgentToolPresentation;
15950
+ presentation?: PluginAgentToolPresentation;
16081
15951
  }
16082
15952
  /** Stable, plain-data context resolved by the server for one agent session. */
16083
15953
  interface PluginAgentConfigurationContext {
@@ -16186,17 +16056,6 @@ type PluginProviderComposerAction = "goal" | "plan";
16186
16056
  * starting the bridge first.
16187
16057
  */
16188
16058
  interface PluginProviderCapabilities {
16189
- /** The provider bridge implements the sessionless `provider/health`
16190
- * request. This is host-local readiness, not a network health check. */
16191
- experimental_providerHealth: boolean;
16192
- /** The provider exposes subscription usage through the sessionless
16193
- * `provider/usage` request. False means callers skip the request and usage
16194
- * settings omit the provider. A shared bridge that declares true may still
16195
- * report usage unavailable for one provider id or return no windows. */
16196
- experimental_providerUsage: boolean;
16197
- /** The provider bridge implements `provider/installation/status` and
16198
- * `provider/installation/run` for host-local installation management. */
16199
- experimental_providerInstallation: boolean;
16200
16059
  /** The provider accepts a fast/priority service-tier choice — shows the
16201
16060
  * service-tier toggle in the picker. */
16202
16061
  supportsServiceTier: boolean;
@@ -16276,7 +16135,7 @@ interface PluginProviderExtensionKindDeclaration {
16276
16135
  }
16277
16136
  /**
16278
16137
  * Per-command context handed to
16279
- * {@link PluginProviderDeclaration.experimental_deriveProviderOptions}. The
16138
+ * {@link PluginProviderDeclaration.deriveProviderOptions}. The
16280
16139
  * server builds one for every session and turn command it dispatches on a
16281
16140
  * thread of this provider.
16282
16141
  */
@@ -16302,6 +16161,8 @@ interface PluginProviderOptionsContext {
16302
16161
  */
16303
16162
  settings: Readonly<Record<string, PluginSettingValue | undefined>>;
16304
16163
  }
16164
+ /** See {@link PluginProviderDeclaration.models}. */
16165
+ type PluginProviderModelCatalogScope = "host" | "workspace";
16305
16166
  /**
16306
16167
  * One cold-cache fallback model. The provider's live `model/list` result is
16307
16168
  * the only real model source; this list stands in only while no probe has
@@ -16323,6 +16184,26 @@ interface PluginProviderFallbackModel {
16323
16184
  /** Exactly one entry in the list is the default. */
16324
16185
  isDefault: boolean;
16325
16186
  }
16187
+ /**
16188
+ * Which sessionless maintenance requests a provider bridge implements. The
16189
+ * server skips the requests a provider does not declare, and clients omit
16190
+ * the matching surfaces, without starting the bridge first.
16191
+ */
16192
+ interface PluginProviderMaintenance {
16193
+ /** `provider/health`: host-local readiness, never a network health check. */
16194
+ health?: boolean;
16195
+ /** `provider/usage`: subscription usage windows. False means usage settings
16196
+ * omit the provider. A shared bridge that declares true may still report
16197
+ * usage unavailable for one provider id or return no windows. */
16198
+ usage?: boolean;
16199
+ /** `provider/installation/status` and `provider/installation/run`:
16200
+ * host-local installation management. */
16201
+ installation?: boolean;
16202
+ }
16203
+ /** One provider-native root as a plugin declares it: a path, or a path with options. */
16204
+ type PluginProviderNativeRootEntry = ProviderNativeRootInput;
16205
+ /** Provider-native roots as a plugin declares them, one list per side. */
16206
+ type PluginProviderNativeRoots = ProviderNativeRootsInputLike;
16326
16207
  /**
16327
16208
  * One provider this plugin contributes to BB's provider registry.
16328
16209
  *
@@ -16333,10 +16214,14 @@ interface PluginProviderFallbackModel {
16333
16214
  * reload, like every other plugin surface.
16334
16215
  *
16335
16216
  * A declaration owns the provider's static metadata and bridge options. The
16336
- * executable implementation is the plugin's own provider bridge, named by
16337
- * `bb.providerBridge` in the manifest and built into the artifact BB ships to
16338
- * hosts declaring a provider without one is refused, because the picker
16339
- * entry would exist and no turn on it could ever run.
16217
+ * executable implementation is the plugin's own provider bridge: the
16218
+ * `experimental_providerBridge` export of the `bb.host` artifact the manifest
16219
+ * names (`PROVIDER_BRIDGE_EXPORT_NAME` in the bridge kit), built into the
16220
+ * artifact BB ships to hosts. Declaring a provider in a plugin with no
16221
+ * `bb.host` entry is refused, because the picker entry would exist and no
16222
+ * turn on it could ever run; a `bb.host` entry whose artifact failed to
16223
+ * build still stages the declaration so the provider is listed as
16224
+ * unavailable.
16340
16225
  */
16341
16226
  interface PluginProviderDeclaration {
16342
16227
  /** Stable provider id: 2–64 characters of lowercase letters, digits, and
@@ -16350,11 +16235,15 @@ interface PluginProviderDeclaration {
16350
16235
  * family — the ACP agents, for example — so clients can group them without
16351
16236
  * parsing a prefix out of the id. Grouping only: no policy keys on it.
16352
16237
  */
16353
- experimental_family?: string;
16238
+ family?: string;
16354
16239
  /**
16355
- * Optional picker icon, in the same grammar as `bb.branding.icon`: either a
16356
- * named host glyph (`"Zap"`) or a plugin-relative path starting with `"./"`
16357
- * (`"./icons/agent.svg"`). Paths follow the manifest entry-path escape rules
16240
+ * Optional picker icon: a named host glyph (`"Zap"`) or a plugin-relative
16241
+ * path starting with `"./"` (`"./icons/agent.svg"`) the two forms
16242
+ * `bb.branding.icon` takes or, unlike `bb.branding.icon`, one of this
16243
+ * plugin's declared icons by its namespaced glyph (`"<pluginId>/<name>"`,
16244
+ * an entry of the manifest's `bb.branding.experimental_icons` map; the
16245
+ * plugin id must be this plugin's and the name must be declared, else the
16246
+ * plugin fails to load). Paths follow the manifest entry-path escape rules
16358
16247
  * — no leading "/", no ".." segments, no backslashes.
16359
16248
  */
16360
16249
  icon?: string;
@@ -16371,6 +16260,11 @@ interface PluginProviderDeclaration {
16371
16260
  * bridge reports it installed. Defaults to `"always"`.
16372
16261
  */
16373
16262
  experimental_visibility?: "always" | "installed";
16263
+ /**
16264
+ * The sessionless maintenance requests the provider's bridge implements
16265
+ * (docs/provider-plugin-api.md §1). Each defaults to false when omitted.
16266
+ */
16267
+ maintenance?: PluginProviderMaintenance;
16374
16268
  /** Pre-session capability facts (see the declaration tests on
16375
16269
  * {@link PluginProviderCapabilities}). */
16376
16270
  capabilities: PluginProviderCapabilities;
@@ -16378,27 +16272,44 @@ interface PluginProviderDeclaration {
16378
16272
  * (the universal skills typeahead is implicit). */
16379
16273
  composerActions: readonly PluginProviderComposerAction[];
16380
16274
  /** Provider copy for core surfaces ({@link PluginProviderStrings}). */
16381
- experimental_strings?: PluginProviderStrings;
16275
+ strings?: PluginProviderStrings;
16382
16276
  /** Service tiers this provider accepts, as picker options. Non-empty when
16383
16277
  * present, unique ids. The coarse `capabilities.supportsServiceTier` stays
16384
16278
  * until WS2a stabilizes. */
16385
- experimental_serviceTiers?: readonly PluginProviderOptionDescriptor[];
16279
+ serviceTiers?: readonly PluginProviderOptionDescriptor[];
16386
16280
  /** Reasoning levels as picker options with labels, beside the coarse
16387
16281
  * `capabilities.reasoningLevels` ladder (ids only). Non-empty when present,
16388
16282
  * unique ids. WS2a merges the two. */
16389
- experimental_reasoningLevels?: readonly PluginProviderOptionDescriptor[];
16283
+ reasoningLevels?: readonly PluginProviderOptionDescriptor[];
16390
16284
  /** Extension kinds this provider's bridge may emit, keyed by local name
16391
16285
  * (`[a-z0-9-]+`). The server validates extension payloads against these
16392
16286
  * schemas at ingest and persists a `provider/unhandled` on a miss. */
16393
- experimental_extensionKinds?: Readonly<Record<string, PluginProviderExtensionKindDeclaration>>;
16287
+ extensionKinds?: Readonly<Record<string, PluginProviderExtensionKindDeclaration>>;
16394
16288
  /**
16395
16289
  * Cold-cache fallback models ({@link PluginProviderFallbackModel}). The
16396
16290
  * server offers them only while a model probe has not completed or failed
16397
16291
  * transiently; the live `model/list` result always replaces them. Ids must
16398
16292
  * be unique and exactly one entry must be the default.
16399
16293
  */
16400
- experimental_models?: {
16401
- fallback: readonly PluginProviderFallbackModel[];
16294
+ models?: {
16295
+ /**
16296
+ * Optional: a provider that only declares a catalog `scope` needs no
16297
+ * fallback list, and an omitted list reads as no fallbacks at all.
16298
+ */
16299
+ fallback?: readonly PluginProviderFallbackModel[];
16300
+ /**
16301
+ * How far one `model/list` answer travels. `"host"` means the catalog is
16302
+ * the same everywhere on a machine — the bridge answers from account or
16303
+ * agent state and ignores the workspace path — so bb probes once per host
16304
+ * and reuses the answer for every environment on it. `"workspace"` (the
16305
+ * default) means project configuration can change the answer, so bb
16306
+ * probes per workspace and sends the path.
16307
+ *
16308
+ * Declaring `"host"` wrongly is a stale catalog in a workspace that
16309
+ * configured its own models; declaring `"workspace"` wrongly costs a
16310
+ * redundant probe. The default is therefore the safe one.
16311
+ */
16312
+ scope?: PluginProviderModelCatalogScope;
16402
16313
  };
16403
16314
  /**
16404
16315
  * Daemon environment variables this provider's bridge may read. Provider
@@ -16407,9 +16318,38 @@ interface PluginProviderDeclaration {
16407
16318
  * and the daemon forwards exactly those variables. Names are
16408
16319
  * `[A-Z_][A-Z0-9_]*`, at most 32.
16409
16320
  */
16410
- experimental_env?: {
16321
+ env?: {
16411
16322
  passthrough: readonly string[];
16412
16323
  };
16324
+ /**
16325
+ * Directories this provider's agent reads its own skills from, relative to
16326
+ * the target host's home directory (`user`) or to the workspace
16327
+ * (`project`). An agent with skills of its own — an ACP agent pointed at
16328
+ * `.cursor/skills`, say — names them here so bb can list them beside its
16329
+ * own; core never guesses a provider's skill layout. Paths are relative
16330
+ * and may not contain dot segments; each side holds at most 32 roots. One
16331
+ * declaration is global, so a directory only one host can name (an agent's
16332
+ * settings-configured skills directory, say) is not declared here but
16333
+ * resolved on that host (`experimental_resolvesNativeRoots`).
16334
+ */
16335
+ experimental_nativeSkillRoots?: PluginProviderNativeRoots;
16336
+ /**
16337
+ * Directories this provider's agent reads its own slash commands from —
16338
+ * flat directories of `*.md` prompt files (`.claude/commands`, say) — in
16339
+ * the same two-sided shape as `experimental_nativeSkillRoots`. bb offers
16340
+ * them in the composer beside the agent's skills.
16341
+ */
16342
+ experimental_nativeCommandRoots?: PluginProviderNativeRoots;
16343
+ /**
16344
+ * This plugin's `bb.host` entry implements
16345
+ * `experimental_nativeRootsHostContract` (`@get-bb/plugin-sdk/host`): core
16346
+ * calls `resolveNativeRoots({ cwd })` on the workspace host when it lists
16347
+ * commands or skills, and scans what comes back beside the declared roots.
16348
+ * This is where a provider's host-only knowledge goes — a config-moved
16349
+ * directory, an installed vendor plugin, a config-file entry — including
16350
+ * project-scoped entries, which a global declaration cannot carry.
16351
+ */
16352
+ experimental_resolvesNativeRoots?: boolean;
16413
16353
  /**
16414
16354
  * Derive this provider's opaque per-command options. Called synchronously
16415
16355
  * by the server for every session and turn command on a thread of this
@@ -16422,7 +16362,7 @@ interface PluginProviderDeclaration {
16422
16362
  * a buggy hook cannot silently run a turn with default knobs. Must be fast:
16423
16363
  * it sits on the turn-submit path.
16424
16364
  */
16425
- experimental_deriveProviderOptions?: (context: PluginProviderOptionsContext) => Readonly<Record<string, JsonValue>>;
16365
+ deriveProviderOptions?: (context: PluginProviderOptionsContext) => Readonly<Record<string, JsonValue>>;
16426
16366
  }
16427
16367
  interface PluginAgents {
16428
16368
  /**
@@ -16482,15 +16422,6 @@ interface PluginAgents {
16482
16422
  threadId: string;
16483
16423
  projectId: string;
16484
16424
  }) => string | null): void;
16485
- /**
16486
- * The original registration entry point, kept as an alias of
16487
- * {@link PluginProviders.register} (`bb.providers.register`) so plugins
16488
- * compiled against it keep loading. New code registers through
16489
- * `bb.providers`; this alias goes when the surface stabilizes.
16490
- */
16491
- experimental_registerProvider(declaration: PluginProviderDeclaration): {
16492
- dispose(): void;
16493
- };
16494
16425
  }
16495
16426
  /**
16496
16427
  * Provider registration (docs/provider-plugin-api.md §1). Owns only
@@ -16593,6 +16524,51 @@ interface PluginServerApi {
16593
16524
  * reading it from handlers, services, and timers.
16594
16525
  */
16595
16526
  readonly loopbackBaseUrl: string;
16527
+ /**
16528
+ * This server's data directory — the one holding `config.json`, `bb.db` and
16529
+ * `plugins/<id>/`. A plugin cannot compute it: a dev server derives it from
16530
+ * its repo root and instance id, so a plugin that guesses `~/.bb` reads the
16531
+ * production file while the dev server reads another one.
16532
+ *
16533
+ * For reading bb-managed files a plugin is migrating away from. A plugin's
16534
+ * OWN storage is `bb.storage`, which is scoped for it; this is deliberately
16535
+ * not a place to write.
16536
+ */
16537
+ readonly experimental_dataDir: string;
16538
+ }
16539
+ /**
16540
+ * What a plugin's AI service does. `inference` answers bb's server-side helper
16541
+ * completions (thread titles, commit messages: a prompt and a JSON Schema in,
16542
+ * a structured value out); `voice` transcribes recorded speech.
16543
+ */
16544
+ type PluginAiServiceKind = "inference" | "voice";
16545
+ /**
16546
+ * An AI service a plugin offers from its `bb.host` entry, which implements
16547
+ * `experimental_aiServicesHostContract` (`@get-bb/plugin-sdk/ai-services`).
16548
+ * The user selects it with `BB_INFERENCE` / `BB_TRANSCRIPTION` set to
16549
+ * `<id>/<model>`; core calls the plugin's host entry on the primary host with
16550
+ * the `id` on every request, so one entry can serve several services.
16551
+ */
16552
+ interface PluginAiServiceDeclaration {
16553
+ /** The `<serviceId>` segment of the user's setting; stable, lowercase. */
16554
+ readonly id: string;
16555
+ /** Shown beside the id wherever the setting's options are listed. */
16556
+ readonly displayName: string;
16557
+ /** Which kinds this service answers; a kind it lacks is not offered. */
16558
+ readonly kinds: readonly PluginAiServiceKind[];
16559
+ }
16560
+ interface PluginAiServices {
16561
+ /**
16562
+ * Register an AI service. Call during the factory; the registration lands
16563
+ * when the plugin load commits and is removed on reload or disable. The
16564
+ * plugin must declare a `bb.host` entry; registering without one fails the
16565
+ * load. A declared entry that fails to build fails the load on the build
16566
+ * error after the factory, with any provider the factory declared listed
16567
+ * as unavailable. Throws on an id another live plugin already serves.
16568
+ */
16569
+ register(declaration: PluginAiServiceDeclaration): {
16570
+ dispose(): void;
16571
+ };
16596
16572
  }
16597
16573
  interface PluginSharedPortTunnelIdentity {
16598
16574
  /** Gate routing label assigned to this machine. */
@@ -16668,6 +16644,11 @@ interface BbPluginApi {
16668
16644
  readonly server: PluginServerApi;
16669
16645
  /** Server-to-daemon host control-plane declarations. */
16670
16646
  readonly hosts: PluginHosts;
16647
+ /**
16648
+ * AI services this plugin serves from its `bb.host` entry (helper
16649
+ * inference, voice transcription). See `@get-bb/plugin-sdk/ai-services`.
16650
+ */
16651
+ readonly experimental_aiServices: PluginAiServices;
16671
16652
  /**
16672
16653
  * The full BB SDK, bound to this server over loopback (design §4.1).
16673
16654
  * Bind-gated: reading this before the host binds the SDK throws. The real
@@ -16686,4 +16667,4 @@ interface BbPluginApi {
16686
16667
  }
16687
16668
 
16688
16669
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
16689
- export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabDeclaration, ExperimentalPluginFixedTabReference, ExperimentalPluginFixedTabRegistration, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, 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, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, 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 };
16670
+ export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabReference, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, 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, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, 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, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps };