@get-bb/plugin-sdk 0.4.14 → 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.
@@ -34,6 +64,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
34
64
  "composer.focus": "composer.focus";
35
65
  "diff.toggle": "diff.toggle";
36
66
  "file.quickOpen": "file.quickOpen";
67
+ "logs.openServerDaemon": "logs.openServerDaemon";
37
68
  "modelPicker.cycleModel": "modelPicker.cycleModel";
38
69
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
39
70
  "modelPicker.cycleProvider": "modelPicker.cycleProvider";
@@ -170,7 +201,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
170
201
  id: z$1.ZodOptional<z$1.ZodString>;
171
202
  metadata: z$1.ZodOptional<z$1.ZodObject<{
172
203
  backgroundActivityChanged: z$1.ZodOptional<z$1.ZodBoolean>;
173
- 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>>>>>;
174
205
  hasPendingInteraction: z$1.ZodOptional<z$1.ZodBoolean>;
175
206
  projectId: z$1.ZodOptional<z$1.ZodString>;
176
207
  statusChange: z$1.ZodOptional<z$1.ZodObject<{
@@ -312,6 +343,24 @@ declare const hostSchema: z$1.ZodObject<{
312
343
  }, z$1.core.$strip>;
313
344
  type Host = z$1.infer<typeof hostSchema>;
314
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
+
315
364
  declare const pendingInteractionResolutionSchema: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
316
365
  decision: z$1.ZodLiteral<"allow_once">;
317
366
  grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
@@ -344,9 +393,12 @@ declare const pendingInteractionResolutionSchema: z$1.ZodUnion<readonly [z$1.Zod
344
393
  kind: z$1.ZodLiteral<"user_answer">;
345
394
  }, z$1.core.$strip>, z$1.ZodObject<{
346
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>>;
347
399
  }, z$1.core.$strip>]>;
348
400
  type PendingInteractionResolution = z$1.infer<typeof pendingInteractionResolutionSchema>;
349
- declare const providerPendingInteractionSchema: z$1.ZodObject<{
401
+ declare const providerPendingInteractionSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
350
402
  createdAt: z$1.ZodNumber;
351
403
  expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
352
404
  id: z$1.ZodString;
@@ -356,7 +408,7 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
356
408
  providerRequestId: z$1.ZodString;
357
409
  providerThreadId: z$1.ZodString;
358
410
  }, z$1.core.$strip>>;
359
- payload: z$1.ZodUnion<readonly [z$1.ZodObject<{
411
+ payload: z$1.ZodObject<{
360
412
  availableDecisions: z$1.ZodArray<z$1.ZodEnum<{
361
413
  allow_for_session: "allow_for_session";
362
414
  allow_once: "allow_once";
@@ -448,25 +500,11 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
448
500
  }, z$1.core.$strip>;
449
501
  tool: z$1.ZodString;
450
502
  }, z$1.core.$strip>], "kind">;
451
- }, z$1.core.$strip>, z$1.ZodObject<{
452
- kind: z$1.ZodLiteral<"user_question">;
453
- questions: z$1.ZodArray<z$1.ZodObject<{
454
- allowFreeText: z$1.ZodBoolean;
455
- id: z$1.ZodString;
456
- multiSelect: z$1.ZodBoolean;
457
- options: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
458
- description: z$1.ZodOptional<z$1.ZodString>;
459
- label: z$1.ZodString;
460
- value: z$1.ZodString;
461
- }, z$1.core.$strip>>>;
462
- prompt: z$1.ZodString;
463
- shortLabel: z$1.ZodOptional<z$1.ZodString>;
464
- }, z$1.core.$strip>>;
465
- }, z$1.core.$strip>]>;
503
+ }, z$1.core.$strip>;
466
504
  providerId: z$1.ZodString;
467
505
  providerRequestId: z$1.ZodString;
468
506
  providerThreadId: z$1.ZodString;
469
- 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<{
470
508
  decision: z$1.ZodLiteral<"allow_once">;
471
509
  grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
472
510
  fileSystem: z$1.ZodNullable<z$1.ZodObject<{
@@ -490,13 +528,52 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
490
528
  }, z$1.core.$strict>>;
491
529
  }, z$1.core.$strip>, z$1.ZodObject<{
492
530
  decision: z$1.ZodLiteral<"deny">;
493
- }, 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<{
494
571
  answers: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
495
572
  freeText: z$1.ZodOptional<z$1.ZodString>;
496
573
  selected: z$1.ZodArray<z$1.ZodString>;
497
574
  }, z$1.core.$strip>>;
498
575
  kind: z$1.ZodLiteral<"user_answer">;
499
- }, z$1.core.$strip>]>>;
576
+ }, z$1.core.$strip>>;
500
577
  resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
501
578
  status: z$1.ZodEnum<{
502
579
  interrupted: "interrupted";
@@ -507,7 +584,39 @@ declare const providerPendingInteractionSchema: z$1.ZodObject<{
507
584
  statusReason: z$1.ZodNullable<z$1.ZodString>;
508
585
  threadId: z$1.ZodString;
509
586
  turnId: z$1.ZodString;
510
- }, 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>]>;
511
620
  type ProviderPendingInteraction = z$1.infer<typeof providerPendingInteractionSchema>;
512
621
  declare const pluginPendingInteractionSchema: z$1.ZodObject<{
513
622
  createdAt: z$1.ZodNumber;
@@ -902,10 +1011,6 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
902
1011
  interrupted: "interrupted";
903
1012
  pending: "pending";
904
1013
  }>;
905
- statusLabels: z$1.ZodOptional<z$1.ZodObject<{
906
- completed: z$1.ZodString;
907
- pending: z$1.ZodString;
908
- }, z$1.core.$strip>>;
909
1014
  tool: z$1.ZodString;
910
1015
  truncation: z$1.ZodOptional<z$1.ZodObject<{
911
1016
  aggregatedOutput: z$1.ZodOptional<z$1.ZodObject<{
@@ -1467,10 +1572,6 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1467
1572
  interrupted: "interrupted";
1468
1573
  pending: "pending";
1469
1574
  }>;
1470
- statusLabels: z$1.ZodOptional<z$1.ZodObject<{
1471
- completed: z$1.ZodString;
1472
- pending: z$1.ZodString;
1473
- }, z$1.core.$strip>>;
1474
1575
  tool: z$1.ZodString;
1475
1576
  truncation: z$1.ZodOptional<z$1.ZodObject<{
1476
1577
  aggregatedOutput: z$1.ZodOptional<z$1.ZodObject<{
@@ -2531,6 +2632,215 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2531
2632
  status: z$1.ZodString;
2532
2633
  threadId: z$1.ZodString;
2533
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">;
2534
2844
  }, z$1.core.$strip>, z$1.ZodObject<{
2535
2845
  interactionId: z$1.ZodString;
2536
2846
  providerId: z$1.ZodString;
@@ -2861,6 +3171,10 @@ type ProviderFork = (typeof PROVIDER_FORK_VALUES)[number];
2861
3171
  declare const providerInfoSchema: z$1.ZodObject<{
2862
3172
  available: z$1.ZodBoolean;
2863
3173
  capabilities: z$1.ZodObject<{
3174
+ modelCatalogScope: z$1.ZodEnum<{
3175
+ host: "host";
3176
+ workspace: "workspace";
3177
+ }>;
2864
3178
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
2865
3179
  "accept-edits": "accept-edits";
2866
3180
  auto: "auto";
@@ -2898,16 +3212,22 @@ declare const providerInfoSchema: z$1.ZodObject<{
2898
3212
  kind: z$1.ZodLiteral<"goal">;
2899
3213
  }, z$1.core.$strip>], "kind">>;
2900
3214
  displayName: z$1.ZodString;
2901
- experimental_providerHealth: z$1.ZodBoolean;
2902
- experimental_providerInstallation: z$1.ZodBoolean;
2903
- experimental_providerUsage: z$1.ZodBoolean;
2904
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<{
2905
3216
  item: z$1.ZodBoolean;
2906
3217
  state: z$1.ZodBoolean;
2907
3218
  }, z$1.core.$strip>>>;
2908
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>>;
2909
3223
  id: z$1.ZodString;
2910
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;
2911
3231
  reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2912
3232
  description: z$1.ZodOptional<z$1.ZodString>;
2913
3233
  id: z$1.ZodString;
@@ -4464,115 +4784,19 @@ declare const hostDaemonCommandRegistry: {
4464
4784
  type: z$1.ZodLiteral<"thread.rewind.discard">;
4465
4785
  }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
4466
4786
  "thread.rewind.prepare": HostDaemonCommandDescriptor<"thread.rewind.prepare", z$1.ZodObject<{
4467
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
4468
- args: z$1.ZodArray<z$1.ZodString>;
4469
- command: z$1.ZodString;
4470
- cwd: z$1.ZodOptional<z$1.ZodString>;
4471
- displayName: z$1.ZodString;
4472
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
4473
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
4474
- listArgs: z$1.ZodArray<z$1.ZodString>;
4475
- primaryModels: z$1.ZodArray<z$1.ZodString>;
4476
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
4477
- }, z$1.core.$strict>, z$1.ZodTransform<{
4478
- listArgs: string[];
4479
- primaryModels: string[];
4480
- selectFlag?: string | undefined;
4481
- } | undefined, {
4482
- listArgs: string[];
4483
- primaryModels: string[];
4484
- selectFlag?: string | undefined;
4485
- }>>>;
4486
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
4487
- configId: z$1.ZodString;
4488
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4489
- high: "high";
4490
- low: "low";
4491
- max: "max";
4492
- medium: "medium";
4787
+ bridgeLaunch: z$1.ZodObject<{
4788
+ capabilities: z$1.ZodObject<{
4789
+ fork: z$1.ZodEnum<{
4790
+ checkpoint: "checkpoint";
4493
4791
  none: "none";
4494
- ultra: "ultra";
4495
- ultracode: "ultracode";
4496
- xhigh: "xhigh";
4497
- }>>;
4498
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4499
- high: "high";
4500
- low: "low";
4501
- max: "max";
4502
- medium: "medium";
4503
- none: "none";
4504
- ultra: "ultra";
4505
- ultracode: "ultracode";
4506
- xhigh: "xhigh";
4507
- }> & z$1.core.$partial, z$1.ZodString>>;
4508
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4509
- high: "high";
4510
- low: "low";
4511
- max: "max";
4512
- medium: "medium";
4513
- none: "none";
4514
- ultra: "ultra";
4515
- ultracode: "ultracode";
4516
- xhigh: "xhigh";
4517
- }>>;
4518
- }, z$1.core.$strict>>;
4519
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
4520
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4521
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4522
- }, z$1.core.$strict>>;
4523
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
4524
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4525
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
4526
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4527
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4528
- }, z$1.core.$strict>>;
4529
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
4530
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4531
- high: "high";
4532
- low: "low";
4533
- max: "max";
4534
- medium: "medium";
4535
- none: "none";
4536
- ultra: "ultra";
4537
- ultracode: "ultracode";
4538
- xhigh: "xhigh";
4539
- }>>;
4540
- flag: z$1.ZodString;
4541
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4542
- high: "high";
4543
- low: "low";
4544
- max: "max";
4545
- medium: "medium";
4546
- none: "none";
4547
- ultra: "ultra";
4548
- ultracode: "ultracode";
4549
- xhigh: "xhigh";
4550
- }> & z$1.core.$partial, z$1.ZodString>>;
4551
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4552
- high: "high";
4553
- low: "low";
4554
- max: "max";
4555
- medium: "medium";
4556
- none: "none";
4557
- ultra: "ultra";
4558
- ultracode: "ultracode";
4559
- xhigh: "xhigh";
4560
- }>>;
4561
- }, z$1.core.$strict>>;
4562
- }, z$1.core.$strict>>;
4563
- bridgeLaunch: z$1.ZodObject<{
4564
- capabilities: z$1.ZodObject<{
4565
- experimental_providerInstallation: z$1.ZodBoolean;
4566
- fork: z$1.ZodEnum<{
4567
- checkpoint: "checkpoint";
4568
- none: "none";
4569
- tip: "tip";
4570
- }>;
4571
- permissionModes: z$1.ZodArray<z$1.ZodEnum<{
4572
- "accept-edits": "accept-edits";
4573
- auto: "auto";
4574
- 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";
4575
4798
  }>>;
4799
+ providerInstallation: z$1.ZodBoolean;
4576
4800
  supportsServiceTier: z$1.ZodBoolean;
4577
4801
  supportsThreadArchive: z$1.ZodBoolean;
4578
4802
  supportsThreadRename: z$1.ZodBoolean;
@@ -4580,14 +4804,11 @@ declare const hostDaemonCommandRegistry: {
4580
4804
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
4581
4805
  pluginId: z$1.ZodString;
4582
4806
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4583
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4807
+ source: z$1.ZodObject<{
4584
4808
  byteLength: z$1.ZodNumber;
4585
4809
  digest: z$1.ZodString;
4586
4810
  kind: z$1.ZodLiteral<"artifact">;
4587
- }, z$1.core.$strict>, z$1.ZodObject<{
4588
- id: z$1.ZodString;
4589
- kind: z$1.ZodLiteral<"daemon-bundled">;
4590
- }, z$1.core.$strict>], "kind">;
4811
+ }, z$1.core.$strict>;
4591
4812
  }, z$1.core.$strict>;
4592
4813
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4593
4814
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -4704,105 +4925,8 @@ declare const hostDaemonCommandRegistry: {
4704
4925
  providerThreadId: z$1.ZodString;
4705
4926
  }, z$1.core.$strip>, "settled", false>;
