@get-bb/plugin-sdk 0.6.80 → 0.6.90

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.
@@ -146,7 +146,7 @@ declare const uiPreferenceDefinitions: {
146
146
  readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
147
147
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
148
148
  readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
149
- readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
149
+ readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
150
150
  };
151
151
  type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
152
152
  interface UiPreferenceEntry<Key extends UiPreferenceKey = UiPreferenceKey> {
@@ -165,7 +165,6 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
165
165
  "browser.reload": "browser.reload";
166
166
  "composer.focus": "composer.focus";
167
167
  "dataDirectory.open": "dataDirectory.open";
168
- "diff.toggle": "diff.toggle";
169
168
  "file.quickOpen": "file.quickOpen";
170
169
  "history.back": "history.back";
171
170
  "history.forward": "history.forward";
@@ -230,8 +229,10 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
230
229
  "thread.jump.7": "thread.jump.7";
231
230
  "thread.jump.8": "thread.jump.8";
232
231
  "thread.jump.9": "thread.jump.9";
232
+ "thread.markRead": "thread.markRead";
233
233
  "thread.new": "thread.new";
234
234
  "thread.next": "thread.next";
235
+ "thread.pin": "thread.pin";
235
236
  "thread.previous": "thread.previous";
236
237
  "thread.rename": "thread.rename";
237
238
  "thread.search": "thread.search";
@@ -388,6 +389,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
388
389
  changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
389
390
  "host-connected": "host-connected";
390
391
  "host-disconnected": "host-disconnected";
392
+ "provider-commands-changed": "provider-commands-changed";
391
393
  "provider-model-catalog-changed": "provider-model-catalog-changed";
392
394
  }>>>;
393
395
  entity: z$1.ZodLiteral<"host">;
@@ -500,21 +502,27 @@ declare const environmentSchema: z$1.ZodObject<{
500
502
  type Environment = z$1.infer<typeof environmentSchema>;
501
503
 
502
504
  declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
505
+ applicationLinks: "applicationLinks";
503
506
  changelogPreview: "changelogPreview";
504
507
  compactExpiredCache: "compactExpiredCache";
505
508
  performanceDiagnostics: "performanceDiagnostics";
506
509
  serverMove: "serverMove";
507
510
  sidebarMultiSelect: "sidebarMultiSelect";
508
511
  timelinePush: "timelinePush";
512
+ unreadDividerAtAnswer: "unreadDividerAtAnswer";
513
+ websocketCompression: "websocketCompression";
509
514
  }>, z$1.ZodBoolean>;
510
515
  type Experiments = z$1.infer<typeof experimentsSchema>;
511
516
  declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
517
+ applicationLinks: "applicationLinks";
512
518
  changelogPreview: "changelogPreview";
513
519
  compactExpiredCache: "compactExpiredCache";
514
520
  performanceDiagnostics: "performanceDiagnostics";
515
521
  serverMove: "serverMove";
516
522
  sidebarMultiSelect: "sidebarMultiSelect";
517
523
  timelinePush: "timelinePush";
524
+ unreadDividerAtAnswer: "unreadDividerAtAnswer";
525
+ websocketCompression: "websocketCompression";
518
526
  }> & z$1.core.$partial, z$1.ZodBoolean>;
519
527
  type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
520
528
 
@@ -5492,31 +5500,6 @@ declare const environmentPathsQuerySchema: z$1.ZodObject<{
5492
5500
  query: z$1.ZodOptional<z$1.ZodString>;
5493
5501
  }, z$1.core.$strip>;
5494
5502
  type EnvironmentPathsQuery = z$1.infer<typeof environmentPathsQuerySchema>;
5495
- declare const environmentDiffBranchesQuerySchema: z$1.ZodObject<{
5496
- limit: z$1.ZodOptional<z$1.ZodString>;
5497
- query: z$1.ZodOptional<z$1.ZodString>;
5498
- selectedBranch: z$1.ZodOptional<z$1.ZodString>;
5499
- }, z$1.core.$strip>;
5500
- type EnvironmentDiffBranchesQuery = z$1.infer<typeof environmentDiffBranchesQuerySchema>;
5501
- declare const environmentDiffBranchesResponseSchema: z$1.ZodObject<{
5502
- branches: z$1.ZodArray<z$1.ZodString>;
5503
- branchesTruncated: z$1.ZodBoolean;
5504
- remoteBranches: z$1.ZodArray<z$1.ZodString>;
5505
- remoteBranchesTruncated: z$1.ZodBoolean;
5506
- selectedBranch: z$1.ZodNullable<z$1.ZodObject<{
5507
- kind: z$1.ZodEnum<{
5508
- local: "local";
5509
- missing: "missing";
5510
- remote: "remote";
5511
- }>;
5512
- name: z$1.ZodString;
5513
- }, z$1.core.$strip>>;
5514
- }, z$1.core.$strip>;
5515
- type EnvironmentDiffBranchesResponse = z$1.infer<typeof environmentDiffBranchesResponseSchema>;
5516
- declare const environmentStatusQuerySchema: z$1.ZodObject<{
5517
- mergeBaseBranch: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodString>>;
5518
- }, z$1.core.$strip>;
5519
- type EnvironmentStatusQuery = z$1.infer<typeof environmentStatusQuerySchema>;
5520
5503
  declare const environmentDiffQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5521
5504
  target: z$1.ZodLiteral<"uncommitted">;
5522
5505
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -5530,50 +5513,6 @@ declare const environmentDiffQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
5530
5513
  target: z$1.ZodLiteral<"commit">;
5531
5514
  }, z$1.core.$strip>], "target">;
5532
5515
  type EnvironmentDiffQuery = z$1.infer<typeof environmentDiffQuerySchema>;
5533
- declare const environmentDiffFileQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5534
- path: z$1.ZodString;
5535
- side: z$1.ZodEnum<{
5536
- new: "new";
5537
- old: "old";
5538
- }>;
5539
- target: z$1.ZodLiteral<"uncommitted">;
5540
- }, z$1.core.$strip>, z$1.ZodObject<{
5541
- mergeBaseRef: z$1.ZodString;
5542
- path: z$1.ZodString;
5543
- side: z$1.ZodEnum<{
5544
- new: "new";
5545
- old: "old";
5546
- }>;
5547
- target: z$1.ZodLiteral<"branch_committed">;
5548
- }, z$1.core.$strip>, z$1.ZodObject<{
5549
- mergeBaseRef: z$1.ZodString;
5550
- path: z$1.ZodString;
5551
- side: z$1.ZodEnum<{
5552
- new: "new";
5553
- old: "old";
5554
- }>;
5555
- target: z$1.ZodLiteral<"all">;
5556
- }, z$1.core.$strip>, z$1.ZodObject<{
5557
- path: z$1.ZodString;
5558
- sha: z$1.ZodString;
5559
- side: z$1.ZodEnum<{
5560
- new: "new";
5561
- old: "old";
5562
- }>;
5563
- target: z$1.ZodLiteral<"commit">;
5564
- }, z$1.core.$strip>], "target">;
5565
- type EnvironmentDiffFileQuery = z$1.infer<typeof environmentDiffFileQuerySchema>;
5566
- declare const environmentDiffFileResponseSchema: z$1.ZodObject<{
5567
- content: z$1.ZodString;
5568
- contentEncoding: z$1.ZodEnum<{
5569
- base64: "base64";
5570
- utf8: "utf8";
5571
- }>;
5572
- mimeType: z$1.ZodOptional<z$1.ZodString>;
5573
- path: z$1.ZodString;
5574
- sizeBytes: z$1.ZodNumber;
5575
- }, z$1.core.$strip>;
5576
- type EnvironmentDiffFileResponse = z$1.infer<typeof environmentDiffFileResponseSchema>;
5577
5516
  declare const environmentArchiveThreadsResponseSchema: z$1.ZodObject<{
5578
5517
  archivedThreadIds: z$1.ZodArray<z$1.ZodString>;
5579
5518
  ok: z$1.ZodLiteral<true>;
@@ -5587,246 +5526,6 @@ declare const commitActionResponseSchema: z$1.ZodObject<{
5587
5526
  ok: z$1.ZodLiteral<true>;
5588
5527
  }, z$1.core.$strip>;
5589
5528
  type CommitActionResponse = z$1.infer<typeof commitActionResponseSchema>;
5590
- declare const environmentStatusResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5591
- outcome: z$1.ZodLiteral<"available">;
5592
- workspace: z$1.ZodObject<{
5593
- branch: z$1.ZodObject<{
5594
- currentBranch: z$1.ZodNullable<z$1.ZodString>;
5595
- defaultBranch: z$1.ZodString;
5596
- }, z$1.core.$strip>;
5597
- checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5598
- branchName: z$1.ZodString;
5599
- headSha: z$1.ZodNullable<z$1.ZodString>;
5600
- kind: z$1.ZodLiteral<"branch">;
5601
- }, z$1.core.$strip>, z$1.ZodObject<{
5602
- headSha: z$1.ZodNullable<z$1.ZodString>;
5603
- kind: z$1.ZodLiteral<"detached">;
5604
- }, z$1.core.$strip>, z$1.ZodObject<{
5605
- branchName: z$1.ZodNullable<z$1.ZodString>;
5606
- kind: z$1.ZodLiteral<"unborn">;
5607
- }, z$1.core.$strip>, z$1.ZodObject<{
5608
- kind: z$1.ZodLiteral<"unknown">;
5609
- reason: z$1.ZodString;
5610
- }, z$1.core.$strip>], "kind">;
5611
- mergeBase: z$1.ZodNullable<z$1.ZodObject<{
5612
- aheadCount: z$1.ZodNumber;
5613
- baseRef: z$1.ZodNullable<z$1.ZodString>;
5614
- behindCount: z$1.ZodNumber;
5615
- commits: z$1.ZodArray<z$1.ZodObject<{
5616
- authorName: z$1.ZodString;
5617
- authoredAt: z$1.ZodNumber;
5618
- sha: z$1.ZodString;
5619
- shortSha: z$1.ZodString;
5620
- subject: z$1.ZodString;
5621
- }, z$1.core.$strip>>;
5622
- deletions: z$1.ZodNumber;
5623
- fileCount: z$1.ZodNumber;
5624
- files: z$1.ZodArray<z$1.ZodObject<{
5625
- deletions: z$1.ZodNullable<z$1.ZodNumber>;
5626
- insertions: z$1.ZodNullable<z$1.ZodNumber>;
5627
- path: z$1.ZodString;
5628
- status: z$1.ZodEnum<{
5629
- "?": "?";
5630
- "??": "??";
5631
- A: "A";
5632
- C: "C";
5633
- D: "D";
5634
- M: "M";
5635
- R: "R";
5636
- U: "U";
5637
- }>;
5638
- }, z$1.core.$strip>>;
5639
- hasCommittedUnmergedChanges: z$1.ZodBoolean;
5640
- insertions: z$1.ZodNumber;
5641
- lineStatsComplete: z$1.ZodBoolean;
5642
- mergeBaseBranch: z$1.ZodString;
5643
- squashMergeCheckComplete: z$1.ZodBoolean;
5644
- }, z$1.core.$strip>>;
5645
- workingTree: z$1.ZodObject<{
5646
- deletions: z$1.ZodNumber;
5647
- fileCount: z$1.ZodNumber;
5648
- files: z$1.ZodArray<z$1.ZodObject<{
5649
- deletions: z$1.ZodNullable<z$1.ZodNumber>;
5650
- insertions: z$1.ZodNullable<z$1.ZodNumber>;
5651
- path: z$1.ZodString;
5652
- status: z$1.ZodEnum<{
5653
- "?": "?";
5654
- "??": "??";
5655
- A: "A";
5656
- C: "C";
5657
- D: "D";
5658
- M: "M";
5659
- R: "R";
5660
- U: "U";
5661
- }>;
5662
- }, z$1.core.$strip>>;
5663
- hasUncommittedChanges: z$1.ZodBoolean;
5664
- insertions: z$1.ZodNumber;
5665
- lineStatsComplete: z$1.ZodBoolean;
5666
- state: z$1.ZodEnum<{
5667
- clean: "clean";
5668
- committed_unmerged: "committed_unmerged";
5669
- dirty_and_committed_unmerged: "dirty_and_committed_unmerged";
5670
- dirty_uncommitted: "dirty_uncommitted";
5671
- untracked: "untracked";
5672
- }>;
5673
- }, z$1.core.$strip>;
5674
- }, z$1.core.$strip>;
5675
- }, z$1.core.$strict>, z$1.ZodObject<{
5676
- message: z$1.ZodString;
5677
- outcome: z$1.ZodLiteral<"not_applicable">;
5678
- reason: z$1.ZodEnum<{
5679
- non_git_environment: "non_git_environment";
5680
- }>;
5681
- }, z$1.core.$strict>, z$1.ZodObject<{
5682
- failure: z$1.ZodObject<{
5683
- code: z$1.ZodEnum<{
5684
- not_git_repo: "not_git_repo";
5685
- path_not_found: "path_not_found";
5686
- permission_denied: "permission_denied";
5687
- unknown: "unknown";
5688
- unknown_environment: "unknown_environment";
5689
- workspace_type_mismatch: "workspace_type_mismatch";
5690
- }>;
5691
- message: z$1.ZodString;
5692
- workspacePath: z$1.ZodString;
5693
- }, z$1.core.$strict>;
5694
- outcome: z$1.ZodLiteral<"unavailable">;
5695
- }, z$1.core.$strict>], "outcome">;
5696
- declare const environmentDiffResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5697
- diff: z$1.ZodObject<{
5698
- diff: z$1.ZodString;
5699
- files: z$1.ZodString;
5700
- mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
5701
- shortstat: z$1.ZodString;
5702
- truncated: z$1.ZodBoolean;
5703
- }, z$1.core.$strip>;
5704
- outcome: z$1.ZodLiteral<"available">;
5705
- }, z$1.core.$strict>, z$1.ZodObject<{
5706
- message: z$1.ZodString;
5707
- outcome: z$1.ZodLiteral<"not_applicable">;
5708
- reason: z$1.ZodEnum<{
5709
- non_git_environment: "non_git_environment";
5710
- }>;
5711
- }, z$1.core.$strict>, z$1.ZodObject<{
5712
- failure: z$1.ZodObject<{
5713
- code: z$1.ZodEnum<{
5714
- not_git_repo: "not_git_repo";
5715
- path_not_found: "path_not_found";
5716
- permission_denied: "permission_denied";
5717
- unknown: "unknown";
5718
- unknown_environment: "unknown_environment";
5719
- workspace_type_mismatch: "workspace_type_mismatch";
5720
- }>;
5721
- message: z$1.ZodString;
5722
- workspacePath: z$1.ZodString;
5723
- }, z$1.core.$strict>;
5724
- outcome: z$1.ZodLiteral<"unavailable">;
5725
- }, z$1.core.$strict>], "outcome">;
5726
- type EnvironmentDiffResponse = z$1.infer<typeof environmentDiffResponseSchema>;
5727
- declare const environmentDiffFilesResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5728
- files: z$1.ZodArray<z$1.ZodObject<{
5729
- additions: z$1.ZodNumber;
5730
- binary: z$1.ZodBoolean;
5731
- changeKind: z$1.ZodEnum<{
5732
- added: "added";
5733
- copied: "copied";
5734
- deleted: "deleted";
5735
- modified: "modified";
5736
- renamed: "renamed";
5737
- type_changed: "type_changed";
5738
- }>;
5739
- deletions: z$1.ZodNumber;
5740
- loadMode: z$1.ZodEnum<{
5741
- auto: "auto";
5742
- on_demand: "on_demand";
5743
- too_large: "too_large";
5744
- }>;
5745
- origin: z$1.ZodEnum<{
5746
- tracked: "tracked";
5747
- untracked: "untracked";
5748
- }>;
5749
- path: z$1.ZodString;
5750
- previousPath: z$1.ZodNullable<z$1.ZodString>;
5751
- revision: z$1.ZodString;
5752
- }, z$1.core.$strip>>;
5753
- initialPatches: z$1.ZodArray<z$1.ZodObject<{
5754
- patch: z$1.ZodString;
5755
- path: z$1.ZodString;
5756
- truncated: z$1.ZodBoolean;
5757
- }, z$1.core.$strip>>;
5758
- mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
5759
- outcome: z$1.ZodLiteral<"available">;
5760
- shortstat: z$1.ZodString;
5761
- truncated: z$1.ZodBoolean;
5762
- }, z$1.core.$strict>, z$1.ZodObject<{
5763
- message: z$1.ZodString;
5764
- outcome: z$1.ZodLiteral<"not_applicable">;
5765
- reason: z$1.ZodEnum<{
5766
- non_git_environment: "non_git_environment";
5767
- }>;
5768
- }, z$1.core.$strict>, z$1.ZodObject<{
5769
- failure: z$1.ZodObject<{
5770
- code: z$1.ZodEnum<{
5771
- not_git_repo: "not_git_repo";
5772
- path_not_found: "path_not_found";
5773
- permission_denied: "permission_denied";
5774
- unknown: "unknown";
5775
- unknown_environment: "unknown_environment";
5776
- workspace_type_mismatch: "workspace_type_mismatch";
5777
- }>;
5778
- message: z$1.ZodString;
5779
- workspacePath: z$1.ZodString;
5780
- }, z$1.core.$strict>;
5781
- outcome: z$1.ZodLiteral<"unavailable">;
5782
- }, z$1.core.$strict>], "outcome">;
5783
- type EnvironmentDiffFilesResponse = z$1.infer<typeof environmentDiffFilesResponseSchema>;
5784
- declare const environmentDiffPatchResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5785
- outcome: z$1.ZodLiteral<"available">;
5786
- patches: z$1.ZodArray<z$1.ZodObject<{
5787
- patch: z$1.ZodString;
5788
- path: z$1.ZodString;
5789
- truncated: z$1.ZodBoolean;
5790
- }, z$1.core.$strip>>;
5791
- }, z$1.core.$strict>, z$1.ZodObject<{
5792
- message: z$1.ZodString;
5793
- outcome: z$1.ZodLiteral<"not_applicable">;
5794
- reason: z$1.ZodEnum<{
5795
- non_git_environment: "non_git_environment";
5796
- }>;
5797
- }, z$1.core.$strict>, z$1.ZodObject<{
5798
- failure: z$1.ZodObject<{
5799
- code: z$1.ZodEnum<{
5800
- not_git_repo: "not_git_repo";
5801
- path_not_found: "path_not_found";
5802
- permission_denied: "permission_denied";
5803
- unknown: "unknown";
5804
- unknown_environment: "unknown_environment";
5805
- workspace_type_mismatch: "workspace_type_mismatch";
5806
- }>;
5807
- message: z$1.ZodString;
5808
- workspacePath: z$1.ZodString;
5809
- }, z$1.core.$strict>;
5810
- outcome: z$1.ZodLiteral<"unavailable">;
5811
- }, z$1.core.$strict>], "outcome">;
5812
- type EnvironmentDiffPatchResponse = z$1.infer<typeof environmentDiffPatchResponseSchema>;
5813
- declare const environmentDiffPatchRequestSchema: z$1.ZodObject<{
5814
- ignoreWhitespace: z$1.ZodOptional<z$1.ZodBoolean>;
5815
- paths: z$1.ZodArray<z$1.ZodString>;
5816
- target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5817
- type: z$1.ZodLiteral<"uncommitted">;
5818
- }, z$1.core.$strip>, z$1.ZodObject<{
5819
- mergeBaseBranch: z$1.ZodString;
5820
- type: z$1.ZodLiteral<"branch_committed">;
5821
- }, z$1.core.$strip>, z$1.ZodObject<{
5822
- mergeBaseBranch: z$1.ZodString;
5823
- type: z$1.ZodLiteral<"all">;
5824
- }, z$1.core.$strip>, z$1.ZodObject<{
5825
- sha: z$1.ZodString;
5826
- type: z$1.ZodLiteral<"commit">;
5827
- }, z$1.core.$strip>], "type">;
5828
- }, z$1.core.$strict>;
5829
- type EnvironmentDiffPatchRequest = z$1.infer<typeof environmentDiffPatchRequestSchema>;
5830
5529
  declare const environmentDiffViewedResponseSchema: z$1.ZodObject<{
5831
5530
  files: z$1.ZodArray<z$1.ZodObject<{
5832
5531
  path: z$1.ZodString;
@@ -5867,7 +5566,6 @@ declare const environmentDiffViewedClearRequestSchema: z$1.ZodObject<{
5867
5566
  }, z$1.core.$strip>], "type">;
5868
5567
  }, z$1.core.$strict>;
