@gitkraken/core-gitlens 0.6.0 → 0.7.1

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.
Files changed (1927) hide show
  1. package/CHANGELOG.md +34 -1
  2. package/README.md +9 -2
  3. package/dist/_virtual/@oxc-project+runtime/helpers/esm/decorate.js +9 -0
  4. package/dist/_virtual/@oxc-project+runtime/helpers/esm/usingCtx.js +57 -0
  5. package/dist/git/cache.d.ts +297 -297
  6. package/dist/git/cache.js +948 -1276
  7. package/dist/git/cache.js.map +1 -1
  8. package/dist/git/context.d.ts +202 -197
  9. package/dist/git/context.js +12 -8
  10. package/dist/git/context.js.map +1 -1
  11. package/dist/git/errors.d.ts +268 -281
  12. package/dist/git/errors.js +928 -706
  13. package/dist/git/errors.js.map +1 -1
  14. package/dist/git/features.d.ts +3 -2
  15. package/dist/git/features.js +34 -55
  16. package/dist/git/features.js.map +1 -1
  17. package/dist/git/gitHealth.d.ts +88 -81
  18. package/dist/git/gitHealth.js +259 -329
  19. package/dist/git/gitHealth.js.map +1 -1
  20. package/dist/git/models/author.d.ts +12 -10
  21. package/dist/git/models/author.js +0 -2
  22. package/dist/git/models/autolink.d.ts +36 -37
  23. package/dist/git/models/autolink.js +0 -2
  24. package/dist/git/models/blame.d.ts +25 -23
  25. package/dist/git/models/blame.js +0 -2
  26. package/dist/git/models/branch.d.ts +74 -72
  27. package/dist/git/models/branch.js +132 -171
  28. package/dist/git/models/branch.js.map +1 -1
  29. package/dist/git/models/commit.d.ts +135 -133
  30. package/dist/git/models/commit.js +381 -484
  31. package/dist/git/models/commit.js.map +1 -1
  32. package/dist/git/models/contributor.d.ts +30 -29
  33. package/dist/git/models/contributor.js +56 -64
  34. package/dist/git/models/contributor.js.map +1 -1
  35. package/dist/git/models/defaultBranch.d.ts +5 -3
  36. package/dist/git/models/defaultBranch.js +0 -2
  37. package/dist/git/models/diff.d.ts +49 -47
  38. package/dist/git/models/diff.js +0 -2
  39. package/dist/git/models/file.d.ts +20 -18
  40. package/dist/git/models/file.js +0 -2
  41. package/dist/git/models/fileChange.d.ts +45 -43
  42. package/dist/git/models/fileChange.js +60 -66
  43. package/dist/git/models/fileChange.js.map +1 -1
  44. package/dist/git/models/fileStatus.d.ts +25 -23
  45. package/dist/git/models/fileStatus.js +30 -26
  46. package/dist/git/models/fileStatus.js.map +1 -1
  47. package/dist/git/models/graph.d.ts +328 -320
  48. package/dist/git/models/graph.js +31 -27
  49. package/dist/git/models/graph.js.map +1 -1
  50. package/dist/git/models/graphSearch.d.ts +37 -35
  51. package/dist/git/models/graphSearch.js +0 -2
  52. package/dist/git/models/graphSession.d.ts +158 -66
  53. package/dist/git/models/graphSession.js +72 -1
  54. package/dist/git/models/graphSession.js.map +1 -1
  55. package/dist/git/models/issue.d.ts +171 -150
  56. package/dist/git/models/issue.js +86 -88
  57. package/dist/git/models/issue.js.map +1 -1
  58. package/dist/git/models/issueOrPullRequest.d.ts +16 -14
  59. package/dist/git/models/issueOrPullRequest.js +0 -2
  60. package/dist/git/models/lineRange.d.ts +6 -4
  61. package/dist/git/models/lineRange.js +0 -2
  62. package/dist/git/models/log.d.ts +18 -16
  63. package/dist/git/models/log.js +0 -2
  64. package/dist/git/models/mergeConflicts.d.ts +17 -15
  65. package/dist/git/models/mergeConflicts.js +0 -2
  66. package/dist/git/models/patch.d.ts +14 -12
  67. package/dist/git/models/patch.js +0 -2
  68. package/dist/git/models/pausedOperationStatus.d.ts +42 -40
  69. package/dist/git/models/pausedOperationStatus.js +0 -2
  70. package/dist/git/models/pullRequest.d.ts +238 -236
  71. package/dist/git/models/pullRequest.js +151 -163
  72. package/dist/git/models/pullRequest.js.map +1 -1
  73. package/dist/git/models/rebase.d.ts +30 -28
  74. package/dist/git/models/rebase.js +0 -2
  75. package/dist/git/models/reference.d.ts +57 -55
  76. package/dist/git/models/reference.js +0 -2
  77. package/dist/git/models/reflog.d.ts +29 -27
  78. package/dist/git/models/reflog.js +63 -82
  79. package/dist/git/models/reflog.js.map +1 -1
  80. package/dist/git/models/remote.d.ts +34 -32
  81. package/dist/git/models/remote.js +74 -95
  82. package/dist/git/models/remote.js.map +1 -1
  83. package/dist/git/models/remoteProvider.d.ts +86 -84
  84. package/dist/git/models/remoteProvider.js +145 -150
  85. package/dist/git/models/remoteProvider.js.map +1 -1
  86. package/dist/git/models/remoteResource.d.ts +58 -56
  87. package/dist/git/models/remoteResource.js +15 -12
  88. package/dist/git/models/remoteResource.js.map +1 -1
  89. package/dist/git/models/repository.d.ts +144 -142
  90. package/dist/git/models/repository.js +358 -406
  91. package/dist/git/models/repository.js.map +1 -1
  92. package/dist/git/models/repositoryChangeEvent.d.ts +8 -6
  93. package/dist/git/models/repositoryChangeEvent.js +26 -24
  94. package/dist/git/models/repositoryChangeEvent.js.map +1 -1
  95. package/dist/git/models/repositoryIdentities.d.ts +50 -46
  96. package/dist/git/models/repositoryIdentities.js +7 -5
  97. package/dist/git/models/repositoryIdentities.js.map +1 -1
  98. package/dist/git/models/repositoryMetadata.d.ts +9 -7
  99. package/dist/git/models/repositoryMetadata.js +0 -2
  100. package/dist/git/models/resourceDescriptor.d.ts +11 -9
  101. package/dist/git/models/resourceDescriptor.js +0 -2
  102. package/dist/git/models/revision.d.ts +2 -0
  103. package/dist/git/models/revision.js +8 -5
  104. package/dist/git/models/revision.js.map +1 -1
  105. package/dist/git/models/search.d.ts +48 -47
  106. package/dist/git/models/search.js +53 -49
  107. package/dist/git/models/search.js.map +1 -1
  108. package/dist/git/models/shortlog.d.ts +5 -3
  109. package/dist/git/models/shortlog.js +0 -2
  110. package/dist/git/models/signature.d.ts +28 -26
  111. package/dist/git/models/signature.js +0 -2
  112. package/dist/git/models/staging.d.ts +18 -16
  113. package/dist/git/models/staging.js +0 -2
  114. package/dist/git/models/stash.d.ts +5 -3
  115. package/dist/git/models/stash.js +0 -2
  116. package/dist/git/models/status.d.ts +51 -49
  117. package/dist/git/models/status.js +172 -205
  118. package/dist/git/models/status.js.map +1 -1
  119. package/dist/git/models/statusFile.d.ts +35 -34
  120. package/dist/git/models/statusFile.js +112 -125
  121. package/dist/git/models/statusFile.js.map +1 -1
  122. package/dist/git/models/tag.d.ts +34 -32
  123. package/dist/git/models/tag.js +64 -77
  124. package/dist/git/models/tag.js.map +1 -1
  125. package/dist/git/models/tree.d.ts +8 -6
  126. package/dist/git/models/tree.js +0 -2
  127. package/dist/git/models/user.d.ts +6 -4
  128. package/dist/git/models/user.js +0 -2
  129. package/dist/git/models/worktree.d.ts +50 -48
  130. package/dist/git/models/worktree.js +102 -133
  131. package/dist/git/models/worktree.js.map +1 -1
  132. package/dist/git/parsers/diffParser.d.ts +7 -5
  133. package/dist/git/parsers/diffParser.js +438 -587
  134. package/dist/git/parsers/diffParser.js.map +1 -1
  135. package/dist/git/parsers/rebaseTodoParser.d.ts +3 -1
  136. package/dist/git/parsers/rebaseTodoParser.js +165 -208
  137. package/dist/git/parsers/rebaseTodoParser.js.map +1 -1
  138. package/dist/git/providers/blame.d.ts +12 -10
  139. package/dist/git/providers/blame.js +0 -2
  140. package/dist/git/providers/branches.d.ts +96 -94
  141. package/dist/git/providers/branches.js +0 -2
  142. package/dist/git/providers/commits.d.ts +105 -104
  143. package/dist/git/providers/commits.js +0 -2
  144. package/dist/git/providers/config.d.ts +80 -78
  145. package/dist/git/providers/config.js +0 -2
  146. package/dist/git/providers/contributors.d.ts +23 -21
  147. package/dist/git/providers/contributors.js +0 -2
  148. package/dist/git/providers/diff.d.ts +68 -66
  149. package/dist/git/providers/diff.js +0 -2
  150. package/dist/git/providers/graph.d.ts +73 -62
  151. package/dist/git/providers/graph.js +0 -2
  152. package/dist/git/providers/maintenance.d.ts +180 -178
  153. package/dist/git/providers/maintenance.js +0 -20
  154. package/dist/git/providers/operations.d.ts +114 -112
  155. package/dist/git/providers/operations.js +0 -2
  156. package/dist/git/providers/patch.d.ts +26 -24
  157. package/dist/git/providers/patch.js +0 -2
  158. package/dist/git/providers/pausedOperations.d.ts +19 -17
  159. package/dist/git/providers/pausedOperations.js +0 -2
  160. package/dist/git/providers/provider.d.ts +52 -50
  161. package/dist/git/providers/provider.js +0 -2
  162. package/dist/git/providers/refs.d.ts +42 -40
  163. package/dist/git/providers/refs.js +0 -2
  164. package/dist/git/providers/remotes.d.ts +24 -22
  165. package/dist/git/providers/remotes.js +0 -2
  166. package/dist/git/providers/revision.d.ts +25 -23
  167. package/dist/git/providers/revision.js +0 -2
  168. package/dist/git/providers/shared/remotes.d.ts +24 -22
  169. package/dist/git/providers/shared/remotes.js +52 -77
  170. package/dist/git/providers/shared/remotes.js.map +1 -1
  171. package/dist/git/providers/staging.d.ts +37 -35
  172. package/dist/git/providers/staging.js +0 -2
  173. package/dist/git/providers/stash.d.ts +38 -36
  174. package/dist/git/providers/stash.js +0 -2
  175. package/dist/git/providers/status.d.ts +32 -30
  176. package/dist/git/providers/status.js +0 -2
  177. package/dist/git/providers/tags.d.ts +20 -18
  178. package/dist/git/providers/tags.js +0 -2
  179. package/dist/git/providers/types.d.ts +19 -17
  180. package/dist/git/providers/types.js +0 -2
  181. package/dist/git/providers/worktrees.d.ts +26 -24
  182. package/dist/git/providers/worktrees.js +0 -2
  183. package/dist/git/remotes/azure-devops.d.ts +46 -45
  184. package/dist/git/remotes/azure-devops.js +252 -257
  185. package/dist/git/remotes/azure-devops.js.map +1 -1
  186. package/dist/git/remotes/bitbucket-server.d.ts +30 -29
  187. package/dist/git/remotes/bitbucket-server.js +141 -142
  188. package/dist/git/remotes/bitbucket-server.js.map +1 -1
  189. package/dist/git/remotes/bitbucket.d.ts +27 -26
  190. package/dist/git/remotes/bitbucket.js +114 -111
  191. package/dist/git/remotes/bitbucket.js.map +1 -1
  192. package/dist/git/remotes/custom.d.ts +26 -25
  193. package/dist/git/remotes/custom.js +130 -130
  194. package/dist/git/remotes/custom.js.map +1 -1
  195. package/dist/git/remotes/gerrit.d.ts +29 -28
  196. package/dist/git/remotes/gerrit.js +140 -143
  197. package/dist/git/remotes/gerrit.js.map +1 -1
  198. package/dist/git/remotes/gitea.d.ts +28 -27
  199. package/dist/git/remotes/gitea.js +141 -145
  200. package/dist/git/remotes/gitea.js.map +1 -1
  201. package/dist/git/remotes/github.d.ts +35 -34
  202. package/dist/git/remotes/github.js +196 -190
  203. package/dist/git/remotes/github.js.map +1 -1
  204. package/dist/git/remotes/gitlab.d.ts +31 -30
  205. package/dist/git/remotes/gitlab.js +245 -227
  206. package/dist/git/remotes/gitlab.js.map +1 -1
  207. package/dist/git/remotes/google-source.d.ts +16 -14
  208. package/dist/git/remotes/google-source.js +33 -31
  209. package/dist/git/remotes/google-source.js.map +1 -1
  210. package/dist/git/remotes/matcher.d.ts +16 -14
  211. package/dist/git/remotes/matcher.js +141 -124
  212. package/dist/git/remotes/matcher.js.map +1 -1
  213. package/dist/git/repositoryService.d.ts +47 -47
  214. package/dist/git/repositoryService.js +47 -44
  215. package/dist/git/repositoryService.js.map +1 -1
  216. package/dist/git/run.types.d.ts +91 -76
  217. package/dist/git/run.types.js +0 -2
  218. package/dist/git/service.d.ts +73 -71
  219. package/dist/git/service.js +286 -302
  220. package/dist/git/service.js.map +1 -1
  221. package/dist/git/utils/autolink.utils.d.ts +4 -2
  222. package/dist/git/utils/autolink.utils.js +103 -139
  223. package/dist/git/utils/autolink.utils.js.map +1 -1
  224. package/dist/git/utils/blame.utils.d.ts +22 -20
  225. package/dist/git/utils/blame.utils.js +196 -230
  226. package/dist/git/utils/blame.utils.js.map +1 -1
  227. package/dist/git/utils/branch.utils.d.ts +7 -9
  228. package/dist/git/utils/branch.utils.js +89 -115
  229. package/dist/git/utils/branch.utils.js.map +1 -1
  230. package/dist/git/utils/commit.utils.d.ts +10 -16
  231. package/dist/git/utils/commit.utils.js +28 -47
  232. package/dist/git/utils/commit.utils.js.map +1 -1
  233. package/dist/git/utils/config.utils.d.ts +2 -0
  234. package/dist/git/utils/config.utils.js +14 -5
  235. package/dist/git/utils/config.utils.js.map +1 -1
  236. package/dist/git/utils/conflictResolution.utils.d.ts +16 -13
  237. package/dist/git/utils/conflictResolution.utils.js +116 -113
  238. package/dist/git/utils/conflictResolution.utils.js.map +1 -1
  239. package/dist/git/utils/contributor.utils.d.ts +10 -8
  240. package/dist/git/utils/contributor.utils.js +47 -69
  241. package/dist/git/utils/contributor.utils.js.map +1 -1
  242. package/dist/git/utils/fetch.utils.d.ts +2 -0
  243. package/dist/git/utils/fetch.utils.js +33 -44
  244. package/dist/git/utils/fetch.utils.js.map +1 -1
  245. package/dist/git/utils/fileStatus.utils.d.ts +22 -21
  246. package/dist/git/utils/fileStatus.utils.js +59 -45
  247. package/dist/git/utils/fileStatus.utils.js.map +1 -1
  248. package/dist/git/utils/graph.utils.d.ts +19 -1
  249. package/dist/git/utils/graph.utils.js +60 -35
  250. package/dist/git/utils/graph.utils.js.map +1 -1
  251. package/dist/git/utils/issue.utils.d.ts +3 -1
  252. package/dist/git/utils/issue.utils.js +154 -158
  253. package/dist/git/utils/issue.utils.js.map +1 -1
  254. package/dist/git/utils/issueOrPullRequest.utils.d.ts +3 -1
  255. package/dist/git/utils/issueOrPullRequest.utils.js +23 -20
  256. package/dist/git/utils/issueOrPullRequest.utils.js.map +1 -1
  257. package/dist/git/utils/mergeConflicts.utils.d.ts +4 -1
  258. package/dist/git/utils/mergeConflicts.utils.js +28 -15
  259. package/dist/git/utils/mergeConflicts.utils.js.map +1 -1
  260. package/dist/git/utils/pausedOperationStatus.utils.d.ts +7 -42
  261. package/dist/git/utils/pausedOperationStatus.utils.js +83 -146
  262. package/dist/git/utils/pausedOperationStatus.utils.js.map +1 -1
  263. package/dist/git/utils/pullRequest.utils.d.ts +7 -5
  264. package/dist/git/utils/pullRequest.utils.js +180 -187
  265. package/dist/git/utils/pullRequest.utils.js.map +1 -1
  266. package/dist/git/utils/reachability.utils.d.ts +6 -6
  267. package/dist/git/utils/reachability.utils.js +120 -147
  268. package/dist/git/utils/reachability.utils.js.map +1 -1
  269. package/dist/git/utils/rebase.utils.d.ts +3 -1
  270. package/dist/git/utils/rebase.utils.js +87 -71
  271. package/dist/git/utils/rebase.utils.js.map +1 -1
  272. package/dist/git/utils/reference.utils.d.ts +33 -32
  273. package/dist/git/utils/reference.utils.js +152 -179
  274. package/dist/git/utils/reference.utils.js.map +1 -1
  275. package/dist/git/utils/remote.utils.d.ts +5 -3
  276. package/dist/git/utils/remote.utils.js +77 -116
  277. package/dist/git/utils/remote.utils.js.map +1 -1
  278. package/dist/git/utils/repository.utils.d.ts +3 -1
  279. package/dist/git/utils/repository.utils.js +12 -11
  280. package/dist/git/utils/repository.utils.js.map +1 -1
  281. package/dist/git/utils/resourceDescriptor.utils.d.ts +3 -1
  282. package/dist/git/utils/resourceDescriptor.utils.js +8 -14
  283. package/dist/git/utils/resourceDescriptor.utils.js.map +1 -1
  284. package/dist/git/utils/revision.utils.d.ts +11 -10
  285. package/dist/git/utils/revision.utils.js +69 -83
  286. package/dist/git/utils/revision.utils.js.map +1 -1
  287. package/dist/git/utils/search.utils.d.ts +5 -3
  288. package/dist/git/utils/search.utils.js +383 -522
  289. package/dist/git/utils/search.utils.js.map +1 -1
  290. package/dist/git/utils/sorting.d.ts +22 -20
  291. package/dist/git/utils/sorting.js +133 -227
  292. package/dist/git/utils/sorting.js.map +1 -1
  293. package/dist/git/utils/sshKey.utils.d.ts +2 -0
  294. package/dist/git/utils/sshKey.utils.js +10 -15
  295. package/dist/git/utils/sshKey.utils.js.map +1 -1
  296. package/dist/git/utils/status.utils.d.ts +20 -15
  297. package/dist/git/utils/status.utils.js +93 -79
  298. package/dist/git/utils/status.utils.js.map +1 -1
  299. package/dist/git/utils/statusFile.utils.d.ts +6 -4
  300. package/dist/git/utils/statusFile.utils.js +71 -72
  301. package/dist/git/utils/statusFile.utils.js.map +1 -1
  302. package/dist/git/utils/tag.utils.d.ts +4 -2
  303. package/dist/git/utils/tag.utils.js +10 -8
  304. package/dist/git/utils/tag.utils.js.map +1 -1
  305. package/dist/git/utils/tooltip.utils.d.ts +5 -2
  306. package/dist/git/utils/tooltip.utils.js +49 -24
  307. package/dist/git/utils/tooltip.utils.js.map +1 -1
  308. package/dist/git/utils/uriAuthority.d.ts +9 -7
  309. package/dist/git/utils/uriAuthority.js +19 -16
  310. package/dist/git/utils/uriAuthority.js.map +1 -1
  311. package/dist/git/utils/user.utils.d.ts +3 -1
  312. package/dist/git/utils/user.utils.js +6 -10
  313. package/dist/git/utils/user.utils.js.map +1 -1
  314. package/dist/git/utils/worktree.utils.d.ts +5 -3
  315. package/dist/git/utils/worktree.utils.js +14 -12
  316. package/dist/git/utils/worktree.utils.js.map +1 -1
  317. package/dist/git/watching/changeEvent.d.ts +38 -36
  318. package/dist/git/watching/changeEvent.js +60 -67
  319. package/dist/git/watching/changeEvent.js.map +1 -1
  320. package/dist/git/watching/classifyChange.d.ts +3 -1
  321. package/dist/git/watching/classifyChange.js +50 -79
  322. package/dist/git/watching/classifyChange.js.map +1 -1
  323. package/dist/git/watching/gitIgnoreFilter.d.ts +43 -41
  324. package/dist/git/watching/gitIgnoreFilter.js +92 -107
  325. package/dist/git/watching/gitIgnoreFilter.js.map +1 -1
  326. package/dist/git/watching/initWatcher.d.ts +22 -20
  327. package/dist/git/watching/initWatcher.js +58 -57
  328. package/dist/git/watching/initWatcher.js.map +1 -1
  329. package/dist/git/watching/provider.d.ts +8 -7
  330. package/dist/git/watching/provider.js +0 -2
  331. package/dist/git/watching/watchGroup.d.ts +29 -28
  332. package/dist/git/watching/watchGroup.js +105 -137
  333. package/dist/git/watching/watchGroup.js.map +1 -1
  334. package/dist/git/watching/watchService.d.ts +70 -68
  335. package/dist/git/watching/watchService.js +275 -339
  336. package/dist/git/watching/watchService.js.map +1 -1
  337. package/dist/git/watching/watchSession.d.ts +112 -111
  338. package/dist/git/watching/watchSession.js +260 -314
  339. package/dist/git/watching/watchSession.js.map +1 -1
  340. package/dist/git/watching/watcherPatterns.d.ts +4 -2
  341. package/dist/git/watching/watcherPatterns.js +21 -24
  342. package/dist/git/watching/watcherPatterns.js.map +1 -1
  343. package/dist/git-cli/cliGitProvider.d.ts +117 -114
  344. package/dist/git-cli/cliGitProvider.js +261 -283
  345. package/dist/git-cli/cliGitProvider.js.map +1 -1
  346. package/dist/git-cli/exec/eventLoopMonitor.d.ts +26 -0
  347. package/dist/git-cli/exec/eventLoopMonitor.js +61 -0
  348. package/dist/git-cli/exec/eventLoopMonitor.js.map +1 -0
  349. package/dist/git-cli/exec/exec.d.ts +3 -4
  350. package/dist/git-cli/exec/exec.errors.d.ts +2 -2
  351. package/dist/git-cli/exec/exec.errors.js +2 -2
  352. package/dist/git-cli/exec/exec.js +3 -3
  353. package/dist/git-cli/exec/exec.types.d.ts +2 -2
  354. package/dist/git-cli/exec/exec.types.js +0 -2
  355. package/dist/git-cli/exec/features.d.ts +2 -3
  356. package/dist/git-cli/exec/features.js +2 -2
  357. package/dist/git-cli/exec/git.d.ts +224 -205
  358. package/dist/git-cli/exec/git.js +834 -1042
  359. package/dist/git-cli/exec/git.js.map +1 -1
  360. package/dist/git-cli/exec/gitQueue.d.ts +51 -48
  361. package/dist/git-cli/exec/gitQueue.js +225 -260
  362. package/dist/git-cli/exec/gitQueue.js.map +1 -1
  363. package/dist/git-cli/exec/locator.d.ts +8 -6
  364. package/dist/git-cli/exec/locator.js +95 -121
  365. package/dist/git-cli/exec/locator.js.map +1 -1
  366. package/dist/git-cli/parsers/blameParser.d.ts +22 -20
  367. package/dist/git-cli/parsers/blameParser.js +238 -332
  368. package/dist/git-cli/parsers/blameParser.js.map +1 -1
  369. package/dist/git-cli/parsers/indexParser.d.ts +3 -1
  370. package/dist/git-cli/parsers/indexParser.js +146 -221
  371. package/dist/git-cli/parsers/indexParser.js.map +1 -1
  372. package/dist/git-cli/parsers/logParser.d.ts +103 -110
  373. package/dist/git-cli/parsers/logParser.js +998 -1199
  374. package/dist/git-cli/parsers/logParser.js.map +1 -1
  375. package/dist/git-cli/parsers/mergeTreeParser.d.ts +5 -3
  376. package/dist/git-cli/parsers/mergeTreeParser.js +28 -72
  377. package/dist/git-cli/parsers/mergeTreeParser.js.map +1 -1
  378. package/dist/git-cli/parsers/refParser.d.ts +5 -4
  379. package/dist/git-cli/parsers/refParser.js +92 -137
  380. package/dist/git-cli/parsers/refParser.js.map +1 -1
  381. package/dist/git-cli/parsers/reflogParser.d.ts +7 -6
  382. package/dist/git-cli/parsers/reflogParser.js +100 -173
  383. package/dist/git-cli/parsers/reflogParser.js.map +1 -1
  384. package/dist/git-cli/parsers/remoteParser.d.ts +4 -2
  385. package/dist/git-cli/parsers/remoteParser.js +74 -126
  386. package/dist/git-cli/parsers/remoteParser.js.map +1 -1
  387. package/dist/git-cli/parsers/shortlogParser.d.ts +4 -2
  388. package/dist/git-cli/parsers/shortlogParser.js +44 -49
  389. package/dist/git-cli/parsers/shortlogParser.js.map +1 -1
  390. package/dist/git-cli/parsers/signatureParser.d.ts +3 -1
  391. package/dist/git-cli/parsers/signatureParser.js +82 -124
  392. package/dist/git-cli/parsers/signatureParser.js.map +1 -1
  393. package/dist/git-cli/parsers/sshSignatureParser.d.ts +5 -3
  394. package/dist/git-cli/parsers/sshSignatureParser.js +55 -64
  395. package/dist/git-cli/parsers/sshSignatureParser.js.map +1 -1
  396. package/dist/git-cli/parsers/statusParser.d.ts +4 -2
  397. package/dist/git-cli/parsers/statusParser.js +148 -205
  398. package/dist/git-cli/parsers/statusParser.js.map +1 -1
  399. package/dist/git-cli/parsers/treeParser.d.ts +3 -1
  400. package/dist/git-cli/parsers/treeParser.js +57 -108
  401. package/dist/git-cli/parsers/treeParser.js.map +1 -1
  402. package/dist/git-cli/parsers/worktreeParser.d.ts +4 -3
  403. package/dist/git-cli/parsers/worktreeParser.js +76 -132
  404. package/dist/git-cli/parsers/worktreeParser.js.map +1 -1
  405. package/dist/git-cli/providers/blame.d.ts +25 -23
  406. package/dist/git-cli/providers/blame.js +404 -413
  407. package/dist/git-cli/providers/blame.js.map +1 -1
  408. package/dist/git-cli/providers/branches.d.ts +117 -116
  409. package/dist/git-cli/providers/branches.js +1132 -1468
  410. package/dist/git-cli/providers/branches.js.map +1 -1
  411. package/dist/git-cli/providers/commitFilesetUtils.d.ts +4 -2
  412. package/dist/git-cli/providers/commitFilesetUtils.js +36 -18
  413. package/dist/git-cli/providers/commitFilesetUtils.js.map +1 -1
  414. package/dist/git-cli/providers/commits.d.ts +58 -56
  415. package/dist/git-cli/providers/commits.js +1084 -1423
  416. package/dist/git-cli/providers/commits.js.map +1 -1
  417. package/dist/git-cli/providers/config.d.ts +129 -127
  418. package/dist/git-cli/providers/config.js +612 -831
  419. package/dist/git-cli/providers/config.js.map +1 -1
  420. package/dist/git-cli/providers/contributors.d.ts +29 -28
  421. package/dist/git-cli/providers/contributors.js +246 -351
  422. package/dist/git-cli/providers/contributors.js.map +1 -1
  423. package/dist/git-cli/providers/diff.d.ts +97 -94
  424. package/dist/git-cli/providers/diff.js +638 -845
  425. package/dist/git-cli/providers/diff.js.map +1 -1
  426. package/dist/git-cli/providers/graph.d.ts +66 -68
  427. package/dist/git-cli/providers/graph.js +1400 -1848
  428. package/dist/git-cli/providers/graph.js.map +1 -1
  429. package/dist/git-cli/providers/maintenance.d.ts +305 -303
  430. package/dist/git-cli/providers/maintenance.js +1526 -2078
  431. package/dist/git-cli/providers/maintenance.js.map +1 -1
  432. package/dist/git-cli/providers/operations.d.ts +96 -94
  433. package/dist/git-cli/providers/operations.js +664 -724
  434. package/dist/git-cli/providers/operations.js.map +1 -1
  435. package/dist/git-cli/providers/patch.d.ts +37 -35
  436. package/dist/git-cli/providers/patch.js +206 -307
  437. package/dist/git-cli/providers/patch.js.map +1 -1
  438. package/dist/git-cli/providers/pausedOperations.d.ts +30 -28
  439. package/dist/git-cli/providers/pausedOperations.js +475 -506
  440. package/dist/git-cli/providers/pausedOperations.js.map +1 -1
  441. package/dist/git-cli/providers/refs.d.ts +50 -48
  442. package/dist/git-cli/providers/refs.js +335 -479
  443. package/dist/git-cli/providers/refs.js.map +1 -1
  444. package/dist/git-cli/providers/remotes.d.ts +23 -21
  445. package/dist/git-cli/providers/remotes.js +71 -92
  446. package/dist/git-cli/providers/remotes.js.map +1 -1
  447. package/dist/git-cli/providers/revision.d.ts +27 -25
  448. package/dist/git-cli/providers/revision.js +288 -304
  449. package/dist/git-cli/providers/revision.js.map +1 -1
  450. package/dist/git-cli/providers/staging.d.ts +31 -29
  451. package/dist/git-cli/providers/staging.js +140 -189
  452. package/dist/git-cli/providers/staging.js.map +1 -1
  453. package/dist/git-cli/providers/stash.d.ts +44 -42
  454. package/dist/git-cli/providers/stash.js +288 -387
  455. package/dist/git-cli/providers/stash.js.map +1 -1
  456. package/dist/git-cli/providers/status.d.ts +61 -59
  457. package/dist/git-cli/providers/status.js +332 -453
  458. package/dist/git-cli/providers/status.js.map +1 -1
  459. package/dist/git-cli/providers/tags.d.ts +31 -29
  460. package/dist/git-cli/providers/tags.js +158 -215
  461. package/dist/git-cli/providers/tags.js.map +1 -1
  462. package/dist/git-cli/providers/worktrees.d.ts +35 -33
  463. package/dist/git-cli/providers/worktrees.js +178 -203
  464. package/dist/git-cli/providers/worktrees.js.map +1 -1
  465. package/dist/git-cli/service.d.ts +28 -26
  466. package/dist/git-cli/service.js +38 -40
  467. package/dist/git-cli/service.js.map +1 -1
  468. package/dist/ipc/discovery.d.ts +19 -17
  469. package/dist/ipc/discovery.js +104 -128
  470. package/dist/ipc/discovery.js.map +1 -1
  471. package/dist/ipc/ipcServer.d.ts +16 -14
  472. package/dist/ipc/ipcServer.js +139 -160
  473. package/dist/ipc/ipcServer.js.map +1 -1
  474. package/dist/plus/agents/agentCapabilities.d.ts +50 -37
  475. package/dist/plus/agents/agentCapabilities.js +138 -173
  476. package/dist/plus/agents/agentCapabilities.js.map +1 -1
  477. package/dist/plus/agents/providers/claudeCodeTranscript.d.ts +153 -151
  478. package/dist/plus/agents/providers/claudeCodeTranscript.js +605 -679
  479. package/dist/plus/agents/providers/claudeCodeTranscript.js.map +1 -1
  480. package/dist/plus/agents/providers/gkAgentProvider.d.ts +237 -240
  481. package/dist/plus/agents/providers/gkAgentProvider.js +2162 -3334
  482. package/dist/plus/agents/providers/gkAgentProvider.js.map +1 -1
  483. package/dist/plus/agents/sanitizePrompt.d.ts +2 -0
  484. package/dist/plus/agents/sanitizePrompt.js +58 -91
  485. package/dist/plus/agents/sanitizePrompt.js.map +1 -1
  486. package/dist/plus/agents/stateMachine.d.ts +7 -5
  487. package/dist/plus/agents/stateMachine.js +135 -163
  488. package/dist/plus/agents/stateMachine.js.map +1 -1
  489. package/dist/plus/agents/types.d.ts +333 -336
  490. package/dist/plus/agents/types.js +48 -48
  491. package/dist/plus/agents/types.js.map +1 -1
  492. package/dist/plus/ai/constants.d.ts +3 -1
  493. package/dist/plus/ai/constants.js +88 -84
  494. package/dist/plus/ai/constants.js.map +1 -1
  495. package/dist/plus/ai/errors.d.ts +22 -18
  496. package/dist/plus/ai/errors.js +158 -138
  497. package/dist/plus/ai/errors.js.map +1 -1
  498. package/dist/plus/ai/models/conversation.d.ts +11 -9
  499. package/dist/plus/ai/models/conversation.js +30 -26
  500. package/dist/plus/ai/models/conversation.js.map +1 -1
  501. package/dist/plus/ai/models/model.d.ts +29 -27
  502. package/dist/plus/ai/models/model.js +663 -471
  503. package/dist/plus/ai/models/model.js.map +1 -1
  504. package/dist/plus/ai/models/promptTemplates.d.ts +56 -55
  505. package/dist/plus/ai/models/promptTemplates.js +0 -2
  506. package/dist/plus/ai/models/provider.d.ts +79 -77
  507. package/dist/plus/ai/models/provider.js +0 -2
  508. package/dist/plus/ai/models/results.d.ts +27 -21
  509. package/dist/plus/ai/models/results.js +0 -2
  510. package/dist/plus/ai/prompts.d.ts +4 -2
  511. package/dist/plus/ai/prompts.js +301 -190
  512. package/dist/plus/ai/prompts.js.map +1 -1
  513. package/dist/plus/ai/providers/anthropicProvider.d.ts +33 -32
  514. package/dist/plus/ai/providers/anthropicProvider.js +484 -381
  515. package/dist/plus/ai/providers/anthropicProvider.js.map +1 -1
  516. package/dist/plus/ai/providers/azureProvider.d.ts +18 -16
  517. package/dist/plus/ai/providers/azureProvider.js +53 -53
  518. package/dist/plus/ai/providers/azureProvider.js.map +1 -1
  519. package/dist/plus/ai/providers/context.d.ts +23 -20
  520. package/dist/plus/ai/providers/context.js +0 -2
  521. package/dist/plus/ai/providers/deepSeekProvider.d.ts +17 -15
  522. package/dist/plus/ai/providers/deepSeekProvider.js +45 -39
  523. package/dist/plus/ai/providers/deepSeekProvider.js.map +1 -1
  524. package/dist/plus/ai/providers/geminiProvider.d.ts +16 -14
  525. package/dist/plus/ai/providers/geminiProvider.js +316 -230
  526. package/dist/plus/ai/providers/geminiProvider.js.map +1 -1
  527. package/dist/plus/ai/providers/gitkrakenProvider.d.ts +22 -20
  528. package/dist/plus/ai/providers/gitkrakenProvider.js +165 -260
  529. package/dist/plus/ai/providers/gitkrakenProvider.js.map +1 -1
  530. package/dist/plus/ai/providers/huggingFaceProvider.d.ts +16 -14
  531. package/dist/plus/ai/providers/huggingFaceProvider.js +45 -46
  532. package/dist/plus/ai/providers/huggingFaceProvider.js.map +1 -1
  533. package/dist/plus/ai/providers/mistralProvider.d.ts +22 -20
  534. package/dist/plus/ai/providers/mistralProvider.js +263 -195
  535. package/dist/plus/ai/providers/mistralProvider.js.map +1 -1
  536. package/dist/plus/ai/providers/ollamaProvider.d.ts +26 -24
  537. package/dist/plus/ai/providers/ollamaProvider.js +156 -189
  538. package/dist/plus/ai/providers/ollamaProvider.js.map +1 -1
  539. package/dist/plus/ai/providers/openAICompatibleProvider.d.ts +18 -16
  540. package/dist/plus/ai/providers/openAICompatibleProvider.js +50 -50
  541. package/dist/plus/ai/providers/openAICompatibleProvider.js.map +1 -1
  542. package/dist/plus/ai/providers/openAICompatibleProviderBase.d.ts +187 -185
  543. package/dist/plus/ai/providers/openAICompatibleProviderBase.js +356 -475
  544. package/dist/plus/ai/providers/openAICompatibleProviderBase.js.map +1 -1
  545. package/dist/plus/ai/providers/openRouterProvider.d.ts +20 -19
  546. package/dist/plus/ai/providers/openRouterProvider.js +60 -65
  547. package/dist/plus/ai/providers/openRouterProvider.js.map +1 -1
  548. package/dist/plus/ai/providers/openaiProvider.d.ts +17 -15
  549. package/dist/plus/ai/providers/openaiProvider.js +35 -34
  550. package/dist/plus/ai/providers/openaiProvider.js.map +1 -1
  551. package/dist/plus/ai/providers/responseFormatCache.d.ts +4 -2
  552. package/dist/plus/ai/providers/responseFormatCache.js +21 -17
  553. package/dist/plus/ai/providers/responseFormatCache.js.map +1 -1
  554. package/dist/plus/ai/providers/xaiProvider.d.ts +16 -14
  555. package/dist/plus/ai/providers/xaiProvider.js +61 -46
  556. package/dist/plus/ai/providers/xaiProvider.js.map +1 -1
  557. package/dist/plus/ai/utils/ai.utils.d.ts +4 -2
  558. package/dist/plus/ai/utils/ai.utils.js +50 -77
  559. package/dist/plus/ai/utils/ai.utils.js.map +1 -1
  560. package/dist/plus/ai/utils/results.utils.d.ts +7 -5
  561. package/dist/plus/ai/utils/results.utils.js +235 -269
  562. package/dist/plus/ai/utils/results.utils.js.map +1 -1
  563. package/dist/plus/ai/utils/truncation.utils.d.ts +3 -2
  564. package/dist/plus/ai/utils/truncation.utils.js +242 -205
  565. package/dist/plus/ai/utils/truncation.utils.js.map +1 -1
  566. package/dist/plus/git-github/api/config.d.ts +58 -56
  567. package/dist/plus/git-github/api/config.js +15 -11
  568. package/dist/plus/git-github/api/config.js.map +1 -1
  569. package/dist/plus/git-github/api/github.d.ts +500 -497
  570. package/dist/plus/git-github/api/github.js +2326 -3121
  571. package/dist/plus/git-github/api/github.js.map +1 -1
  572. package/dist/plus/git-github/api/github.utils.d.ts +5 -3
  573. package/dist/plus/git-github/api/github.utils.js +24 -19
  574. package/dist/plus/git-github/api/github.utils.js.map +1 -1
  575. package/dist/plus/git-github/api/issueSearchQuery.d.ts +5 -3
  576. package/dist/plus/git-github/api/issueSearchQuery.js +204 -221
  577. package/dist/plus/git-github/api/issueSearchQuery.js.map +1 -1
  578. package/dist/plus/git-github/api/pullRequestSearchQuery.d.ts +6 -5
  579. package/dist/plus/git-github/api/pullRequestSearchQuery.js +89 -116
  580. package/dist/plus/git-github/api/pullRequestSearchQuery.js.map +1 -1
  581. package/dist/plus/git-github/api/token.d.ts +10 -8
  582. package/dist/plus/git-github/api/token.js +0 -2
  583. package/dist/plus/git-github/api/tokenUtils.d.ts +4 -2
  584. package/dist/plus/git-github/api/tokenUtils.js +14 -10
  585. package/dist/plus/git-github/api/tokenUtils.js.map +1 -1
  586. package/dist/plus/git-github/api/types.d.ts +94 -92
  587. package/dist/plus/git-github/api/types.js +0 -2
  588. package/dist/plus/git-github/context.d.ts +65 -63
  589. package/dist/plus/git-github/context.js +13 -9
  590. package/dist/plus/git-github/context.js.map +1 -1
  591. package/dist/plus/git-github/models.d.ts +182 -182
  592. package/dist/plus/git-github/models.js +199 -265
  593. package/dist/plus/git-github/models.js.map +1 -1
  594. package/dist/plus/git-github/providers/github/blame.d.ts +32 -31
  595. package/dist/plus/git-github/providers/github/blame.js +137 -150
  596. package/dist/plus/git-github/providers/github/blame.js.map +1 -1
  597. package/dist/plus/git-github/providers/github/branches.d.ts +42 -40
  598. package/dist/plus/git-github/providers/github/branches.js +199 -274
  599. package/dist/plus/git-github/providers/github/branches.js.map +1 -1
  600. package/dist/plus/git-github/providers/github/commits.d.ts +35 -33
  601. package/dist/plus/git-github/providers/github/commits.js +527 -606
  602. package/dist/plus/git-github/providers/github/commits.js.map +1 -1
  603. package/dist/plus/git-github/providers/github/config.d.ts +10 -8
  604. package/dist/plus/git-github/providers/github/config.js +35 -45
  605. package/dist/plus/git-github/providers/github/config.js.map +1 -1
  606. package/dist/plus/git-github/providers/github/contributors.d.ts +25 -24
  607. package/dist/plus/git-github/providers/github/contributors.js +174 -216
  608. package/dist/plus/git-github/providers/github/contributors.js.map +1 -1
  609. package/dist/plus/git-github/providers/github/diff.d.ts +34 -32
  610. package/dist/plus/git-github/providers/github/diff.js +154 -194
  611. package/dist/plus/git-github/providers/github/diff.js.map +1 -1
  612. package/dist/plus/git-github/providers/github/graph.d.ts +33 -31
  613. package/dist/plus/git-github/providers/github/graph.js +400 -452
  614. package/dist/plus/git-github/providers/github/graph.js.map +1 -1
  615. package/dist/plus/git-github/providers/github/refs.d.ts +33 -31
  616. package/dist/plus/git-github/providers/github/refs.js +97 -131
  617. package/dist/plus/git-github/providers/github/refs.js.map +1 -1
  618. package/dist/plus/git-github/providers/github/remotes.d.ts +8 -6
  619. package/dist/plus/git-github/providers/github/remotes.js +30 -35
  620. package/dist/plus/git-github/providers/github/remotes.js.map +1 -1
  621. package/dist/plus/git-github/providers/github/revision.d.ts +13 -11
  622. package/dist/plus/git-github/providers/github/revision.js +106 -129
  623. package/dist/plus/git-github/providers/github/revision.js.map +1 -1
  624. package/dist/plus/git-github/providers/github/status.d.ts +24 -22
  625. package/dist/plus/git-github/providers/github/status.js +49 -47
  626. package/dist/plus/git-github/providers/github/status.js.map +1 -1
  627. package/dist/plus/git-github/providers/github/tags.d.ts +21 -19
  628. package/dist/plus/git-github/providers/github/tags.js +78 -103
  629. package/dist/plus/git-github/providers/github/tags.js.map +1 -1
  630. package/dist/plus/git-github/providers/githubGitProvider.d.ts +67 -64
  631. package/dist/plus/git-github/providers/githubGitProvider.js +131 -128
  632. package/dist/plus/git-github/providers/githubGitProvider.js.map +1 -1
  633. package/dist/plus/git-github/providers/githubProvider.d.ts +46 -44
  634. package/dist/plus/git-github/providers/githubProvider.js +0 -2
  635. package/dist/plus/integrations/authentication/cloudIntegrationService.d.ts +29 -27
  636. package/dist/plus/integrations/authentication/cloudIntegrationService.js +173 -208
  637. package/dist/plus/integrations/authentication/cloudIntegrationService.js.map +1 -1
  638. package/dist/plus/integrations/authentication/configuredIntegrationService.d.ts +126 -107
  639. package/dist/plus/integrations/authentication/configuredIntegrationService.js +406 -497
  640. package/dist/plus/integrations/authentication/configuredIntegrationService.js.map +1 -1
  641. package/dist/plus/integrations/authentication/integrationAuthenticationProvider.d.ts +73 -72
  642. package/dist/plus/integrations/authentication/integrationAuthenticationProvider.js +153 -232
  643. package/dist/plus/integrations/authentication/integrationAuthenticationProvider.js.map +1 -1
  644. package/dist/plus/integrations/authentication/integrationAuthenticationService.d.ts +61 -59
  645. package/dist/plus/integrations/authentication/integrationAuthenticationService.js +100 -124
  646. package/dist/plus/integrations/authentication/integrationAuthenticationService.js.map +1 -1
  647. package/dist/plus/integrations/authentication/manualTokenProvider.d.ts +14 -12
  648. package/dist/plus/integrations/authentication/manualTokenProvider.js +26 -51
  649. package/dist/plus/integrations/authentication/manualTokenProvider.js.map +1 -1
  650. package/dist/plus/integrations/authentication/models.d.ts +102 -85
  651. package/dist/plus/integrations/authentication/models.js +55 -54
  652. package/dist/plus/integrations/authentication/models.js.map +1 -1
  653. package/dist/plus/integrations/authentication/rejectedTokenTracker.d.ts +19 -17
  654. package/dist/plus/integrations/authentication/rejectedTokenTracker.js +53 -51
  655. package/dist/plus/integrations/authentication/rejectedTokenTracker.js.map +1 -1
  656. package/dist/plus/integrations/collectionMetadata.d.ts +12 -10
  657. package/dist/plus/integrations/collectionMetadata.js +204 -254
  658. package/dist/plus/integrations/collectionMetadata.js.map +1 -1
  659. package/dist/plus/integrations/constants.d.ts +60 -34
  660. package/dist/plus/integrations/constants.js +157 -132
  661. package/dist/plus/integrations/constants.js.map +1 -1
  662. package/dist/plus/integrations/context.d.ts +253 -252
  663. package/dist/plus/integrations/context.js +0 -2
  664. package/dist/plus/integrations/errors.d.ts +26 -25
  665. package/dist/plus/integrations/errors.js +116 -140
  666. package/dist/plus/integrations/errors.js.map +1 -1
  667. package/dist/plus/integrations/index.d.ts +36 -40
  668. package/dist/plus/integrations/index.js +46 -57
  669. package/dist/plus/integrations/index.js.map +1 -1
  670. package/dist/plus/integrations/integrationService.d.ts +477 -438
  671. package/dist/plus/integrations/integrationService.js +1101 -1324
  672. package/dist/plus/integrations/integrationService.js.map +1 -1
  673. package/dist/plus/integrations/lite.d.ts +33 -31
  674. package/dist/plus/integrations/lite.js +85 -122
  675. package/dist/plus/integrations/lite.js.map +1 -1
  676. package/dist/plus/integrations/manager.d.ts +637 -580
  677. package/dist/plus/integrations/manager.js +0 -2
  678. package/dist/plus/integrations/models/gitHostIntegration.d.ts +436 -415
  679. package/dist/plus/integrations/models/gitHostIntegration.js +1220 -1295
  680. package/dist/plus/integrations/models/gitHostIntegration.js.map +1 -1
  681. package/dist/plus/integrations/models/integration.d.ts +200 -190
  682. package/dist/plus/integrations/models/integration.js +577 -722
  683. package/dist/plus/integrations/models/integration.js.map +1 -1
  684. package/dist/plus/integrations/models/issueCache.d.ts +15 -13
  685. package/dist/plus/integrations/models/issueCache.js +9 -7
  686. package/dist/plus/integrations/models/issueCache.js.map +1 -1
  687. package/dist/plus/integrations/models/issueReads.d.ts +125 -85
  688. package/dist/plus/integrations/models/issueReads.js +0 -2
  689. package/dist/plus/integrations/models/issuesIntegration.d.ts +72 -71
  690. package/dist/plus/integrations/models/issuesIntegration.js +160 -186
  691. package/dist/plus/integrations/models/issuesIntegration.js.map +1 -1
  692. package/dist/plus/integrations/models/pullRequestReads.d.ts +35 -7
  693. package/dist/plus/integrations/models/pullRequestReads.js +0 -2
  694. package/dist/plus/integrations/providerFilters.d.ts +8 -20
  695. package/dist/plus/integrations/providerFilters.js +11 -7
  696. package/dist/plus/integrations/providerFilters.js.map +1 -1
  697. package/dist/plus/integrations/providers/accounts.d.ts +7 -5
  698. package/dist/plus/integrations/providers/accounts.js +21 -31
  699. package/dist/plus/integrations/providers/accounts.js.map +1 -1
  700. package/dist/plus/integrations/providers/apiClients.d.ts +13 -10
  701. package/dist/plus/integrations/providers/apiClients.js +51 -36
  702. package/dist/plus/integrations/providers/apiClients.js.map +1 -1
  703. package/dist/plus/integrations/providers/apiConfig.d.ts +31 -29
  704. package/dist/plus/integrations/providers/apiConfig.js +18 -16
  705. package/dist/plus/integrations/providers/apiConfig.js.map +1 -1
  706. package/dist/plus/integrations/providers/azure/azure.d.ts +134 -67
  707. package/dist/plus/integrations/providers/azure/azure.js +631 -576
  708. package/dist/plus/integrations/providers/azure/azure.js.map +1 -1
  709. package/dist/plus/integrations/providers/azure/models.d.ts +228 -226
  710. package/dist/plus/integrations/providers/azure/models.js +223 -251
  711. package/dist/plus/integrations/providers/azure/models.js.map +1 -1
  712. package/dist/plus/integrations/providers/azure/search.d.ts +144 -0
  713. package/dist/plus/integrations/providers/azure/search.js +250 -0
  714. package/dist/plus/integrations/providers/azure/search.js.map +1 -0
  715. package/dist/plus/integrations/providers/azureDevOps.d.ts +154 -134
  716. package/dist/plus/integrations/providers/azureDevOps.js +805 -930
  717. package/dist/plus/integrations/providers/azureDevOps.js.map +1 -1
  718. package/dist/plus/integrations/providers/azureDevOpsServer.d.ts +176 -0
  719. package/dist/plus/integrations/providers/azureDevOpsServer.js +560 -0
  720. package/dist/plus/integrations/providers/azureDevOpsServer.js.map +1 -0
  721. package/dist/plus/integrations/providers/bitbucket/bitbucket.d.ts +50 -48
  722. package/dist/plus/integrations/providers/bitbucket/bitbucket.js +417 -585
  723. package/dist/plus/integrations/providers/bitbucket/bitbucket.js.map +1 -1
  724. package/dist/plus/integrations/providers/bitbucket/models.d.ts +179 -179
  725. package/dist/plus/integrations/providers/bitbucket/models.js +96 -144
  726. package/dist/plus/integrations/providers/bitbucket/models.js.map +1 -1
  727. package/dist/plus/integrations/providers/bitbucket-server/discovery.d.ts +12 -0
  728. package/dist/plus/integrations/providers/bitbucket-server/discovery.js +128 -0
  729. package/dist/plus/integrations/providers/bitbucket-server/discovery.js.map +1 -0
  730. package/dist/plus/integrations/providers/bitbucket-server/models.d.ts +120 -109
  731. package/dist/plus/integrations/providers/bitbucket-server/models.js +103 -121
  732. package/dist/plus/integrations/providers/bitbucket-server/models.js.map +1 -1
  733. package/dist/plus/integrations/providers/bitbucket-server/pullRequestSearch.d.ts +58 -0
  734. package/dist/plus/integrations/providers/bitbucket-server/pullRequestSearch.js +485 -0
  735. package/dist/plus/integrations/providers/bitbucket-server/pullRequestSearch.js.map +1 -0
  736. package/dist/plus/integrations/providers/bitbucket-server.d.ts +128 -79
  737. package/dist/plus/integrations/providers/bitbucket-server.js +281 -241
  738. package/dist/plus/integrations/providers/bitbucket-server.js.map +1 -1
  739. package/dist/plus/integrations/providers/bitbucket.d.ts +80 -79
  740. package/dist/plus/integrations/providers/bitbucket.js +390 -477
  741. package/dist/plus/integrations/providers/bitbucket.js.map +1 -1
  742. package/dist/plus/integrations/providers/github/github.d.ts +5 -3
  743. package/dist/plus/integrations/providers/github/github.js +38 -45
  744. package/dist/plus/integrations/providers/github/github.js.map +1 -1
  745. package/dist/plus/integrations/providers/github/github.utils.d.ts +8 -5
  746. package/dist/plus/integrations/providers/github/github.utils.js +7 -4
  747. package/dist/plus/integrations/providers/github/github.utils.js.map +1 -1
  748. package/dist/plus/integrations/providers/github/models.d.ts +2 -3
  749. package/dist/plus/integrations/providers/github/models.js +2 -2
  750. package/dist/plus/integrations/providers/github.d.ts +174 -172
  751. package/dist/plus/integrations/providers/github.js +432 -523
  752. package/dist/plus/integrations/providers/github.js.map +1 -1
  753. package/dist/plus/integrations/providers/gitlab/gitlab.d.ts +67 -66
  754. package/dist/plus/integrations/providers/gitlab/gitlab.js +546 -757
  755. package/dist/plus/integrations/providers/gitlab/gitlab.js.map +1 -1
  756. package/dist/plus/integrations/providers/gitlab/gitlab.utils.d.ts +7 -5
  757. package/dist/plus/integrations/providers/gitlab/gitlab.utils.js +45 -46
  758. package/dist/plus/integrations/providers/gitlab/gitlab.utils.js.map +1 -1
  759. package/dist/plus/integrations/providers/gitlab/models.d.ts +109 -107
  760. package/dist/plus/integrations/providers/gitlab/models.js +74 -89
  761. package/dist/plus/integrations/providers/gitlab/models.js.map +1 -1
  762. package/dist/plus/integrations/providers/gitlab.d.ts +117 -114
  763. package/dist/plus/integrations/providers/gitlab.js +444 -528
  764. package/dist/plus/integrations/providers/gitlab.js.map +1 -1
  765. package/dist/plus/integrations/providers/issueSorts.d.ts +4 -1
  766. package/dist/plus/integrations/providers/issueSorts.js +66 -62
  767. package/dist/plus/integrations/providers/issueSorts.js.map +1 -1
  768. package/dist/plus/integrations/providers/jira-server.d.ts +99 -0
  769. package/dist/plus/integrations/providers/jira-server.js +333 -0
  770. package/dist/plus/integrations/providers/jira-server.js.map +1 -0
  771. package/dist/plus/integrations/providers/jira.d.ts +41 -39
  772. package/dist/plus/integrations/providers/jira.js +378 -440
  773. package/dist/plus/integrations/providers/jira.js.map +1 -1
  774. package/dist/plus/integrations/providers/jiraIssueByKey.d.ts +3 -1
  775. package/dist/plus/integrations/providers/jiraIssueByKey.js +85 -89
  776. package/dist/plus/integrations/providers/jiraIssueByKey.js.map +1 -1
  777. package/dist/plus/integrations/providers/linear.d.ts +63 -62
  778. package/dist/plus/integrations/providers/linear.js +315 -358
  779. package/dist/plus/integrations/providers/linear.js.map +1 -1
  780. package/dist/plus/integrations/providers/models.d.ts +523 -503
  781. package/dist/plus/integrations/providers/models.js +902 -865
  782. package/dist/plus/integrations/providers/models.js.map +1 -1
  783. package/dist/plus/integrations/providers/providerErrors.d.ts +35 -2
  784. package/dist/plus/integrations/providers/providerErrors.js +120 -81
  785. package/dist/plus/integrations/providers/providerErrors.js.map +1 -1
  786. package/dist/plus/integrations/providers/providersApi.d.ts +309 -271
  787. package/dist/plus/integrations/providers/providersApi.js +1063 -1001
  788. package/dist/plus/integrations/providers/providersApi.js.map +1 -1
  789. package/dist/plus/integrations/providers/pullRequestReviews.d.ts +21 -21
  790. package/dist/plus/integrations/providers/pullRequestReviews.js +64 -90
  791. package/dist/plus/integrations/providers/pullRequestReviews.js.map +1 -1
  792. package/dist/plus/integrations/providers/trello.d.ts +35 -34
  793. package/dist/plus/integrations/providers/trello.js +136 -143
  794. package/dist/plus/integrations/providers/trello.js.map +1 -1
  795. package/dist/plus/integrations/providers/utils/providerPaging.d.ts +4 -2
  796. package/dist/plus/integrations/providers/utils/providerPaging.js +131 -156
  797. package/dist/plus/integrations/providers/utils/providerPaging.js.map +1 -1
  798. package/dist/plus/integrations/providers/utils.d.ts +63 -51
  799. package/dist/plus/integrations/providers/utils.js +215 -296
  800. package/dist/plus/integrations/providers/utils.js.map +1 -1
  801. package/dist/plus/integrations/reads/broaden.d.ts +10 -8
  802. package/dist/plus/integrations/reads/broaden.js +320 -439
  803. package/dist/plus/integrations/reads/broaden.js.map +1 -1
  804. package/dist/plus/integrations/reads/context.d.ts +47 -45
  805. package/dist/plus/integrations/reads/context.js +0 -2
  806. package/dist/plus/integrations/reads/counts.d.ts +90 -74
  807. package/dist/plus/integrations/reads/counts.js +284 -314
  808. package/dist/plus/integrations/reads/counts.js.map +1 -1
  809. package/dist/plus/integrations/reads/cursors.d.ts +26 -24
  810. package/dist/plus/integrations/reads/cursors.js +80 -115
  811. package/dist/plus/integrations/reads/cursors.js.map +1 -1
  812. package/dist/plus/integrations/reads/drains.d.ts +25 -23
  813. package/dist/plus/integrations/reads/drains.js +225 -298
  814. package/dist/plus/integrations/reads/drains.js.map +1 -1
  815. package/dist/plus/integrations/reads/filters.d.ts +85 -81
  816. package/dist/plus/integrations/reads/filters.js +333 -416
  817. package/dist/plus/integrations/reads/filters.js.map +1 -1
  818. package/dist/plus/integrations/reads/hierarchy.d.ts +14 -12
  819. package/dist/plus/integrations/reads/hierarchy.js +248 -332
  820. package/dist/plus/integrations/reads/hierarchy.js.map +1 -1
  821. package/dist/plus/integrations/reads/hierarchy.utils.d.ts +11 -9
  822. package/dist/plus/integrations/reads/hierarchy.utils.js +109 -108
  823. package/dist/plus/integrations/reads/hierarchy.utils.js.map +1 -1
  824. package/dist/plus/integrations/reads/issueBatch.d.ts +28 -26
  825. package/dist/plus/integrations/reads/issueBatch.js +83 -85
  826. package/dist/plus/integrations/reads/issueBatch.js.map +1 -1
  827. package/dist/plus/integrations/reads/issueTracker.d.ts +42 -33
  828. package/dist/plus/integrations/reads/issueTracker.js +265 -386
  829. package/dist/plus/integrations/reads/issueTracker.js.map +1 -1
  830. package/dist/plus/integrations/reads/issues.d.ts +50 -47
  831. package/dist/plus/integrations/reads/issues.js +202 -331
  832. package/dist/plus/integrations/reads/issues.js.map +1 -1
  833. package/dist/plus/integrations/reads/ordering.d.ts +32 -30
  834. package/dist/plus/integrations/reads/ordering.js +47 -43
  835. package/dist/plus/integrations/reads/ordering.js.map +1 -1
  836. package/dist/plus/integrations/reads/paging.d.ts +59 -57
  837. package/dist/plus/integrations/reads/paging.js +244 -261
  838. package/dist/plus/integrations/reads/paging.js.map +1 -1
  839. package/dist/plus/integrations/reads/pullRequests.d.ts +37 -35
  840. package/dist/plus/integrations/reads/pullRequests.js +95 -148
  841. package/dist/plus/integrations/reads/pullRequests.js.map +1 -1
  842. package/dist/plus/integrations/reads/resolveRepository.d.ts +18 -15
  843. package/dist/plus/integrations/reads/resolveRepository.js +238 -231
  844. package/dist/plus/integrations/reads/resolveRepository.js.map +1 -1
  845. package/dist/plus/integrations/reads/searchIssues.d.ts +29 -27
  846. package/dist/plus/integrations/reads/searchIssues.js +106 -153
  847. package/dist/plus/integrations/reads/searchIssues.js.map +1 -1
  848. package/dist/plus/integrations/reads/searchPullRequests.d.ts +20 -18
  849. package/dist/plus/integrations/reads/searchPullRequests.js +97 -113
  850. package/dist/plus/integrations/reads/searchPullRequests.js.map +1 -1
  851. package/dist/plus/integrations/reads/sweeps.d.ts +6 -4
  852. package/dist/plus/integrations/reads/sweeps.js +143 -178
  853. package/dist/plus/integrations/reads/sweeps.js.map +1 -1
  854. package/dist/plus/integrations/reads/trackerIssue.d.ts +28 -16
  855. package/dist/plus/integrations/reads/trackerIssue.js +58 -49
  856. package/dist/plus/integrations/reads/trackerIssue.js.map +1 -1
  857. package/dist/plus/integrations/reads/warnings.d.ts +16 -9
  858. package/dist/plus/integrations/reads/warnings.js +260 -291
  859. package/dist/plus/integrations/reads/warnings.js.map +1 -1
  860. package/dist/plus/integrations/results.d.ts +201 -199
  861. package/dist/plus/integrations/results.js +105 -119
  862. package/dist/plus/integrations/results.js.map +1 -1
  863. package/dist/plus/integrations/telemetry.d.ts +7 -5
  864. package/dist/plus/integrations/telemetry.js +9 -9
  865. package/dist/plus/integrations/telemetry.js.map +1 -1
  866. package/dist/plus/integrations/utils/domain.utils.d.ts +40 -0
  867. package/dist/plus/integrations/utils/domain.utils.js +90 -22
  868. package/dist/plus/integrations/utils/domain.utils.js.map +1 -1
  869. package/dist/plus/integrations/utils/integration.utils.d.ts +31 -6
  870. package/dist/plus/integrations/utils/integration.utils.js +171 -167
  871. package/dist/plus/integrations/utils/integration.utils.js.map +1 -1
  872. package/dist/utils/array.d.ts +9 -7
  873. package/dist/utils/array.js +110 -126
  874. package/dist/utils/array.js.map +1 -1
  875. package/dist/utils/base64.d.ts +2 -2
  876. package/dist/utils/base64.js +2 -2
  877. package/dist/utils/brand.d.ts +4 -3
  878. package/dist/utils/brand.js +0 -2
  879. package/dist/utils/cancellation.d.ts +24 -24
  880. package/dist/utils/cancellation.js +152 -167
  881. package/dist/utils/cancellation.js.map +1 -1
  882. package/dist/utils/charCode.d.ts +31 -37
  883. package/dist/utils/charCode.js +41 -37
  884. package/dist/utils/charCode.js.map +1 -1
  885. package/dist/utils/coalescedRun.d.ts +10 -8
  886. package/dist/utils/coalescedRun.js +39 -41
  887. package/dist/utils/coalescedRun.js.map +1 -1
  888. package/dist/utils/color.d.ts +137 -135
  889. package/dist/utils/color.js +535 -660
  890. package/dist/utils/color.js.map +1 -1
  891. package/dist/utils/counter.d.ts +5 -3
  892. package/dist/utils/counter.js +19 -17
  893. package/dist/utils/counter.js.map +1 -1
  894. package/dist/utils/crypto.d.ts +2 -2
  895. package/dist/utils/crypto.js +2 -2
  896. package/dist/utils/date.d.ts +10 -9
  897. package/dist/utils/date.js +312 -350
  898. package/dist/utils/date.js.map +1 -1
  899. package/dist/utils/debounce.d.ts +45 -43
  900. package/dist/utils/debounce.js +175 -206
  901. package/dist/utils/debounce.js.map +1 -1
  902. package/dist/utils/decorators/debounce.d.ts +3 -1
  903. package/dist/utils/decorators/debounce.js +16 -19
  904. package/dist/utils/decorators/debounce.js.map +1 -1
  905. package/dist/utils/decorators/gate.d.ts +13 -11
  906. package/dist/utils/decorators/gate.js +97 -124
  907. package/dist/utils/decorators/gate.js.map +1 -1
  908. package/dist/utils/decorators/log.d.ts +25 -24
  909. package/dist/utils/decorators/log.js +166 -227
  910. package/dist/utils/decorators/log.js.map +1 -1
  911. package/dist/utils/decorators/memoize.d.ts +10 -8
  912. package/dist/utils/decorators/memoize.js +49 -57
  913. package/dist/utils/decorators/memoize.js.map +1 -1
  914. package/dist/utils/decorators/resolver.d.ts +2 -0
  915. package/dist/utils/decorators/resolver.js +64 -75
  916. package/dist/utils/decorators/resolver.js.map +1 -1
  917. package/dist/utils/decorators/sequentialize.d.ts +15 -14
  918. package/dist/utils/decorators/sequentialize.js +61 -80
  919. package/dist/utils/decorators/sequentialize.js.map +1 -1
  920. package/dist/utils/decorators/serializable.d.ts +2 -0
  921. package/dist/utils/decorators/serializable.js +30 -39
  922. package/dist/utils/decorators/serializable.js.map +1 -1
  923. package/dist/utils/dedupedAsyncCache.d.ts +23 -21
  924. package/dist/utils/dedupedAsyncCache.js +63 -66
  925. package/dist/utils/dedupedAsyncCache.js.map +1 -1
  926. package/dist/utils/diff.d.ts +2 -0
  927. package/dist/utils/diff.js +41 -51
  928. package/dist/utils/diff.js.map +1 -1
  929. package/dist/utils/disposable.d.ts +15 -13
  930. package/dist/utils/disposable.js +71 -80
  931. package/dist/utils/disposable.js.map +1 -1
  932. package/dist/utils/dom.d.ts +45 -0
  933. package/dist/utils/dom.js +106 -0
  934. package/dist/utils/dom.js.map +1 -0
  935. package/dist/utils/encoding.d.ts +2 -0
  936. package/dist/utils/encoding.js +7 -5
  937. package/dist/utils/encoding.js.map +1 -1
  938. package/dist/utils/env/browser/base64.d.ts +2 -0
  939. package/dist/utils/env/browser/base64.js +32 -34
  940. package/dist/utils/env/browser/base64.js.map +1 -1
  941. package/dist/utils/env/browser/crypto.d.ts +2 -0
  942. package/dist/utils/env/browser/crypto.js +17 -13
  943. package/dist/utils/env/browser/crypto.js.map +1 -1
  944. package/dist/utils/env/browser/fs.d.ts +2 -0
  945. package/dist/utils/env/browser/fs.js +6 -2
  946. package/dist/utils/env/browser/fs.js.map +1 -1
  947. package/dist/utils/env/browser/hex.d.ts +2 -0
  948. package/dist/utils/env/browser/hex.js +271 -29
  949. package/dist/utils/env/browser/hex.js.map +1 -1
  950. package/dist/utils/env/browser/hrtime.d.ts +2 -0
  951. package/dist/utils/env/browser/hrtime.js +17 -13
  952. package/dist/utils/env/browser/hrtime.js.map +1 -1
  953. package/dist/utils/env/browser/logScope.d.ts +3 -1
  954. package/dist/utils/env/browser/logScope.js +39 -43
  955. package/dist/utils/env/browser/logScope.js.map +1 -1
  956. package/dist/utils/env/browser/md5.d.ts +2 -0
  957. package/dist/utils/env/browser/md5.js +211 -184
  958. package/dist/utils/env/browser/md5.js.map +1 -1
  959. package/dist/utils/env/browser/platform.d.ts +3 -0
  960. package/dist/utils/env/browser/platform.js +11 -4
  961. package/dist/utils/env/browser/platform.js.map +1 -1
  962. package/dist/utils/env/node/base64.d.ts +2 -0
  963. package/dist/utils/env/node/base64.js +13 -11
  964. package/dist/utils/env/node/base64.js.map +1 -1
  965. package/dist/utils/env/node/crypto.d.ts +2 -0
  966. package/dist/utils/env/node/crypto.js +13 -9
  967. package/dist/utils/env/node/crypto.js.map +1 -1
  968. package/dist/utils/env/node/exec.d.ts +66 -65
  969. package/dist/utils/env/node/exec.js +255 -267
  970. package/dist/utils/env/node/exec.js.map +1 -1
  971. package/dist/utils/env/node/fs.d.ts +2 -0
  972. package/dist/utils/env/node/fs.js +7 -3
  973. package/dist/utils/env/node/fs.js.map +1 -1
  974. package/dist/utils/env/node/hex.d.ts +2 -0
  975. package/dist/utils/env/node/hex.js +10 -6
  976. package/dist/utils/env/node/hex.js.map +1 -1
  977. package/dist/utils/env/node/hrtime.d.ts +2 -2
  978. package/dist/utils/env/node/hrtime.js +2 -2
  979. package/dist/utils/env/node/logScope.d.ts +3 -1
  980. package/dist/utils/env/node/logScope.js +52 -42
  981. package/dist/utils/env/node/logScope.js.map +1 -1
  982. package/dist/utils/env/node/platform.d.ts +3 -0
  983. package/dist/utils/env/node/platform.js +11 -4
  984. package/dist/utils/env/node/platform.js.map +1 -1
  985. package/dist/utils/error.d.ts +8 -6
  986. package/dist/utils/error.js +16 -14
  987. package/dist/utils/error.js.map +1 -1
  988. package/dist/utils/event.d.ts +27 -25
  989. package/dist/utils/event.js +141 -170
  990. package/dist/utils/event.js.map +1 -1
  991. package/dist/utils/formatter.d.ts +15 -14
  992. package/dist/utils/formatter.js +96 -129
  993. package/dist/utils/formatter.js.map +1 -1
  994. package/dist/utils/fs.d.ts +2 -2
  995. package/dist/utils/fs.js +2 -2
  996. package/dist/utils/function.d.ts +5 -6
  997. package/dist/utils/function.js +73 -90
  998. package/dist/utils/function.js.map +1 -1
  999. package/dist/utils/fuzzy.d.ts +18 -16
  1000. package/dist/utils/fuzzy.js +121 -127
  1001. package/dist/utils/fuzzy.js.map +1 -1
  1002. package/dist/utils/gitRefs.d.ts +11 -0
  1003. package/dist/utils/gitRefs.js +21 -0
  1004. package/dist/utils/gitRefs.js.map +1 -0
  1005. package/dist/utils/hash.d.ts +2 -0
  1006. package/dist/utils/hash.js +49 -47
  1007. package/dist/utils/hash.js.map +1 -1
  1008. package/dist/utils/hex.d.ts +2 -2
  1009. package/dist/utils/hex.js +2 -2
  1010. package/dist/utils/hostingServiceType.d.ts +8 -0
  1011. package/dist/utils/hostingServiceType.js +0 -0
  1012. package/dist/utils/hrtime.d.ts +4 -2
  1013. package/dist/utils/hrtime.js +8 -5
  1014. package/dist/utils/hrtime.js.map +1 -1
  1015. package/dist/utils/iterable.d.ts +3 -1
  1016. package/dist/utils/iterable.js +591 -616
  1017. package/dist/utils/iterable.js.map +1 -1
  1018. package/dist/utils/keys/chord.d.ts +27 -25
  1019. package/dist/utils/keys/chord.js +108 -122
  1020. package/dist/utils/keys/chord.js.map +1 -1
  1021. package/dist/utils/keys/keybinding.d.ts +98 -22
  1022. package/dist/utils/keys/keybinding.js +151 -53
  1023. package/dist/utils/keys/keybinding.js.map +1 -1
  1024. package/dist/utils/keys/keymapDispatcher.d.ts +66 -0
  1025. package/dist/utils/keys/keymapDispatcher.js +187 -0
  1026. package/dist/utils/keys/keymapDispatcher.js.map +1 -0
  1027. package/dist/utils/lazy.d.ts +14 -12
  1028. package/dist/utils/lazy.js +35 -36
  1029. package/dist/utils/lazy.js.map +1 -1
  1030. package/dist/utils/loggable.d.ts +3 -1
  1031. package/dist/utils/loggable.js +6 -2
  1032. package/dist/utils/loggable.js.map +1 -1
  1033. package/dist/utils/logger.d.ts +48 -46
  1034. package/dist/utils/logger.js +219 -304
  1035. package/dist/utils/logger.js.map +1 -1
  1036. package/dist/utils/logger.scoped.d.ts +30 -28
  1037. package/dist/utils/logger.scoped.js +133 -147
  1038. package/dist/utils/logger.scoped.js.map +1 -1
  1039. package/dist/utils/lruMap.d.ts +34 -32
  1040. package/dist/utils/lruMap.js +97 -101
  1041. package/dist/utils/lruMap.js.map +1 -1
  1042. package/dist/utils/markdown.d.ts +5 -3
  1043. package/dist/utils/markdown.js +52 -88
  1044. package/dist/utils/markdown.js.map +1 -1
  1045. package/dist/utils/mru.d.ts +13 -11
  1046. package/dist/utils/mru.js +57 -62
  1047. package/dist/utils/mru.js.map +1 -1
  1048. package/dist/utils/object.d.ts +9 -34
  1049. package/dist/utils/object.js +132 -191
  1050. package/dist/utils/object.js.map +1 -1
  1051. package/dist/utils/paging.d.ts +36 -34
  1052. package/dist/utils/paging.js +42 -45
  1053. package/dist/utils/paging.js.map +1 -1
  1054. package/dist/utils/path.d.ts +4 -1
  1055. package/dist/utils/path.js +129 -162
  1056. package/dist/utils/path.js.map +1 -1
  1057. package/dist/utils/pausedOperation.d.ts +42 -0
  1058. package/dist/utils/pausedOperation.js +62 -0
  1059. package/dist/utils/pausedOperation.js.map +1 -0
  1060. package/dist/utils/platform.d.ts +2 -2
  1061. package/dist/utils/platform.js +2 -2
  1062. package/dist/utils/plural.d.ts +21 -0
  1063. package/dist/utils/plural.js +136 -0
  1064. package/dist/utils/plural.js.map +1 -0
  1065. package/dist/utils/promise.d.ts +19 -18
  1066. package/dist/utils/promise.js +323 -360
  1067. package/dist/utils/promise.js.map +1 -1
  1068. package/dist/utils/promiseCache.d.ts +331 -330
  1069. package/dist/utils/promiseCache.js +602 -717
  1070. package/dist/utils/promiseCache.js.map +1 -1
  1071. package/dist/utils/resourceUsage.d.ts +2 -0
  1072. package/dist/utils/resourceUsage.js +0 -2
  1073. package/dist/utils/searchTree.d.ts +51 -49
  1074. package/dist/utils/searchTree.js +306 -396
  1075. package/dist/utils/searchTree.js.map +1 -1
  1076. package/dist/utils/stopwatch.d.ts +33 -32
  1077. package/dist/utils/stopwatch.js +67 -81
  1078. package/dist/utils/stopwatch.js.map +1 -1
  1079. package/dist/utils/string.d.ts +17 -24
  1080. package/dist/utils/string.js +787 -803
  1081. package/dist/utils/string.js.map +1 -1
  1082. package/dist/utils/subscriptionManager.d.ts +15 -14
  1083. package/dist/utils/subscriptionManager.js +36 -33
  1084. package/dist/utils/subscriptionManager.js.map +1 -1
  1085. package/dist/utils/trie.d.ts +64 -62
  1086. package/dist/utils/trie.js +438 -580
  1087. package/dist/utils/trie.js.map +1 -1
  1088. package/dist/utils/types.d.ts +8 -16
  1089. package/dist/utils/types.js +0 -2
  1090. package/dist/utils/uri.d.ts +27 -25
  1091. package/dist/utils/uri.js +42 -42
  1092. package/dist/utils/uri.js.map +1 -1
  1093. package/dist/utils/validation.d.ts +13 -12
  1094. package/dist/utils/validation.js +17 -23
  1095. package/dist/utils/validation.js.map +1 -1
  1096. package/dist/utils/version.d.ts +6 -5
  1097. package/dist/utils/version.js +77 -104
  1098. package/dist/utils/version.js.map +1 -1
  1099. package/docs/integrations.md +214 -67
  1100. package/docs/kepler-read-api-parity.md +19 -6
  1101. package/package.json +18 -8
  1102. package/dist/git/cache.d.ts.map +0 -1
  1103. package/dist/git/context.d.ts.map +0 -1
  1104. package/dist/git/errors.d.ts.map +0 -1
  1105. package/dist/git/features.d.ts.map +0 -1
  1106. package/dist/git/gitHealth.d.ts.map +0 -1
  1107. package/dist/git/models/author.d.ts.map +0 -1
  1108. package/dist/git/models/author.js.map +0 -1
  1109. package/dist/git/models/autolink.d.ts.map +0 -1
  1110. package/dist/git/models/autolink.js.map +0 -1
  1111. package/dist/git/models/blame.d.ts.map +0 -1
  1112. package/dist/git/models/blame.js.map +0 -1
  1113. package/dist/git/models/branch.d.ts.map +0 -1
  1114. package/dist/git/models/commit.d.ts.map +0 -1
  1115. package/dist/git/models/contributor.d.ts.map +0 -1
  1116. package/dist/git/models/defaultBranch.d.ts.map +0 -1
  1117. package/dist/git/models/defaultBranch.js.map +0 -1
  1118. package/dist/git/models/diff.d.ts.map +0 -1
  1119. package/dist/git/models/diff.js.map +0 -1
  1120. package/dist/git/models/file.d.ts.map +0 -1
  1121. package/dist/git/models/file.js.map +0 -1
  1122. package/dist/git/models/fileChange.d.ts.map +0 -1
  1123. package/dist/git/models/fileStatus.d.ts.map +0 -1
  1124. package/dist/git/models/graph.d.ts.map +0 -1
  1125. package/dist/git/models/graphSearch.d.ts.map +0 -1
  1126. package/dist/git/models/graphSearch.js.map +0 -1
  1127. package/dist/git/models/graphSession.d.ts.map +0 -1
  1128. package/dist/git/models/issue.d.ts.map +0 -1
  1129. package/dist/git/models/issueOrPullRequest.d.ts.map +0 -1
  1130. package/dist/git/models/issueOrPullRequest.js.map +0 -1
  1131. package/dist/git/models/lineRange.d.ts.map +0 -1
  1132. package/dist/git/models/lineRange.js.map +0 -1
  1133. package/dist/git/models/log.d.ts.map +0 -1
  1134. package/dist/git/models/log.js.map +0 -1
  1135. package/dist/git/models/mergeConflicts.d.ts.map +0 -1
  1136. package/dist/git/models/mergeConflicts.js.map +0 -1
  1137. package/dist/git/models/patch.d.ts.map +0 -1
  1138. package/dist/git/models/patch.js.map +0 -1
  1139. package/dist/git/models/pausedOperationStatus.d.ts.map +0 -1
  1140. package/dist/git/models/pausedOperationStatus.js.map +0 -1
  1141. package/dist/git/models/pullRequest.d.ts.map +0 -1
  1142. package/dist/git/models/rebase.d.ts.map +0 -1
  1143. package/dist/git/models/rebase.js.map +0 -1
  1144. package/dist/git/models/reference.d.ts.map +0 -1
  1145. package/dist/git/models/reference.js.map +0 -1
  1146. package/dist/git/models/reflog.d.ts.map +0 -1
  1147. package/dist/git/models/remote.d.ts.map +0 -1
  1148. package/dist/git/models/remoteProvider.d.ts.map +0 -1
  1149. package/dist/git/models/remoteResource.d.ts.map +0 -1
  1150. package/dist/git/models/repository.d.ts.map +0 -1
  1151. package/dist/git/models/repositoryChangeEvent.d.ts.map +0 -1
  1152. package/dist/git/models/repositoryIdentities.d.ts.map +0 -1
  1153. package/dist/git/models/repositoryMetadata.d.ts.map +0 -1
  1154. package/dist/git/models/repositoryMetadata.js.map +0 -1
  1155. package/dist/git/models/resourceDescriptor.d.ts.map +0 -1
  1156. package/dist/git/models/resourceDescriptor.js.map +0 -1
  1157. package/dist/git/models/revision.d.ts.map +0 -1
  1158. package/dist/git/models/search.d.ts.map +0 -1
  1159. package/dist/git/models/shortlog.d.ts.map +0 -1
  1160. package/dist/git/models/shortlog.js.map +0 -1
  1161. package/dist/git/models/signature.d.ts.map +0 -1
  1162. package/dist/git/models/signature.js.map +0 -1
  1163. package/dist/git/models/staging.d.ts.map +0 -1
  1164. package/dist/git/models/staging.js.map +0 -1
  1165. package/dist/git/models/stash.d.ts.map +0 -1
  1166. package/dist/git/models/stash.js.map +0 -1
  1167. package/dist/git/models/status.d.ts.map +0 -1
  1168. package/dist/git/models/statusFile.d.ts.map +0 -1
  1169. package/dist/git/models/tag.d.ts.map +0 -1
  1170. package/dist/git/models/tree.d.ts.map +0 -1
  1171. package/dist/git/models/tree.js.map +0 -1
  1172. package/dist/git/models/user.d.ts.map +0 -1
  1173. package/dist/git/models/user.js.map +0 -1
  1174. package/dist/git/models/worktree.d.ts.map +0 -1
  1175. package/dist/git/parsers/diffParser.d.ts.map +0 -1
  1176. package/dist/git/parsers/rebaseTodoParser.d.ts.map +0 -1
  1177. package/dist/git/providers/blame.d.ts.map +0 -1
  1178. package/dist/git/providers/blame.js.map +0 -1
  1179. package/dist/git/providers/branches.d.ts.map +0 -1
  1180. package/dist/git/providers/branches.js.map +0 -1
  1181. package/dist/git/providers/commits.d.ts.map +0 -1
  1182. package/dist/git/providers/commits.js.map +0 -1
  1183. package/dist/git/providers/config.d.ts.map +0 -1
  1184. package/dist/git/providers/config.js.map +0 -1
  1185. package/dist/git/providers/contributors.d.ts.map +0 -1
  1186. package/dist/git/providers/contributors.js.map +0 -1
  1187. package/dist/git/providers/diff.d.ts.map +0 -1
  1188. package/dist/git/providers/diff.js.map +0 -1
  1189. package/dist/git/providers/graph.d.ts.map +0 -1
  1190. package/dist/git/providers/graph.js.map +0 -1
  1191. package/dist/git/providers/maintenance.d.ts.map +0 -1
  1192. package/dist/git/providers/maintenance.js.map +0 -1
  1193. package/dist/git/providers/operations.d.ts.map +0 -1
  1194. package/dist/git/providers/operations.js.map +0 -1
  1195. package/dist/git/providers/patch.d.ts.map +0 -1
  1196. package/dist/git/providers/patch.js.map +0 -1
  1197. package/dist/git/providers/pausedOperations.d.ts.map +0 -1
  1198. package/dist/git/providers/pausedOperations.js.map +0 -1
  1199. package/dist/git/providers/provider.d.ts.map +0 -1
  1200. package/dist/git/providers/provider.js.map +0 -1
  1201. package/dist/git/providers/refs.d.ts.map +0 -1
  1202. package/dist/git/providers/refs.js.map +0 -1
  1203. package/dist/git/providers/remotes.d.ts.map +0 -1
  1204. package/dist/git/providers/remotes.js.map +0 -1
  1205. package/dist/git/providers/revision.d.ts.map +0 -1
  1206. package/dist/git/providers/revision.js.map +0 -1
  1207. package/dist/git/providers/shared/remotes.d.ts.map +0 -1
  1208. package/dist/git/providers/staging.d.ts.map +0 -1
  1209. package/dist/git/providers/staging.js.map +0 -1
  1210. package/dist/git/providers/stash.d.ts.map +0 -1
  1211. package/dist/git/providers/stash.js.map +0 -1
  1212. package/dist/git/providers/status.d.ts.map +0 -1
  1213. package/dist/git/providers/status.js.map +0 -1
  1214. package/dist/git/providers/tags.d.ts.map +0 -1
  1215. package/dist/git/providers/tags.js.map +0 -1
  1216. package/dist/git/providers/types.d.ts.map +0 -1
  1217. package/dist/git/providers/types.js.map +0 -1
  1218. package/dist/git/providers/worktrees.d.ts.map +0 -1
  1219. package/dist/git/providers/worktrees.js.map +0 -1
  1220. package/dist/git/remotes/azure-devops.d.ts.map +0 -1
  1221. package/dist/git/remotes/bitbucket-server.d.ts.map +0 -1
  1222. package/dist/git/remotes/bitbucket.d.ts.map +0 -1
  1223. package/dist/git/remotes/custom.d.ts.map +0 -1
  1224. package/dist/git/remotes/gerrit.d.ts.map +0 -1
  1225. package/dist/git/remotes/gitea.d.ts.map +0 -1
  1226. package/dist/git/remotes/github.d.ts.map +0 -1
  1227. package/dist/git/remotes/gitlab.d.ts.map +0 -1
  1228. package/dist/git/remotes/google-source.d.ts.map +0 -1
  1229. package/dist/git/remotes/matcher.d.ts.map +0 -1
  1230. package/dist/git/repositoryService.d.ts.map +0 -1
  1231. package/dist/git/run.types.d.ts.map +0 -1
  1232. package/dist/git/run.types.js.map +0 -1
  1233. package/dist/git/service.d.ts.map +0 -1
  1234. package/dist/git/utils/autolink.utils.d.ts.map +0 -1
  1235. package/dist/git/utils/blame.utils.d.ts.map +0 -1
  1236. package/dist/git/utils/branch.utils.d.ts.map +0 -1
  1237. package/dist/git/utils/commit.utils.d.ts.map +0 -1
  1238. package/dist/git/utils/config.utils.d.ts.map +0 -1
  1239. package/dist/git/utils/conflictResolution.utils.d.ts.map +0 -1
  1240. package/dist/git/utils/contributor.utils.d.ts.map +0 -1
  1241. package/dist/git/utils/fetch.utils.d.ts.map +0 -1
  1242. package/dist/git/utils/fileStatus.utils.d.ts.map +0 -1
  1243. package/dist/git/utils/graph.utils.d.ts.map +0 -1
  1244. package/dist/git/utils/issue.utils.d.ts.map +0 -1
  1245. package/dist/git/utils/issueOrPullRequest.utils.d.ts.map +0 -1
  1246. package/dist/git/utils/mergeConflicts.utils.d.ts.map +0 -1
  1247. package/dist/git/utils/pausedOperationStatus.utils.d.ts.map +0 -1
  1248. package/dist/git/utils/pullRequest.utils.d.ts.map +0 -1
  1249. package/dist/git/utils/reachability.utils.d.ts.map +0 -1
  1250. package/dist/git/utils/rebase.utils.d.ts.map +0 -1
  1251. package/dist/git/utils/reference.utils.d.ts.map +0 -1
  1252. package/dist/git/utils/remote.utils.d.ts.map +0 -1
  1253. package/dist/git/utils/repository.utils.d.ts.map +0 -1
  1254. package/dist/git/utils/resourceDescriptor.utils.d.ts.map +0 -1
  1255. package/dist/git/utils/revision.utils.d.ts.map +0 -1
  1256. package/dist/git/utils/search.utils.d.ts.map +0 -1
  1257. package/dist/git/utils/sorting.d.ts.map +0 -1
  1258. package/dist/git/utils/sshKey.utils.d.ts.map +0 -1
  1259. package/dist/git/utils/status.utils.d.ts.map +0 -1
  1260. package/dist/git/utils/statusFile.utils.d.ts.map +0 -1
  1261. package/dist/git/utils/tag.utils.d.ts.map +0 -1
  1262. package/dist/git/utils/tooltip.utils.d.ts.map +0 -1
  1263. package/dist/git/utils/uriAuthority.d.ts.map +0 -1
  1264. package/dist/git/utils/user.utils.d.ts.map +0 -1
  1265. package/dist/git/utils/worktree.utils.d.ts.map +0 -1
  1266. package/dist/git/watching/changeEvent.d.ts.map +0 -1
  1267. package/dist/git/watching/classifyChange.d.ts.map +0 -1
  1268. package/dist/git/watching/gitIgnoreFilter.d.ts.map +0 -1
  1269. package/dist/git/watching/initWatcher.d.ts.map +0 -1
  1270. package/dist/git/watching/provider.d.ts.map +0 -1
  1271. package/dist/git/watching/provider.js.map +0 -1
  1272. package/dist/git/watching/watchGroup.d.ts.map +0 -1
  1273. package/dist/git/watching/watchService.d.ts.map +0 -1
  1274. package/dist/git/watching/watchSession.d.ts.map +0 -1
  1275. package/dist/git/watching/watcherPatterns.d.ts.map +0 -1
  1276. package/dist/git-cli/cliGitProvider.d.ts.map +0 -1
  1277. package/dist/git-cli/exec/exec.d.ts.map +0 -1
  1278. package/dist/git-cli/exec/exec.errors.d.ts.map +0 -1
  1279. package/dist/git-cli/exec/exec.errors.js.map +0 -1
  1280. package/dist/git-cli/exec/exec.js.map +0 -1
  1281. package/dist/git-cli/exec/exec.types.d.ts.map +0 -1
  1282. package/dist/git-cli/exec/exec.types.js.map +0 -1
  1283. package/dist/git-cli/exec/features.d.ts.map +0 -1
  1284. package/dist/git-cli/exec/features.js.map +0 -1
  1285. package/dist/git-cli/exec/git.d.ts.map +0 -1
  1286. package/dist/git-cli/exec/gitQueue.d.ts.map +0 -1
  1287. package/dist/git-cli/exec/locator.d.ts.map +0 -1
  1288. package/dist/git-cli/parsers/blameParser.d.ts.map +0 -1
  1289. package/dist/git-cli/parsers/indexParser.d.ts.map +0 -1
  1290. package/dist/git-cli/parsers/logParser.d.ts.map +0 -1
  1291. package/dist/git-cli/parsers/mergeTreeParser.d.ts.map +0 -1
  1292. package/dist/git-cli/parsers/refParser.d.ts.map +0 -1
  1293. package/dist/git-cli/parsers/reflogParser.d.ts.map +0 -1
  1294. package/dist/git-cli/parsers/remoteParser.d.ts.map +0 -1
  1295. package/dist/git-cli/parsers/shortlogParser.d.ts.map +0 -1
  1296. package/dist/git-cli/parsers/signatureParser.d.ts.map +0 -1
  1297. package/dist/git-cli/parsers/sshSignatureParser.d.ts.map +0 -1
  1298. package/dist/git-cli/parsers/statusParser.d.ts.map +0 -1
  1299. package/dist/git-cli/parsers/treeParser.d.ts.map +0 -1
  1300. package/dist/git-cli/parsers/worktreeParser.d.ts.map +0 -1
  1301. package/dist/git-cli/providers/blame.d.ts.map +0 -1
  1302. package/dist/git-cli/providers/branches.d.ts.map +0 -1
  1303. package/dist/git-cli/providers/commitFilesetUtils.d.ts.map +0 -1
  1304. package/dist/git-cli/providers/commits.d.ts.map +0 -1
  1305. package/dist/git-cli/providers/config.d.ts.map +0 -1
  1306. package/dist/git-cli/providers/contributors.d.ts.map +0 -1
  1307. package/dist/git-cli/providers/diff.d.ts.map +0 -1
  1308. package/dist/git-cli/providers/graph.d.ts.map +0 -1
  1309. package/dist/git-cli/providers/maintenance.d.ts.map +0 -1
  1310. package/dist/git-cli/providers/operations.d.ts.map +0 -1
  1311. package/dist/git-cli/providers/patch.d.ts.map +0 -1
  1312. package/dist/git-cli/providers/pausedOperations.d.ts.map +0 -1
  1313. package/dist/git-cli/providers/refs.d.ts.map +0 -1
  1314. package/dist/git-cli/providers/remotes.d.ts.map +0 -1
  1315. package/dist/git-cli/providers/revision.d.ts.map +0 -1
  1316. package/dist/git-cli/providers/staging.d.ts.map +0 -1
  1317. package/dist/git-cli/providers/stash.d.ts.map +0 -1
  1318. package/dist/git-cli/providers/status.d.ts.map +0 -1
  1319. package/dist/git-cli/providers/tags.d.ts.map +0 -1
  1320. package/dist/git-cli/providers/worktrees.d.ts.map +0 -1
  1321. package/dist/git-cli/service.d.ts.map +0 -1
  1322. package/dist/ipc/discovery.d.ts.map +0 -1
  1323. package/dist/ipc/ipcServer.d.ts.map +0 -1
  1324. package/dist/plus/agents/agentCapabilities.d.ts.map +0 -1
  1325. package/dist/plus/agents/providers/claudeCodeTranscript.d.ts.map +0 -1
  1326. package/dist/plus/agents/providers/gkAgentProvider.d.ts.map +0 -1
  1327. package/dist/plus/agents/sanitizePrompt.d.ts.map +0 -1
  1328. package/dist/plus/agents/stateMachine.d.ts.map +0 -1
  1329. package/dist/plus/agents/types.d.ts.map +0 -1
  1330. package/dist/plus/ai/constants.d.ts.map +0 -1
  1331. package/dist/plus/ai/errors.d.ts.map +0 -1
  1332. package/dist/plus/ai/models/conversation.d.ts.map +0 -1
  1333. package/dist/plus/ai/models/model.d.ts.map +0 -1
  1334. package/dist/plus/ai/models/promptTemplates.d.ts.map +0 -1
  1335. package/dist/plus/ai/models/promptTemplates.js.map +0 -1
  1336. package/dist/plus/ai/models/provider.d.ts.map +0 -1
  1337. package/dist/plus/ai/models/provider.js.map +0 -1
  1338. package/dist/plus/ai/models/results.d.ts.map +0 -1
  1339. package/dist/plus/ai/models/results.js.map +0 -1
  1340. package/dist/plus/ai/prompts.d.ts.map +0 -1
  1341. package/dist/plus/ai/providers/anthropicProvider.d.ts.map +0 -1
  1342. package/dist/plus/ai/providers/azureProvider.d.ts.map +0 -1
  1343. package/dist/plus/ai/providers/context.d.ts.map +0 -1
  1344. package/dist/plus/ai/providers/context.js.map +0 -1
  1345. package/dist/plus/ai/providers/deepSeekProvider.d.ts.map +0 -1
  1346. package/dist/plus/ai/providers/geminiProvider.d.ts.map +0 -1
  1347. package/dist/plus/ai/providers/gitkrakenProvider.d.ts.map +0 -1
  1348. package/dist/plus/ai/providers/huggingFaceProvider.d.ts.map +0 -1
  1349. package/dist/plus/ai/providers/mistralProvider.d.ts.map +0 -1
  1350. package/dist/plus/ai/providers/ollamaProvider.d.ts.map +0 -1
  1351. package/dist/plus/ai/providers/openAICompatibleProvider.d.ts.map +0 -1
  1352. package/dist/plus/ai/providers/openAICompatibleProviderBase.d.ts.map +0 -1
  1353. package/dist/plus/ai/providers/openRouterProvider.d.ts.map +0 -1
  1354. package/dist/plus/ai/providers/openaiProvider.d.ts.map +0 -1
  1355. package/dist/plus/ai/providers/responseFormatCache.d.ts.map +0 -1
  1356. package/dist/plus/ai/providers/xaiProvider.d.ts.map +0 -1
  1357. package/dist/plus/ai/utils/ai.utils.d.ts.map +0 -1
  1358. package/dist/plus/ai/utils/results.utils.d.ts.map +0 -1
  1359. package/dist/plus/ai/utils/truncation.utils.d.ts.map +0 -1
  1360. package/dist/plus/git-github/api/config.d.ts.map +0 -1
  1361. package/dist/plus/git-github/api/github.d.ts.map +0 -1
  1362. package/dist/plus/git-github/api/github.utils.d.ts.map +0 -1
  1363. package/dist/plus/git-github/api/issueSearchQuery.d.ts.map +0 -1
  1364. package/dist/plus/git-github/api/pullRequestSearchQuery.d.ts.map +0 -1
  1365. package/dist/plus/git-github/api/token.d.ts.map +0 -1
  1366. package/dist/plus/git-github/api/token.js.map +0 -1
  1367. package/dist/plus/git-github/api/tokenUtils.d.ts.map +0 -1
  1368. package/dist/plus/git-github/api/types.d.ts.map +0 -1
  1369. package/dist/plus/git-github/api/types.js.map +0 -1
  1370. package/dist/plus/git-github/context.d.ts.map +0 -1
  1371. package/dist/plus/git-github/models.d.ts.map +0 -1
  1372. package/dist/plus/git-github/providers/github/blame.d.ts.map +0 -1
  1373. package/dist/plus/git-github/providers/github/branches.d.ts.map +0 -1
  1374. package/dist/plus/git-github/providers/github/commits.d.ts.map +0 -1
  1375. package/dist/plus/git-github/providers/github/config.d.ts.map +0 -1
  1376. package/dist/plus/git-github/providers/github/contributors.d.ts.map +0 -1
  1377. package/dist/plus/git-github/providers/github/diff.d.ts.map +0 -1
  1378. package/dist/plus/git-github/providers/github/graph.d.ts.map +0 -1
  1379. package/dist/plus/git-github/providers/github/refs.d.ts.map +0 -1
  1380. package/dist/plus/git-github/providers/github/remotes.d.ts.map +0 -1
  1381. package/dist/plus/git-github/providers/github/revision.d.ts.map +0 -1
  1382. package/dist/plus/git-github/providers/github/status.d.ts.map +0 -1
  1383. package/dist/plus/git-github/providers/github/tags.d.ts.map +0 -1
  1384. package/dist/plus/git-github/providers/githubGitProvider.d.ts.map +0 -1
  1385. package/dist/plus/git-github/providers/githubProvider.d.ts.map +0 -1
  1386. package/dist/plus/git-github/providers/githubProvider.js.map +0 -1
  1387. package/dist/plus/integrations/authentication/cloudIntegrationService.d.ts.map +0 -1
  1388. package/dist/plus/integrations/authentication/configuredIntegrationService.d.ts.map +0 -1
  1389. package/dist/plus/integrations/authentication/integrationAuthenticationProvider.d.ts.map +0 -1
  1390. package/dist/plus/integrations/authentication/integrationAuthenticationService.d.ts.map +0 -1
  1391. package/dist/plus/integrations/authentication/manualTokenProvider.d.ts.map +0 -1
  1392. package/dist/plus/integrations/authentication/models.d.ts.map +0 -1
  1393. package/dist/plus/integrations/authentication/rejectedTokenTracker.d.ts.map +0 -1
  1394. package/dist/plus/integrations/collectionMetadata.d.ts.map +0 -1
  1395. package/dist/plus/integrations/constants.d.ts.map +0 -1
  1396. package/dist/plus/integrations/context.d.ts.map +0 -1
  1397. package/dist/plus/integrations/context.js.map +0 -1
  1398. package/dist/plus/integrations/errors.d.ts.map +0 -1
  1399. package/dist/plus/integrations/index.d.ts.map +0 -1
  1400. package/dist/plus/integrations/integrationService.d.ts.map +0 -1
  1401. package/dist/plus/integrations/lite.d.ts.map +0 -1
  1402. package/dist/plus/integrations/manager.d.ts.map +0 -1
  1403. package/dist/plus/integrations/manager.js.map +0 -1
  1404. package/dist/plus/integrations/models/gitHostIntegration.d.ts.map +0 -1
  1405. package/dist/plus/integrations/models/integration.d.ts.map +0 -1
  1406. package/dist/plus/integrations/models/issueCache.d.ts.map +0 -1
  1407. package/dist/plus/integrations/models/issueReads.d.ts.map +0 -1
  1408. package/dist/plus/integrations/models/issueReads.js.map +0 -1
  1409. package/dist/plus/integrations/models/issuesIntegration.d.ts.map +0 -1
  1410. package/dist/plus/integrations/models/pullRequestReads.d.ts.map +0 -1
  1411. package/dist/plus/integrations/models/pullRequestReads.js.map +0 -1
  1412. package/dist/plus/integrations/providerFilters.d.ts.map +0 -1
  1413. package/dist/plus/integrations/providers/accounts.d.ts.map +0 -1
  1414. package/dist/plus/integrations/providers/apiClients.d.ts.map +0 -1
  1415. package/dist/plus/integrations/providers/apiConfig.d.ts.map +0 -1
  1416. package/dist/plus/integrations/providers/azure/azure.d.ts.map +0 -1
  1417. package/dist/plus/integrations/providers/azure/models.d.ts.map +0 -1
  1418. package/dist/plus/integrations/providers/azureDevOps.d.ts.map +0 -1
  1419. package/dist/plus/integrations/providers/bitbucket/bitbucket.d.ts.map +0 -1
  1420. package/dist/plus/integrations/providers/bitbucket/models.d.ts.map +0 -1
  1421. package/dist/plus/integrations/providers/bitbucket-server/models.d.ts.map +0 -1
  1422. package/dist/plus/integrations/providers/bitbucket-server.d.ts.map +0 -1
  1423. package/dist/plus/integrations/providers/bitbucket.d.ts.map +0 -1
  1424. package/dist/plus/integrations/providers/github/github.d.ts.map +0 -1
  1425. package/dist/plus/integrations/providers/github/github.utils.d.ts.map +0 -1
  1426. package/dist/plus/integrations/providers/github/models.d.ts.map +0 -1
  1427. package/dist/plus/integrations/providers/github/models.js.map +0 -1
  1428. package/dist/plus/integrations/providers/github.d.ts.map +0 -1
  1429. package/dist/plus/integrations/providers/gitlab/gitlab.d.ts.map +0 -1
  1430. package/dist/plus/integrations/providers/gitlab/gitlab.utils.d.ts.map +0 -1
  1431. package/dist/plus/integrations/providers/gitlab/models.d.ts.map +0 -1
  1432. package/dist/plus/integrations/providers/gitlab.d.ts.map +0 -1
  1433. package/dist/plus/integrations/providers/issueSorts.d.ts.map +0 -1
  1434. package/dist/plus/integrations/providers/jira.d.ts.map +0 -1
  1435. package/dist/plus/integrations/providers/jiraIssueByKey.d.ts.map +0 -1
  1436. package/dist/plus/integrations/providers/linear.d.ts.map +0 -1
  1437. package/dist/plus/integrations/providers/models.d.ts.map +0 -1
  1438. package/dist/plus/integrations/providers/providerErrors.d.ts.map +0 -1
  1439. package/dist/plus/integrations/providers/providersApi.d.ts.map +0 -1
  1440. package/dist/plus/integrations/providers/pullRequestReviews.d.ts.map +0 -1
  1441. package/dist/plus/integrations/providers/trello.d.ts.map +0 -1
  1442. package/dist/plus/integrations/providers/utils/providerPaging.d.ts.map +0 -1
  1443. package/dist/plus/integrations/providers/utils.d.ts.map +0 -1
  1444. package/dist/plus/integrations/reads/broaden.d.ts.map +0 -1
  1445. package/dist/plus/integrations/reads/context.d.ts.map +0 -1
  1446. package/dist/plus/integrations/reads/context.js.map +0 -1
  1447. package/dist/plus/integrations/reads/counts.d.ts.map +0 -1
  1448. package/dist/plus/integrations/reads/cursors.d.ts.map +0 -1
  1449. package/dist/plus/integrations/reads/drains.d.ts.map +0 -1
  1450. package/dist/plus/integrations/reads/filters.d.ts.map +0 -1
  1451. package/dist/plus/integrations/reads/hierarchy.d.ts.map +0 -1
  1452. package/dist/plus/integrations/reads/hierarchy.utils.d.ts.map +0 -1
  1453. package/dist/plus/integrations/reads/issueBatch.d.ts.map +0 -1
  1454. package/dist/plus/integrations/reads/issueTracker.d.ts.map +0 -1
  1455. package/dist/plus/integrations/reads/issues.d.ts.map +0 -1
  1456. package/dist/plus/integrations/reads/ordering.d.ts.map +0 -1
  1457. package/dist/plus/integrations/reads/paging.d.ts.map +0 -1
  1458. package/dist/plus/integrations/reads/pullRequests.d.ts.map +0 -1
  1459. package/dist/plus/integrations/reads/resolveRepository.d.ts.map +0 -1
  1460. package/dist/plus/integrations/reads/searchIssues.d.ts.map +0 -1
  1461. package/dist/plus/integrations/reads/searchPullRequests.d.ts.map +0 -1
  1462. package/dist/plus/integrations/reads/sweeps.d.ts.map +0 -1
  1463. package/dist/plus/integrations/reads/trackerIssue.d.ts.map +0 -1
  1464. package/dist/plus/integrations/reads/warnings.d.ts.map +0 -1
  1465. package/dist/plus/integrations/results.d.ts.map +0 -1
  1466. package/dist/plus/integrations/telemetry.d.ts.map +0 -1
  1467. package/dist/plus/integrations/utils/domain.utils.d.ts.map +0 -1
  1468. package/dist/plus/integrations/utils/integration.utils.d.ts.map +0 -1
  1469. package/dist/utils/array.d.ts.map +0 -1
  1470. package/dist/utils/base64.d.ts.map +0 -1
  1471. package/dist/utils/base64.js.map +0 -1
  1472. package/dist/utils/brand.d.ts.map +0 -1
  1473. package/dist/utils/brand.js.map +0 -1
  1474. package/dist/utils/cancellation.d.ts.map +0 -1
  1475. package/dist/utils/charCode.d.ts.map +0 -1
  1476. package/dist/utils/coalescedRun.d.ts.map +0 -1
  1477. package/dist/utils/color.d.ts.map +0 -1
  1478. package/dist/utils/counter.d.ts.map +0 -1
  1479. package/dist/utils/crypto.d.ts.map +0 -1
  1480. package/dist/utils/crypto.js.map +0 -1
  1481. package/dist/utils/date.d.ts.map +0 -1
  1482. package/dist/utils/debounce.d.ts.map +0 -1
  1483. package/dist/utils/decorators/debounce.d.ts.map +0 -1
  1484. package/dist/utils/decorators/gate.d.ts.map +0 -1
  1485. package/dist/utils/decorators/log.d.ts.map +0 -1
  1486. package/dist/utils/decorators/memoize.d.ts.map +0 -1
  1487. package/dist/utils/decorators/resolver.d.ts.map +0 -1
  1488. package/dist/utils/decorators/sequentialize.d.ts.map +0 -1
  1489. package/dist/utils/decorators/serializable.d.ts.map +0 -1
  1490. package/dist/utils/dedupedAsyncCache.d.ts.map +0 -1
  1491. package/dist/utils/diff.d.ts.map +0 -1
  1492. package/dist/utils/disposable.d.ts.map +0 -1
  1493. package/dist/utils/encoding.d.ts.map +0 -1
  1494. package/dist/utils/env/browser/base64.d.ts.map +0 -1
  1495. package/dist/utils/env/browser/crypto.d.ts.map +0 -1
  1496. package/dist/utils/env/browser/fs.d.ts.map +0 -1
  1497. package/dist/utils/env/browser/hex.d.ts.map +0 -1
  1498. package/dist/utils/env/browser/hrtime.d.ts.map +0 -1
  1499. package/dist/utils/env/browser/logScope.d.ts.map +0 -1
  1500. package/dist/utils/env/browser/md5.d.ts.map +0 -1
  1501. package/dist/utils/env/browser/platform.d.ts.map +0 -1
  1502. package/dist/utils/env/node/base64.d.ts.map +0 -1
  1503. package/dist/utils/env/node/crypto.d.ts.map +0 -1
  1504. package/dist/utils/env/node/exec.d.ts.map +0 -1
  1505. package/dist/utils/env/node/fs.d.ts.map +0 -1
  1506. package/dist/utils/env/node/hex.d.ts.map +0 -1
  1507. package/dist/utils/env/node/hrtime.d.ts.map +0 -1
  1508. package/dist/utils/env/node/hrtime.js.map +0 -1
  1509. package/dist/utils/env/node/logScope.d.ts.map +0 -1
  1510. package/dist/utils/env/node/platform.d.ts.map +0 -1
  1511. package/dist/utils/error.d.ts.map +0 -1
  1512. package/dist/utils/event.d.ts.map +0 -1
  1513. package/dist/utils/formatter.d.ts.map +0 -1
  1514. package/dist/utils/fs.d.ts.map +0 -1
  1515. package/dist/utils/fs.js.map +0 -1
  1516. package/dist/utils/function.d.ts.map +0 -1
  1517. package/dist/utils/fuzzy.d.ts.map +0 -1
  1518. package/dist/utils/hash.d.ts.map +0 -1
  1519. package/dist/utils/hex.d.ts.map +0 -1
  1520. package/dist/utils/hex.js.map +0 -1
  1521. package/dist/utils/hrtime.d.ts.map +0 -1
  1522. package/dist/utils/iterable.d.ts.map +0 -1
  1523. package/dist/utils/keys/chord.d.ts.map +0 -1
  1524. package/dist/utils/keys/keybinding.d.ts.map +0 -1
  1525. package/dist/utils/lazy.d.ts.map +0 -1
  1526. package/dist/utils/loggable.d.ts.map +0 -1
  1527. package/dist/utils/logger.d.ts.map +0 -1
  1528. package/dist/utils/logger.scoped.d.ts.map +0 -1
  1529. package/dist/utils/lruMap.d.ts.map +0 -1
  1530. package/dist/utils/markdown.d.ts.map +0 -1
  1531. package/dist/utils/mru.d.ts.map +0 -1
  1532. package/dist/utils/object.d.ts.map +0 -1
  1533. package/dist/utils/paging.d.ts.map +0 -1
  1534. package/dist/utils/path.d.ts.map +0 -1
  1535. package/dist/utils/platform.d.ts.map +0 -1
  1536. package/dist/utils/platform.js.map +0 -1
  1537. package/dist/utils/promise.d.ts.map +0 -1
  1538. package/dist/utils/promiseCache.d.ts.map +0 -1
  1539. package/dist/utils/resourceUsage.d.ts.map +0 -1
  1540. package/dist/utils/resourceUsage.js.map +0 -1
  1541. package/dist/utils/searchTree.d.ts.map +0 -1
  1542. package/dist/utils/stopwatch.d.ts.map +0 -1
  1543. package/dist/utils/string.d.ts.map +0 -1
  1544. package/dist/utils/subscriptionManager.d.ts.map +0 -1
  1545. package/dist/utils/trie.d.ts.map +0 -1
  1546. package/dist/utils/types.d.ts.map +0 -1
  1547. package/dist/utils/types.js.map +0 -1
  1548. package/dist/utils/uri.d.ts.map +0 -1
  1549. package/dist/utils/validation.d.ts.map +0 -1
  1550. package/dist/utils/version.d.ts.map +0 -1
  1551. package/src/git/cache.ts +0 -1859
  1552. package/src/git/context.ts +0 -301
  1553. package/src/git/errors.ts +0 -1168
  1554. package/src/git/features.ts +0 -98
  1555. package/src/git/gitHealth.ts +0 -522
  1556. package/src/git/models/author.ts +0 -19
  1557. package/src/git/models/autolink.ts +0 -59
  1558. package/src/git/models/blame.ts +0 -46
  1559. package/src/git/models/branch.ts +0 -237
  1560. package/src/git/models/commit.ts +0 -673
  1561. package/src/git/models/contributor.ts +0 -84
  1562. package/src/git/models/defaultBranch.ts +0 -6
  1563. package/src/git/models/diff.ts +0 -74
  1564. package/src/git/models/file.ts +0 -29
  1565. package/src/git/models/fileChange.ts +0 -82
  1566. package/src/git/models/fileStatus.ts +0 -36
  1567. package/src/git/models/graph.ts +0 -444
  1568. package/src/git/models/graphSearch.ts +0 -53
  1569. package/src/git/models/graphSession.ts +0 -102
  1570. package/src/git/models/issue.ts +0 -273
  1571. package/src/git/models/issueOrPullRequest.ts +0 -20
  1572. package/src/git/models/lineRange.ts +0 -7
  1573. package/src/git/models/log.ts +0 -21
  1574. package/src/git/models/mergeConflicts.ts +0 -19
  1575. package/src/git/models/patch.ts +0 -25
  1576. package/src/git/models/pausedOperationStatus.ts +0 -63
  1577. package/src/git/models/pullRequest.ts +0 -357
  1578. package/src/git/models/rebase.ts +0 -60
  1579. package/src/git/models/reference.ts +0 -80
  1580. package/src/git/models/reflog.ts +0 -88
  1581. package/src/git/models/remote.ts +0 -100
  1582. package/src/git/models/remoteProvider.ts +0 -291
  1583. package/src/git/models/remoteResource.ts +0 -87
  1584. package/src/git/models/repository.ts +0 -510
  1585. package/src/git/models/repositoryChangeEvent.ts +0 -30
  1586. package/src/git/models/repositoryIdentities.ts +0 -99
  1587. package/src/git/models/repositoryMetadata.ts +0 -12
  1588. package/src/git/models/resourceDescriptor.ts +0 -28
  1589. package/src/git/models/revision.ts +0 -12
  1590. package/src/git/models/search.ts +0 -138
  1591. package/src/git/models/shortlog.ts +0 -6
  1592. package/src/git/models/signature.ts +0 -45
  1593. package/src/git/models/staging.ts +0 -27
  1594. package/src/git/models/stash.ts +0 -6
  1595. package/src/git/models/status.ts +0 -246
  1596. package/src/git/models/statusFile.ts +0 -131
  1597. package/src/git/models/tag.ts +0 -76
  1598. package/src/git/models/tree.ts +0 -10
  1599. package/src/git/models/user.ts +0 -7
  1600. package/src/git/models/worktree.ts +0 -160
  1601. package/src/git/parsers/diffParser.ts +0 -648
  1602. package/src/git/parsers/rebaseTodoParser.ts +0 -169
  1603. package/src/git/providers/blame.ts +0 -40
  1604. package/src/git/providers/branches.ts +0 -143
  1605. package/src/git/providers/commits.ts +0 -174
  1606. package/src/git/providers/config.ts +0 -167
  1607. package/src/git/providers/contributors.ts +0 -34
  1608. package/src/git/providers/diff.ts +0 -133
  1609. package/src/git/providers/graph.ts +0 -95
  1610. package/src/git/providers/maintenance.ts +0 -224
  1611. package/src/git/providers/operations.ts +0 -164
  1612. package/src/git/providers/patch.ts +0 -31
  1613. package/src/git/providers/pausedOperations.ts +0 -23
  1614. package/src/git/providers/provider.ts +0 -64
  1615. package/src/git/providers/refs.ts +0 -68
  1616. package/src/git/providers/remotes.ts +0 -33
  1617. package/src/git/providers/revision.ts +0 -32
  1618. package/src/git/providers/shared/remotes.ts +0 -95
  1619. package/src/git/providers/staging.ts +0 -36
  1620. package/src/git/providers/stash.ts +0 -51
  1621. package/src/git/providers/status.ts +0 -48
  1622. package/src/git/providers/tags.ts +0 -29
  1623. package/src/git/providers/types.ts +0 -33
  1624. package/src/git/providers/worktrees.ts +0 -37
  1625. package/src/git/remotes/azure-devops.ts +0 -361
  1626. package/src/git/remotes/bitbucket-server.ts +0 -189
  1627. package/src/git/remotes/bitbucket.ts +0 -142
  1628. package/src/git/remotes/custom.ts +0 -162
  1629. package/src/git/remotes/gerrit.ts +0 -186
  1630. package/src/git/remotes/gitea.ts +0 -184
  1631. package/src/git/remotes/github.ts +0 -236
  1632. package/src/git/remotes/gitlab.ts +0 -270
  1633. package/src/git/remotes/google-source.ts +0 -51
  1634. package/src/git/remotes/matcher.ts +0 -215
  1635. package/src/git/repositoryService.ts +0 -180
  1636. package/src/git/run.types.ts +0 -156
  1637. package/src/git/service.ts +0 -369
  1638. package/src/git/utils/autolink.utils.ts +0 -202
  1639. package/src/git/utils/blame.utils.ts +0 -298
  1640. package/src/git/utils/branch.utils.ts +0 -165
  1641. package/src/git/utils/commit.utils.ts +0 -89
  1642. package/src/git/utils/config.utils.ts +0 -8
  1643. package/src/git/utils/conflictResolution.utils.ts +0 -157
  1644. package/src/git/utils/contributor.utils.ts +0 -105
  1645. package/src/git/utils/fetch.utils.ts +0 -48
  1646. package/src/git/utils/fileStatus.utils.ts +0 -62
  1647. package/src/git/utils/graph.utils.ts +0 -46
  1648. package/src/git/utils/issue.utils.ts +0 -187
  1649. package/src/git/utils/issueOrPullRequest.utils.ts +0 -23
  1650. package/src/git/utils/mergeConflicts.utils.ts +0 -21
  1651. package/src/git/utils/pausedOperationStatus.utils.ts +0 -184
  1652. package/src/git/utils/pullRequest.utils.ts +0 -244
  1653. package/src/git/utils/reachability.utils.ts +0 -180
  1654. package/src/git/utils/rebase.utils.ts +0 -128
  1655. package/src/git/utils/reference.utils.ts +0 -267
  1656. package/src/git/utils/remote.utils.ts +0 -146
  1657. package/src/git/utils/repository.utils.ts +0 -18
  1658. package/src/git/utils/resourceDescriptor.utils.ts +0 -26
  1659. package/src/git/utils/revision.utils.ts +0 -149
  1660. package/src/git/utils/search.utils.ts +0 -624
  1661. package/src/git/utils/sorting.ts +0 -329
  1662. package/src/git/utils/sshKey.utils.ts +0 -30
  1663. package/src/git/utils/status.utils.ts +0 -115
  1664. package/src/git/utils/statusFile.utils.ts +0 -182
  1665. package/src/git/utils/tag.utils.ts +0 -17
  1666. package/src/git/utils/tooltip.utils.ts +0 -37
  1667. package/src/git/utils/uriAuthority.ts +0 -34
  1668. package/src/git/utils/user.utils.ts +0 -20
  1669. package/src/git/utils/worktree.utils.ts +0 -21
  1670. package/src/git/watching/changeEvent.ts +0 -95
  1671. package/src/git/watching/classifyChange.ts +0 -104
  1672. package/src/git/watching/gitIgnoreFilter.ts +0 -134
  1673. package/src/git/watching/initWatcher.ts +0 -81
  1674. package/src/git/watching/provider.ts +0 -24
  1675. package/src/git/watching/watchGroup.ts +0 -185
  1676. package/src/git/watching/watchService.ts +0 -430
  1677. package/src/git/watching/watchSession.ts +0 -439
  1678. package/src/git/watching/watcherPatterns.ts +0 -51
  1679. package/src/git-cli/cliGitProvider.ts +0 -461
  1680. package/src/git-cli/exec/exec.errors.ts +0 -1
  1681. package/src/git-cli/exec/exec.ts +0 -11
  1682. package/src/git-cli/exec/exec.types.ts +0 -8
  1683. package/src/git-cli/exec/features.ts +0 -2
  1684. package/src/git-cli/exec/git.ts +0 -1371
  1685. package/src/git-cli/exec/gitQueue.ts +0 -326
  1686. package/src/git-cli/exec/locator.ts +0 -157
  1687. package/src/git-cli/parsers/blameParser.ts +0 -374
  1688. package/src/git-cli/parsers/indexParser.ts +0 -192
  1689. package/src/git-cli/parsers/logParser.ts +0 -1365
  1690. package/src/git-cli/parsers/mergeTreeParser.ts +0 -22
  1691. package/src/git-cli/parsers/refParser.ts +0 -110
  1692. package/src/git-cli/parsers/reflogParser.ts +0 -153
  1693. package/src/git-cli/parsers/remoteParser.ts +0 -95
  1694. package/src/git-cli/parsers/shortlogParser.ts +0 -59
  1695. package/src/git-cli/parsers/signatureParser.ts +0 -162
  1696. package/src/git-cli/parsers/sshSignatureParser.ts +0 -85
  1697. package/src/git-cli/parsers/statusParser.ts +0 -209
  1698. package/src/git-cli/parsers/treeParser.ts +0 -61
  1699. package/src/git-cli/parsers/worktreeParser.ts +0 -111
  1700. package/src/git-cli/providers/blame.ts +0 -598
  1701. package/src/git-cli/providers/branches.ts +0 -1931
  1702. package/src/git-cli/providers/commitFilesetUtils.ts +0 -45
  1703. package/src/git-cli/providers/commits.ts +0 -1856
  1704. package/src/git-cli/providers/config.ts +0 -1025
  1705. package/src/git-cli/providers/contributors.ts +0 -360
  1706. package/src/git-cli/providers/diff.ts +0 -1172
  1707. package/src/git-cli/providers/graph.ts +0 -2237
  1708. package/src/git-cli/providers/maintenance.ts +0 -2599
  1709. package/src/git-cli/providers/operations.ts +0 -1016
  1710. package/src/git-cli/providers/patch.ts +0 -305
  1711. package/src/git-cli/providers/pausedOperations.ts +0 -670
  1712. package/src/git-cli/providers/refs.ts +0 -486
  1713. package/src/git-cli/providers/remotes.ts +0 -115
  1714. package/src/git-cli/providers/revision.ts +0 -383
  1715. package/src/git-cli/providers/staging.ts +0 -210
  1716. package/src/git-cli/providers/stash.ts +0 -577
  1717. package/src/git-cli/providers/status.ts +0 -568
  1718. package/src/git-cli/providers/tags.ts +0 -224
  1719. package/src/git-cli/providers/worktrees.ts +0 -285
  1720. package/src/git-cli/service.ts +0 -82
  1721. package/src/ipc/discovery.ts +0 -186
  1722. package/src/ipc/ipcServer.ts +0 -171
  1723. package/src/plus/agents/agentCapabilities.ts +0 -286
  1724. package/src/plus/agents/providers/claudeCodeTranscript.ts +0 -867
  1725. package/src/plus/agents/providers/gkAgentProvider.ts +0 -4036
  1726. package/src/plus/agents/sanitizePrompt.ts +0 -109
  1727. package/src/plus/agents/stateMachine.ts +0 -197
  1728. package/src/plus/agents/types.ts +0 -500
  1729. package/src/plus/ai/constants.ts +0 -121
  1730. package/src/plus/ai/errors.ts +0 -152
  1731. package/src/plus/ai/models/conversation.ts +0 -35
  1732. package/src/plus/ai/models/model.ts +0 -528
  1733. package/src/plus/ai/models/promptTemplates.ts +0 -171
  1734. package/src/plus/ai/models/provider.ts +0 -125
  1735. package/src/plus/ai/models/results.ts +0 -31
  1736. package/src/plus/ai/prompts.ts +0 -849
  1737. package/src/plus/ai/providers/anthropicProvider.ts +0 -458
  1738. package/src/plus/ai/providers/azureProvider.ts +0 -74
  1739. package/src/plus/ai/providers/context.ts +0 -29
  1740. package/src/plus/ai/providers/deepSeekProvider.ts +0 -46
  1741. package/src/plus/ai/providers/geminiProvider.ts +0 -245
  1742. package/src/plus/ai/providers/gitkrakenProvider.ts +0 -347
  1743. package/src/plus/ai/providers/huggingFaceProvider.ts +0 -64
  1744. package/src/plus/ai/providers/mistralProvider.ts +0 -243
  1745. package/src/plus/ai/providers/ollamaProvider.ts +0 -292
  1746. package/src/plus/ai/providers/openAICompatibleProvider.ts +0 -64
  1747. package/src/plus/ai/providers/openAICompatibleProviderBase.ts +0 -654
  1748. package/src/plus/ai/providers/openRouterProvider.ts +0 -101
  1749. package/src/plus/ai/providers/openaiProvider.ts +0 -47
  1750. package/src/plus/ai/providers/responseFormatCache.ts +0 -39
  1751. package/src/plus/ai/providers/xaiProvider.ts +0 -54
  1752. package/src/plus/ai/utils/ai.utils.ts +0 -95
  1753. package/src/plus/ai/utils/results.utils.ts +0 -407
  1754. package/src/plus/ai/utils/truncation.utils.ts +0 -296
  1755. package/src/plus/git-github/api/config.ts +0 -91
  1756. package/src/plus/git-github/api/github.ts +0 -5462
  1757. package/src/plus/git-github/api/github.utils.ts +0 -36
  1758. package/src/plus/git-github/api/issueSearchQuery.ts +0 -273
  1759. package/src/plus/git-github/api/pullRequestSearchQuery.ts +0 -154
  1760. package/src/plus/git-github/api/token.ts +0 -15
  1761. package/src/plus/git-github/api/tokenUtils.ts +0 -15
  1762. package/src/plus/git-github/api/types.ts +0 -197
  1763. package/src/plus/git-github/context.ts +0 -107
  1764. package/src/plus/git-github/models.ts +0 -623
  1765. package/src/plus/git-github/providers/github/blame.ts +0 -225
  1766. package/src/plus/git-github/providers/github/branches.ts +0 -401
  1767. package/src/plus/git-github/providers/github/commits.ts +0 -929
  1768. package/src/plus/git-github/providers/github/config.ts +0 -47
  1769. package/src/plus/git-github/providers/github/contributors.ts +0 -313
  1770. package/src/plus/git-github/providers/github/diff.ts +0 -281
  1771. package/src/plus/git-github/providers/github/graph.ts +0 -635
  1772. package/src/plus/git-github/providers/github/refs.ts +0 -172
  1773. package/src/plus/git-github/providers/github/remotes.ts +0 -44
  1774. package/src/plus/git-github/providers/github/revision.ts +0 -140
  1775. package/src/plus/git-github/providers/github/status.ts +0 -69
  1776. package/src/plus/git-github/providers/github/tags.ts +0 -148
  1777. package/src/plus/git-github/providers/githubGitProvider.ts +0 -168
  1778. package/src/plus/git-github/providers/githubProvider.ts +0 -65
  1779. package/src/plus/integrations/authentication/cloudIntegrationService.ts +0 -292
  1780. package/src/plus/integrations/authentication/configuredIntegrationService.ts +0 -656
  1781. package/src/plus/integrations/authentication/integrationAuthenticationProvider.ts +0 -385
  1782. package/src/plus/integrations/authentication/integrationAuthenticationService.ts +0 -148
  1783. package/src/plus/integrations/authentication/manualTokenProvider.ts +0 -79
  1784. package/src/plus/integrations/authentication/models.ts +0 -202
  1785. package/src/plus/integrations/authentication/rejectedTokenTracker.ts +0 -56
  1786. package/src/plus/integrations/collectionMetadata.ts +0 -325
  1787. package/src/plus/integrations/constants.ts +0 -190
  1788. package/src/plus/integrations/context.ts +0 -386
  1789. package/src/plus/integrations/errors.ts +0 -188
  1790. package/src/plus/integrations/index.ts +0 -231
  1791. package/src/plus/integrations/integrationService.ts +0 -2003
  1792. package/src/plus/integrations/lite.ts +0 -233
  1793. package/src/plus/integrations/manager.ts +0 -728
  1794. package/src/plus/integrations/models/gitHostIntegration.ts +0 -1862
  1795. package/src/plus/integrations/models/integration.ts +0 -1005
  1796. package/src/plus/integrations/models/issueCache.ts +0 -29
  1797. package/src/plus/integrations/models/issueReads.ts +0 -152
  1798. package/src/plus/integrations/models/issuesIntegration.ts +0 -248
  1799. package/src/plus/integrations/models/pullRequestReads.ts +0 -18
  1800. package/src/plus/integrations/providerFilters.ts +0 -36
  1801. package/src/plus/integrations/providers/accounts.ts +0 -38
  1802. package/src/plus/integrations/providers/apiClients.ts +0 -69
  1803. package/src/plus/integrations/providers/apiConfig.ts +0 -71
  1804. package/src/plus/integrations/providers/azure/azure.ts +0 -953
  1805. package/src/plus/integrations/providers/azure/models.ts +0 -723
  1806. package/src/plus/integrations/providers/azureDevOps.ts +0 -1355
  1807. package/src/plus/integrations/providers/bitbucket/bitbucket.ts +0 -904
  1808. package/src/plus/integrations/providers/bitbucket/models.ts +0 -446
  1809. package/src/plus/integrations/providers/bitbucket-server/models.ts +0 -283
  1810. package/src/plus/integrations/providers/bitbucket-server.ts +0 -445
  1811. package/src/plus/integrations/providers/bitbucket.ts +0 -793
  1812. package/src/plus/integrations/providers/github/github.ts +0 -64
  1813. package/src/plus/integrations/providers/github/github.utils.ts +0 -23
  1814. package/src/plus/integrations/providers/github/models.ts +0 -29
  1815. package/src/plus/integrations/providers/github.ts +0 -940
  1816. package/src/plus/integrations/providers/gitlab/gitlab.ts +0 -1320
  1817. package/src/plus/integrations/providers/gitlab/gitlab.utils.ts +0 -80
  1818. package/src/plus/integrations/providers/gitlab/models.ts +0 -271
  1819. package/src/plus/integrations/providers/gitlab.ts +0 -841
  1820. package/src/plus/integrations/providers/issueSorts.ts +0 -89
  1821. package/src/plus/integrations/providers/jira.ts +0 -596
  1822. package/src/plus/integrations/providers/jiraIssueByKey.ts +0 -155
  1823. package/src/plus/integrations/providers/linear.ts +0 -484
  1824. package/src/plus/integrations/providers/models.ts +0 -1833
  1825. package/src/plus/integrations/providers/providerErrors.ts +0 -115
  1826. package/src/plus/integrations/providers/providersApi.ts +0 -1881
  1827. package/src/plus/integrations/providers/pullRequestReviews.ts +0 -122
  1828. package/src/plus/integrations/providers/trello.ts +0 -208
  1829. package/src/plus/integrations/providers/utils/providerPaging.ts +0 -212
  1830. package/src/plus/integrations/providers/utils.ts +0 -419
  1831. package/src/plus/integrations/reads/broaden.ts +0 -704
  1832. package/src/plus/integrations/reads/context.ts +0 -99
  1833. package/src/plus/integrations/reads/counts.ts +0 -610
  1834. package/src/plus/integrations/reads/cursors.ts +0 -224
  1835. package/src/plus/integrations/reads/drains.ts +0 -420
  1836. package/src/plus/integrations/reads/filters.ts +0 -614
  1837. package/src/plus/integrations/reads/hierarchy.ts +0 -486
  1838. package/src/plus/integrations/reads/hierarchy.utils.ts +0 -155
  1839. package/src/plus/integrations/reads/issueBatch.ts +0 -197
  1840. package/src/plus/integrations/reads/issueTracker.ts +0 -556
  1841. package/src/plus/integrations/reads/issues.ts +0 -600
  1842. package/src/plus/integrations/reads/ordering.ts +0 -124
  1843. package/src/plus/integrations/reads/paging.ts +0 -379
  1844. package/src/plus/integrations/reads/pullRequests.ts +0 -260
  1845. package/src/plus/integrations/reads/resolveRepository.ts +0 -275
  1846. package/src/plus/integrations/reads/searchIssues.ts +0 -274
  1847. package/src/plus/integrations/reads/searchPullRequests.ts +0 -235
  1848. package/src/plus/integrations/reads/sweeps.ts +0 -266
  1849. package/src/plus/integrations/reads/trackerIssue.ts +0 -105
  1850. package/src/plus/integrations/reads/warnings.ts +0 -535
  1851. package/src/plus/integrations/results.ts +0 -443
  1852. package/src/plus/integrations/telemetry.ts +0 -29
  1853. package/src/plus/integrations/utils/domain.utils.ts +0 -26
  1854. package/src/plus/integrations/utils/integration.utils.ts +0 -215
  1855. package/src/utils/array.ts +0 -194
  1856. package/src/utils/base64.ts +0 -1
  1857. package/src/utils/brand.ts +0 -7
  1858. package/src/utils/cancellation.ts +0 -199
  1859. package/src/utils/charCode.ts +0 -38
  1860. package/src/utils/coalescedRun.ts +0 -45
  1861. package/src/utils/color.ts +0 -817
  1862. package/src/utils/counter.ts +0 -21
  1863. package/src/utils/crypto.ts +0 -1
  1864. package/src/utils/date.ts +0 -474
  1865. package/src/utils/debounce.ts +0 -303
  1866. package/src/utils/decorators/debounce.ts +0 -31
  1867. package/src/utils/decorators/gate.ts +0 -167
  1868. package/src/utils/decorators/log.ts +0 -320
  1869. package/src/utils/decorators/memoize.ts +0 -98
  1870. package/src/utils/decorators/resolver.ts +0 -95
  1871. package/src/utils/decorators/sequentialize.ts +0 -118
  1872. package/src/utils/decorators/serializable.ts +0 -43
  1873. package/src/utils/dedupedAsyncCache.ts +0 -74
  1874. package/src/utils/diff.ts +0 -61
  1875. package/src/utils/disposable.ts +0 -156
  1876. package/src/utils/encoding.ts +0 -8
  1877. package/src/utils/env/browser/base64.ts +0 -50
  1878. package/src/utils/env/browser/crypto.ts +0 -21
  1879. package/src/utils/env/browser/fs.ts +0 -3
  1880. package/src/utils/env/browser/hex.ts +0 -41
  1881. package/src/utils/env/browser/hrtime.ts +0 -14
  1882. package/src/utils/env/browser/logScope.ts +0 -57
  1883. package/src/utils/env/browser/md5.ts +0 -217
  1884. package/src/utils/env/browser/platform.ts +0 -10
  1885. package/src/utils/env/node/base64.ts +0 -19
  1886. package/src/utils/env/node/crypto.ts +0 -17
  1887. package/src/utils/env/node/exec.ts +0 -488
  1888. package/src/utils/env/node/fs.ts +0 -5
  1889. package/src/utils/env/node/hex.ts +0 -11
  1890. package/src/utils/env/node/hrtime.ts +0 -1
  1891. package/src/utils/env/node/logScope.ts +0 -63
  1892. package/src/utils/env/node/platform.ts +0 -5
  1893. package/src/utils/error.ts +0 -18
  1894. package/src/utils/event.ts +0 -230
  1895. package/src/utils/formatter.ts +0 -198
  1896. package/src/utils/fs.ts +0 -1
  1897. package/src/utils/function.ts +0 -141
  1898. package/src/utils/fuzzy.ts +0 -185
  1899. package/src/utils/hash.ts +0 -60
  1900. package/src/utils/hex.ts +0 -1
  1901. package/src/utils/hrtime.ts +0 -8
  1902. package/src/utils/iterable.ts +0 -797
  1903. package/src/utils/keys/chord.ts +0 -184
  1904. package/src/utils/keys/keybinding.ts +0 -116
  1905. package/src/utils/lazy.ts +0 -39
  1906. package/src/utils/loggable.ts +0 -7
  1907. package/src/utils/logger.scoped.ts +0 -237
  1908. package/src/utils/logger.ts +0 -403
  1909. package/src/utils/lruMap.ts +0 -112
  1910. package/src/utils/markdown.ts +0 -115
  1911. package/src/utils/mru.ts +0 -68
  1912. package/src/utils/object.ts +0 -278
  1913. package/src/utils/paging.ts +0 -97
  1914. package/src/utils/path.ts +0 -204
  1915. package/src/utils/platform.ts +0 -1
  1916. package/src/utils/promise.ts +0 -657
  1917. package/src/utils/promiseCache.ts +0 -908
  1918. package/src/utils/resourceUsage.ts +0 -5
  1919. package/src/utils/searchTree.ts +0 -444
  1920. package/src/utils/stopwatch.ts +0 -125
  1921. package/src/utils/string.ts +0 -1003
  1922. package/src/utils/subscriptionManager.ts +0 -40
  1923. package/src/utils/trie.ts +0 -740
  1924. package/src/utils/types.ts +0 -31
  1925. package/src/utils/uri.ts +0 -118
  1926. package/src/utils/validation.ts +0 -38
  1927. package/src/utils/version.ts +0 -128