4706
4927
  "thread.start": HostDaemonCommandDescriptor<"thread.start", z$1.ZodObject<{
4707
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
4708
- args: z$1.ZodArray<z$1.ZodString>;
4709
- command: z$1.ZodString;
4710
- cwd: z$1.ZodOptional<z$1.ZodString>;
4711
- displayName: z$1.ZodString;
4712
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
4713
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
4714
- listArgs: z$1.ZodArray<z$1.ZodString>;
4715
- primaryModels: z$1.ZodArray<z$1.ZodString>;
4716
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
4717
- }, z$1.core.$strict>, z$1.ZodTransform<{
4718
- listArgs: string[];
4719
- primaryModels: string[];
4720
- selectFlag?: string | undefined;
4721
- } | undefined, {
4722
- listArgs: string[];
4723
- primaryModels: string[];
4724
- selectFlag?: string | undefined;
4725
- }>>>;
4726
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
4727
- configId: z$1.ZodString;
4728
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4729
- high: "high";
4730
- low: "low";
4731
- max: "max";
4732
- medium: "medium";
4733
- none: "none";
4734
- ultra: "ultra";
4735
- ultracode: "ultracode";
4736
- xhigh: "xhigh";
4737
- }>>;
4738
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4739
- high: "high";
4740
- low: "low";
4741
- max: "max";
4742
- medium: "medium";
4743
- none: "none";
4744
- ultra: "ultra";
4745
- ultracode: "ultracode";
4746
- xhigh: "xhigh";
4747
- }> & z$1.core.$partial, z$1.ZodString>>;
4748
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4749
- high: "high";
4750
- low: "low";
4751
- max: "max";
4752
- medium: "medium";
4753
- none: "none";
4754
- ultra: "ultra";
4755
- ultracode: "ultracode";
4756
- xhigh: "xhigh";
4757
- }>>;
4758
- }, z$1.core.$strict>>;
4759
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
4760
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4761
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4762
- }, z$1.core.$strict>>;
4763
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
4764
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4765
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
4766
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4767
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4768
- }, z$1.core.$strict>>;
4769
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
4770
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
4771
- high: "high";
4772
- low: "low";
4773
- max: "max";
4774
- medium: "medium";
4775
- none: "none";
4776
- ultra: "ultra";
4777
- ultracode: "ultracode";
4778
- xhigh: "xhigh";
4779
- }>>;
4780
- flag: z$1.ZodString;
4781
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
4782
- high: "high";
4783
- low: "low";
4784
- max: "max";
4785
- medium: "medium";
4786
- none: "none";
4787
- ultra: "ultra";
4788
- ultracode: "ultracode";
4789
- xhigh: "xhigh";
4790
- }> & z$1.core.$partial, z$1.ZodString>>;
4791
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
4792
- high: "high";
4793
- low: "low";
4794
- max: "max";
4795
- medium: "medium";
4796
- none: "none";
4797
- ultra: "ultra";
4798
- ultracode: "ultracode";
4799
- xhigh: "xhigh";
4800
- }>>;
4801
- }, z$1.core.$strict>>;
4802
- }, z$1.core.$strict>>;
4803
4928
  bridgeLaunch: z$1.ZodObject<{
4804
4929
  capabilities: z$1.ZodObject<{
4805
- experimental_providerInstallation: z$1.ZodBoolean;
4806
4930
  fork: z$1.ZodEnum<{
4807
4931
  checkpoint: "checkpoint";
4808
4932
  none: "none";
@@ -4813,6 +4937,7 @@ declare const hostDaemonCommandRegistry: {
4813
4937
  auto: "auto";
4814
4938
  full: "full";
4815
4939
  }>>;
4940
+ providerInstallation: z$1.ZodBoolean;
4816
4941
  supportsServiceTier: z$1.ZodBoolean;
4817
4942
  supportsThreadArchive: z$1.ZodBoolean;
4818
4943
  supportsThreadRename: z$1.ZodBoolean;
@@ -4820,14 +4945,11 @@ declare const hostDaemonCommandRegistry: {
4820
4945
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
4821
4946
  pluginId: z$1.ZodString;
4822
4947
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
4823
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4948
+ source: z$1.ZodObject<{
4824
4949
  byteLength: z$1.ZodNumber;
4825
4950
  digest: z$1.ZodString;
4826
4951
  kind: z$1.ZodLiteral<"artifact">;
4827
- }, z$1.core.$strict>, z$1.ZodObject<{
4828
- id: z$1.ZodString;
4829
- kind: z$1.ZodLiteral<"daemon-bundled">;
4830
- }, z$1.core.$strict>], "kind">;
4952
+ }, z$1.core.$strict>;
4831
4953
  }, z$1.core.$strict>;
4832
4954
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4833
4955
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -5109,105 +5231,8 @@ declare const hostDaemonCommandRegistry: {
5109
5231
  providerThreadId: z$1.ZodString;
5110
5232
  }, z$1.core.$strip>, "settled", false>;
5111
5233
  "turn.submit": HostDaemonCommandDescriptor<"turn.submit", z$1.ZodObject<{
5112
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5113
- args: z$1.ZodArray<z$1.ZodString>;
5114
- command: z$1.ZodString;
5115
- cwd: z$1.ZodOptional<z$1.ZodString>;
5116
- displayName: z$1.ZodString;
5117
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5118
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5119
- listArgs: z$1.ZodArray<z$1.ZodString>;
5120
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5121
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5122
- }, z$1.core.$strict>, z$1.ZodTransform<{
5123
- listArgs: string[];
5124
- primaryModels: string[];
5125
- selectFlag?: string | undefined;
5126
- } | undefined, {
5127
- listArgs: string[];
5128
- primaryModels: string[];
5129
- selectFlag?: string | undefined;
5130
- }>>>;
5131
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5132
- configId: z$1.ZodString;
5133
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5134
- high: "high";
5135
- low: "low";
5136
- max: "max";
5137
- medium: "medium";
5138
- none: "none";
5139
- ultra: "ultra";
5140
- ultracode: "ultracode";
5141
- xhigh: "xhigh";
5142
- }>>;
5143
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5144
- high: "high";
5145
- low: "low";
5146
- max: "max";
5147
- medium: "medium";
5148
- none: "none";
5149
- ultra: "ultra";
5150
- ultracode: "ultracode";
5151
- xhigh: "xhigh";
5152
- }> & z$1.core.$partial, z$1.ZodString>>;
5153
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5154
- high: "high";
5155
- low: "low";
5156
- max: "max";
5157
- medium: "medium";
5158
- none: "none";
5159
- ultra: "ultra";
5160
- ultracode: "ultracode";
5161
- xhigh: "xhigh";
5162
- }>>;
5163
- }, z$1.core.$strict>>;
5164
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5165
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5166
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5167
- }, z$1.core.$strict>>;
5168
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5169
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5170
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5171
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5172
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5173
- }, z$1.core.$strict>>;
5174
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5175
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5176
- high: "high";
5177
- low: "low";
5178
- max: "max";
5179
- medium: "medium";
5180
- none: "none";
5181
- ultra: "ultra";
5182
- ultracode: "ultracode";
5183
- xhigh: "xhigh";
5184
- }>>;
5185
- flag: z$1.ZodString;
5186
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5187
- high: "high";
5188
- low: "low";
5189
- max: "max";
5190
- medium: "medium";
5191
- none: "none";
5192
- ultra: "ultra";
5193
- ultracode: "ultracode";
5194
- xhigh: "xhigh";
5195
- }> & z$1.core.$partial, z$1.ZodString>>;
5196
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5197
- high: "high";
5198
- low: "low";
5199
- max: "max";
5200
- medium: "medium";
5201
- none: "none";
5202
- ultra: "ultra";
5203
- ultracode: "ultracode";
5204
- xhigh: "xhigh";
5205
- }>>;
5206
- }, z$1.core.$strict>>;
5207
- }, z$1.core.$strict>>;
5208
5234
  bridgeLaunch: z$1.ZodObject<{
5209
5235
  capabilities: z$1.ZodObject<{
5210
- experimental_providerInstallation: z$1.ZodBoolean;
5211
5236
  fork: z$1.ZodEnum<{
5212
5237
  checkpoint: "checkpoint";
5213
5238
  none: "none";
@@ -5218,6 +5243,7 @@ declare const hostDaemonCommandRegistry: {
5218
5243
  auto: "auto";
5219
5244
  full: "full";
5220
5245
  }>>;
5246
+ providerInstallation: z$1.ZodBoolean;
5221
5247
  supportsServiceTier: z$1.ZodBoolean;
5222
5248
  supportsThreadArchive: z$1.ZodBoolean;
5223
5249
  supportsThreadRename: z$1.ZodBoolean;
@@ -5225,14 +5251,11 @@ declare const hostDaemonCommandRegistry: {
5225
5251
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5226
5252
  pluginId: z$1.ZodString;
5227
5253
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5228
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5254
+ source: z$1.ZodObject<{
5229
5255
  byteLength: z$1.ZodNumber;
5230
5256
  digest: z$1.ZodString;
5231
5257
  kind: z$1.ZodLiteral<"artifact">;
5232
- }, z$1.core.$strict>, z$1.ZodObject<{
5233
- id: z$1.ZodString;
5234
- kind: z$1.ZodLiteral<"daemon-bundled">;
5235
- }, z$1.core.$strict>], "kind">;
5258
+ }, z$1.core.$strict>;
5236
5259
  }, z$1.core.$strict>;
5237
5260
  environmentId: z$1.ZodString;
5238
5261
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -5439,105 +5462,8 @@ declare const hostDaemonCommandRegistry: {
5439
5462
  }, z$1.core.$strip>], "permissionMode">>;
5440
5463
  requestId: z$1.ZodString;
