@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
|
@@ -245,8 +245,10 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
245
245
|
"thread.jump.7": "thread.jump.7";
|
|
246
246
|
"thread.jump.8": "thread.jump.8";
|
|
247
247
|
"thread.jump.9": "thread.jump.9";
|
|
248
|
+
"thread.markRead": "thread.markRead";
|
|
248
249
|
"thread.new": "thread.new";
|
|
249
250
|
"thread.next": "thread.next";
|
|
251
|
+
"thread.pin": "thread.pin";
|
|
250
252
|
"thread.previous": "thread.previous";
|
|
251
253
|
"thread.rename": "thread.rename";
|
|
252
254
|
"thread.search": "thread.search";
|
|
@@ -403,6 +405,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
403
405
|
changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
|
|
404
406
|
"host-connected": "host-connected";
|
|
405
407
|
"host-disconnected": "host-disconnected";
|
|
408
|
+
"provider-commands-changed": "provider-commands-changed";
|
|
406
409
|
"provider-model-catalog-changed": "provider-model-catalog-changed";
|
|
407
410
|
}>>>;
|
|
408
411
|
entity: z$1.ZodLiteral<"host">;
|
|
@@ -527,6 +530,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
527
530
|
serverMove: "serverMove";
|
|
528
531
|
sidebarMultiSelect: "sidebarMultiSelect";
|
|
529
532
|
timelinePush: "timelinePush";
|
|
533
|
+
unreadDividerAtAnswer: "unreadDividerAtAnswer";
|
|
530
534
|
}>, z$1.ZodBoolean>;
|
|
531
535
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
532
536
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
@@ -536,6 +540,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
536
540
|
serverMove: "serverMove";
|
|
537
541
|
sidebarMultiSelect: "sidebarMultiSelect";
|
|
538
542
|
timelinePush: "timelinePush";
|
|
543
|
+
unreadDividerAtAnswer: "unreadDividerAtAnswer";
|
|
539
544
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
540
545
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
541
546
|
|
|
@@ -5678,31 +5683,6 @@ declare const environmentPathsQuerySchema: z$1.ZodObject<{
|
|
|
5678
5683
|
query: z$1.ZodOptional<z$1.ZodString>;
|
|
5679
5684
|
}, z$1.core.$strip>;
|
|
5680
5685
|
type EnvironmentPathsQuery = z$1.infer<typeof environmentPathsQuerySchema>;
|
|
5681
|
-
declare const environmentDiffBranchesQuerySchema: z$1.ZodObject<{
|
|
5682
|
-
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
5683
|
-
query: z$1.ZodOptional<z$1.ZodString>;
|
|
5684
|
-
selectedBranch: z$1.ZodOptional<z$1.ZodString>;
|
|
5685
|
-
}, z$1.core.$strip>;
|
|
5686
|
-
type EnvironmentDiffBranchesQuery = z$1.infer<typeof environmentDiffBranchesQuerySchema>;
|
|
5687
|
-
declare const environmentDiffBranchesResponseSchema: z$1.ZodObject<{
|
|
5688
|
-
branches: z$1.ZodArray<z$1.ZodString>;
|
|
5689
|
-
branchesTruncated: z$1.ZodBoolean;
|
|
5690
|
-
remoteBranches: z$1.ZodArray<z$1.ZodString>;
|
|
5691
|
-
remoteBranchesTruncated: z$1.ZodBoolean;
|
|
5692
|
-
selectedBranch: z$1.ZodNullable<z$1.ZodObject<{
|
|
5693
|
-
kind: z$1.ZodEnum<{
|
|
5694
|
-
local: "local";
|
|
5695
|
-
missing: "missing";
|
|
5696
|
-
remote: "remote";
|
|
5697
|
-
}>;
|
|
5698
|
-
name: z$1.ZodString;
|
|
5699
|
-
}, z$1.core.$strip>>;
|
|
5700
|
-
}, z$1.core.$strip>;
|
|
5701
|
-
type EnvironmentDiffBranchesResponse = z$1.infer<typeof environmentDiffBranchesResponseSchema>;
|
|
5702
|
-
declare const environmentStatusQuerySchema: z$1.ZodObject<{
|
|
5703
|
-
mergeBaseBranch: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodString>>;
|
|
5704
|
-
}, z$1.core.$strip>;
|
|
5705
|
-
type EnvironmentStatusQuery = z$1.infer<typeof environmentStatusQuerySchema>;
|
|
5706
5686
|
declare const environmentDiffQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5707
5687
|
target: z$1.ZodLiteral<"uncommitted">;
|
|
5708
5688
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -5716,50 +5696,6 @@ declare const environmentDiffQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
5716
5696
|
target: z$1.ZodLiteral<"commit">;
|
|
5717
5697
|
}, z$1.core.$strip>], "target">;
|
|
5718
5698
|
type EnvironmentDiffQuery = z$1.infer<typeof environmentDiffQuerySchema>;
|
|
5719
|
-
declare const environmentDiffFileQuerySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5720
|
-
path: z$1.ZodString;
|
|
5721
|
-
side: z$1.ZodEnum<{
|
|
5722
|
-
new: "new";
|
|
5723
|
-
old: "old";
|
|
5724
|
-
}>;
|
|
5725
|
-
target: z$1.ZodLiteral<"uncommitted">;
|
|
5726
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5727
|
-
mergeBaseRef: z$1.ZodString;
|
|
5728
|
-
path: z$1.ZodString;
|
|
5729
|
-
side: z$1.ZodEnum<{
|
|
5730
|
-
new: "new";
|
|
5731
|
-
old: "old";
|
|
5732
|
-
}>;
|
|
5733
|
-
target: z$1.ZodLiteral<"branch_committed">;
|
|
5734
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5735
|
-
mergeBaseRef: z$1.ZodString;
|
|
5736
|
-
path: z$1.ZodString;
|
|
5737
|
-
side: z$1.ZodEnum<{
|
|
5738
|
-
new: "new";
|
|
5739
|
-
old: "old";
|
|
5740
|
-
}>;
|
|
5741
|
-
target: z$1.ZodLiteral<"all">;
|
|
5742
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5743
|
-
path: z$1.ZodString;
|
|
5744
|
-
sha: z$1.ZodString;
|
|
5745
|
-
side: z$1.ZodEnum<{
|
|
5746
|
-
new: "new";
|
|
5747
|
-
old: "old";
|
|
5748
|
-
}>;
|
|
5749
|
-
target: z$1.ZodLiteral<"commit">;
|
|
5750
|
-
}, z$1.core.$strip>], "target">;
|
|
5751
|
-
type EnvironmentDiffFileQuery = z$1.infer<typeof environmentDiffFileQuerySchema>;
|
|
5752
|
-
declare const environmentDiffFileResponseSchema: z$1.ZodObject<{
|
|
5753
|
-
content: z$1.ZodString;
|
|
5754
|
-
contentEncoding: z$1.ZodEnum<{
|
|
5755
|
-
base64: "base64";
|
|
5756
|
-
utf8: "utf8";
|
|
5757
|
-
}>;
|
|
5758
|
-
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
5759
|
-
path: z$1.ZodString;
|
|
5760
|
-
sizeBytes: z$1.ZodNumber;
|
|
5761
|
-
}, z$1.core.$strip>;
|
|
5762
|
-
type EnvironmentDiffFileResponse = z$1.infer<typeof environmentDiffFileResponseSchema>;
|
|
5763
5699
|
declare const environmentArchiveThreadsResponseSchema: z$1.ZodObject<{
|
|
5764
5700
|
archivedThreadIds: z$1.ZodArray<z$1.ZodString>;
|
|
5765
5701
|
ok: z$1.ZodLiteral<true>;
|
|
@@ -5773,246 +5709,6 @@ declare const commitActionResponseSchema: z$1.ZodObject<{
|
|
|
5773
5709
|
ok: z$1.ZodLiteral<true>;
|
|
5774
5710
|
}, z$1.core.$strip>;
|
|
5775
5711
|
type CommitActionResponse = z$1.infer<typeof commitActionResponseSchema>;
|
|
5776
|
-
declare const environmentStatusResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5777
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
5778
|
-
workspace: z$1.ZodObject<{
|
|
5779
|
-
branch: z$1.ZodObject<{
|
|
5780
|
-
currentBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
5781
|
-
defaultBranch: z$1.ZodString;
|
|
5782
|
-
}, z$1.core.$strip>;
|
|
5783
|
-
checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5784
|
-
branchName: z$1.ZodString;
|
|
5785
|
-
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
5786
|
-
kind: z$1.ZodLiteral<"branch">;
|
|
5787
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5788
|
-
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
5789
|
-
kind: z$1.ZodLiteral<"detached">;
|
|
5790
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5791
|
-
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
5792
|
-
kind: z$1.ZodLiteral<"unborn">;
|
|
5793
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5794
|
-
kind: z$1.ZodLiteral<"unknown">;
|
|
5795
|
-
reason: z$1.ZodString;
|
|
5796
|
-
}, z$1.core.$strip>], "kind">;
|
|
5797
|
-
mergeBase: z$1.ZodNullable<z$1.ZodObject<{
|
|
5798
|
-
aheadCount: z$1.ZodNumber;
|
|
5799
|
-
baseRef: z$1.ZodNullable<z$1.ZodString>;
|
|
5800
|
-
behindCount: z$1.ZodNumber;
|
|
5801
|
-
commits: z$1.ZodArray<z$1.ZodObject<{
|
|
5802
|
-
authorName: z$1.ZodString;
|
|
5803
|
-
authoredAt: z$1.ZodNumber;
|
|
5804
|
-
sha: z$1.ZodString;
|
|
5805
|
-
shortSha: z$1.ZodString;
|
|
5806
|
-
subject: z$1.ZodString;
|
|
5807
|
-
}, z$1.core.$strip>>;
|
|
5808
|
-
deletions: z$1.ZodNumber;
|
|
5809
|
-
fileCount: z$1.ZodNumber;
|
|
5810
|
-
files: z$1.ZodArray<z$1.ZodObject<{
|
|
5811
|
-
deletions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5812
|
-
insertions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5813
|
-
path: z$1.ZodString;
|
|
5814
|
-
status: z$1.ZodEnum<{
|
|
5815
|
-
"?": "?";
|
|
5816
|
-
"??": "??";
|
|
5817
|
-
A: "A";
|
|
5818
|
-
C: "C";
|
|
5819
|
-
D: "D";
|
|
5820
|
-
M: "M";
|
|
5821
|
-
R: "R";
|
|
5822
|
-
U: "U";
|
|
5823
|
-
}>;
|
|
5824
|
-
}, z$1.core.$strip>>;
|
|
5825
|
-
hasCommittedUnmergedChanges: z$1.ZodBoolean;
|
|
5826
|
-
insertions: z$1.ZodNumber;
|
|
5827
|
-
lineStatsComplete: z$1.ZodBoolean;
|
|
5828
|
-
mergeBaseBranch: z$1.ZodString;
|
|
5829
|
-
squashMergeCheckComplete: z$1.ZodBoolean;
|
|
5830
|
-
}, z$1.core.$strip>>;
|
|
5831
|
-
workingTree: z$1.ZodObject<{
|
|
5832
|
-
deletions: z$1.ZodNumber;
|
|
5833
|
-
fileCount: z$1.ZodNumber;
|
|
5834
|
-
files: z$1.ZodArray<z$1.ZodObject<{
|
|
5835
|
-
deletions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5836
|
-
insertions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5837
|
-
path: z$1.ZodString;
|
|
5838
|
-
status: z$1.ZodEnum<{
|
|
5839
|
-
"?": "?";
|
|
5840
|
-
"??": "??";
|
|
5841
|
-
A: "A";
|
|
5842
|
-
C: "C";
|
|
5843
|
-
D: "D";
|
|
5844
|
-
M: "M";
|
|
5845
|
-
R: "R";
|
|
5846
|
-
U: "U";
|
|
5847
|
-
}>;
|
|
5848
|
-
}, z$1.core.$strip>>;
|
|
5849
|
-
hasUncommittedChanges: z$1.ZodBoolean;
|
|
5850
|
-
insertions: z$1.ZodNumber;
|
|
5851
|
-
lineStatsComplete: z$1.ZodBoolean;
|
|
5852
|
-
state: z$1.ZodEnum<{
|
|
5853
|
-
clean: "clean";
|
|
5854
|
-
committed_unmerged: "committed_unmerged";
|
|
5855
|
-
dirty_and_committed_unmerged: "dirty_and_committed_unmerged";
|
|
5856
|
-
dirty_uncommitted: "dirty_uncommitted";
|
|
5857
|
-
untracked: "untracked";
|
|
5858
|
-
}>;
|
|
5859
|
-
}, z$1.core.$strip>;
|
|
5860
|
-
}, z$1.core.$strip>;
|
|
5861
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5862
|
-
message: z$1.ZodString;
|
|
5863
|
-
outcome: z$1.ZodLiteral<"not_applicable">;
|
|
5864
|
-
reason: z$1.ZodEnum<{
|
|
5865
|
-
non_git_environment: "non_git_environment";
|
|
5866
|
-
}>;
|
|
5867
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5868
|
-
failure: z$1.ZodObject<{
|
|
5869
|
-
code: z$1.ZodEnum<{
|
|
5870
|
-
not_git_repo: "not_git_repo";
|
|
5871
|
-
path_not_found: "path_not_found";
|
|
5872
|
-
permission_denied: "permission_denied";
|
|
5873
|
-
unknown: "unknown";
|
|
5874
|
-
unknown_environment: "unknown_environment";
|
|
5875
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
5876
|
-
}>;
|
|
5877
|
-
message: z$1.ZodString;
|
|
5878
|
-
workspacePath: z$1.ZodString;
|
|
5879
|
-
}, z$1.core.$strict>;
|
|
5880
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
5881
|
-
}, z$1.core.$strict>], "outcome">;
|
|
5882
|
-
declare const environmentDiffResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5883
|
-
diff: z$1.ZodObject<{
|
|
5884
|
-
diff: z$1.ZodString;
|
|
5885
|
-
files: z$1.ZodString;
|
|
5886
|
-
mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
|
|
5887
|
-
shortstat: z$1.ZodString;
|
|
5888
|
-
truncated: z$1.ZodBoolean;
|
|
5889
|
-
}, z$1.core.$strip>;
|
|
5890
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
5891
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5892
|
-
message: z$1.ZodString;
|
|
5893
|
-
outcome: z$1.ZodLiteral<"not_applicable">;
|
|
5894
|
-
reason: z$1.ZodEnum<{
|
|
5895
|
-
non_git_environment: "non_git_environment";
|
|
5896
|
-
}>;
|
|
5897
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5898
|
-
failure: z$1.ZodObject<{
|
|
5899
|
-
code: z$1.ZodEnum<{
|
|
5900
|
-
not_git_repo: "not_git_repo";
|
|
5901
|
-
path_not_found: "path_not_found";
|
|
5902
|
-
permission_denied: "permission_denied";
|
|
5903
|
-
unknown: "unknown";
|
|
5904
|
-
unknown_environment: "unknown_environment";
|
|
5905
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
5906
|
-
}>;
|
|
5907
|
-
message: z$1.ZodString;
|
|
5908
|
-
workspacePath: z$1.ZodString;
|
|
5909
|
-
}, z$1.core.$strict>;
|
|
5910
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
5911
|
-
}, z$1.core.$strict>], "outcome">;
|
|
5912
|
-
type EnvironmentDiffResponse = z$1.infer<typeof environmentDiffResponseSchema>;
|
|
5913
|
-
declare const environmentDiffFilesResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5914
|
-
files: z$1.ZodArray<z$1.ZodObject<{
|
|
5915
|
-
additions: z$1.ZodNumber;
|
|
5916
|
-
binary: z$1.ZodBoolean;
|
|
5917
|
-
changeKind: z$1.ZodEnum<{
|
|
5918
|
-
added: "added";
|
|
5919
|
-
copied: "copied";
|
|
5920
|
-
deleted: "deleted";
|
|
5921
|
-
modified: "modified";
|
|
5922
|
-
renamed: "renamed";
|
|
5923
|
-
type_changed: "type_changed";
|
|
5924
|
-
}>;
|
|
5925
|
-
deletions: z$1.ZodNumber;
|
|
5926
|
-
loadMode: z$1.ZodEnum<{
|
|
5927
|
-
auto: "auto";
|
|
5928
|
-
on_demand: "on_demand";
|
|
5929
|
-
too_large: "too_large";
|
|
5930
|
-
}>;
|
|
5931
|
-
origin: z$1.ZodEnum<{
|
|
5932
|
-
tracked: "tracked";
|
|
5933
|
-
untracked: "untracked";
|
|
5934
|
-
}>;
|
|
5935
|
-
path: z$1.ZodString;
|
|
5936
|
-
previousPath: z$1.ZodNullable<z$1.ZodString>;
|
|
5937
|
-
revision: z$1.ZodString;
|
|
5938
|
-
}, z$1.core.$strip>>;
|
|
5939
|
-
initialPatches: z$1.ZodArray<z$1.ZodObject<{
|
|
5940
|
-
patch: z$1.ZodString;
|
|
5941
|
-
path: z$1.ZodString;
|
|
5942
|
-
truncated: z$1.ZodBoolean;
|
|
5943
|
-
}, z$1.core.$strip>>;
|
|
5944
|
-
mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
|
|
5945
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
5946
|
-
shortstat: z$1.ZodString;
|
|
5947
|
-
truncated: z$1.ZodBoolean;
|
|
5948
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5949
|
-
message: z$1.ZodString;
|
|
5950
|
-
outcome: z$1.ZodLiteral<"not_applicable">;
|
|
5951
|
-
reason: z$1.ZodEnum<{
|
|
5952
|
-
non_git_environment: "non_git_environment";
|
|
5953
|
-
}>;
|
|
5954
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5955
|
-
failure: z$1.ZodObject<{
|
|
5956
|
-
code: z$1.ZodEnum<{
|
|
5957
|
-
not_git_repo: "not_git_repo";
|
|
5958
|
-
path_not_found: "path_not_found";
|
|
5959
|
-
permission_denied: "permission_denied";
|
|
5960
|
-
unknown: "unknown";
|
|
5961
|
-
unknown_environment: "unknown_environment";
|
|
5962
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
5963
|
-
}>;
|
|
5964
|
-
message: z$1.ZodString;
|
|
5965
|
-
workspacePath: z$1.ZodString;
|
|
5966
|
-
}, z$1.core.$strict>;
|
|
5967
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
5968
|
-
}, z$1.core.$strict>], "outcome">;
|
|
5969
|
-
type EnvironmentDiffFilesResponse = z$1.infer<typeof environmentDiffFilesResponseSchema>;
|
|
5970
|
-
declare const environmentDiffPatchResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5971
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
5972
|
-
patches: z$1.ZodArray<z$1.ZodObject<{
|
|
5973
|
-
patch: z$1.ZodString;
|
|
5974
|
-
path: z$1.ZodString;
|
|
5975
|
-
truncated: z$1.ZodBoolean;
|
|
5976
|
-
}, z$1.core.$strip>>;
|
|
5977
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5978
|
-
message: z$1.ZodString;
|
|
5979
|
-
outcome: z$1.ZodLiteral<"not_applicable">;
|
|
5980
|
-
reason: z$1.ZodEnum<{
|
|
5981
|
-
non_git_environment: "non_git_environment";
|
|
5982
|
-
}>;
|
|
5983
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5984
|
-
failure: z$1.ZodObject<{
|
|
5985
|
-
code: z$1.ZodEnum<{
|
|
5986
|
-
not_git_repo: "not_git_repo";
|
|
5987
|
-
path_not_found: "path_not_found";
|
|
5988
|
-
permission_denied: "permission_denied";
|
|
5989
|
-
unknown: "unknown";
|
|
5990
|
-
unknown_environment: "unknown_environment";
|
|
5991
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
5992
|
-
}>;
|
|
5993
|
-
message: z$1.ZodString;
|
|
5994
|
-
workspacePath: z$1.ZodString;
|
|
5995
|
-
}, z$1.core.$strict>;
|
|
5996
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
5997
|
-
}, z$1.core.$strict>], "outcome">;
|
|
5998
|
-
type EnvironmentDiffPatchResponse = z$1.infer<typeof environmentDiffPatchResponseSchema>;
|
|
5999
|
-
declare const environmentDiffPatchRequestSchema: z$1.ZodObject<{
|
|
6000
|
-
ignoreWhitespace: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
6001
|
-
paths: z$1.ZodArray<z$1.ZodString>;
|
|
6002
|
-
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6003
|
-
type: z$1.ZodLiteral<"uncommitted">;
|
|
6004
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6005
|
-
mergeBaseBranch: z$1.ZodString;
|
|
6006
|
-
type: z$1.ZodLiteral<"branch_committed">;
|
|
6007
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6008
|
-
mergeBaseBranch: z$1.ZodString;
|
|
6009
|
-
type: z$1.ZodLiteral<"all">;
|
|
6010
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6011
|
-
sha: z$1.ZodString;
|
|
6012
|
-
type: z$1.ZodLiteral<"commit">;
|
|
6013
|
-
}, z$1.core.$strip>], "type">;
|
|
6014
|
-
}, z$1.core.$strict>;
|
|
6015
|
-
type EnvironmentDiffPatchRequest = z$1.infer<typeof environmentDiffPatchRequestSchema>;
|
|
6016
5712
|
declare const environmentDiffViewedResponseSchema: z$1.ZodObject<{
|
|
6017
5713
|
files: z$1.ZodArray<z$1.ZodObject<{
|
|
6018
5714
|
path: z$1.ZodString;
|
|
@@ -6053,7 +5749,6 @@ declare const environmentDiffViewedClearRequestSchema: z$1.ZodObject<{
|
|
|
6053
5749
|
}, z$1.core.$strip>], "type">;
|
|
6054
5750
|
}, z$1.core.$strict>;
|
|
6055
5751
|
type EnvironmentDiffViewedClearRequest = z$1.infer<typeof environmentDiffViewedClearRequestSchema>;
|
|
6056
|
-
type EnvironmentStatusResponse = z$1.infer<typeof environmentStatusResponseSchema>;
|
|
6057
5752
|
|
|
6058
5753
|
declare const providerUsageResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6059
5754
|
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -8155,6 +7850,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8155
7850
|
}, z$1.core.$strip>>;
|
|
8156
7851
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
8157
7852
|
"host.read_file": HostDaemonCommandDescriptor<"host.read_file", z$1.ZodObject<{
|
|
7853
|
+
followRootSymlink: z$1.ZodBoolean;
|
|
8158
7854
|
ifNoneMatch: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8159
7855
|
kind: z$1.ZodLiteral<"any">;
|
|
8160
7856
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -8204,27 +7900,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8204
7900
|
revision: z$1.ZodString;
|
|
8205
7901
|
sizeBytes: z$1.ZodNumber;
|
|
8206
7902
|
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
8207
|
-
"host.read_file_relative": HostDaemonCommandDescriptor<"host.read_file_relative", z$1.ZodObject<{
|
|
8208
|
-
dotfiles: z$1.ZodEnum<{
|
|
8209
|
-
allow: "allow";
|
|
8210
|
-
deny: "deny";
|
|
8211
|
-
}>;
|
|
8212
|
-
followRootSymlink: z$1.ZodBoolean;
|
|
8213
|
-
path: z$1.ZodString;
|
|
8214
|
-
rootPath: z$1.ZodString;
|
|
8215
|
-
type: z$1.ZodLiteral<"host.read_file_relative">;
|
|
8216
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8217
|
-
content: z$1.ZodString;
|
|
8218
|
-
contentEncoding: z$1.ZodEnum<{
|
|
8219
|
-
base64: "base64";
|
|
8220
|
-
utf8: "utf8";
|
|
8221
|
-
}>;
|
|
8222
|
-
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
8223
|
-
modifiedAtMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8224
|
-
path: z$1.ZodString;
|
|
8225
|
-
sha256: z$1.ZodString;
|
|
8226
|
-
sizeBytes: z$1.ZodNumber;
|
|
8227
|
-
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
8228
7903
|
"host.write_file": HostDaemonCommandDescriptor<"host.write_file", z$1.ZodObject<{
|
|
8229
7904
|
content: z$1.ZodString;
|
|
8230
7905
|
contentEncoding: z$1.ZodEnum<{
|
|
@@ -8654,264 +8329,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8654
8329
|
}, z$1.core.$strict>>;
|
|
8655
8330
|
truncated: z$1.ZodBoolean;
|
|
8656
8331
|
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
8657
|
-
"workspace.status": HostDaemonCommandDescriptor<"workspace.status", z$1.ZodObject<{
|
|
8658
|
-
environmentId: z$1.ZodString;
|
|
8659
|
-
maxFiles: z$1.ZodNumber;
|
|
8660
|
-
maxUntrackedLineStatBytes: z$1.ZodNumber;
|
|
8661
|
-
maxUntrackedLineStatFiles: z$1.ZodNumber;
|
|
8662
|
-
mergeBaseBranch: z$1.ZodOptional<z$1.ZodString>;
|
|
8663
|
-
type: z$1.ZodLiteral<"workspace.status">;
|
|
8664
|
-
workspaceContext: z$1.ZodObject<{
|
|
8665
|
-
workspacePath: z$1.ZodString;
|
|
8666
|
-
}, z$1.core.$strip>;
|
|
8667
|
-
}, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8668
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
8669
|
-
workspaceStatus: z$1.ZodObject<{
|
|
8670
|
-
branch: z$1.ZodObject<{
|
|
8671
|
-
currentBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
8672
|
-
defaultBranch: z$1.ZodString;
|
|
8673
|
-
}, z$1.core.$strip>;
|
|
8674
|
-
checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8675
|
-
branchName: z$1.ZodString;
|
|
8676
|
-
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
8677
|
-
kind: z$1.ZodLiteral<"branch">;
|
|
8678
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8679
|
-
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
8680
|
-
kind: z$1.ZodLiteral<"detached">;
|
|
8681
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8682
|
-
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
8683
|
-
kind: z$1.ZodLiteral<"unborn">;
|
|
8684
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8685
|
-
kind: z$1.ZodLiteral<"unknown">;
|
|
8686
|
-
reason: z$1.ZodString;
|
|
8687
|
-
}, z$1.core.$strip>], "kind">;
|
|
8688
|
-
mergeBase: z$1.ZodNullable<z$1.ZodObject<{
|
|
8689
|
-
aheadCount: z$1.ZodNumber;
|
|
8690
|
-
baseRef: z$1.ZodNullable<z$1.ZodString>;
|
|
8691
|
-
behindCount: z$1.ZodNumber;
|
|
8692
|
-
commits: z$1.ZodArray<z$1.ZodObject<{
|
|
8693
|
-
authorName: z$1.ZodString;
|
|
8694
|
-
authoredAt: z$1.ZodNumber;
|
|
8695
|
-
sha: z$1.ZodString;
|
|
8696
|
-
shortSha: z$1.ZodString;
|
|
8697
|
-
subject: z$1.ZodString;
|
|
8698
|
-
}, z$1.core.$strip>>;
|
|
8699
|
-
deletions: z$1.ZodNumber;
|
|
8700
|
-
fileCount: z$1.ZodNumber;
|
|
8701
|
-
files: z$1.ZodArray<z$1.ZodObject<{
|
|
8702
|
-
deletions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8703
|
-
insertions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8704
|
-
path: z$1.ZodString;
|
|
8705
|
-
status: z$1.ZodEnum<{
|
|
8706
|
-
"?": "?";
|
|
8707
|
-
"??": "??";
|
|
8708
|
-
A: "A";
|
|
8709
|
-
C: "C";
|
|
8710
|
-
D: "D";
|
|
8711
|
-
M: "M";
|
|
8712
|
-
R: "R";
|
|
8713
|
-
U: "U";
|
|
8714
|
-
}>;
|
|
8715
|
-
}, z$1.core.$strip>>;
|
|
8716
|
-
hasCommittedUnmergedChanges: z$1.ZodBoolean;
|
|
8717
|
-
insertions: z$1.ZodNumber;
|
|
8718
|
-
lineStatsComplete: z$1.ZodBoolean;
|
|
8719
|
-
mergeBaseBranch: z$1.ZodString;
|
|
8720
|
-
squashMergeCheckComplete: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
8721
|
-
}, z$1.core.$strip>>;
|
|
8722
|
-
workingTree: z$1.ZodObject<{
|
|
8723
|
-
deletions: z$1.ZodNumber;
|
|
8724
|
-
fileCount: z$1.ZodNumber;
|
|
8725
|
-
files: z$1.ZodArray<z$1.ZodObject<{
|
|
8726
|
-
deletions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8727
|
-
insertions: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8728
|
-
path: z$1.ZodString;
|
|
8729
|
-
status: z$1.ZodEnum<{
|
|
8730
|
-
"?": "?";
|
|
8731
|
-
"??": "??";
|
|
8732
|
-
A: "A";
|
|
8733
|
-
C: "C";
|
|
8734
|
-
D: "D";
|
|
8735
|
-
M: "M";
|
|
8736
|
-
R: "R";
|
|
8737
|
-
U: "U";
|
|
8738
|
-
}>;
|
|
8739
|
-
}, z$1.core.$strip>>;
|
|
8740
|
-
hasUncommittedChanges: z$1.ZodBoolean;
|
|
8741
|
-
insertions: z$1.ZodNumber;
|
|
8742
|
-
lineStatsComplete: z$1.ZodBoolean;
|
|
8743
|
-
state: z$1.ZodEnum<{
|
|
8744
|
-
clean: "clean";
|
|
8745
|
-
committed_unmerged: "committed_unmerged";
|
|
8746
|
-
dirty_and_committed_unmerged: "dirty_and_committed_unmerged";
|
|
8747
|
-
dirty_uncommitted: "dirty_uncommitted";
|
|
8748
|
-
untracked: "untracked";
|
|
8749
|
-
}>;
|
|
8750
|
-
}, z$1.core.$strip>;
|
|
8751
|
-
}, z$1.core.$strip>;
|
|
8752
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8753
|
-
failure: z$1.ZodObject<{
|
|
8754
|
-
code: z$1.ZodEnum<{
|
|
8755
|
-
not_git_repo: "not_git_repo";
|
|
8756
|
-
path_not_found: "path_not_found";
|
|
8757
|
-
permission_denied: "permission_denied";
|
|
8758
|
-
unknown: "unknown";
|
|
8759
|
-
unknown_environment: "unknown_environment";
|
|
8760
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
8761
|
-
}>;
|
|
8762
|
-
message: z$1.ZodString;
|
|
8763
|
-
workspacePath: z$1.ZodString;
|
|
8764
|
-
}, z$1.core.$strict>;
|
|
8765
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
8766
|
-
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8767
|
-
"workspace.diff": HostDaemonCommandDescriptor<"workspace.diff", z$1.ZodObject<{
|
|
8768
|
-
environmentId: z$1.ZodString;
|
|
8769
|
-
maxDiffBytes: z$1.ZodNumber;
|
|
8770
|
-
maxFileListBytes: z$1.ZodNumber;
|
|
8771
|
-
maxUntrackedFiles: z$1.ZodNumber;
|
|
8772
|
-
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8773
|
-
type: z$1.ZodLiteral<"uncommitted">;
|
|
8774
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8775
|
-
mergeBaseBranch: z$1.ZodString;
|
|
8776
|
-
type: z$1.ZodLiteral<"branch_committed">;
|
|
8777
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8778
|
-
mergeBaseBranch: z$1.ZodString;
|
|
8779
|
-
type: z$1.ZodLiteral<"all">;
|
|
8780
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8781
|
-
sha: z$1.ZodString;
|
|
8782
|
-
type: z$1.ZodLiteral<"commit">;
|
|
8783
|
-
}, z$1.core.$strip>], "type">;
|
|
8784
|
-
type: z$1.ZodLiteral<"workspace.diff">;
|
|
8785
|
-
workspaceContext: z$1.ZodObject<{
|
|
8786
|
-
workspacePath: z$1.ZodString;
|
|
8787
|
-
}, z$1.core.$strip>;
|
|
8788
|
-
}, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8789
|
-
diff: z$1.ZodObject<{
|
|
8790
|
-
diff: z$1.ZodString;
|
|
8791
|
-
files: z$1.ZodString;
|
|
8792
|
-
mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
|
|
8793
|
-
shortstat: z$1.ZodString;
|
|
8794
|
-
truncated: z$1.ZodBoolean;
|
|
8795
|
-
}, z$1.core.$strip>;
|
|
8796
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
8797
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8798
|
-
failure: z$1.ZodObject<{
|
|
8799
|
-
code: z$1.ZodEnum<{
|
|
8800
|
-
not_git_repo: "not_git_repo";
|
|
8801
|
-
path_not_found: "path_not_found";
|
|
8802
|
-
permission_denied: "permission_denied";
|
|
8803
|
-
unknown: "unknown";
|
|
8804
|
-
unknown_environment: "unknown_environment";
|
|
8805
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
8806
|
-
}>;
|
|
8807
|
-
message: z$1.ZodString;
|
|
8808
|
-
workspacePath: z$1.ZodString;
|
|
8809
|
-
}, z$1.core.$strict>;
|
|
8810
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
8811
|
-
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8812
|
-
"workspace.diffFiles": HostDaemonCommandDescriptor<"workspace.diffFiles", z$1.ZodObject<{
|
|
8813
|
-
environmentId: z$1.ZodString;
|
|
8814
|
-
ignoreWhitespace: z$1.ZodBoolean;
|
|
8815
|
-
maxFiles: z$1.ZodNumber;
|
|
8816
|
-
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8817
|
-
type: z$1.ZodLiteral<"uncommitted">;
|
|
8818
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8819
|
-
mergeBaseBranch: z$1.ZodString;
|
|
8820
|
-
type: z$1.ZodLiteral<"branch_committed">;
|
|
8821
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8822
|
-
mergeBaseBranch: z$1.ZodString;
|
|
8823
|
-
type: z$1.ZodLiteral<"all">;
|
|
8824
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8825
|
-
sha: z$1.ZodString;
|
|
8826
|
-
type: z$1.ZodLiteral<"commit">;
|
|
8827
|
-
}, z$1.core.$strip>], "type">;
|
|
8828
|
-
type: z$1.ZodLiteral<"workspace.diffFiles">;
|
|
8829
|
-
workspaceContext: z$1.ZodObject<{
|
|
8830
|
-
workspacePath: z$1.ZodString;
|
|
8831
|
-
}, z$1.core.$strip>;
|
|
8832
|
-
}, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8833
|
-
files: z$1.ZodArray<z$1.ZodObject<{
|
|
8834
|
-
additions: z$1.ZodNumber;
|
|
8835
|
-
binary: z$1.ZodBoolean;
|
|
8836
|
-
deletions: z$1.ZodNumber;
|
|
8837
|
-
origin: z$1.ZodEnum<{
|
|
8838
|
-
tracked: "tracked";
|
|
8839
|
-
untracked: "untracked";
|
|
8840
|
-
}>;
|
|
8841
|
-
path: z$1.ZodString;
|
|
8842
|
-
previousPath: z$1.ZodNullable<z$1.ZodString>;
|
|
8843
|
-
revision: z$1.ZodString;
|
|
8844
|
-
statusLetter: z$1.ZodEnum<{
|
|
8845
|
-
A: "A";
|
|
8846
|
-
C: "C";
|
|
8847
|
-
D: "D";
|
|
8848
|
-
M: "M";
|
|
8849
|
-
R: "R";
|
|
8850
|
-
T: "T";
|
|
8851
|
-
}>;
|
|
8852
|
-
}, z$1.core.$strip>>;
|
|
8853
|
-
mergeBaseRef: z$1.ZodNullable<z$1.ZodString>;
|
|
8854
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
8855
|
-
shortstat: z$1.ZodString;
|
|
8856
|
-
truncated: z$1.ZodBoolean;
|
|
8857
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8858
|
-
failure: z$1.ZodObject<{
|
|
8859
|
-
code: z$1.ZodEnum<{
|
|
8860
|
-
not_git_repo: "not_git_repo";
|
|
8861
|
-
path_not_found: "path_not_found";
|
|
8862
|
-
permission_denied: "permission_denied";
|
|
8863
|
-
unknown: "unknown";
|
|
8864
|
-
unknown_environment: "unknown_environment";
|
|
8865
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
8866
|
-
}>;
|
|
8867
|
-
message: z$1.ZodString;
|
|
8868
|
-
workspacePath: z$1.ZodString;
|
|
8869
|
-
}, z$1.core.$strict>;
|
|
8870
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
8871
|
-
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8872
|
-
"workspace.diffPatch": HostDaemonCommandDescriptor<"workspace.diffPatch", z$1.ZodObject<{
|
|
8873
|
-
environmentId: z$1.ZodString;
|
|
8874
|
-
ignoreWhitespace: z$1.ZodBoolean;
|
|
8875
|
-
maxBytesPerFile: z$1.ZodNumber;
|
|
8876
|
-
paths: z$1.ZodArray<z$1.ZodString>;
|
|
8877
|
-
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8878
|
-
type: z$1.ZodLiteral<"uncommitted">;
|
|
8879
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8880
|
-
mergeBaseBranch: z$1.ZodString;
|
|
8881
|
-
type: z$1.ZodLiteral<"branch_committed">;
|
|
8882
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8883
|
-
mergeBaseBranch: z$1.ZodString;
|
|
8884
|
-
type: z$1.ZodLiteral<"all">;
|
|
8885
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8886
|
-
sha: z$1.ZodString;
|
|
8887
|
-
type: z$1.ZodLiteral<"commit">;
|
|
8888
|
-
}, z$1.core.$strip>], "type">;
|
|
8889
|
-
type: z$1.ZodLiteral<"workspace.diffPatch">;
|
|
8890
|
-
workspaceContext: z$1.ZodObject<{
|
|
8891
|
-
workspacePath: z$1.ZodString;
|
|
8892
|
-
}, z$1.core.$strip>;
|
|
8893
|
-
}, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8894
|
-
outcome: z$1.ZodLiteral<"available">;
|
|
8895
|
-
patches: z$1.ZodArray<z$1.ZodObject<{
|
|
8896
|
-
patch: z$1.ZodString;
|
|
8897
|
-
path: z$1.ZodString;
|
|
8898
|
-
truncated: z$1.ZodBoolean;
|
|
8899
|
-
}, z$1.core.$strict>>;
|
|
8900
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8901
|
-
failure: z$1.ZodObject<{
|
|
8902
|
-
code: z$1.ZodEnum<{
|
|
8903
|
-
not_git_repo: "not_git_repo";
|
|
8904
|
-
path_not_found: "path_not_found";
|
|
8905
|
-
permission_denied: "permission_denied";
|
|
8906
|
-
unknown: "unknown";
|
|
8907
|
-
unknown_environment: "unknown_environment";
|
|
8908
|
-
workspace_type_mismatch: "workspace_type_mismatch";
|
|
8909
|
-
}>;
|
|
8910
|
-
message: z$1.ZodString;
|
|
8911
|
-
workspacePath: z$1.ZodString;
|
|
8912
|
-
}, z$1.core.$strict>;
|
|
8913
|
-
outcome: z$1.ZodLiteral<"unavailable">;
|
|
8914
|
-
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8915
8332
|
"server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
|
|
8916
8333
|
paths: z$1.ZodArray<z$1.ZodString>;
|
|
8917
8334
|
port: z$1.ZodNumber;
|
|
@@ -9526,6 +8943,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
9526
8943
|
hash: z$1.ZodString;
|
|
9527
8944
|
jsBytes: z$1.ZodNumber;
|
|
9528
8945
|
jsUrl: z$1.ZodString;
|
|
8946
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
9529
8947
|
sdkMajor: z$1.ZodNumber;
|
|
9530
8948
|
sdkVersion: z$1.ZodString;
|
|
9531
8949
|
}, z$1.core.$strip>>;
|
|
@@ -9646,6 +9064,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
9646
9064
|
hash: z$1.ZodString;
|
|
9647
9065
|
jsBytes: z$1.ZodNumber;
|
|
9648
9066
|
jsUrl: z$1.ZodString;
|
|
9067
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
9649
9068
|
sdkMajor: z$1.ZodNumber;
|
|
9650
9069
|
sdkVersion: z$1.ZodString;
|
|
9651
9070
|
}, z$1.core.$strip>>;
|
|
@@ -9832,6 +9251,7 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
9832
9251
|
hash: z$1.ZodString;
|
|
9833
9252
|
jsBytes: z$1.ZodNumber;
|
|
9834
9253
|
jsUrl: z$1.ZodString;
|
|
9254
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
9835
9255
|
sdkMajor: z$1.ZodNumber;
|
|
9836
9256
|
sdkVersion: z$1.ZodString;
|
|
9837
9257
|
}, z$1.core.$strip>>;
|
|
@@ -10015,6 +9435,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
10015
9435
|
hash: z$1.ZodString;
|
|
10016
9436
|
jsBytes: z$1.ZodNumber;
|
|
10017
9437
|
jsUrl: z$1.ZodString;
|
|
9438
|
+
runtimeSlots: z$1.ZodArray<z$1.ZodString>;
|
|
10018
9439
|
sdkMajor: z$1.ZodNumber;
|
|
10019
9440
|
sdkVersion: z$1.ZodString;
|
|
10020
9441
|
}, z$1.core.$strip>>;
|
|
@@ -10950,8 +10371,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10950
10371
|
"thread.jump.7": "thread.jump.7";
|
|
10951
10372
|
"thread.jump.8": "thread.jump.8";
|
|
10952
10373
|
"thread.jump.9": "thread.jump.9";
|
|
10374
|
+
"thread.markRead": "thread.markRead";
|
|
10953
10375
|
"thread.new": "thread.new";
|
|
10954
10376
|
"thread.next": "thread.next";
|
|
10377
|
+
"thread.pin": "thread.pin";
|
|
10955
10378
|
"thread.previous": "thread.previous";
|
|
10956
10379
|
"thread.rename": "thread.rename";
|
|
10957
10380
|
"thread.search": "thread.search";
|
|
@@ -11009,6 +10432,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11009
10432
|
serverMove: "serverMove";
|
|
11010
10433
|
sidebarMultiSelect: "sidebarMultiSelect";
|
|
11011
10434
|
timelinePush: "timelinePush";
|
|
10435
|
+
unreadDividerAtAnswer: "unreadDividerAtAnswer";
|
|
11012
10436
|
}>, z$1.ZodBoolean>;
|
|
11013
10437
|
featureFlags: z$1.ZodObject<{
|
|
11014
10438
|
initiatorTelemetry: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
@@ -11116,8 +10540,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11116
10540
|
"thread.jump.7": "thread.jump.7";
|
|
11117
10541
|
"thread.jump.8": "thread.jump.8";
|
|
11118
10542
|
"thread.jump.9": "thread.jump.9";
|
|
10543
|
+
"thread.markRead": "thread.markRead";
|
|
11119
10544
|
"thread.new": "thread.new";
|
|
11120
10545
|
"thread.next": "thread.next";
|
|
10546
|
+
"thread.pin": "thread.pin";
|
|
11121
10547
|
"thread.previous": "thread.previous";
|
|
11122
10548
|
"thread.rename": "thread.rename";
|
|
11123
10549
|
"thread.search": "thread.search";
|
|
@@ -11213,8 +10639,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11213
10639
|
"thread.jump.7": "thread.jump.7";
|
|
11214
10640
|
"thread.jump.8": "thread.jump.8";
|
|
11215
10641
|
"thread.jump.9": "thread.jump.9";
|
|
10642
|
+
"thread.markRead": "thread.markRead";
|
|
11216
10643
|
"thread.new": "thread.new";
|
|
11217
10644
|
"thread.next": "thread.next";
|
|
10645
|
+
"thread.pin": "thread.pin";
|
|
11218
10646
|
"thread.previous": "thread.previous";
|
|
11219
10647
|
"thread.rename": "thread.rename";
|
|
11220
10648
|
"thread.search": "thread.search";
|
|
@@ -14688,10 +14116,22 @@ declare const threadDescendantsListResponseSchema: z$1.ZodObject<{
|
|
|
14688
14116
|
}, z$1.core.$strict>>;
|
|
14689
14117
|
}, z$1.core.$strict>;
|
|
14690
14118
|
type ThreadDescendantsListResponse = z$1.infer<typeof threadDescendantsListResponseSchema>;
|
|
14691
|
-
declare const
|
|
14692
|
-
|
|
14693
|
-
|
|
14694
|
-
|
|
14119
|
+
declare const threadCascadeActionSchema: z$1.ZodEnum<{
|
|
14120
|
+
archive: "archive";
|
|
14121
|
+
delete: "delete";
|
|
14122
|
+
}>;
|
|
14123
|
+
type ThreadCascadeAction = z$1.infer<typeof threadCascadeActionSchema>;
|
|
14124
|
+
declare const threadCascadeListResponseSchema: z$1.ZodObject<{
|
|
14125
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
14126
|
+
cascadeThreadIds: z$1.ZodArray<z$1.ZodString>;
|
|
14127
|
+
threadId: z$1.ZodString;
|
|
14128
|
+
}, z$1.core.$strict>>;
|
|
14129
|
+
}, z$1.core.$strict>;
|
|
14130
|
+
type ThreadCascadeListResponse = z$1.infer<typeof threadCascadeListResponseSchema>;
|
|
14131
|
+
declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
14132
|
+
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
14133
|
+
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14134
|
+
canEditMessages: z$1.ZodBoolean;
|
|
14695
14135
|
canRestoreEnvironment: z$1.ZodBoolean;
|
|
14696
14136
|
canSpawnChild: z$1.ZodBoolean;
|
|
14697
14137
|
createdAt: z$1.ZodNumber;
|
|
@@ -15427,7 +14867,7 @@ declare const threadSearchQuerySchema: z$1.ZodObject<{
|
|
|
15427
14867
|
}, z$1.core.$strip>;
|
|
15428
14868
|
type ThreadSearchQuery = z$1.infer<typeof threadSearchQuerySchema>;
|
|
15429
14869
|
declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
15430
|
-
|
|
14870
|
+
afterTag: z$1.ZodOptional<z$1.ZodString>;
|
|
15431
14871
|
beforeAnchorId: z$1.ZodOptional<z$1.ZodString>;
|
|
15432
14872
|
beforeAnchorSeq: z$1.ZodOptional<z$1.ZodString>;
|
|
15433
14873
|
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -15947,116 +15387,806 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15947
15387
|
}>;
|
|
15948
15388
|
}, z$1.core.$strip>>;
|
|
15949
15389
|
status: z$1.ZodEnum<{
|
|
15950
|
-
completed: "completed";
|
|
15951
|
-
failed: "failed";
|
|
15952
|
-
interrupted: "interrupted";
|
|
15390
|
+
completed: "completed";
|
|
15391
|
+
failed: "failed";
|
|
15392
|
+
interrupted: "interrupted";
|
|
15393
|
+
}>;
|
|
15394
|
+
threadId: z$1.ZodString;
|
|
15395
|
+
}, z$1.core.$strip>>>;
|
|
15396
|
+
threadId: z$1.ZodString;
|
|
15397
|
+
threadName: z$1.ZodString;
|
|
15398
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15399
|
+
count: z$1.ZodNumber;
|
|
15400
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
15401
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15402
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15403
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15404
|
+
reason: z$1.ZodEnum<{
|
|
15405
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15406
|
+
"host-removed": "host-removed";
|
|
15407
|
+
"manual-stop": "manual-stop";
|
|
15408
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15409
|
+
}>;
|
|
15410
|
+
}, z$1.core.$strip>>;
|
|
15411
|
+
status: z$1.ZodEnum<{
|
|
15412
|
+
completed: "completed";
|
|
15413
|
+
failed: "failed";
|
|
15414
|
+
interrupted: "interrupted";
|
|
15415
|
+
}>;
|
|
15416
|
+
threadId: z$1.ZodString;
|
|
15417
|
+
}, z$1.core.$strip>>>;
|
|
15418
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15419
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
15420
|
+
suppress: z$1.ZodBoolean;
|
|
15421
|
+
toolName: z$1.ZodString;
|
|
15422
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15423
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
15424
|
+
path: z$1.ZodString;
|
|
15425
|
+
}, z$1.core.$strip>], "kind">>;
|
|
15426
|
+
text: z$1.ZodString;
|
|
15427
|
+
threadId: z$1.ZodString;
|
|
15428
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15429
|
+
turnRequest: z$1.ZodObject<{
|
|
15430
|
+
isGrouped: z$1.ZodBoolean;
|
|
15431
|
+
kind: z$1.ZodEnum<{
|
|
15432
|
+
message: "message";
|
|
15433
|
+
steer: "steer";
|
|
15434
|
+
}>;
|
|
15435
|
+
status: z$1.ZodEnum<{
|
|
15436
|
+
accepted: "accepted";
|
|
15437
|
+
pending: "pending";
|
|
15438
|
+
rejected: "rejected";
|
|
15439
|
+
}>;
|
|
15440
|
+
}, z$1.core.$strip>;
|
|
15441
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15442
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15443
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15444
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15445
|
+
name: z$1.ZodString;
|
|
15446
|
+
path: z$1.ZodString;
|
|
15447
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15448
|
+
}, z$1.core.$strip>>;
|
|
15449
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15450
|
+
localFiles: z$1.ZodNumber;
|
|
15451
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15452
|
+
localImages: z$1.ZodNumber;
|
|
15453
|
+
webImages: z$1.ZodNumber;
|
|
15454
|
+
}, z$1.core.$strip>>;
|
|
15455
|
+
createdAt: z$1.ZodNumber;
|
|
15456
|
+
id: z$1.ZodString;
|
|
15457
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15458
|
+
messageSeq: z$1.ZodNumber;
|
|
15459
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
15460
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15461
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15462
|
+
startedAt: z$1.ZodNumber;
|
|
15463
|
+
text: z$1.ZodString;
|
|
15464
|
+
threadId: z$1.ZodString;
|
|
15465
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15466
|
+
turnRequest: z$1.ZodNull;
|
|
15467
|
+
}, z$1.core.$strip>], "role">;
|
|
15468
|
+
}, z$1.core.$strip>;
|
|
15469
|
+
type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
|
|
15470
|
+
declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
|
|
15471
|
+
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
15472
|
+
query: z$1.ZodOptional<z$1.ZodString>;
|
|
15473
|
+
}, z$1.core.$strip>;
|
|
15474
|
+
type ThreadStorageFilesQuery = z$1.infer<typeof threadStorageFilesQuerySchema>;
|
|
15475
|
+
declare const threadStoragePathsQuerySchema: z$1.ZodObject<{
|
|
15476
|
+
includeDirectories: z$1.ZodEnum<{
|
|
15477
|
+
false: "false";
|
|
15478
|
+
true: "true";
|
|
15479
|
+
}>;
|
|
15480
|
+
includeFiles: z$1.ZodEnum<{
|
|
15481
|
+
false: "false";
|
|
15482
|
+
true: "true";
|
|
15483
|
+
}>;
|
|
15484
|
+
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
15485
|
+
query: z$1.ZodOptional<z$1.ZodString>;
|
|
15486
|
+
}, z$1.core.$strip>;
|
|
15487
|
+
type ThreadStoragePathsQuery = z$1.infer<typeof threadStoragePathsQuerySchema>;
|
|
15488
|
+
declare const threadStorageLocationResponseSchema: z$1.ZodObject<{
|
|
15489
|
+
hostId: z$1.ZodString;
|
|
15490
|
+
storageRootPath: z$1.ZodString;
|
|
15491
|
+
}, z$1.core.$strict>;
|
|
15492
|
+
type ThreadStorageLocationResponse = z$1.infer<typeof threadStorageLocationResponseSchema>;
|
|
15493
|
+
declare const timelineTurnSummaryDetailsResponseSchema: z$1.ZodObject<{
|
|
15494
|
+
historySnapshot: z$1.ZodOptional<z$1.ZodString>;
|
|
15495
|
+
olderCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
15496
|
+
rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
15497
|
+
}, z$1.core.$strip>;
|
|
15498
|
+
type TimelineTurnSummaryDetailsResponse = z$1.infer<typeof timelineTurnSummaryDetailsResponseSchema>;
|
|
15499
|
+
declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
15500
|
+
activeBackgroundCommands: z$1.ZodArray<z$1.ZodObject<{
|
|
15501
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15502
|
+
createdAt: z$1.ZodNumber;
|
|
15503
|
+
description: z$1.ZodString;
|
|
15504
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15505
|
+
id: z$1.ZodString;
|
|
15506
|
+
itemId: z$1.ZodString;
|
|
15507
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15508
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15509
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15510
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15511
|
+
glyph: z$1.ZodString;
|
|
15512
|
+
hint: z$1.ZodString;
|
|
15513
|
+
label: z$1.ZodString;
|
|
15514
|
+
tone: z$1.ZodEnum<{
|
|
15515
|
+
destructive: "destructive";
|
|
15516
|
+
neutral: "neutral";
|
|
15517
|
+
}>;
|
|
15518
|
+
}, z$1.core.$strip>>;
|
|
15519
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15520
|
+
icon: z$1.ZodObject<{
|
|
15521
|
+
glyph: z$1.ZodString;
|
|
15522
|
+
}, z$1.core.$strip>;
|
|
15523
|
+
label: z$1.ZodObject<{
|
|
15524
|
+
completed: z$1.ZodString;
|
|
15525
|
+
pending: z$1.ZodString;
|
|
15526
|
+
}, z$1.core.$strip>;
|
|
15527
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15528
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15529
|
+
dark: z$1.ZodString;
|
|
15530
|
+
light: z$1.ZodString;
|
|
15531
|
+
}, z$1.core.$strip>>;
|
|
15532
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15533
|
+
}, z$1.core.$strip>>;
|
|
15534
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15535
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15536
|
+
startedAt: z$1.ZodNumber;
|
|
15537
|
+
status: z$1.ZodEnum<{
|
|
15538
|
+
completed: "completed";
|
|
15539
|
+
error: "error";
|
|
15540
|
+
interrupted: "interrupted";
|
|
15541
|
+
pending: "pending";
|
|
15542
|
+
}>;
|
|
15543
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
15544
|
+
taskStatus: z$1.ZodEnum<{
|
|
15545
|
+
completed: "completed";
|
|
15546
|
+
failed: "failed";
|
|
15547
|
+
killed: "killed";
|
|
15548
|
+
paused: "paused";
|
|
15549
|
+
pending: "pending";
|
|
15550
|
+
running: "running";
|
|
15551
|
+
stopped: "stopped";
|
|
15552
|
+
}>;
|
|
15553
|
+
taskType: z$1.ZodString;
|
|
15554
|
+
threadId: z$1.ZodString;
|
|
15555
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15556
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
15557
|
+
durationMs: z$1.ZodNumber;
|
|
15558
|
+
toolUses: z$1.ZodNumber;
|
|
15559
|
+
totalTokens: z$1.ZodNumber;
|
|
15560
|
+
}, z$1.core.$strip>>;
|
|
15561
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
15562
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
15563
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
15564
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
15565
|
+
attempt: z$1.ZodNumber;
|
|
15566
|
+
cached: z$1.ZodBoolean;
|
|
15567
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15568
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
15569
|
+
index: z$1.ZodNumber;
|
|
15570
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
15571
|
+
label: z$1.ZodString;
|
|
15572
|
+
lastProgressAt: z$1.ZodNumber;
|
|
15573
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
15574
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
15575
|
+
model: z$1.ZodString;
|
|
15576
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15577
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
15578
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15579
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15580
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15581
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15582
|
+
state: z$1.ZodEnum<{
|
|
15583
|
+
done: "done";
|
|
15584
|
+
failed: "failed";
|
|
15585
|
+
queued: "queued";
|
|
15586
|
+
running: "running";
|
|
15587
|
+
skipped: "skipped";
|
|
15588
|
+
}>;
|
|
15589
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15590
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15591
|
+
}, z$1.core.$strip>>;
|
|
15592
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
15593
|
+
index: z$1.ZodNumber;
|
|
15594
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
15595
|
+
title: z$1.ZodString;
|
|
15596
|
+
}, z$1.core.$strip>>;
|
|
15597
|
+
}, z$1.core.$strip>>;
|
|
15598
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
15599
|
+
}, z$1.core.$strip>>;
|
|
15600
|
+
activePromptMode: z$1.ZodNullable<z$1.ZodObject<{
|
|
15601
|
+
mode: z$1.ZodLiteral<"plan">;
|
|
15602
|
+
prompt: z$1.ZodString;
|
|
15603
|
+
providerId: z$1.ZodString;
|
|
15604
|
+
}, z$1.core.$strict>>;
|
|
15605
|
+
activeThinking: z$1.ZodNullable<z$1.ZodObject<{
|
|
15606
|
+
id: z$1.ZodString;
|
|
15607
|
+
startedAt: z$1.ZodNumber;
|
|
15608
|
+
text: z$1.ZodString;
|
|
15609
|
+
updatedAt: z$1.ZodNumber;
|
|
15610
|
+
}, z$1.core.$strip>>;
|
|
15611
|
+
activeWorkflows: z$1.ZodArray<z$1.ZodObject<{
|
|
15612
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15613
|
+
createdAt: z$1.ZodNumber;
|
|
15614
|
+
description: z$1.ZodString;
|
|
15615
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15616
|
+
id: z$1.ZodString;
|
|
15617
|
+
itemId: z$1.ZodString;
|
|
15618
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15619
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15620
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15621
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15622
|
+
glyph: z$1.ZodString;
|
|
15623
|
+
hint: z$1.ZodString;
|
|
15624
|
+
label: z$1.ZodString;
|
|
15625
|
+
tone: z$1.ZodEnum<{
|
|
15626
|
+
destructive: "destructive";
|
|
15627
|
+
neutral: "neutral";
|
|
15628
|
+
}>;
|
|
15629
|
+
}, z$1.core.$strip>>;
|
|
15630
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15631
|
+
icon: z$1.ZodObject<{
|
|
15632
|
+
glyph: z$1.ZodString;
|
|
15633
|
+
}, z$1.core.$strip>;
|
|
15634
|
+
label: z$1.ZodObject<{
|
|
15635
|
+
completed: z$1.ZodString;
|
|
15636
|
+
pending: z$1.ZodString;
|
|
15637
|
+
}, z$1.core.$strip>;
|
|
15638
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15639
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15640
|
+
dark: z$1.ZodString;
|
|
15641
|
+
light: z$1.ZodString;
|
|
15642
|
+
}, z$1.core.$strip>>;
|
|
15643
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15644
|
+
}, z$1.core.$strip>>;
|
|
15645
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15646
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15647
|
+
startedAt: z$1.ZodNumber;
|
|
15648
|
+
status: z$1.ZodEnum<{
|
|
15649
|
+
completed: "completed";
|
|
15650
|
+
error: "error";
|
|
15651
|
+
interrupted: "interrupted";
|
|
15652
|
+
pending: "pending";
|
|
15653
|
+
}>;
|
|
15654
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
15655
|
+
taskStatus: z$1.ZodEnum<{
|
|
15656
|
+
completed: "completed";
|
|
15657
|
+
failed: "failed";
|
|
15658
|
+
killed: "killed";
|
|
15659
|
+
paused: "paused";
|
|
15660
|
+
pending: "pending";
|
|
15661
|
+
running: "running";
|
|
15662
|
+
stopped: "stopped";
|
|
15663
|
+
}>;
|
|
15664
|
+
taskType: z$1.ZodString;
|
|
15665
|
+
threadId: z$1.ZodString;
|
|
15666
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15667
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
15668
|
+
durationMs: z$1.ZodNumber;
|
|
15669
|
+
toolUses: z$1.ZodNumber;
|
|
15670
|
+
totalTokens: z$1.ZodNumber;
|
|
15671
|
+
}, z$1.core.$strip>>;
|
|
15672
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
15673
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
15674
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
15675
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
15676
|
+
attempt: z$1.ZodNumber;
|
|
15677
|
+
cached: z$1.ZodBoolean;
|
|
15678
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15679
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
15680
|
+
index: z$1.ZodNumber;
|
|
15681
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
15682
|
+
label: z$1.ZodString;
|
|
15683
|
+
lastProgressAt: z$1.ZodNumber;
|
|
15684
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
15685
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
15686
|
+
model: z$1.ZodString;
|
|
15687
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15688
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
15689
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15690
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15691
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15692
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15693
|
+
state: z$1.ZodEnum<{
|
|
15694
|
+
done: "done";
|
|
15695
|
+
failed: "failed";
|
|
15696
|
+
queued: "queued";
|
|
15697
|
+
running: "running";
|
|
15698
|
+
skipped: "skipped";
|
|
15699
|
+
}>;
|
|
15700
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15701
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15702
|
+
}, z$1.core.$strip>>;
|
|
15703
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
15704
|
+
index: z$1.ZodNumber;
|
|
15705
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
15706
|
+
title: z$1.ZodString;
|
|
15707
|
+
}, z$1.core.$strip>>;
|
|
15708
|
+
}, z$1.core.$strip>>;
|
|
15709
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
15710
|
+
}, z$1.core.$strip>>;
|
|
15711
|
+
completedTurnDisplay: z$1.ZodEnum<{
|
|
15712
|
+
collapse: "collapse";
|
|
15713
|
+
flat: "flat";
|
|
15714
|
+
}>;
|
|
15715
|
+
contextBoundarySeq: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15716
|
+
contextWindowUsage: z$1.ZodOptional<z$1.ZodObject<{
|
|
15717
|
+
compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
15718
|
+
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
15719
|
+
amount: z$1.ZodNumber;
|
|
15720
|
+
currency: z$1.ZodString;
|
|
15721
|
+
}, z$1.core.$strip>>;
|
|
15722
|
+
estimated: z$1.ZodBoolean;
|
|
15723
|
+
modelContextWindow: z$1.ZodNumber;
|
|
15724
|
+
snapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
15725
|
+
autoCompactAtTokens: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15726
|
+
capturedAt: z$1.ZodISODateTime;
|
|
15727
|
+
categories: z$1.ZodArray<z$1.ZodObject<{
|
|
15728
|
+
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
15729
|
+
id: z$1.ZodString;
|
|
15730
|
+
label: z$1.ZodString;
|
|
15731
|
+
tokens: z$1.ZodNumber;
|
|
15732
|
+
}, z$1.core.$strip>>;
|
|
15733
|
+
id: z$1.ZodString;
|
|
15734
|
+
kind: z$1.ZodEnum<{
|
|
15735
|
+
deferred: "deferred";
|
|
15736
|
+
free: "free";
|
|
15737
|
+
reserved: "reserved";
|
|
15738
|
+
used: "used";
|
|
15739
|
+
}>;
|
|
15740
|
+
label: z$1.ZodString;
|
|
15741
|
+
tokens: z$1.ZodNumber;
|
|
15742
|
+
}, z$1.core.$strip>>;
|
|
15743
|
+
contextWindowTokens: z$1.ZodNumber;
|
|
15744
|
+
estimated: z$1.ZodBoolean;
|
|
15745
|
+
model: z$1.ZodString;
|
|
15746
|
+
providerSessionId: z$1.ZodString;
|
|
15747
|
+
providerTurnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15748
|
+
usedTokens: z$1.ZodNumber;
|
|
15749
|
+
}, z$1.core.$strip>>;
|
|
15750
|
+
usedTokens: z$1.ZodNumber;
|
|
15751
|
+
}, z$1.core.$strip>>;
|
|
15752
|
+
goal: z$1.ZodNullable<z$1.ZodObject<{
|
|
15753
|
+
objective: z$1.ZodString;
|
|
15754
|
+
sourceSeq: z$1.ZodNumber;
|
|
15755
|
+
status: z$1.ZodEnum<{
|
|
15756
|
+
active: "active";
|
|
15757
|
+
budgetLimited: "budgetLimited";
|
|
15758
|
+
complete: "complete";
|
|
15759
|
+
paused: "paused";
|
|
15760
|
+
}>;
|
|
15761
|
+
timeUsedSeconds: z$1.ZodNumber;
|
|
15762
|
+
tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15763
|
+
tokensUsed: z$1.ZodNumber;
|
|
15764
|
+
updatedAt: z$1.ZodNumber;
|
|
15765
|
+
}, z$1.core.$strip>>;
|
|
15766
|
+
maxSeq: z$1.ZodNumber;
|
|
15767
|
+
modelFallback: z$1.ZodNullable<z$1.ZodObject<{
|
|
15768
|
+
detectedAt: z$1.ZodNumber;
|
|
15769
|
+
fallbackModel: z$1.ZodString;
|
|
15770
|
+
message: z$1.ZodString;
|
|
15771
|
+
originalModel: z$1.ZodString;
|
|
15772
|
+
reason: z$1.ZodEnum<{
|
|
15773
|
+
provider: "provider";
|
|
15774
|
+
refusal: "refusal";
|
|
15775
|
+
}>;
|
|
15776
|
+
sourceSeq: z$1.ZodNumber;
|
|
15777
|
+
}, z$1.core.$strip>>;
|
|
15778
|
+
pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
|
|
15779
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
15780
|
+
id: z$1.ZodString;
|
|
15781
|
+
status: z$1.ZodEnum<{
|
|
15782
|
+
completed: "completed";
|
|
15783
|
+
in_progress: "in_progress";
|
|
15784
|
+
pending: "pending";
|
|
15785
|
+
}>;
|
|
15786
|
+
text: z$1.ZodString;
|
|
15787
|
+
}, z$1.core.$strip>>;
|
|
15788
|
+
sourceSeq: z$1.ZodNumber;
|
|
15789
|
+
updatedAt: z$1.ZodNumber;
|
|
15790
|
+
}, z$1.core.$strip>>;
|
|
15791
|
+
providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
15792
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
15793
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15794
|
+
name: z$1.ZodString;
|
|
15795
|
+
origin: z$1.ZodEnum<{
|
|
15796
|
+
builtin: "builtin";
|
|
15797
|
+
project: "project";
|
|
15798
|
+
user: "user";
|
|
15799
|
+
}>;
|
|
15800
|
+
source: z$1.ZodEnum<{
|
|
15801
|
+
command: "command";
|
|
15802
|
+
skill: "skill";
|
|
15803
|
+
}>;
|
|
15804
|
+
}, z$1.core.$strip>>>;
|
|
15805
|
+
rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
15806
|
+
sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15807
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
15808
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15809
|
+
id: z$1.ZodString;
|
|
15810
|
+
label: z$1.ZodString;
|
|
15811
|
+
pendingValue: z$1.ZodNullable<z$1.ZodString>;
|
|
15812
|
+
type: z$1.ZodLiteral<"select">;
|
|
15813
|
+
value: z$1.ZodString;
|
|
15814
|
+
values: z$1.ZodArray<z$1.ZodObject<{
|
|
15815
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15816
|
+
group: z$1.ZodNullable<z$1.ZodString>;
|
|
15817
|
+
id: z$1.ZodString;
|
|
15818
|
+
label: z$1.ZodString;
|
|
15819
|
+
}, z$1.core.$strip>>;
|
|
15820
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15821
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
15822
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
15823
|
+
id: z$1.ZodString;
|
|
15824
|
+
label: z$1.ZodString;
|
|
15825
|
+
pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
15826
|
+
type: z$1.ZodLiteral<"boolean">;
|
|
15827
|
+
value: z$1.ZodBoolean;
|
|
15828
|
+
}, z$1.core.$strip>], "type">>>;
|
|
15829
|
+
tag: z$1.ZodString;
|
|
15830
|
+
timelinePage: z$1.ZodObject<{
|
|
15831
|
+
historySnapshot: z$1.ZodString;
|
|
15832
|
+
olderCursor: z$1.ZodNullable<z$1.ZodObject<{
|
|
15833
|
+
anchorId: z$1.ZodString;
|
|
15834
|
+
anchorSeq: z$1.ZodNumber;
|
|
15835
|
+
}, z$1.core.$strict>>;
|
|
15836
|
+
olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
|
|
15837
|
+
olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15838
|
+
returnedSegmentCount: z$1.ZodNumber;
|
|
15839
|
+
}, z$1.core.$strict>;
|
|
15840
|
+
}, z$1.core.$strip>;
|
|
15841
|
+
type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
|
|
15842
|
+
declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
15843
|
+
delta: z$1.ZodObject<{
|
|
15844
|
+
afterTag: z$1.ZodString;
|
|
15845
|
+
fields: z$1.ZodObject<{
|
|
15846
|
+
activeBackgroundCommands: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15847
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15848
|
+
createdAt: z$1.ZodNumber;
|
|
15849
|
+
description: z$1.ZodString;
|
|
15850
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15851
|
+
id: z$1.ZodString;
|
|
15852
|
+
itemId: z$1.ZodString;
|
|
15853
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15854
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15855
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15856
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15857
|
+
glyph: z$1.ZodString;
|
|
15858
|
+
hint: z$1.ZodString;
|
|
15859
|
+
label: z$1.ZodString;
|
|
15860
|
+
tone: z$1.ZodEnum<{
|
|
15861
|
+
destructive: "destructive";
|
|
15862
|
+
neutral: "neutral";
|
|
15863
|
+
}>;
|
|
15864
|
+
}, z$1.core.$strip>>;
|
|
15865
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15866
|
+
icon: z$1.ZodObject<{
|
|
15867
|
+
glyph: z$1.ZodString;
|
|
15868
|
+
}, z$1.core.$strip>;
|
|
15869
|
+
label: z$1.ZodObject<{
|
|
15870
|
+
completed: z$1.ZodString;
|
|
15871
|
+
pending: z$1.ZodString;
|
|
15872
|
+
}, z$1.core.$strip>;
|
|
15873
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15874
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15875
|
+
dark: z$1.ZodString;
|
|
15876
|
+
light: z$1.ZodString;
|
|
15877
|
+
}, z$1.core.$strip>>;
|
|
15878
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15879
|
+
}, z$1.core.$strip>>;
|
|
15880
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15881
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15882
|
+
startedAt: z$1.ZodNumber;
|
|
15883
|
+
status: z$1.ZodEnum<{
|
|
15884
|
+
completed: "completed";
|
|
15885
|
+
error: "error";
|
|
15886
|
+
interrupted: "interrupted";
|
|
15887
|
+
pending: "pending";
|
|
15888
|
+
}>;
|
|
15889
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
15890
|
+
taskStatus: z$1.ZodEnum<{
|
|
15891
|
+
completed: "completed";
|
|
15892
|
+
failed: "failed";
|
|
15893
|
+
killed: "killed";
|
|
15894
|
+
paused: "paused";
|
|
15895
|
+
pending: "pending";
|
|
15896
|
+
running: "running";
|
|
15897
|
+
stopped: "stopped";
|
|
15898
|
+
}>;
|
|
15899
|
+
taskType: z$1.ZodString;
|
|
15900
|
+
threadId: z$1.ZodString;
|
|
15901
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15902
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
15903
|
+
durationMs: z$1.ZodNumber;
|
|
15904
|
+
toolUses: z$1.ZodNumber;
|
|
15905
|
+
totalTokens: z$1.ZodNumber;
|
|
15906
|
+
}, z$1.core.$strip>>;
|
|
15907
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
15908
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
15909
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
15910
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
15911
|
+
attempt: z$1.ZodNumber;
|
|
15912
|
+
cached: z$1.ZodBoolean;
|
|
15913
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15914
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
15915
|
+
index: z$1.ZodNumber;
|
|
15916
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
15917
|
+
label: z$1.ZodString;
|
|
15918
|
+
lastProgressAt: z$1.ZodNumber;
|
|
15919
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
15920
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
15921
|
+
model: z$1.ZodString;
|
|
15922
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15923
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
15924
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15925
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15926
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
15927
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15928
|
+
state: z$1.ZodEnum<{
|
|
15929
|
+
done: "done";
|
|
15930
|
+
failed: "failed";
|
|
15931
|
+
queued: "queued";
|
|
15932
|
+
running: "running";
|
|
15933
|
+
skipped: "skipped";
|
|
15934
|
+
}>;
|
|
15935
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15936
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15937
|
+
}, z$1.core.$strip>>;
|
|
15938
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
15939
|
+
index: z$1.ZodNumber;
|
|
15940
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
15941
|
+
title: z$1.ZodString;
|
|
15942
|
+
}, z$1.core.$strip>>;
|
|
15943
|
+
}, z$1.core.$strip>>;
|
|
15944
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
15945
|
+
}, z$1.core.$strip>>>;
|
|
15946
|
+
activePromptMode: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15947
|
+
mode: z$1.ZodLiteral<"plan">;
|
|
15948
|
+
prompt: z$1.ZodString;
|
|
15949
|
+
providerId: z$1.ZodString;
|
|
15950
|
+
}, z$1.core.$strict>>>;
|
|
15951
|
+
activeThinking: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
15952
|
+
id: z$1.ZodString;
|
|
15953
|
+
startedAt: z$1.ZodNumber;
|
|
15954
|
+
text: z$1.ZodString;
|
|
15955
|
+
updatedAt: z$1.ZodNumber;
|
|
15956
|
+
}, z$1.core.$strip>>>;
|
|
15957
|
+
activeWorkflows: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15958
|
+
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15959
|
+
createdAt: z$1.ZodNumber;
|
|
15960
|
+
description: z$1.ZodString;
|
|
15961
|
+
error: z$1.ZodNullable<z$1.ZodString>;
|
|
15962
|
+
id: z$1.ZodString;
|
|
15963
|
+
itemId: z$1.ZodString;
|
|
15964
|
+
kind: z$1.ZodLiteral<"work">;
|
|
15965
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
15966
|
+
presentation: z$1.ZodOptional<z$1.ZodObject<{
|
|
15967
|
+
badge: z$1.ZodOptional<z$1.ZodObject<{
|
|
15968
|
+
glyph: z$1.ZodString;
|
|
15969
|
+
hint: z$1.ZodString;
|
|
15970
|
+
label: z$1.ZodString;
|
|
15971
|
+
tone: z$1.ZodEnum<{
|
|
15972
|
+
destructive: "destructive";
|
|
15973
|
+
neutral: "neutral";
|
|
15974
|
+
}>;
|
|
15975
|
+
}, z$1.core.$strip>>;
|
|
15976
|
+
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
15977
|
+
icon: z$1.ZodObject<{
|
|
15978
|
+
glyph: z$1.ZodString;
|
|
15979
|
+
}, z$1.core.$strip>;
|
|
15980
|
+
label: z$1.ZodObject<{
|
|
15981
|
+
completed: z$1.ZodString;
|
|
15982
|
+
pending: z$1.ZodString;
|
|
15983
|
+
}, z$1.core.$strip>;
|
|
15984
|
+
suppress: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
15985
|
+
tint: z$1.ZodOptional<z$1.ZodObject<{
|
|
15986
|
+
dark: z$1.ZodString;
|
|
15987
|
+
light: z$1.ZodString;
|
|
15988
|
+
}, z$1.core.$strip>>;
|
|
15989
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15990
|
+
}, z$1.core.$strip>>;
|
|
15991
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15992
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15993
|
+
startedAt: z$1.ZodNumber;
|
|
15994
|
+
status: z$1.ZodEnum<{
|
|
15995
|
+
completed: "completed";
|
|
15996
|
+
error: "error";
|
|
15997
|
+
interrupted: "interrupted";
|
|
15998
|
+
pending: "pending";
|
|
15999
|
+
}>;
|
|
16000
|
+
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
16001
|
+
taskStatus: z$1.ZodEnum<{
|
|
16002
|
+
completed: "completed";
|
|
16003
|
+
failed: "failed";
|
|
16004
|
+
killed: "killed";
|
|
16005
|
+
paused: "paused";
|
|
16006
|
+
pending: "pending";
|
|
16007
|
+
running: "running";
|
|
16008
|
+
stopped: "stopped";
|
|
16009
|
+
}>;
|
|
16010
|
+
taskType: z$1.ZodString;
|
|
16011
|
+
threadId: z$1.ZodString;
|
|
16012
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
16013
|
+
usage: z$1.ZodNullable<z$1.ZodObject<{
|
|
16014
|
+
durationMs: z$1.ZodNumber;
|
|
16015
|
+
toolUses: z$1.ZodNumber;
|
|
16016
|
+
totalTokens: z$1.ZodNumber;
|
|
16017
|
+
}, z$1.core.$strip>>;
|
|
16018
|
+
workKind: z$1.ZodLiteral<"workflow">;
|
|
16019
|
+
workflow: z$1.ZodNullable<z$1.ZodObject<{
|
|
16020
|
+
agents: z$1.ZodArray<z$1.ZodObject<{
|
|
16021
|
+
agentType: z$1.ZodOptional<z$1.ZodString>;
|
|
16022
|
+
attempt: z$1.ZodNumber;
|
|
16023
|
+
cached: z$1.ZodBoolean;
|
|
16024
|
+
durationMs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16025
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
16026
|
+
index: z$1.ZodNumber;
|
|
16027
|
+
isolation: z$1.ZodOptional<z$1.ZodString>;
|
|
16028
|
+
label: z$1.ZodString;
|
|
16029
|
+
lastProgressAt: z$1.ZodNumber;
|
|
16030
|
+
lastToolName: z$1.ZodOptional<z$1.ZodString>;
|
|
16031
|
+
lastToolSummary: z$1.ZodOptional<z$1.ZodString>;
|
|
16032
|
+
model: z$1.ZodString;
|
|
16033
|
+
phaseIndex: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16034
|
+
phaseTitle: z$1.ZodOptional<z$1.ZodString>;
|
|
16035
|
+
promptPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
16036
|
+
queuedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16037
|
+
resultPreview: z$1.ZodOptional<z$1.ZodString>;
|
|
16038
|
+
startedAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16039
|
+
state: z$1.ZodEnum<{
|
|
16040
|
+
done: "done";
|
|
16041
|
+
failed: "failed";
|
|
16042
|
+
queued: "queued";
|
|
16043
|
+
running: "running";
|
|
16044
|
+
skipped: "skipped";
|
|
16045
|
+
}>;
|
|
16046
|
+
tokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16047
|
+
toolCalls: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16048
|
+
}, z$1.core.$strip>>;
|
|
16049
|
+
phases: z$1.ZodArray<z$1.ZodObject<{
|
|
16050
|
+
index: z$1.ZodNumber;
|
|
16051
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
16052
|
+
title: z$1.ZodString;
|
|
16053
|
+
}, z$1.core.$strip>>;
|
|
16054
|
+
}, z$1.core.$strip>>;
|
|
16055
|
+
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
16056
|
+
}, z$1.core.$strip>>>;
|
|
16057
|
+
completedTurnDisplay: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16058
|
+
collapse: "collapse";
|
|
16059
|
+
flat: "flat";
|
|
16060
|
+
}>>;
|
|
16061
|
+
contextBoundarySeq: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
16062
|
+
contextWindowUsage: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
16063
|
+
compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
16064
|
+
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
16065
|
+
amount: z$1.ZodNumber;
|
|
16066
|
+
currency: z$1.ZodString;
|
|
16067
|
+
}, z$1.core.$strip>>;
|
|
16068
|
+
estimated: z$1.ZodBoolean;
|
|
16069
|
+
modelContextWindow: z$1.ZodNumber;
|
|
16070
|
+
snapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
16071
|
+
autoCompactAtTokens: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16072
|
+
capturedAt: z$1.ZodISODateTime;
|
|
16073
|
+
categories: z$1.ZodArray<z$1.ZodObject<{
|
|
16074
|
+
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
16075
|
+
id: z$1.ZodString;
|
|
16076
|
+
label: z$1.ZodString;
|
|
16077
|
+
tokens: z$1.ZodNumber;
|
|
16078
|
+
}, z$1.core.$strip>>;
|
|
16079
|
+
id: z$1.ZodString;
|
|
16080
|
+
kind: z$1.ZodEnum<{
|
|
16081
|
+
deferred: "deferred";
|
|
16082
|
+
free: "free";
|
|
16083
|
+
reserved: "reserved";
|
|
16084
|
+
used: "used";
|
|
16085
|
+
}>;
|
|
16086
|
+
label: z$1.ZodString;
|
|
16087
|
+
tokens: z$1.ZodNumber;
|
|
16088
|
+
}, z$1.core.$strip>>;
|
|
16089
|
+
contextWindowTokens: z$1.ZodNumber;
|
|
16090
|
+
estimated: z$1.ZodBoolean;
|
|
16091
|
+
model: z$1.ZodString;
|
|
16092
|
+
providerSessionId: z$1.ZodString;
|
|
16093
|
+
providerTurnId: z$1.ZodNullable<z$1.ZodString>;
|
|
16094
|
+
usedTokens: z$1.ZodNumber;
|
|
16095
|
+
}, z$1.core.$strip>>;
|
|
16096
|
+
usedTokens: z$1.ZodNumber;
|
|
16097
|
+
}, z$1.core.$strip>>>;
|
|
16098
|
+
goal: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
16099
|
+
objective: z$1.ZodString;
|
|
16100
|
+
sourceSeq: z$1.ZodNumber;
|
|
16101
|
+
status: z$1.ZodEnum<{
|
|
16102
|
+
active: "active";
|
|
16103
|
+
budgetLimited: "budgetLimited";
|
|
16104
|
+
complete: "complete";
|
|
16105
|
+
paused: "paused";
|
|
15953
16106
|
}>;
|
|
15954
|
-
|
|
16107
|
+
timeUsedSeconds: z$1.ZodNumber;
|
|
16108
|
+
tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16109
|
+
tokensUsed: z$1.ZodNumber;
|
|
16110
|
+
updatedAt: z$1.ZodNumber;
|
|
15955
16111
|
}, z$1.core.$strip>>>;
|
|
15956
|
-
|
|
15957
|
-
|
|
15958
|
-
|
|
15959
|
-
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
|
|
15963
|
-
|
|
15964
|
-
|
|
15965
|
-
|
|
15966
|
-
|
|
15967
|
-
|
|
15968
|
-
|
|
16112
|
+
modelFallback: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
16113
|
+
detectedAt: z$1.ZodNumber;
|
|
16114
|
+
fallbackModel: z$1.ZodString;
|
|
16115
|
+
message: z$1.ZodString;
|
|
16116
|
+
originalModel: z$1.ZodString;
|
|
16117
|
+
reason: z$1.ZodEnum<{
|
|
16118
|
+
provider: "provider";
|
|
16119
|
+
refusal: "refusal";
|
|
16120
|
+
}>;
|
|
16121
|
+
sourceSeq: z$1.ZodNumber;
|
|
16122
|
+
}, z$1.core.$strip>>>;
|
|
16123
|
+
pendingTodos: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
16124
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
16125
|
+
id: z$1.ZodString;
|
|
16126
|
+
status: z$1.ZodEnum<{
|
|
16127
|
+
completed: "completed";
|
|
16128
|
+
in_progress: "in_progress";
|
|
16129
|
+
pending: "pending";
|
|
15969
16130
|
}>;
|
|
16131
|
+
text: z$1.ZodString;
|
|
15970
16132
|
}, z$1.core.$strip>>;
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
failed: "failed";
|
|
15974
|
-
interrupted: "interrupted";
|
|
15975
|
-
}>;
|
|
15976
|
-
threadId: z$1.ZodString;
|
|
16133
|
+
sourceSeq: z$1.ZodNumber;
|
|
16134
|
+
updatedAt: z$1.ZodNumber;
|
|
15977
16135
|
}, z$1.core.$strip>>>;
|
|
15978
|
-
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
toolName: z$1.ZodString;
|
|
15982
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15983
|
-
kind: z$1.ZodLiteral<"directory">;
|
|
15984
|
-
path: z$1.ZodString;
|
|
15985
|
-
}, z$1.core.$strip>], "kind">>;
|
|
15986
|
-
text: z$1.ZodString;
|
|
15987
|
-
threadId: z$1.ZodString;
|
|
15988
|
-
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15989
|
-
turnRequest: z$1.ZodObject<{
|
|
15990
|
-
isGrouped: z$1.ZodBoolean;
|
|
15991
|
-
kind: z$1.ZodEnum<{
|
|
15992
|
-
message: "message";
|
|
15993
|
-
steer: "steer";
|
|
15994
|
-
}>;
|
|
15995
|
-
status: z$1.ZodEnum<{
|
|
15996
|
-
accepted: "accepted";
|
|
15997
|
-
pending: "pending";
|
|
15998
|
-
rejected: "rejected";
|
|
15999
|
-
}>;
|
|
16000
|
-
}, z$1.core.$strip>;
|
|
16001
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16002
|
-
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
16003
|
-
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
16004
|
-
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
16136
|
+
providerCommands: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
16137
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
16138
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16005
16139
|
name: z$1.ZodString;
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
|
-
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
16048
|
-
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
16057
|
-
}, z$1.core.$strip>;
|
|
16058
|
-
type TimelineTurnSummaryDetailsResponse = z$1.infer<typeof timelineTurnSummaryDetailsResponseSchema>;
|
|
16059
|
-
declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
16140
|
+
origin: z$1.ZodEnum<{
|
|
16141
|
+
builtin: "builtin";
|
|
16142
|
+
project: "project";
|
|
16143
|
+
user: "user";
|
|
16144
|
+
}>;
|
|
16145
|
+
source: z$1.ZodEnum<{
|
|
16146
|
+
command: "command";
|
|
16147
|
+
skill: "skill";
|
|
16148
|
+
}>;
|
|
16149
|
+
}, z$1.core.$strip>>>>;
|
|
16150
|
+
sessionOptions: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16151
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
16152
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16153
|
+
id: z$1.ZodString;
|
|
16154
|
+
label: z$1.ZodString;
|
|
16155
|
+
pendingValue: z$1.ZodNullable<z$1.ZodString>;
|
|
16156
|
+
type: z$1.ZodLiteral<"select">;
|
|
16157
|
+
value: z$1.ZodString;
|
|
16158
|
+
values: z$1.ZodArray<z$1.ZodObject<{
|
|
16159
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16160
|
+
group: z$1.ZodNullable<z$1.ZodString>;
|
|
16161
|
+
id: z$1.ZodString;
|
|
16162
|
+
label: z$1.ZodString;
|
|
16163
|
+
}, z$1.core.$strip>>;
|
|
16164
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16165
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
16166
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
16167
|
+
id: z$1.ZodString;
|
|
16168
|
+
label: z$1.ZodString;
|
|
16169
|
+
pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
16170
|
+
type: z$1.ZodLiteral<"boolean">;
|
|
16171
|
+
value: z$1.ZodBoolean;
|
|
16172
|
+
}, z$1.core.$strip>], "type">>>>;
|
|
16173
|
+
timelinePage: z$1.ZodOptional<z$1.ZodObject<{
|
|
16174
|
+
historySnapshot: z$1.ZodOptional<z$1.ZodString>;
|
|
16175
|
+
olderCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
16176
|
+
anchorId: z$1.ZodString;
|
|
16177
|
+
anchorSeq: z$1.ZodNumber;
|
|
16178
|
+
}, z$1.core.$strict>>>;
|
|
16179
|
+
olderRowUpdates: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>>;
|
|
16180
|
+
olderRowsSourceSeqEnd: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
16181
|
+
returnedSegmentCount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16182
|
+
}, z$1.core.$strict>>;
|
|
16183
|
+
}, z$1.core.$strip>;
|
|
16184
|
+
rowOrder: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTuple<[z$1.ZodNumber, z$1.ZodNumber], null>]>>>;
|
|
16185
|
+
upsertRows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
16186
|
+
}, z$1.core.$strip>;
|
|
16187
|
+
maxSeq: z$1.ZodNumber;
|
|
16188
|
+
tag: z$1.ZodString;
|
|
16189
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16060
16190
|
activeBackgroundCommands: z$1.ZodArray<z$1.ZodObject<{
|
|
16061
16191
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16062
16192
|
createdAt: z$1.ZodNumber;
|
|
@@ -16309,10 +16439,6 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16309
16439
|
}, z$1.core.$strip>>;
|
|
16310
16440
|
usedTokens: z$1.ZodNumber;
|
|
16311
16441
|
}, z$1.core.$strip>>;
|
|
16312
|
-
delta: z$1.ZodOptional<z$1.ZodObject<{
|
|
16313
|
-
rowOrder: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
16314
|
-
upsertRows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
16315
|
-
}, z$1.core.$strip>>;
|
|
16316
16442
|
goal: z$1.ZodNullable<z$1.ZodObject<{
|
|
16317
16443
|
objective: z$1.ZodString;
|
|
16318
16444
|
sourceSeq: z$1.ZodNumber;
|
|
@@ -16390,6 +16516,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16390
16516
|
type: z$1.ZodLiteral<"boolean">;
|
|
16391
16517
|
value: z$1.ZodBoolean;
|
|
16392
16518
|
}, z$1.core.$strip>], "type">>>;
|
|
16519
|
+
tag: z$1.ZodString;
|
|
16393
16520
|
timelinePage: z$1.ZodObject<{
|
|
16394
16521
|
historySnapshot: z$1.ZodString;
|
|
16395
16522
|
olderCursor: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -16400,8 +16527,8 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16400
16527
|
olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16401
16528
|
returnedSegmentCount: z$1.ZodNumber;
|
|
16402
16529
|
}, z$1.core.$strict>;
|
|
16403
|
-
}, z$1.core.$strip>;
|
|
16404
|
-
type
|
|
16530
|
+
}, z$1.core.$strip>]>;
|
|
16531
|
+
type ThreadTimelineReadResponse = z$1.infer<typeof threadTimelineReadResponseSchema>;
|
|
16405
16532
|
declare const threadConversationOutlineQuerySchema: z$1.ZodObject<{
|
|
16406
16533
|
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16407
16534
|
assistant: "assistant";
|
|
@@ -17109,32 +17236,13 @@ type EnvironmentUpdateFields = EnvironmentMergeBaseBranchUpdate | EnvironmentNam
|
|
|
17109
17236
|
type EnvironmentUpdateArgs = EnvironmentUpdateFields & {
|
|
17110
17237
|
environmentId: string;
|
|
17111
17238
|
};
|
|
17112
|
-
interface EnvironmentStatusArgs extends EnvironmentStatusQuery {
|
|
17113
|
-
environmentId: string;
|
|
17114
|
-
signal?: AbortSignal;
|
|
17115
|
-
}
|
|
17116
17239
|
type EnvironmentDiffArgs = EnvironmentDiffQuery & {
|
|
17117
17240
|
environmentId: string;
|
|
17118
17241
|
signal?: AbortSignal;
|
|
17119
17242
|
};
|
|
17120
|
-
type EnvironmentDiffFilesArgs = EnvironmentDiffArgs & {
|
|
17121
|
-
ignoreWhitespace?: boolean;
|
|
17122
|
-
};
|
|
17123
|
-
type EnvironmentDiffFileArgs = EnvironmentDiffFileQuery & {
|
|
17124
|
-
environmentId: string;
|
|
17125
|
-
signal?: AbortSignal;
|
|
17126
|
-
};
|
|
17127
|
-
interface EnvironmentDiffBranchesArgs extends EnvironmentDiffBranchesQuery {
|
|
17128
|
-
environmentId: string;
|
|
17129
|
-
signal?: AbortSignal;
|
|
17130
|
-
}
|
|
17131
17243
|
interface EnvironmentCommitArgs {
|
|
17132
17244
|
environmentId: string;
|
|
17133
17245
|
}
|
|
17134
|
-
type EnvironmentDiffPatchArgs = EnvironmentDiffPatchRequest & {
|
|
17135
|
-
environmentId: string;
|
|
17136
|
-
signal?: AbortSignal;
|
|
17137
|
-
};
|
|
17138
17246
|
type EnvironmentDiffViewedMarkArgs = EnvironmentDiffViewedMarkRequest & {
|
|
17139
17247
|
environmentId: string;
|
|
17140
17248
|
};
|
|
@@ -17147,15 +17255,9 @@ interface EnvironmentPathsArgs extends EnvironmentPathsQuery {
|
|
|
17147
17255
|
}
|
|
17148
17256
|
type EnvironmentArchiveThreadsResult = EnvironmentArchiveThreadsResponse;
|
|
17149
17257
|
type EnvironmentCommitResult = CommitActionResponse;
|
|
17150
|
-
type EnvironmentDiffResult = EnvironmentDiffResponse;
|
|
17151
|
-
type EnvironmentDiffBranchesResult = EnvironmentDiffBranchesResponse;
|
|
17152
|
-
type EnvironmentDiffFileResult = EnvironmentDiffFileResponse;
|
|
17153
|
-
type EnvironmentDiffFilesResult = EnvironmentDiffFilesResponse;
|
|
17154
|
-
type EnvironmentDiffPatchResult = EnvironmentDiffPatchResponse;
|
|
17155
17258
|
type EnvironmentDiffViewedResult = EnvironmentDiffViewedResponse;
|
|
17156
17259
|
type EnvironmentGetResult = Environment;
|
|
17157
17260
|
type EnvironmentPathsResult = WorkspacePathListResponse;
|
|
17158
|
-
type EnvironmentStatusResult = EnvironmentStatusResponse;
|
|
17159
17261
|
type EnvironmentUpdateResult = Environment;
|
|
17160
17262
|
interface EnvironmentListArgs {
|
|
17161
17263
|
environmentProviderId?: string;
|
|
@@ -17189,11 +17291,6 @@ interface EnvironmentsArea {
|
|
|
17189
17291
|
}>;
|
|
17190
17292
|
archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
|
|
17191
17293
|
commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
|
|
17192
|
-
diff(args: EnvironmentDiffArgs): Promise<EnvironmentDiffResult>;
|
|
17193
|
-
diffBranches(args: EnvironmentDiffBranchesArgs): Promise<EnvironmentDiffBranchesResult>;
|
|
17194
|
-
diffFile(args: EnvironmentDiffFileArgs): Promise<EnvironmentDiffFileResult>;
|
|
17195
|
-
diffFiles(args: EnvironmentDiffFilesArgs): Promise<EnvironmentDiffFilesResult>;
|
|
17196
|
-
diffPatch(args: EnvironmentDiffPatchArgs): Promise<EnvironmentDiffPatchResult>;
|
|
17197
17294
|
experimental_diffViewed(args: EnvironmentDiffArgs & {
|
|
17198
17295
|
paths?: string[];
|
|
17199
17296
|
}): Promise<EnvironmentDiffViewedResult>;
|
|
@@ -17208,7 +17305,6 @@ interface EnvironmentsArea {
|
|
|
17208
17305
|
listProviders(args?: EnvironmentListProvidersArgs): Promise<EnvironmentListProvidersResult>;
|
|
17209
17306
|
delete(args: EnvironmentDeleteArgs): Promise<EnvironmentDeleteResult>;
|
|
17210
17307
|
paths(args: EnvironmentPathsArgs): Promise<EnvironmentPathsResult>;
|
|
17211
|
-
status(args: EnvironmentStatusArgs): Promise<EnvironmentStatusResult>;
|
|
17212
17308
|
update(args: EnvironmentUpdateArgs): Promise<EnvironmentUpdateResult>;
|
|
17213
17309
|
}
|
|
17214
17310
|
|
|
@@ -17216,6 +17312,12 @@ interface FileReadArgs {
|
|
|
17216
17312
|
hostId?: string;
|
|
17217
17313
|
path: string;
|
|
17218
17314
|
rootPath?: string;
|
|
17315
|
+
/**
|
|
17316
|
+
* Read the file as it is at this git revision of the repository at
|
|
17317
|
+
* `rootPath` instead of from disk. Requires `rootPath`; `path` stays the
|
|
17318
|
+
* file's absolute path in the working tree.
|
|
17319
|
+
*/
|
|
17320
|
+
ref?: string;
|
|
17219
17321
|
signal?: AbortSignal;
|
|
17220
17322
|
}
|
|
17221
17323
|
interface FileWriteArgs {
|
|
@@ -18298,6 +18400,7 @@ type ThreadPluginMetadataResult = ThreadPluginMetadataResponse;
|
|
|
18298
18400
|
type PluginThreadMetadataListResult = PluginThreadMetadataListResponse;
|
|
18299
18401
|
type ThreadAncestorsListResult = ThreadAncestorsListResponse;
|
|
18300
18402
|
type ThreadDescendantsListResult = ThreadDescendantsListResponse;
|
|
18403
|
+
type ThreadCascadeListResult = ThreadCascadeListResponse;
|
|
18301
18404
|
type ThreadSpawnResult = ThreadResponse;
|
|
18302
18405
|
type ThreadForkResult = ThreadResponse;
|
|
18303
18406
|
type ThreadInteractionGetResult = PendingInteraction;
|
|
@@ -18309,6 +18412,7 @@ type ThreadEventsListResult = ThreadEventRow[];
|
|
|
18309
18412
|
type ThreadEventWaitResult = ThreadEventRow | null;
|
|
18310
18413
|
type ThreadContextResult = ThreadContextResponse;
|
|
18311
18414
|
type ThreadTimelineResult = ThreadTimelineResponse;
|
|
18415
|
+
type ThreadTimelineReadResult = ThreadTimelineReadResponse;
|
|
18312
18416
|
type ThreadArchiveResult = ThreadArchiveAllResponse;
|
|
18313
18417
|
type ThreadOpenResult = ThreadOpenResponse;
|
|
18314
18418
|
type ThreadPaneActionResult = ThreadPaneActionResponse;
|
|
@@ -18391,6 +18495,11 @@ interface ThreadAncestorsListArgs {
|
|
|
18391
18495
|
threadIds: readonly string[];
|
|
18392
18496
|
signal?: AbortSignal;
|
|
18393
18497
|
}
|
|
18498
|
+
interface ThreadCascadeListArgs {
|
|
18499
|
+
threadIds: readonly string[];
|
|
18500
|
+
action: ThreadCascadeAction;
|
|
18501
|
+
signal?: AbortSignal;
|
|
18502
|
+
}
|
|
18394
18503
|
interface ThreadDescendantsListArgs {
|
|
18395
18504
|
threadIds: readonly string[];
|
|
18396
18505
|
includeArchived?: boolean;
|
|
@@ -18658,6 +18767,16 @@ interface ThreadsArea {
|
|
|
18658
18767
|
* Experimental: see docs/api_to_audit.md.
|
|
18659
18768
|
*/
|
|
18660
18769
|
experimental_listDescendants(args: ThreadDescendantsListArgs): Promise<ThreadDescendantsListResult>;
|
|
18770
|
+
/**
|
|
18771
|
+
* Each of `threadIds` (1–200 per request) that exists and is not deleted,
|
|
18772
|
+
* with `cascadeThreadIds`: the visible threads that archiving
|
|
18773
|
+
* (`action: "archive"`) or deleting (`action: "delete"`) it would also
|
|
18774
|
+
* affect, matching the cascade `archiveAll` and `delete` apply. Archive
|
|
18775
|
+
* omits threads already archived; delete includes them. Hidden threads,
|
|
18776
|
+
* deleted threads and unknown ids are omitted.
|
|
18777
|
+
* Experimental: see docs/api_to_audit.md.
|
|
18778
|
+
*/
|
|
18779
|
+
experimental_listCascade(args: ThreadCascadeListArgs): Promise<ThreadCascadeListResult>;
|
|
18661
18780
|
updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
|
|
18662
18781
|
queue: ThreadQueueArea;
|
|
18663
18782
|
interactions: ThreadInteractionsArea;
|
|
@@ -18704,7 +18823,10 @@ interface ThreadsArea {
|
|
|
18704
18823
|
stop(args: ThreadActionArgs): Promise<ThreadStopResult>;
|
|
18705
18824
|
tabs: ThreadTabsArea;
|
|
18706
18825
|
context(args: ThreadStatusArgs): Promise<ThreadContextResult>;
|
|
18707
|
-
timeline(args: ThreadTimelineArgs
|
|
18826
|
+
timeline(args: ThreadTimelineArgs & {
|
|
18827
|
+
afterTag?: undefined;
|
|
18828
|
+
}): Promise<ThreadTimelineResult>;
|
|
18829
|
+
timeline(args: ThreadTimelineArgs): Promise<ThreadTimelineReadResult>;
|
|
18708
18830
|
timelineTurnSummaryDetails(args: ThreadTimelineTurnSummaryDetailsArgs): Promise<ThreadTimelineTurnSummaryDetailsResult>;
|
|
18709
18831
|
storageFiles(args: ThreadStorageFilesArgs): Promise<ThreadStorageFilesResult>;
|
|
18710
18832
|
storageLocation(args: ThreadStatusArgs): Promise<ThreadStorageLocationResult>;
|
|
@@ -21134,12 +21256,15 @@ interface ExperimentalPageBreadcrumb {
|
|
|
21134
21256
|
/** Props passed to a `navPanel` component (it owns its whole route). */
|
|
21135
21257
|
interface PluginNavPanelProps {
|
|
21136
21258
|
/**
|
|
21137
|
-
* The route remainder after the panel root, "" at the root
|
|
21138
|
-
*
|
|
21139
|
-
* `/plugins
|
|
21140
|
-
*
|
|
21141
|
-
* `
|
|
21142
|
-
*
|
|
21259
|
+
* The route remainder after the panel root, "" at the root, as it appears
|
|
21260
|
+
* in the URL: each segment stays percent-encoded. The panel's route is
|
|
21261
|
+
* `/plugins/<pluginId>/<path>/*`, so a deep link like
|
|
21262
|
+
* `/plugins/notes/notes/work/my%20ideas.md` renders the panel with
|
|
21263
|
+
* `subPath: "work/my%20ideas.md"`. Decode each segment with
|
|
21264
|
+
* `decodeURIComponent` before using it. Navigate within the panel via
|
|
21265
|
+
* `useBbNavigate().toPluginPanel(path, { subPath })`, which takes
|
|
21266
|
+
* unencoded segments and encodes them — browser back/forward then walks
|
|
21267
|
+
* panel-internal history.
|
|
21143
21268
|
*/
|
|
21144
21269
|
subPath: string;
|
|
21145
21270
|
}
|
|
@@ -21152,9 +21277,9 @@ interface PluginNavPanelProps {
|
|
|
21152
21277
|
interface ExperimentalThreadActionTabProps {
|
|
21153
21278
|
threadId: string;
|
|
21154
21279
|
/**
|
|
21155
|
-
* The JSON
|
|
21156
|
-
*
|
|
21157
|
-
*
|
|
21280
|
+
* The JSON `params` the tab was opened with (round-tripped through
|
|
21281
|
+
* persistence, so the tab restores across reloads); null when it was
|
|
21282
|
+
* opened without params.
|
|
21158
21283
|
*/
|
|
21159
21284
|
params: JsonValue | null;
|
|
21160
21285
|
}
|
|
@@ -21163,9 +21288,9 @@ interface PluginNewThreadPanelProps {
|
|
|
21163
21288
|
/** Project selected in the root composer; null in projectless compose. */
|
|
21164
21289
|
projectId: string | null;
|
|
21165
21290
|
/**
|
|
21166
|
-
* The JSON
|
|
21167
|
-
*
|
|
21168
|
-
*
|
|
21291
|
+
* The JSON `params` the tab was opened with (round-tripped through
|
|
21292
|
+
* persistence, so the tab restores across reloads); null when it was
|
|
21293
|
+
* opened without params.
|
|
21169
21294
|
*/
|
|
21170
21295
|
params: JsonValue | null;
|
|
21171
21296
|
}
|
|
@@ -21619,7 +21744,8 @@ interface ExperimentalDiffFullFileContents {
|
|
|
21619
21744
|
* Props of the host-owned `experimental_SourceCode` component — BB's source
|
|
21620
21745
|
* viewer. The host owns syntax highlighting, gutters, wrapping, line-selection
|
|
21621
21746
|
* presentation, and the live BB code theme; the caller owns loading the text
|
|
21622
|
-
* and any surrounding chrome.
|
|
21747
|
+
* and any surrounding chrome. Inside a thread view, selected lines offer Add to
|
|
21748
|
+
* chat, which quotes them into that thread's composer.
|
|
21623
21749
|
*/
|
|
21624
21750
|
interface SourceCodeProps {
|
|
21625
21751
|
/** The complete source text to render. */
|
|
@@ -21641,8 +21767,9 @@ interface SourceCodeProps {
|
|
|
21641
21767
|
* The host owns patch normalization (a patch without a `diff --git` header is
|
|
21642
21768
|
* completed from `path`), syntax highlighting, unified/split presentation,
|
|
21643
21769
|
* gutters, line-selection presentation, optional full-file context expansion,
|
|
21644
|
-
* and the live BB code theme.
|
|
21645
|
-
*
|
|
21770
|
+
* and the live BB code theme. Inside a thread view, selected lines offer Add
|
|
21771
|
+
* to chat, which quotes them into that thread's composer. Content that cannot
|
|
21772
|
+
* be parsed as a patch degrades to plain monospace text.
|
|
21646
21773
|
*/
|
|
21647
21774
|
interface DiffProps {
|
|
21648
21775
|
/** Unified patch text for exactly ONE file. */
|
|
@@ -21944,22 +22071,6 @@ interface PluginNavPanelRegistration {
|
|
|
21944
22071
|
*/
|
|
21945
22072
|
headerContent?: ComponentType<PluginNavPanelProps>;
|
|
21946
22073
|
}
|
|
21947
|
-
/**
|
|
21948
|
-
* What a plugin action passes when it asks the host to open one of its panel
|
|
21949
|
-
* tabs. Shared by every `openPanel` entry point so a plugin registering more
|
|
21950
|
-
* than one kind of action can write a single open routine;
|
|
21951
|
-
* `PluginTargetedPanelActionOpenOptions` adds the `actionId` a caller
|
|
21952
|
-
* outside a panel action must pass to name the panel it wants.
|
|
21953
|
-
*/
|
|
21954
|
-
interface PluginPanelActionOpenOptions {
|
|
21955
|
-
/** Tab label. Default: the action's `title`. */
|
|
21956
|
-
title?: string;
|
|
21957
|
-
/**
|
|
21958
|
-
* Persisted with the tab and handed to the component as its `params` prop.
|
|
21959
|
-
* Must be a JSON value; anything else is a declined open.
|
|
21960
|
-
*/
|
|
21961
|
-
params?: JsonValue;
|
|
21962
|
-
}
|
|
21963
22074
|
/**
|
|
21964
22075
|
* Context handed to a thread action tab's `run`.
|
|
21965
22076
|
*
|
|
@@ -21969,23 +22080,8 @@ interface PluginPanelActionOpenOptions {
|
|
|
21969
22080
|
interface ExperimentalThreadTabActionContext {
|
|
21970
22081
|
/** The thread whose panel launcher invoked the action. */
|
|
21971
22082
|
threadId: string;
|
|
21972
|
-
/**
|
|
21973
|
-
|
|
21974
|
-
* `component`. `title` labels the tab (default: the action's `title`);
|
|
21975
|
-
* `params` must be JSON-serializable — it is persisted with the tab and
|
|
21976
|
-
* reaches the component as its `params` prop. Opening with params
|
|
21977
|
-
* identical to an already-open tab of this action focuses that tab
|
|
21978
|
-
* (updating its title) instead of duplicating it. May be called more than
|
|
21979
|
-
* once (different params ⇒ multiple tabs) or not at all.
|
|
21980
|
-
*
|
|
21981
|
-
* Returns true when the host accepted the open; false when it declined —
|
|
21982
|
-
* from this launcher, only a `params` that is not a JSON value. The true /
|
|
21983
|
-
* false contract is shared with `messageAction`'s `openPanel` and
|
|
21984
|
-
* `useBbNavigate().openThreadPanel` (which decline for more reasons) so one
|
|
21985
|
-
* open routine can serve every action kind. A decline is never thrown: the
|
|
21986
|
-
* host logs it and reports it here.
|
|
21987
|
-
*/
|
|
21988
|
-
openPanel(options?: PluginPanelActionOpenOptions): boolean;
|
|
22083
|
+
/** The side panel of the thread view that invoked the action. */
|
|
22084
|
+
experimental_panel: ExperimentalPanelController;
|
|
21989
22085
|
}
|
|
21990
22086
|
/** Where a plugin tab belongs. Navigation panels are owned by the registering plugin. */
|
|
21991
22087
|
type ExperimentalTabContext = {
|
|
@@ -22018,7 +22114,7 @@ type ExperimentalTabLifecycle<Props, Context> = {
|
|
|
22018
22114
|
/** Default persisted params when opened without explicit params. */
|
|
22019
22115
|
params?: JsonValue;
|
|
22020
22116
|
run?(context: Context & {
|
|
22021
|
-
|
|
22117
|
+
experimental_panel: ExperimentalPanelController;
|
|
22022
22118
|
}): void | Promise<void>;
|
|
22023
22119
|
};
|
|
22024
22120
|
type ExperimentalTabContextProps<C extends ExperimentalTabContext> = C extends {
|
|
@@ -22039,16 +22135,14 @@ type ExperimentalTabInput<C extends ExperimentalTabContext, A extends "action" |
|
|
|
22039
22135
|
component: ComponentType<ExperimentalTabContextProps<C>>;
|
|
22040
22136
|
run?: never;
|
|
22041
22137
|
params?: never;
|
|
22042
|
-
experimental_target?:
|
|
22043
|
-
kind: "nav-panel";
|
|
22044
|
-
} ? ExperimentalFixedTabTargetContract<JsonValue> : never;
|
|
22138
|
+
experimental_target?: ExperimentalFixedTabTargetContract<JsonValue>;
|
|
22045
22139
|
} : {
|
|
22046
22140
|
component: ComponentType<ExperimentalTabContextProps<C> & {
|
|
22047
22141
|
params: JsonValue | null;
|
|
22048
22142
|
}>;
|
|
22049
22143
|
params?: JsonValue;
|
|
22050
22144
|
run?(context: ExperimentalTabContextProps<C> & {
|
|
22051
|
-
|
|
22145
|
+
experimental_panel: ExperimentalPanelController;
|
|
22052
22146
|
}): void | Promise<void>;
|
|
22053
22147
|
experimental_target?: never;
|
|
22054
22148
|
});
|
|
@@ -22060,12 +22154,21 @@ type ExperimentalTabRegistration = ExperimentalTabCommon & (({
|
|
|
22060
22154
|
useVisible?(props: {
|
|
22061
22155
|
threadId: string;
|
|
22062
22156
|
}): boolean;
|
|
22157
|
+
} & ((ExperimentalTabLifecycle<{
|
|
22158
|
+
threadId: string;
|
|
22159
|
+
}, {
|
|
22160
|
+
threadId: string;
|
|
22161
|
+
}> & {
|
|
22162
|
+
availability: "action";
|
|
22063
22163
|
experimental_target?: never;
|
|
22064
|
-
}
|
|
22164
|
+
}) | (ExperimentalTabLifecycle<{
|
|
22065
22165
|
threadId: string;
|
|
22066
22166
|
}, {
|
|
22067
22167
|
threadId: string;
|
|
22068
|
-
}>
|
|
22168
|
+
}> & {
|
|
22169
|
+
availability: "fixed";
|
|
22170
|
+
experimental_target?: ExperimentalFixedTabTargetContract<JsonValue>;
|
|
22171
|
+
}))) | ({
|
|
22069
22172
|
context: {
|
|
22070
22173
|
kind: "nav-panel";
|
|
22071
22174
|
panelId: string;
|
|
@@ -22083,11 +22186,10 @@ interface PluginNewThreadPanelActionContext {
|
|
|
22083
22186
|
/** Project selected in the root composer; null in projectless compose. */
|
|
22084
22187
|
projectId: string | null;
|
|
22085
22188
|
/**
|
|
22086
|
-
*
|
|
22087
|
-
*
|
|
22088
|
-
* error semantics match thread action tabs.
|
|
22189
|
+
* The New thread screen's side panel. Address this action's tab as
|
|
22190
|
+
* `{ id, context: { kind: "thread" }, availability: "action" }`.
|
|
22089
22191
|
*/
|
|
22090
|
-
|
|
22192
|
+
experimental_panel: ExperimentalPanelController;
|
|
22091
22193
|
}
|
|
22092
22194
|
/** Registration for the root New thread screen's panel Actions list. */
|
|
22093
22195
|
interface PluginNewThreadPanelActionRegistration {
|
|
@@ -22875,12 +22977,30 @@ interface PluginThreadActionItemInput<Data> {
|
|
|
22875
22977
|
data: Data;
|
|
22876
22978
|
/** The registering plugin's `useSdk()` client. */
|
|
22877
22979
|
sdk: PluginBrowserBbSdk;
|
|
22980
|
+
/** The registering plugin's `useBbNavigate()`. */
|
|
22981
|
+
navigate: BbNavigate;
|
|
22878
22982
|
/**
|
|
22879
|
-
* The
|
|
22880
|
-
* side panel, so
|
|
22881
|
-
*
|
|
22983
|
+
* The focused surface's side panel, as for plugin commands. Thread menus
|
|
22984
|
+
* are not inside a side panel, so calls return false when the focused
|
|
22985
|
+
* surface has no such tab.
|
|
22882
22986
|
*/
|
|
22987
|
+
experimental_panel: ExperimentalPanelController;
|
|
22988
|
+
}
|
|
22989
|
+
/**
|
|
22990
|
+
* What a registration's `experimental_bulkItem` receives for a selection
|
|
22991
|
+
* of several threads.
|
|
22992
|
+
*/
|
|
22993
|
+
interface PluginThreadActionBulkItemInput<Data> {
|
|
22994
|
+
/** The selected threads in the surface's list order; always two or more. */
|
|
22995
|
+
threads: readonly PluginThreadActionTarget[];
|
|
22996
|
+
/** What `useData` last returned; undefined when the registration has none. */
|
|
22997
|
+
data: Data;
|
|
22998
|
+
/** The registering plugin's `useSdk()` client. */
|
|
22999
|
+
sdk: PluginBrowserBbSdk;
|
|
23000
|
+
/** The registering plugin's `useBbNavigate()`, as for `item`. */
|
|
22883
23001
|
navigate: BbNavigate;
|
|
23002
|
+
/** The focused surface's side panel, as for `item`. */
|
|
23003
|
+
experimental_panel: ExperimentalPanelController;
|
|
22884
23004
|
}
|
|
22885
23005
|
/**
|
|
22886
23006
|
* Add an action to every thread actions menu: the thread header's menu, the
|
|
@@ -22915,6 +23035,15 @@ interface PluginThreadActionRegistration<Data = undefined> {
|
|
|
22915
23035
|
order?: number;
|
|
22916
23036
|
useData?(input: PluginThreadActionDataInput): Data;
|
|
22917
23037
|
item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
|
|
23038
|
+
/**
|
|
23039
|
+
* The action for several selected threads at once, shown when
|
|
23040
|
+
* `experimental_ThreadActionsContextMenu` gets an `experimental_bulkThreads`
|
|
23041
|
+
* (see {@link PluginThreadActionsContextMenuProps}). Pure and
|
|
23042
|
+
* synchronous like `item`, with every selected thread in `useData`'s
|
|
23043
|
+
* `threadIds`; `run` acts on all of them. Omit it, or return null, to leave
|
|
23044
|
+
* the action out of selection menus. Experimental: see docs/api_to_audit.md.
|
|
23045
|
+
*/
|
|
23046
|
+
experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
|
|
22918
23047
|
}
|
|
22919
23048
|
/**
|
|
22920
23049
|
* A thread action as {@link PluginSdkApp.experimental_useThreadActions}
|
|
@@ -23001,6 +23130,18 @@ interface PluginThreadActionsContextMenuProps extends PluginThreadActionsMenuBas
|
|
|
23001
23130
|
disabled?: boolean;
|
|
23002
23131
|
/** Closes the menu and suppresses opening while the row is being dragged. */
|
|
23003
23132
|
dragging?: boolean;
|
|
23133
|
+
/**
|
|
23134
|
+
* The selected threads in list order when the row is part of a multi-row
|
|
23135
|
+
* selection. With two or more, the menu acts on all of them: it lists every
|
|
23136
|
+
* registration's `experimental_bulkItem` under a count of the
|
|
23137
|
+
* selection, including bb's own Mark read, Pin, Archive and Delete, which
|
|
23138
|
+
* confirm and clean up as the single-thread actions do, then `inline`.
|
|
23139
|
+
* Omit it, or pass fewer than two, for `thread`'s own menu. Experimental:
|
|
23140
|
+
* see docs/api_to_audit.md.
|
|
23141
|
+
*/
|
|
23142
|
+
experimental_bulkThreads?: readonly PluginThreadActionTarget[];
|
|
23143
|
+
/** Called when Escape dismisses the desktop menu, e.g. to clear a selection. */
|
|
23144
|
+
onEscapeKeyDown?(event: KeyboardEvent): void;
|
|
23004
23145
|
}
|
|
23005
23146
|
/** One pane's place in the split layout, as fractions of the split area. */
|
|
23006
23147
|
interface PluginSidebarSplitPane {
|
|
@@ -23863,16 +24004,6 @@ interface ThreadChatMessageReference {
|
|
|
23863
24004
|
*/
|
|
23864
24005
|
experimental_messageSeq: number;
|
|
23865
24006
|
}
|
|
23866
|
-
/**
|
|
23867
|
-
* What a caller that is *not* itself a panel action passes to open one — a
|
|
23868
|
-
* `messageAction`'s `run`, or any component via `useBbNavigate()`. A panel
|
|
23869
|
-
* action opening its own tab is already the target, so it passes the bare
|
|
23870
|
-
* {@link PluginPanelActionOpenOptions} instead.
|
|
23871
|
-
*/
|
|
23872
|
-
interface PluginTargetedPanelActionOpenOptions extends PluginPanelActionOpenOptions {
|
|
23873
|
-
/** A thread action tab id registered by this same plugin. */
|
|
23874
|
-
actionId: string;
|
|
23875
|
-
}
|
|
23876
24007
|
/** Context handed to a `messageAction`'s `run`. */
|
|
23877
24008
|
interface PluginMessageActionContext {
|
|
23878
24009
|
/** The thread whose timeline surfaced the action. */
|
|
@@ -23883,18 +24014,8 @@ interface PluginMessageActionContext {
|
|
|
23883
24014
|
* the exact text the user highlighted inside `message`.
|
|
23884
24015
|
*/
|
|
23885
24016
|
selectedText?: string;
|
|
23886
|
-
/**
|
|
23887
|
-
|
|
23888
|
-
* thread's side panel — the registration-callback equivalent of
|
|
23889
|
-
* `useBbNavigate().openThreadPanel`.
|
|
23890
|
-
*
|
|
23891
|
-
* Returns true when the host accepted the open; false when it declined —
|
|
23892
|
-
* `params` was not a JSON value, the action id names no thread action tab
|
|
23893
|
-
* of this plugin, or the surface has no side panel (only the main thread
|
|
23894
|
-
* view does; a `ThreadChat` embedded in a plugin panel does not). A decline
|
|
23895
|
-
* is never thrown: the host logs it and reports it here.
|
|
23896
|
-
*/
|
|
23897
|
-
openPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
|
|
24017
|
+
/** The side panel of the thread view whose timeline surfaced the action. */
|
|
24018
|
+
experimental_panel: ExperimentalPanelController;
|
|
23898
24019
|
/**
|
|
23899
24020
|
* The composer of the thread the message is in, or null when that thread's
|
|
23900
24021
|
* composer is not available on this surface. The same handle
|
|
@@ -23928,17 +24049,15 @@ interface PluginCommandContext {
|
|
|
23928
24049
|
threadId: string | null;
|
|
23929
24050
|
projectId: string | null;
|
|
23930
24051
|
/**
|
|
23931
|
-
*
|
|
23932
|
-
*
|
|
23933
|
-
* thread
|
|
23934
|
-
*
|
|
23935
|
-
*
|
|
23936
|
-
*
|
|
23937
|
-
* `
|
|
23938
|
-
* of this plugin on the focused surface, or the surface has no side panel.
|
|
23939
|
-
* The palette opens anywhere, so guard with `isAvailable` rather than assuming.
|
|
24052
|
+
* The focused surface's side panel: the thread view or New thread screen
|
|
24053
|
+
* in focus, or the focused plugin page. On the New thread screen, a
|
|
24054
|
+
* `{ context: { kind: "thread" }, availability: "action" }` tab resolves
|
|
24055
|
+
* against `experimental_newThreadPanelAction` with the same id, so register
|
|
24056
|
+
* both slots with the same id to support commands on both screens. Calls
|
|
24057
|
+
* return false when the focused surface has no such tab or no side panel;
|
|
24058
|
+
* guard with `isAvailable` rather than assuming.
|
|
23940
24059
|
*/
|
|
23941
|
-
|
|
24060
|
+
experimental_panel: ExperimentalPanelController;
|
|
23942
24061
|
}
|
|
23943
24062
|
/** A default keyboard shortcut. Omitted modifiers are false. */
|
|
23944
24063
|
interface PluginCommandShortcut {
|
|
@@ -25281,6 +25400,13 @@ type ExperimentalLiveFileTarget = {
|
|
|
25281
25400
|
kind: "workspace";
|
|
25282
25401
|
environmentId: string;
|
|
25283
25402
|
path: string;
|
|
25403
|
+
/**
|
|
25404
|
+
* Git revision to read instead of the working copy: `"HEAD"` or a 4–40
|
|
25405
|
+
* character commit SHA; other values make the target invalid. Previews
|
|
25406
|
+
* open read-only and are labelled with the ref; external opens ignore it
|
|
25407
|
+
* and open the working copy.
|
|
25408
|
+
*/
|
|
25409
|
+
experimental_ref?: string;
|
|
25284
25410
|
} | {
|
|
25285
25411
|
kind: "host";
|
|
25286
25412
|
hostId: string;
|
|
@@ -25314,10 +25440,6 @@ interface ExperimentalFileLinkProps extends Omit<ComponentPropsWithoutRef<"a">,
|
|
|
25314
25440
|
target: ExperimentalLiveFileTarget;
|
|
25315
25441
|
location?: ExperimentalFileLocation | null;
|
|
25316
25442
|
}
|
|
25317
|
-
/** The panel surface resolved by the component making the request. */
|
|
25318
|
-
type ExperimentalAppPanelSurface = {
|
|
25319
|
-
kind: "current";
|
|
25320
|
-
};
|
|
25321
25443
|
/**
|
|
25322
25444
|
* The owning fixed tab's current memory-only target. It survives tab, panel,
|
|
25323
25445
|
* and route remounts during the current app session, but is never persisted
|
|
@@ -25328,65 +25450,51 @@ interface ExperimentalFixedTabTargetState<Target extends JsonValue> {
|
|
|
25328
25450
|
readonly target: Target;
|
|
25329
25451
|
clear(): void;
|
|
25330
25452
|
}
|
|
25331
|
-
|
|
25332
|
-
surface: ExperimentalAppPanelSurface;
|
|
25333
|
-
tab: ExperimentalPluginFixedTabReference<Target>;
|
|
25334
|
-
/** Omit to select the tab without replacing its current session target. */
|
|
25335
|
-
target?: NoInfer<Target>;
|
|
25336
|
-
} | {
|
|
25337
|
-
surface: ExperimentalAppPanelSurface;
|
|
25338
|
-
tab: {
|
|
25339
|
-
id: string;
|
|
25340
|
-
panelId?: never;
|
|
25341
|
-
experimental_target?: never;
|
|
25342
|
-
};
|
|
25343
|
-
target?: never;
|
|
25344
|
-
};
|
|
25345
|
-
/** A navigation-page fixed tab with an owner-validated target. */
|
|
25453
|
+
/** A fixed tab with an owner-validated target. */
|
|
25346
25454
|
type ExperimentalTabTargetReference<Target extends JsonValue> = ExperimentalTabReference & {
|
|
25347
|
-
context: {
|
|
25348
|
-
kind: "nav-panel";
|
|
25349
|
-
panelId: string;
|
|
25350
|
-
};
|
|
25351
25455
|
availability: "fixed";
|
|
25352
25456
|
experimental_target: ExperimentalFixedTabTargetContract<Target>;
|
|
25353
25457
|
};
|
|
25354
|
-
/**
|
|
25355
|
-
|
|
25356
|
-
|
|
25357
|
-
|
|
25358
|
-
|
|
25359
|
-
|
|
25360
|
-
|
|
25361
|
-
|
|
25362
|
-
title?: string;
|
|
25363
|
-
target?: never;
|
|
25364
|
-
} | {
|
|
25458
|
+
/**
|
|
25459
|
+
* A registered tab of the calling plugin to open on the current surface.
|
|
25460
|
+
* Fixed tabs accept a session-only `target`, validated by the tab's
|
|
25461
|
+
* `experimental_target`. Action tabs accept persisted `params`, which
|
|
25462
|
+
* identify the instance (opening with the same params focuses the existing
|
|
25463
|
+
* tab), and a `title`.
|
|
25464
|
+
*/
|
|
25465
|
+
type ExperimentalOpenTabOptions = {
|
|
25365
25466
|
tab: ExperimentalTabReference & {
|
|
25366
|
-
context: {
|
|
25367
|
-
kind: "thread";
|
|
25368
|
-
};
|
|
25369
25467
|
availability: "fixed";
|
|
25370
25468
|
};
|
|
25371
|
-
target?:
|
|
25469
|
+
target?: JsonValue;
|
|
25372
25470
|
params?: never;
|
|
25373
25471
|
title?: never;
|
|
25374
25472
|
} | {
|
|
25375
25473
|
tab: ExperimentalTabReference & {
|
|
25376
|
-
|
|
25377
|
-
kind: "nav-panel";
|
|
25378
|
-
panelId: string;
|
|
25379
|
-
};
|
|
25380
|
-
availability: "fixed";
|
|
25474
|
+
availability: "action";
|
|
25381
25475
|
};
|
|
25382
|
-
|
|
25383
|
-
|
|
25384
|
-
|
|
25385
|
-
}
|
|
25386
|
-
/**
|
|
25387
|
-
|
|
25388
|
-
|
|
25389
|
-
|
|
25476
|
+
params?: JsonValue;
|
|
25477
|
+
title?: string;
|
|
25478
|
+
target?: never;
|
|
25479
|
+
};
|
|
25480
|
+
/**
|
|
25481
|
+
* The side panel of one surface: a thread view, a plugin page, or the New
|
|
25482
|
+
* thread screen. Every call returns true when the host accepted it and false
|
|
25483
|
+
* when it declined: the surface has no side panel, the tab is not registered
|
|
25484
|
+
* by this plugin for this surface or is hidden, or `target`/`params` is not
|
|
25485
|
+
* a JSON value or fails the tab's validator. A decline is never thrown.
|
|
25486
|
+
*/
|
|
25487
|
+
interface ExperimentalPanelController {
|
|
25488
|
+
/** Select the tab and reveal the side panel. */
|
|
25489
|
+
openTab(options: ExperimentalOpenTabOptions): boolean;
|
|
25490
|
+
/**
|
|
25491
|
+
* Close the side panel if this tab is showing — a fixed tab selected with
|
|
25492
|
+
* the panel open (`target` is ignored), or the action tab instance with the
|
|
25493
|
+
* same `params` selected — otherwise `openTab(options)`.
|
|
25494
|
+
*/
|
|
25495
|
+
toggleTab(options: ExperimentalOpenTabOptions): boolean;
|
|
25496
|
+
/** Close the side panel. */
|
|
25497
|
+
close(): boolean;
|
|
25390
25498
|
}
|
|
25391
25499
|
/** Current app selection, derived from the route. */
|
|
25392
25500
|
interface BbContext {
|
|
@@ -25406,8 +25514,9 @@ interface BbNavigate {
|
|
|
25406
25514
|
toProject(projectId: string): void;
|
|
25407
25515
|
/**
|
|
25408
25516
|
* Navigate to one of this plugin's own nav panels by its `path`.
|
|
25409
|
-
* `subPath` targets a location inside the panel
|
|
25410
|
-
*
|
|
25517
|
+
* `subPath` targets a location inside the panel as unencoded
|
|
25518
|
+
* `/`-separated segments; the component's `subPath` prop receives them
|
|
25519
|
+
* percent-encoded. `replace` swaps the current history entry instead of
|
|
25411
25520
|
* pushing — use it for redirects so back does not bounce.
|
|
25412
25521
|
*/
|
|
25413
25522
|
toPluginPanel(path: string, options?: {
|
|
@@ -25436,14 +25545,6 @@ interface BbNavigate {
|
|
|
25436
25545
|
environmentId?: string;
|
|
25437
25546
|
hostId?: string;
|
|
25438
25547
|
}): void;
|
|
25439
|
-
/**
|
|
25440
|
-
* Open one of this plugin's registered panel actions in the current
|
|
25441
|
-
* surface's side panel: a thread action tab in a thread, or an
|
|
25442
|
-
* `experimental_newThreadPanelAction` on the New thread screen. Plugin
|
|
25443
|
-
* commands and thread actions use the focused thread view's opener. Returns false when the surface has no side
|
|
25444
|
-
* panel actions (plugin pages) or the action is unavailable.
|
|
25445
|
-
*/
|
|
25446
|
-
openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
|
|
25447
25548
|
/**
|
|
25448
25549
|
* Open an HTTP(S) URL using this client's BB browser preference. Returns
|
|
25449
25550
|
* false for schemes the host does not own. Experimental: see
|
|
@@ -25604,8 +25705,19 @@ interface PluginSdkApp {
|
|
|
25604
25705
|
*/
|
|
25605
25706
|
experimental_useQuestionFormHost(): ExperimentalQuestionFormHost;
|
|
25606
25707
|
useBbNavigate(): BbNavigate;
|
|
25607
|
-
/**
|
|
25608
|
-
|
|
25708
|
+
/**
|
|
25709
|
+
* Whether `useBbNavigate().experimental_openFileExternally` can open this
|
|
25710
|
+
* target now: it resolves to a path on its host (a ready environment, a
|
|
25711
|
+
* host, or thread storage) and this client has an external file target for
|
|
25712
|
+
* that host. False while either is loading; the component re-renders when
|
|
25713
|
+
* the answer changes. Experimental: see docs/api_to_audit.md.
|
|
25714
|
+
*/
|
|
25715
|
+
experimental_useCanOpenFileExternally(target: ExperimentalLiveFileTarget): boolean;
|
|
25716
|
+
/**
|
|
25717
|
+
* The side panel of the surface the calling component renders in: the
|
|
25718
|
+
* thread view, the plugin page, or the New thread screen.
|
|
25719
|
+
*/
|
|
25720
|
+
experimental_useAppPanel(): ExperimentalPanelController;
|
|
25609
25721
|
/** Read or clear the owning tab's validated, session-scoped target. */
|
|
25610
25722
|
experimental_useFixedTabTarget<Target extends JsonValue>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
|
|
25611
25723
|
useComposer(): PluginComposerApi;
|
|
@@ -26303,4 +26415,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
|
|
|
26303
26415
|
};
|
|
26304
26416
|
|
|
26305
26417
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry };
|
|
26306
|
-
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenFixedTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabOpenOptions, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
26418
|
+
export type { BbContext, BbNavigate, BbPluginApi, 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, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, 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, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|