@@ -1,21 +1,22 @@
1
- import type { IssueSearchCriteria, IssueShape } from '../../git/models/issue.js';
2
- import type { PullRequestSearchCriteria, PullRequestShape, PullRequestStateFilter } from '../../git/models/pullRequest.js';
3
- import type { Event } from '../../utils/event.js';
4
- import type { ConfiguredIntegrationsChangeEvent } from './authentication/configuredIntegrationService.js';
5
- import type { ConfiguredIntegrationDescriptor } from './authentication/models.js';
6
- import type { IntegrationIds } from './constants.js';
7
- import type { IssueFilter, IssueSorting, PullRequestFilter } from './providerFilters.js';
8
- import type { IssueCountResult, IssueCountScope, PullRequestCountResult, PullRequestCountScope } from './reads/counts.js';
9
- import type { SupportedFilters } from './reads/filters.js';
10
- import type { IssueBatchResult, IssueBatchTarget } from './reads/issueBatch.js';
11
- import type { TrackerIssueResult } from './reads/trackerIssue.js';
12
- import type { ConnectionStateChangeEvent, ProviderBroadenResult, ProviderOrganization, ProviderPagedResult, ProviderRepositoryShape, ProviderResult, ProviderSweepResult, ResolveRepositoryResult } from './results.js';
1
+ import { Event } from "../../utils/event.js";
2
+ import { IssueSearchCriteria, IssueShape, IssueSorting } from "../../git/models/issue.js";
3
+ import { PullRequestFilter, PullRequestSearchCriteria, PullRequestShape, PullRequestStateFilter } from "../../git/models/pullRequest.js";
4
+ import { ConfiguredIntegrationDescriptor } from "./authentication/models.js";
5
+ import { IntegrationIds } from "./constants.js";
6
+ import { ConfiguredIntegrationsChangeEvent } from "./authentication/configuredIntegrationService.js";
7
+ import { IssueFilter } from "./providerFilters.js";
8
+ import { ConnectionStateChangeEvent, ProviderBroadenResult, ProviderOrganization, ProviderPagedResult, ProviderRepositoryShape, ProviderResult, ProviderSweepResult, ResolveRepositoryResult } from "./results.js";
9
+ import { IssueCountResult, IssueCountScope, PullRequestCountResult, PullRequestCountScope } from "./reads/counts.js";
10
+ import { SupportedFilters } from "./reads/filters.js";
11
+ import { IssueBatchResult, IssueBatchTarget } from "./reads/issueBatch.js";
12
+ import { TrackerIssueResult } from "./reads/trackerIssue.js";
13
+ //#region ../plus/integrations/src/manager.d.ts
13
14
  /** Neutral repository input accepted by repo-scoped provider reads. */