5869
5568
  type EnvironmentDiffViewedClearRequest = z$1.infer<typeof environmentDiffViewedClearRequestSchema>;
5870
- type EnvironmentStatusResponse = z$1.infer<typeof environmentStatusResponseSchema>;
5871
5569
 
5872
5570
  declare const providerUsageResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5873
5571
  accountEmail: z$1.ZodNullable<z$1.ZodString>;
@@ -7969,6 +7667,7 @@ declare const hostDaemonCommandRegistry: {
7969
7667
  }, z$1.core.$strip>>;
7970
7668
  }, z$1.core.$strip>, "onlineRpc", true>;
7971
7669
  "host.read_file": HostDaemonCommandDescriptor<"host.read_file", z$1.ZodObject<{
7670
+ followRootSymlink: z$1.ZodBoolean;
7972
7671
  ifNoneMatch: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7973
7672
  kind: z$1.ZodLiteral<"any">;
7974
7673
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8018,27 +7717,6 @@ declare const hostDaemonCommandRegistry: {
8018
7717
  revision: z$1.ZodString;
8019
7718
  sizeBytes: z$1.ZodNumber;
8020
7719
  }, z$1.core.$strict>, "onlineRpc", true>;
8021
- "host.read_file_relative": HostDaemonCommandDescriptor<"host.read_file_relative", z$1.ZodObject<{
8022
- dotfiles: z$1.ZodEnum<{
8023
- allow: "allow";
8024
- deny: "deny";
8025
- }>;
8026
- followRootSymlink: z$1.ZodBoolean;
8027
- path: z$1.ZodString;
8028
- rootPath: z$1.ZodString;
8029
- type: z$1.ZodLiteral<"host.read_file_relative">;
8030
- }, z$1.core.$strict>, z$1.ZodObject<{
8031
- content: z$1.ZodString;
8032
- contentEncoding: z$1.ZodEnum<{
8033
- base64: "base64";
8034
- utf8: "utf8";
8035
- }>;
8036
- mimeType: z$1.ZodOptional<z$1.ZodString>;
8037
- modifiedAtMs: z$1.ZodOptional<z$1.ZodNumber>;
8038
- path: z$1.ZodString;
8039
- sha256: z$1.ZodString;
8040
- sizeBytes: z$1.ZodNumber;
8041
- }, z$1.core.$strip>, "onlineRpc", true>;
8042
7720
  "host.write_file": HostDaemonCommandDescriptor<"host.write_file", z$1.ZodObject<{
8043
7721
  content: z$1.ZodString;
8044
7722
  contentEncoding: z$1.ZodEnum<{
@@ -8468,264 +8146,6 @@ declare const hostDaemonCommandRegistry: {
8468
8146
  }, z$1.core.$strict>>;
8469
8147
  truncated: z$1.ZodBoolean;
8470
8148
  }, z$1.core.$strict>, "onlineRpc", true>;
8471
- "workspace.status": HostDaemonCommandDescriptor<"workspace.status", z$1.ZodObject<{
8472
- environmentId: z$1.ZodString;
8473
- maxFiles: z$1.ZodNumber;
8474
- maxUntrackedLineStatBytes: z$1.ZodNumber;
8475
- maxUntrackedLineStatFiles: z$1.ZodNumber;
8476
- mergeBaseBranch: z$1.ZodOptional<z$1.ZodString>;
8477
- type: z$1.ZodLiteral<"workspace.status">;
8478
- workspaceContext: z$1.ZodObject<{
8479
- workspacePath: z$1.ZodString;
8480
- }, z$1.core.$strip>;
8481
- }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8482
- outcome: z$1.ZodLiteral<"available">;
8483
- workspaceStatus: z$1.ZodObject<{
8484
- branch: z$1.ZodObject<{
8485
- currentBranch: z$1.ZodNullable<z$1.ZodString>;
8486
- defaultBranch: z$1.ZodString;
8487
- }, z$1.core.$strip>;
8488
- checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8489
- branchName: z$1.ZodString;
8490
- headSha: z$1.ZodNullable<z$1.ZodString>;
8491
- kind: z$1.ZodLiteral<"branch">;
8492
- }, z$1.core.$strip>, z$1.ZodObject<{
8493
- headSha: z$1.ZodNullable<z$1.ZodString>;
8494
- kind: z$1.ZodLiteral<"detached">;
8495
- }, z$1.core.$strip>, z$1.ZodObject<{
8496
- branchName: z$1.ZodNullable<z$1.ZodString>;
8497
- kind: z$1.ZodLiteral<"unborn">;
8498
- }, z$1.core.$strip>, z$1.ZodObject<{
8499
- kind: z$1.ZodLiteral<"unknown">;
8500
- reason: z$1.ZodString;
8501
- }, z$1.core.$strip>], "kind">;
8502
- mergeBase: z$1.ZodNullable<z$1.ZodObject<{
8503
- aheadCount: z$1.ZodNumber;
8504
- baseRef: z$1.ZodNullable<z$1.ZodString>;
8505
- behindCount: z$1.ZodNumber;
8506
- commits: z$1.ZodArray<z$1.ZodObject<{
8507
- authorName: z$1.ZodString;
8508
- authoredAt: z$1.ZodNumber;
8509
- sha: z$1.ZodString;
8510
- shortSha: z$1.ZodString;
8511
- subject: z$1.ZodString;
8512
- }, z$1.core.$strip>>;
8513
- deletions: z$1.ZodNumber;
8514
- fileCount: z$1.ZodNumber;
8515
- files: z$1.ZodArray<z$1.ZodObject<{
8516
- deletions: z$1.ZodNullable<z$1.ZodNumber>;
8517
- insertions: z$1.ZodNullable<z$1.ZodNumber>;
8518
- path: z$1.ZodString;
8519
- status: z$1.ZodEnum<{
8520
- "?": "?";
8521
- "??": "??";
8522
- A: "A";
8523
- C: "C";
8524
- D: "D";
8525
- M: "M";
8526
- R: "R";
8527
- U: "U";
8528
- }>;
8529
- }, z$1.core.$strip>>;
8530
- hasCommittedUnmergedChanges: z$1.ZodBoolean;
8531
- insertions: z$1.ZodNumber;
8532
- lineStatsComplete: z$1.ZodBoolean;
8533
- mergeBaseBranch: z$1.ZodString;
8534
- squashMergeCheckComplete: z$1.ZodDefault<z$1.ZodBoolean>;
8535
- }, z$1.core.$strip>>;
8536
- workingTree: z$1.ZodObject<{
8537
- deletions: z$1.ZodNumber;
8538
- fileCount: z$1.ZodNumber;
8539
- files: z$1.ZodArray<z$1.ZodObject<{
8540
- deletions: z$1.ZodNullable<z$1.ZodNumber>;
8541
- insertions: z$1.ZodNullable<z$1.ZodNumber>;
8542
- path: z$1.ZodString;
8543
- status: z$1.ZodEnum<{
8544
- "?": "?";
8545
- "??": "??";
8546
- A: "A";
8547
- C: "C";
8548
- D: "D";
8549
- M: "M";
8550
- R: "R";
8551
- U: "U";
8552
- }>;
8553
- }, z$1.core.$strip>>;
8554
- hasUncommittedChanges: z$1.ZodBoolean;
8555
- insertions: z$1.ZodNumber;
8556
- lineStatsComplete: z$1.ZodBoolean;
8557
- state: z$1.ZodEnum<{
8558
- clean: "clean";
8559
- committed_unmerged: "committed_unmerged";
8560
- dirty_and_committed_unmerged: "dirty_and_committed_unmerged";
8561
- dirty_uncommitted: "dirty_uncommitted";
8562
- untracked: "untracked";
8563
- }>;
8564
- }, z$1.core.$strip>;
8565
- }, z$1.core.$strip>;
8566
- }, z$1.core.$strict>, z$1.ZodObject<{
8567
- failure: z$1.ZodObject<{
8568
- code: z$1.ZodEnum<{
8569
- not_git_repo: "not_git_repo";
8570
- path_not_found: "path_not_found";
8571
- permission_denied: "permission_denied";
8572
- unknown: "unknown";
8573
- unknown_environment: "unknown_environment";
8574
- workspace_type_mismatch: "workspace_type_mismatch";
8575
- }>;
8576
- message: z$1.ZodString;
8577
- workspacePath: z$1.ZodString;
8578
- }, z$1.core.$strict>;
8579
- outcome: z$1.ZodLiteral<"unavailable">;
8580
- }, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
8581
- "workspace.diff": HostDaemonCommandDescriptor<"workspace.diff", z$1.ZodObject<{
8582
- environmentId: z$1.ZodString;
8583
- maxDiffBytes: z$1.ZodNumber;
8584
- maxFileListBytes: z$1.ZodNumber;
8585
- maxUntrackedFiles: z$1.ZodNumber;
8586
- target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8587
- type: z$1.ZodLiteral<"uncommitted">;
8588
- }, z$1.core.$strip>, z$1.ZodObject<{
8589
- mergeBaseBranch: z$1.ZodString;
8590
- type: z$1.ZodLiteral<"branch_committed">;
8591
- }, z$1.core.$strip>, z$1.ZodObject<{
8592
- mergeBaseBranch: z$1.ZodString;
8593
- type: z$1.ZodLiteral<"all">;
8594
- }, z$1.core.$strip>, z$1.ZodObject<{
8595
- sha: z$1.ZodString;
8596
- type: z$1.ZodLiteral<"commit">;
8597
- }, z$1.core.$strip>], "type">;
8598
- type: z$1.ZodLiteral<"workspace.diff">;
8599
- workspaceContext: z$1.ZodObject<{
8600
- workspacePath: z$1.ZodString;
8601
- }, z$1.core.$strip>;
8602
- }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8603
- diff: z$1.ZodObject<{
8604
- diff: z$1.ZodString;
8605
- files: z$1.ZodString;
8606
- mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
8607
- shortstat: z$1.ZodString;
8608
- truncated: z$1.ZodBoolean;
8609
- }, z$1.core.$strip>;
8610
- outcome: z$1.ZodLiteral<"available">;
8611
- }, z$1.core.$strict>, z$1.ZodObject<{
8612
- failure: z$1.ZodObject<{
8613
- code: z$1.ZodEnum<{
8614
- not_git_repo: "not_git_repo";
8615
- path_not_found: "path_not_found";
8616
- permission_denied: "permission_denied";
8617
- unknown: "unknown";
8618
- unknown_environment: "unknown_environment";
8619
- workspace_type_mismatch: "workspace_type_mismatch";
8620
- }>;
8621
- message: z$1.ZodString;
8622
- workspacePath: z$1.ZodString;
8623
- }, z$1.core.$strict>;
8624
- outcome: z$1.ZodLiteral<"unavailable">;
8625
- }, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
8626
- "workspace.diffFiles": HostDaemonCommandDescriptor<"workspace.diffFiles", z$1.ZodObject<{
8627
- environmentId: z$1.ZodString;
8628
- ignoreWhitespace: z$1.ZodBoolean;
8629
- maxFiles: z$1.ZodNumber;
8630
- target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8631
- type: z$1.ZodLiteral<"uncommitted">;
8632
- }, z$1.core.$strip>, z$1.ZodObject<{
8633
- mergeBaseBranch: z$1.ZodString;
8634
- type: z$1.ZodLiteral<"branch_committed">;
8635
- }, z$1.core.$strip>, z$1.ZodObject<{
8636
- mergeBaseBranch: z$1.ZodString;
8637
- type: z$1.ZodLiteral<"all">;
8638
- }, z$1.core.$strip>, z$1.ZodObject<{
8639
- sha: z$1.ZodString;
8640
- type: z$1.ZodLiteral<"commit">;
8641
- }, z$1.core.$strip>], "type">;
8642
- type: z$1.ZodLiteral<"workspace.diffFiles">;
8643
- workspaceContext: z$1.ZodObject<{
8644
- workspacePath: z$1.ZodString;
8645
- }, z$1.core.$strip>;
8646
- }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8647
- files: z$1.ZodArray<z$1.ZodObject<{
8648
- additions: z$1.ZodNumber;
8649
- binary: z$1.ZodBoolean;
8650
- deletions: z$1.ZodNumber;
8651
- origin: z$1.ZodEnum<{
8652
- tracked: "tracked";
8653
- untracked: "untracked";
8654
- }>;
8655
- path: z$1.ZodString;
8656
- previousPath: z$1.ZodNullable<z$1.ZodString>;
8657
- revision: z$1.ZodString;
8658
- statusLetter: z$1.ZodEnum<{
8659
- A: "A";
8660
- C: "C";
8661
- D: "D";
8662
- M: "M";
8663
- R: "R";
8664
- T: "T";
8665
- }>;
8666
- }, z$1.core.$strip>>;
8667
- mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
8668
- outcome: z$1.ZodLiteral<"available">;
8669
- shortstat: z$1.ZodString;
8670
- truncated: z$1.ZodBoolean;
8671
- }, z$1.core.$strict>, z$1.ZodObject<{
8672
- failure: z$1.ZodObject<{
8673
- code: z$1.ZodEnum<{
8674
- not_git_repo: "not_git_repo";
8675
- path_not_found: "path_not_found";
8676
- permission_denied: "permission_denied";
8677
- unknown: "unknown";
8678
- unknown_environment: "unknown_environment";
8679
- workspace_type_mismatch: "workspace_type_mismatch";
8680
- }>;
8681
- message: z$1.ZodString;
8682
- workspacePath: z$1.ZodString;
8683
- }, z$1.core.$strict>;
8684
- outcome: z$1.ZodLiteral<"unavailable">;
8685
- }, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
8686
- "workspace.diffPatch": HostDaemonCommandDescriptor<"workspace.diffPatch", z$1.ZodObject<{
8687
- environmentId: z$1.ZodString;
8688
- ignoreWhitespace: z$1.ZodBoolean;
8689
- maxBytesPerFile: z$1.ZodNumber;
8690
- paths: z$1.ZodArray<z$1.ZodString>;
8691
- target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8692
- type: z$1.ZodLiteral<"uncommitted">;
8693
- }, z$1.core.$strip>, z$1.ZodObject<{
8694
- mergeBaseBranch: z$1.ZodString;
8695
- type: z$1.ZodLiteral<"branch_committed">;
8696
- }, z$1.core.$strip>, z$1.ZodObject<{
8697
- mergeBaseBranch: z$1.ZodString;
8698
- type: z$1.ZodLiteral<"all">;
8699
- }, z$1.core.$strip>, z$1.ZodObject<{
8700
- sha: z$1.ZodString;
8701
- type: z$1.ZodLiteral<"commit">;
8702
- }, z$1.core.$strip>], "type">;
8703
- type: z$1.ZodLiteral<"workspace.diffPatch">;
8704
- workspaceContext: z$1.ZodObject<{
8705
- workspacePath: z$1.ZodString;
8706
- }, z$1.core.$strip>;
8707
- }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8708
- outcome: z$1.ZodLiteral<"available">;
8709
- patches: z$1.ZodArray<z$1.ZodObject<{
8710
- patch: z$1.ZodString;
8711
- path: z$1.ZodString;
8712
- truncated: z$1.ZodBoolean;
8713
- }, z$1.core.$strict>>;
8714
- }, z$1.core.$strict>, z$1.ZodObject<{
8715
- failure: z$1.ZodObject<{
8716
- code: z$1.ZodEnum<{
8717
- not_git_repo: "not_git_repo";
8718
- path_not_found: "path_not_found";
8719
- permission_denied: "permission_denied";
8720
- unknown: "unknown";
8721
- unknown_environment: "unknown_environment";
8722
- workspace_type_mismatch: "workspace_type_mismatch";
8723
- }>;
8724
- message: z$1.ZodString;
8725
- workspacePath: z$1.ZodString;
8726
- }, z$1.core.$strict>;
8727
- outcome: z$1.ZodLiteral<"unavailable">;
8728
- }, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
8729
8149
  "server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