5441
5464
  resumeContext: z$1.ZodObject<{
5442
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5443
- args: z$1.ZodArray<z$1.ZodString>;
5444
- command: z$1.ZodString;
5445
- cwd: z$1.ZodOptional<z$1.ZodString>;
5446
- displayName: z$1.ZodString;
5447
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5448
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5449
- listArgs: z$1.ZodArray<z$1.ZodString>;
5450
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5451
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5452
- }, z$1.core.$strict>, z$1.ZodTransform<{
5453
- listArgs: string[];
5454
- primaryModels: string[];
5455
- selectFlag?: string | undefined;
5456
- } | undefined, {
5457
- listArgs: string[];
5458
- primaryModels: string[];
5459
- selectFlag?: string | undefined;
5460
- }>>>;
5461
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5462
- configId: z$1.ZodString;
5463
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5464
- high: "high";
5465
- low: "low";
5466
- max: "max";
5467
- medium: "medium";
5468
- none: "none";
5469
- ultra: "ultra";
5470
- ultracode: "ultracode";
5471
- xhigh: "xhigh";
5472
- }>>;
5473
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5474
- high: "high";
5475
- low: "low";
5476
- max: "max";
5477
- medium: "medium";
5478
- none: "none";
5479
- ultra: "ultra";
5480
- ultracode: "ultracode";
5481
- xhigh: "xhigh";
5482
- }> & z$1.core.$partial, z$1.ZodString>>;
5483
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5484
- high: "high";
5485
- low: "low";
5486
- max: "max";
5487
- medium: "medium";
5488
- none: "none";
5489
- ultra: "ultra";
5490
- ultracode: "ultracode";
5491
- xhigh: "xhigh";
5492
- }>>;
5493
- }, z$1.core.$strict>>;
5494
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5495
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5496
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5497
- }, z$1.core.$strict>>;
5498
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5499
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5500
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5501
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5502
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5503
- }, z$1.core.$strict>>;
5504
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5505
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5506
- high: "high";
5507
- low: "low";
5508
- max: "max";
5509
- medium: "medium";
5510
- none: "none";
5511
- ultra: "ultra";
5512
- ultracode: "ultracode";
5513
- xhigh: "xhigh";
5514
- }>>;
5515
- flag: z$1.ZodString;
5516
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5517
- high: "high";
5518
- low: "low";
5519
- max: "max";
5520
- medium: "medium";
5521
- none: "none";
5522
- ultra: "ultra";
5523
- ultracode: "ultracode";
5524
- xhigh: "xhigh";
5525
- }> & z$1.core.$partial, z$1.ZodString>>;
5526
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5527
- high: "high";
5528
- low: "low";
5529
- max: "max";
5530
- medium: "medium";
5531
- none: "none";
5532
- ultra: "ultra";
5533
- ultracode: "ultracode";
5534
- xhigh: "xhigh";
5535
- }>>;
5536
- }, z$1.core.$strict>>;
5537
- }, z$1.core.$strict>>;
5538
5465
  bridgeLaunch: z$1.ZodObject<{
5539
5466
  capabilities: z$1.ZodObject<{
5540
- experimental_providerInstallation: z$1.ZodBoolean;
5541
5467
  fork: z$1.ZodEnum<{
5542
5468
  checkpoint: "checkpoint";
5543
5469
  none: "none";
@@ -5548,6 +5474,7 @@ declare const hostDaemonCommandRegistry: {
5548
5474
  auto: "auto";
5549
5475
  full: "full";
5550
5476
  }>>;
5477
+ providerInstallation: z$1.ZodBoolean;
5551
5478
  supportsServiceTier: z$1.ZodBoolean;
5552
5479
  supportsThreadArchive: z$1.ZodBoolean;
5553
5480
  supportsThreadRename: z$1.ZodBoolean;
@@ -5555,14 +5482,11 @@ declare const hostDaemonCommandRegistry: {
5555
5482
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5556
5483
  pluginId: z$1.ZodString;
5557
5484
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5558
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5485
+ source: z$1.ZodObject<{
5559
5486
  byteLength: z$1.ZodNumber;
5560
5487
  digest: z$1.ZodString;
5561
5488
  kind: z$1.ZodLiteral<"artifact">;
5562
- }, z$1.core.$strict>, z$1.ZodObject<{
5563
- id: z$1.ZodString;
5564
- kind: z$1.ZodLiteral<"daemon-bundled">;
5565
- }, z$1.core.$strict>], "kind">;
5489
+ }, z$1.core.$strict>;
5566
5490
  }, z$1.core.$strict>;
5567
5491
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5568
5492
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -5660,115 +5584,19 @@ declare const hostDaemonCommandRegistry: {
5660
5584
  providerCheckpointId: z$1.ZodNullable<z$1.ZodString>;
5661
5585
  }, z$1.core.$strict>, "settled", false>;
5662
5586
  "thread.goal.clear": HostDaemonCommandDescriptor<"thread.goal.clear", z$1.ZodObject<{
5663
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5664
- args: z$1.ZodArray<z$1.ZodString>;
5665
- command: z$1.ZodString;
5666
- cwd: z$1.ZodOptional<z$1.ZodString>;
5667
- displayName: z$1.ZodString;
5668
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5669
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5670
- listArgs: z$1.ZodArray<z$1.ZodString>;
5671
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5672
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5673
- }, z$1.core.$strict>, z$1.ZodTransform<{
5674
- listArgs: string[];
5675
- primaryModels: string[];
5676
- selectFlag?: string | undefined;
5677
- } | undefined, {
5678
- listArgs: string[];
5679
- primaryModels: string[];
5680
- selectFlag?: string | undefined;
5681
- }>>>;
5682
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5683
- configId: z$1.ZodString;
5684
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5685
- high: "high";
5686
- low: "low";
5687
- max: "max";
5688
- medium: "medium";
5689
- none: "none";
5690
- ultra: "ultra";
5691
- ultracode: "ultracode";
5692
- xhigh: "xhigh";
5693
- }>>;
5694
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5695
- high: "high";
5696
- low: "low";
5697
- max: "max";
5698
- medium: "medium";
5699
- none: "none";
5700
- ultra: "ultra";
5701
- ultracode: "ultracode";
5702
- xhigh: "xhigh";
5703
- }> & z$1.core.$partial, z$1.ZodString>>;
5704
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5705
- high: "high";
5706
- low: "low";
5707
- max: "max";
5708
- medium: "medium";
5709
- none: "none";
5710
- ultra: "ultra";
5711
- ultracode: "ultracode";
5712
- xhigh: "xhigh";
5713
- }>>;
5714
- }, z$1.core.$strict>>;
5715
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5716
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5717
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5718
- }, z$1.core.$strict>>;
5719
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5720
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5721
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5722
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5723
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5724
- }, z$1.core.$strict>>;
5725
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5726
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5727
- high: "high";
5728
- low: "low";
5729
- max: "max";
5730
- medium: "medium";
5587
+ bridgeLaunch: z$1.ZodObject<{
5588
+ capabilities: z$1.ZodObject<{
5589
+ fork: z$1.ZodEnum<{
5590
+ checkpoint: "checkpoint";
5731
5591
  none: "none";
5732
- ultra: "ultra";
5733
- ultracode: "ultracode";
5734
- xhigh: "xhigh";
5735
- }>>;
5736
- flag: z$1.ZodString;
5737
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5738
- high: "high";
5739
- low: "low";
5740
- max: "max";
5741
- medium: "medium";
5742
- none: "none";
5743
- ultra: "ultra";
5744
- ultracode: "ultracode";
5745
- xhigh: "xhigh";
5746
- }> & z$1.core.$partial, z$1.ZodString>>;
5747
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5748
- high: "high";
5749
- low: "low";
5750
- max: "max";
5751
- medium: "medium";
5752
- none: "none";
5753
- ultra: "ultra";
5754
- ultracode: "ultracode";
5755
- xhigh: "xhigh";
5756
- }>>;
5757
- }, z$1.core.$strict>>;
5758
- }, z$1.core.$strict>>;
5759
- bridgeLaunch: z$1.ZodObject<{
5760
- capabilities: z$1.ZodObject<{
5761
- experimental_providerInstallation: z$1.ZodBoolean;
5762
- fork: z$1.ZodEnum<{
5763
- checkpoint: "checkpoint";
5764
- none: "none";
5765
- tip: "tip";
5766
- }>;
5767
- permissionModes: z$1.ZodArray<z$1.ZodEnum<{
5768
- "accept-edits": "accept-edits";
5769
- auto: "auto";
5770
- 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";
5771
5598
  }>>;
5599
+ providerInstallation: z$1.ZodBoolean;
5772
5600
  supportsServiceTier: z$1.ZodBoolean;
5773
5601
  supportsThreadArchive: z$1.ZodBoolean;
5774
5602
  supportsThreadRename: z$1.ZodBoolean;
@@ -5776,14 +5604,11 @@ declare const hostDaemonCommandRegistry: {
5776
5604
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5777
5605
  pluginId: z$1.ZodString;
5778
5606
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5779
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5607
+ source: z$1.ZodObject<{
5780
5608
  byteLength: z$1.ZodNumber;
5781
5609
  digest: z$1.ZodString;
5782
5610
  kind: z$1.ZodLiteral<"artifact">;
5783
- }, z$1.core.$strict>, z$1.ZodObject<{
5784
- id: z$1.ZodString;
5785
- kind: z$1.ZodLiteral<"daemon-bundled">;
5786
- }, z$1.core.$strict>], "kind">;
5611
+ }, z$1.core.$strict>;
5787
5612
  }, z$1.core.$strict>;
5788
5613
  environmentId: z$1.ZodString;
5789
5614
  options: z$1.ZodIntersection<z$1.ZodObject<{
@@ -5827,105 +5652,8 @@ declare const hostDaemonCommandRegistry: {
5827
5652
  permissionScope: z$1.ZodLiteral<"full">;
5828
5653
  }, z$1.core.$strip>], "permissionMode">>;