14
15
  export interface ProviderRepositoryInput {
15
- namespace: string;
16
- name: string;
17
- project?: string;
18
- id?: string;
16
+ namespace: string;
17
+ name: string;
18
+ project?: string;
19
+ id?: string;
19
20
  }
20
21
  export type ProviderRepositoriesInput = (string | number)[] | ProviderRepositoryInput[];
21
22
  /**
@@ -27,18 +28,18 @@ export type ProviderRepositoriesInput = (string | number)[] | ProviderRepository
27
28
  * the trusted authentication configuration, not repository or remote data.
28
29
  */
29
30
  export interface ProviderSweepTarget {
30
- providerId: IntegrationIds;
31
- connectionId?: string;
32
- domain?: string;
33
- /**
34
- * Relationship filters for this provider slice. With sweep-level `repos`, members are provider query
35
- * constraints; without `repos`, they form an exact OR union. The whole set is validated against the
36
- * selected path's capabilities.
37
- *
38
- * This per-target form lets a cross-provider sweep preserve provider-specific semantics without leaking
39
- * provider query details into the consumer. It overrides the sweep-level `filters` for this target.
40
- */
41
- filters?: PullRequestFilter[];
31
+ providerId: IntegrationIds;
32
+ connectionId?: string;
33
+ domain?: string;
34
+ /**
35
+ * Relationship filters for this provider slice. With sweep-level `repos`, members are provider query
36
+ * constraints; without `repos`, they form an exact OR union. The whole set is validated against the
37
+ * selected path's capabilities.
38
+ *
39
+ * This per-target form lets a cross-provider sweep preserve provider-specific semantics without leaking
40
+ * provider query details into the consumer. It overrides the sweep-level `filters` for this target.
41
+ */
42
+ filters?: PullRequestFilter[];
42
43
  }