8730
8150
  paths: z$1.ZodArray<z$1.ZodString>;
8731
8151
  port: z$1.ZodNumber;
@@ -9340,6 +8760,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
9340
8760
  hash: z$1.ZodString;
9341
8761
  jsBytes: z$1.ZodNumber;
9342
8762
  jsUrl: z$1.ZodString;
8763
+ runtimeSlots: z$1.ZodArray<z$1.ZodString>;
9343
8764
  sdkMajor: z$1.ZodNumber;
9344
8765
  sdkVersion: z$1.ZodString;
9345
8766
  }, z$1.core.$strip>>;
@@ -9460,6 +8881,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
9460
8881
  hash: z$1.ZodString;
9461
8882
  jsBytes: z$1.ZodNumber;
9462
8883
  jsUrl: z$1.ZodString;
8884
+ runtimeSlots: z$1.ZodArray<z$1.ZodString>;
9463
8885
  sdkMajor: z$1.ZodNumber;
9464
8886
  sdkVersion: z$1.ZodString;
9465
8887
  }, z$1.core.$strip>>;
@@ -9646,6 +9068,7 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9646
9068
  hash: z$1.ZodString;
9647
9069
  jsBytes: z$1.ZodNumber;
9648
9070
  jsUrl: z$1.ZodString;
9071
+ runtimeSlots: z$1.ZodArray<z$1.ZodString>;
9649
9072
  sdkMajor: z$1.ZodNumber;
9650
9073
  sdkVersion: z$1.ZodString;
9651
9074
  }, z$1.core.$strip>>;
@@ -9829,6 +9252,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
9829
9252
  hash: z$1.ZodString;
9830
9253
  jsBytes: z$1.ZodNumber;
9831
9254
  jsUrl: z$1.ZodString;
9255
+ runtimeSlots: z$1.ZodArray<z$1.ZodString>;
9832
9256
  sdkMajor: z$1.ZodNumber;
9833
9257
  sdkVersion: z$1.ZodString;
9834
9258
  }, z$1.core.$strip>>;
@@ -10699,7 +10123,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10699
10123
  "browser.reload": "browser.reload";
10700
10124
  "composer.focus": "composer.focus";
10701
10125
  "dataDirectory.open": "dataDirectory.open";
10702
- "diff.toggle": "diff.toggle";
10703
10126
  "file.quickOpen": "file.quickOpen";
10704
10127
  "history.back": "history.back";
10705
10128
  "history.forward": "history.forward";
@@ -10764,8 +10187,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10764
10187
  "thread.jump.7": "thread.jump.7";
10765
10188
  "thread.jump.8": "thread.jump.8";
10766
10189
  "thread.jump.9": "thread.jump.9";
10190
+ "thread.markRead": "thread.markRead";
10767
10191
  "thread.new": "thread.new";
10768
10192
  "thread.next": "thread.next";
10193
+ "thread.pin": "thread.pin";
10769
10194
  "thread.previous": "thread.previous";
10770
10195
  "thread.rename": "thread.rename";
10771
10196
  "thread.search": "thread.search";
@@ -10817,12 +10242,15 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10817
10242
  }, z$1.core.$strict>;
10818
10243
  }, z$1.core.$strict>>;
10819
10244
  experiments: z$1.ZodRecord<z$1.ZodEnum<{
10245
+ applicationLinks: "applicationLinks";
10820
10246
  changelogPreview: "changelogPreview";
10821
10247
  compactExpiredCache: "compactExpiredCache";
10822
10248
  performanceDiagnostics: "performanceDiagnostics";
10823
10249
  serverMove: "serverMove";
10824
10250
  sidebarMultiSelect: "sidebarMultiSelect";
10825
10251
  timelinePush: "timelinePush";
10252
+ unreadDividerAtAnswer: "unreadDividerAtAnswer";
10253
+ websocketCompression: "websocketCompression";
10826
10254
  }>, z$1.ZodBoolean>;
10827
10255
  featureFlags: z$1.ZodObject<{
10828
10256
  initiatorTelemetry: z$1.ZodDefault<z$1.ZodBoolean>;
@@ -10865,7 +10293,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10865
10293
  "browser.reload": "browser.reload";
10866
10294
  "composer.focus": "composer.focus";
10867
10295
  "dataDirectory.open": "dataDirectory.open";
10868
- "diff.toggle": "diff.toggle";
10869
10296
  "file.quickOpen": "file.quickOpen";
10870
10297
  "history.back": "history.back";
10871
10298
  "history.forward": "history.forward";
@@ -10930,8 +10357,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10930
10357
  "thread.jump.7": "thread.jump.7";
10931
10358
  "thread.jump.8": "thread.jump.8";
10932
10359
  "thread.jump.9": "thread.jump.9";
10360
+ "thread.markRead": "thread.markRead";
10933
10361
  "thread.new": "thread.new";
10934
10362
  "thread.next": "thread.next";
10363
+ "thread.pin": "thread.pin";
10935
10364
  "thread.previous": "thread.previous";
10936
10365
  "thread.rename": "thread.rename";
10937
10366
  "thread.search": "thread.search";
@@ -10962,7 +10391,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10962
10391
  "browser.reload": "browser.reload";
10963
10392
  "composer.focus": "composer.focus";
10964
10393
  "dataDirectory.open": "dataDirectory.open";
10965
- "diff.toggle": "diff.toggle";
10966
10394
  "file.quickOpen": "file.quickOpen";
10967
10395
  "history.back": "history.back";
10968
10396
  "history.forward": "history.forward";
@@ -11027,8 +10455,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
11027
10455
  "thread.jump.7": "thread.jump.7";
11028
10456
  "thread.jump.8": "thread.jump.8";
11029
10457
  "thread.jump.9": "thread.jump.9";
10458
+ "thread.markRead": "thread.markRead";
11030
10459
  "thread.new": "thread.new";
11031
10460
  "thread.next": "thread.next";
10461
+ "thread.pin": "thread.pin";
11032
10462
  "thread.previous": "thread.previous";
11033
10463
  "thread.rename": "thread.rename";
11034
10464
  "thread.search": "thread.search";
@@ -14501,10 +13931,22 @@ declare const threadDescendantsListResponseSchema: z$1.ZodObject<{
14501
13931
  }, z$1.core.$strict>>;
14502
13932
  }, z$1.core.$strict>;
14503
13933
  type ThreadDescendantsListResponse = z$1.infer<typeof threadDescendantsListResponseSchema>;
14504
- declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14505
- activeBackgroundAgentCount: z$1.ZodNumber;
14506
- archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
14507
- canEditMessages: z$1.ZodBoolean;
13934
+ declare const threadCascadeActionSchema: z$1.ZodEnum<{
13935
+ archive: "archive";
13936
+ delete: "delete";
13937
+ }>;
13938
+ type ThreadCascadeAction = z$1.infer<typeof threadCascadeActionSchema>;
13939
+ declare const threadCascadeListResponseSchema: z$1.ZodObject<{
13940
+ threads: z$1.ZodArray<z$1.ZodObject<{
13941
+ cascadeThreadIds: z$1.ZodArray<z$1.ZodString>;
13942
+ threadId: z$1.ZodString;
13943
+ }, z$1.core.$strict>>;
13944
+ }, z$1.core.$strict>;
13945
+ type ThreadCascadeListResponse = z$1.infer<typeof threadCascadeListResponseSchema>;
13946
+ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
13947
+ activeBackgroundAgentCount: z$1.ZodNumber;
13948
+ archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
13949
+ canEditMessages: z$1.ZodBoolean;
14508
13950
  canRestoreEnvironment: z$1.ZodBoolean;
14509
13951
  canSpawnChild: z$1.ZodBoolean;
14510
13952
  createdAt: z$1.ZodNumber;
@@ -15240,7 +14682,7 @@ declare const threadSearchQuerySchema: z$1.ZodObject<{
15240
14682
  }, z$1.core.$strip>;
15241
14683
  type ThreadSearchQuery = z$1.infer<typeof threadSearchQuerySchema>;
15242
14684
  declare const threadTimelineQuerySchema: z$1.ZodObject<{
15243
- afterSequence: z$1.ZodOptional<z$1.ZodString>;
14685
+ afterTag: z$1.ZodOptional<z$1.ZodString>;
15244
14686
  beforeAnchorId: z$1.ZodOptional<z$1.ZodString>;
15245
14687
  beforeAnchorSeq: z$1.ZodOptional<z$1.ZodString>;
15246
14688
  deferContent: z$1.ZodOptional<z$1.ZodEnum<{
@@ -15782,94 +15224,784 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15782
15224
  }>;
15783
15225
  }, z$1.core.$strip>>;