5829
5654
  resumeContext: z$1.ZodObject<{
5830
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
5831
- args: z$1.ZodArray<z$1.ZodString>;
5832
- command: z$1.ZodString;
5833
- cwd: z$1.ZodOptional<z$1.ZodString>;
5834
- displayName: z$1.ZodString;
5835
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
5836
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
5837
- listArgs: z$1.ZodArray<z$1.ZodString>;
5838
- primaryModels: z$1.ZodArray<z$1.ZodString>;
5839
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
5840
- }, z$1.core.$strict>, z$1.ZodTransform<{
5841
- listArgs: string[];
5842
- primaryModels: string[];
5843
- selectFlag?: string | undefined;
5844
- } | undefined, {
5845
- listArgs: string[];
5846
- primaryModels: string[];
5847
- selectFlag?: string | undefined;
5848
- }>>>;
5849
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
5850
- configId: z$1.ZodString;
5851
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5852
- high: "high";
5853
- low: "low";
5854
- max: "max";
5855
- medium: "medium";
5856
- none: "none";
5857
- ultra: "ultra";
5858
- ultracode: "ultracode";
5859
- xhigh: "xhigh";
5860
- }>>;
5861
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5862
- high: "high";
5863
- low: "low";
5864
- max: "max";
5865
- medium: "medium";
5866
- none: "none";
5867
- ultra: "ultra";
5868
- ultracode: "ultracode";
5869
- xhigh: "xhigh";
5870
- }> & z$1.core.$partial, z$1.ZodString>>;
5871
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5872
- high: "high";
5873
- low: "low";
5874
- max: "max";
5875
- medium: "medium";
5876
- none: "none";
5877
- ultra: "ultra";
5878
- ultracode: "ultracode";
5879
- xhigh: "xhigh";
5880
- }>>;
5881
- }, z$1.core.$strict>>;
5882
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
5883
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5884
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5885
- }, z$1.core.$strict>>;
5886
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
5887
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5888
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
5889
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5890
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5891
- }, z$1.core.$strict>>;
5892
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
5893
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
5894
- high: "high";
5895
- low: "low";
5896
- max: "max";
5897
- medium: "medium";
5898
- none: "none";
5899
- ultra: "ultra";
5900
- ultracode: "ultracode";
5901
- xhigh: "xhigh";
5902
- }>>;
5903
- flag: z$1.ZodString;
5904
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
5905
- high: "high";
5906
- low: "low";
5907
- max: "max";
5908
- medium: "medium";
5909
- none: "none";
5910
- ultra: "ultra";
5911
- ultracode: "ultracode";
5912
- xhigh: "xhigh";
5913
- }> & z$1.core.$partial, z$1.ZodString>>;
5914
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
5915
- high: "high";
5916
- low: "low";
5917
- max: "max";
5918
- medium: "medium";
5919
- none: "none";
5920
- ultra: "ultra";
5921
- ultracode: "ultracode";
5922
- xhigh: "xhigh";
5923
- }>>;
5924
- }, z$1.core.$strict>>;
5925
- }, z$1.core.$strict>>;
5926
5655
  bridgeLaunch: z$1.ZodObject<{
5927
5656
  capabilities: z$1.ZodObject<{
5928
- experimental_providerInstallation: z$1.ZodBoolean;
5929
5657
  fork: z$1.ZodEnum<{
5930
5658
  checkpoint: "checkpoint";
5931
5659
  none: "none";
@@ -5936,6 +5664,7 @@ declare const hostDaemonCommandRegistry: {
5936
5664
  auto: "auto";
5937
5665
  full: "full";
5938
5666
  }>>;
5667
+ providerInstallation: z$1.ZodBoolean;
5939
5668
  supportsServiceTier: z$1.ZodBoolean;
5940
5669
  supportsThreadArchive: z$1.ZodBoolean;
5941
5670
  supportsThreadRename: z$1.ZodBoolean;
@@ -5943,14 +5672,11 @@ declare const hostDaemonCommandRegistry: {
5943
5672
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
5944
5673
  pluginId: z$1.ZodString;
5945
5674
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
5946
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5675
+ source: z$1.ZodObject<{
5947
5676
  byteLength: z$1.ZodNumber;
5948
5677
  digest: z$1.ZodString;
5949
5678
  kind: z$1.ZodLiteral<"artifact">;
5950
- }, z$1.core.$strict>, z$1.ZodObject<{
5951
- id: z$1.ZodString;
5952
- kind: z$1.ZodLiteral<"daemon-bundled">;
5953
- }, z$1.core.$strict>], "kind">;
5679
+ }, z$1.core.$strict>;
5954
5680
  }, z$1.core.$strict>;
5955
5681
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5956
5682
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
@@ -6041,7 +5767,6 @@ declare const hostDaemonCommandRegistry: {
6041
5767
  "thread.archive": HostDaemonCommandDescriptor<"thread.archive", z$1.ZodObject<{
6042
5768
  bridgeLaunch: z$1.ZodObject<{
6043
5769
  capabilities: z$1.ZodObject<{
6044
- experimental_providerInstallation: z$1.ZodBoolean;
6045
5770
  fork: z$1.ZodEnum<{
6046
5771
  checkpoint: "checkpoint";
6047
5772
  none: "none";
@@ -6052,6 +5777,7 @@ declare const hostDaemonCommandRegistry: {
6052
5777
  auto: "auto";
6053
5778
  full: "full";
6054
5779
  }>>;
5780
+ providerInstallation: z$1.ZodBoolean;
6055
5781
  supportsServiceTier: z$1.ZodBoolean;
6056
5782
  supportsThreadArchive: z$1.ZodBoolean;
6057
5783
  supportsThreadRename: z$1.ZodBoolean;
@@ -6059,14 +5785,11 @@ declare const hostDaemonCommandRegistry: {
6059
5785
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6060
5786
  pluginId: z$1.ZodString;
6061
5787
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6062
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5788
+ source: z$1.ZodObject<{
6063
5789
  byteLength: z$1.ZodNumber;
6064
5790
  digest: z$1.ZodString;
6065
5791
  kind: z$1.ZodLiteral<"artifact">;
6066
- }, z$1.core.$strict>, z$1.ZodObject<{
6067
- id: z$1.ZodString;
6068
- kind: z$1.ZodLiteral<"daemon-bundled">;
6069
- }, z$1.core.$strict>], "kind">;
5792
+ }, z$1.core.$strict>;
6070
5793
  }, z$1.core.$strict>;
6071
5794
  environmentId: z$1.ZodString;
6072
5795
  providerId: z$1.ZodString;
@@ -6085,7 +5808,6 @@ declare const hostDaemonCommandRegistry: {
6085
5808
  "thread.unarchive": HostDaemonCommandDescriptor<"thread.unarchive", z$1.ZodObject<{
6086
5809
  bridgeLaunch: z$1.ZodObject<{
6087
5810
  capabilities: z$1.ZodObject<{
6088
- experimental_providerInstallation: z$1.ZodBoolean;
6089
5811
  fork: z$1.ZodEnum<{
6090
5812
  checkpoint: "checkpoint";
6091
5813
  none: "none";
@@ -6096,6 +5818,7 @@ declare const hostDaemonCommandRegistry: {
6096
5818
  auto: "auto";
6097
5819
  full: "full";
6098
5820
  }>>;
5821
+ providerInstallation: z$1.ZodBoolean;
6099
5822
  supportsServiceTier: z$1.ZodBoolean;
6100
5823
  supportsThreadArchive: z$1.ZodBoolean;
6101
5824
  supportsThreadRename: z$1.ZodBoolean;
@@ -6103,14 +5826,11 @@ declare const hostDaemonCommandRegistry: {
6103
5826
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6104
5827
  pluginId: z$1.ZodString;
6105
5828
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6106
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5829
+ source: z$1.ZodObject<{
6107
5830
  byteLength: z$1.ZodNumber;
6108
5831
  digest: z$1.ZodString;
6109
5832
  kind: z$1.ZodLiteral<"artifact">;
6110
- }, z$1.core.$strict>, z$1.ZodObject<{
6111
- id: z$1.ZodString;
6112
- kind: z$1.ZodLiteral<"daemon-bundled">;
6113
- }, z$1.core.$strict>], "kind">;
5833
+ }, z$1.core.$strict>;
6114
5834
  }, z$1.core.$strict>;
6115
5835
  environmentId: z$1.ZodString;
6116
5836
  providerId: z$1.ZodString;
@@ -6156,33 +5876,13 @@ declare const hostDaemonCommandRegistry: {
6156
5876
  kind: z$1.ZodLiteral<"user_answer">;
6157
5877
  }, z$1.core.$strip>, z$1.ZodObject<{
6158
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>>;
6159
5882
  }, z$1.core.$strip>]>;
6160
5883
  threadId: z$1.ZodString;
6161
5884
  type: z$1.ZodLiteral<"interactive.resolve">;
6162
5885
  }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
6163
- "codex.inference.complete": HostDaemonCommandDescriptor<"codex.inference.complete", z$1.ZodObject<{
6164
- model: z$1.ZodString;
6165
- outputSchema: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6166
- prompt: z$1.ZodString;
6167
- reasoningEffort: z$1.ZodLiteral<"none">;
6168
- timeoutMs: z$1.ZodNumber;
6169
- type: z$1.ZodLiteral<"codex.inference.complete">;
6170
- }, z$1.core.$strict>, z$1.ZodObject<{
6171
- model: z$1.ZodString;
6172
- value: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6173
- }, z$1.core.$strip>, "settled", false>;
6174
- "codex.voice.transcribe": HostDaemonCommandDescriptor<"codex.voice.transcribe", z$1.ZodObject<{
6175
- audioBase64: z$1.ZodString;
6176
- filename: z$1.ZodString;
6177
- mimeType: z$1.ZodString;
6178
- model: z$1.ZodString;
6179
- prompt: z$1.ZodNullable<z$1.ZodString>;
6180
- timeoutMs: z$1.ZodNumber;
6181
- type: z$1.ZodLiteral<"codex.voice.transcribe">;
6182
- }, z$1.core.$strict>, z$1.ZodObject<{
6183
- model: z$1.ZodString;
6184
- text: z$1.ZodString;
6185
- }, z$1.core.$strip>, "settled", false>;
6186
5886
  "environment.provision": HostDaemonCommandDescriptor<"environment.provision", z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6187
5887
  checkout: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6188
5888
  kind: z$1.ZodLiteral<"existing">;
@@ -6480,10 +6180,80 @@ declare const hostDaemonCommandRegistry: {
6480
6180
  }, z$1.core.$strict>, "onlineRpc", true>;
6481
6181
  "host.list_commands": HostDaemonCommandDescriptor<"host.list_commands", z$1.ZodObject<{
6482
6182
  cwd: z$1.ZodNullable<z$1.ZodString>;
6483
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6484
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6485
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6486
- }, 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>;
6487
6257
  providerId: z$1.ZodString;
6488
6258
  type: z$1.ZodLiteral<"host.list_commands">;
6489
6259
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -6503,10 +6273,80 @@ declare const hostDaemonCommandRegistry: {
6503
6273
  }, z$1.core.$strip>, "onlineRpc", true>;
6504
6274
  "host.list_skills": HostDaemonCommandDescriptor<"host.list_skills", z$1.ZodObject<{
6505
6275
  cwd: z$1.ZodNullable<z$1.ZodString>;
6506
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6507
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6508
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6509
- }, 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>;
6510
6350
  providerId: z$1.ZodString;
6511
6351
  type: z$1.ZodLiteral<"host.list_skills">;
6512
6352
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -6737,105 +6577,8 @@ declare const hostDaemonCommandRegistry: {
6737
6577
  outcome: z$1.ZodLiteral<"conflict">;
6738
6578
  }, z$1.core.$strict>], "outcome">, "onlineRpc", false>;
6739
6579
  "provider.list_models": HostDaemonCommandDescriptor<"provider.list_models", z$1.ZodObject<{
6740
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
6741
- args: z$1.ZodArray<z$1.ZodString>;
6742
- command: z$1.ZodString;
6743
- cwd: z$1.ZodOptional<z$1.ZodString>;
6744
- displayName: z$1.ZodString;
6745
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
6746
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
6747
- listArgs: z$1.ZodArray<z$1.ZodString>;
6748
- primaryModels: z$1.ZodArray<z$1.ZodString>;
6749
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
6750
- }, z$1.core.$strict>, z$1.ZodTransform<{
6751
- listArgs: string[];
6752
- primaryModels: string[];
6753
- selectFlag?: string | undefined;
6754
- } | undefined, {
6755
- listArgs: string[];
6756
- primaryModels: string[];
6757
- selectFlag?: string | undefined;
6758
- }>>>;
6759
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
6760
- configId: z$1.ZodString;
6761
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6762
- high: "high";
6763
- low: "low";
6764
- max: "max";
6765
- medium: "medium";
6766
- none: "none";
6767
- ultra: "ultra";
6768
- ultracode: "ultracode";
6769
- xhigh: "xhigh";
6770
- }>>;
6771
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6772
- high: "high";
6773
- low: "low";
6774
- max: "max";
6775
- medium: "medium";
6776
- none: "none";
6777
- ultra: "ultra";
6778
- ultracode: "ultracode";
6779
- xhigh: "xhigh";
6780
- }> & z$1.core.$partial, z$1.ZodString>>;
6781
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6782
- high: "high";
6783
- low: "low";
6784
- max: "max";
6785
- medium: "medium";
6786
- none: "none";
6787
- ultra: "ultra";
6788
- ultracode: "ultracode";
6789
- xhigh: "xhigh";
6790
- }>>;
6791
- }, z$1.core.$strict>>;
6792
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6793
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6794
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6795
- }, z$1.core.$strict>>;
6796
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
6797
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6798
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
6799
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6800
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6801
- }, z$1.core.$strict>>;
6802
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
6803
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6804
- high: "high";
6805
- low: "low";
6806
- max: "max";
6807
- medium: "medium";
6808
- none: "none";
6809
- ultra: "ultra";
6810
- ultracode: "ultracode";
6811
- xhigh: "xhigh";
6812
- }>>;
6813
- flag: z$1.ZodString;
6814
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6815
- high: "high";
6816
- low: "low";
6817
- max: "max";
6818
- medium: "medium";
6819
- none: "none";
6820
- ultra: "ultra";
6821
- ultracode: "ultracode";
6822
- xhigh: "xhigh";
6823
- }> & z$1.core.$partial, z$1.ZodString>>;
6824
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6825
- high: "high";
6826
- low: "low";
6827
- max: "max";
6828
- medium: "medium";
6829
- none: "none";
6830
- ultra: "ultra";
6831
- ultracode: "ultracode";
6832
- xhigh: "xhigh";
6833
- }>>;
6834
- }, z$1.core.$strict>>;
6835
- }, z$1.core.$strict>>;
6836
6580
  bridgeLaunch: z$1.ZodObject<{
6837
6581
  capabilities: z$1.ZodObject<{
6838
- experimental_providerInstallation: z$1.ZodBoolean;
6839
6582
  fork: z$1.ZodEnum<{
6840
6583
  checkpoint: "checkpoint";
6841
6584
  none: "none";
@@ -6846,6 +6589,7 @@ declare const hostDaemonCommandRegistry: {
6846
6589
  auto: "auto";
6847
6590
  full: "full";
6848
6591
  }>>;
6592
+ providerInstallation: z$1.ZodBoolean;
6849
6593
  supportsServiceTier: z$1.ZodBoolean;
6850
6594
  supportsThreadArchive: z$1.ZodBoolean;
6851
6595
  supportsThreadRename: z$1.ZodBoolean;
@@ -6853,14 +6597,11 @@ declare const hostDaemonCommandRegistry: {
6853
6597
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6854
6598
  pluginId: z$1.ZodString;
6855
6599
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6856
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6600
+ source: z$1.ZodObject<{
6857
6601
  byteLength: z$1.ZodNumber;
6858
6602
  digest: z$1.ZodString;
6859
6603
  kind: z$1.ZodLiteral<"artifact">;
6860
- }, z$1.core.$strict>, z$1.ZodObject<{
6861
- id: z$1.ZodString;
6862
- kind: z$1.ZodLiteral<"daemon-bundled">;
6863
- }, z$1.core.$strict>], "kind">;
6604
+ }, z$1.core.$strict>;
6864
6605
  }, z$1.core.$strict>;
6865
6606
  cwd: z$1.ZodOptional<z$1.ZodString>;
6866
6607
  providerId: z$1.ZodString;
@@ -6930,105 +6671,8 @@ declare const hostDaemonCommandRegistry: {
6930
6671
  }, z$1.core.$strip>>;
6931
6672
  }, z$1.core.$strip>, "onlineRpc", true>;
6932
6673
  "provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
6933
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
6934
- args: z$1.ZodArray<z$1.ZodString>;
6935
- command: z$1.ZodString;
6936
- cwd: z$1.ZodOptional<z$1.ZodString>;
6937
- displayName: z$1.ZodString;
6938
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
6939
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
6940
- listArgs: z$1.ZodArray<z$1.ZodString>;
6941
- primaryModels: z$1.ZodArray<z$1.ZodString>;
6942
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
6943
- }, z$1.core.$strict>, z$1.ZodTransform<{
6944
- listArgs: string[];
6945
- primaryModels: string[];
6946
- selectFlag?: string | undefined;
6947
- } | undefined, {
6948
- listArgs: string[];
6949
- primaryModels: string[];
6950
- selectFlag?: string | undefined;
6951
- }>>>;
6952
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
6953
- configId: z$1.ZodString;
6954
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6955
- high: "high";
6956
- low: "low";
6957
- max: "max";
6958
- medium: "medium";
6959
- none: "none";
6960
- ultra: "ultra";
6961
- ultracode: "ultracode";
6962
- xhigh: "xhigh";
6963
- }>>;
6964
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
6965
- high: "high";
6966
- low: "low";
6967
- max: "max";
6968
- medium: "medium";
6969
- none: "none";
6970
- ultra: "ultra";
6971
- ultracode: "ultracode";
6972
- xhigh: "xhigh";
6973
- }> & z$1.core.$partial, z$1.ZodString>>;
6974
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
6975
- high: "high";
6976
- low: "low";
6977
- max: "max";
6978
- medium: "medium";
6979
- none: "none";
6980
- ultra: "ultra";
6981
- ultracode: "ultracode";
6982
- xhigh: "xhigh";
6983
- }>>;
6984
- }, z$1.core.$strict>>;
6985
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
6986
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6987
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6988
- }, z$1.core.$strict>>;
6989
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
6990
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6991
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
6992
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6993
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6994
- }, z$1.core.$strict>>;
6995
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
6996
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
6997
- high: "high";
6998
- low: "low";
6999
- max: "max";
7000
- medium: "medium";
7001
- none: "none";
7002
- ultra: "ultra";
7003
- ultracode: "ultracode";
7004
- xhigh: "xhigh";
7005
- }>>;
7006
- flag: z$1.ZodString;
7007
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7008
- high: "high";
7009
- low: "low";
7010
- max: "max";
7011
- medium: "medium";
7012
- none: "none";
7013
- ultra: "ultra";
7014
- ultracode: "ultracode";
7015
- xhigh: "xhigh";
7016
- }> & z$1.core.$partial, z$1.ZodString>>;
7017
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7018
- high: "high";
7019
- low: "low";
7020
- max: "max";
7021
- medium: "medium";
7022
- none: "none";
7023
- ultra: "ultra";
7024
- ultracode: "ultracode";
7025
- xhigh: "xhigh";
7026
- }>>;
7027
- }, z$1.core.$strict>>;
7028
- }, z$1.core.$strict>>;
7029
6674
  bridgeLaunch: z$1.ZodObject<{
7030
6675
  capabilities: z$1.ZodObject<{
7031
- experimental_providerInstallation: z$1.ZodBoolean;
7032
6676
  fork: z$1.ZodEnum<{
7033
6677
  checkpoint: "checkpoint";
7034
6678
  none: "none";
@@ -7039,6 +6683,7 @@ declare const hostDaemonCommandRegistry: {
7039
6683
  auto: "auto";
7040
6684
  full: "full";
7041
6685
  }>>;
6686
+ providerInstallation: z$1.ZodBoolean;
7042
6687
  supportsServiceTier: z$1.ZodBoolean;
7043
6688
  supportsThreadArchive: z$1.ZodBoolean;
7044
6689
  supportsThreadRename: z$1.ZodBoolean;
@@ -7046,14 +6691,11 @@ declare const hostDaemonCommandRegistry: {
7046
6691
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7047
6692
  pluginId: z$1.ZodString;
7048
6693
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7049
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6694
+ source: z$1.ZodObject<{
7050
6695
  byteLength: z$1.ZodNumber;
7051
6696
  digest: z$1.ZodString;
7052
6697
  kind: z$1.ZodLiteral<"artifact">;
7053
- }, z$1.core.$strict>, z$1.ZodObject<{
7054
- id: z$1.ZodString;
7055
- kind: z$1.ZodLiteral<"daemon-bundled">;
7056
- }, z$1.core.$strict>], "kind">;
6698
+ }, z$1.core.$strict>;
7057
6699
  }, z$1.core.$strict>;
7058
6700
  cwd: z$1.ZodOptional<z$1.ZodString>;
7059
6701
  providerId: z$1.ZodString;
@@ -7082,105 +6724,8 @@ declare const hostDaemonCommandRegistry: {
7082
6724
  supported: z$1.ZodLiteral<true>;
7083
6725
  }, z$1.core.$loose>], "supported">, "onlineRpc", true>;