43
44
  /**
44
45
  * One target's contribution to a pull-request sweep, reported as it settles.
@@ -58,56 +59,56 @@ export interface ProviderSweepTarget {
58
59
  * from `outcome`: they are the target's own values, not constants the outcome guarantees.
59
60
  */
60
61
  export interface ProviderSweepTargetEvent {
61
- providerId: IntegrationIds;
62
- /**
63
- * The self-managed host this target selects, resolved from its configured connection, its explicit domain,
64
- * or the provider's primary configured host — the same rule the read itself uses, and the same one whether
65
- * the target drained fully or was rejected by the first guard.
66
- *
67
- * Always `undefined` for a cloud provider: it has a single host, so there is nothing to disambiguate. Group
68
- * by `providerId` and treat this as a label, not part of the key.
69
- */
70
- domain: string | undefined;
71
- connectionId: string | undefined;
72
- /**
73
- * Rows this target contributed to the aggregate result. The sweep concatenates target slices without a
74
- * cross-target pass — duplicates are collapsed per target, across its own pages — so these sum to exactly
75
- * `items.length`, and a sum that disagrees means a target went unreported.
76
- */
77
- count: number;
78
- /**
79
- * Wall time from this target's worker picking it up to its slice being ready.
80
- *
81
- * Targets in the same sweep run concurrently, so these intervals OVERLAP and are not additive: summing them
82
- * across a sweep exceeds the sweep's own duration. Compare them against each other, not against a total.
83
- */
84
- durationMs: number;
85
- /**
86
- * Wall time between the fan-out starting and this target's worker picking the target up.
87
- *
88
- * Structurally 0 only while the target count fits the fan-out's concurrency limit, which a selection of a
89
- * few providers does and the default sweep does NOT: with no `targets`/`providerIds` it opens one target per
90
- * supported git host, more than the limit, so the last ones genuinely wait. A non-zero value there is the
91
- * normal case, not an anomaly — it is the cost of the bound, and only worth acting on if it rivals
92
- * `durationMs`.
93
- */
94
- queueWaitMs: number;
95
- outcome: 'ok' | 'failed-provider' | 'fetch-failed' | 'skipped';
96
- /** Whether this target left pages unread. */
97
- truncated: boolean;
62
+ providerId: IntegrationIds;
63
+ /**
64
+ * The self-managed host this target selects, resolved from its configured connection, its explicit domain,
65
+ * or the provider's primary configured host — the same rule the read itself uses, and the same one whether
66
+ * the target drained fully or was rejected by the first guard.
67
+ *
68
+ * Always `undefined` for a cloud provider: it has a single host, so there is nothing to disambiguate. Group
69
+ * by `providerId` and treat this as a label, not part of the key.
70
+ */
71
+ domain: string | undefined;
72
+ connectionId: string | undefined;
73
+ /**
74
+ * Rows this target contributed to the aggregate result. The sweep concatenates target slices without a
75
+ * cross-target pass — duplicates are collapsed per target, across its own pages — so these sum to exactly
76
+ * `items.length`, and a sum that disagrees means a target went unreported.
77
+ */
78
+ count: number;
79
+ /**
80
+ * Wall time from this target's worker picking it up to its slice being ready.
81
+ *
82
+ * Targets in the same sweep run concurrently, so these intervals OVERLAP and are not additive: summing them
83
+ * across a sweep exceeds the sweep's own duration. Compare them against each other, not against a total.
84
+ */
85
+ durationMs: number;
86
+ /**
87
+ * Wall time between the fan-out starting and this target's worker picking the target up.
88
+ *
89
+ * Structurally 0 only while the target count fits the fan-out's concurrency limit, which a selection of a
90
+ * few providers does and the default sweep does NOT: with no `targets`/`providerIds` it opens one target per
91
+ * supported git host, more than the limit, so the last ones genuinely wait. A non-zero value there is the
92
+ * normal case, not an anomaly — it is the cost of the bound, and only worth acting on if it rivals
93
+ * `durationMs`.
94
+ */
95
+ queueWaitMs: number;
96
+ outcome: 'ok' | 'failed-provider' | 'fetch-failed' | 'skipped';
97
+ /** Whether this target left pages unread. */
98
+ truncated: boolean;
98
99
  }