15784
15226
  status: z$1.ZodEnum<{
15785
- completed: "completed";
15786
- failed: "failed";
15787
- interrupted: "interrupted";
15227
+ completed: "completed";
15228
+ failed: "failed";
15229
+ interrupted: "interrupted";
15230
+ }>;
15231
+ threadId: z$1.ZodString;
15232
+ }, z$1.core.$strip>>>;
15233
+ }, z$1.core.$strip>, z$1.ZodObject<{
15234
+ kind: z$1.ZodLiteral<"tool-call">;
15235
+ suppress: z$1.ZodBoolean;
15236
+ toolName: z$1.ZodString;
15237
+ }, z$1.core.$strip>, z$1.ZodObject<{
15238
+ kind: z$1.ZodLiteral<"directory">;
15239
+ path: z$1.ZodString;
15240
+ }, z$1.core.$strip>], "kind">>;
15241
+ text: z$1.ZodString;
15242
+ threadId: z$1.ZodString;
15243
+ turnId: z$1.ZodNullable<z$1.ZodString>;
15244
+ turnRequest: z$1.ZodObject<{
15245
+ isGrouped: z$1.ZodBoolean;
15246
+ kind: z$1.ZodEnum<{
15247
+ message: "message";
15248
+ steer: "steer";
15249
+ }>;
15250
+ status: z$1.ZodEnum<{
15251
+ accepted: "accepted";
15252
+ pending: "pending";
15253
+ rejected: "rejected";
15254
+ }>;
15255
+ }, z$1.core.$strip>;
15256
+ }, z$1.core.$strip>, z$1.ZodObject<{
15257
+ attachments: z$1.ZodNullable<z$1.ZodObject<{
15258
+ imageUrls: z$1.ZodArray<z$1.ZodString>;
15259
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15260
+ name: z$1.ZodString;
15261
+ path: z$1.ZodString;
15262
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15263
+ }, z$1.core.$strip>>;
15264
+ localFilePaths: z$1.ZodArray<z$1.ZodString>;
15265
+ localFiles: z$1.ZodNumber;
15266
+ localImagePaths: z$1.ZodArray<z$1.ZodString>;
15267
+ localImages: z$1.ZodNumber;
15268
+ webImages: z$1.ZodNumber;
15269
+ }, z$1.core.$strip>>;
15270
+ createdAt: z$1.ZodNumber;
15271
+ id: z$1.ZodString;
15272
+ kind: z$1.ZodLiteral<"conversation">;
15273
+ messageSeq: z$1.ZodNumber;
15274
+ role: z$1.ZodLiteral<"assistant">;
15275
+ sourceSeqEnd: z$1.ZodNumber;
15276
+ sourceSeqStart: z$1.ZodNumber;
15277
+ startedAt: z$1.ZodNumber;
15278
+ text: z$1.ZodString;
15279
+ threadId: z$1.ZodString;
15280
+ turnId: z$1.ZodNullable<z$1.ZodString>;
15281
+ turnRequest: z$1.ZodNull;
15282
+ }, z$1.core.$strip>], "role">;
15283
+ }, z$1.core.$strip>;
15284
+ type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
15285
+ declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
15286
+ limit: z$1.ZodOptional<z$1.ZodString>;
15287
+ query: z$1.ZodOptional<z$1.ZodString>;
15288
+ }, z$1.core.$strip>;
15289
+ type ThreadStorageFilesQuery = z$1.infer<typeof threadStorageFilesQuerySchema>;
15290
+ declare const threadStoragePathsQuerySchema: z$1.ZodObject<{
15291
+ includeDirectories: z$1.ZodEnum<{
15292
+ false: "false";
15293
+ true: "true";
15294
+ }>;
15295
+ includeFiles: z$1.ZodEnum<{
15296
+ false: "false";
15297
+ true: "true";
15298
+ }>;
15299
+ limit: z$1.ZodOptional<z$1.ZodString>;
15300
+ query: z$1.ZodOptional<z$1.ZodString>;
15301
+ }, z$1.core.$strip>;
15302
+ type ThreadStoragePathsQuery = z$1.infer<typeof threadStoragePathsQuerySchema>;
15303
+ declare const threadStorageLocationResponseSchema: z$1.ZodObject<{
15304
+ hostId: z$1.ZodString;
15305
+ storageRootPath: z$1.ZodString;
15306
+ }, z$1.core.$strict>;
15307
+ type ThreadStorageLocationResponse = z$1.infer<typeof threadStorageLocationResponseSchema>;
15308
+ declare const timelineTurnSummaryDetailsResponseSchema: z$1.ZodObject<{
15309
+ historySnapshot: z$1.ZodOptional<z$1.ZodString>;
15310
+ olderCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
15311
+ rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
15312
+ }, z$1.core.$strip>;
15313
+ type TimelineTurnSummaryDetailsResponse = z$1.infer<typeof timelineTurnSummaryDetailsResponseSchema>;
15314
+ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15315
+ activeBackgroundCommands: z$1.ZodArray<z$1.ZodObject<{
15316
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
15317
+ createdAt: z$1.ZodNumber;
15318
+ description: z$1.ZodString;
15319
+ error: z$1.ZodNullable<z$1.ZodString>;
15320
+ id: z$1.ZodString;
15321
+ itemId: z$1.ZodString;
15322
+ kind: z$1.ZodLiteral<"work">;
15323
+ model: z$1.ZodNullable<z$1.ZodString>;
15324
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
15325
+ badge: z$1.ZodOptional<z$1.ZodObject<{
15326
+ glyph: z$1.ZodString;
15327
+ hint: z$1.ZodString;
15328
+ label: z$1.ZodString;
15329
+ tone: z$1.ZodEnum<{
15330
+ destructive: "destructive";
15331
+ neutral: "neutral";
15332
+ }>;
15333
+ }, z$1.core.$strip>>;
15334
+ detail: z$1.ZodOptional<z$1.ZodString>;
15335
+ icon: z$1.ZodObject<{
15336
+ glyph: z$1.ZodString;
15337
+ }, z$1.core.$strip>;
15338
+ label: z$1.ZodObject<{
15339
+ completed: z$1.ZodString;
15340
+ pending: z$1.ZodString;
15341
+ }, z$1.core.$strip>;
15342
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
15343
+ tint: z$1.ZodOptional<z$1.ZodObject<{
15344
+ dark: z$1.ZodString;
15345
+ light: z$1.ZodString;
15346
+ }, z$1.core.$strip>>;
15347
+ title: z$1.ZodOptional<z$1.ZodString>;
15348
+ }, z$1.core.$strip>>;
15349
+ sourceSeqEnd: z$1.ZodNumber;
15350
+ sourceSeqStart: z$1.ZodNumber;
15351
+ startedAt: z$1.ZodNumber;
15352
+ status: z$1.ZodEnum<{
15353
+ completed: "completed";
15354
+ error: "error";
15355
+ interrupted: "interrupted";
15356
+ pending: "pending";
15357
+ }>;
15358
+ summary: z$1.ZodNullable<z$1.ZodString>;
15359
+ taskStatus: z$1.ZodEnum<{
15360
+ completed: "completed";
15361
+ failed: "failed";
15362
+ killed: "killed";
15363
+ paused: "paused";
15364
+ pending: "pending";
15365
+ running: "running";
15366
+ stopped: "stopped";
15367
+ }>;
15368
+ taskType: z$1.ZodString;
15369
+ threadId: z$1.ZodString;
15370
+ turnId: z$1.ZodNullable<z$1.ZodString>;
15371
+ usage: z$1.ZodNullable<z$1.ZodObject<{
15372
+ durationMs: z$1.ZodNumber;
15373
+ toolUses: z$1.ZodNumber;
15374
+ totalTokens: z$1.ZodNumber;
15375
+ }, z$1.core.$strip>>;
15376
+ workKind: z$1.ZodLiteral<"workflow">;
15377
+ workflow: z$1.ZodNullable<z$1.ZodObject<{
15378
+ agents: z$1.ZodArray<z$1.ZodObject<{
15379
+ agentType: z$1.ZodOptional<z$1.ZodString>;
15380
+ attempt: z$1.ZodNumber;
15381
+ cached: z$1.ZodBoolean;
15382
+ durationMs: z$1.ZodOptional<z$1.ZodNumber>;
15383
+ error: z$1.ZodOptional<z$1.ZodString>;
15384
+ index: z$1.ZodNumber;
15385
+ isolation: z$1.ZodOptional<z$1.ZodString>;
15386
+ label: z$1.ZodString;
15387
+ lastProgressAt: z$1.ZodNumber;
15388
+ lastToolName: z$1.ZodOptional<z$1.ZodString>;
15389
+ lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
15390
+ model: z$1.ZodString;
15391
+ phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
15392
+ phaseTitle: z$1.ZodOptional<z$1.ZodString>;
15393
+ promptPreview: z$1.ZodOptional<z$1.ZodString>;
15394
+ queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
15395
+ resultPreview: z$1.ZodOptional<z$1.ZodString>;
15396
+ startedAt: z$1.ZodOptional<z$1.ZodNumber>;
15397
+ state: z$1.ZodEnum<{
15398
+ done: "done";
15399
+ failed: "failed";
15400
+ queued: "queued";
15401
+ running: "running";
15402
+ skipped: "skipped";
15403
+ }>;
15404
+ tokens: z$1.ZodOptional<z$1.ZodNumber>;
15405
+ toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
15406
+ }, z$1.core.$strip>>;
15407
+ phases: z$1.ZodArray<z$1.ZodObject<{
15408
+ index: z$1.ZodNumber;
15409
+ kind: z$1.ZodOptional<z$1.ZodString>;
15410
+ title: z$1.ZodString;
15411
+ }, z$1.core.$strip>>;
15412
+ }, z$1.core.$strip>>;
15413
+ workflowName: z$1.ZodNullable<z$1.ZodString>;
15414
+ }, z$1.core.$strip>>;
15415
+ activePromptMode: z$1.ZodNullable<z$1.ZodObject<{
15416
+ mode: z$1.ZodLiteral<"plan">;
15417
+ prompt: z$1.ZodString;
15418
+ providerId: z$1.ZodString;
15419
+ }, z$1.core.$strict>>;
15420
+ activeThinking: z$1.ZodNullable<z$1.ZodObject<{
15421
+ id: z$1.ZodString;
15422
+ startedAt: z$1.ZodNumber;
15423
+ text: z$1.ZodString;
15424
+ updatedAt: z$1.ZodNumber;
15425
+ }, z$1.core.$strip>>;
15426
+ activeWorkflows: z$1.ZodArray<z$1.ZodObject<{
15427
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
15428
+ createdAt: z$1.ZodNumber;
15429
+ description: z$1.ZodString;
15430
+ error: z$1.ZodNullable<z$1.ZodString>;
15431
+ id: z$1.ZodString;
15432
+ itemId: z$1.ZodString;
15433
+ kind: z$1.ZodLiteral<"work">;
15434
+ model: z$1.ZodNullable<z$1.ZodString>;
15435
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
15436
+ badge: z$1.ZodOptional<z$1.ZodObject<{
15437
+ glyph: z$1.ZodString;
15438
+ hint: z$1.ZodString;
15439
+ label: z$1.ZodString;
15440
+ tone: z$1.ZodEnum<{
15441
+ destructive: "destructive";
15442
+ neutral: "neutral";
15443
+ }>;
15444
+ }, z$1.core.$strip>>;
15445
+ detail: z$1.ZodOptional<z$1.ZodString>;
15446
+ icon: z$1.ZodObject<{
15447
+ glyph: z$1.ZodString;
15448
+ }, z$1.core.$strip>;
15449
+ label: z$1.ZodObject<{
15450
+ completed: z$1.ZodString;
15451
+ pending: z$1.ZodString;
15452
+ }, z$1.core.$strip>;
15453
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
15454
+ tint: z$1.ZodOptional<z$1.ZodObject<{
15455
+ dark: z$1.ZodString;
15456
+ light: z$1.ZodString;
15457
+ }, z$1.core.$strip>>;
15458
+ title: z$1.ZodOptional<z$1.ZodString>;
15459
+ }, z$1.core.$strip>>;
15460
+ sourceSeqEnd: z$1.ZodNumber;
15461
+ sourceSeqStart: z$1.ZodNumber;
15462
+ startedAt: z$1.ZodNumber;
15463
+ status: z$1.ZodEnum<{
15464
+ completed: "completed";
15465
+ error: "error";
15466
+ interrupted: "interrupted";
15467
+ pending: "pending";
15468
+ }>;
15469
+ summary: z$1.ZodNullable<z$1.ZodString>;
15470
+ taskStatus: z$1.ZodEnum<{
15471
+ completed: "completed";
15472
+ failed: "failed";
15473
+ killed: "killed";
15474
+ paused: "paused";
15475
+ pending: "pending";
15476
+ running: "running";
15477
+ stopped: "stopped";
15478
+ }>;
15479
+ taskType: z$1.ZodString;
15480
+ threadId: z$1.ZodString;
15481
+ turnId: z$1.ZodNullable<z$1.ZodString>;
15482
+ usage: z$1.ZodNullable<z$1.ZodObject<{
15483
+ durationMs: z$1.ZodNumber;
15484
+ toolUses: z$1.ZodNumber;
15485
+ totalTokens: z$1.ZodNumber;
15486
+ }, z$1.core.$strip>>;
15487
+ workKind: z$1.ZodLiteral<"workflow">;
15488
+ workflow: z$1.ZodNullable<z$1.ZodObject<{
15489
+ agents: z$1.ZodArray<z$1.ZodObject<{
15490
+ agentType: z$1.ZodOptional<z$1.ZodString>;
15491
+ attempt: z$1.ZodNumber;
15492
+ cached: z$1.ZodBoolean;
15493
+ durationMs: z$1.ZodOptional<z$1.ZodNumber>;
15494
+ error: z$1.ZodOptional<z$1.ZodString>;
15495
+ index: z$1.ZodNumber;
15496
+ isolation: z$1.ZodOptional<z$1.ZodString>;
15497
+ label: z$1.ZodString;
15498
+ lastProgressAt: z$1.ZodNumber;
15499
+ lastToolName: z$1.ZodOptional<z$1.ZodString>;
15500
+ lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
15501
+ model: z$1.ZodString;
15502
+ phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
15503
+ phaseTitle: z$1.ZodOptional<z$1.ZodString>;
15504
+ promptPreview: z$1.ZodOptional<z$1.ZodString>;
15505
+ queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
15506
+ resultPreview: z$1.ZodOptional<z$1.ZodString>;
15507
+ startedAt: z$1.ZodOptional<z$1.ZodNumber>;
15508
+ state: z$1.ZodEnum<{
15509
+ done: "done";
15510
+ failed: "failed";
15511
+ queued: "queued";
15512
+ running: "running";
15513
+ skipped: "skipped";
15514
+ }>;
15515
+ tokens: z$1.ZodOptional<z$1.ZodNumber>;
15516
+ toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
15517
+ }, z$1.core.$strip>>;
15518
+ phases: z$1.ZodArray<z$1.ZodObject<{
15519
+ index: z$1.ZodNumber;
15520
+ kind: z$1.ZodOptional<z$1.ZodString>;
15521
+ title: z$1.ZodString;
15522
+ }, z$1.core.$strip>>;
15523
+ }, z$1.core.$strip>>;
15524
+ workflowName: z$1.ZodNullable<z$1.ZodString>;
15525
+ }, z$1.core.$strip>>;
15526
+ completedTurnDisplay: z$1.ZodEnum<{
15527
+ collapse: "collapse";
15528
+ flat: "flat";
15529
+ }>;
15530
+ contextBoundarySeq: z$1.ZodNullable<z$1.ZodNumber>;
15531
+ contextWindowUsage: z$1.ZodOptional<z$1.ZodObject<{
15532
+ compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
15533
+ cost: z$1.ZodOptional<z$1.ZodObject<{
15534
+ amount: z$1.ZodNumber;
15535
+ currency: z$1.ZodString;
15536
+ }, z$1.core.$strip>>;
15537
+ estimated: z$1.ZodBoolean;
15538
+ modelContextWindow: z$1.ZodNumber;
15539
+ snapshot: z$1.ZodOptional<z$1.ZodObject<{
15540
+ autoCompactAtTokens: z$1.ZodNullable<z$1.ZodNumber>;
15541
+ capturedAt: z$1.ZodISODateTime;
15542
+ categories: z$1.ZodArray<z$1.ZodObject<{
15543
+ entries: z$1.ZodArray<z$1.ZodObject<{
15544
+ id: z$1.ZodString;
15545
+ label: z$1.ZodString;
15546
+ tokens: z$1.ZodNumber;
15547
+ }, z$1.core.$strip>>;
15548
+ id: z$1.ZodString;
15549
+ kind: z$1.ZodEnum<{
15550
+ deferred: "deferred";
15551
+ free: "free";
15552
+ reserved: "reserved";
15553
+ used: "used";
15554
+ }>;
15555
+ label: z$1.ZodString;
15556
+ tokens: z$1.ZodNumber;
15557
+ }, z$1.core.$strip>>;
15558
+ contextWindowTokens: z$1.ZodNumber;
15559
+ estimated: z$1.ZodBoolean;
15560
+ model: z$1.ZodString;
15561
+ providerSessionId: z$1.ZodString;
15562
+ providerTurnId: z$1.ZodNullable<z$1.ZodString>;
15563
+ usedTokens: z$1.ZodNumber;
15564
+ }, z$1.core.$strip>>;
15565
+ usedTokens: z$1.ZodNumber;
15566
+ }, z$1.core.$strip>>;
15567
+ goal: z$1.ZodNullable<z$1.ZodObject<{
15568
+ objective: z$1.ZodString;
15569
+ sourceSeq: z$1.ZodNumber;
15570
+ status: z$1.ZodEnum<{
15571
+ active: "active";
15572
+ budgetLimited: "budgetLimited";
15573
+ complete: "complete";
15574
+ paused: "paused";
15575
+ }>;
15576
+ timeUsedSeconds: z$1.ZodNumber;
15577
+ tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
15578
+ tokensUsed: z$1.ZodNumber;
15579
+ updatedAt: z$1.ZodNumber;
15580
+ }, z$1.core.$strip>>;
15581
+ maxSeq: z$1.ZodNumber;
15582
+ modelFallback: z$1.ZodNullable<z$1.ZodObject<{
15583
+ detectedAt: z$1.ZodNumber;
15584
+ fallbackModel: z$1.ZodString;
15585
+ message: z$1.ZodString;
15586
+ originalModel: z$1.ZodString;
15587
+ reason: z$1.ZodEnum<{
15588
+ provider: "provider";
15589
+ refusal: "refusal";
15590
+ }>;
15591
+ sourceSeq: z$1.ZodNumber;
15592
+ }, z$1.core.$strip>>;
15593
+ pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
15594
+ items: z$1.ZodArray<z$1.ZodObject<{
15595
+ id: z$1.ZodString;
15596
+ status: z$1.ZodEnum<{
15597
+ completed: "completed";
15598
+ in_progress: "in_progress";
15599
+ pending: "pending";
15600
+ }>;
15601
+ text: z$1.ZodString;
15602
+ }, z$1.core.$strip>>;
15603
+ sourceSeq: z$1.ZodNumber;
15604
+ updatedAt: z$1.ZodNumber;
15605
+ }, z$1.core.$strip>>;
15606
+ providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
15607
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
15608
+ description: z$1.ZodNullable<z$1.ZodString>;
15609
+ name: z$1.ZodString;
15610
+ origin: z$1.ZodEnum<{
15611
+ builtin: "builtin";
15612
+ project: "project";
15613
+ user: "user";
15614
+ }>;
15615
+ source: z$1.ZodEnum<{
15616
+ command: "command";
15617
+ skill: "skill";
15618
+ }>;
15619
+ }, z$1.core.$strip>>>;
15620
+ rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
15621
+ sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
15622
+ category: z$1.ZodNullable<z$1.ZodString>;
15623
+ description: z$1.ZodNullable<z$1.ZodString>;
15624
+ id: z$1.ZodString;
15625
+ label: z$1.ZodString;
15626
+ pendingValue: z$1.ZodNullable<z$1.ZodString>;
15627
+ type: z$1.ZodLiteral<"select">;
15628
+ value: z$1.ZodString;
15629
+ values: z$1.ZodArray<z$1.ZodObject<{
15630
+ description: z$1.ZodNullable<z$1.ZodString>;
15631
+ group: z$1.ZodNullable<z$1.ZodString>;
15632
+ id: z$1.ZodString;
15633
+ label: z$1.ZodString;
15634
+ }, z$1.core.$strip>>;
15635
+ }, z$1.core.$strip>, z$1.ZodObject<{
15636
+ category: z$1.ZodNullable<z$1.ZodString>;
15637
+ description: z$1.ZodNullable<z$1.ZodString>;
15638
+ id: z$1.ZodString;
15639
+ label: z$1.ZodString;
15640
+ pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
15641
+ type: z$1.ZodLiteral<"boolean">;
15642
+ value: z$1.ZodBoolean;
15643
+ }, z$1.core.$strip>], "type">>>;
15644
+ tag: z$1.ZodString;
15645
+ timelinePage: z$1.ZodObject<{
15646
+ historySnapshot: z$1.ZodString;
15647
+ olderCursor: z$1.ZodNullable<z$1.ZodObject<{
15648
+ anchorId: z$1.ZodString;
15649
+ anchorSeq: z$1.ZodNumber;
15650
+ }, z$1.core.$strict>>;
15651
+ olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
15652
+ olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
15653
+ returnedSegmentCount: z$1.ZodNumber;
15654
+ }, z$1.core.$strict>;
15655
+ }, z$1.core.$strip>;
15656
+ type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
15657
+ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
15658
+ delta: z$1.ZodObject<{
15659
+ afterTag: z$1.ZodString;
15660
+ fields: z$1.ZodObject<{
15661
+ activeBackgroundCommands: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
15662
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
15663
+ createdAt: z$1.ZodNumber;
15664
+ description: z$1.ZodString;
15665
+ error: z$1.ZodNullable<z$1.ZodString>;
15666
+ id: z$1.ZodString;
15667
+ itemId: z$1.ZodString;
15668
+ kind: z$1.ZodLiteral<"work">;
15669
+ model: z$1.ZodNullable<z$1.ZodString>;
15670
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
15671
+ badge: z$1.ZodOptional<z$1.ZodObject<{
15672
+ glyph: z$1.ZodString;
15673
+ hint: z$1.ZodString;
15674
+ label: z$1.ZodString;
15675
+ tone: z$1.ZodEnum<{
15676
+ destructive: "destructive";
15677
+ neutral: "neutral";
15678
+ }>;
15679
+ }, z$1.core.$strip>>;
15680
+ detail: z$1.ZodOptional<z$1.ZodString>;
15681
+ icon: z$1.ZodObject<{
15682
+ glyph: z$1.ZodString;
15683
+ }, z$1.core.$strip>;
15684
+ label: z$1.ZodObject<{
15685
+ completed: z$1.ZodString;
15686
+ pending: z$1.ZodString;
15687
+ }, z$1.core.$strip>;
15688
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
15689
+ tint: z$1.ZodOptional<z$1.ZodObject<{
15690
+ dark: z$1.ZodString;
15691
+ light: z$1.ZodString;
15692
+ }, z$1.core.$strip>>;
15693
+ title: z$1.ZodOptional<z$1.ZodString>;
15694
+ }, z$1.core.$strip>>;
15695
+ sourceSeqEnd: z$1.ZodNumber;
15696
+ sourceSeqStart: z$1.ZodNumber;
15697
+ startedAt: z$1.ZodNumber;
15698
+ status: z$1.ZodEnum<{
15699
+ completed: "completed";
15700
+ error: "error";
15701
+ interrupted: "interrupted";
15702
+ pending: "pending";
15703
+ }>;
15704
+ summary: z$1.ZodNullable<z$1.ZodString>;
15705
+ taskStatus: z$1.ZodEnum<{
15706
+ completed: "completed";
15707
+ failed: "failed";
15708
+ killed: "killed";
15709
+ paused: "paused";
15710
+ pending: "pending";
15711
+ running: "running";
15712
+ stopped: "stopped";
15713
+ }>;
15714
+ taskType: z$1.ZodString;
15715
+ threadId: z$1.ZodString;
15716
+ turnId: z$1.ZodNullable<z$1.ZodString>;
15717
+ usage: z$1.ZodNullable<z$1.ZodObject<{
15718
+ durationMs: z$1.ZodNumber;
15719
+ toolUses: z$1.ZodNumber;
15720
+ totalTokens: z$1.ZodNumber;
15721
+ }, z$1.core.$strip>>;
15722
+ workKind: z$1.ZodLiteral<"workflow">;
15723
+ workflow: z$1.ZodNullable<z$1.ZodObject<{
15724
+ agents: z$1.ZodArray<z$1.ZodObject<{
15725
+ agentType: z$1.ZodOptional<z$1.ZodString>;
15726
+ attempt: z$1.ZodNumber;
15727
+ cached: z$1.ZodBoolean;
15728
+ durationMs: z$1.ZodOptional<z$1.ZodNumber>;
15729
+ error: z$1.ZodOptional<z$1.ZodString>;
15730
+ index: z$1.ZodNumber;
15731
+ isolation: z$1.ZodOptional<z$1.ZodString>;
15732
+ label: z$1.ZodString;
15733
+ lastProgressAt: z$1.ZodNumber;
15734
+ lastToolName: z$1.ZodOptional<z$1.ZodString>;
15735
+ lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
15736
+ model: z$1.ZodString;
15737
+ phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
15738
+ phaseTitle: z$1.ZodOptional<z$1.ZodString>;
15739
+ promptPreview: z$1.ZodOptional<z$1.ZodString>;
15740
+ queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
15741
+ resultPreview: z$1.ZodOptional<z$1.ZodString>;
15742
+ startedAt: z$1.ZodOptional<z$1.ZodNumber>;
15743
+ state: z$1.ZodEnum<{
15744
+ done: "done";
15745
+ failed: "failed";
15746
+ queued: "queued";
15747
+ running: "running";
15748
+ skipped: "skipped";
15749
+ }>;
15750
+ tokens: z$1.ZodOptional<z$1.ZodNumber>;
15751
+ toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
15752
+ }, z$1.core.$strip>>;
15753
+ phases: z$1.ZodArray<z$1.ZodObject<{
15754
+ index: z$1.ZodNumber;
15755
+ kind: z$1.ZodOptional<z$1.ZodString>;
15756
+ title: z$1.ZodString;
15757
+ }, z$1.core.$strip>>;
15758
+ }, z$1.core.$strip>>;
15759
+ workflowName: z$1.ZodNullable<z$1.ZodString>;
15760
+ }, z$1.core.$strip>>>;
15761
+ activePromptMode: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
15762
+ mode: z$1.ZodLiteral<"plan">;
15763
+ prompt: z$1.ZodString;
15764
+ providerId: z$1.ZodString;
15765
+ }, z$1.core.$strict>>>;
15766
+ activeThinking: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
15767
+ id: z$1.ZodString;
15768
+ startedAt: z$1.ZodNumber;
15769
+ text: z$1.ZodString;
15770
+ updatedAt: z$1.ZodNumber;
15771
+ }, z$1.core.$strip>>>;
15772
+ activeWorkflows: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
15773
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
15774
+ createdAt: z$1.ZodNumber;
15775
+ description: z$1.ZodString;
15776
+ error: z$1.ZodNullable<z$1.ZodString>;
15777
+ id: z$1.ZodString;
15778
+ itemId: z$1.ZodString;
15779
+ kind: z$1.ZodLiteral<"work">;
15780
+ model: z$1.ZodNullable<z$1.ZodString>;
15781
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
15782
+ badge: z$1.ZodOptional<z$1.ZodObject<{
15783
+ glyph: z$1.ZodString;
15784
+ hint: z$1.ZodString;
15785
+ label: z$1.ZodString;
15786
+ tone: z$1.ZodEnum<{
15787
+ destructive: "destructive";
15788
+ neutral: "neutral";
15789
+ }>;
15790
+ }, z$1.core.$strip>>;
15791
+ detail: z$1.ZodOptional<z$1.ZodString>;
15792
+ icon: z$1.ZodObject<{
15793
+ glyph: z$1.ZodString;
15794
+ }, z$1.core.$strip>;
15795
+ label: z$1.ZodObject<{
15796
+ completed: z$1.ZodString;
15797
+ pending: z$1.ZodString;
15798
+ }, z$1.core.$strip>;
15799
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
15800
+ tint: z$1.ZodOptional<z$1.ZodObject<{
15801
+ dark: z$1.ZodString;
15802
+ light: z$1.ZodString;
15803
+ }, z$1.core.$strip>>;
15804
+ title: z$1.ZodOptional<z$1.ZodString>;
15805
+ }, z$1.core.$strip>>;
15806
+ sourceSeqEnd: z$1.ZodNumber;
15807
+ sourceSeqStart: z$1.ZodNumber;
15808
+ startedAt: z$1.ZodNumber;
15809
+ status: z$1.ZodEnum<{
15810
+ completed: "completed";
15811
+ error: "error";
15812
+ interrupted: "interrupted";
15813
+ pending: "pending";
15814
+ }>;
15815
+ summary: z$1.ZodNullable<z$1.ZodString>;
15816
+ taskStatus: z$1.ZodEnum<{
15817
+ completed: "completed";
15818
+ failed: "failed";
15819
+ killed: "killed";
15820
+ paused: "paused";
15821
+ pending: "pending";
15822
+ running: "running";
15823
+ stopped: "stopped";
15824
+ }>;
15825
+ taskType: z$1.ZodString;
15826
+ threadId: z$1.ZodString;
15827
+ turnId: z$1.ZodNullable<z$1.ZodString>;
15828
+ usage: z$1.ZodNullable<z$1.ZodObject<{
15829
+ durationMs: z$1.ZodNumber;
15830
+ toolUses: z$1.ZodNumber;
15831
+ totalTokens: z$1.ZodNumber;
15832
+ }, z$1.core.$strip>>;
15833
+ workKind: z$1.ZodLiteral<"workflow">;
15834
+ workflow: z$1.ZodNullable<z$1.ZodObject<{
15835
+ agents: z$1.ZodArray<z$1.ZodObject<{
15836
+ agentType: z$1.ZodOptional<z$1.ZodString>;
15837
+ attempt: z$1.ZodNumber;
15838
+ cached: z$1.ZodBoolean;
15839
+ durationMs: z$1.ZodOptional<z$1.ZodNumber>;
15840
+ error: z$1.ZodOptional<z$1.ZodString>;
15841
+ index: z$1.ZodNumber;
15842
+ isolation: z$1.ZodOptional<z$1.ZodString>;
15843
+ label: z$1.ZodString;
15844
+ lastProgressAt: z$1.ZodNumber;
15845
+ lastToolName: z$1.ZodOptional<z$1.ZodString>;
15846
+ lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
15847
+ model: z$1.ZodString;
15848
+ phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
15849
+ phaseTitle: z$1.ZodOptional<z$1.ZodString>;
15850
+ promptPreview: z$1.ZodOptional<z$1.ZodString>;
15851
+ queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
15852
+ resultPreview: z$1.ZodOptional<z$1.ZodString>;
15853
+ startedAt: z$1.ZodOptional<z$1.ZodNumber>;
15854
+ state: z$1.ZodEnum<{
15855
+ done: "done";
15856
+ failed: "failed";
15857
+ queued: "queued";
15858
+ running: "running";
15859
+ skipped: "skipped";
15860
+ }>;
15861
+ tokens: z$1.ZodOptional<z$1.ZodNumber>;
15862
+ toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
15863
+ }, z$1.core.$strip>>;
15864
+ phases: z$1.ZodArray<z$1.ZodObject<{
15865
+ index: z$1.ZodNumber;
15866
+ kind: z$1.ZodOptional<z$1.ZodString>;
15867
+ title: z$1.ZodString;
15868
+ }, z$1.core.$strip>>;
15869
+ }, z$1.core.$strip>>;
15870
+ workflowName: z$1.ZodNullable<z$1.ZodString>;
15871
+ }, z$1.core.$strip>>>;
15872
+ completedTurnDisplay: z$1.ZodOptional<z$1.ZodEnum<{
15873
+ collapse: "collapse";
15874
+ flat: "flat";
15875
+ }>>;
15876
+ contextBoundarySeq: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
15877
+ contextWindowUsage: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
15878
+ compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
15879
+ cost: z$1.ZodOptional<z$1.ZodObject<{
15880
+ amount: z$1.ZodNumber;
15881
+ currency: z$1.ZodString;
15882
+ }, z$1.core.$strip>>;
15883
+ estimated: z$1.ZodBoolean;
15884
+ modelContextWindow: z$1.ZodNumber;
15885
+ snapshot: z$1.ZodOptional<z$1.ZodObject<{
15886
+ autoCompactAtTokens: z$1.ZodNullable<z$1.ZodNumber>;
15887
+ capturedAt: z$1.ZodISODateTime;
15888
+ categories: z$1.ZodArray<z$1.ZodObject<{
15889
+ entries: z$1.ZodArray<z$1.ZodObject<{
15890
+ id: z$1.ZodString;
15891
+ label: z$1.ZodString;
15892
+ tokens: z$1.ZodNumber;
15893
+ }, z$1.core.$strip>>;
15894
+ id: z$1.ZodString;
15895
+ kind: z$1.ZodEnum<{
15896
+ deferred: "deferred";
15897
+ free: "free";
15898
+ reserved: "reserved";
15899
+ used: "used";
15900
+ }>;
15901
+ label: z$1.ZodString;
15902
+ tokens: z$1.ZodNumber;
15903
+ }, z$1.core.$strip>>;
15904
+ contextWindowTokens: z$1.ZodNumber;
15905
+ estimated: z$1.ZodBoolean;
15906
+ model: z$1.ZodString;
15907
+ providerSessionId: z$1.ZodString;
15908
+ providerTurnId: z$1.ZodNullable<z$1.ZodString>;
15909
+ usedTokens: z$1.ZodNumber;
15910
+ }, z$1.core.$strip>>;
15911
+ usedTokens: z$1.ZodNumber;
15912
+ }, z$1.core.$strip>>>;
15913
+ goal: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
15914
+ objective: z$1.ZodString;
15915
+ sourceSeq: z$1.ZodNumber;
15916
+ status: z$1.ZodEnum<{
15917
+ active: "active";
15918
+ budgetLimited: "budgetLimited";
15919
+ complete: "complete";
15920
+ paused: "paused";
15788
15921
  }>;