7084
6726
  "provider.installation.status": HostDaemonCommandDescriptor<"provider.installation.status", z$1.ZodObject<{
7085
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7086
- args: z$1.ZodArray<z$1.ZodString>;
7087
- command: z$1.ZodString;
7088
- cwd: z$1.ZodOptional<z$1.ZodString>;
7089
- displayName: z$1.ZodString;
7090
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7091
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7092
- listArgs: z$1.ZodArray<z$1.ZodString>;
7093
- primaryModels: z$1.ZodArray<z$1.ZodString>;
7094
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
7095
- }, z$1.core.$strict>, z$1.ZodTransform<{
7096
- listArgs: string[];
7097
- primaryModels: string[];
7098
- selectFlag?: string | undefined;
7099
- } | undefined, {
7100
- listArgs: string[];
7101
- primaryModels: string[];
7102
- selectFlag?: string | undefined;
7103
- }>>>;
7104
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7105
- configId: z$1.ZodString;
7106
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7107
- high: "high";
7108
- low: "low";
7109
- max: "max";
7110
- medium: "medium";
7111
- none: "none";
7112
- ultra: "ultra";
7113
- ultracode: "ultracode";
7114
- xhigh: "xhigh";
7115
- }>>;
7116
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7117
- high: "high";
7118
- low: "low";
7119
- max: "max";
7120
- medium: "medium";
7121
- none: "none";
7122
- ultra: "ultra";
7123
- ultracode: "ultracode";
7124
- xhigh: "xhigh";
7125
- }> & z$1.core.$partial, z$1.ZodString>>;
7126
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7127
- high: "high";
7128
- low: "low";
7129
- max: "max";
7130
- medium: "medium";
7131
- none: "none";
7132
- ultra: "ultra";
7133
- ultracode: "ultracode";
7134
- xhigh: "xhigh";
7135
- }>>;
7136
- }, z$1.core.$strict>>;
7137
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7138
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7139
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7140
- }, z$1.core.$strict>>;
7141
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7142
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7143
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7144
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7145
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7146
- }, z$1.core.$strict>>;
7147
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7148
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7149
- high: "high";
7150
- low: "low";
7151
- max: "max";
7152
- medium: "medium";
7153
- none: "none";
7154
- ultra: "ultra";
7155
- ultracode: "ultracode";
7156
- xhigh: "xhigh";
7157
- }>>;
7158
- flag: z$1.ZodString;
7159
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7160
- high: "high";
7161
- low: "low";
7162
- max: "max";
7163
- medium: "medium";
7164
- none: "none";
7165
- ultra: "ultra";
7166
- ultracode: "ultracode";
7167
- xhigh: "xhigh";
7168
- }> & z$1.core.$partial, z$1.ZodString>>;
7169
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7170
- high: "high";
7171
- low: "low";
7172
- max: "max";
7173
- medium: "medium";
7174
- none: "none";
7175
- ultra: "ultra";
7176
- ultracode: "ultracode";
7177
- xhigh: "xhigh";
7178
- }>>;
7179
- }, z$1.core.$strict>>;
7180
- }, z$1.core.$strict>>;
7181
6727
  bridgeLaunch: z$1.ZodObject<{
7182
6728
  capabilities: z$1.ZodObject<{
7183
- experimental_providerInstallation: z$1.ZodBoolean;
7184
6729
  fork: z$1.ZodEnum<{
7185
6730
  checkpoint: "checkpoint";
7186
6731
  none: "none";
@@ -7191,6 +6736,7 @@ declare const hostDaemonCommandRegistry: {
7191
6736
  auto: "auto";
7192
6737
  full: "full";
7193
6738
  }>>;
6739
+ providerInstallation: z$1.ZodBoolean;
7194
6740
  supportsServiceTier: z$1.ZodBoolean;
7195
6741
  supportsThreadArchive: z$1.ZodBoolean;
7196
6742
  supportsThreadRename: z$1.ZodBoolean;
@@ -7198,14 +6744,11 @@ declare const hostDaemonCommandRegistry: {
7198
6744
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7199
6745
  pluginId: z$1.ZodString;
7200
6746
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7201
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6747
+ source: z$1.ZodObject<{
7202
6748
  byteLength: z$1.ZodNumber;
7203
6749
  digest: z$1.ZodString;
7204
6750
  kind: z$1.ZodLiteral<"artifact">;
7205
- }, z$1.core.$strict>, z$1.ZodObject<{
7206
- id: z$1.ZodString;
7207
- kind: z$1.ZodLiteral<"daemon-bundled">;
7208
- }, z$1.core.$strict>], "kind">;
6751
+ }, z$1.core.$strict>;
7209
6752
  }, z$1.core.$strict>;
7210
6753
  cwd: z$1.ZodOptional<z$1.ZodString>;
7211
6754
  providerId: z$1.ZodString;
@@ -7240,109 +6783,12 @@ declare const hostDaemonCommandRegistry: {
7240
6783
  versionUnsupported: z$1.ZodBoolean;
7241
6784
  }, z$1.core.$loose>, "onlineRpc", true>;
7242
6785
  "provider.installation.run": HostDaemonCommandDescriptor<"provider.installation.run", z$1.ZodObject<{
7243
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7244
- args: z$1.ZodArray<z$1.ZodString>;
7245
- command: z$1.ZodString;
7246
- cwd: z$1.ZodOptional<z$1.ZodString>;
7247
- displayName: z$1.ZodString;
7248
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7249
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7250
- listArgs: z$1.ZodArray<z$1.ZodString>;
7251
- primaryModels: z$1.ZodArray<z$1.ZodString>;
7252
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
7253
- }, z$1.core.$strict>, z$1.ZodTransform<{
7254
- listArgs: string[];
7255
- primaryModels: string[];
7256
- selectFlag?: string | undefined;
7257
- } | undefined, {
7258
- listArgs: string[];
7259
- primaryModels: string[];
7260
- selectFlag?: string | undefined;
7261
- }>>>;
7262
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7263
- configId: z$1.ZodString;
7264
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7265
- high: "high";
7266
- low: "low";
7267
- max: "max";
7268
- medium: "medium";
7269
- none: "none";
7270
- ultra: "ultra";
7271
- ultracode: "ultracode";
7272
- xhigh: "xhigh";
7273
- }>>;
7274
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7275
- high: "high";
7276
- low: "low";
7277
- max: "max";
7278
- medium: "medium";
7279
- none: "none";
7280
- ultra: "ultra";
7281
- ultracode: "ultracode";
7282
- xhigh: "xhigh";
7283
- }> & z$1.core.$partial, z$1.ZodString>>;
7284
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7285
- high: "high";
7286
- low: "low";
7287
- max: "max";
7288
- medium: "medium";
7289
- none: "none";
7290
- ultra: "ultra";
7291
- ultracode: "ultracode";
7292
- xhigh: "xhigh";
7293
- }>>;
7294
- }, z$1.core.$strict>>;
7295
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7296
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7297
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7298
- }, z$1.core.$strict>>;
7299
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7300
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7301
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7302
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7303
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7304
- }, z$1.core.$strict>>;
7305
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7306
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7307
- high: "high";
7308
- low: "low";
7309
- max: "max";
7310
- medium: "medium";
7311
- none: "none";
7312
- ultra: "ultra";
7313
- ultracode: "ultracode";
7314
- xhigh: "xhigh";
7315
- }>>;
7316
- flag: z$1.ZodString;
7317
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7318
- high: "high";
7319
- low: "low";
7320
- max: "max";
7321
- medium: "medium";
7322
- none: "none";
7323
- ultra: "ultra";
7324
- ultracode: "ultracode";
7325
- xhigh: "xhigh";
7326
- }> & z$1.core.$partial, z$1.ZodString>>;
7327
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7328
- high: "high";
7329
- low: "low";
7330
- max: "max";
7331
- medium: "medium";
7332
- none: "none";
7333
- ultra: "ultra";
7334
- ultracode: "ultracode";
7335
- xhigh: "xhigh";
7336
- }>>;
7337
- }, z$1.core.$strict>>;
7338
- }, z$1.core.$strict>>;
7339
6786
  action: z$1.ZodEnum<{
7340
6787
  install: "install";
7341
6788
  update: "update";
7342
6789
  }>;
7343
6790
  bridgeLaunch: z$1.ZodObject<{
7344
6791
  capabilities: z$1.ZodObject<{
7345
- experimental_providerInstallation: z$1.ZodBoolean;
7346
6792
  fork: z$1.ZodEnum<{
7347
6793
  checkpoint: "checkpoint";
7348
6794
  none: "none";
@@ -7353,6 +6799,7 @@ declare const hostDaemonCommandRegistry: {
7353
6799
  auto: "auto";
7354
6800
  full: "full";
7355
6801
  }>>;
6802
+ providerInstallation: z$1.ZodBoolean;
7356
6803
  supportsServiceTier: z$1.ZodBoolean;
7357
6804
  supportsThreadArchive: z$1.ZodBoolean;
7358
6805
  supportsThreadRename: z$1.ZodBoolean;
@@ -7360,14 +6807,11 @@ declare const hostDaemonCommandRegistry: {
7360
6807
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7361
6808
  pluginId: z$1.ZodString;
7362
6809
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7363
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6810
+ source: z$1.ZodObject<{
7364
6811
  byteLength: z$1.ZodNumber;
7365
6812
  digest: z$1.ZodString;
7366
- kind: z$1.ZodLiteral<"artifact">;
7367
- }, z$1.core.$strict>, z$1.ZodObject<{
7368
- id: z$1.ZodString;
7369
- kind: z$1.ZodLiteral<"daemon-bundled">;
7370
- }, z$1.core.$strict>], "kind">;
6813
+ kind: z$1.ZodLiteral<"artifact">;
6814
+ }, z$1.core.$strict>;
7371
6815
  }, z$1.core.$strict>;
7372
6816
  cwd: z$1.ZodOptional<z$1.ZodString>;
7373
6817
  providerId: z$1.ZodString;
@@ -7398,105 +6842,8 @@ declare const hostDaemonCommandRegistry: {
7398
6842
  }, z$1.core.$strip>], "type">>;
7399
6843
  }, z$1.core.$strict>, "onlineRpc", false>;
7400
6844
  "provider.usage": HostDaemonCommandDescriptor<"provider.usage", z$1.ZodObject<{
7401
- acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
7402
- args: z$1.ZodArray<z$1.ZodString>;
7403
- command: z$1.ZodString;
7404
- cwd: z$1.ZodOptional<z$1.ZodString>;
7405
- displayName: z$1.ZodString;
7406
- env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
7407
- modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
7408
- listArgs: z$1.ZodArray<z$1.ZodString>;
7409
- primaryModels: z$1.ZodArray<z$1.ZodString>;
7410
- selectFlag: z$1.ZodOptional<z$1.ZodString>;
7411
- }, z$1.core.$strict>, z$1.ZodTransform<{
7412
- listArgs: string[];
7413
- primaryModels: string[];
7414
- selectFlag?: string | undefined;
7415
- } | undefined, {
7416
- listArgs: string[];
7417
- primaryModels: string[];
7418
- selectFlag?: string | undefined;
7419
- }>>>;
7420
- nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
7421
- configId: z$1.ZodString;
7422
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7423
- high: "high";
7424
- low: "low";
7425
- max: "max";
7426
- medium: "medium";
7427
- none: "none";
7428
- ultra: "ultra";
7429
- ultracode: "ultracode";
7430
- xhigh: "xhigh";
7431
- }>>;
7432
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7433
- high: "high";
7434
- low: "low";
7435
- max: "max";
7436
- medium: "medium";
7437
- none: "none";
7438
- ultra: "ultra";
7439
- ultracode: "ultracode";
7440
- xhigh: "xhigh";
7441
- }> & z$1.core.$partial, z$1.ZodString>>;
7442
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7443
- high: "high";
7444
- low: "low";
7445
- max: "max";
7446
- medium: "medium";
7447
- none: "none";
7448
- ultra: "ultra";
7449
- ultracode: "ultracode";
7450
- xhigh: "xhigh";
7451
- }>>;
7452
- }, z$1.core.$strict>>;
7453
- nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
7454
- project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7455
- user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
7456
- }, z$1.core.$strict>>;
7457
- permissionCli: z$1.ZodOptional<z$1.ZodObject<{
7458
- full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7459
- insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
7460
- readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7461
- workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7462
- }, z$1.core.$strict>>;
7463
- reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
7464
- defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
7465
- high: "high";
7466
- low: "low";
7467
- max: "max";
7468
- medium: "medium";
7469
- none: "none";
7470
- ultra: "ultra";
7471
- ultracode: "ultracode";
7472
- xhigh: "xhigh";
7473
- }>>;
7474
- flag: z$1.ZodString;
7475
- levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
7476
- high: "high";
7477
- low: "low";
7478
- max: "max";
7479
- medium: "medium";
7480
- none: "none";
7481
- ultra: "ultra";
7482
- ultracode: "ultracode";
7483
- xhigh: "xhigh";
7484
- }> & z$1.core.$partial, z$1.ZodString>>;
7485
- supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
7486
- high: "high";
7487
- low: "low";
7488
- max: "max";
7489
- medium: "medium";
7490
- none: "none";
7491
- ultra: "ultra";
7492
- ultracode: "ultracode";
7493
- xhigh: "xhigh";
7494
- }>>;
7495
- }, z$1.core.$strict>>;
7496
- }, z$1.core.$strict>>;
7497
6845
  bridgeLaunch: z$1.ZodObject<{
7498
6846
  capabilities: z$1.ZodObject<{
7499
- experimental_providerInstallation: z$1.ZodBoolean;
7500
6847
  fork: z$1.ZodEnum<{
7501
6848
  checkpoint: "checkpoint";
7502
6849
  none: "none";
@@ -7507,6 +6854,7 @@ declare const hostDaemonCommandRegistry: {
7507
6854
  auto: "auto";
7508
6855
  full: "full";
7509
6856
  }>>;
6857
+ providerInstallation: z$1.ZodBoolean;
7510
6858
  supportsServiceTier: z$1.ZodBoolean;
7511
6859
  supportsThreadArchive: z$1.ZodBoolean;
7512
6860
  supportsThreadRename: z$1.ZodBoolean;
@@ -7514,14 +6862,11 @@ declare const hostDaemonCommandRegistry: {
7514
6862
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
7515
6863
  pluginId: z$1.ZodString;
7516
6864
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7517
- source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6865
+ source: z$1.ZodObject<{
7518
6866
  byteLength: z$1.ZodNumber;
7519
6867
  digest: z$1.ZodString;
7520
6868
  kind: z$1.ZodLiteral<"artifact">;
7521
- }, z$1.core.$strict>, z$1.ZodObject<{
7522
- id: z$1.ZodString;
7523
- kind: z$1.ZodLiteral<"daemon-bundled">;
7524
- }, z$1.core.$strict>], "kind">;
6869
+ }, z$1.core.$strict>;
7525
6870
  }, z$1.core.$strict>;
7526
6871
  cwd: z$1.ZodOptional<z$1.ZodString>;
7527
6872
  providerId: z$1.ZodString;
@@ -8170,6 +7515,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
8170
7515
  hasSettings: z$1.ZodBoolean;
8171
7516
  icon: z$1.ZodNullable<z$1.ZodString>;
8172
7517
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
7518
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
8173
7519
  id: z$1.ZodString;
8174
7520
  isOrphanedBuiltin: z$1.ZodBoolean;
8175
7521
  logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -8180,6 +7526,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
8180
7526
  catalog: "catalog";
8181
7527
  direct: "direct";
8182
7528
  }>;