99
100
  type ProviderSweepSelection = {
100
- targets: readonly ProviderSweepTarget[];
101
- providerIds?: never;
102
- connectionId?: never;
101
+ targets: readonly ProviderSweepTarget[];
102
+ providerIds?: never;
103
+ connectionId?: never;
103
104
  } | {
104
- targets?: never;
105
- providerIds?: IntegrationIds[];
106
- /**
107
- * Legacy single-provider selector. It is ignored when `providerIds` contains more than one provider;
108
- * use `targets` to select connections independently in a multi-provider sweep.
109
- */
110
- connectionId?: string;
105
+ targets?: never;
106
+ providerIds?: IntegrationIds[];
107
+ /**
108
+ * Legacy single-provider selector. It is ignored when `providerIds` contains more than one provider;
109
+ * use `targets` to select connections independently in a multi-provider sweep.
110
+ */
111
+ connectionId?: string;
111
112
  };
112
113
  /**
113
114
  * One org slice in an issue-broadening fan-out. `domain` is a fallback for self-managed hosts whose
@@ -116,63 +117,63 @@ type ProviderSweepSelection = {
116
117
  * repository or remote data.
117
118
  */
118
119
  export interface ProviderBroadenOrg {
119
- providerId: IntegrationIds;
120
- name: string;
121
- connectionId?: string;
122
- domain?: string;
120
+ providerId: IntegrationIds;
121
+ name: string;
122
+ connectionId?: string;
123
+ domain?: string;
123
124
  }