15789
- threadId: z$1.ZodString;
15922
+ timeUsedSeconds: z$1.ZodNumber;
15923
+ tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
15924
+ tokensUsed: z$1.ZodNumber;
15925
+ updatedAt: z$1.ZodNumber;
15790
15926
  }, z$1.core.$strip>>>;
15791
- }, z$1.core.$strip>, z$1.ZodObject<{
15792
- kind: z$1.ZodLiteral<"tool-call">;
15793
- suppress: z$1.ZodBoolean;
15794
- toolName: z$1.ZodString;
15795
- }, z$1.core.$strip>, z$1.ZodObject<{
15796
- kind: z$1.ZodLiteral<"directory">;
15797
- path: z$1.ZodString;
15798
- }, z$1.core.$strip>], "kind">>;
15799
- text: z$1.ZodString;
15800
- threadId: z$1.ZodString;
15801
- turnId: z$1.ZodNullable<z$1.ZodString>;
15802
- turnRequest: z$1.ZodObject<{
15803
- isGrouped: z$1.ZodBoolean;
15804
- kind: z$1.ZodEnum<{
15805
- message: "message";
15806
- steer: "steer";
15807
- }>;
15808
- status: z$1.ZodEnum<{
15809
- accepted: "accepted";
15810
- pending: "pending";
15811
- rejected: "rejected";
15812
- }>;
15813
- }, z$1.core.$strip>;
15814
- }, z$1.core.$strip>, z$1.ZodObject<{
15815
- attachments: z$1.ZodNullable<z$1.ZodObject<{
15816
- imageUrls: z$1.ZodArray<z$1.ZodString>;
15817
- localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15927
+ modelFallback: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
15928
+ detectedAt: z$1.ZodNumber;
15929
+ fallbackModel: z$1.ZodString;
15930
+ message: z$1.ZodString;
15931
+ originalModel: z$1.ZodString;
15932
+ reason: z$1.ZodEnum<{
15933
+ provider: "provider";
15934
+ refusal: "refusal";
15935
+ }>;
15936
+ sourceSeq: z$1.ZodNumber;
15937
+ }, z$1.core.$strip>>>;
15938
+ pendingTodos: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
15939
+ items: z$1.ZodArray<z$1.ZodObject<{
15940
+ id: z$1.ZodString;
15941
+ status: z$1.ZodEnum<{
15942
+ completed: "completed";
15943
+ in_progress: "in_progress";
15944
+ pending: "pending";
15945
+ }>;
15946
+ text: z$1.ZodString;
15947
+ }, z$1.core.$strip>>;
15948
+ sourceSeq: z$1.ZodNumber;
15949
+ updatedAt: z$1.ZodNumber;
15950
+ }, z$1.core.$strip>>>;
15951
+ providerCommands: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
15952
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
15953
+ description: z$1.ZodNullable<z$1.ZodString>;
15818
15954
  name: z$1.ZodString;