7529
+ providerIds: z$1.ZodArray<z$1.ZodString>;
8183
7530
  publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
8184
7531
  rootDir: z$1.ZodString;
8185
7532
  schedules: z$1.ZodArray<z$1.ZodObject<{
@@ -8278,6 +7625,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
8278
7625
  hasSettings: z$1.ZodBoolean;
8279
7626
  icon: z$1.ZodNullable<z$1.ZodString>;
8280
7627
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
7628
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
8281
7629
  id: z$1.ZodString;
8282
7630
  isOrphanedBuiltin: z$1.ZodBoolean;
8283
7631
  logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -8288,6 +7636,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
8288
7636
  catalog: "catalog";
8289
7637
  direct: "direct";
8290
7638
  }>;
7639
+ providerIds: z$1.ZodArray<z$1.ZodString>;
8291
7640
  publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
8292
7641
  rootDir: z$1.ZodString;
8293
7642
  schedules: z$1.ZodArray<z$1.ZodObject<{
@@ -8388,6 +7737,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
8388
7737
  hasSettings: z$1.ZodBoolean;
8389
7738
  icon: z$1.ZodNullable<z$1.ZodString>;
8390
7739
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
7740
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
8391
7741
  id: z$1.ZodString;
8392
7742
  isOrphanedBuiltin: z$1.ZodBoolean;
8393
7743
  logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -8398,6 +7748,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
8398
7748
  catalog: "catalog";
8399
7749
  direct: "direct";
8400
7750
  }>;
7751
+ providerIds: z$1.ZodArray<z$1.ZodString>;
8401
7752
  publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
8402
7753
  rootDir: z$1.ZodString;