124
125
  type PullRequestSweepCommonOptions = {
125
- repos?: ProviderRepositoriesInput;
126
- /** Named `states` to match {@link IntegrationManager.listPullRequestsPage}; a mismatch here read as silently ignored. */
127
- states?: PullRequestStateFilter[];
128
- /**
129
- * Relationship filters applied to every target. Repo-scoped reads combine them as provider query
130
- * constraints (normally an intersection); account-wide reads form an exact OR union. The set is validated
131
- * against `pullRequests` or `pullRequestsAccountWide`, respectively. A target's own `filters` overrides this.
132
- */
133
- filters?: PullRequestFilter[];
134
- /**
135
- * Account-wide only: include review-requested PRs when the provider's native "my PRs" query omits them.
136
- * This extends the provider-native result; it is not a narrowing filter.
137
- */
138
- includeReviewRequested?: boolean;
139
- /**
140
- * Account-wide only: fetch the full PR projection (review decision, review requests, latest reviews)
141
- * instead of the default summary/lite one. Opt-in because it enlarges every account-wide page; callers
142
- * that classify by review state (e.g. a "needs my review" surface) set it, others keep the lean read.
143
- *
144
- * GitHub/GHE only today — no other provider's account-wide read has a projection switch, so they return
145
- * their native shape regardless. A cross-provider sweep therefore gets reviews from GitHub targets and
146
- * whatever the others natively carry; it is a breadth request, not a guarantee, so it does not refuse
147
- * (unlike `filters`, where dropping a member would change the requested set).
148
- *
149
- * Projection only: it cannot change which pull requests come back. Every GitHub account-wide read goes through
150
- * the same search whether or not it is set, so the Launchpad ignored-repository and organization qualifiers
151
- * (and the per-facet result ceiling) apply the same either way. What it costs is the reduced page size, and a
152
- * document whose weight scales with the number of relationship × state facets in flight.
153
- */
154
- includeReviews?: boolean;
155
- forceSync?: boolean;
156
- maxPages?: number;
157
- /**
158
- * Fired once per target as it settles, for host-side per-provider attribution.
159
- *
160
- * Observation only: it cannot influence the sweep, and a SYNCHRONOUS throw is swallowed rather than allowed
161
- * to turn a successful target into a failed one. Return nothing and do no async work: the `void` return type
162
- * admits an `async` callback, but nothing awaits it, so a rejection from one escapes that guarantee as an
163
- * unhandled rejection. It is also invoked synchronously in the middle of the fan-out — do not re-enter the
164
- * manager from it.
165
- *
166
- * Omitting it costs nothing at all, not even a clock read, so a host that only measures behind a gate can
167
- * leave the gate off without paying for the option.
168
- *
169
- * It reports how a target SETTLED, not every way one can end, and **delivery does not stop when the sweep
170
- * fails**: if a target's read throws instead of reporting failure through its slice, the sweep rejects with
171
- * that error, but its sibling targets are already in flight and are not cancelled, so their events still
172
- * arrive — after the returned promise has rejected. Key the accumulator to the call rather than closing it
173
- * on rejection, or a late event lands in whatever bucket is current by then.
174
- */
175
- onTargetSettled?: (event: ProviderSweepTargetEvent) => void;
126
+ repos?: ProviderRepositoriesInput;
127
+ /** Named `states` to match {@link IntegrationManager.listPullRequestsPage}; a mismatch here read as silently ignored. */
128
+ states?: PullRequestStateFilter[];
129
+ /**
130
+ * Relationship filters applied to every target. Repo-scoped reads combine them as provider query
131
+ * constraints (normally an intersection); account-wide reads form an exact OR union. The set is validated
132
+ * against `pullRequests` or `pullRequestsAccountWide`, respectively. A target's own `filters` overrides this.
133
+ */
134
+ filters?: PullRequestFilter[];
135
+ /**
136
+ * Account-wide only: include review-requested PRs when the provider's native "my PRs" query omits them.
137
+ * This extends the provider-native result; it is not a narrowing filter.
138
+ */
139
+ includeReviewRequested?: boolean;
140
+ /**
141
+ * Account-wide only: fetch the full PR projection (review decision, review requests, latest reviews)
142
+ * instead of the default summary/lite one. Opt-in because it enlarges every account-wide page; callers
143
+ * that classify by review state (e.g. a "needs my review" surface) set it, others keep the lean read.
144
+ *
145
+ * GitHub/GHE only today — no other provider's account-wide read has a projection switch, so they return
146
+ * their native shape regardless. A cross-provider sweep therefore gets reviews from GitHub targets and
147
+ * whatever the others natively carry; it is a breadth request, not a guarantee, so it does not refuse
148
+ * (unlike `filters`, where dropping a member would change the requested set).
149
+ *
150
+ * Projection only: it cannot change which pull requests come back. Every GitHub account-wide read goes through
151
+ * the same search whether or not it is set, so the Launchpad ignored-repository and organization qualifiers
152
+ * (and the per-facet result ceiling) apply the same either way. What it costs is the reduced page size, and a
153
+ * document whose weight scales with the number of relationship × state facets in flight.
154
+ */
155
+ includeReviews?: boolean;
156
+ forceSync?: boolean;
157
+ maxPages?: number;
158
+ /**
159
+ * Fired once per target as it settles, for host-side per-provider attribution.
160
+ *
161
+ * Observation only: it cannot influence the sweep, and a SYNCHRONOUS throw is swallowed rather than allowed
162
+ * to turn a successful target into a failed one. Return nothing and do no async work: the `void` return type
163
+ * admits an `async` callback, but nothing awaits it, so a rejection from one escapes that guarantee as an
164
+ * unhandled rejection. It is also invoked synchronously in the middle of the fan-out — do not re-enter the
165
+ * manager from it.
166
+ *
167
+ * Omitting it costs nothing at all, not even a clock read, so a host that only measures behind a gate can
168
+ * leave the gate off without paying for the option.
169
+ *
170
+ * It reports how a target SETTLED, not every way one can end, and **delivery does not stop when the sweep
171
+ * fails**: if a target's read throws instead of reporting failure through its slice, the sweep rejects with
172
+ * that error, but its sibling targets are already in flight and are not cancelled, so their events still
173
+ * arrive — after the returned promise has rejected. Key the accumulator to the call rather than closing it
174
+ * on rejection, or a late event lands in whatever bucket is current by then.
175
+ */
176
+ onTargetSettled?: (event: ProviderSweepTargetEvent) => void;
176
177
  };
177
178
  export type PullRequestSweepOptions = PullRequestSweepCommonOptions & ProviderSweepSelection;
178
179
  export type ClosedPullRequestSweepOptions = Omit<PullRequestSweepCommonOptions, 'states'> & ProviderSweepSelection;
@@ -181,28 +182,28 @@ export type ClosedPullRequestSweepOptions = Omit<PullRequestSweepCommonOptions,
181
182
  * to one provider. A `connectionId`/`domain` without `providerId` is ambiguous and therefore unrepresentable.
182
183
  */
183
184
  export type ListOrgsOptions = {
184
- providerId: IntegrationIds;
185
- connectionId?: string;
186
- domain?: string;
185
+ providerId: IntegrationIds;
186
+ connectionId?: string;
187
+ domain?: string;
187
188
  } | {
188
- providerId?: never;
189
- connectionId?: never;
190
- domain?: never;
189
+ providerId?: never;
190
+ connectionId?: never;
191
+ domain?: never;
191
192
  };
192
193
  /**
193
194
  * Project discovery follows the same provider-targeting rule as {@link ListOrgsOptions}; `org` may still
194
195
  * narrow either a single-provider read or the unscoped fan-out.
195
196
  */
196
197
  export type ListProjectsOptions = {
197
- providerId: IntegrationIds;
198
- org?: string;
199
- connectionId?: string;
200
- domain?: string;
198
+ providerId: IntegrationIds;
199
+ org?: string;
200
+ connectionId?: string;
201
+ domain?: string;
201
202
  } | {
202
- providerId?: never;
203
- org?: string;
204
- connectionId?: never;
205
- domain?: never;
203
+ providerId?: never;
204
+ org?: string;
205
+ connectionId?: never;
206
+ domain?: never;
206
207
  };
207
208
  /**
208
209
  * Public, provider-neutral integration facade. Provider clients and integration model instances remain private
@@ -230,462 +231,518 @@ export type ListProjectsOptions = {
230
231
  * `page.truncated`), never as a page that can't be requested.
231
232
  */
232
233
  export interface IntegrationManager {
233
- readonly onDidChange: Event<ConfiguredIntegrationsChangeEvent>;
234
- readonly onDidChangeConnectionState: Event<ConnectionStateChangeEvent>;
235
- dispose(): void;
236
- getConfigured(id?: IntegrationIds, options?: {
237
- cloud?: boolean;
238
- domain?: string;
239
- }): ConfiguredIntegrationDescriptor[];
234
+ readonly onDidChange: Event<ConfiguredIntegrationsChangeEvent>;
235
+ readonly onDidChangeConnectionState: Event<ConnectionStateChangeEvent>;
236
+ dispose(): void;
237
+ getConfigured(id?: IntegrationIds, options?: {
238
+ cloud?: boolean;
239
+ domain?: string;
240
+ }): ConfiguredIntegrationDescriptor[];
241
+ /**
242
+ * The `filters` a provider accepts on `listPullRequestsPage`/`listIssuesPage` and the sweeps.
243
+ *
244
+ * The filter contract is all-or-nothing: a set containing even one unsupported filter is refused (empty
245
+ * `items` + a warning + `fetchFailed`) rather than narrowed, because falling through to an unfiltered read
246
+ * would return every pull request instead of the user's. Intersect against this before the read so a
247
+ * cross-provider filter set never turns into a failed page. Static per provider — no connection required.
248
+ *
249
+ * Empty means no filter of that kind is expressible (issue trackers have no pull requests; Bitbucket exposes
250
+ * no issues), which means "pass no filters", not "error".
251
+ *
252
+ * `pullRequests` covers repo-scoped PR reads; `pullRequestsAccountWide` covers account-wide PR reads.
253
+ * `issues` covers the repo-scoped issue read; `issuesAccountWide` covers the account-wide one (no `repos`).
254
+ * They differ because they are different provider queries — GitLab can express `Assignee` and `Author`
255
+ * account-wide, but not `Mention` — and `listIssuesPage` validates against whichever the read uses.
256
+ *
257
+ * An ISSUE TRACKER (Jira/Linear/Trello) reports its filters under `issues`, and
258
+ * {@link IntegrationManager.listIssueTrackerIssuesPage} validates against that field. Its
259
+ * `issuesAccountWide` is empty — those two fields split the git-host reads, and a tracker has neither of
260
+ * them (its issues live under resource → project) — so intersecting a tracker's filters against
261
+ * `issuesAccountWide` would read "cannot filter" for a provider that filters fine.
262
+ *
263
+ * This is a capability table, not a recommendation: a consumer matching another tool's behavior may pass fewer
264
+ * filters than are listed, or none where the underlying read is already scoped.
265
+ */
266
+ getSupportedFilters(providerId: IntegrationIds): SupportedFilters;
267
+ /** Forces an authoritative cloud connection refresh. Rejects if the backend connection list cannot be read. */
268
+ refreshConnections(): Promise<void>;
269
+ /** Rejects unless `connectionId` is a configured cloud connection for `id`. */
270
+ setPrimaryConnection(id: IntegrationIds, connectionId: string): Promise<void>;
271
+ /** Rejects unless `connectionId` is a configured cloud connection for `id`. */
272
+ deleteConnection(id: IntegrationIds, connectionId: string): Promise<void>;
273
+ listOrgs(options?: ListOrgsOptions): Promise<ProviderResult<ProviderOrganization>>;
274
+ listProjects(options?: ListProjectsOptions): Promise<ProviderResult<ProviderOrganization>>;
275
+ listRepos(options: {
276
+ providerId: IntegrationIds;
277
+ org?: string;
278
+ project?: string;
240
279
  /**
241
- * The `filters` a provider accepts on `listPullRequestsPage`/`listIssuesPage` and the sweeps.
242
- *
243
- * The filter contract is all-or-nothing: a set containing even one unsupported filter is refused (empty
244
- * `items` + a warning + `fetchFailed`) rather than narrowed, because falling through to an unfiltered read
245
- * would return every pull request instead of the user's. Intersect against this before the read so a
246
- * cross-provider filter set never turns into a failed page. Static per provider — no connection required.
247
- *
248
- * Empty means no filter of that kind is expressible (issue trackers have no pull requests; Bitbucket exposes
249
- * no issues), which means "pass no filters", not "error".
250
- *
251
- * `pullRequests` covers repo-scoped PR reads; `pullRequestsAccountWide` covers account-wide PR reads.
252
- * `issues` covers the repo-scoped issue read; `issuesAccountWide` covers the account-wide one (no `repos`).
253
- * They differ because they are different provider queries — GitLab can express `Assignee` and `Author`
254
- * account-wide, but not `Mention` — and `listIssuesPage` validates against whichever the read uses.
255
- *
256
- * An ISSUE TRACKER (Jira/Linear/Trello) reports its filters under `issues`, and
257
- * {@link IntegrationManager.listIssueTrackerIssuesPage} validates against that field. Its
258
- * `issuesAccountWide` is empty — those two fields split the git-host reads, and a tracker has neither of
259
- * them (its issues live under resource → project) — so intersecting a tracker's filters against
260
- * `issuesAccountWide` would read "cannot filter" for a provider that filters fine.
261
- *
262
- * This is a capability table, not a recommendation: a consumer matching another tool's behavior may pass fewer
263
- * filters than are listed, or none where the underlying read is already scoped.
280
+ * Requested 1-based page. Cursor-only providers are advanced internally when no `cursor` is supplied,
281
+ * so a direct page-N request can cost O(page) upstream calls.
264
282
  */
265
- getSupportedFilters(providerId: IntegrationIds): SupportedFilters;
266
- /** Forces an authoritative cloud connection refresh. Rejects if the backend connection list cannot be read. */
267
- refreshConnections(): Promise<void>;
268
- /** Rejects unless `connectionId` is a configured cloud connection for `id`. */
269
- setPrimaryConnection(id: IntegrationIds, connectionId: string): Promise<void>;
270
- /** Rejects unless `connectionId` is a configured cloud connection for `id`. */
271
- deleteConnection(id: IntegrationIds, connectionId: string): Promise<void>;
272
- listOrgs(options?: ListOrgsOptions): Promise<ProviderResult<ProviderOrganization>>;
273
- listProjects(options?: ListProjectsOptions): Promise<ProviderResult<ProviderOrganization>>;
274
- listRepos(options: {
275
- providerId: IntegrationIds;
276
- org?: string;
277
- project?: string;
278
- /**
279
- * Requested 1-based page. Cursor-only providers are advanced internally when no `cursor` is supplied,
280
- * so a direct page-N request can cost O(page) upstream calls.
281
- */
282
- page?: number;
283
- /** Continuation from a prior page's `cursor`; supplying it costs exactly one upstream request per scope. */
284
- cursor?: string;
285
- /**
286
- * Requested page size. Advisory: the repos read core is cursor-only and takes no page size, so the
287
- * provider's own size is what applies — `page.itemsPerPage` reports what was actually returned.
288
- */
289
- itemsPerPage?: number;
290
- connectionId?: string;
291
- /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
292
- domain?: string;
293
- }): Promise<ProviderPagedResult<ProviderRepositoryShape>>;
294
- listPullRequestsPage(options: {
295
- providerId: IntegrationIds;
296
- repos?: ProviderRepositoriesInput;
297
- states?: PullRequestStateFilter[];
298
- /**
299
- * Relationship filters. Repo-scoped reads combine members as provider query constraints (normally an
300
- * intersection), so issue separate reads when the desired result is a union. Account-wide members form an
301
- * exact OR union. Each path validates the whole set against its corresponding capability.
302
- */
303
- filters?: PullRequestFilter[];
304
- /**
305
- * Account-wide only: include review-requested PRs when the provider's native "my PRs" query omits them.
306
- * This extends the provider-native result; it is not a narrowing filter.
307
- */
308
- includeReviewRequested?: boolean;
309
- /**
310
- * Requested 1-based page. Without a `cursor` this may cost O(page) upstream requests on a cursor-only
311
- * read (repo-scoped GitHub/GHE and account-wide providers that return continuations), which the facade
312
- * drains internally.
313
- */
314
- page?: number;
315
- /** Continuation from a prior page's `cursor`; supplying it costs exactly one upstream request per scope. */
316
- cursor?: string;
317
- /**
318
- * Requested page size, honored on the repo-scoped path. The provider-defined account-wide read (no
319
- * `repos`) takes no page size, so it is ignored there — `page.itemsPerPage` reports what was actually
320
- * returned rather than echoing the request.
321
- */
322
- itemsPerPage?: number;
323
- forceSync?: boolean;
324
- connectionId?: string;
325
- /**
326
- * Explicit self-managed host domain. Used only when the requested connection has no configured domain;
327
- * it must come from the trusted authentication configuration, not repository or remote data.
328
- */
329
- domain?: string;
330
- /**
331
- * Requests the lightweight row shape: everything except the per-row build-status rollup
332
- * (`statusCheckRollupState`) and `commitCount`, which share one provider selection and are therefore
333
- * dropped together. Set it on list/aggregate surfaces that read neither.
334
- *
335
- * The account-wide branch already requests this shape. A provider without a lightweight projection
336
- * ignores the option, so it is a hint rather than a guarantee about which fields are present.
337
- */
338
- summary?: boolean;
339
- }): Promise<ProviderPagedResult<PullRequestShape>>;
283
+ page?: number;
284
+ /** Continuation from a prior page's `cursor`; supplying it costs exactly one upstream request per scope. */
285
+ cursor?: string;
340
286
  /**
341
- * Pull requests matching structured criteria over a repository/organization or current-user relationship
342
- * scope.
343
- *
344
- * This is a separate read from {@link listPullRequestsPage}: free text reaches the provider instead of filtering
345
- * whichever rows happened to be loaded, and every cursor-threaded page costs exactly one upstream request.
346
- * `criteria.relationships` and `criteria.states` are OR sets, so `[closed, merged]` expresses the complete
347
- * terminal set and `[Author, Assignee, ReviewRequested]` matches the visible PR list without falling back to
348
- * GitHub's mismatched `involves:@me`. Omit relationships only with a repository/organization scope to search
349
- * every PR there.
350
- *
351
- * **Ordering is `criteria.sort`**, most-recently-updated-first when omitted. It is validated like every other
352
- * criterion — a key not in `getSupportedFilters().pullRequestSearch.sorts` refuses the whole read rather than
353
- * falling back, because at a bounded result window another order reaches another subset. The page is a union of
354
- * the provider's relationship × state facets, so it is re-ordered as a whole rather than served as concatenated
355
- * per-facet runs. Changing the sort invalidates a threaded cursor (it is part of the cursor's fingerprint,
356
- * alongside the text and the scope); drop the cursor when you change the order.
357
- *
358
- * If the provider's result ceiling is reached, the request still succeeds and carries a warning omission with
359
- * `totalCount`, `limit`, `sort`, and `recovery: 'none'`. `totalCount` is the largest provider-reported
360
- * pre-ceiling facet count, not the reachable or returned row count; this mirrors the per-search ceiling's own
361
- * unit.
362
- *
363
- * Check `getSupportedFilters().pullRequestSearch` before calling. A provider that reports no relationships
364
- * refuses the read rather than returning a page that never honored the criteria or scope.
287
+ * Requested page size. Advisory: the repos read core is cursor-only and takes no page size, so the
288
+ * provider's own size is what applies — `page.itemsPerPage` reports what was actually returned.
365
289
  */
366
- searchPullRequestsPage(options: {
367
- providerId: IntegrationIds;
368
- /**
369
- * Repository descriptors that bound the search; ids cannot name provider search qualifiers.
370
- *
371
- * Both halves of a descriptor must reach the provider unchanged — see `org` — since a search names a
372
- * repository by its `namespace/name` path.
373
- */
374
- repos?: ProviderRepositoriesInput;
375
- /**
376
- * Organization/account that bounds the search.
377
- *
378
- * Held to a STRICTER rule than the free-form `criteria.text`, which is sanitized: a scope name carrying a
379
- * quote, or an inner space or control character, is REFUSED (warning + `fetchFailed`), and the refusal
380
- * names the value. Leading and trailing whitespace and control characters are stripped and accepted,
381
- * since removing them cannot change which scope the query names. Sanitizing a scope would answer the wrong question — the sanitized value may name a real but
382
- * DIFFERENT organization, whose result looks entirely normal. Pass the name exactly as the provider spells
383
- * it; `''` means "no org supplied" and falls through to the other scopes.
384
- */
385
- org?: string;
386
- criteria?: PullRequestSearchCriteria;
387
- /** Cursor-only: without a cursor, reaching page N costs O(N) upstream requests. */
388
- page?: number;
389
- cursor?: string;
390
- /**
391
- * Page size PER RELATIONSHIP × STATE facet, not per page. Each facet is its own aliased provider query —
392
- * one axis more than {@link searchIssuesPage}'s per-relationship fan-out — so a page of a 3-relationship,
393
- * 2-state search returns up to `6 × itemsPerPage` items before deduplication, and fewer than that where
394
- * the facets overlap. Deduplication does NOT bring the page back to this size: it removes only the rows the
395
- * facets share. `page.itemsPerPage` reports what actually came back, so size the UI off that rather than
396
- * off this. A provider may also cap it below what is asked for.
397
- */
398
- itemsPerPage?: number;
399
- forceSync?: boolean;
400
- connectionId?: string;
401
- /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
402
- domain?: string;
403
- /**
404
- * Requests the lightweight row shape: identity, body, author, repository, branch refs and stack info,
405
- * without review, check or diff statistics. It also replaces the flat per-facet default page size with a
406
- * fixed budget shared across the search's ACTIVE facets, so with up to three of them it raises the page
407
- * and from four on it LOWERS it — measured against GitHub, a 100-row budget versus a flat 30 each.
408
- *
409
- * A provider without a lightweight projection ignores it and returns its usual shape, so this is a hint
410
- * rather than a contract about which fields are present.
411
- */
412
- summary?: boolean;
413
- }): Promise<ProviderPagedResult<PullRequestShape>>;
414
- listIssuesPage(options: {
415
- providerId: IntegrationIds;
416
- repos?: ProviderRepositoriesInput;
417
- /**
418
- * Narrows the account-wide read (no `repos`) to one org/account, and `project` to one project within it.
419
- * Only a git host with a project tier (Azure DevOps) can scope this server-side; for any other provider
420
- * either option is rejected with a warning + `fetchFailed` rather than silently returning an unscoped
421
- * list. Ignored when `repos` is supplied, since those repos are already the scope.
422
- */
423
- org?: string;
424
- project?: string;
425
- /**
426
- * Narrows to the requested relationship(s), validated against `getSupportedFilters().issues` on the
427
- * repo-scoped path and `.issuesAccountWide` on the account-wide one.
428
- *
429
- * On the account-wide path this REPLACES the provider's own definition of "my issues" — GitHub/GHE
430
- * authored + assigned + mentioned, Azure assigned + authored, and GitLab assigned-to-me — so
431
- * `[Assignee]` gets `assignee:@me` semantics wherever it's expressible. Narrowing must happen here rather
432
- * than on the returned page: the excluded items still counted toward the provider's paging, so filtering
433
- * afterward leaves `items` describing a different result set than `hasMore`/`cursor`.
434
- *
435
- * A set the provider can't express server-side is refused whole (warning + `fetchFailed`), never widened.
436
- */
437
- filters?: IssueFilter[];
438
- /** Broadens to every assignee. On account-wide reads it contradicts `filters`, so passing both is refused. */
439
- includeAllAssignees?: boolean;
440
- /**
441
- * How to order the page, as `field:direction` (e.g. `updated:desc`, `created:asc`). Omitted orders
442
- * most-recently-updated-first wherever the provider can express it — this facade's default, not the
443
- * provider's, which differ from each other.
444
- *
445
- * Validated against `getSupportedFilters().issueSorts` when `repos` is supplied and
446
- * `.issueSortsAccountWide` when it isn't, and refused (warning + `fetchFailed`) rather than downgraded: at
447
- * the provider's reachable window another order is another subset, so a silently different one is
448
- * indistinguishable from the one asked for. Keep it fixed across a pagination.
449
- *
450
- * With SEVERAL repositories/projects the page is a merge of one query each, so only a key a normalized
451
- * issue carries can be honored — `priority`, `dueDate` and `resolved` are refused there even where the
452
- * provider supports them on a single scope. The order applies within a page; across pages it is per scope.
453
- */
454
- sort?: IssueSorting;
455
- /**
456
- * Requested 1-based page. Without a `cursor` this may cost O(page) upstream requests on cursor-backed
457
- * reads such as repo-scoped GitHub/GHE; aggregate single-page account-wide reads remain O(1).
458
- */
459
- page?: number;
460
- /** Continuation from a prior page's `cursor`; supplying it costs exactly one upstream request per scope. */
461
- cursor?: string;
462
- itemsPerPage?: number;
463
- forceSync?: boolean;
464
- connectionId?: string;
465
- /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
466
- domain?: string;
467
- }): Promise<ProviderPagedResult<IssueShape>>;
290
+ itemsPerPage?: number;
291
+ connectionId?: string;
292
+ /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
293
+ domain?: string;
294
+ }): Promise<ProviderPagedResult<ProviderRepositoryShape>>;
295
+ listPullRequestsPage(options: {
296
+ providerId: IntegrationIds;
297
+ repos?: ProviderRepositoriesInput;
298
+ states?: PullRequestStateFilter[];
468
299
  /**
469
- * Issues matching structured criteria over a repository/org scope, with NO forced relationship to the current
470
- * user — the issue counterpart of the PR search, and the read to use for "every issue in these repos matching
471
- * X" rather than "my issues".
472
- *
473
- * Why this and not {@link listIssuesPage}: that read is either bound to the user's own relationships
474
- * (account-wide) or routed through the SDK's repo-scoped read, whose over-limit recovery walk can spend up to
475
- * 128 sequential requests and still return an incomplete set. This one is a single request per page.
476
- *
477
- * Three parts of the contract worth reading before calling:
478
- *
479
- * - **Scope is mandatory.** Pass `repos`, `org`, or a user relationship (`authored`/`assigned`/`mentioned`).
480
- * `any-assignee`/`unassigned` do NOT scope anything — either alone matches every such issue on the host —
481
- * so a call carrying only those is refused (warning + `fetchFailed`).
482
- * - **Ordering is `criteria.sort`**, most-recently-updated-first when omitted. It is validated like every other
483
- * criterion (against `getSupportedFilters().issueSearch.sorts`) and refused rather than downgraded, and SOME
484
- * order is always requested — a "show the N most recent" policy at the provider's result ceiling is only
485
- * correct under a guaranteed one. Keep it fixed for the life of a pagination: a cursor is bound to the order
486
- * that produced it, and threading it under a different key is REFUSED (warning + `fetchFailed`) rather than
487
- * resumed into a differently-ordered set. To change the order, drop the cursor and read from the first page.
488
- * - **At the result ceiling the read SUCCEEDS.** It reports an omission carrying `totalCount` (how many
489
- * matched), `limit` (how many are reachable) and `sort` (the order that window was selected under) with
490
- * `recovery: 'none'`, so a consumer can say "19.240 matched, showing the 1.000 most recent" — naming the
491
- * order, since which 1.000 are reachable depends on it — and know not to offer a "load more". It never falls
492
- * back to a per-repository recovery walk.
493
- *
494
- * Check `getSupportedFilters().issueSearch` first: a provider with no filtered issue search reports empty
495
- * relationships (and this read refuses), and a criterion or sort key it can't express refuses the whole read
496
- * rather than serving a wider or differently-ordered result than asked for.
300
+ * Relationship filters. Repo-scoped reads combine members as provider query constraints (normally an
301
+ * intersection), so issue separate reads when the desired result is a union. Account-wide members form an
302
+ * exact OR union. Each path validates the whole set against its corresponding capability.
497
303
  */
498
- searchIssuesPage(options: {
499
- providerId: IntegrationIds;
500
- /**
501
- * Repositories to search. Combines with `org`; both constrain the same query.
502
- *
503
- * Both halves of a descriptor must reach the provider unchanged — see `org` — since a search names a
504
- * repository by its `namespace/name` path.
505
- */
506
- repos?: ProviderRepositoriesInput;
507
- /**
508
- * Organization/account to search. Combines with `repos`.
509
- *
510
- * Held to a STRICTER rule than the free-form criteria, which are sanitized: a scope name carrying a quote,
511
- * or an inner space or control character, is REFUSED (warning + `fetchFailed`), and the refusal names the
512
- * value. Leading and trailing whitespace and control characters are stripped and accepted, since removing
513
- * them cannot change which scope the query names.
514
- * The sanitized value may name a real but DIFFERENT org, whose result looks entirely normal. `''` means
515
- * "no org supplied" and falls through to the other scopes.
516
- */
517
- org?: string;
518
- criteria?: IssueSearchCriteria;
519
- /**
520
- * Requested 1-based page. This read is cursor-only, so without a `cursor` reaching page N costs O(N)
521
- * upstream requests; pass the previous page's cursor to make it exactly one.
522
- */
523
- page?: number;
524
- cursor?: string;
525
- /**
526
- * Page size PER RELATIONSHIP, not per page. Each requested relationship is its own provider query, so a
527
- * page of a 2-relationship search returns up to `2 × itemsPerPage` items before deduplication — and fewer
528
- * than that when the two overlap. `page.itemsPerPage` reports what actually came back, so size the UI off
529
- * that rather than off this. A provider may also cap it below what is asked for.
530
- */
531
- itemsPerPage?: number;
532
- forceSync?: boolean;
533
- connectionId?: string;
534
- /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
535
- domain?: string;
536
- }): Promise<ProviderPagedResult<IssueShape>>;
304
+ filters?: PullRequestFilter[];
537
305
  /**
538
- * How many issues MATCH each scope, without fetching any of them — the probe behind a "this will fetch ~N
539
- * issues" preview, and behind a live count next to a filter the user hasn't applied yet.
540
- *
541
- * Cheap by design: every scope that can share a request does, and no issue data crosses the wire (measured
542
- * against GitHub, 30 counts are a single rate-limit point). Still a network request per batch, so debounce and
543
- * cache it if it's driven from UI state.
544
- *
545
- * A separate method rather than a flag on {@link searchIssuesPage} because transferring zero issues is the
546
- * whole point: a `countOnly` read would hand back a paged result whose `items`/`cursor`/`hasMore` are all
547
- * meaningless.
306
+ * Account-wide only: include review-requested PRs when the provider's native "my PRs" query omits them.
307
+ * This extends the provider-native result; it is not a narrowing filter.
308
+ */
309
+ includeReviewRequested?: boolean;
310
+ /**
311
+ * Requested 1-based page. Without a `cursor` this may cost O(page) upstream requests on a cursor-only
312
+ * read (repo-scoped GitHub/GHE and account-wide providers that return continuations), which the facade
313
+ * drains internally.
314
+ */
315
+ page?: number;
316
+ /** Continuation from a prior page's `cursor`; supplying it costs exactly one upstream request per scope. */
317
+ cursor?: string;
318
+ /**
319
+ * Requested page size, honored on the repo-scoped path. The provider-defined account-wide read (no
320
+ * `repos`) takes no page size, so it is ignored there — `page.itemsPerPage` reports what was actually
321
+ * returned rather than echoing the request.
322
+ */
323
+ itemsPerPage?: number;
324
+ forceSync?: boolean;
325
+ connectionId?: string;
326
+ /**
327
+ * Explicit self-managed host domain. Used only when the requested connection has no configured domain;
328
+ * it must come from the trusted authentication configuration, not repository or remote data.
329
+ */
330
+ domain?: string;
331
+ /**
332
+ * Requests the lightweight row shape: everything except the per-row build-status rollup
333
+ * (`statusCheckRollupState`) and `commitCount`, which share one provider selection and are therefore
334
+ * dropped together. Set it on list/aggregate surfaces that read neither.
548
335
  *
549
- * Results are echoed under the caller's own `key`, so no positional matching is needed. Per-scope isolation is
550
- * the rule: a scope refused for its own reasons, or a batch that failed upstream, warns and drops only its own
551
- * scopes (with `fetchFailed` set) while every other count still comes back.
336
+ * The account-wide branch already requests this shape. A provider without a lightweight projection
337
+ * ignores the option, so it is a hint rather than a guarantee about which fields are present.
338
+ */
339
+ summary?: boolean;
340
+ }): Promise<ProviderPagedResult<PullRequestShape>>;
341
+ /**
342
+ * Pull requests matching structured criteria over a repository/organization or current-user relationship
343
+ * scope.
344
+ *
345
+ * This is a separate read from {@link listPullRequestsPage}: free text reaches the provider instead of filtering
346
+ * whichever rows happened to be loaded, and on GitHub/GHE every cursor-threaded page costs exactly one upstream
347
+ * request (Bitbucket Data Center spends one per repository × relationship facet it is still reading).
348
+ * `criteria.relationships` and `criteria.states` are OR sets, so `[closed, merged]` expresses the complete
349
+ * terminal set and `[Author, Assignee, ReviewRequested]` matches the visible PR list without falling back to
350
+ * GitHub's mismatched `involves:@me`. Omit relationships only with a repository/organization scope to search
351
+ * every PR there.
352
+ *
353
+ * **Ordering is `criteria.sort`**, most-recently-updated-first when omitted. It is validated like every other
354
+ * criterion — a key not in `getSupportedFilters().pullRequestSearch.sorts` refuses the whole read rather than
355
+ * falling back, because at a bounded result window another order reaches another subset. The page is a union of
356
+ * the provider's relationship × state facets, so it is re-ordered as a whole rather than served as concatenated
357
+ * per-facet runs. The order holds within a page, not across pages: each facet advances by its own continuation, so
358
+ * a later page can hold a row that sorts before the last row of an earlier one — sort the accumulated rows when a
359
+ * surface shows several pages as one list. Changing the sort invalidates a threaded cursor (it is part of the
360
+ * cursor's fingerprint, alongside the text and the scope); drop the cursor when you change the order.
361
+ *
362
+ * If the provider's result ceiling is reached, the request still succeeds and carries a warning omission with
363
+ * `totalCount`, `limit`, `sort`, and `recovery: 'none'`. `totalCount` is the largest provider-reported
364
+ * pre-ceiling facet count, not the reachable or returned row count; this mirrors the per-search ceiling's own
365
+ * unit.
366
+ *
367
+ * **Azure DevOps Server** differs in how it gets there, because its pull request API can't filter by text, date or
368
+ * draft: the first page drains every facet (up to 1,000 rows each) and later pages are served from that drain,
369
+ * so a first page can cost many requests and a continuation none. A continuation whose drain expired is refused;
370
+ * restart without the cursor. `itemsPerPage` sizes the whole page, not a
371
+ * facet. Past a facet's drain bound the page is `truncated` with no `totalCount`. Scope names with spaces or
372
+ * quotes are accepted there, since they reach the provider as encoded URL segments. See
373
+ * `docs/integrations.md` §9.
374
+ *
375
+ * Check `getSupportedFilters().pullRequestSearch` before calling. A provider that reports no relationships
376
+ * refuses the read rather than returning a page that never honored the criteria or scope.
377
+ */
378
+ searchPullRequestsPage(options: {
379
+ providerId: IntegrationIds;
380
+ /**
381
+ * Repository descriptors that bound the search; ids cannot name provider search qualifiers.
552
382
  *
553
- * `count: undefined` means the provider didn't report one — NOT zero, which is a real answer. Render the
554
- * difference: showing an unknown count as 0 tells the user a filter matches nothing when it may match
555
- * thousands. A provider that can't count at all (only GitHub/GHE can today) refuses the probe outright rather
556
- * than returning fabricated numbers.
383
+ * Both halves of a descriptor must reach the provider unchanged — see `org` — since a search names a
384
+ * repository by its `namespace/name` path.
385
+ */
386
+ repos?: ProviderRepositoriesInput;
387
+ /**
388
+ * Organization/account that bounds the search.
389
+ *
390
+ * Held to a STRICTER rule than the free-form `criteria.text`, which is sanitized: a scope name carrying a
391
+ * quote, or an inner space or control character, is REFUSED (warning + `fetchFailed`), and the refusal
392
+ * names the value — except on a provider whose scope names never enter a query string (Azure DevOps
393
+ * Server), where only blank names and control characters are. Leading and trailing whitespace and control characters are stripped and accepted,
394
+ * since removing them cannot change which scope the query names. Sanitizing a scope would answer the wrong question — the sanitized value may name a real but
395
+ * DIFFERENT organization, whose result looks entirely normal. Pass the name exactly as the provider spells
396
+ * it; `''` means "no org supplied" and falls through to the other scopes.
557
397
  */
558
- countIssues(options: {
559
- providerId: IntegrationIds;
560
- /** Each needs its own scope, and each requested relationship its own entry — see {@link IssueCountScope}. */
561
- scopes: readonly IssueCountScope[];
562
- connectionId?: string;
563
- /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
564
- domain?: string;
565
- }): Promise<ProviderResult<IssueCountResult>>;
398
+ org?: string;
399
+ criteria?: PullRequestSearchCriteria;
400
+ /** Cursor-only: without a cursor, reaching page N costs O(N) upstream requests. */
401
+ page?: number;
402
+ cursor?: string;
566
403
  /**
567
- * Resolves several issues BY COORDINATE — `(owner, repo, number)` — in one request.
404
+ * Page size PER RELATIONSHIP × STATE facet, not per page. Each facet is its own aliased provider query —
405
+ * one axis more than {@link searchIssuesPage}'s per-relationship fan-out — so a page of a 3-relationship,
406
+ * 2-state search returns up to `6 × itemsPerPage` items before deduplication, and fewer than that where
407
+ * the facets overlap. Deduplication does NOT bring the page back to this size: it removes only the rows the
408
+ * facets share. `page.itemsPerPage` reports what actually came back, so size the UI off that rather than
409
+ * off this. A provider may also cap it below what is asked for. Azure DevOps Server is the exception: it
410
+ * serves one merged page, so there this is the page size (at most 100).
411
+ */
412
+ itemsPerPage?: number;
413
+ forceSync?: boolean;
414
+ connectionId?: string;
415
+ /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
416
+ domain?: string;
417
+ /**
418
+ * Requests the lightweight row shape: identity, body, author, repository, branch refs and stack info,
419
+ * without review, check or diff statistics. It also replaces the flat per-facet default page size with a
420
+ * fixed budget shared across the search's ACTIVE facets, so with up to three of them it raises the page
421
+ * and from four on it LOWERS it — measured against GitHub, a 100-row budget versus a flat 30 each.
568
422
  *
569
- * The read for "which issue does this branch name reference", which is an IDENTITY question rather than a
570
- * search. Emulating it by paging a scoped list and matching the identifier cannot prove absence without
571
- * walking the whole scope, so a miss stays unproven, uncacheable, and repeats its whole budget on every pass.
572
- * This answers it in one request per chunk, and a miss is final.
423
+ * A provider without a lightweight projection ignores it and returns its usual shape, so this is a hint
424
+ * rather than a contract about which fields are present.
425
+ */
426
+ summary?: boolean;
427
+ }): Promise<ProviderPagedResult<PullRequestShape>>;
428
+ listIssuesPage(options: {
429
+ providerId: IntegrationIds;
430
+ repos?: ProviderRepositoriesInput;
431
+ /**
432
+ * Narrows the account-wide read (no `repos`) to one org/account, and `project` to one project within it.
433
+ * Only a git host with a project tier (Azure DevOps) can scope this server-side; for any other provider
434
+ * either option is rejected with a warning + `fetchFailed` rather than silently returning an unscoped
435
+ * list. Ignored when `repos` is supplied, since those repos are already the scope.
436
+ */
437
+ org?: string;
438
+ project?: string;
439
+ /**
440
+ * Narrows to the requested relationship(s), validated against `getSupportedFilters().issues` on the
441
+ * repo-scoped path and `.issuesAccountWide` on the account-wide one.
573
442
  *
574
- * Results are echoed under the caller's own `key`, so no positional matching is needed. Per-target isolation
575
- * is the rule: a chunk that fails upstream warns and drops only its own targets (with `fetchFailed` set) while
576
- * every other target still answers.
443
+ * On the account-wide path this REPLACES the provider's own definition of "my issues" — GitHub/GHE
444
+ * authored + assigned + mentioned, Azure assigned + authored, and GitLab assigned-to-me — so
445
+ * `[Assignee]` gets `assignee:@me` semantics wherever it's expressible. Narrowing must happen here rather
446
+ * than on the returned page: the excluded items still counted toward the provider's paging, so filtering
447
+ * afterward leaves `items` describing a different result set than `hasMore`/`cursor`.
577
448
  *
578
- * `issue: undefined` means PROVEN ABSENT — the issue does not exist, or is not visible to this connection —
579
- * and is safe to cache. A target whose chunk failed is NOT returned at all, so the two are distinguishable;
580
- * caching a failure as an absence is exactly the bug this distinction prevents. GitHub/GHE only: a provider
581
- * that cannot batch refuses outright rather than degrading into N requests behind the caller's back.
449
+ * A set the provider can't express server-side is refused whole (warning + `fetchFailed`), never widened.
582
450
  */
583
- getIssuesBatch(options: {
584
- providerId: IntegrationIds;
585
- /** Each `key` must be unique — a duplicate refuses the whole call, since keys identify results. */
586
- targets: readonly IssueBatchTarget[];
587
- connectionId?: string;
588
- /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
589
- domain?: string;
590
- }): Promise<ProviderResult<IssueBatchResult>>;
451
+ filters?: IssueFilter[];
452
+ /** Broadens to every assignee. On account-wide reads it contradicts `filters`, so passing both is refused. */
453
+ includeAllAssignees?: boolean;
591
454
  /**
592
- * Resolves one issue-tracker issue by key within a resource — the tracker counterpart of
593
- * {@link getIssuesBatch}, which cannot serve one.
594
- *
595
- * `issue: undefined` is a proven absence and may be cached. A failed read returns no item and sets
596
- * `fetchFailed`. `resourceId` is required and trusted; Jira also requires the resource's site URL so the result
597
- * retains its browser link. The read performs no resource discovery.
455
+ * How to order the page, as `field:direction` (e.g. `updated:desc`, `created:asc`). Omitted orders
456
+ * most-recently-updated-first wherever the provider can express it — this facade's default, not the
457
+ * provider's, which differ from each other.
458
+ *
459
+ * Validated against `getSupportedFilters().issueSorts` when `repos` is supplied and
460
+ * `.issueSortsAccountWide` when it isn't, and refused (warning + `fetchFailed`) rather than downgraded: at
461
+ * the provider's reachable window another order is another subset, so a silently different one is
462
+ * indistinguishable from the one asked for. Keep it fixed across a pagination.
463
+ *
464
+ * With SEVERAL repositories/projects the page is a merge of one query each, so only a key a normalized
465
+ * issue carries can be honored — `priority`, `dueDate` and `resolved` are refused there even where the
466
+ * provider supports them on a single scope. The order applies within a page; across pages it is per scope.
467
+ */
468
+ sort?: IssueSorting;
469
+ /**
470
+ * Requested 1-based page. Without a `cursor` this may cost O(page) upstream requests on cursor-backed
471
+ * reads such as repo-scoped GitHub/GHE; aggregate single-page account-wide reads remain O(1).
472
+ */
473
+ page?: number;
474
+ /** Continuation from a prior page's `cursor`; supplying it costs exactly one upstream request per scope. */
475
+ cursor?: string;
476
+ /**
477
+ * Page size PER QUERY, not per page. A page is a merge of one query per scope (repo-scoped) or per
478
+ * relationship category (account-wide GitHub: authored/assigned/mentioned), so it can return up to
479
+ * `N × itemsPerPage` items before deduplication. `page.itemsPerPage` reports what actually came back, so
480
+ * size the UI off that rather than off this. Account-wide GitLab, Azure and Linear reads ignore it and
481
+ * drain with their own bounds.
482
+ */
483
+ itemsPerPage?: number;
484
+ forceSync?: boolean;
485
+ connectionId?: string;
486
+ /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
487
+ domain?: string;
488
+ }): Promise<ProviderPagedResult<IssueShape>>;
489
+ /**
490
+ * Issues matching structured criteria over a repository/org scope, with NO forced relationship to the current
491
+ * user — the issue counterpart of the PR search, and the read to use for "every issue in these repos matching
492
+ * X" rather than "my issues".
493
+ *
494
+ * Why this and not {@link listIssuesPage}: that read is either bound to the user's own relationships
495
+ * (account-wide) or routed through the SDK's repo-scoped read, whose over-limit recovery walk can spend up to
496
+ * 128 sequential requests and still return an incomplete set. This one is a single request per page.
497
+ *
498
+ * Three parts of the contract worth reading before calling:
499
+ *
500
+ * - **Scope is mandatory.** Pass `repos`, `org`, or a user relationship (`authored`/`assigned`/`mentioned`).
501
+ * `any-assignee`/`unassigned` do NOT scope anything — either alone matches every such issue on the host —
502
+ * so a call carrying only those is refused (warning + `fetchFailed`).
503
+ * - **Ordering is `criteria.sort`**, most-recently-updated-first when omitted. It is validated like every other
504
+ * criterion (against `getSupportedFilters().issueSearch.sorts`) and refused rather than downgraded, and SOME
505
+ * order is always requested — a "show the N most recent" policy at the provider's result ceiling is only
506
+ * correct under a guaranteed one. Keep it fixed for the life of a pagination: a cursor is bound to the order
507
+ * that produced it, and threading it under a different key is REFUSED (warning + `fetchFailed`) rather than
508
+ * resumed into a differently-ordered set. To change the order, drop the cursor and read from the first page.
509
+ * - **At the result ceiling the read SUCCEEDS.** It reports an omission carrying `totalCount` (how many
510
+ * matched), `limit` (how many are reachable) and `sort` (the order that window was selected under) with
511
+ * `recovery: 'none'`, so a consumer can say "19.240 matched, showing the 1.000 most recent" — naming the
512
+ * order, since which 1.000 are reachable depends on it — and know not to offer a "load more". It never falls
513
+ * back to a per-repository recovery walk. A provider that can prove the ceiling was reached without counting
514
+ * past it (Azure DevOps Server, at 20,000) omits `totalCount`, so render the limit alone. An Azure DevOps Server
515
+ * that refuses the match set even with the bounded query fails the page instead (warning + `fetchFailed`),
516
+ * while its count still reports `exceedsProviderLimit`; narrow the search.
517
+ *
518
+ * On **Azure DevOps Server** every relationship is one WIQL query over one collection (`org`, or the
519
+ * repositories' collection), so `itemsPerPage` sizes the whole page. Continuations page through the ids the
520
+ * first page queried while the pagination keeps reading; one whose ids have expired is refused, and the read
521
+ * must restart without the cursor. See `docs/integrations.md` §9.
522
+ *
523
+ * Check `getSupportedFilters().issueSearch` first: a provider with no filtered issue search reports empty
524
+ * relationships (and this read refuses), and a criterion or sort key it can't express refuses the whole read
525
+ * rather than serving a wider or differently-ordered result than asked for.
526
+ */
527
+ searchIssuesPage(options: {
528
+ providerId: IntegrationIds;
529
+ /**
530
+ * Repositories to search. Combines with `org`; both constrain the same query.
598
531
  *
599
- * Jira and Linear only. Trello refuses: its single-issue read falls back to a capped board scan for a numeric
600
- * identifier, so it cannot prove absence.
532
+ * Both halves of a descriptor must reach the provider unchanged — see `org` — since a search names a
533
+ * repository by its `namespace/name` path.
534
+ */
535
+ repos?: ProviderRepositoriesInput;
536
+ /**
537
+ * Organization/account to search. Combines with `repos`.
538
+ *
539
+ * Held to a STRICTER rule than the free-form criteria, which are sanitized: a scope name carrying a quote,
540
+ * or an inner space or control character, is REFUSED (warning + `fetchFailed`), and the refusal names the
541
+ * value — except on Azure DevOps Server, whose scope names never enter a query string, where only blank
542
+ * names and control characters are. Leading and trailing whitespace and control characters are stripped and accepted, since removing
543
+ * them cannot change which scope the query names.
544
+ * The sanitized value may name a real but DIFFERENT org, whose result looks entirely normal. `''` means
545
+ * "no org supplied" and falls through to the other scopes.
546
+ */
547
+ org?: string;
548
+ criteria?: IssueSearchCriteria;
549
+ /**
550
+ * Requested 1-based page. This read is cursor-only, so without a `cursor` reaching page N costs O(N)
551
+ * upstream requests; pass the previous page's cursor to make it exactly one.
552
+ */
553
+ page?: number;
554
+ cursor?: string;
555
+ /**
556
+ * Page size PER RELATIONSHIP, not per page. Each requested relationship is its own provider query, so a
557
+ * page of a 2-relationship search returns up to `2 × itemsPerPage` items before deduplication — and fewer
558
+ * than that when the two overlap. `page.itemsPerPage` reports what actually came back, so size the UI off
559
+ * that rather than off this. A provider may also cap it below what is asked for.
560
+ */
561
+ itemsPerPage?: number;
562
+ forceSync?: boolean;
563
+ connectionId?: string;
564
+ /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
565
+ domain?: string;
566
+ }): Promise<ProviderPagedResult<IssueShape>>;
567
+ /**
568
+ * How many issues MATCH each scope, without fetching any of them — the probe behind a "this will fetch ~N
569
+ * issues" preview, and behind a live count next to a filter the user hasn't applied yet.
570
+ *
571
+ * Cheap by design: every scope that can share a request does, and no issue data crosses the wire (measured
572
+ * against GitHub, 30 counts are a single rate-limit point). Still a network request per batch, so debounce and
573
+ * cache it if it's driven from UI state.
574
+ *
575
+ * A separate method rather than a flag on {@link searchIssuesPage} because transferring zero issues is the
576
+ * whole point: a `countOnly` read would hand back a paged result whose `items`/`cursor`/`hasMore` are all
577
+ * meaningless.
578
+ *
579
+ * Results are echoed under the caller's own `key`, so no positional matching is needed. Per-scope isolation is
580
+ * the rule: a scope refused for its own reasons, or a batch that failed upstream, warns and drops only its own
581
+ * scopes (with `fetchFailed` set) while every other count still comes back.
582
+ *
583
+ * `count: undefined` means the provider didn't report one — NOT zero, which is a real answer. Render the
584
+ * difference: showing an unknown count as 0 tells the user a filter matches nothing when it may match
585
+ * thousands. A provider that can't count at all (only GitHub/GHE and Azure DevOps Server can today) refuses the
586
+ * probe outright rather than returning fabricated numbers.
587
+ */
588
+ countIssues(options: {
589
+ providerId: IntegrationIds;
590
+ /** Each needs its own scope, and each requested relationship its own entry — see {@link IssueCountScope}. */
591
+ scopes: readonly IssueCountScope[];
592
+ connectionId?: string;
593
+ /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
594
+ domain?: string;
595
+ }): Promise<ProviderResult<IssueCountResult>>;
596
+ /**
597
+ * Resolves several issues BY COORDINATE — `(owner, repo, number)` — in one request.
598
+ *
599
+ * The read for "which issue does this branch name reference", which is an IDENTITY question rather than a
600
+ * search. Emulating it by paging a scoped list and matching the identifier cannot prove absence without
601
+ * walking the whole scope, so a miss stays unproven, uncacheable, and repeats its whole budget on every pass.
602
+ * This answers it in one request per chunk, and a miss is final.
603
+ *
604
+ * Results are echoed under the caller's own `key`, so no positional matching is needed. Per-target isolation
605
+ * is the rule: a chunk that fails upstream warns and drops only its own targets (with `fetchFailed` set) while
606
+ * every other target still answers.
607
+ *
608
+ * `issue: undefined` means PROVEN ABSENT — the issue does not exist, or is not visible to this connection —
609
+ * and is safe to cache. A target whose chunk failed is NOT returned at all, so the two are distinguishable;
610
+ * caching a failure as an absence is exactly the bug this distinction prevents. GitHub/GHE only: a provider
611
+ * that cannot batch refuses outright rather than degrading into N requests behind the caller's back.
612
+ */
613
+ getIssuesBatch(options: {
614
+ providerId: IntegrationIds;
615
+ /** Each `key` must be unique — a duplicate refuses the whole call, since keys identify results. */
616
+ targets: readonly IssueBatchTarget[];
617
+ connectionId?: string;
618
+ /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
619
+ domain?: string;
620
+ }): Promise<ProviderResult<IssueBatchResult>>;
621
+ /**
622
+ * Resolves one issue-tracker issue by key within a resource — the tracker counterpart of
623
+ * {@link getIssuesBatch}, which cannot serve one.
624
+ *
625
+ * `issue: undefined` is a proven absence and may be cached. A failed read returns no item and sets
626
+ * `fetchFailed`. `resourceId` is required and trusted; Jira Cloud also requires the resource's site URL so the
627
+ * result retains its browser link. The read performs no resource discovery.
628
+ *
629
+ * Jira (Cloud and Data Center) and Linear only. Trello refuses: its single-issue read falls back to a capped
630
+ * board scan for a numeric identifier, so it cannot prove absence.
631
+ *
632
+ * Jira Data Center is addressed per host and, unlike the paged reads, this one never falls back to the primary
633
+ * connection: it requires a `domain` or a `connectionId` with a configured host and refuses otherwise, since two
634
+ * self-hosted instances routinely issue the same keys and a cached absence must name the host it was proven on.
635
+ */
636
+ getTrackerIssue(options: {
637
+ providerId: IntegrationIds;
638
+ /**
639
+ * Provider resource ID for the Atlassian site or Linear workspace. For Jira Data Center it is the host, the
640
+ * instance's single resource as `listOrgs` reports it, and must name the host the read resolves to.
601
641
  */
602
- getTrackerIssue(options: {
603
- providerId: IntegrationIds;
604
- /** Provider resource ID for the Atlassian site or Linear workspace. */
605
- resourceId: string;
606
- /** Jira site URL from resource discovery. Required for Jira so the result retains a browser link. */
607
- resourceUrl?: string;
608
- /** The provider's own key, e.g. `ABC-123`. Not a number. */
609
- key: string;
610
- connectionId?: string;
611
- }): Promise<ProviderResult<TrackerIssueResult>>;
642
+ resourceId: string;
612
643
  /**
613
- * How many pull requests match each scope, fetching none of them — the PR twin of {@link countIssues}, behind a
614
- * "this will fetch ~N pull requests" preview and a live count next to an unapplied filter. Same cost model,
615
- * per-scope isolation, `key`-echo, and `count: undefined` ≠ zero rule as the issue count; GitHub/GHE only.
644
+ * Jira site URL from resource discovery. Required for Jira Cloud so the result retains a browser link; Jira
645
+ * Data Center builds it from the connection's own base URL.
646
+ */
647
+ resourceUrl?: string;
648
+ /** The provider's own key, e.g. `ABC-123`. Not a number. */
649
+ key: string;
650
+ connectionId?: string;
651
+ /**
652
+ * Self-managed tracker host; see {@link ProviderSweepTarget.domain}. Ignored for the cloud trackers. Required
653
+ * for Jira Data Center unless `connectionId` names a configured host — see above.
654
+ */
655
+ domain?: string;
656
+ }): Promise<ProviderResult<TrackerIssueResult>>;
657
+ /**
658
+ * How many pull requests match each scope — the PR twin of {@link countIssues}, behind a "this will fetch ~N pull
659
+ * requests" preview and a live count next to an unapplied filter. Same per-scope isolation, `key`-echo, and
660
+ * `count: undefined` ≠ zero rule as the issue count; GitHub/GHE, Bitbucket Data Center and Azure DevOps Server.
661
+ *
662
+ * The one PR-specific difference: on GitHub/GHE a scope's `states` are counted as independent searches, so the
663
+ * reported count is the LARGEST of them (the same total {@link searchPullRequestsPage} surfaces), not their sum.
664
+ * Several states in one scope are therefore fine; only several relationships are refused — one relationship per
665
+ * scope, see {@link PullRequestCountScope}.
666
+ *
667
+ * Bitbucket Data Center has no count query: it counts by reading each facet's first page, so a count there costs
668
+ * requests rather than none, and one past that page comes back as a floor with `lowerBound: true`. Reading lets it
669
+ * deduplicate the rows, so it counts the exact union of the states AND of several relationships in one scope,
670
+ * matching what the search it previews returns.
671
+ *
672
+ * Azure DevOps Server counts from the same drain its search pages through (reusing one its search read in the
673
+ * last minute), so its count is the union of the states — for disjoint states their sum — and costs requests too.
674
+ */
675
+ countPullRequests(options: {
676
+ providerId: IntegrationIds;
677
+ scopes: readonly PullRequestCountScope[];
678
+ connectionId?: string;
679
+ /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
680
+ domain?: string;
681
+ }): Promise<ProviderResult<PullRequestCountResult>>;
682
+ listIssueTrackerIssuesPage(options: {
683
+ providerId: IntegrationIds;
684
+ org?: string;
685
+ project?: string;
686
+ filters?: IssueFilter[];
687
+ includeAllAssignees?: boolean;
688
+ /**
689
+ * How to order the issues, as `field:direction`. Omitted orders most-recently-updated-first where the
690
+ * tracker can express it; validated against `getSupportedFilters().issueSorts` and refused rather than
691
+ * downgraded. A page spanning several projects is a merge, so a key no normalized issue carries
692
+ * (`priority`, `dueDate`, `resolved`) is refused there.
616
693
  *
617
- * The one PR-specific difference: a scope's `states` are counted as independent searches, so the reported count
618
- * is the LARGEST of them (the same total {@link searchPullRequestsPage} surfaces), not their sum. Several states
619
- * in one scope are therefore fine; only several relationships are refused — one relationship per scope, see
620
- * {@link PullRequestCountScope}.
694
+ * Safe to change between pages, unlike the git-host reads: this cursor windows PROJECTS and drains each in
695
+ * full, so which projects a round covers doesn't depend on how their issues are ordered.
621
696
  */
622
- countPullRequests(options: {
623
- providerId: IntegrationIds;
624
- scopes: readonly PullRequestCountScope[];
625
- connectionId?: string;
626
- /** Self-managed host domain fallback; see {@link ProviderSweepTarget.domain}. */
627
- domain?: string;
628
- }): Promise<ProviderResult<PullRequestCountResult>>;
629
- /** Issue trackers are cloud-only, so this read takes no `domain`. */
630
- listIssueTrackerIssuesPage(options: {
631
- providerId: IntegrationIds;
632
- org?: string;
633
- project?: string;
634
- filters?: IssueFilter[];
635
- includeAllAssignees?: boolean;
636
- /**
637
- * How to order the issues, as `field:direction`. Omitted orders most-recently-updated-first where the
638
- * tracker can express it; validated against `getSupportedFilters().issueSorts` and refused rather than
639
- * downgraded. A page spanning several projects is a merge, so a key no normalized issue carries
640
- * (`priority`, `dueDate`, `resolved`) is refused there.
641
- *
642
- * Safe to change between pages, unlike the git-host reads: this cursor windows PROJECTS and drains each in
643
- * full, so which projects a round covers doesn't depend on how their issues are ordered.
644
- */
645
- sort?: IssueSorting;
646
- forceSync?: boolean;
647
- page?: number;
648
- /**
649
- * Opaque continuation from a prior result. It can bundle the next untouched project window with failed
650
- * discovery/project retries and already-emitted project identities, so it is not equivalent to `page`.
651
- * Thread it back verbatim. A retry-only cursor can remain when `hasMore` is false; reusing that cursor is
652
- * an explicit manual retry, while `hasMore` represents automatic forward progress only.
653
- */
654
- cursor?: string;
655
- /**
656
- * Page size in PROJECTS, not issues (default 20): these providers have no cross-project issue cursor, so
657
- * a page is a window of projects, each drained in full. Supplying it (or `page`/`cursor`) opts into
658
- * pagination; omitting all three aggregates every matched project in one page.
659
- */
660
- itemsPerPage?: number;
661
- connectionId?: string;
662
- }): Promise<ProviderPagedResult<IssueShape>>;
663
- sweepPullRequests(options?: PullRequestSweepOptions): Promise<ProviderSweepResult<PullRequestShape>>;
664
- sweepClosedPullRequests(options?: ClosedPullRequestSweepOptions): Promise<ProviderSweepResult<PullRequestShape>>;
665
- broadenIssues(options: {
666
- orgs: ProviderBroadenOrg[];
667
- /**
668
- * Requested 1-based page. Without a `cursor` the fan-out is re-run once per prior page (O(page) rounds),
669
- * since a per-org cursor bundle is the only way to address a later page.
670
- */
671
- page?: number;
672
- /** Continuation from a prior page's `cursor`; supplying it runs exactly one fan-out round. */
673
- cursor?: string;
674
- forceSync?: boolean;
675
- }): Promise<ProviderBroadenResult<IssueShape>>;
676
- resolveRepository(options: {
677
- providerId?: IntegrationIds;
678
- remoteUrl: string;
679
- host?: string;
680
- connectionId?: string;
681
- /**
682
- * Explicit self-managed host domain used to select the integration instance. It must come from trusted
683
- * authentication configuration. Without it, the host parsed from `remoteUrl` is only a resolution
684
- * candidate: the facade proceeds only when that host matches a configured integration, so repository
685
- * data cannot select credentials for an arbitrary host.
686
- */
687
- domain?: string;
688
- }): Promise<ResolveRepositoryResult>;
697
+ sort?: IssueSorting;
698
+ forceSync?: boolean;
699
+ page?: number;
700
+ /**
701
+ * Opaque continuation from a prior result. It can bundle the next untouched project window with failed
702
+ * discovery/project retries and already-emitted project identities, so it is not equivalent to `page`.
703
+ * Thread it back verbatim. A retry-only cursor can remain when `hasMore` is false; reusing that cursor is
704
+ * an explicit manual retry, while `hasMore` represents automatic forward progress only.
705
+ */
706
+ cursor?: string;
707
+ /**
708
+ * Page size in PROJECTS, not issues (default 20): these providers have no cross-project issue cursor, so
709
+ * a page is a window of projects, each drained in full. Supplying it (or `page`/`cursor`) opts into
710
+ * pagination; omitting all three aggregates every matched project in one page.
711
+ */
712
+ itemsPerPage?: number;
713
+ connectionId?: string;
714
+ /**
715
+ * Self-managed tracker host domain fallback; see {@link ProviderSweepTarget.domain}. Ignored for the
716
+ * cloud trackers, which have a single canonical host.
717
+ */
718
+ domain?: string;
719
+ }): Promise<ProviderPagedResult<IssueShape>>;
720
+ sweepPullRequests(options?: PullRequestSweepOptions): Promise<ProviderSweepResult<PullRequestShape>>;
721
+ sweepClosedPullRequests(options?: ClosedPullRequestSweepOptions): Promise<ProviderSweepResult<PullRequestShape>>;
722
+ broadenIssues(options: {
723
+ orgs: ProviderBroadenOrg[];
724
+ /**
725
+ * Requested 1-based page. Without a `cursor` the fan-out is re-run once per prior page (O(page) rounds),
726
+ * since a per-org cursor bundle is the only way to address a later page.
727
+ */
728
+ page?: number;
729
+ /** Continuation from a prior page's `cursor`; supplying it runs exactly one fan-out round. */
730
+ cursor?: string;
731
+ forceSync?: boolean;
732
+ }): Promise<ProviderBroadenResult<IssueShape>>;
733
+ resolveRepository(options: {
734
+ providerId?: IntegrationIds;
735
+ remoteUrl: string;
736
+ host?: string;
737
+ connectionId?: string;
738
+ /**
739
+ * Explicit self-managed host domain used to select the integration instance. It must come from trusted
740
+ * authentication configuration. Without it, the host parsed from `remoteUrl` is only a resolution
741
+ * candidate: the facade proceeds only when that host matches a configured integration, so repository
742
+ * data cannot select credentials for an arbitrary host.
743
+ */
744
+ domain?: string;
745
+ }): Promise<ResolveRepositoryResult>;
689
746
  }
690
- export {};
747
+ //#endregion
691
748
  //# sourceMappingURL=manager.d.ts.map