15819
- path: z$1.ZodString;
15820
- sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15821
- }, z$1.core.$strip>>;
15822
- localFilePaths: z$1.ZodArray<z$1.ZodString>;
15823
- localFiles: z$1.ZodNumber;
15824
- localImagePaths: z$1.ZodArray<z$1.ZodString>;
15825
- localImages: z$1.ZodNumber;
15826
- webImages: z$1.ZodNumber;
15827
- }, z$1.core.$strip>>;
15828
- createdAt: z$1.ZodNumber;
15829
- id: z$1.ZodString;
15830
- kind: z$1.ZodLiteral<"conversation">;
15831
- messageSeq: z$1.ZodNumber;
15832
- role: z$1.ZodLiteral<"assistant">;
15833
- sourceSeqEnd: z$1.ZodNumber;
15834
- sourceSeqStart: z$1.ZodNumber;
15835
- startedAt: z$1.ZodNumber;
15836
- text: z$1.ZodString;
15837
- threadId: z$1.ZodString;
15838
- turnId: z$1.ZodNullable<z$1.ZodString>;
15839
- turnRequest: z$1.ZodNull;
15840
- }, z$1.core.$strip>], "role">;
15841
- }, z$1.core.$strip>;
15842
- type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
15843
- declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
15844
- limit: z$1.ZodOptional<z$1.ZodString>;
15845
- query: z$1.ZodOptional<z$1.ZodString>;
15846
- }, z$1.core.$strip>;
15847
- type ThreadStorageFilesQuery = z$1.infer<typeof threadStorageFilesQuerySchema>;
15848
- declare const threadStoragePathsQuerySchema: z$1.ZodObject<{
15849
- includeDirectories: z$1.ZodEnum<{
15850
- false: "false";
15851
- true: "true";
15852
- }>;
15853
- includeFiles: z$1.ZodEnum<{
15854
- false: "false";
15855
- true: "true";
15856
- }>;
15857
- limit: z$1.ZodOptional<z$1.ZodString>;
15858
- query: z$1.ZodOptional<z$1.ZodString>;
15859
- }, z$1.core.$strip>;
15860
- type ThreadStoragePathsQuery = z$1.infer<typeof threadStoragePathsQuerySchema>;
15861
- declare const threadStorageLocationResponseSchema: z$1.ZodObject<{
15862
- hostId: z$1.ZodString;
15863
- storageRootPath: z$1.ZodString;
15864
- }, z$1.core.$strict>;
15865
- type ThreadStorageLocationResponse = z$1.infer<typeof threadStorageLocationResponseSchema>;
15866
- declare const timelineTurnSummaryDetailsResponseSchema: z$1.ZodObject<{
15867
- historySnapshot: z$1.ZodOptional<z$1.ZodString>;
15868
- olderCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
15869
- rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
15870
- }, z$1.core.$strip>;
15871
- type TimelineTurnSummaryDetailsResponse = z$1.infer<typeof timelineTurnSummaryDetailsResponseSchema>;
15872
- declare const threadTimelineResponseSchema: z$1.ZodObject<{
15955
+ origin: z$1.ZodEnum<{
15956
+ builtin: "builtin";
15957
+ project: "project";
15958
+ user: "user";
15959
+ }>;
15960
+ source: z$1.ZodEnum<{
15961
+ command: "command";
15962
+ skill: "skill";
15963
+ }>;
15964
+ }, z$1.core.$strip>>>>;
15965
+ sessionOptions: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
15966
+ category: z$1.ZodNullable<z$1.ZodString>;
15967
+ description: z$1.ZodNullable<z$1.ZodString>;
15968
+ id: z$1.ZodString;
15969
+ label: z$1.ZodString;
15970
+ pendingValue: z$1.ZodNullable<z$1.ZodString>;
15971
+ type: z$1.ZodLiteral<"select">;
15972
+ value: z$1.ZodString;
15973
+ values: z$1.ZodArray<z$1.ZodObject<{
15974
+ description: z$1.ZodNullable<z$1.ZodString>;
15975
+ group: z$1.ZodNullable<z$1.ZodString>;
15976
+ id: z$1.ZodString;
15977
+ label: z$1.ZodString;
15978
+ }, z$1.core.$strip>>;
15979
+ }, z$1.core.$strip>, z$1.ZodObject<{
15980
+ category: z$1.ZodNullable<z$1.ZodString>;
15981
+ description: z$1.ZodNullable<z$1.ZodString>;
15982
+ id: z$1.ZodString;
15983
+ label: z$1.ZodString;
15984
+ pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
15985
+ type: z$1.ZodLiteral<"boolean">;
15986
+ value: z$1.ZodBoolean;
15987
+ }, z$1.core.$strip>], "type">>>>;
15988
+ timelinePage: z$1.ZodOptional<z$1.ZodObject<{
15989
+ historySnapshot: z$1.ZodOptional<z$1.ZodString>;
15990
+ olderCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
15991
+ anchorId: z$1.ZodString;
15992
+ anchorSeq: z$1.ZodNumber;
15993
+ }, z$1.core.$strict>>>;
15994
+ olderRowUpdates: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>>;
15995
+ olderRowsSourceSeqEnd: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
15996
+ returnedSegmentCount: z$1.ZodOptional<z$1.ZodNumber>;
15997
+ }, z$1.core.$strict>>;
15998
+ }, z$1.core.$strip>;
15999
+ rowOrder: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTuple<[z$1.ZodNumber, z$1.ZodNumber], null>]>>>;
16000
+ upsertRows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
16001
+ }, z$1.core.$strip>;
16002
+ maxSeq: z$1.ZodNumber;
16003
+ tag: z$1.ZodString;
16004
+ }, z$1.core.$strip>, z$1.ZodObject<{
15873
16005
  activeBackgroundCommands: z$1.ZodArray<z$1.ZodObject<{
15874
16006
  completedAt: z$1.ZodNullable<z$1.ZodNumber>;
15875
16007
  createdAt: z$1.ZodNumber;
@@ -16122,10 +16254,6 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16122
16254
  }, z$1.core.$strip>>;
16123
16255
  usedTokens: z$1.ZodNumber;
16124
16256
  }, z$1.core.$strip>>;
16125
- delta: z$1.ZodOptional<z$1.ZodObject<{
16126
- rowOrder: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
16127
- upsertRows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
16128
- }, z$1.core.$strip>>;
16129
16257
  goal: z$1.ZodNullable<z$1.ZodObject<{
16130
16258
  objective: z$1.ZodString;
16131
16259
  sourceSeq: z$1.ZodNumber;
@@ -16203,6 +16331,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16203
16331
  type: z$1.ZodLiteral<"boolean">;
16204
16332
  value: z$1.ZodBoolean;
16205
16333
  }, z$1.core.$strip>], "type">>>;