8403
7754
  schedules: z$1.ZodArray<z$1.ZodObject<{
@@ -8464,6 +7815,7 @@ declare const pluginSettingsResponseSchema: z$1.ZodObject<{
8464
7815
  schema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8465
7816
  default: z$1.ZodOptional<z$1.ZodString>;
8466
7817
  description: z$1.ZodOptional<z$1.ZodString>;
7818
+ experimental_multiline: z$1.ZodOptional<z$1.ZodBoolean>;
8467
7819
  label: z$1.ZodString;
8468
7820
  secret: z$1.ZodOptional<z$1.ZodLiteral<true>>;
8469
7821
  type: z$1.ZodLiteral<"string">;
@@ -8692,6 +8044,10 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
8692
8044
  providers: z$1.ZodArray<z$1.ZodObject<{
8693
8045
  available: z$1.ZodBoolean;
8694
8046
  capabilities: z$1.ZodObject<{
8047
+ modelCatalogScope: z$1.ZodEnum<{
8048
+ host: "host";
8049
+ workspace: "workspace";
8050
+ }>;
8695
8051
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8696
8052
  "accept-edits": "accept-edits";
8697
8053
  auto: "auto";
@@ -8729,16 +8085,22 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
8729
8085
  kind: z$1.ZodLiteral<"goal">;
8730
8086
  }, z$1.core.$strip>], "kind">>;
8731
8087
  displayName: z$1.ZodString;
8732
- experimental_providerHealth: z$1.ZodBoolean;
8733
- experimental_providerInstallation: z$1.ZodBoolean;
8734
- experimental_providerUsage: z$1.ZodBoolean;
8735
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<{
8736
8089
  item: z$1.ZodBoolean;
8737
8090
  state: z$1.ZodBoolean;
8738
8091
  }, z$1.core.$strip>>>;
8739
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>>;
8740
8096
  id: z$1.ZodString;
8741
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;
8742
8104
  reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8743
8105
  description: z$1.ZodOptional<z$1.ZodString>;
8744
8106
  id: z$1.ZodString;
@@ -8850,6 +8212,20 @@ declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
8850
8212
  }, z$1.core.$strip>;
8851
8213
  type SystemProviderStatesResponse = z$1.infer<typeof systemProviderStatesResponseSchema>;
8852
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>;
8853
8229
  appearance: z$1.ZodObject<{
8854
8230
  customCss: z$1.ZodNullable<z$1.ZodString>;
8855
8231
  faviconColor: z$1.ZodEnum<{
@@ -8880,6 +8256,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8880
8256
  "composer.focus": "composer.focus";
8881
8257
  "diff.toggle": "diff.toggle";
8882
8258
  "file.quickOpen": "file.quickOpen";
8259
+ "logs.openServerDaemon": "logs.openServerDaemon";
8883
8260
  "modelPicker.cycleModel": "modelPicker.cycleModel";
8884
8261
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
8885
8262
  "modelPicker.cycleProvider": "modelPicker.cycleProvider";
@@ -9000,6 +8377,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
9000
8377
  "composer.focus": "composer.focus";
9001
8378
  "diff.toggle": "diff.toggle";
9002
8379
  "file.quickOpen": "file.quickOpen";
8380
+ "logs.openServerDaemon": "logs.openServerDaemon";
9003
8381
  "modelPicker.cycleModel": "modelPicker.cycleModel";
9004
8382
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
9005
8383
  "modelPicker.cycleProvider": "modelPicker.cycleProvider";
@@ -9071,6 +8449,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
9071
8449
  "composer.focus": "composer.focus";
9072
8450
  "diff.toggle": "diff.toggle";
9073
8451
  "file.quickOpen": "file.quickOpen";
8452
+ "logs.openServerDaemon": "logs.openServerDaemon";
9074
8453
  "modelPicker.cycleModel": "modelPicker.cycleModel";
9075
8454
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
9076
8455
  "modelPicker.cycleProvider": "modelPicker.cycleProvider";
@@ -9623,6 +9002,7 @@ interface TimelineWorkRowBase extends TimelineRowBase {
9623
9002
  kind: "work";
9624
9003
  status: TimelineRowStatus;
9625
9004
  }
9005
+ type TimelineRowPresentation = ThreadEventItemPresentation;
9626
9006
  declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
9627
9007
  activityIntents: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9628
9008
  command: z$1.ZodString;
@@ -9658,6 +9038,22 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
9658
9038
  outputPreview: z$1.ZodOptional<z$1.ZodObject<{
9659
9039
  totalChars: z$1.ZodNumber;
9660
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>>;
9661
9057
  source: z$1.ZodNullable<z$1.ZodString>;
9662
9058
  sourceSeqEnd: z$1.ZodNumber;
9663
9059
  sourceSeqStart: z$1.ZodNumber;
@@ -9674,24 +9070,6 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
9674
9070
  }, z$1.core.$strip>;
9675
9071
  type TimelineCommandWorkRow = z$1.infer<typeof timelineCommandWorkRowSchema>;
9676
9072
  declare const timelineToolWorkRowSchema: z$1.ZodObject<{
9677
- activityIntents: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9678
- command: z$1.ZodString;
9679
- name: z$1.ZodString;
9680
- path: z$1.ZodNullable<z$1.ZodString>;
9681
- type: z$1.ZodLiteral<"read">;
9682
- }, z$1.core.$strip>, z$1.ZodObject<{
9683
- command: z$1.ZodString;
9684
- path: z$1.ZodNullable<z$1.ZodString>;
9685
- type: z$1.ZodLiteral<"list_files">;
9686
- }, z$1.core.$strip>, z$1.ZodObject<{
9687
- command: z$1.ZodString;
9688
- path: z$1.ZodNullable<z$1.ZodString>;
9689
- query: z$1.ZodNullable<z$1.ZodString>;
9690
- type: z$1.ZodLiteral<"search">;
9691
- }, z$1.core.$strip>, z$1.ZodObject<{
9692
- command: z$1.ZodString;
9693
- type: z$1.ZodLiteral<"unknown">;
9694
- }, z$1.core.$strip>], "type">>;
9695
9073
  approvalStatus: z$1.ZodNullable<z$1.ZodEnum<{
9696
9074
  denied: "denied";
9697
9075
  waiting_for_approval: "waiting_for_approval";
@@ -9705,6 +9083,22 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
9705
9083
  outputPreview: z$1.ZodOptional<z$1.ZodObject<{
9706
9084
  totalChars: z$1.ZodNumber;
9707
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>>;
9708
9102
  sourceSeqEnd: z$1.ZodNumber;
9709
9103
  sourceSeqStart: z$1.ZodNumber;
9710
9104
  startedAt: z$1.ZodNumber;
@@ -9714,10 +9108,6 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
9714
9108
  interrupted: "interrupted";
9715
9109
  pending: "pending";
9716
9110
  }>;
9717
- statusLabels: z$1.ZodOptional<z$1.ZodObject<{
9718
- completed: z$1.ZodString;
9719
- pending: z$1.ZodString;
9720
- }, z$1.core.$strip>>;
9721
9111
  threadId: z$1.ZodString;
9722
9112
  toolArgs: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>>;
9723
9113
  toolName: z$1.ZodString;
@@ -9744,6 +9134,22 @@ declare const timelineFileChangeWorkRowSchema: z$1.ZodObject<{
9744
9134
  createdAt: z$1.ZodNumber;
9745
9135
  id: z$1.ZodString;
9746
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>>;
9747
9153
  sourceSeqEnd: z$1.ZodNumber;
9748
9154
  sourceSeqStart: z$1.ZodNumber;
9749
9155
  startedAt: z$1.ZodNumber;
@@ -9766,6 +9172,22 @@ declare const timelineWebSearchWorkRowSchema: z$1.ZodObject<{
9766
9172
  createdAt: z$1.ZodNumber;
9767
9173
  id: z$1.ZodString;
9768
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>>;
9769
9191
  queries: z$1.ZodArray<z$1.ZodString>;
9770
9192
  sourceSeqEnd: z$1.ZodNumber;
9771
9193
  sourceSeqStart: z$1.ZodNumber;
@@ -9778,17 +9200,206 @@ declare const timelineWebSearchWorkRowSchema: z$1.ZodObject<{
9778
9200
  }>;
9779
9201
  threadId: z$1.ZodString;
9780
9202
  turnId: z$1.ZodNullable<z$1.ZodString>;
9781
- 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">;
9782
9373
  }, z$1.core.$strip>;
9783
- type TimelineWebSearchWorkRow = z$1.infer<typeof timelineWebSearchWorkRowSchema>;
9784
- 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<{
9785
9381
  callId: z$1.ZodString;
9786
9382
  completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9787
9383
  createdAt: z$1.ZodNumber;
9384
+ explanation: z$1.ZodNullable<z$1.ZodString>;
9788
9385
  id: z$1.ZodString;
9789
9386
  kind: z$1.ZodLiteral<"work">;
9790
- pattern: z$1.ZodNullable<z$1.ZodString>;
9791
- 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>>;
9792
9403
  sourceSeqEnd: z$1.ZodNumber;
9793
9404
  sourceSeqStart: z$1.ZodNumber;
9794
9405
  startedAt: z$1.ZodNumber;
@@ -9798,19 +9409,51 @@ declare const timelineWebFetchWorkRowSchema: z$1.ZodObject<{
9798
9409
  interrupted: "interrupted";
9799
9410
  pending: "pending";
9800
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>>;
9801
9421
  threadId: z$1.ZodString;
9802
9422
  turnId: z$1.ZodNullable<z$1.ZodString>;
9803
- url: z$1.ZodString;
9804
- workKind: z$1.ZodLiteral<"web-fetch">;
9423
+ workKind: z$1.ZodLiteral<"plan-steps">;
9805
9424
  }, z$1.core.$strip>;
9806
- type TimelineWebFetchWorkRow = z$1.infer<typeof timelineWebFetchWorkRowSchema>;
9807
- 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<{
9808
9434
  callId: z$1.ZodString;
9809
9435
  completedAt: z$1.ZodNullable<z$1.ZodNumber>;
9810
9436
  createdAt: z$1.ZodNumber;
9437
+ extensionKind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
9811
9438
  id: z$1.ZodString;
9812
9439
  kind: z$1.ZodLiteral<"work">;
9813
- 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>;
9814
9457
  sourceSeqEnd: z$1.ZodNumber;
9815
9458
  sourceSeqStart: z$1.ZodNumber;
9816
9459
  startedAt: z$1.ZodNumber;
@@ -9822,9 +9465,9 @@ declare const timelineImageViewWorkRowSchema: z$1.ZodObject<{
9822
9465
  }>;
9823
9466
  threadId: z$1.ZodString;
9824
9467
  turnId: z$1.ZodNullable<z$1.ZodString>;
9825
- workKind: z$1.ZodLiteral<"image-view">;
9468
+ workKind: z$1.ZodLiteral<"extension">;
9826
9469
  }, z$1.core.$strip>;
9827
- type TimelineImageViewWorkRow = z$1.infer<typeof timelineImageViewWorkRowSchema>;
9470
+ type TimelineExtensionWorkRow = z$1.infer<typeof timelineExtensionWorkRowSchema>;
9828
9471
  declare const timelineApprovalWorkRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9829
9472
  approvalKind: z$1.ZodLiteral<"file-edit">;
9830
9473
  createdAt: z$1.ZodNumber;
@@ -9929,15 +9572,24 @@ declare const timelineQuestionWorkRowSchema: z$1.ZodObject<{
9929
9572
  workKind: z$1.ZodLiteral<"question">;
9930
9573
  }, z$1.core.$strip>;
9931
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
+ */
9932
9581
  interface TimelineDelegationWorkRow extends TimelineWorkRowBase {
9933
9582
  workKind: "delegation";
9934
9583
  callId: string;
9935
9584
  toolName: string;
9585
+ childRef: string | null;
9586
+ background: boolean;
9936
9587
  subagentType: string | null;
9937
9588
  description: string | null;
9938
9589
  output: string;
9939
9590
  completedAt: number | null;
9940
9591
  childRows: TimelineRow[];
9592
+ presentation?: TimelineRowPresentation;
9941
9593
  }
9942
9594
  /**
9943
9595
  * A provider background task — a dynamic workflow (Claude Code Workflow tool)
@@ -9959,6 +9611,22 @@ declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
9959
9611
  itemId: z$1.ZodString;
9960
9612
  kind: z$1.ZodLiteral<"work">;
9961
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>>;
9962
9630
  sourceSeqEnd: z$1.ZodNumber;
9963
9631
  sourceSeqStart: z$1.ZodNumber;
9964
9632
  startedAt: z$1.ZodNumber;
@@ -10026,7 +9694,7 @@ declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
10026
9694
  workflowName: z$1.ZodNullable<z$1.ZodString>;
10027
9695
  }, z$1.core.$strip>;
10028
9696
  type TimelineWorkflowWorkRow = z$1.infer<typeof timelineWorkflowWorkRowSchema>;
10029
- 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;
10030
9698
  interface TimelineTurnRow extends TimelineRowBase {
10031
9699
  kind: "turn";
10032
9700
  turnId: string;
@@ -11427,7 +11095,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
11427
11095
  }>;
11428
11096
  }, z$1.core.$strip>;
11429
11097
  type ThreadWithIncludesResponse = z$1.infer<typeof threadWithIncludesResponseSchema>;
11430
- 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<{
11431
11099
  createdAt: z$1.ZodNumber;
11432
11100
  expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
11433
11101
  id: z$1.ZodString;
@@ -11437,7 +11105,7 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11437
11105
  providerRequestId: z$1.ZodString;
11438
11106
  providerThreadId: z$1.ZodString;
11439
11107
  }, z$1.core.$strip>>;
11440
- payload: z$1.ZodUnion<readonly [z$1.ZodObject<{
11108
+ payload: z$1.ZodObject<{
11441
11109
  availableDecisions: z$1.ZodArray<z$1.ZodEnum<{
11442
11110
  allow_for_session: "allow_for_session";
11443
11111
  allow_once: "allow_once";
@@ -11529,25 +11197,11 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11529
11197
  }, z$1.core.$strip>;
11530
11198
  tool: z$1.ZodString;
11531
11199
  }, z$1.core.$strip>], "kind">;
11532
- }, z$1.core.$strip>, z$1.ZodObject<{
11533
- kind: z$1.ZodLiteral<"user_question">;
11534
- questions: z$1.ZodArray<z$1.ZodObject<{
11535
- allowFreeText: z$1.ZodBoolean;
11536
- id: z$1.ZodString;
11537
- multiSelect: z$1.ZodBoolean;
11538
- options: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
11539
- description: z$1.ZodOptional<z$1.ZodString>;
11540
- label: z$1.ZodString;
11541
- value: z$1.ZodString;
11542
- }, z$1.core.$strip>>>;
11543
- prompt: z$1.ZodString;
11544
- shortLabel: z$1.ZodOptional<z$1.ZodString>;
11545
- }, z$1.core.$strip>>;
11546
- }, z$1.core.$strip>]>;
11200
+ }, z$1.core.$strip>;
11547
11201
  providerId: z$1.ZodString;
11548
11202
  providerRequestId: z$1.ZodString;
11549
11203
  providerThreadId: z$1.ZodString;
11550
- 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<{
11551
11205
  decision: z$1.ZodLiteral<"allow_once">;
11552
11206
  grantedPermissions: z$1.ZodNullable<z$1.ZodObject<{
11553
11207
  fileSystem: z$1.ZodNullable<z$1.ZodObject<{
@@ -11571,13 +11225,52 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11571
11225
  }, z$1.core.$strict>>;
11572
11226
  }, z$1.core.$strip>, z$1.ZodObject<{
11573
11227
  decision: z$1.ZodLiteral<"deny">;
11574
- }, 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<{
11575
11268
  answers: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
11576
11269
  freeText: z$1.ZodOptional<z$1.ZodString>;
11577
11270
  selected: z$1.ZodArray<z$1.ZodString>;
11578
11271
  }, z$1.core.$strip>>;
11579
11272
  kind: z$1.ZodLiteral<"user_answer">;
11580
- }, z$1.core.$strip>]>>;
11273
+ }, z$1.core.$strip>>;
11581
11274
  resolvedAt: z$1.ZodNullable<z$1.ZodNumber>;
11582
11275
  status: z$1.ZodEnum<{
11583
11276
  interrupted: "interrupted";
@@ -11589,6 +11282,38 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11589
11282
  threadId: z$1.ZodString;
11590
11283
  turnId: z$1.ZodString;
11591
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<{
11592
11317
  createdAt: z$1.ZodNumber;
11593
11318
  expiresAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
11594
11319
  id: z$1.ZodString;
@@ -11898,6 +11623,22 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
11898
11623
  itemId: z$1.ZodString;
11899
11624
  kind: z$1.ZodLiteral<"work">;
11900
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>>;
11901
11642
  sourceSeqEnd: z$1.ZodNumber;
11902
11643
  sourceSeqStart: z$1.ZodNumber;
11903
11644
  startedAt: z$1.ZodNumber;
@@ -11984,6 +11725,22 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
11984
11725
  itemId: z$1.ZodString;
11985
11726
  kind: z$1.ZodLiteral<"work">;
11986
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>>;
11987
11744
  sourceSeqEnd: z$1.ZodNumber;
11988
11745
  sourceSeqStart: z$1.ZodNumber;
11989
11746
  startedAt: z$1.ZodNumber;
@@ -12601,7 +12358,9 @@ interface PluginThreadListProps {
12601
12358
  *
12602
12359
  * @experimental Audit before relying on this as a stable contract.
12603
12360
  */
12604
- 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;
12605
12364
  }
12606
12365
  /**
12607
12366
  * Props passed to an `experimental_threadHeaderAction` component, rendered in
@@ -12652,7 +12411,9 @@ interface PluginFileOpenerProps {
12652
12411
  *
12653
12412
  * @experimental Audit before relying on this as a stable contract.
12654
12413
  */
12655
- 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;
12656
12417
  }
12657
12418
  /** How a code line longer than the viewport is presented. */
12658
12419
  type CodeOverflowMode = "scroll" | "wrap";
@@ -12743,7 +12504,9 @@ interface PluginSourceCodeRendererProps {
12743
12504
  *
12744
12505
  * @experimental Audit before relying on this as a stable contract.
12745
12506
  */
12746
- 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;
12747
12510
  }
12748
12511
  /**
12749
12512
  * Props passed to an `experimental_diffRenderer` component. `patch` is always
@@ -12770,7 +12533,9 @@ interface PluginDiffRendererProps {
12770
12533
  *
12771
12534
  * @experimental Audit before relying on this as a stable contract.
12772
12535
  */
12773
- 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;
12774
12539
  }
12775
12540
  /**
12776
12541
  * Message context passed to a `messageDirective` component — the assistant
@@ -12844,7 +12609,7 @@ type ExperimentalPluginFixedTabReference<Target extends JsonValue = never> = {
12844
12609
  readonly experimental_target: ExperimentalFixedTabTargetContract<Target>;
12845
12610
  });
12846
12611
  /** A fixed tab declared by a plugin nav panel. */
12847
- type ExperimentalPluginFixedTabRegistration<Target extends JsonValue = never> = ExperimentalPluginFixedTabReference<Target> & {
12612
+ type PluginFixedTabRegistration<Target extends JsonValue = never> = ExperimentalPluginFixedTabReference<Target> & {
12848
12613
  title: string;
12849
12614
  /** Icon hint (BB icon name); unknown names fall back to a generic icon. */
12850
12615
  icon: string;
@@ -12853,7 +12618,7 @@ type ExperimentalPluginFixedTabRegistration<Target extends JsonValue = never> =
12853
12618
  layout?: "flush" | "padded";
12854
12619
  };
12855
12620
  /** A fixed tab with either no target or an owner-validated JSON target. */
12856
- type ExperimentalPluginFixedTabDeclaration = ExperimentalPluginFixedTabRegistration | ExperimentalPluginFixedTabRegistration<JsonValue>;
12621
+ type PluginFixedTabDeclaration = PluginFixedTabRegistration | PluginFixedTabRegistration<JsonValue>;
12857
12622
  interface PluginNavPanelRegistration {
12858
12623
  /** Unique within the plugin; letters, digits, `-`, `_`. */
12859
12624
  id: string;
@@ -12873,7 +12638,7 @@ interface PluginNavPanelRegistration {
12873
12638
  *
12874
12639
  * Experimental: see docs/api_to_audit.md.
12875
12640
  */
12876
- experimental_fixedTabs?: readonly ExperimentalPluginFixedTabDeclaration[];
12641
+ fixedTabs?: readonly PluginFixedTabDeclaration[];
12877
12642
  /**
12878
12643
  * Optional presentational component rendered at the trailing edge of this
12879
12644
  * panel's sidebar row. It receives no props so it can own a narrow live
@@ -12995,7 +12760,17 @@ interface PluginNewThreadPanelActionRegistration {
12995
12760
  run?(context: PluginNewThreadPanelActionContext): void | Promise<void>;
12996
12761
  }
12997
12762
  interface PluginPendingInteractionRegistration {
12998
- /** 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
+ */
12999
12774
  id: string;
13000
12775
  component: ComponentType<PluginPendingInteractionProps>;
13001
12776
  }
@@ -13267,7 +13042,7 @@ interface PluginSidebarThreadSplit {
13267
13042
  * enabled. If multiple plugins register one, the first in deterministic slot
13268
13043
  * order is active by default; removing it reveals the next. The user can pin
13269
13044
  * BB's list or a specific provider under Settings → Appearance. A plugin can
13270
- * also use its own setting and render `experimental_Original` conditionally.
13045
+ * also use its own setting and render `Original` conditionally.
13271
13046
  * An absent or crashing replacement falls back to BB's list rather than
13272
13047
  * leaving the user with no sidebar.
13273
13048
  *
@@ -13291,7 +13066,7 @@ interface PluginThreadListRegistration {
13291
13066
  * order. The user can pin BB's preview or a specific opener per extension
13292
13067
  * under Settings → Files. The file tab's "Open with" menu can override that
13293
13068
  * choice for one open. A plugin can also use its own setting and render
13294
- * `experimental_Original` conditionally. Applies to working-tree, host, and
13069
+ * `Original` conditionally. Applies to working-tree, host, and
13295
13070
  * thread-storage files — never to git-ref snapshots (diff views always use
13296
13071
  * BB's preview).
13297
13072
  */
@@ -13311,7 +13086,7 @@ interface PluginFileOpenerRegistration {
13311
13086
  * **exclusive**: one renderer at a time. Registering activates it while the
13312
13087
  * plugin is enabled; if several are registered the first in deterministic slot
13313
13088
  * order wins. A missing, disabled, or crashing replacement falls back to BB's
13314
- * renderer, and a replacement can render `experimental_Original` to delegate
13089
+ * renderer, and a replacement can render `Original` to delegate
13315
13090
  * per call (behind its own setting, by language, by size — whatever it needs).
13316
13091
  */
13317
13092
  interface PluginSourceCodeRendererRegistration {
@@ -13327,7 +13102,7 @@ interface PluginSourceCodeRendererRegistration {
13327
13102
  * Replace BB's diff renderer everywhere it renders supplied diff content — the
13328
13103
  * timeline file diffs, the environment diff panel's text bodies, and every
13329
13104
  * plugin that calls `experimental_Diff`. Exclusive, with the same activation,
13330
- * fallback, and `experimental_Original` delegation rules as
13105
+ * fallback, and `Original` delegation rules as
13331
13106
  * {@link PluginSourceCodeRendererRegistration}.
13332
13107
  */
13333
13108
  interface PluginDiffRendererRegistration {
@@ -13481,6 +13256,94 @@ interface PluginProviderIconRegistration {
13481
13256
  className?: string;
13482
13257
  }>;
13483
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
+ }
13484
13347
  interface PluginAppSlots {
13485
13348
  homepageSection(registration: PluginHomepageSectionRegistration): void;
13486
13349
  settingsSection(registration: PluginSettingsSectionRegistration): void;
@@ -13537,6 +13400,13 @@ interface PluginAppSlots {
13537
13400
  * docs/api_to_audit.md.
13538
13401
  */
13539
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;
13540
13410
  }
13541
13411
  interface PluginAppComposer {
13542
13412
  customize(registration: ComposerCustomization): void;
@@ -14065,7 +13935,7 @@ interface MarkdownProps {
14065
13935
  * supplied `rel` tokens and receive safe defaults unless `opener` is explicit.
14066
13936
  * Experimental: see docs/api_to_audit.md.
14067
13937
  */
14068
- interface ExperimentalUrlLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href"> {
13938
+ interface UrlLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href"> {
14069
13939
  href: string;
14070
13940
  }
14071
13941
  /** A live file whose identity is complete without ambient route context. */
@@ -14169,7 +14039,7 @@ interface BbNavigate {
14169
14039
  * false for schemes the host does not own. Experimental: see
14170
14040
  * docs/api_to_audit.md.
14171
14041
  */
14172
- experimental_openUrl(url: string): boolean;
14042
+ openUrl(url: string): boolean;
14173
14043
  /** Open a live file in this surface's shared BB preview panel. */
14174
14044
  experimental_openFilePreview(options: ExperimentalFileOpenOptions): boolean;
14175
14045
  /** Open a live file in this client's preferred external file target. */
@@ -14259,7 +14129,7 @@ interface PluginSdkApp {
14259
14129
  * A real anchor whose ordinary HTTP(S) activation uses BB's URL preference.
14260
14130
  * Experimental: see docs/api_to_audit.md.
14261
14131
  */
14262
- experimental_UrlLink: ComponentType<ExperimentalUrlLinkProps>;
14132
+ UrlLink: ComponentType<UrlLinkProps>;
14263
14133
  /** Host-rendered live-file link backed by the shared navigation controller. */
14264
14134
  experimental_FileLink: ComponentType<ExperimentalFileLinkProps>;
14265
14135
  /**
@@ -15762,6 +15632,11 @@ type PluginSettingDescriptor = {
15762
15632
  description?: string;
15763
15633
  /** Stored in a 0600 file under <dataDir>/plugins/<id>/secrets/, never in the db or sent to the frontend. */
15764
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;
15765
15640
  default?: string;
15766
15641
  } | {
15767
15642
  type: "boolean";
@@ -16016,11 +15891,10 @@ interface PluginAgentToolContext {
16016
15891
  signal: AbortSignal;
16017
15892
  }
16018
15893
  /**
16019
- * Native timeline labels for a plugin tool, keyed by BB's own timeline row
16020
- * status. This is experimental: BB may refine its presentation contract
16021
- * 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.
16022
15896
  */
16023
- interface PluginAgentToolExperimentalStatusLabels {
15897
+ interface PluginAgentToolLabels {
16024
15898
  /** Label shown while the tool call is pending. */
16025
15899
  pending: string;
16026
15900
  /** Label shown after the tool call completes successfully. */
@@ -16029,14 +15903,20 @@ interface PluginAgentToolExperimentalStatusLabels {
16029
15903
  /**
16030
15904
  * How calls to a native plugin tool read as a timeline row (grammar v3). Every
16031
15905
  * field is optional at registration: the server fills what the plugin leaves
16032
- * out (the `experimental_statusLabels` pair as the label, then a generic
16033
- * label; the plugin's branding glyph, then `Toolbox`) and hands one complete
16034
- * 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.
16035
15909
  */
16036
15910
  interface PluginAgentToolPresentation {
16037
15911
  /** Row title while the call is pending and once it settled. */
16038
- label?: PluginAgentToolExperimentalStatusLabels;
16039
- /** 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
+ */
16040
15920
  icon?: {
16041
15921
  glyph: string;
16042
15922
  };
@@ -16062,18 +15942,12 @@ interface PluginAgentToolRegistrationBase {
16062
15942
  */
16063
15943
  instructions?: string;
16064
15944
  /**
16065
- * Optional native timeline labels. When omitted, BB shows the standard
16066
- * tool name and arguments (for example, `Ran tool search_docs …`). Labels
16067
- * apply only while the call is pending and after successful completion;
16068
- * 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.
16069
15949
  */
16070
- experimental_statusLabels?: PluginAgentToolExperimentalStatusLabels;
16071
- /**
16072
- * How calls to this tool read as a timeline row (grammar v3). Supersedes
16073
- * `experimental_statusLabels`, which still supplies the label when this
16074
- * field omits one. See docs/api_to_audit.md.
16075
- */
16076
- experimental_presentation?: PluginAgentToolPresentation;
15950
+ presentation?: PluginAgentToolPresentation;
16077
15951
  }
16078
15952
  /** Stable, plain-data context resolved by the server for one agent session. */
16079
15953
  interface PluginAgentConfigurationContext {
@@ -16182,17 +16056,6 @@ type PluginProviderComposerAction = "goal" | "plan";
16182
16056
  * starting the bridge first.
16183
16057
  */
16184
16058
  interface PluginProviderCapabilities {
16185
- /** The provider bridge implements the sessionless `provider/health`
16186
- * request. This is host-local readiness, not a network health check. */
16187
- experimental_providerHealth: boolean;
16188
- /** The provider exposes subscription usage through the sessionless
16189
- * `provider/usage` request. False means callers skip the request and usage
16190
- * settings omit the provider. A shared bridge that declares true may still
16191
- * report usage unavailable for one provider id or return no windows. */
16192
- experimental_providerUsage: boolean;
16193
- /** The provider bridge implements `provider/installation/status` and
16194
- * `provider/installation/run` for host-local installation management. */
16195
- experimental_providerInstallation: boolean;
16196
16059
  /** The provider accepts a fast/priority service-tier choice — shows the
16197
16060
  * service-tier toggle in the picker. */
16198
16061
  supportsServiceTier: boolean;
@@ -16272,7 +16135,7 @@ interface PluginProviderExtensionKindDeclaration {
16272
16135
  }
16273
16136
  /**
16274
16137
  * Per-command context handed to
16275
- * {@link PluginProviderDeclaration.experimental_deriveProviderOptions}. The
16138
+ * {@link PluginProviderDeclaration.deriveProviderOptions}. The
16276
16139
  * server builds one for every session and turn command it dispatches on a
16277
16140
  * thread of this provider.
16278
16141
  */
@@ -16298,6 +16161,8 @@ interface PluginProviderOptionsContext {
16298
16161
  */
16299
16162
  settings: Readonly<Record<string, PluginSettingValue | undefined>>;
16300
16163
  }
16164
+ /** See {@link PluginProviderDeclaration.models}. */
16165
+ type PluginProviderModelCatalogScope = "host" | "workspace";
16301
16166
  /**
16302
16167
  * One cold-cache fallback model. The provider's live `model/list` result is
16303
16168
  * the only real model source; this list stands in only while no probe has
@@ -16319,6 +16184,26 @@ interface PluginProviderFallbackModel {
16319
16184
  /** Exactly one entry in the list is the default. */
16320
16185
  isDefault: boolean;
16321
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;
16322
16207
  /**
16323
16208
  * One provider this plugin contributes to BB's provider registry.
16324
16209
  *
@@ -16329,10 +16214,14 @@ interface PluginProviderFallbackModel {
16329
16214
  * reload, like every other plugin surface.
16330
16215
  *
16331
16216
  * A declaration owns the provider's static metadata and bridge options. The
16332
- * executable implementation is the plugin's own provider bridge, named by
16333
- * `bb.providerBridge` in the manifest and built into the artifact BB ships to
16334
- * hosts declaring a provider without one is refused, because the picker
16335
- * 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.
16336
16225
  */
16337
16226
  interface PluginProviderDeclaration {
16338
16227
  /** Stable provider id: 2–64 characters of lowercase letters, digits, and
@@ -16346,11 +16235,15 @@ interface PluginProviderDeclaration {
16346
16235
  * family — the ACP agents, for example — so clients can group them without
16347
16236
  * parsing a prefix out of the id. Grouping only: no policy keys on it.
16348
16237
  */
16349
- experimental_family?: string;
16238
+ family?: string;
16350
16239
  /**
16351
- * Optional picker icon, in the same grammar as `bb.branding.icon`: either a
16352
- * named host glyph (`"Zap"`) or a plugin-relative path starting with `"./"`
16353
- * (`"./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
16354
16247
  * — no leading "/", no ".." segments, no backslashes.
16355
16248
  */
16356
16249
  icon?: string;
@@ -16367,6 +16260,11 @@ interface PluginProviderDeclaration {
16367
16260
  * bridge reports it installed. Defaults to `"always"`.
16368
16261
  */
16369
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;
16370
16268
  /** Pre-session capability facts (see the declaration tests on
16371
16269
  * {@link PluginProviderCapabilities}). */
16372
16270
  capabilities: PluginProviderCapabilities;
@@ -16374,27 +16272,44 @@ interface PluginProviderDeclaration {
16374
16272
  * (the universal skills typeahead is implicit). */
16375
16273
  composerActions: readonly PluginProviderComposerAction[];
16376
16274
  /** Provider copy for core surfaces ({@link PluginProviderStrings}). */
16377
- experimental_strings?: PluginProviderStrings;
16275
+ strings?: PluginProviderStrings;
16378
16276
  /** Service tiers this provider accepts, as picker options. Non-empty when
16379
16277
  * present, unique ids. The coarse `capabilities.supportsServiceTier` stays
16380
16278
  * until WS2a stabilizes. */
16381
- experimental_serviceTiers?: readonly PluginProviderOptionDescriptor[];
16279
+ serviceTiers?: readonly PluginProviderOptionDescriptor[];
16382
16280
  /** Reasoning levels as picker options with labels, beside the coarse
16383
16281
  * `capabilities.reasoningLevels` ladder (ids only). Non-empty when present,
16384
16282
  * unique ids. WS2a merges the two. */
16385
- experimental_reasoningLevels?: readonly PluginProviderOptionDescriptor[];
16283
+ reasoningLevels?: readonly PluginProviderOptionDescriptor[];
16386
16284
  /** Extension kinds this provider's bridge may emit, keyed by local name
16387
16285
  * (`[a-z0-9-]+`). The server validates extension payloads against these
16388
16286
  * schemas at ingest and persists a `provider/unhandled` on a miss. */
16389
- experimental_extensionKinds?: Readonly<Record<string, PluginProviderExtensionKindDeclaration>>;
16287
+ extensionKinds?: Readonly<Record<string, PluginProviderExtensionKindDeclaration>>;
16390
16288
  /**
16391
16289
  * Cold-cache fallback models ({@link PluginProviderFallbackModel}). The
16392
16290
  * server offers them only while a model probe has not completed or failed
16393
16291
  * transiently; the live `model/list` result always replaces them. Ids must
16394
16292
  * be unique and exactly one entry must be the default.
16395
16293
  */
16396
- experimental_models?: {
16397
- 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;
16398
16313
  };
16399
16314
  /**
16400
16315
  * Daemon environment variables this provider's bridge may read. Provider
@@ -16403,9 +16318,38 @@ interface PluginProviderDeclaration {
16403
16318
  * and the daemon forwards exactly those variables. Names are
16404
16319
  * `[A-Z_][A-Z0-9_]*`, at most 32.
16405
16320
  */
16406
- experimental_env?: {
16321
+ env?: {
16407
16322
  passthrough: readonly string[];
16408
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;
16409
16353
  /**
16410
16354
  * Derive this provider's opaque per-command options. Called synchronously
16411
16355
  * by the server for every session and turn command on a thread of this
@@ -16418,7 +16362,7 @@ interface PluginProviderDeclaration {
16418
16362
  * a buggy hook cannot silently run a turn with default knobs. Must be fast:
16419
16363
  * it sits on the turn-submit path.
16420
16364
  */
16421
- experimental_deriveProviderOptions?: (context: PluginProviderOptionsContext) => Readonly<Record<string, JsonValue>>;
16365
+ deriveProviderOptions?: (context: PluginProviderOptionsContext) => Readonly<Record<string, JsonValue>>;
16422
16366
  }
16423
16367
  interface PluginAgents {
16424
16368
  /**
@@ -16478,15 +16422,6 @@ interface PluginAgents {
16478
16422
  threadId: string;
16479
16423
  projectId: string;
16480
16424
  }) => string | null): void;
16481
- /**
16482
- * The original registration entry point, kept as an alias of
16483
- * {@link PluginProviders.register} (`bb.providers.register`) so plugins
16484
- * compiled against it keep loading. New code registers through
16485
- * `bb.providers`; this alias goes when the surface stabilizes.
16486
- */
16487
- experimental_registerProvider(declaration: PluginProviderDeclaration): {
16488
- dispose(): void;
16489
- };
16490
16425
  }
16491
16426
  /**
16492
16427
  * Provider registration (docs/provider-plugin-api.md §1). Owns only
@@ -16589,6 +16524,51 @@ interface PluginServerApi {
16589
16524
  * reading it from handlers, services, and timers.
16590
16525
  */
16591
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
+ };
16592
16572
  }
16593
16573
  interface PluginSharedPortTunnelIdentity {
16594
16574
  /** Gate routing label assigned to this machine. */
@@ -16664,6 +16644,11 @@ interface BbPluginApi {
16664
16644
  readonly server: PluginServerApi;
16665
16645
  /** Server-to-daemon host control-plane declarations. */
16666
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;
16667
16652
  /**
16668
16653
  * The full BB SDK, bound to this server over loopback (design §4.1).
16669
16654
  * Bind-gated: reading this before the host binds the SDK throws. The real
@@ -16682,4 +16667,4 @@ interface BbPluginApi {
16682
16667
  }
16683
16668
 
16684
16669
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
16685
- 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 };