@get-bb/plugin-sdk 0.6.80 → 0.6.89
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.
- package/README.md +26 -23
- package/bundled-types/bb-plugin-sdk-app.d.ts +1009 -896
- package/bundled-types/bb-plugin-sdk-internal-file-navigation-validation.d.ts +7 -0
- package/bundled-types/bb-plugin-sdk-process.d.ts +61 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +40 -21
- package/bundled-types/bb-plugin-sdk-testing.d.ts +11 -0
- package/bundled-types/bb-plugin-sdk.d.ts +1006 -894
- package/dist/app.js +4 -0
- package/dist/host.js +557 -13
- package/dist/index.js +1 -1
- package/dist/internal/file-navigation-validation.js +14 -3
- package/dist/internal/host-policy.js +1 -1
- package/dist/internal/plugin-app-collector.js +11 -3
- package/dist/internal/rpc-query-host.js +333 -489
- package/dist/process.js +694 -0
- package/dist/provider-bridge-acp-next.js +724 -317
- package/dist/provider-bridge-acp.js +724 -317
- package/dist/provider-bridge-testing.js +677 -43
- package/dist/provider-bridge-worker-entry.mjs +534 -66
- package/dist/provider-bridge.js +604 -212
- package/dist/testing/app.js +563 -617
- package/dist/testing/index.js +126 -108
- package/package.json +7 -1
|
@@ -230,8 +230,10 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
230
230
|
"thread.jump.7": "thread.jump.7";
|
|
231
231
|
"thread.jump.8": "thread.jump.8";
|
|
232
232
|
"thread.jump.9": "thread.jump.9";
|
|
233
|
+
"thread.markRead": "thread.markRead";
|
|
233
234
|
"thread.new": "thread.new";
|
|
234
235
|
"thread.next": "thread.next";
|
|
236
|
+
"thread.pin": "thread.pin";
|
|
235
237
|
"thread.previous": "thread.previous";
|
|
236
238
|
"thread.rename": "thread.rename";
|
|
237
239
|
"thread.search": "thread.search";
|
|
@@ -388,6 +390,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
388
390
|
changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
|
|
389
391
|
"host-connected": "host-connected";
|
|
390
392
|
"host-disconnected": "host-disconnected";
|
|
393
|
+
"provider-commands-changed": "provider-commands-changed";
|
|
391
394
|
"provider-model-catalog-changed": "provider-model-catalog-changed";
|
|
392
395
|
}>>>;
|
|
393
396
|
entity: z$1.ZodLiteral<"host">;
|
|
@@ -506,6 +509,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
506
509
|
serverMove: "serverMove";
|
|
507
510
|
sidebarMultiSelect: "sidebarMultiSelect";
|
|
508
511
|
timelinePush: "timelinePush";
|
|
512
|
+
unreadDividerAtAnswer: "unreadDividerAtAnswer";
|
|
509
513
|
}>, z$1.ZodBoolean>;
|
|
510
514
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
511
515
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
@@ -515,6 +519,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
515
519
|
serverMove: "serverMove";
|
|
516
520
|
sidebarMultiSelect: "sidebarMultiSelect";
|
|
517
521
|
timelinePush: "timelinePush";
|
|
522
|
+
unreadDividerAtAnswer: "unreadDividerAtAnswer";
|
|
518
523
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
519
524
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
520
525
|
|
|
@@ -5492,31 +5497,6 @@ declare const environmentPathsQuerySchema: z$1.ZodObject<{
|
|
|
5492
5497
|
query: z$1.ZodOptional<z$1.ZodString>;
|
|
5493
5498
|
}, z$1.core.$strip>;
|
|
5494
5499
|
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
5500
|
declare const environmentDiffQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5521
5501
|
target: z$1.ZodLiteral<"uncommitted">;
|
|
5522
5502
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -5530,50 +5510,6 @@ declare const environmentDiffQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
5530
5510
|
target: z$1.ZodLiteral<"commit">;
|
|
5531
5511
|
}, z$1.core.$strip>], "target">;
|
|
5532
5512
|
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
5513
|
declare const environmentArchiveThreadsResponseSchema: z$1.ZodObject<{
|
|
5578
5514
|
archivedThreadIds: z$1.ZodArray<z$1.ZodString>;
|
|
5579
5515
|
ok: z$1.ZodLiteral<true>;
|
|
@@ -5587,246 +5523,6 @@ declare const commitActionResponseSchema: z$1.ZodObject<{
|
|
|
5587
5523
|
ok: z$1.ZodLiteral<true>;
|
|
5588
5524
|
}, z$1.core.$strip>;
|
|
5589
5525
|
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
5526
|
declare const environmentDiffViewedResponseSchema: z$1.ZodObject<{
|
|
5831
5527
|
files: z$1.ZodArray<z$1.ZodObject<{
|
|
5832
5528
|
path: z$1.ZodString;
|
|
@@ -5867,7 +5563,6 @@ declare const environmentDiffViewedClearRequestSchema: z$1.ZodObject<{
|
|
|
5867
5563
|
}, z$1.core.$strip>], "type">;
|
|
5868
5564
|
}, z$1.core.$strict>;
|
|
5869
5565
|
type EnvironmentDiffViewedClearRequest = z$1.infer<typeof environmentDiffViewedClearRequestSchema>;
|
|
5870
|
-
type EnvironmentStatusResponse = z$1.infer<typeof environmentStatusResponseSchema>;
|
|
5871
5566
|
|
|
5872
5567
|
declare const providerUsageResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5873
5568
|
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -7969,6 +7664,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7969
7664
|
}, z$1.core.$strip>>;
|
|
7970
7665
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7971
7666
|
"host.read_file": HostDaemonCommandDescriptor<"host.read_file", z$1.ZodObject<{
|
|
7667
|
+
followRootSymlink: z$1.ZodBoolean;
|
|
7972
7668
|
ifNoneMatch: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7973
7669
|
kind: z$1.ZodLiteral<"any">;
|
|
7974
7670
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -8018,27 +7714,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8018
7714
|
revision: z$1.ZodString;
|
|
8019
7715
|
sizeBytes: z$1.ZodNumber;
|
|
8020
7716
|
}, 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
7717
|
"host.write_file": HostDaemonCommandDescriptor<"host.write_file", z$1.ZodObject<{
|
|
8043
7718
|
content: z$1.ZodString;
|
|
8044
7719
|
contentEncoding: z$1.ZodEnum<{
|
|
@@ -8468,264 +8143,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8468
8143
|
}, z$1.core.$strict>>;
|
|
8469
8144
|
truncated: z$1.ZodBoolean;
|
|
8470
8145
|
}, 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
8146
|
"server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
|
|
8730
8147
|
paths: z$1.ZodArray<z$1.ZodString>;
|
|
8731
8148
|
port: z$1.ZodNumber;
|
|
@@ -9340,6 +8757,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
9340
8757
|
hash: z$1.ZodString;
|
|
9341
8758
|
jsBytes: z$1.ZodNumber;
|
|
9342
8759
|
jsUrl: z$1.ZodString;
|
|
8760
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
9343
8761
|
sdkMajor: z$1.ZodNumber;
|
|
9344
8762
|
sdkVersion: z$1.ZodString;
|
|
9345
8763
|
}, z$1.core.$strip>>;
|
|
@@ -9460,6 +8878,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
9460
8878
|
hash: z$1.ZodString;
|
|
9461
8879
|
jsBytes: z$1.ZodNumber;
|
|
9462
8880
|
jsUrl: z$1.ZodString;
|
|
8881
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
9463
8882
|
sdkMajor: z$1.ZodNumber;
|
|
9464
8883
|
sdkVersion: z$1.ZodString;
|
|
9465
8884
|
}, z$1.core.$strip>>;
|
|
@@ -9646,6 +9065,7 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
9646
9065
|
hash: z$1.ZodString;
|
|
9647
9066
|
jsBytes: z$1.ZodNumber;
|
|
9648
9067
|
jsUrl: z$1.ZodString;
|
|
9068
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
9649
9069
|
sdkMajor: z$1.ZodNumber;
|
|
9650
9070
|
sdkVersion: z$1.ZodString;
|
|
9651
9071
|
}, z$1.core.$strip>>;
|
|
@@ -9829,6 +9249,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
9829
9249
|
hash: z$1.ZodString;
|
|
9830
9250
|
jsBytes: z$1.ZodNumber;
|
|
9831
9251
|
jsUrl: z$1.ZodString;
|
|
9252
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
9832
9253
|
sdkMajor: z$1.ZodNumber;
|
|
9833
9254
|
sdkVersion: z$1.ZodString;
|
|
9834
9255
|
}, z$1.core.$strip>>;
|
|
@@ -10764,8 +10185,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10764
10185
|
"thread.jump.7": "thread.jump.7";
|
|
10765
10186
|
"thread.jump.8": "thread.jump.8";
|
|
10766
10187
|
"thread.jump.9": "thread.jump.9";
|
|
10188
|
+
"thread.markRead": "thread.markRead";
|
|
10767
10189
|
"thread.new": "thread.new";
|
|
10768
10190
|
"thread.next": "thread.next";
|
|
10191
|
+
"thread.pin": "thread.pin";
|
|
10769
10192
|
"thread.previous": "thread.previous";
|
|
10770
10193
|
"thread.rename": "thread.rename";
|
|
10771
10194
|
"thread.search": "thread.search";
|
|
@@ -10823,6 +10246,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10823
10246
|
serverMove: "serverMove";
|
|
10824
10247
|
sidebarMultiSelect: "sidebarMultiSelect";
|
|
10825
10248
|
timelinePush: "timelinePush";
|
|
10249
|
+
unreadDividerAtAnswer: "unreadDividerAtAnswer";
|
|
10826
10250
|
}>, z$1.ZodBoolean>;
|
|
10827
10251
|
featureFlags: z$1.ZodObject<{
|
|
10828
10252
|
initiatorTelemetry: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
@@ -10930,8 +10354,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10930
10354
|
"thread.jump.7": "thread.jump.7";
|
|
10931
10355
|
"thread.jump.8": "thread.jump.8";
|
|
10932
10356
|
"thread.jump.9": "thread.jump.9";
|
|
10357
|
+
"thread.markRead": "thread.markRead";
|
|
10933
10358
|
"thread.new": "thread.new";
|
|
10934
10359
|
"thread.next": "thread.next";
|
|
10360
|
+
"thread.pin": "thread.pin";
|
|
10935
10361
|
"thread.previous": "thread.previous";
|
|
10936
10362
|
"thread.rename": "thread.rename";
|
|
10937
10363
|
"thread.search": "thread.search";
|
|
@@ -11027,8 +10453,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11027
10453
|
"thread.jump.7": "thread.jump.7";
|
|
11028
10454
|
"thread.jump.8": "thread.jump.8";
|
|
11029
10455
|
"thread.jump.9": "thread.jump.9";
|
|
10456
|
+
"thread.markRead": "thread.markRead";
|
|
11030
10457
|
"thread.new": "thread.new";
|
|
11031
10458
|
"thread.next": "thread.next";
|
|
10459
|
+
"thread.pin": "thread.pin";
|
|
11032
10460
|
"thread.previous": "thread.previous";
|
|
11033
10461
|
"thread.rename": "thread.rename";
|
|
11034
10462
|
"thread.search": "thread.search";
|
|
@@ -14501,10 +13929,22 @@ declare const threadDescendantsListResponseSchema: z$1.ZodObject<{
|
|
|
14501
13929
|
}, z$1.core.$strict>>;
|
|
14502
13930
|
}, z$1.core.$strict>;
|
|
14503
13931
|
type ThreadDescendantsListResponse = z$1.infer<typeof threadDescendantsListResponseSchema>;
|
|
14504
|
-
declare const
|
|
14505
|
-
|
|
14506
|
-
|
|
14507
|
-
|
|
13932
|
+
declare const threadCascadeActionSchema: z$1.ZodEnum<{
|
|
13933
|
+
archive: "archive";
|
|
13934
|
+
delete: "delete";
|
|
13935
|
+
}>;
|
|
13936
|
+
type ThreadCascadeAction = z$1.infer<typeof threadCascadeActionSchema>;
|
|
13937
|
+
declare const threadCascadeListResponseSchema: z$1.ZodObject<{
|
|
13938
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
13939
|
+
cascadeThreadIds: z$1.ZodArray<z$1.ZodString>;
|
|
13940
|
+
threadId: z$1.ZodString;
|
|
13941
|
+
}, z$1.core.$strict>>;
|
|
13942
|
+
}, z$1.core.$strict>;
|
|
13943
|
+
type ThreadCascadeListResponse = z$1.infer<typeof threadCascadeListResponseSchema>;
|
|
13944
|
+
declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
13945
|
+
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
13946
|
+
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13947
|
+
canEditMessages: z$1.ZodBoolean;
|
|
14508
13948
|
canRestoreEnvironment: z$1.ZodBoolean;
|
|
14509
13949
|
canSpawnChild: z$1.ZodBoolean;
|
|
14510
13950
|
createdAt: z$1.ZodNumber;
|
|
@@ -15240,7 +14680,7 @@ declare const threadSearchQuerySchema: z$1.ZodObject<{
|
|
|
15240
14680
|
}, z$1.core.$strip>;
|
|
15241
14681
|
type ThreadSearchQuery = z$1.infer<typeof threadSearchQuerySchema>;
|
|
15242
14682
|
declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
15243
|
-
|
|
14683
|
+
afterTag: z$1.ZodOptional<z$1.ZodString>;
|
|
15244
14684
|
beforeAnchorId: z$1.ZodOptional<z$1.ZodString>;
|
|
15245
14685
|
beforeAnchorSeq: z$1.ZodOptional<z$1.ZodString>;
|
|
15246
14686
|
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -15760,116 +15200,806 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15760
15200
|
}>;
|
|
15761
15201
|
}, z$1.core.$strip>>;
|
|
15762
15202
|
status: z$1.ZodEnum<{
|
|
15763
|
-
completed: "completed";
|
|
15764
|
-
failed: "failed";
|
|
15765
|
-
interrupted: "interrupted";
|
|
15203
|
+
completed: "completed";
|
|
15204
|
+
failed: "failed";
|
|
15205
|
+
interrupted: "interrupted";
|
|
15206
|
+
}>;
|
|
15207
|
+
threadId: z$1.ZodString;
|
|
15208
|
+
}, z$1.core.$strip>>>;
|
|
15209
|
+
threadId: z$1.ZodString;
|
|
15210
|
+
threadName: z$1.ZodString;
|
|
15211
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15212
|
+
count: z$1.ZodNumber;
|
|
15213
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
15214
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15215
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15216
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15217
|
+
reason: z$1.ZodEnum<{
|
|
15218
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15219
|
+
"host-removed": "host-removed";
|
|
15220
|
+
"manual-stop": "manual-stop";
|
|
15221
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15222
|
+
}>;
|
|
15223
|
+
}, z$1.core.$strip>>;
|
|
15224
|
+
status: z$1.ZodEnum<{
|
|
15225
|
+
completed: "completed";
|
|
15226
|
+
failed: "failed";
|
|
15227
|
+
interrupted: "interrupted";
|
|
15228
|
+
}>;
|
|
15229
|
+
threadId: z$1.ZodString;
|
|
15230
|
+
}, z$1.core.$strip>>>;
|
|
15231
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15232
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
15233
|
+
suppress: z$1.ZodBoolean;
|
|
15234
|
+
toolName: z$1.ZodString;
|
|
15235
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15236
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
15237
|
+
path: z$1.ZodString;
|
|
15238
|
+
}, z$1.core.$strip>], "kind">>;
|
|
15239
|
+
text: z$1.ZodString;
|
|
15240
|
+
threadId: z$1.ZodString;
|
|
15241
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15242
|
+
turnRequest: z$1.ZodObject<{
|
|
15243
|
+
isGrouped: z$1.ZodBoolean;
|
|
15244
|
+
kind: z$1.ZodEnum<{
|
|
15245
|
+
message: "message";
|
|
15246
|
+
steer: "steer";
|
|
15247
|
+
}>;
|
|
15248
|
+
status: z$1.ZodEnum<{
|
|
15249
|
+
accepted: "accepted";
|
|
15250
|
+
pending: "pending";
|
|
15251
|
+
rejected: "rejected";
|
|
15252
|
+
}>;
|
|
15253
|
+
}, z$1.core.$strip>;
|
|
15254
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15255
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15256
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15257
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15258
|
+
name: z$1.ZodString;
|
|
15259
|
+
path: z$1.ZodString;
|
|
15260
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15261
|
+
}, z$1.core.$strip>>;
|
|
15262
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15263
|
+
localFiles: z$1.ZodNumber;
|
|
15264
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15265
|
+
localImages: z$1.ZodNumber;
|
|
15266
|
+
webImages: z$1.ZodNumber;
|
|
15267
|
+
}, z$1.core.$strip>>;
|
|
15268
|
+
createdAt: z$1.ZodNumber;
|
|
15269
|
+
id: z$1.ZodString;
|
|
15270
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15271
|
+
messageSeq: z$1.ZodNumber;
|
|
15272
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
15273
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15274
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15275
|
+
startedAt: z$1.ZodNumber;
|
|
15276
|
+
text: z$1.ZodString;
|
|
15277
|
+
threadId: z$1.ZodString;
|
|
15278
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15279
|
+
turnRequest: z$1.ZodNull;
|
|
15280
|
+
}, z$1.core.$strip>], "role">;
|
|
15281
|
+
}, z$1.core.$strip>;
|
|
15282
|
+
type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
|
|
15283
|
+
declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
|
|
15284
|
+
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
15285
|
+
query: z$1.ZodOptional<z$1.ZodString>;
|
|
15286
|
+
}, z$1.core.$strip>;
|
|
15287
|
+
type ThreadStorageFilesQuery = z$1.infer<typeof threadStorageFilesQuerySchema>;
|
|
15288
|
+
declare const threadStoragePathsQuerySchema: z$1.ZodObject<{
|
|
15289
|
+
includeDirectories: z$1.ZodEnum<{
|
|
15290
|
+
false: "false";
|
|
15291
|
+
true: "true";
|
|
15292
|
+
}>;
|
|
15293
|
+
includeFiles: z$1.ZodEnum<{
|
|
15294
|
+
false: "false";
|
|
15295
|
+
true: "true";
|
|
15296
|
+
}>;
|
|
15297
|
+
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
15298
|
+
query: z$1.ZodOptional<z$1.ZodString>;
|
|
15299
|
+
}, z$1.core.$strip>;
|
|
15300
|
+
type ThreadStoragePathsQuery = z$1.infer<typeof threadStoragePathsQuerySchema>;
|
|
15301
|
+
declare const threadStorageLocationResponseSchema: z$1.ZodObject<{
|
|
15302
|
+
hostId: z$1.ZodString;
|
|
15303
|
+
storageRootPath: z$1.ZodString;
|
|
15304
|
+
}, z$1.core.$strict>;
|
|
15305
|
+
type ThreadStorageLocationResponse = z$1.infer<typeof threadStorageLocationResponseSchema>;
|
|
15306
|
+
declare const timelineTurnSummaryDetailsResponseSchema: z$1.ZodObject<{
|
|
15307
|
+
historySnapshot: z$1.ZodOptional<z$1.ZodString>;
|
|
15308
|
+
olderCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
15309
|
+
rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
15310
|
+
}, z$1.core.$strip>;
|
|
15311
|
+
type TimelineTurnSummaryDetailsResponse = z$1.infer<typeof timelineTurnSummaryDetailsResponseSchema>;
|
|
15312
|
+
declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
15313
|
+
activeBackgroundCommands: z$1.ZodArray<z$1.ZodObject<{
|
|
15314
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15315
|
+
createdAt: z$1.ZodNumber;
|
|
15316
|
+
description: z$1.ZodString;
|
|
15317
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15318
|
+
id: z$1.ZodString;
|
|
15319
|
+
itemId: z$1.ZodString;
|
|
15320
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15321
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15322
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15323
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15324
|
+
glyph: z$1.ZodString;
|
|
15325
|
+
hint: z$1.ZodString;
|
|
15326
|
+
label: z$1.ZodString;
|
|
15327
|
+
tone: z$1.ZodEnum<{
|
|
15328
|
+
destructive: "destructive";
|
|
15329
|
+
neutral: "neutral";
|
|
15330
|
+
}>;
|
|
15331
|
+
}, z$1.core.$strip>>;
|
|
15332
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15333
|
+
icon: z$1.ZodObject<{
|
|
15334
|
+
glyph: z$1.ZodString;
|
|
15335
|
+
}, z$1.core.$strip>;
|
|
15336
|
+
label: z$1.ZodObject<{
|
|
15337
|
+
completed: z$1.ZodString;
|
|
15338
|
+
pending: z$1.ZodString;
|
|
15339
|
+
}, z$1.core.$strip>;
|
|
15340
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15341
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15342
|
+
dark: z$1.ZodString;
|
|
15343
|
+
light: z$1.ZodString;
|
|
15344
|
+
}, z$1.core.$strip>>;
|
|
15345
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15346
|
+
}, z$1.core.$strip>>;
|
|
15347
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15348
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15349
|
+
startedAt: z$1.ZodNumber;
|
|
15350
|
+
status: z$1.ZodEnum<{
|
|
15351
|
+
completed: "completed";
|
|
15352
|
+
error: "error";
|
|
15353
|
+
interrupted: "interrupted";
|
|
15354
|
+
pending: "pending";
|
|
15355
|
+
}>;
|
|
15356
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
15357
|
+
taskStatus: z$1.ZodEnum<{
|
|
15358
|
+
completed: "completed";
|
|
15359
|
+
failed: "failed";
|
|
15360
|
+
killed: "killed";
|
|
15361
|
+
paused: "paused";
|
|
15362
|
+
pending: "pending";
|
|
15363
|
+
running: "running";
|
|
15364
|
+
stopped: "stopped";
|
|
15365
|
+
}>;
|
|
15366
|
+
taskType: z$1.ZodString;
|
|
15367
|
+
threadId: z$1.ZodString;
|
|
15368
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15369
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
15370
|
+
durationMs: z$1.ZodNumber;
|
|
15371
|
+
toolUses: z$1.ZodNumber;
|
|
15372
|
+
totalTokens: z$1.ZodNumber;
|
|
15373
|
+
}, z$1.core.$strip>>;
|
|
15374
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
15375
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
15376
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
15377
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
15378
|
+
attempt: z$1.ZodNumber;
|
|
15379
|
+
cached: z$1.ZodBoolean;
|
|
15380
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15381
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
15382
|
+
index: z$1.ZodNumber;
|
|
15383
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
15384
|
+
label: z$1.ZodString;
|
|
15385
|
+
lastProgressAt: z$1.ZodNumber;
|
|
15386
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
15387
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
15388
|
+
model: z$1.ZodString;
|
|
15389
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15390
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
15391
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15392
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15393
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15394
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15395
|
+
state: z$1.ZodEnum<{
|
|
15396
|
+
done: "done";
|
|
15397
|
+
failed: "failed";
|
|
15398
|
+
queued: "queued";
|
|
15399
|
+
running: "running";
|
|
15400
|
+
skipped: "skipped";
|
|
15401
|
+
}>;
|
|
15402
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15403
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15404
|
+
}, z$1.core.$strip>>;
|
|
15405
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
15406
|
+
index: z$1.ZodNumber;
|
|
15407
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
15408
|
+
title: z$1.ZodString;
|
|
15409
|
+
}, z$1.core.$strip>>;
|
|
15410
|
+
}, z$1.core.$strip>>;
|
|
15411
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
15412
|
+
}, z$1.core.$strip>>;
|
|
15413
|
+
activePromptMode: z$1.ZodNullable<z$1.ZodObject<{
|
|
15414
|
+
mode: z$1.ZodLiteral<"plan">;
|
|
15415
|
+
prompt: z$1.ZodString;
|
|
15416
|
+
providerId: z$1.ZodString;
|
|
15417
|
+
}, z$1.core.$strict>>;
|
|
15418
|
+
activeThinking: z$1.ZodNullable<z$1.ZodObject<{
|
|
15419
|
+
id: z$1.ZodString;
|
|
15420
|
+
startedAt: z$1.ZodNumber;
|
|
15421
|
+
text: z$1.ZodString;
|
|
15422
|
+
updatedAt: z$1.ZodNumber;
|
|
15423
|
+
}, z$1.core.$strip>>;
|
|
15424
|
+
activeWorkflows: z$1.ZodArray<z$1.ZodObject<{
|
|
15425
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15426
|
+
createdAt: z$1.ZodNumber;
|
|
15427
|
+
description: z$1.ZodString;
|
|
15428
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15429
|
+
id: z$1.ZodString;
|
|
15430
|
+
itemId: z$1.ZodString;
|
|
15431
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15432
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15433
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15434
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15435
|
+
glyph: z$1.ZodString;
|
|
15436
|
+
hint: z$1.ZodString;
|
|
15437
|
+
label: z$1.ZodString;
|
|
15438
|
+
tone: z$1.ZodEnum<{
|
|
15439
|
+
destructive: "destructive";
|
|
15440
|
+
neutral: "neutral";
|
|
15441
|
+
}>;
|
|
15442
|
+
}, z$1.core.$strip>>;
|
|
15443
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15444
|
+
icon: z$1.ZodObject<{
|
|
15445
|
+
glyph: z$1.ZodString;
|
|
15446
|
+
}, z$1.core.$strip>;
|
|
15447
|
+
label: z$1.ZodObject<{
|
|
15448
|
+
completed: z$1.ZodString;
|
|
15449
|
+
pending: z$1.ZodString;
|
|
15450
|
+
}, z$1.core.$strip>;
|
|
15451
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15452
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15453
|
+
dark: z$1.ZodString;
|
|
15454
|
+
light: z$1.ZodString;
|
|
15455
|
+
}, z$1.core.$strip>>;
|
|
15456
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15457
|
+
}, z$1.core.$strip>>;
|
|
15458
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15459
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15460
|
+
startedAt: z$1.ZodNumber;
|
|
15461
|
+
status: z$1.ZodEnum<{
|
|
15462
|
+
completed: "completed";
|
|
15463
|
+
error: "error";
|
|
15464
|
+
interrupted: "interrupted";
|
|
15465
|
+
pending: "pending";
|
|
15466
|
+
}>;
|
|
15467
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
15468
|
+
taskStatus: z$1.ZodEnum<{
|
|
15469
|
+
completed: "completed";
|
|
15470
|
+
failed: "failed";
|
|
15471
|
+
killed: "killed";
|
|
15472
|
+
paused: "paused";
|
|
15473
|
+
pending: "pending";
|
|
15474
|
+
running: "running";
|
|
15475
|
+
stopped: "stopped";
|
|
15476
|
+
}>;
|
|
15477
|
+
taskType: z$1.ZodString;
|
|
15478
|
+
threadId: z$1.ZodString;
|
|
15479
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15480
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
15481
|
+
durationMs: z$1.ZodNumber;
|
|
15482
|
+
toolUses: z$1.ZodNumber;
|
|
15483
|
+
totalTokens: z$1.ZodNumber;
|
|
15484
|
+
}, z$1.core.$strip>>;
|
|
15485
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
15486
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
15487
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
15488
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
15489
|
+
attempt: z$1.ZodNumber;
|
|
15490
|
+
cached: z$1.ZodBoolean;
|
|
15491
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15492
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
15493
|
+
index: z$1.ZodNumber;
|
|
15494
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
15495
|
+
label: z$1.ZodString;
|
|
15496
|
+
lastProgressAt: z$1.ZodNumber;
|
|
15497
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
15498
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
15499
|
+
model: z$1.ZodString;
|
|
15500
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15501
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
15502
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15503
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15504
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15505
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15506
|
+
state: z$1.ZodEnum<{
|
|
15507
|
+
done: "done";
|
|
15508
|
+
failed: "failed";
|
|
15509
|
+
queued: "queued";
|
|
15510
|
+
running: "running";
|
|
15511
|
+
skipped: "skipped";
|
|
15512
|
+
}>;
|
|
15513
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15514
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15515
|
+
}, z$1.core.$strip>>;
|
|
15516
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
15517
|
+
index: z$1.ZodNumber;
|
|
15518
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
15519
|
+
title: z$1.ZodString;
|
|
15520
|
+
}, z$1.core.$strip>>;
|
|
15521
|
+
}, z$1.core.$strip>>;
|
|
15522
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
15523
|
+
}, z$1.core.$strip>>;
|
|
15524
|
+
completedTurnDisplay: z$1.ZodEnum<{
|
|
15525
|
+
collapse: "collapse";
|
|
15526
|
+
flat: "flat";
|
|
15527
|
+
}>;
|
|
15528
|
+
contextBoundarySeq: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15529
|
+
contextWindowUsage: z$1.ZodOptional<z$1.ZodObject<{
|
|
15530
|
+
compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
15531
|
+
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
15532
|
+
amount: z$1.ZodNumber;
|
|
15533
|
+
currency: z$1.ZodString;
|
|
15534
|
+
}, z$1.core.$strip>>;
|
|
15535
|
+
estimated: z$1.ZodBoolean;
|
|
15536
|
+
modelContextWindow: z$1.ZodNumber;
|
|
15537
|
+
snapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
15538
|
+
autoCompactAtTokens: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15539
|
+
capturedAt: z$1.ZodISODateTime;
|
|
15540
|
+
categories: z$1.ZodArray<z$1.ZodObject<{
|
|
15541
|
+
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
15542
|
+
id: z$1.ZodString;
|
|
15543
|
+
label: z$1.ZodString;
|
|
15544
|
+
tokens: z$1.ZodNumber;
|
|
15545
|
+
}, z$1.core.$strip>>;
|
|
15546
|
+
id: z$1.ZodString;
|
|
15547
|
+
kind: z$1.ZodEnum<{
|
|
15548
|
+
deferred: "deferred";
|
|
15549
|
+
free: "free";
|
|
15550
|
+
reserved: "reserved";
|
|
15551
|
+
used: "used";
|
|
15552
|
+
}>;
|
|
15553
|
+
label: z$1.ZodString;
|
|
15554
|
+
tokens: z$1.ZodNumber;
|
|
15555
|
+
}, z$1.core.$strip>>;
|
|
15556
|
+
contextWindowTokens: z$1.ZodNumber;
|
|
15557
|
+
estimated: z$1.ZodBoolean;
|
|
15558
|
+
model: z$1.ZodString;
|
|
15559
|
+
providerSessionId: z$1.ZodString;
|
|
15560
|
+
providerTurnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15561
|
+
usedTokens: z$1.ZodNumber;
|
|
15562
|
+
}, z$1.core.$strip>>;
|
|
15563
|
+
usedTokens: z$1.ZodNumber;
|
|
15564
|
+
}, z$1.core.$strip>>;
|
|
15565
|
+
goal: z$1.ZodNullable<z$1.ZodObject<{
|
|
15566
|
+
objective: z$1.ZodString;
|
|
15567
|
+
sourceSeq: z$1.ZodNumber;
|
|
15568
|
+
status: z$1.ZodEnum<{
|
|
15569
|
+
active: "active";
|
|
15570
|
+
budgetLimited: "budgetLimited";
|
|
15571
|
+
complete: "complete";
|
|
15572
|
+
paused: "paused";
|
|
15573
|
+
}>;
|
|
15574
|
+
timeUsedSeconds: z$1.ZodNumber;
|
|
15575
|
+
tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15576
|
+
tokensUsed: z$1.ZodNumber;
|
|
15577
|
+
updatedAt: z$1.ZodNumber;
|
|
15578
|
+
}, z$1.core.$strip>>;
|
|
15579
|
+
maxSeq: z$1.ZodNumber;
|
|
15580
|
+
modelFallback: z$1.ZodNullable<z$1.ZodObject<{
|
|
15581
|
+
detectedAt: z$1.ZodNumber;
|
|
15582
|
+
fallbackModel: z$1.ZodString;
|
|
15583
|
+
message: z$1.ZodString;
|
|
15584
|
+
originalModel: z$1.ZodString;
|
|
15585
|
+
reason: z$1.ZodEnum<{
|
|
15586
|
+
provider: "provider";
|
|
15587
|
+
refusal: "refusal";
|
|
15588
|
+
}>;
|
|
15589
|
+
sourceSeq: z$1.ZodNumber;
|
|
15590
|
+
}, z$1.core.$strip>>;
|
|
15591
|
+
pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
|
|
15592
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
15593
|
+
id: z$1.ZodString;
|
|
15594
|
+
status: z$1.ZodEnum<{
|
|
15595
|
+
completed: "completed";
|
|
15596
|
+
in_progress: "in_progress";
|
|
15597
|
+
pending: "pending";
|
|
15598
|
+
}>;
|
|
15599
|
+
text: z$1.ZodString;
|
|
15600
|
+
}, z$1.core.$strip>>;
|
|
15601
|
+
sourceSeq: z$1.ZodNumber;
|
|
15602
|
+
updatedAt: z$1.ZodNumber;
|
|
15603
|
+
}, z$1.core.$strip>>;
|
|
15604
|
+
providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
15605
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
15606
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15607
|
+
name: z$1.ZodString;
|
|
15608
|
+
origin: z$1.ZodEnum<{
|
|
15609
|
+
builtin: "builtin";
|
|
15610
|
+
project: "project";
|
|
15611
|
+
user: "user";
|
|
15612
|
+
}>;
|
|
15613
|
+
source: z$1.ZodEnum<{
|
|
15614
|
+
command: "command";
|
|
15615
|
+
skill: "skill";
|
|
15616
|
+
}>;
|
|
15617
|
+
}, z$1.core.$strip>>>;
|
|
15618
|
+
rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
15619
|
+
sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15620
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
15621
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15622
|
+
id: z$1.ZodString;
|
|
15623
|
+
label: z$1.ZodString;
|
|
15624
|
+
pendingValue: z$1.ZodNullable<z$1.ZodString>;
|
|
15625
|
+
type: z$1.ZodLiteral<"select">;
|
|
15626
|
+
value: z$1.ZodString;
|
|
15627
|
+
values: z$1.ZodArray<z$1.ZodObject<{
|
|
15628
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15629
|
+
group: z$1.ZodNullable<z$1.ZodString>;
|
|
15630
|
+
id: z$1.ZodString;
|
|
15631
|
+
label: z$1.ZodString;
|
|
15632
|
+
}, z$1.core.$strip>>;
|
|
15633
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15634
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
15635
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15636
|
+
id: z$1.ZodString;
|
|
15637
|
+
label: z$1.ZodString;
|
|
15638
|
+
pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
15639
|
+
type: z$1.ZodLiteral<"boolean">;
|
|
15640
|
+
value: z$1.ZodBoolean;
|
|
15641
|
+
}, z$1.core.$strip>], "type">>>;
|
|
15642
|
+
tag: z$1.ZodString;
|
|
15643
|
+
timelinePage: z$1.ZodObject<{
|
|
15644
|
+
historySnapshot: z$1.ZodString;
|
|
15645
|
+
olderCursor: z$1.ZodNullable<z$1.ZodObject<{
|
|
15646
|
+
anchorId: z$1.ZodString;
|
|
15647
|
+
anchorSeq: z$1.ZodNumber;
|
|
15648
|
+
}, z$1.core.$strict>>;
|
|
15649
|
+
olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
|
|
15650
|
+
olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15651
|
+
returnedSegmentCount: z$1.ZodNumber;
|
|
15652
|
+
}, z$1.core.$strict>;
|
|
15653
|
+
}, z$1.core.$strip>;
|
|
15654
|
+
type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
|
|
15655
|
+
declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
15656
|
+
delta: z$1.ZodObject<{
|
|
15657
|
+
afterTag: z$1.ZodString;
|
|
15658
|
+
fields: z$1.ZodObject<{
|
|
15659
|
+
activeBackgroundCommands: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15660
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15661
|
+
createdAt: z$1.ZodNumber;
|
|
15662
|
+
description: z$1.ZodString;
|
|
15663
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15664
|
+
id: z$1.ZodString;
|
|
15665
|
+
itemId: z$1.ZodString;
|
|
15666
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15667
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15668
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15669
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15670
|
+
glyph: z$1.ZodString;
|
|
15671
|
+
hint: z$1.ZodString;
|
|
15672
|
+
label: z$1.ZodString;
|
|
15673
|
+
tone: z$1.ZodEnum<{
|
|
15674
|
+
destructive: "destructive";
|
|
15675
|
+
neutral: "neutral";
|
|
15676
|
+
}>;
|
|
15677
|
+
}, z$1.core.$strip>>;
|
|
15678
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15679
|
+
icon: z$1.ZodObject<{
|
|
15680
|
+
glyph: z$1.ZodString;
|
|
15681
|
+
}, z$1.core.$strip>;
|
|
15682
|
+
label: z$1.ZodObject<{
|
|
15683
|
+
completed: z$1.ZodString;
|
|
15684
|
+
pending: z$1.ZodString;
|
|
15685
|
+
}, z$1.core.$strip>;
|
|
15686
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15687
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15688
|
+
dark: z$1.ZodString;
|
|
15689
|
+
light: z$1.ZodString;
|
|
15690
|
+
}, z$1.core.$strip>>;
|
|
15691
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15692
|
+
}, z$1.core.$strip>>;
|
|
15693
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15694
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15695
|
+
startedAt: z$1.ZodNumber;
|
|
15696
|
+
status: z$1.ZodEnum<{
|
|
15697
|
+
completed: "completed";
|
|
15698
|
+
error: "error";
|
|
15699
|
+
interrupted: "interrupted";
|
|
15700
|
+
pending: "pending";
|
|
15701
|
+
}>;
|
|
15702
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
15703
|
+
taskStatus: z$1.ZodEnum<{
|
|
15704
|
+
completed: "completed";
|
|
15705
|
+
failed: "failed";
|
|
15706
|
+
killed: "killed";
|
|
15707
|
+
paused: "paused";
|
|
15708
|
+
pending: "pending";
|
|
15709
|
+
running: "running";
|
|
15710
|
+
stopped: "stopped";
|
|
15711
|
+
}>;
|
|
15712
|
+
taskType: z$1.ZodString;
|
|
15713
|
+
threadId: z$1.ZodString;
|
|
15714
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15715
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
15716
|
+
durationMs: z$1.ZodNumber;
|
|
15717
|
+
toolUses: z$1.ZodNumber;
|
|
15718
|
+
totalTokens: z$1.ZodNumber;
|
|
15719
|
+
}, z$1.core.$strip>>;
|
|
15720
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
15721
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
15722
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
15723
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
15724
|
+
attempt: z$1.ZodNumber;
|
|
15725
|
+
cached: z$1.ZodBoolean;
|
|
15726
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15727
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
15728
|
+
index: z$1.ZodNumber;
|
|
15729
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
15730
|
+
label: z$1.ZodString;
|
|
15731
|
+
lastProgressAt: z$1.ZodNumber;
|
|
15732
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
15733
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
15734
|
+
model: z$1.ZodString;
|
|
15735
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15736
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
15737
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15738
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15739
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15740
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15741
|
+
state: z$1.ZodEnum<{
|
|
15742
|
+
done: "done";
|
|
15743
|
+
failed: "failed";
|
|
15744
|
+
queued: "queued";
|
|
15745
|
+
running: "running";
|
|
15746
|
+
skipped: "skipped";
|
|
15747
|
+
}>;
|
|
15748
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15749
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15750
|
+
}, z$1.core.$strip>>;
|
|
15751
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
15752
|
+
index: z$1.ZodNumber;
|
|
15753
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
15754
|
+
title: z$1.ZodString;
|
|
15755
|
+
}, z$1.core.$strip>>;
|
|
15756
|
+
}, z$1.core.$strip>>;
|
|
15757
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
15758
|
+
}, z$1.core.$strip>>>;
|
|
15759
|
+
activePromptMode: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15760
|
+
mode: z$1.ZodLiteral<"plan">;
|
|
15761
|
+
prompt: z$1.ZodString;
|
|
15762
|
+
providerId: z$1.ZodString;
|
|
15763
|
+
}, z$1.core.$strict>>>;
|
|
15764
|
+
activeThinking: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15765
|
+
id: z$1.ZodString;
|
|
15766
|
+
startedAt: z$1.ZodNumber;
|
|
15767
|
+
text: z$1.ZodString;
|
|
15768
|
+
updatedAt: z$1.ZodNumber;
|
|
15769
|
+
}, z$1.core.$strip>>>;
|
|
15770
|
+
activeWorkflows: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15771
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15772
|
+
createdAt: z$1.ZodNumber;
|
|
15773
|
+
description: z$1.ZodString;
|
|
15774
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15775
|
+
id: z$1.ZodString;
|
|
15776
|
+
itemId: z$1.ZodString;
|
|
15777
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15778
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15779
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15780
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15781
|
+
glyph: z$1.ZodString;
|
|
15782
|
+
hint: z$1.ZodString;
|
|
15783
|
+
label: z$1.ZodString;
|
|
15784
|
+
tone: z$1.ZodEnum<{
|
|
15785
|
+
destructive: "destructive";
|
|
15786
|
+
neutral: "neutral";
|
|
15787
|
+
}>;
|
|
15788
|
+
}, z$1.core.$strip>>;
|
|
15789
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15790
|
+
icon: z$1.ZodObject<{
|
|
15791
|
+
glyph: z$1.ZodString;
|
|
15792
|
+
}, z$1.core.$strip>;
|
|
15793
|
+
label: z$1.ZodObject<{
|
|
15794
|
+
completed: z$1.ZodString;
|
|
15795
|
+
pending: z$1.ZodString;
|
|
15796
|
+
}, z$1.core.$strip>;
|
|
15797
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15798
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15799
|
+
dark: z$1.ZodString;
|
|
15800
|
+
light: z$1.ZodString;
|
|
15801
|
+
}, z$1.core.$strip>>;
|
|
15802
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15803
|
+
}, z$1.core.$strip>>;
|
|
15804
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15805
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15806
|
+
startedAt: z$1.ZodNumber;
|
|
15807
|
+
status: z$1.ZodEnum<{
|
|
15808
|
+
completed: "completed";
|
|
15809
|
+
error: "error";
|
|
15810
|
+
interrupted: "interrupted";
|
|
15811
|
+
pending: "pending";
|
|
15812
|
+
}>;
|
|
15813
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
15814
|
+
taskStatus: z$1.ZodEnum<{
|
|
15815
|
+
completed: "completed";
|
|
15816
|
+
failed: "failed";
|
|
15817
|
+
killed: "killed";
|
|
15818
|
+
paused: "paused";
|
|
15819
|
+
pending: "pending";
|
|
15820
|
+
running: "running";
|
|
15821
|
+
stopped: "stopped";
|
|
15822
|
+
}>;
|
|
15823
|
+
taskType: z$1.ZodString;
|
|
15824
|
+
threadId: z$1.ZodString;
|
|
15825
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15826
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
15827
|
+
durationMs: z$1.ZodNumber;
|
|
15828
|
+
toolUses: z$1.ZodNumber;
|
|
15829
|
+
totalTokens: z$1.ZodNumber;
|
|
15830
|
+
}, z$1.core.$strip>>;
|
|
15831
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
15832
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
15833
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
15834
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
15835
|
+
attempt: z$1.ZodNumber;
|
|
15836
|
+
cached: z$1.ZodBoolean;
|
|
15837
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15838
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
15839
|
+
index: z$1.ZodNumber;
|
|
15840
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
15841
|
+
label: z$1.ZodString;
|
|
15842
|
+
lastProgressAt: z$1.ZodNumber;
|
|
15843
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
15844
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
15845
|
+
model: z$1.ZodString;
|
|
15846
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15847
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
15848
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15849
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15850
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15851
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15852
|
+
state: z$1.ZodEnum<{
|
|
15853
|
+
done: "done";
|
|
15854
|
+
failed: "failed";
|
|
15855
|
+
queued: "queued";
|
|
15856
|
+
running: "running";
|
|
15857
|
+
skipped: "skipped";
|
|
15858
|
+
}>;
|
|
15859
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15860
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15861
|
+
}, z$1.core.$strip>>;
|
|
15862
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
15863
|
+
index: z$1.ZodNumber;
|
|
15864
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
15865
|
+
title: z$1.ZodString;
|
|
15866
|
+
}, z$1.core.$strip>>;
|
|
15867
|
+
}, z$1.core.$strip>>;
|
|
15868
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
15869
|
+
}, z$1.core.$strip>>>;
|
|
15870
|
+
completedTurnDisplay: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15871
|
+
collapse: "collapse";
|
|
15872
|
+
flat: "flat";
|
|
15873
|
+
}>>;
|
|
15874
|
+
contextBoundarySeq: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
15875
|
+
contextWindowUsage: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15876
|
+
compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
15877
|
+
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
15878
|
+
amount: z$1.ZodNumber;
|
|
15879
|
+
currency: z$1.ZodString;
|
|
15880
|
+
}, z$1.core.$strip>>;
|
|
15881
|
+
estimated: z$1.ZodBoolean;
|
|
15882
|
+
modelContextWindow: z$1.ZodNumber;
|
|
15883
|
+
snapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
15884
|
+
autoCompactAtTokens: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15885
|
+
capturedAt: z$1.ZodISODateTime;
|
|
15886
|
+
categories: z$1.ZodArray<z$1.ZodObject<{
|
|
15887
|
+
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
15888
|
+
id: z$1.ZodString;
|
|
15889
|
+
label: z$1.ZodString;
|
|
15890
|
+
tokens: z$1.ZodNumber;
|
|
15891
|
+
}, z$1.core.$strip>>;
|
|
15892
|
+
id: z$1.ZodString;
|
|
15893
|
+
kind: z$1.ZodEnum<{
|
|
15894
|
+
deferred: "deferred";
|
|
15895
|
+
free: "free";
|
|
15896
|
+
reserved: "reserved";
|
|
15897
|
+
used: "used";
|
|
15898
|
+
}>;
|
|
15899
|
+
label: z$1.ZodString;
|
|
15900
|
+
tokens: z$1.ZodNumber;
|
|
15901
|
+
}, z$1.core.$strip>>;
|
|
15902
|
+
contextWindowTokens: z$1.ZodNumber;
|
|
15903
|
+
estimated: z$1.ZodBoolean;
|
|
15904
|
+
model: z$1.ZodString;
|
|
15905
|
+
providerSessionId: z$1.ZodString;
|
|
15906
|
+
providerTurnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15907
|
+
usedTokens: z$1.ZodNumber;
|
|
15908
|
+
}, z$1.core.$strip>>;
|
|
15909
|
+
usedTokens: z$1.ZodNumber;
|
|
15910
|
+
}, z$1.core.$strip>>>;
|
|
15911
|
+
goal: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15912
|
+
objective: z$1.ZodString;
|
|
15913
|
+
sourceSeq: z$1.ZodNumber;
|
|
15914
|
+
status: z$1.ZodEnum<{
|
|
15915
|
+
active: "active";
|
|
15916
|
+
budgetLimited: "budgetLimited";
|
|
15917
|
+
complete: "complete";
|
|
15918
|
+
paused: "paused";
|
|
15766
15919
|
}>;
|
|
15767
|
-
|
|
15920
|
+
timeUsedSeconds: z$1.ZodNumber;
|
|
15921
|
+
tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15922
|
+
tokensUsed: z$1.ZodNumber;
|
|
15923
|
+
updatedAt: z$1.ZodNumber;
|
|
15768
15924
|
}, z$1.core.$strip>>>;
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
|
|
15778
|
-
|
|
15779
|
-
|
|
15780
|
-
|
|
15781
|
-
|
|
15925
|
+
modelFallback: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15926
|
+
detectedAt: z$1.ZodNumber;
|
|
15927
|
+
fallbackModel: z$1.ZodString;
|
|
15928
|
+
message: z$1.ZodString;
|
|
15929
|
+
originalModel: z$1.ZodString;
|
|
15930
|
+
reason: z$1.ZodEnum<{
|
|
15931
|
+
provider: "provider";
|
|
15932
|
+
refusal: "refusal";
|
|
15933
|
+
}>;
|
|
15934
|
+
sourceSeq: z$1.ZodNumber;
|
|
15935
|
+
}, z$1.core.$strip>>>;
|
|
15936
|
+
pendingTodos: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15937
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
15938
|
+
id: z$1.ZodString;
|
|
15939
|
+
status: z$1.ZodEnum<{
|
|
15940
|
+
completed: "completed";
|
|
15941
|
+
in_progress: "in_progress";
|
|
15942
|
+
pending: "pending";
|
|
15782
15943
|
}>;
|
|
15944
|
+
text: z$1.ZodString;
|
|
15783
15945
|
}, z$1.core.$strip>>;
|
|
15784
|
-
|
|
15785
|
-
|
|
15786
|
-
failed: "failed";
|
|
15787
|
-
interrupted: "interrupted";
|
|
15788
|
-
}>;
|
|
15789
|
-
threadId: z$1.ZodString;
|
|
15946
|
+
sourceSeq: z$1.ZodNumber;
|
|
15947
|
+
updatedAt: z$1.ZodNumber;
|
|
15790
15948
|
}, z$1.core.$strip>>>;
|
|
15791
|
-
|
|
15792
|
-
|
|
15793
|
-
|
|
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<{
|
|
15949
|
+
providerCommands: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
15950
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
15951
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15818
15952
|
name: z$1.ZodString;
|
|
15819
|
-
|
|
15820
|
-
|
|
15821
|
-
|
|
15822
|
-
|
|
15823
|
-
|
|
15824
|
-
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
15835
|
-
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
15844
|
-
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
|
|
15849
|
-
|
|
15850
|
-
|
|
15851
|
-
|
|
15852
|
-
|
|
15853
|
-
|
|
15854
|
-
|
|
15855
|
-
|
|
15856
|
-
|
|
15857
|
-
|
|
15858
|
-
|
|
15859
|
-
|
|
15860
|
-
|
|
15861
|
-
|
|
15862
|
-
|
|
15863
|
-
|
|
15864
|
-
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
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<{
|
|
15953
|
+
origin: z$1.ZodEnum<{
|
|
15954
|
+
builtin: "builtin";
|
|
15955
|
+
project: "project";
|
|
15956
|
+
user: "user";
|
|
15957
|
+
}>;
|
|
15958
|
+
source: z$1.ZodEnum<{
|
|
15959
|
+
command: "command";
|
|
15960
|
+
skill: "skill";
|
|
15961
|
+
}>;
|
|
15962
|
+
}, z$1.core.$strip>>>>;
|
|
15963
|
+
sessionOptions: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15964
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
15965
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15966
|
+
id: z$1.ZodString;
|
|
15967
|
+
label: z$1.ZodString;
|
|
15968
|
+
pendingValue: z$1.ZodNullable<z$1.ZodString>;
|
|
15969
|
+
type: z$1.ZodLiteral<"select">;
|
|
15970
|
+
value: z$1.ZodString;
|
|
15971
|
+
values: z$1.ZodArray<z$1.ZodObject<{
|
|
15972
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15973
|
+
group: z$1.ZodNullable<z$1.ZodString>;
|
|
15974
|
+
id: z$1.ZodString;
|
|
15975
|
+
label: z$1.ZodString;
|
|
15976
|
+
}, z$1.core.$strip>>;
|
|
15977
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15978
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
15979
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15980
|
+
id: z$1.ZodString;
|
|
15981
|
+
label: z$1.ZodString;
|
|
15982
|
+
pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
15983
|
+
type: z$1.ZodLiteral<"boolean">;
|
|
15984
|
+
value: z$1.ZodBoolean;
|
|
15985
|
+
}, z$1.core.$strip>], "type">>>>;
|
|
15986
|
+
timelinePage: z$1.ZodOptional<z$1.ZodObject<{
|
|
15987
|
+
historySnapshot: z$1.ZodOptional<z$1.ZodString>;
|
|
15988
|
+
olderCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15989
|
+
anchorId: z$1.ZodString;
|
|
15990
|
+
anchorSeq: z$1.ZodNumber;
|
|
15991
|
+
}, z$1.core.$strict>>>;
|
|
15992
|
+
olderRowUpdates: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>>;
|
|
15993
|
+
olderRowsSourceSeqEnd: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
15994
|
+
returnedSegmentCount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15995
|
+
}, z$1.core.$strict>>;
|
|
15996
|
+
}, z$1.core.$strip>;
|
|
15997
|
+
rowOrder: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTuple<[z$1.ZodNumber, z$1.ZodNumber], null>]>>>;
|
|
15998
|
+
upsertRows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
15999
|
+
}, z$1.core.$strip>;
|
|
16000
|
+
maxSeq: z$1.ZodNumber;
|
|
16001
|
+
tag: z$1.ZodString;
|
|
16002
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15873
16003
|
activeBackgroundCommands: z$1.ZodArray<z$1.ZodObject<{
|
|
15874
16004
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15875
16005
|
createdAt: z$1.ZodNumber;
|
|
@@ -16122,10 +16252,6 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16122
16252
|
}, z$1.core.$strip>>;
|
|
16123
16253
|
usedTokens: z$1.ZodNumber;
|
|
16124
16254
|
}, 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
16255
|
goal: z$1.ZodNullable<z$1.ZodObject<{
|
|
16130
16256
|
objective: z$1.ZodString;
|
|
16131
16257
|
sourceSeq: z$1.ZodNumber;
|
|
@@ -16203,6 +16329,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16203
16329
|
type: z$1.ZodLiteral<"boolean">;
|
|
16204
16330
|
value: z$1.ZodBoolean;
|
|
16205
16331
|
}, z$1.core.$strip>], "type">>>;
|
|
16332
|
+
tag: z$1.ZodString;
|
|
16206
16333
|
timelinePage: z$1.ZodObject<{
|
|
16207
16334
|
historySnapshot: z$1.ZodString;
|
|
16208
16335
|
olderCursor: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -16213,8 +16340,8 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16213
16340
|
olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16214
16341
|
returnedSegmentCount: z$1.ZodNumber;
|
|
16215
16342
|
}, z$1.core.$strict>;
|
|
16216
|
-
}, z$1.core.$strip>;
|
|
16217
|
-
type
|
|
16343
|
+
}, z$1.core.$strip>]>;
|
|
16344
|
+
type ThreadTimelineReadResponse = z$1.infer<typeof threadTimelineReadResponseSchema>;
|
|
16218
16345
|
declare const threadConversationOutlineQuerySchema: z$1.ZodObject<{
|
|
16219
16346
|
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16220
16347
|
assistant: "assistant";
|
|
@@ -16922,32 +17049,13 @@ type EnvironmentUpdateFields = EnvironmentMergeBaseBranchUpdate | EnvironmentNam
|
|
|
16922
17049
|
type EnvironmentUpdateArgs = EnvironmentUpdateFields & {
|
|
16923
17050
|
environmentId: string;
|
|
16924
17051
|
};
|
|
16925
|
-
interface EnvironmentStatusArgs extends EnvironmentStatusQuery {
|
|
16926
|
-
environmentId: string;
|
|
16927
|
-
signal?: AbortSignal;
|
|
16928
|
-
}
|
|
16929
17052
|
type EnvironmentDiffArgs = EnvironmentDiffQuery & {
|
|
16930
17053
|
environmentId: string;
|
|
16931
17054
|
signal?: AbortSignal;
|
|
16932
17055
|
};
|
|
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
17056
|
interface EnvironmentCommitArgs {
|
|
16945
17057
|
environmentId: string;
|
|
16946
17058
|
}
|
|
16947
|
-
type EnvironmentDiffPatchArgs = EnvironmentDiffPatchRequest & {
|
|
16948
|
-
environmentId: string;
|
|
16949
|
-
signal?: AbortSignal;
|
|
16950
|
-
};
|
|
16951
17059
|
type EnvironmentDiffViewedMarkArgs = EnvironmentDiffViewedMarkRequest & {
|
|
16952
17060
|
environmentId: string;
|
|
16953
17061
|
};
|
|
@@ -16960,15 +17068,9 @@ interface EnvironmentPathsArgs extends EnvironmentPathsQuery {
|
|
|
16960
17068
|
}
|
|
16961
17069
|
type EnvironmentArchiveThreadsResult = EnvironmentArchiveThreadsResponse;
|
|
16962
17070
|
type EnvironmentCommitResult = CommitActionResponse;
|
|
16963
|
-
type EnvironmentDiffResult = EnvironmentDiffResponse;
|
|
16964
|
-
type EnvironmentDiffBranchesResult = EnvironmentDiffBranchesResponse;
|
|
16965
|
-
type EnvironmentDiffFileResult = EnvironmentDiffFileResponse;
|
|
16966
|
-
type EnvironmentDiffFilesResult = EnvironmentDiffFilesResponse;
|
|
16967
|
-
type EnvironmentDiffPatchResult = EnvironmentDiffPatchResponse;
|
|
16968
17071
|
type EnvironmentDiffViewedResult = EnvironmentDiffViewedResponse;
|
|
16969
17072
|
type EnvironmentGetResult = Environment;
|
|
16970
17073
|
type EnvironmentPathsResult = WorkspacePathListResponse;
|
|
16971
|
-
type EnvironmentStatusResult = EnvironmentStatusResponse;
|
|
16972
17074
|
type EnvironmentUpdateResult = Environment;
|
|
16973
17075
|
interface EnvironmentListArgs {
|
|
16974
17076
|
environmentProviderId?: string;
|
|
@@ -17002,11 +17104,6 @@ interface EnvironmentsArea {
|
|
|
17002
17104
|
}>;
|
|
17003
17105
|
archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
|
|
17004
17106
|
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
17107
|
experimental_diffViewed(args: EnvironmentDiffArgs & {
|
|
17011
17108
|
paths?: string[];
|
|
17012
17109
|
}): Promise<EnvironmentDiffViewedResult>;
|
|
@@ -17021,7 +17118,6 @@ interface EnvironmentsArea {
|
|
|
17021
17118
|
listProviders(args?: EnvironmentListProvidersArgs): Promise<EnvironmentListProvidersResult>;
|
|
17022
17119
|
delete(args: EnvironmentDeleteArgs): Promise<EnvironmentDeleteResult>;
|
|
17023
17120
|
paths(args: EnvironmentPathsArgs): Promise<EnvironmentPathsResult>;
|
|
17024
|
-
status(args: EnvironmentStatusArgs): Promise<EnvironmentStatusResult>;
|
|
17025
17121
|
update(args: EnvironmentUpdateArgs): Promise<EnvironmentUpdateResult>;
|
|
17026
17122
|
}
|
|
17027
17123
|
|
|
@@ -17029,6 +17125,12 @@ interface FileReadArgs {
|
|
|
17029
17125
|
hostId?: string;
|
|
17030
17126
|
path: string;
|
|
17031
17127
|
rootPath?: string;
|
|
17128
|
+
/**
|
|
17129
|
+
* Read the file as it is at this git revision of the repository at
|
|
17130
|
+
* `rootPath` instead of from disk. Requires `rootPath`; `path` stays the
|
|
17131
|
+
* file's absolute path in the working tree.
|
|
17132
|
+
*/
|
|
17133
|
+
ref?: string;
|
|
17032
17134
|
signal?: AbortSignal;
|
|
17033
17135
|
}
|
|
17034
17136
|
interface FileWriteArgs {
|
|
@@ -18100,6 +18202,7 @@ type ThreadPluginMetadataResult = ThreadPluginMetadataResponse;
|
|
|
18100
18202
|
type PluginThreadMetadataListResult = PluginThreadMetadataListResponse;
|
|
18101
18203
|
type ThreadAncestorsListResult = ThreadAncestorsListResponse;
|
|
18102
18204
|
type ThreadDescendantsListResult = ThreadDescendantsListResponse;
|
|
18205
|
+
type ThreadCascadeListResult = ThreadCascadeListResponse;
|
|
18103
18206
|
type ThreadSpawnResult = ThreadResponse;
|
|
18104
18207
|
type ThreadForkResult = ThreadResponse;
|
|
18105
18208
|
type ThreadInteractionGetResult = PendingInteraction;
|
|
@@ -18111,6 +18214,7 @@ type ThreadEventsListResult = ThreadEventRow[];
|
|
|
18111
18214
|
type ThreadEventWaitResult = ThreadEventRow | null;
|
|
18112
18215
|
type ThreadContextResult = ThreadContextResponse;
|
|
18113
18216
|
type ThreadTimelineResult = ThreadTimelineResponse;
|
|
18217
|
+
type ThreadTimelineReadResult = ThreadTimelineReadResponse;
|
|
18114
18218
|
type ThreadArchiveResult = ThreadArchiveAllResponse;
|
|
18115
18219
|
type ThreadOpenResult = ThreadOpenResponse;
|
|
18116
18220
|
type ThreadPaneActionResult = ThreadPaneActionResponse;
|
|
@@ -18193,6 +18297,11 @@ interface ThreadAncestorsListArgs {
|
|
|
18193
18297
|
threadIds: readonly string[];
|
|
18194
18298
|
signal?: AbortSignal;
|
|
18195
18299
|
}
|
|
18300
|
+
interface ThreadCascadeListArgs {
|
|
18301
|
+
threadIds: readonly string[];
|
|
18302
|
+
action: ThreadCascadeAction;
|
|
18303
|
+
signal?: AbortSignal;
|
|
18304
|
+
}
|
|
18196
18305
|
interface ThreadDescendantsListArgs {
|
|
18197
18306
|
threadIds: readonly string[];
|
|
18198
18307
|
includeArchived?: boolean;
|
|
@@ -18460,6 +18569,16 @@ interface ThreadsArea {
|
|
|
18460
18569
|
* Experimental: see docs/api_to_audit.md.
|
|
18461
18570
|
*/
|
|
18462
18571
|
experimental_listDescendants(args: ThreadDescendantsListArgs): Promise<ThreadDescendantsListResult>;
|
|
18572
|
+
/**
|
|
18573
|
+
* Each of `threadIds` (1–200 per request) that exists and is not deleted,
|
|
18574
|
+
* with `cascadeThreadIds`: the visible threads that archiving
|
|
18575
|
+
* (`action: "archive"`) or deleting (`action: "delete"`) it would also
|
|
18576
|
+
* affect, matching the cascade `archiveAll` and `delete` apply. Archive
|
|
18577
|
+
* omits threads already archived; delete includes them. Hidden threads,
|
|
18578
|
+
* deleted threads and unknown ids are omitted.
|
|
18579
|
+
* Experimental: see docs/api_to_audit.md.
|
|
18580
|
+
*/
|
|
18581
|
+
experimental_listCascade(args: ThreadCascadeListArgs): Promise<ThreadCascadeListResult>;
|
|
18463
18582
|
updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
|
|
18464
18583
|
queue: ThreadQueueArea;
|
|
18465
18584
|
interactions: ThreadInteractionsArea;
|
|
@@ -18506,7 +18625,10 @@ interface ThreadsArea {
|
|
|
18506
18625
|
stop(args: ThreadActionArgs): Promise<ThreadStopResult>;
|
|
18507
18626
|
tabs: ThreadTabsArea;
|
|
18508
18627
|
context(args: ThreadStatusArgs): Promise<ThreadContextResult>;
|
|
18509
|
-
timeline(args: ThreadTimelineArgs
|
|
18628
|
+
timeline(args: ThreadTimelineArgs & {
|
|
18629
|
+
afterTag?: undefined;
|
|
18630
|
+
}): Promise<ThreadTimelineResult>;
|
|
18631
|
+
timeline(args: ThreadTimelineArgs): Promise<ThreadTimelineReadResult>;
|
|
18510
18632
|
timelineTurnSummaryDetails(args: ThreadTimelineTurnSummaryDetailsArgs): Promise<ThreadTimelineTurnSummaryDetailsResult>;
|
|
18511
18633
|
storageFiles(args: ThreadStorageFilesArgs): Promise<ThreadStorageFilesResult>;
|
|
18512
18634
|
storageLocation(args: ThreadStatusArgs): Promise<ThreadStorageLocationResult>;
|
|
@@ -18597,12 +18719,15 @@ interface ExperimentalPageBreadcrumb {
|
|
|
18597
18719
|
/** Props passed to a `navPanel` component (it owns its whole route). */
|
|
18598
18720
|
interface PluginNavPanelProps {
|
|
18599
18721
|
/**
|
|
18600
|
-
* The route remainder after the panel root, "" at the root
|
|
18601
|
-
*
|
|
18602
|
-
* `/plugins
|
|
18603
|
-
*
|
|
18604
|
-
* `
|
|
18605
|
-
*
|
|
18722
|
+
* The route remainder after the panel root, "" at the root, as it appears
|
|
18723
|
+
* in the URL: each segment stays percent-encoded. The panel's route is
|
|
18724
|
+
* `/plugins/<pluginId>/<path>/*`, so a deep link like
|
|
18725
|
+
* `/plugins/notes/notes/work/my%20ideas.md` renders the panel with
|
|
18726
|
+
* `subPath: "work/my%20ideas.md"`. Decode each segment with
|
|
18727
|
+
* `decodeURIComponent` before using it. Navigate within the panel via
|
|
18728
|
+
* `useBbNavigate().toPluginPanel(path, { subPath })`, which takes
|
|
18729
|
+
* unencoded segments and encodes them — browser back/forward then walks
|
|
18730
|
+
* panel-internal history.
|
|
18606
18731
|
*/
|
|
18607
18732
|
subPath: string;
|
|
18608
18733
|
}
|
|
@@ -18615,9 +18740,9 @@ interface PluginNavPanelProps {
|
|
|
18615
18740
|
interface ExperimentalThreadActionTabProps {
|
|
18616
18741
|
threadId: string;
|
|
18617
18742
|
/**
|
|
18618
|
-
* The JSON
|
|
18619
|
-
*
|
|
18620
|
-
*
|
|
18743
|
+
* The JSON `params` the tab was opened with (round-tripped through
|
|
18744
|
+
* persistence, so the tab restores across reloads); null when it was
|
|
18745
|
+
* opened without params.
|
|
18621
18746
|
*/
|
|
18622
18747
|
params: JsonValue$1 | null;
|
|
18623
18748
|
}
|
|
@@ -18626,9 +18751,9 @@ interface PluginNewThreadPanelProps {
|
|
|
18626
18751
|
/** Project selected in the root composer; null in projectless compose. */
|
|
18627
18752
|
projectId: string | null;
|
|
18628
18753
|
/**
|
|
18629
|
-
* The JSON
|
|
18630
|
-
*
|
|
18631
|
-
*
|
|
18754
|
+
* The JSON `params` the tab was opened with (round-tripped through
|
|
18755
|
+
* persistence, so the tab restores across reloads); null when it was
|
|
18756
|
+
* opened without params.
|
|
18632
18757
|
*/
|
|
18633
18758
|
params: JsonValue$1 | null;
|
|
18634
18759
|
}
|
|
@@ -19082,7 +19207,8 @@ interface ExperimentalDiffFullFileContents {
|
|
|
19082
19207
|
* Props of the host-owned `experimental_SourceCode` component — BB's source
|
|
19083
19208
|
* viewer. The host owns syntax highlighting, gutters, wrapping, line-selection
|
|
19084
19209
|
* presentation, and the live BB code theme; the caller owns loading the text
|
|
19085
|
-
* and any surrounding chrome.
|
|
19210
|
+
* and any surrounding chrome. Inside a thread view, selected lines offer Add to
|
|
19211
|
+
* chat, which quotes them into that thread's composer.
|
|
19086
19212
|
*/
|
|
19087
19213
|
interface SourceCodeProps {
|
|
19088
19214
|
/** The complete source text to render. */
|
|
@@ -19104,8 +19230,9 @@ interface SourceCodeProps {
|
|
|
19104
19230
|
* The host owns patch normalization (a patch without a `diff --git` header is
|
|
19105
19231
|
* completed from `path`), syntax highlighting, unified/split presentation,
|
|
19106
19232
|
* gutters, line-selection presentation, optional full-file context expansion,
|
|
19107
|
-
* and the live BB code theme.
|
|
19108
|
-
*
|
|
19233
|
+
* and the live BB code theme. Inside a thread view, selected lines offer Add
|
|
19234
|
+
* to chat, which quotes them into that thread's composer. Content that cannot
|
|
19235
|
+
* be parsed as a patch degrades to plain monospace text.
|
|
19109
19236
|
*/
|
|
19110
19237
|
interface DiffProps {
|
|
19111
19238
|
/** Unified patch text for exactly ONE file. */
|
|
@@ -19407,22 +19534,6 @@ interface PluginNavPanelRegistration {
|
|
|
19407
19534
|
*/
|
|
19408
19535
|
headerContent?: ComponentType<PluginNavPanelProps>;
|
|
19409
19536
|
}
|
|
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
19537
|
/**
|
|
19427
19538
|
* Context handed to a thread action tab's `run`.
|
|
19428
19539
|
*
|
|
@@ -19432,23 +19543,8 @@ interface PluginPanelActionOpenOptions {
|
|
|
19432
19543
|
interface ExperimentalThreadTabActionContext {
|
|
19433
19544
|
/** The thread whose panel launcher invoked the action. */
|
|
19434
19545
|
threadId: string;
|
|
19435
|
-
/**
|
|
19436
|
-
|
|
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;
|
|
19546
|
+
/** The side panel of the thread view that invoked the action. */
|
|
19547
|
+
experimental_panel: ExperimentalPanelController;
|
|
19452
19548
|
}
|
|
19453
19549
|
/** Where a plugin tab belongs. Navigation panels are owned by the registering plugin. */
|
|
19454
19550
|
type ExperimentalTabContext = {
|
|
@@ -19481,7 +19577,7 @@ type ExperimentalTabLifecycle<Props, Context> = {
|
|
|
19481
19577
|
/** Default persisted params when opened without explicit params. */
|
|
19482
19578
|
params?: JsonValue$1;
|
|
19483
19579
|
run?(context: Context & {
|
|
19484
|
-
|
|
19580
|
+
experimental_panel: ExperimentalPanelController;
|
|
19485
19581
|
}): void | Promise<void>;
|
|
19486
19582
|
};
|
|
19487
19583
|
type ExperimentalTabContextProps<C extends ExperimentalTabContext> = C extends {
|
|
@@ -19502,16 +19598,14 @@ type ExperimentalTabInput<C extends ExperimentalTabContext, A extends "action" |
|
|
|
19502
19598
|
component: ComponentType<ExperimentalTabContextProps<C>>;
|
|
19503
19599
|
run?: never;
|
|
19504
19600
|
params?: never;
|
|
19505
|
-
experimental_target?:
|
|
19506
|
-
kind: "nav-panel";
|
|
19507
|
-
} ? ExperimentalFixedTabTargetContract<JsonValue$1> : never;
|
|
19601
|
+
experimental_target?: ExperimentalFixedTabTargetContract<JsonValue$1>;
|
|
19508
19602
|
} : {
|
|
19509
19603
|
component: ComponentType<ExperimentalTabContextProps<C> & {
|
|
19510
19604
|
params: JsonValue$1 | null;
|
|
19511
19605
|
}>;
|
|
19512
19606
|
params?: JsonValue$1;
|
|
19513
19607
|
run?(context: ExperimentalTabContextProps<C> & {
|
|
19514
|
-
|
|
19608
|
+
experimental_panel: ExperimentalPanelController;
|
|
19515
19609
|
}): void | Promise<void>;
|
|
19516
19610
|
experimental_target?: never;
|
|
19517
19611
|
});
|
|
@@ -19523,12 +19617,21 @@ type ExperimentalTabRegistration = ExperimentalTabCommon & (({
|
|
|
19523
19617
|
useVisible?(props: {
|
|
19524
19618
|
threadId: string;
|
|
19525
19619
|
}): boolean;
|
|
19620
|
+
} & ((ExperimentalTabLifecycle<{
|
|
19621
|
+
threadId: string;
|
|
19622
|
+
}, {
|
|
19623
|
+
threadId: string;
|
|
19624
|
+
}> & {
|
|
19625
|
+
availability: "action";
|
|
19526
19626
|
experimental_target?: never;
|
|
19527
|
-
}
|
|
19627
|
+
}) | (ExperimentalTabLifecycle<{
|
|
19528
19628
|
threadId: string;
|
|
19529
19629
|
}, {
|
|
19530
19630
|
threadId: string;
|
|
19531
|
-
}>
|
|
19631
|
+
}> & {
|
|
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
|
-
*
|
|
19550
|
-
*
|
|
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
|
-
|
|
19655
|
+
experimental_panel: ExperimentalPanelController;
|
|
19554
19656
|
}
|
|
19555
19657
|
/** Registration for the root New thread screen's panel Actions list. */
|
|
19556
19658
|
interface PluginNewThreadPanelActionRegistration {
|
|
@@ -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
|
|
20343
|
-
* side panel, so
|
|
20344
|
-
*
|
|
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
|
-
|
|
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
|
-
*
|
|
21395
|
-
*
|
|
21396
|
-
* thread
|
|
21397
|
-
*
|
|
21398
|
-
*
|
|
21399
|
-
*
|
|
21400
|
-
* `
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
/**
|
|
22818
|
-
|
|
22819
|
-
|
|
22820
|
-
|
|
22821
|
-
|
|
22822
|
-
|
|
22823
|
-
|
|
22824
|
-
|
|
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?:
|
|
22932
|
+
target?: JsonValue$1;
|
|
22835
22933
|
params?: never;
|
|
22836
22934
|
title?: never;
|
|
22837
22935
|
} | {
|
|
22838
22936
|
tab: ExperimentalTabReference & {
|
|
22839
|
-
|
|
22840
|
-
kind: "nav-panel";
|
|
22841
|
-
panelId: string;
|
|
22842
|
-
};
|
|
22843
|
-
availability: "fixed";
|
|
22937
|
+
availability: "action";
|
|
22844
22938
|
};
|
|
22845
|
-
|
|
22846
|
-
|
|
22847
|
-
|
|
22848
|
-
}
|
|
22849
|
-
/**
|
|
22850
|
-
|
|
22851
|
-
|
|
22852
|
-
|
|
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
|
|
22873
|
-
*
|
|
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?: {
|
|
@@ -22899,14 +23008,6 @@ interface BbNavigate {
|
|
|
22899
23008
|
environmentId?: string;
|
|
22900
23009
|
hostId?: string;
|
|
22901
23010
|
}): void;
|
|
22902
|
-
/**
|
|
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
23011
|
/**
|
|
22911
23012
|
* Open an HTTP(S) URL using this client's BB browser preference. Returns
|
|
22912
23013
|
* false for schemes the host does not own. Experimental: see
|
|
@@ -23067,8 +23168,19 @@ interface PluginSdkApp {
|
|
|
23067
23168
|
*/
|
|
23068
23169
|
experimental_useQuestionFormHost(): ExperimentalQuestionFormHost;
|
|
23069
23170
|
useBbNavigate(): BbNavigate;
|
|
23070
|
-
/**
|
|
23071
|
-
|
|
23171
|
+
/**
|
|
23172
|
+
* Whether `useBbNavigate().experimental_openFileExternally` can open this
|
|
23173
|
+
* target now: it resolves to a path on its host (a ready environment, a
|
|
23174
|
+
* host, or thread storage) and this client has an external file target for
|
|
23175
|
+
* that host. False while either is loading; the component re-renders when
|
|
23176
|
+
* the answer changes. Experimental: see docs/api_to_audit.md.
|
|
23177
|
+
*/
|
|
23178
|
+
experimental_useCanOpenFileExternally(target: ExperimentalLiveFileTarget): boolean;
|
|
23179
|
+
/**
|
|
23180
|
+
* The side panel of the surface the calling component renders in: the
|
|
23181
|
+
* thread view, the plugin page, or the New thread screen.
|
|
23182
|
+
*/
|
|
23183
|
+
experimental_useAppPanel(): ExperimentalPanelController;
|
|
23072
23184
|
/** Read or clear the owning tab's validated, session-scoped target. */
|
|
23073
23185
|
experimental_useFixedTabTarget<Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
|
|
23074
23186
|
useComposer(): PluginComposerApi;
|
|
@@ -23575,7 +23687,8 @@ declare const useBbContext: () => BbContext;
|
|
|
23575
23687
|
declare const experimental_usePluginId: () => string;
|
|
23576
23688
|
declare const experimental_useQuestionFormHost: () => ExperimentalQuestionFormHost;
|
|
23577
23689
|
declare const useBbNavigate: () => BbNavigate;
|
|
23578
|
-
declare const
|
|
23690
|
+
declare const experimental_useCanOpenFileExternally: (target: ExperimentalLiveFileTarget) => boolean;
|
|
23691
|
+
declare const experimental_useAppPanel: () => ExperimentalPanelController;
|
|
23579
23692
|
declare const experimental_useFixedTabTarget: <Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>) => ExperimentalFixedTabTargetState<Target> | null;
|
|
23580
23693
|
declare const useComposer: () => PluginComposerApi;
|
|
23581
23694
|
declare const useComposers: () => readonly PluginComposerApi[];
|
|
@@ -23625,5 +23738,5 @@ declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
|
23625
23738
|
declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
|
|
23626
23739
|
declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => Promise<ExperimentalSaveFileOutcome>;
|
|
23627
23740
|
|
|
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,
|
|
23741
|
+
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_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_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
23742
|
+
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, 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 };
|