16334
+ tag: z$1.ZodString;
16206
16335
  timelinePage: z$1.ZodObject<{
16207
16336
  historySnapshot: z$1.ZodString;
16208
16337
  olderCursor: z$1.ZodNullable<z$1.ZodObject<{
@@ -16213,8 +16342,8 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16213
16342
  olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
16214
16343
  returnedSegmentCount: z$1.ZodNumber;
16215
16344
  }, z$1.core.$strict>;
16216
- }, z$1.core.$strip>;
16217
- type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
16345
+ }, z$1.core.$strip>]>;
16346
+ type ThreadTimelineReadResponse = z$1.infer<typeof threadTimelineReadResponseSchema>;
16218
16347
  declare const threadConversationOutlineQuerySchema: z$1.ZodObject<{
16219
16348
  role: z$1.ZodOptional<z$1.ZodEnum<{
16220
16349
  assistant: "assistant";
@@ -16922,32 +17051,13 @@ type EnvironmentUpdateFields = EnvironmentMergeBaseBranchUpdate | EnvironmentNam
16922
17051
  type EnvironmentUpdateArgs = EnvironmentUpdateFields & {
16923
17052
  environmentId: string;
16924
17053
  };
16925
- interface EnvironmentStatusArgs extends EnvironmentStatusQuery {
16926
- environmentId: string;
16927
- signal?: AbortSignal;
16928
- }
16929
17054
  type EnvironmentDiffArgs = EnvironmentDiffQuery & {
16930
17055
  environmentId: string;
16931
17056
  signal?: AbortSignal;
16932
17057
  };
16933
- type EnvironmentDiffFilesArgs = EnvironmentDiffArgs & {
16934
- ignoreWhitespace?: boolean;
16935
- };
16936
- type EnvironmentDiffFileArgs = EnvironmentDiffFileQuery & {
16937
- environmentId: string;
16938
- signal?: AbortSignal;
16939
- };
16940
- interface EnvironmentDiffBranchesArgs extends EnvironmentDiffBranchesQuery {
16941
- environmentId: string;
16942
- signal?: AbortSignal;
16943
- }
16944
17058
  interface EnvironmentCommitArgs {
16945
17059
  environmentId: string;
16946
17060
  }
16947
- type EnvironmentDiffPatchArgs = EnvironmentDiffPatchRequest & {
16948
- environmentId: string;
16949
- signal?: AbortSignal;
16950
- };
16951
17061
  type EnvironmentDiffViewedMarkArgs = EnvironmentDiffViewedMarkRequest & {
16952
17062
  environmentId: string;
16953
17063
  };
@@ -16960,15 +17070,9 @@ interface EnvironmentPathsArgs extends EnvironmentPathsQuery {
16960
17070
  }
16961
17071
  type EnvironmentArchiveThreadsResult = EnvironmentArchiveThreadsResponse;
16962
17072
  type EnvironmentCommitResult = CommitActionResponse;
16963
- type EnvironmentDiffResult = EnvironmentDiffResponse;
16964
- type EnvironmentDiffBranchesResult = EnvironmentDiffBranchesResponse;
16965
- type EnvironmentDiffFileResult = EnvironmentDiffFileResponse;
16966
- type EnvironmentDiffFilesResult = EnvironmentDiffFilesResponse;
16967
- type EnvironmentDiffPatchResult = EnvironmentDiffPatchResponse;
16968
17073
  type EnvironmentDiffViewedResult = EnvironmentDiffViewedResponse;
16969
17074
  type EnvironmentGetResult = Environment;
16970
17075
  type EnvironmentPathsResult = WorkspacePathListResponse;
16971
- type EnvironmentStatusResult = EnvironmentStatusResponse;
16972
17076
  type EnvironmentUpdateResult = Environment;
16973
17077
  interface EnvironmentListArgs {
16974
17078
  environmentProviderId?: string;
@@ -17002,11 +17106,6 @@ interface EnvironmentsArea {
17002
17106
  }>;
17003
17107
  archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
17004
17108
  commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
17005
- diff(args: EnvironmentDiffArgs): Promise<EnvironmentDiffResult>;
17006
- diffBranches(args: EnvironmentDiffBranchesArgs): Promise<EnvironmentDiffBranchesResult>;
17007
- diffFile(args: EnvironmentDiffFileArgs): Promise<EnvironmentDiffFileResult>;
17008
- diffFiles(args: EnvironmentDiffFilesArgs): Promise<EnvironmentDiffFilesResult>;
17009
- diffPatch(args: EnvironmentDiffPatchArgs): Promise<EnvironmentDiffPatchResult>;
17010
17109
  experimental_diffViewed(args: EnvironmentDiffArgs & {
17011
17110
  paths?: string[];
17012
17111
  }): Promise<EnvironmentDiffViewedResult>;
@@ -17021,7 +17120,6 @@ interface EnvironmentsArea {
17021
17120
  listProviders(args?: EnvironmentListProvidersArgs): Promise<EnvironmentListProvidersResult>;
17022
17121
  delete(args: EnvironmentDeleteArgs): Promise<EnvironmentDeleteResult>;
17023
17122
  paths(args: EnvironmentPathsArgs): Promise<EnvironmentPathsResult>;
17024
- status(args: EnvironmentStatusArgs): Promise<EnvironmentStatusResult>;
17025
17123
  update(args: EnvironmentUpdateArgs): Promise<EnvironmentUpdateResult>;
17026
17124
  }
17027
17125
 
@@ -17029,6 +17127,12 @@ interface FileReadArgs {
17029
17127
  hostId?: string;
17030
17128
  path: string;
17031
17129
  rootPath?: string;
17130
+ /**
17131
+ * Read the file as it is at this git revision of the repository at
17132
+ * `rootPath` instead of from disk. Requires `rootPath`; `path` stays the
17133
+ * file's absolute path in the working tree.
17134
+ */
17135
+ ref?: string;
17032
17136
  signal?: AbortSignal;
17033
17137
  }
17034
17138
  interface FileWriteArgs {
@@ -18100,6 +18204,7 @@ type ThreadPluginMetadataResult = ThreadPluginMetadataResponse;
18100
18204
  type PluginThreadMetadataListResult = PluginThreadMetadataListResponse;
18101
18205
  type ThreadAncestorsListResult = ThreadAncestorsListResponse;
18102
18206
  type ThreadDescendantsListResult = ThreadDescendantsListResponse;
18207
+ type ThreadCascadeListResult = ThreadCascadeListResponse;
18103
18208
  type ThreadSpawnResult = ThreadResponse;
18104
18209
  type ThreadForkResult = ThreadResponse;
18105
18210
  type ThreadInteractionGetResult = PendingInteraction;
@@ -18111,6 +18216,7 @@ type ThreadEventsListResult = ThreadEventRow[];
18111
18216
  type ThreadEventWaitResult = ThreadEventRow | null;
18112
18217
  type ThreadContextResult = ThreadContextResponse;
18113
18218
  type ThreadTimelineResult = ThreadTimelineResponse;
18219
+ type ThreadTimelineReadResult = ThreadTimelineReadResponse;
18114
18220
  type ThreadArchiveResult = ThreadArchiveAllResponse;
18115
18221
  type ThreadOpenResult = ThreadOpenResponse;
18116
18222
  type ThreadPaneActionResult = ThreadPaneActionResponse;
@@ -18193,6 +18299,11 @@ interface ThreadAncestorsListArgs {
18193
18299
  threadIds: readonly string[];
18194
18300
  signal?: AbortSignal;
18195
18301
  }
18302
+ interface ThreadCascadeListArgs {
18303
+ threadIds: readonly string[];
18304
+ action: ThreadCascadeAction;
18305
+ signal?: AbortSignal;
18306
+ }
18196
18307
  interface ThreadDescendantsListArgs {
18197
18308
  threadIds: readonly string[];
18198
18309
  includeArchived?: boolean;
@@ -18460,6 +18571,16 @@ interface ThreadsArea {
18460
18571
  * Experimental: see docs/api_to_audit.md.
18461
18572
  */
18462
18573
  experimental_listDescendants(args: ThreadDescendantsListArgs): Promise<ThreadDescendantsListResult>;
18574
+ /**
18575
+ * Each of `threadIds` (1–200 per request) that exists and is not deleted,
18576
+ * with `cascadeThreadIds`: the visible threads that archiving
18577
+ * (`action: "archive"`) or deleting (`action: "delete"`) it would also
18578
+ * affect, matching the cascade `archiveAll` and `delete` apply. Archive
18579
+ * omits threads already archived; delete includes them. Hidden threads,
18580
+ * deleted threads and unknown ids are omitted.
18581
+ * Experimental: see docs/api_to_audit.md.
18582
+ */
18583
+ experimental_listCascade(args: ThreadCascadeListArgs): Promise<ThreadCascadeListResult>;
18463
18584
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
18464
18585
  queue: ThreadQueueArea;
18465
18586
  interactions: ThreadInteractionsArea;
@@ -18506,7 +18627,10 @@ interface ThreadsArea {
18506
18627
  stop(args: ThreadActionArgs): Promise<ThreadStopResult>;
18507
18628
  tabs: ThreadTabsArea;
18508
18629
  context(args: ThreadStatusArgs): Promise<ThreadContextResult>;
18509
- timeline(args: ThreadTimelineArgs): Promise<ThreadTimelineResult>;
18630
+ timeline(args: ThreadTimelineArgs & {
18631
+ afterTag?: undefined;
18632
+ }): Promise<ThreadTimelineResult>;
18633
+ timeline(args: ThreadTimelineArgs): Promise<ThreadTimelineReadResult>;
18510
18634
  timelineTurnSummaryDetails(args: ThreadTimelineTurnSummaryDetailsArgs): Promise<ThreadTimelineTurnSummaryDetailsResult>;
18511
18635
  storageFiles(args: ThreadStorageFilesArgs): Promise<ThreadStorageFilesResult>;
18512
18636
  storageLocation(args: ThreadStatusArgs): Promise<ThreadStorageLocationResult>;
@@ -18597,12 +18721,15 @@ interface ExperimentalPageBreadcrumb {
18597
18721
  /** Props passed to a `navPanel` component (it owns its whole route). */
18598
18722
  interface PluginNavPanelProps {
18599
18723
  /**
18600
- * The route remainder after the panel root, "" at the root. The panel's
18601
- * route is `/plugins/<pluginId>/<path>/*`, so a deep link like
18602
- * `/plugins/notes/notes/work/ideas.md` renders the panel with
18603
- * `subPath: "work/ideas.md"`. Navigate within the panel via
18604
- * `useBbNavigate().toPluginPanel(path, { subPath })` — browser
18605
- * back/forward then walks panel-internal history.
18724
+ * The route remainder after the panel root, "" at the root, as it appears
18725
+ * in the URL: each segment stays percent-encoded. The panel's route is
18726
+ * `/plugins/<pluginId>/<path>/*`, so a deep link like
18727
+ * `/plugins/notes/notes/work/my%20ideas.md` renders the panel with
18728
+ * `subPath: "work/my%20ideas.md"`. Decode each segment with
18729
+ * `decodeURIComponent` before using it. Navigate within the panel via
18730
+ * `useBbNavigate().toPluginPanel(path, { subPath })`, which takes
18731
+ * unencoded segments and encodes them — browser back/forward then walks
18732
+ * panel-internal history.
18606
18733
  */
18607
18734
  subPath: string;
18608
18735
  }
@@ -18612,23 +18739,33 @@ interface PluginNavPanelProps {
18612
18739
  * This slot is rendered only for an existing thread. Use
18613
18740
  * `experimental_newThreadPanelAction` for the root New thread screen.
18614
18741
  */
18615
- interface ExperimentalThreadActionTabProps {
18616
- threadId: string;
18742
+ interface ExperimentalThreadActionTabProps extends ExperimentalThreadTabProps {
18617
18743
  /**
18618
- * The JSON value the action's `openPanel` call passed (round-tripped
18619
- * through persistence, so the tab restores across reloads); null when the
18620
- * action opened the panel without params.
18744
+ * The JSON `params` the tab was opened with (round-tripped through
18745
+ * persistence, so the tab restores across reloads); null when it was
18746
+ * opened without params.
18621
18747
  */
18622
18748
  params: JsonValue$1 | null;
18623
18749
  }
18750
+ /** Props every thread tab receives, fixed or action. */
18751
+ interface ExperimentalThreadTabProps {
18752
+ threadId: string;
18753
+ /**
18754
+ * The thread's environment, taken from the thread so it is present on the
18755
+ * first render; null only when the thread has no environment. The tab reads
18756
+ * whatever it needs about the environment itself and handles loading and
18757
+ * failure there.
18758
+ */
18759
+ environment: ExperimentalThreadEnvironment | null;
18760
+ }
18624
18761
  /** Props passed to a panel tab opened by `experimental_newThreadPanelAction`. */
18625
18762
  interface PluginNewThreadPanelProps {
18626
18763
  /** Project selected in the root composer; null in projectless compose. */
18627
18764
  projectId: string | null;
18628
18765
  /**
18629
- * The JSON value the action's `openPanel` call passed (round-tripped
18630
- * through persistence, so the tab restores across reloads); null when the
18631
- * action opened the panel without params.
18766
+ * The JSON `params` the tab was opened with (round-tripped through
18767
+ * persistence, so the tab restores across reloads); null when it was
18768
+ * opened without params.
18632
18769
  */
18633
18770
  params: JsonValue$1 | null;
18634
18771
  }
@@ -19082,7 +19219,8 @@ interface ExperimentalDiffFullFileContents {
19082
19219
  * Props of the host-owned `experimental_SourceCode` component — BB's source
19083
19220
  * viewer. The host owns syntax highlighting, gutters, wrapping, line-selection
19084
19221
  * presentation, and the live BB code theme; the caller owns loading the text
19085
- * and any surrounding chrome.
19222
+ * and any surrounding chrome. Inside a thread view, selected lines offer Add to
19223
+ * chat, which quotes them into that thread's composer.
19086
19224
  */
19087
19225
  interface SourceCodeProps {
19088
19226
  /** The complete source text to render. */
@@ -19104,8 +19242,9 @@ interface SourceCodeProps {
19104
19242
  * The host owns patch normalization (a patch without a `diff --git` header is
19105
19243
  * completed from `path`), syntax highlighting, unified/split presentation,
19106
19244
  * gutters, line-selection presentation, optional full-file context expansion,
19107
- * and the live BB code theme. Content that cannot be parsed as a patch
19108
- * degrades to plain monospace text.
19245
+ * and the live BB code theme. Inside a thread view, selected lines offer Add
19246
+ * to chat, which quotes them into that thread's composer. Content that cannot
19247
+ * be parsed as a patch degrades to plain monospace text.
19109
19248
  */
19110
19249
  interface DiffProps {
19111
19250
  /** Unified patch text for exactly ONE file. */
@@ -19407,22 +19546,6 @@ interface PluginNavPanelRegistration {
19407
19546
  */
19408
19547
  headerContent?: ComponentType<PluginNavPanelProps>;
19409
19548
  }
19410
- /**
19411
- * What a plugin action passes when it asks the host to open one of its panel
19412
- * tabs. Shared by every `openPanel` entry point so a plugin registering more
19413
- * than one kind of action can write a single open routine;
19414
- * `PluginTargetedPanelActionOpenOptions` adds the `actionId` a caller
19415
- * outside a panel action must pass to name the panel it wants.
19416
- */
19417
- interface PluginPanelActionOpenOptions {
19418
- /** Tab label. Default: the action's `title`. */
19419
- title?: string;
19420
- /**
19421
- * Persisted with the tab and handed to the component as its `params` prop.
19422
- * Must be a JSON value; anything else is a declined open.
19423
- */
19424
- params?: JsonValue$1;
19425
- }
19426
19549
  /**
19427
19550
  * Context handed to a thread action tab's `run`.
19428
19551
  *
@@ -19432,23 +19555,8 @@ interface PluginPanelActionOpenOptions {
19432
19555
  interface ExperimentalThreadTabActionContext {
19433
19556
  /** The thread whose panel launcher invoked the action. */
19434
19557
  threadId: string;
19435
- /**
19436
- * Open a tab in the thread's side panel rendering this action's
19437
- * `component`. `title` labels the tab (default: the action's `title`);
19438
- * `params` must be JSON-serializable — it is persisted with the tab and
19439
- * reaches the component as its `params` prop. Opening with params
19440
- * identical to an already-open tab of this action focuses that tab
19441
- * (updating its title) instead of duplicating it. May be called more than
19442
- * once (different params ⇒ multiple tabs) or not at all.
19443
- *
19444
- * Returns true when the host accepted the open; false when it declined —
19445
- * from this launcher, only a `params` that is not a JSON value. The true /
19446
- * false contract is shared with `messageAction`'s `openPanel` and
19447
- * `useBbNavigate().openThreadPanel` (which decline for more reasons) so one
19448
- * open routine can serve every action kind. A decline is never thrown: the
19449
- * host logs it and reports it here.
19450
- */
19451
- openPanel(options?: PluginPanelActionOpenOptions): boolean;
19558
+ /** The side panel of the thread view that invoked the action. */
19559
+ experimental_panel: ExperimentalPanelController;
19452
19560
  }
19453
19561
  /** Where a plugin tab belongs. Navigation panels are owned by the registering plugin. */
19454
19562
  type ExperimentalTabContext = {
@@ -19481,14 +19589,12 @@ type ExperimentalTabLifecycle<Props, Context> = {
19481
19589
  /** Default persisted params when opened without explicit params. */
19482
19590
  params?: JsonValue$1;
19483
19591
  run?(context: Context & {
19484
- openPanel(options?: PluginPanelActionOpenOptions): boolean;
19592
+ experimental_panel: ExperimentalPanelController;
19485
19593
  }): void | Promise<void>;
19486
19594
  };
19487
19595
  type ExperimentalTabContextProps<C extends ExperimentalTabContext> = C extends {
19488
19596
  kind: "thread";
19489
- } ? {
19490
- threadId: string;
19491
- } : PluginNavPanelProps;
19597
+ } ? ExperimentalThreadTabProps : PluginNavPanelProps;
19492
19598
  type ExperimentalTabInput<C extends ExperimentalTabContext, A extends "action" | "fixed"> = {
19493
19599
  id: string;
19494
19600
  title: string;
@@ -19502,16 +19608,14 @@ type ExperimentalTabInput<C extends ExperimentalTabContext, A extends "action" |
19502
19608
  component: ComponentType<ExperimentalTabContextProps<C>>;
19503
19609
  run?: never;
19504
19610
  params?: never;
19505
- experimental_target?: C extends {
19506
- kind: "nav-panel";
19507
- } ? ExperimentalFixedTabTargetContract<JsonValue$1> : never;
19611
+ experimental_target?: ExperimentalFixedTabTargetContract<JsonValue$1>;
19508
19612
  } : {
19509
19613
  component: ComponentType<ExperimentalTabContextProps<C> & {
19510
19614
  params: JsonValue$1 | null;
19511
19615
  }>;
19512
19616
  params?: JsonValue$1;
19513
19617
  run?(context: ExperimentalTabContextProps<C> & {
19514
- openPanel(options?: PluginPanelActionOpenOptions): boolean;
19618
+ experimental_panel: ExperimentalPanelController;
19515
19619
  }): void | Promise<void>;
19516
19620
  experimental_target?: never;
19517
19621
  });
@@ -19520,15 +19624,14 @@ type ExperimentalTabRegistration = ExperimentalTabCommon & (({
19520
19624
  context: {
19521
19625
  kind: "thread";
19522
19626
  };
19523
- useVisible?(props: {
19524
- threadId: string;
19525
- }): boolean;
19627
+ useVisible?(props: ExperimentalThreadTabProps): boolean;
19628
+ } & ((ExperimentalTabLifecycle<ExperimentalThreadTabProps, ExperimentalThreadTabProps> & {
19629
+ availability: "action";
19526
19630
  experimental_target?: never;
19527
- } & ExperimentalTabLifecycle<{
19528
- threadId: string;
19529
- }, {
19530
- threadId: string;
19531
- }>) | ({
19631
+ }) | (ExperimentalTabLifecycle<ExperimentalThreadTabProps, ExperimentalThreadTabProps> & {
19632
+ availability: "fixed";
19633
+ experimental_target?: ExperimentalFixedTabTargetContract<JsonValue$1>;
19634
+ }))) | ({
19532
19635
  context: {
19533
19636
  kind: "nav-panel";
19534
19637
  panelId: string;
@@ -19546,11 +19649,10 @@ interface PluginNewThreadPanelActionContext {
19546
19649
  /** Project selected in the root composer; null in projectless compose. */
19547
19650
  projectId: string | null;
19548
19651
  /**
19549
- * Open a tab in the root New thread screen's side panel rendering this
19550
- * action's `component`. The title, params, deduplication, return value, and
19551
- * error semantics match thread action tabs.
19652
+ * The New thread screen's side panel. Address this action's tab as
19653
+ * `{ id, context: { kind: "thread" }, availability: "action" }`.
19552
19654
  */
19553
- openPanel(options?: PluginPanelActionOpenOptions): boolean;
19655
+ experimental_panel: ExperimentalPanelController;
19554
19656
  }
19555
19657
  /** Registration for the root New thread screen's panel Actions list. */
19556
19658
  interface PluginNewThreadPanelActionRegistration {
@@ -20072,8 +20174,8 @@ interface ExperimentalThreadInfoProps {
20072
20174
  threadId: string;
20073
20175
  projectId: string;
20074
20176
  /**
20075
- * The thread's environment, or null when the thread has no environment,
20076
- * its host is not active, or the environment is not a usable checkout.
20177
+ * The thread's environment, taken from the thread; null only when the
20178
+ * thread has no environment. Read its state (host, checkout, git) yourself.
20077
20179
  */
20078
20180
  environment: ExperimentalThreadEnvironment | null;
20079
20181
  }
@@ -20338,12 +20440,30 @@ interface PluginThreadActionItemInput<Data> {
20338
20440
  data: Data;
20339
20441
  /** The registering plugin's `useSdk()` client. */
20340
20442
  sdk: PluginBrowserBbSdk;
20443
+ /** The registering plugin's `useBbNavigate()`. */
20444
+ navigate: BbNavigate;
20341
20445
  /**
20342
- * The registering plugin's `useBbNavigate()`. Thread menus are not inside a
20343
- * side panel, so `openThreadPanel` opens in the focused thread view, as
20344
- * plugin commands do, and returns false when no thread view is open.
20446
+ * The focused surface's side panel, as for plugin commands. Thread menus
20447
+ * are not inside a side panel, so calls return false when the focused
20448
+ * surface has no such tab.
20345
20449
  */
20450
+ experimental_panel: ExperimentalPanelController;
20451
+ }
20452
+ /**
20453
+ * What a registration's `experimental_bulkItem` receives for a selection
20454
+ * of several threads.
20455
+ */
20456
+ interface PluginThreadActionBulkItemInput<Data> {
20457
+ /** The selected threads in the surface's list order; always two or more. */
20458
+ threads: readonly PluginThreadActionTarget[];
20459
+ /** What `useData` last returned; undefined when the registration has none. */
20460
+ data: Data;
20461
+ /** The registering plugin's `useSdk()` client. */
20462
+ sdk: PluginBrowserBbSdk;
20463
+ /** The registering plugin's `useBbNavigate()`, as for `item`. */
20346
20464
  navigate: BbNavigate;
20465
+ /** The focused surface's side panel, as for `item`. */
20466
+ experimental_panel: ExperimentalPanelController;
20347
20467
  }
20348
20468
  /**
20349
20469
  * Add an action to every thread actions menu: the thread header's menu, the
@@ -20378,6 +20498,15 @@ interface PluginThreadActionRegistration<Data = undefined> {
20378
20498
  order?: number;
20379
20499
  useData?(input: PluginThreadActionDataInput): Data;
20380
20500
  item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
20501
+ /**
20502
+ * The action for several selected threads at once, shown when
20503
+ * `experimental_ThreadActionsContextMenu` gets an `experimental_bulkThreads`
20504
+ * (see {@link PluginThreadActionsContextMenuProps}). Pure and
20505
+ * synchronous like `item`, with every selected thread in `useData`'s
20506
+ * `threadIds`; `run` acts on all of them. Omit it, or return null, to leave
20507
+ * the action out of selection menus. Experimental: see docs/api_to_audit.md.
20508
+ */
20509
+ experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
20381
20510
  }
20382
20511
  /**
20383
20512
  * A thread action as {@link PluginSdkApp.experimental_useThreadActions}
@@ -20464,6 +20593,18 @@ interface PluginThreadActionsContextMenuProps extends PluginThreadActionsMenuBas
20464
20593
  disabled?: boolean;
20465
20594
  /** Closes the menu and suppresses opening while the row is being dragged. */
20466
20595
  dragging?: boolean;
20596
+ /**
20597
+ * The selected threads in list order when the row is part of a multi-row
20598
+ * selection. With two or more, the menu acts on all of them: it lists every
20599
+ * registration's `experimental_bulkItem` under a count of the
20600
+ * selection, including bb's own Mark read, Pin, Archive and Delete, which
20601
+ * confirm and clean up as the single-thread actions do, then `inline`.
20602
+ * Omit it, or pass fewer than two, for `thread`'s own menu. Experimental:
20603
+ * see docs/api_to_audit.md.
20604
+ */
20605
+ experimental_bulkThreads?: readonly PluginThreadActionTarget[];
20606
+ /** Called when Escape dismisses the desktop menu, e.g. to clear a selection. */
20607
+ onEscapeKeyDown?(event: KeyboardEvent): void;
20467
20608
  }
20468
20609
  /** One pane's place in the split layout, as fractions of the split area. */
20469
20610
  interface PluginSidebarSplitPane {
@@ -21326,16 +21467,6 @@ interface ThreadChatMessageReference {
21326
21467
  */
21327
21468
  experimental_messageSeq: number;
21328
21469
  }
21329
- /**
21330
- * What a caller that is *not* itself a panel action passes to open one — a
21331
- * `messageAction`'s `run`, or any component via `useBbNavigate()`. A panel
21332
- * action opening its own tab is already the target, so it passes the bare
21333
- * {@link PluginPanelActionOpenOptions} instead.
21334
- */
21335
- interface PluginTargetedPanelActionOpenOptions extends PluginPanelActionOpenOptions {
21336
- /** A thread action tab id registered by this same plugin. */
21337
- actionId: string;
21338
- }
21339
21470
  /** Context handed to a `messageAction`'s `run`. */
21340
21471
  interface PluginMessageActionContext {
21341
21472
  /** The thread whose timeline surfaced the action. */
@@ -21346,18 +21477,8 @@ interface PluginMessageActionContext {
21346
21477
  * the exact text the user highlighted inside `message`.
21347
21478
  */
21348
21479
  selectedText?: string;
21349
- /**
21350
- * Open one of this plugin's thread action tab components in the current
21351
- * thread's side panel — the registration-callback equivalent of
21352
- * `useBbNavigate().openThreadPanel`.
21353
- *
21354
- * Returns true when the host accepted the open; false when it declined —
21355
- * `params` was not a JSON value, the action id names no thread action tab
21356
- * of this plugin, or the surface has no side panel (only the main thread
21357
- * view does; a `ThreadChat` embedded in a plugin panel does not). A decline
21358
- * is never thrown: the host logs it and reports it here.
21359
- */
21360
- openPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
21480
+ /** The side panel of the thread view whose timeline surfaced the action. */
21481
+ experimental_panel: ExperimentalPanelController;
21361
21482
  /**
21362
21483
  * The composer of the thread the message is in, or null when that thread's
21363
21484
  * composer is not available on this surface. The same handle
@@ -21391,17 +21512,15 @@ interface PluginCommandContext {
21391
21512
  threadId: string | null;
21392
21513
  projectId: string | null;
21393
21514
  /**
21394
- * Open one of this plugin's panel components in the focused side panel.
21395
- * In a thread, `actionId` resolves against thread action tabs; on the New
21396
- * thread screen, it resolves against `experimental_newThreadPanelAction`.
21397
- * Register both slots with the same id to support commands on both screens.
21398
- *
21399
- * Returns true when the host accepted the open; false when it declined —
21400
- * `params` was not a JSON value, the action id names no matching panel action
21401
- * of this plugin on the focused surface, or the surface has no side panel.
21402
- * The palette opens anywhere, so guard with `isAvailable` rather than assuming.
21515
+ * The focused surface's side panel: the thread view or New thread screen
21516
+ * in focus, or the focused plugin page. On the New thread screen, a
21517
+ * `{ context: { kind: "thread" }, availability: "action" }` tab resolves
21518
+ * against `experimental_newThreadPanelAction` with the same id, so register
21519
+ * both slots with the same id to support commands on both screens. Calls
21520
+ * return false when the focused surface has no such tab or no side panel;
21521
+ * guard with `isAvailable` rather than assuming.
21403
21522
  */
21404
- openPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
21523
+ experimental_panel: ExperimentalPanelController;
21405
21524
  }
21406
21525
  /** A default keyboard shortcut. Omitted modifiers are false. */
21407
21526
  interface PluginCommandShortcut {
@@ -22744,6 +22863,13 @@ type ExperimentalLiveFileTarget = {
22744
22863
  kind: "workspace";
22745
22864
  environmentId: string;
22746
22865
  path: string;
22866
+ /**
22867
+ * Git revision to read instead of the working copy: `"HEAD"` or a 4–40
22868
+ * character commit SHA; other values make the target invalid. Previews
22869
+ * open read-only and are labelled with the ref; external opens ignore it
22870
+ * and open the working copy.
22871
+ */
22872
+ experimental_ref?: string;
22747
22873
  } | {
22748
22874
  kind: "host";
22749
22875
  hostId: string;
@@ -22777,10 +22903,6 @@ interface ExperimentalFileLinkProps extends Omit<ComponentPropsWithoutRef<"a">,
22777
22903
  target: ExperimentalLiveFileTarget;
22778
22904
  location?: ExperimentalFileLocation | null;
22779
22905
  }
22780
- /** The panel surface resolved by the component making the request. */
22781
- type ExperimentalAppPanelSurface = {
22782
- kind: "current";
22783
- };
22784
22906
  /**
22785
22907
  * The owning fixed tab's current memory-only target. It survives tab, panel,
22786
22908
  * and route remounts during the current app session, but is never persisted
@@ -22791,65 +22913,51 @@ interface ExperimentalFixedTabTargetState<Target extends JsonValue$1> {
22791
22913
  readonly target: Target;
22792
22914
  clear(): void;
22793
22915
  }
22794
- type ExperimentalOpenFixedTabOptions<Target extends JsonValue$1> = {
22795
- surface: ExperimentalAppPanelSurface;
22796
- tab: ExperimentalPluginFixedTabReference<Target>;
22797
- /** Omit to select the tab without replacing its current session target. */
22798
- target?: NoInfer<Target>;
22799
- } | {
22800
- surface: ExperimentalAppPanelSurface;
22801
- tab: {
22802
- id: string;
22803
- panelId?: never;
22804
- experimental_target?: never;
22805
- };
22806
- target?: never;
22807
- };
22808
- /** A navigation-page fixed tab with an owner-validated target. */
22916
+ /** A fixed tab with an owner-validated target. */
22809
22917
  type ExperimentalTabTargetReference<Target extends JsonValue$1> = ExperimentalTabReference & {
22810
- context: {
22811
- kind: "nav-panel";
22812
- panelId: string;
22813
- };
22814
22918
  availability: "fixed";
22815
22919
  experimental_target: ExperimentalFixedTabTargetContract<Target>;
22816
22920
  };
22817
- /** Open a registered tab on the current surface. Action inputs persist; fixed targets are session-only. */
22818
- type ExperimentalTabOpenOptions = {
22819
- surface: ExperimentalAppPanelSurface;
22820
- } & ({
22821
- tab: ExperimentalTabReference & {
22822
- availability: "action";
22823
- };
22824
- params?: JsonValue$1;
22825
- title?: string;
22826
- target?: never;
22827
- } | {
22921
+ /**
22922
+ * A registered tab of the calling plugin to open on the current surface.
22923
+ * Fixed tabs accept a session-only `target`, validated by the tab's
22924
+ * `experimental_target`. Action tabs accept persisted `params`, which
22925
+ * identify the instance (opening with the same params focuses the existing
22926
+ * tab), and a `title`.
22927
+ */
22928
+ type ExperimentalOpenTabOptions = {
22828
22929
  tab: ExperimentalTabReference & {
22829
- context: {
22830
- kind: "thread";
22831
- };
22832
22930
  availability: "fixed";
22833
22931
  };
22834
- target?: never;
22932
+ target?: JsonValue$1;
22835
22933
  params?: never;
22836
22934
  title?: never;
22837
22935
  } | {
22838
22936
  tab: ExperimentalTabReference & {
22839
- context: {
22840
- kind: "nav-panel";
22841
- panelId: string;
22842
- };
22843
- availability: "fixed";
22937
+ availability: "action";
22844
22938
  };
22845
- target?: JsonValue$1;
22846
- params?: never;
22847
- title?: never;
22848
- });
22849
- /** Surface-aware controller for selecting owner-scoped fixed tabs. */
22850
- interface ExperimentalAppPanel {
22851
- experimental_openTab(options: ExperimentalTabOpenOptions): boolean;
22852
- openFixedTab<Target extends JsonValue$1 = never>(options: ExperimentalOpenFixedTabOptions<Target>): boolean;
22939
+ params?: JsonValue$1;
22940
+ title?: string;
22941
+ target?: never;
22942
+ };
22943
+ /**
22944
+ * The side panel of one surface: a thread view, a plugin page, or the New
22945
+ * thread screen. Every call returns true when the host accepted it and false
22946
+ * when it declined: the surface has no side panel, the tab is not registered
22947
+ * by this plugin for this surface or is hidden, or `target`/`params` is not
22948
+ * a JSON value or fails the tab's validator. A decline is never thrown.
22949
+ */
22950
+ interface ExperimentalPanelController {
22951
+ /** Select the tab and reveal the side panel. */
22952
+ openTab(options: ExperimentalOpenTabOptions): boolean;
22953
+ /**
22954
+ * Close the side panel if this tab is showing — a fixed tab selected with
22955
+ * the panel open (`target` is ignored), or the action tab instance with the
22956
+ * same `params` selected — otherwise `openTab(options)`.
22957
+ */
22958
+ toggleTab(options: ExperimentalOpenTabOptions): boolean;
22959
+ /** Close the side panel. */
22960
+ close(): boolean;
22853
22961
  }
22854
22962
  /** Current app selection, derived from the route. */
22855
22963
  interface BbContext {
@@ -22869,8 +22977,9 @@ interface BbNavigate {
22869
22977
  toProject(projectId: string): void;
22870
22978
  /**
22871
22979
  * Navigate to one of this plugin's own nav panels by its `path`.
22872
- * `subPath` targets a location inside the panel (the component's
22873
- * `subPath` prop); `replace` swaps the current history entry instead of
22980
+ * `subPath` targets a location inside the panel as unencoded
22981
+ * `/`-separated segments; the component's `subPath` prop receives them
22982
+ * percent-encoded. `replace` swaps the current history entry instead of
22874
22983
  * pushing — use it for redirects so back does not bounce.
22875
22984
  */
22876
22985
  toPluginPanel(path: string, options?: {
@@ -22900,16 +23009,10 @@ interface BbNavigate {
22900
23009
  hostId?: string;
22901
23010
  }): void;
22902
23011
  /**
22903
- * Open one of this plugin's registered panel actions in the current
22904
- * surface's side panel: a thread action tab in a thread, or an
22905
- * `experimental_newThreadPanelAction` on the New thread screen. Plugin
22906
- * commands and thread actions use the focused thread view's opener. Returns false when the surface has no side
22907
- * panel actions (plugin pages) or the action is unavailable.
22908
- */
22909
- openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
22910
- /**
22911
- * Open an HTTP(S) URL using this client's BB browser preference. Returns
22912
- * false for schemes the host does not own. Experimental: see
23012
+ * Open an HTTP(S) URL using this client's BB browser preference, or request
23013
+ * an application link on this device with confirmation unless its scheme is approved when
23014
+ * the applicationLinks experiment is enabled. Returns false
23015
+ * for blocked or unsupported schemes. True means handled, not launched. See
22913
23016
  * docs/api_to_audit.md.
22914
23017
  */
22915
23018
  openUrl(url: string): boolean;
@@ -22955,6 +23058,13 @@ interface ExperimentalRpcQueryState<T> {
22955
23058
  refetch(): Promise<void>;
22956
23059
  }
22957
23060
  interface ExperimentalRpcKeyedQueryState<T, Selection = Record<string, T>> extends ExperimentalRpcQueryState<Selection> {
23061
+ /**
23062
+ * Read these keys again and keep every other loaded row, for retrying one
23063
+ * failed row without refreshing the rest. Keys must be among this query's
23064
+ * keys; others are ignored. Resolves once the read settles; failures update
23065
+ * `error` and retain data.
23066
+ */
23067
+ refetchKeys(keys: readonly string[]): Promise<void>;
22958
23068
  }
22959
23069
  interface ExperimentalRpcQueryOptions<Contract extends PluginRpcContract, Method extends keyof Contract & string> {
22960
23070
  contract: Contract;
@@ -23003,6 +23113,10 @@ interface ExperimentalRpcMutationState<Method extends PluginRpcMethodContract> {
23003
23113
  * shims the specifier to that object on `globalThis.__bbPluginRuntime`.
23004
23114
  */
23005
23115
  interface PluginSdkApp {
23116
+ /** List URL schemes approved for this BB site in the viewing client's localStorage. Core Settings uses the same implementation. */
23117
+ experimental_getApplicationLinkApprovals(): Promise<string[]>;
23118
+ /** Revoke one scheme, or all with null, for this BB site on this client. Does not grant permission. */
23119
+ experimental_revokeApplicationLinkApproval(scheme: string | null): Promise<string[]>;
23006
23120
  experimental_PluginRpcCallError: typeof experimental_PluginRpcCallError;
23007
23121
  experimental_useRpcRefresh(): {
23008
23122
  refresh(): void;
@@ -23067,8 +23181,28 @@ interface PluginSdkApp {
23067
23181
  */
23068
23182
  experimental_useQuestionFormHost(): ExperimentalQuestionFormHost;
23069
23183
  useBbNavigate(): BbNavigate;
23070
- /** Select one of this plugin's eligible fixed tabs on the current surface. */
23071
- experimental_useAppPanel(): ExperimentalAppPanel;
23184
+ /**
23185
+ * Whether `useBbNavigate().experimental_openFileExternally` can open this
23186
+ * target now: it resolves to a path on its host (a ready environment, a
23187
+ * host, or thread storage) and this client has an external file target for
23188
+ * that host. False while either is loading; the component re-renders when
23189
+ * the answer changes. Experimental: see docs/api_to_audit.md.
23190
+ */
23191
+ experimental_useCanOpenFileExternally(target: ExperimentalLiveFileTarget): boolean;
23192
+ /**
23193
+ * Whether the panel tab this component renders in is showing: it is the
23194
+ * selected tab of its pane and the side panel is open. False while the panel
23195
+ * is closed or suppressed, while another tab is selected, and outside a
23196
+ * panel tab. bb keeps a closed panel's tab mounted, so pause reads that only
23197
+ * feed what the tab draws while this is false. Works in fixed and action
23198
+ * tabs. Experimental: see docs/api_to_audit.md.
23199
+ */
23200
+ experimental_useTabVisible(): boolean;
23201
+ /**
23202
+ * The side panel of the surface the calling component renders in: the
23203
+ * thread view, the plugin page, or the New thread screen.
23204
+ */
23205
+ experimental_useAppPanel(): ExperimentalPanelController;
23072
23206
  /** Read or clear the owning tab's validated, session-scoped target. */
23073
23207
  experimental_useFixedTabTarget<Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
23074
23208
  useComposer(): PluginComposerApi;
@@ -23575,7 +23709,9 @@ declare const useBbContext: () => BbContext;
23575
23709
  declare const experimental_usePluginId: () => string;
23576
23710
  declare const experimental_useQuestionFormHost: () => ExperimentalQuestionFormHost;
23577
23711
  declare const useBbNavigate: () => BbNavigate;
23578
- declare const experimental_useAppPanel: () => ExperimentalAppPanel;
23712
+ declare const experimental_useCanOpenFileExternally: (target: ExperimentalLiveFileTarget) => boolean;
23713
+ declare const experimental_useTabVisible: () => boolean;
23714
+ declare const experimental_useAppPanel: () => ExperimentalPanelController;
23579
23715
  declare const experimental_useFixedTabTarget: <Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>) => ExperimentalFixedTabTargetState<Target> | null;
23580
23716
  declare const useComposer: () => PluginComposerApi;
23581
23717
  declare const useComposers: () => readonly PluginComposerApi[];
@@ -23624,6 +23760,8 @@ declare const experimental_useProviders: () => PluginProvidersState;
23624
23760
  declare const experimental_useCodeTheme: () => PluginCodeThemeState;
23625
23761
  declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
23626
23762
  declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => Promise<ExperimentalSaveFileOutcome>;
23763
+ declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
23764
+ declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
23627
23765
 
23628
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23629
- export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenFixedTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabOpenOptions, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
23766
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23767
+ export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };