ryco-cli 0.1.4 → 0.1.6

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 (182) hide show
  1. package/README.md +50 -2
  2. package/dist/{AzureDevOpsSourceControlProvider-BEDcpXP2.cjs → AzureDevOpsSourceControlProvider-6holYS_D.cjs} +2 -2
  3. package/dist/{AzureDevOpsSourceControlProvider-CajSnvPV.mjs → AzureDevOpsSourceControlProvider-CC2_COxP.mjs} +3 -3
  4. package/dist/{BitbucketSourceControlProvider-Ryxef3zA.mjs → BitbucketSourceControlProvider-CYR_BD1d.mjs} +10 -3
  5. package/dist/{BitbucketSourceControlProvider-Ca-sxPgI.cjs → BitbucketSourceControlProvider-a0IsNFyG.cjs} +9 -2
  6. package/dist/{BunPTY-B_vjRZN4.mjs → BunPTY-BWhtEA50.mjs} +1 -1
  7. package/dist/{ClaudeDriver-CxOmXtj3.cjs → ClaudeDriver-C6tQNEWO.cjs} +12 -6
  8. package/dist/{ClaudeDriver-oGrpXzWa.mjs → ClaudeDriver-D3nsxwH9.mjs} +13 -7
  9. package/dist/{CodexDriver-DbICyzcH.mjs → CodexDriver-BILrJG8o.mjs} +14 -7
  10. package/dist/{CodexDriver-C1I8AGHl.cjs → CodexDriver-ms_YgFD7.cjs} +13 -6
  11. package/dist/{CodexTextGeneration-DV3LOkTX.mjs → CodexTextGeneration-BIKHl7E3.mjs} +4 -4
  12. package/dist/{CodexTextGeneration-Cr97QFv_.cjs → CodexTextGeneration-CHEgoANm.cjs} +3 -3
  13. package/dist/{CopilotDriver-GUpzG61v.cjs → CopilotDriver-B0--ZwIK.cjs} +14 -7
  14. package/dist/{CopilotDriver-Dt6azZQI.mjs → CopilotDriver-CmD3Ffyl.mjs} +15 -8
  15. package/dist/{CursorDriver-C3gFClL-.mjs → CursorDriver-CbeaIbdb.mjs} +5 -5
  16. package/dist/{CursorDriver-lhvplGt8.cjs → CursorDriver-DTVPXZ-R.cjs} +4 -4
  17. package/dist/{ForgejoSourceControlProvider-DTVWs_CM.mjs → ForgejoSourceControlProvider-DX6d9gvz.mjs} +3 -3
  18. package/dist/{ForgejoSourceControlProvider-2PTEgbVl.cjs → ForgejoSourceControlProvider-DwAog76b.cjs} +2 -2
  19. package/dist/{GitHubSourceControlProvider-Beu-58zB.cjs → GitHubSourceControlProvider-9lJFzjsu.cjs} +2 -2
  20. package/dist/{GitHubSourceControlProvider-BJmqP2K1.mjs → GitHubSourceControlProvider-C-LGwho3.mjs} +3 -3
  21. package/dist/{GitLabSourceControlProvider-CWnF37fR.mjs → GitLabSourceControlProvider-CkeT2aEx.mjs} +3 -3
  22. package/dist/{GitLabSourceControlProvider-CCHBNnen.cjs → GitLabSourceControlProvider-CvKA74lg.cjs} +2 -2
  23. package/dist/{Metrics-BCOc3Ml2.mjs → Metrics-6Xj17Se3.mjs} +94 -2
  24. package/dist/{Metrics-DNOriWhP.cjs → Metrics-CIW1QH7M.cjs} +128 -0
  25. package/dist/{NodePTY-_u3kQLvd.mjs → NodePTY-C_cR3Ayy.mjs} +1 -1
  26. package/dist/{OpenCodeDriver-i2DXhUaw.cjs → OpenCodeDriver-CXUsnl5o.cjs} +13 -7
  27. package/dist/{OpenCodeDriver-Cja8fkzJ.mjs → OpenCodeDriver-ClWtCk0j.mjs} +14 -8
  28. package/dist/{SourceControlProviderDiscoveryCatalog-DyPSXqm_.cjs → SourceControlProviderDiscoveryCatalog-_rg0mc1o.cjs} +99 -99
  29. package/dist/{SourceControlProviderDiscoveryCatalog-DoDSpZoa.mjs → SourceControlProviderDiscoveryCatalog-yMDer_Yh.mjs} +100 -100
  30. package/dist/bin.cjs +33888 -31768
  31. package/dist/bin.mjs +33869 -31750
  32. package/dist/client/assets/{AnimatedHeight-DCd3-Wey.js → AnimatedHeight-DgItDSis.js} +1 -1
  33. package/dist/client/assets/AppearanceSettings-BlsMFBvJ.js +1 -0
  34. package/dist/client/assets/BranchToolbar.logic-C_xHEt9C.js +1 -0
  35. package/dist/client/assets/ChatRightPanel-CThudBb1.js +188 -0
  36. package/dist/client/assets/ChatThreadRouteView-CV6ETYG5.js +1 -0
  37. package/dist/client/assets/CommandPaletteDialog-C_H7R8S5.js +1 -0
  38. package/dist/client/assets/CompositeRoot-DjnzUIwC.js +1 -0
  39. package/dist/client/assets/ConnectionsSettings-hArR4Oe3.js +1 -0
  40. package/dist/client/assets/DiagnosticsSettings-B340S_mq.js +1 -0
  41. package/dist/client/assets/DialogHandle-BJY7cHCV.js +1 -0
  42. package/dist/client/assets/{DialogRoot-BCS_qKVO.js → DialogRoot-Ej1FVk-_.js} +1 -1
  43. package/dist/client/assets/DialogTitle-H1yIMmA9.js +1 -0
  44. package/dist/client/assets/DialogTrigger-BHMq_K2G.js +1 -0
  45. package/dist/client/assets/DialogViewport-DvjAl76K.js +1 -0
  46. package/dist/client/assets/DraftChatThreadRouteView-pOkyeKPS.js +1 -0
  47. package/dist/client/assets/JetBrainsIcons-DTTF47I0.js +1 -0
  48. package/dist/client/assets/KeybindingsSettings-CW3RRi-7.js +7 -0
  49. package/dist/client/assets/McpServersSettings-dQ3BzOWY.js +6 -0
  50. package/dist/client/assets/NoActiveThreadState-DVHwrkCp.js +1 -0
  51. package/dist/client/assets/OpinionatedPluginsSettings-Cjj23Fs4.js +1 -0
  52. package/dist/client/assets/ProjectFavicon-TDP7HRfn.js +1 -0
  53. package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-Dqh8LlGG.js → ProviderUpdateLaunchNotification.logic-6TpFsmiI.js} +1 -1
  54. package/dist/client/assets/ProvidersSettingsPanel-D15EeWAq.js +1 -0
  55. package/dist/client/assets/{RedactedSensitiveText-Ddxd4ZX9.js → RedactedSensitiveText-BfoVjPsE.js} +1 -1
  56. package/dist/client/assets/RootAppShell-CWBPSA2w.js +12 -0
  57. package/dist/client/assets/SettingsDialog-oJCE5foT.js +2 -0
  58. package/dist/client/assets/SourceControlSettings-CPnlMxNm.js +1 -0
  59. package/dist/client/assets/ThreadStatusIndicators-B0leIJGD.js +1 -0
  60. package/dist/client/assets/{ThreadTerminalDrawer-BxuSy2xD.js → ThreadTerminalDrawer-COq2Fk17.js} +3 -3
  61. package/dist/client/assets/ThreadWorkspacePanel-qF9y6QT9.js +166 -0
  62. package/dist/client/assets/{alert-dialog-BwCq7-J2.js → alert-dialog-lMfKpG2t.js} +1 -1
  63. package/dist/client/assets/{chatThreadActions-DHwgLZQX.js → chatThreadActions-PPyTj_x0.js} +1 -1
  64. package/dist/client/assets/{clamp-Bj3CMoU0.js → clamp-JiD4IZ0Z.js} +1 -1
  65. package/dist/client/assets/clipboard-copy-CYBLSG2q.js +1 -0
  66. package/dist/client/assets/commandPaletteStore-uVfCD7zE.js +1 -0
  67. package/dist/client/assets/composerDraftStore-D12lUSfh.js +21 -0
  68. package/dist/client/assets/desktopUpdateAtoms-X6uM5SoD.js +2 -0
  69. package/dist/client/assets/{download-DchCbuiJ.js → download-DLBlpp4h.js} +1 -1
  70. package/dist/client/assets/{draft-input-Byd_iP54.js → draft-input-dLlVMl5P.js} +1 -1
  71. package/dist/client/assets/editorPreferences-BLeEBSD_.js +1 -0
  72. package/dist/client/assets/empty-DlLY-Hhj.js +1 -0
  73. package/dist/client/assets/{folder-open-CuS_UI1W.js → folder-open-DMjz0lpx.js} +1 -1
  74. package/dist/client/assets/{group-BlyMND_M.js → group-zDBPF7rR.js} +1 -1
  75. package/dist/client/assets/{index-R0mA-hZk.js → index-Dq8sT2lF.js} +2 -2
  76. package/dist/client/assets/{input-BQQgfZzY.js → input-B9-RWT56.js} +1 -1
  77. package/dist/client/assets/kbd-aeSsjiPI.js +1 -0
  78. package/dist/client/assets/{keybindings-BIa18Wmf.js → keybindings-Dx4Nc1vY.js} +1 -1
  79. package/dist/client/assets/{keyboard-BQYTddoX.js → keyboard-DDTWQkr0.js} +1 -1
  80. package/dist/client/assets/keyedQuery-Ds4OGhX2.js +0 -0
  81. package/dist/client/assets/main-C57RhHZ_.css +2 -0
  82. package/dist/client/assets/main-DxfpmoKJ.js +9 -0
  83. package/dist/client/assets/palette-BQcz-ZYV.js +1 -0
  84. package/dist/client/assets/play-QloDGe4R.js +1 -0
  85. package/dist/client/assets/plus-4Oy56d-3.js +1 -0
  86. package/dist/client/assets/projectAtoms-DUEBb7Zz.js +1 -0
  87. package/dist/client/assets/providerDriverMeta-Dwi6Zqgd.js +1 -0
  88. package/dist/client/assets/providerIconUtils-uhWb4bdg.js +47 -0
  89. package/dist/client/assets/radio-group-DHyQlLeX.js +1 -0
  90. package/dist/client/assets/{refresh-cw-DFCVsvMH.js → refresh-cw-DkBMGllm.js} +1 -1
  91. package/dist/client/assets/{resolveAriaLabelledBy-CdSYKkwq.js → resolveAriaLabelledBy-DDfIbj05.js} +1 -1
  92. package/dist/client/assets/rightPanelRouteSearch-DfuWVvXN.js +1 -0
  93. package/dist/client/assets/scale-BActunFu.js +1 -0
  94. package/dist/client/assets/scroll-area-D-YOUG02.js +1 -0
  95. package/dist/client/assets/separator-TInKeIDo.js +1 -0
  96. package/dist/client/assets/{server-B7ETA5io.js → server-BtEG3NAw.js} +1 -1
  97. package/dist/client/assets/session-logic-DNf1aXq_.js +4 -0
  98. package/dist/client/assets/settingsDialogStore-BINi7pdD.js +1 -0
  99. package/dist/client/assets/settingsLayout-D22Mm0u3.js +1 -0
  100. package/dist/client/assets/shallow-Dmd-gez1.js +1 -0
  101. package/dist/client/assets/{sidebar-VWf4R998.js → sidebar-DHwNQmWp.js} +1 -1
  102. package/dist/client/assets/skeleton-DWaac_qp.js +1 -0
  103. package/dist/client/assets/storeSelectors-Cx1IYPA4.js +1 -0
  104. package/dist/client/assets/threadSelectionStore-C0ig4405.js +1 -0
  105. package/dist/client/assets/toast-DE7a4wkW.js +1 -0
  106. package/dist/client/assets/toggle-BIW4AyPY.js +1 -0
  107. package/dist/client/assets/{toggle-group-D7mEwQCR.js → toggle-group-CnLjaHSL.js} +1 -1
  108. package/dist/client/assets/tokenModePresentation-BSYdIvBm.js +1 -0
  109. package/dist/client/assets/{trash-2-D0zhbiNO.js → trash-2-BI5xcbsm.js} +1 -1
  110. package/dist/client/assets/triangle-alert-DJef_Uvh.js +1 -0
  111. package/dist/client/assets/undo-2-DeZ2cMGS.js +1 -0
  112. package/dist/client/assets/useHandleNewThread-XB82O6SA.js +1 -0
  113. package/dist/client/assets/useLabelableId-DBAgv9qQ.js +1 -0
  114. package/dist/client/assets/useNavigate-B2tgshhW.js +1 -0
  115. package/dist/client/assets/useTheme-Dv42Z8uy.js +1 -0
  116. package/dist/client/assets/{vscode-icons-C1r6bNpj.js → vscode-icons-DM9qFoEr.js} +1 -1
  117. package/dist/client/assets/{wrench-DzrU49ry.js → wrench-je4QOyG-.js} +1 -1
  118. package/dist/client/assets/x-fI9snvD3.js +1 -0
  119. package/dist/client/index.html +1 -1
  120. package/dist/{collectUint8StreamText-Cgz3T1YG.mjs → collectUint8StreamText-C2z5Y8tF.mjs} +509 -135
  121. package/dist/{collectUint8StreamText-CgTEDbi7.cjs → collectUint8StreamText-TCG6xW_P.cjs} +514 -134
  122. package/dist/{makeManagedServerProvider-D43I_B9P.mjs → makeManagedServerProvider-BXO8QvzC.mjs} +2 -2
  123. package/dist/{makeManagedServerProvider-DRMA8nAp.cjs → makeManagedServerProvider-DPFw9gV_.cjs} +1 -1
  124. package/package.json +1 -1
  125. package/dist/client/assets/AppearanceSettings-pPltzbuu.js +0 -1
  126. package/dist/client/assets/BranchToolbar.logic-BUrYeNec.js +0 -1
  127. package/dist/client/assets/ChatRightPanel-Cy2c02Dt.js +0 -188
  128. package/dist/client/assets/ChatThreadRouteView-C93RPP7s.js +0 -1
  129. package/dist/client/assets/CommandPaletteDialog-D6t0Mkkl.js +0 -1
  130. package/dist/client/assets/CompositeRoot-C5GNdZws.js +0 -1
  131. package/dist/client/assets/ConnectionsSettings-qYzLbX7_.js +0 -1
  132. package/dist/client/assets/DialogHandle-C1Oxda1b.js +0 -1
  133. package/dist/client/assets/DialogTitle-R_4ZQbHx.js +0 -1
  134. package/dist/client/assets/DialogTrigger-ChuIKLi7.js +0 -1
  135. package/dist/client/assets/DialogViewport-Dq_9hdYC.js +0 -1
  136. package/dist/client/assets/DraftChatThreadRouteView-BwDNEWLP.js +0 -1
  137. package/dist/client/assets/JetBrainsIcons-CZi1rQn9.js +0 -1
  138. package/dist/client/assets/KeybindingsSettings-CEqFMcaP.js +0 -7
  139. package/dist/client/assets/McpServersSettings-Co1o7_0g.js +0 -6
  140. package/dist/client/assets/NoActiveThreadState-5VSVCJBv.js +0 -1
  141. package/dist/client/assets/OpinionatedPluginsSettings-BnDPa2E2.js +0 -1
  142. package/dist/client/assets/ProjectFavicon-CtqYuFQF.js +0 -1
  143. package/dist/client/assets/ProvidersSettingsPanel-BwDIEOF4.js +0 -1
  144. package/dist/client/assets/QueryClientProvider-B5z3RyQ9.js +0 -1
  145. package/dist/client/assets/RootAppShell-CThrOBqP.js +0 -12
  146. package/dist/client/assets/SettingsDialog-C-vm2P1q.js +0 -2
  147. package/dist/client/assets/SourceControlSettings-oK-xLUFA.js +0 -1
  148. package/dist/client/assets/ThreadStatusIndicators-6ASnD4_d.js +0 -1
  149. package/dist/client/assets/ThreadWorkspacePanel-C3S7Fjib.js +0 -166
  150. package/dist/client/assets/arrow-up-DUD3DBES.js +0 -1
  151. package/dist/client/assets/codexUsageLimits-Mjd2rHmE.js +0 -1
  152. package/dist/client/assets/commandPaletteStore-oFMPKPmp.js +0 -1
  153. package/dist/client/assets/composerDraftStore-DTMZbmmF.js +0 -21
  154. package/dist/client/assets/desktopUpdateReactQuery-DdRc1zr8.js +0 -2
  155. package/dist/client/assets/empty-CFWSIvUd.js +0 -1
  156. package/dist/client/assets/environmentApi-4U60qRO5.js +0 -1
  157. package/dist/client/assets/kbd-Dgp27U1W.js +0 -1
  158. package/dist/client/assets/main-Da7Z4Ig1.css +0 -2
  159. package/dist/client/assets/main-YXLWCEbb.js +0 -9
  160. package/dist/client/assets/mutation-B8SILYi_.js +0 -1
  161. package/dist/client/assets/plus-F__wNuW-.js +0 -1
  162. package/dist/client/assets/providerDriverMeta-BIPPb2w0.js +0 -1
  163. package/dist/client/assets/providerIconUtils-C54pAs0t.js +0 -46
  164. package/dist/client/assets/rightPanelRouteSearch-DweDTgju.js +0 -1
  165. package/dist/client/assets/scroll-area-CZPNMSSG.js +0 -1
  166. package/dist/client/assets/separator-ZLn_GZKy.js +0 -1
  167. package/dist/client/assets/session-logic-DOD1qizY.js +0 -4
  168. package/dist/client/assets/settingsDialogStore-DJNXaaZ-.js +0 -1
  169. package/dist/client/assets/settingsLayout-BaSDLd6v.js +0 -1
  170. package/dist/client/assets/skeleton-IoKKnfW9.js +0 -1
  171. package/dist/client/assets/storeSelectors-BL-4Ncd3.js +0 -1
  172. package/dist/client/assets/threadRoutes-a4QytG8s.js +0 -1
  173. package/dist/client/assets/threadSelectionStore-CgsIp6vR.js +0 -1
  174. package/dist/client/assets/toast-L2eWWYjv.js +0 -1
  175. package/dist/client/assets/toggle-oOk0T_MY.js +0 -1
  176. package/dist/client/assets/useHandleNewThread-DVTiX8Lz.js +0 -1
  177. package/dist/client/assets/useLabelableId-yw8wMwvn.js +0 -1
  178. package/dist/client/assets/useNavigate-CvKQXZa7.js +0 -1
  179. package/dist/client/assets/useTheme-C7Ji7x06.js +0 -1
  180. package/dist/client/assets/x-BQzUKGMv.js +0 -1
  181. package/dist/{NodeSqliteClient-BXy61fAd.mjs → NodeSqliteClient-A1TEgwj_.mjs} +1 -1
  182. package/dist/{NodeSqliteClient-homCO8-6.cjs → NodeSqliteClient-B5aDHbNc.cjs} +2 -2
@@ -346,7 +346,7 @@ const AdvertisedEndpointCompatibility = effect.Schema.Struct({
346
346
  hostedHttpsApp: AdvertisedEndpointHostedHttpsCompatibility,
347
347
  desktopApp: effect.Schema.Literals(["compatible", "unknown"])
348
348
  });
349
- effect.Schema.Struct({
349
+ const AdvertisedEndpoint = effect.Schema.Struct({
350
350
  id: TrimmedNonEmptyString,
351
351
  label: TrimmedNonEmptyString,
352
352
  provider: AdvertisedEndpointProvider,
@@ -1357,6 +1357,13 @@ const SourceControlRepositoryLookupInput = effect.Schema.Struct({
1357
1357
  repository: TrimmedNonEmptyString,
1358
1358
  cwd: effect.Schema.optional(TrimmedNonEmptyString)
1359
1359
  });
1360
+ const SourceControlRepositorySearchInput = effect.Schema.Struct({
1361
+ provider: SourceControlProviderKind,
1362
+ query: effect.Schema.optional(effect.Schema.String),
1363
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1364
+ limit: effect.Schema.optional(PositiveInt)
1365
+ });
1366
+ const SourceControlRepositorySearchResult = effect.Schema.Struct({ repositories: effect.Schema.Array(SourceControlRepositoryInfo) });
1360
1367
  const SourceControlCloneRepositoryInput = effect.Schema.Struct({
1361
1368
  provider: effect.Schema.optional(SourceControlProviderKind),
1362
1369
  repository: effect.Schema.optional(TrimmedNonEmptyString),
@@ -1440,32 +1447,24 @@ var SourceControlRepositoryError = class extends effect.Schema.TaggedErrorClass(
1440
1447
  return `Source control repository operation ${this.operation} failed for ${this.provider}: ${this.detail}`;
1441
1448
  }
1442
1449
  };
1443
- function utf8ByteLength(codePoint) {
1444
- if (codePoint <= 127) return 1;
1445
- if (codePoint <= 2047) return 2;
1446
- if (codePoint <= 65535) return 3;
1447
- return 4;
1450
+ const utf8Encoder = new TextEncoder();
1451
+ const utf8Decoder = new TextDecoder("utf-8", { fatal: true });
1452
+ function decodeUtf8Prefix(bytes) {
1453
+ for (let end = bytes.length; end >= 0; end -= 1) try {
1454
+ return utf8Decoder.decode(bytes.subarray(0, end));
1455
+ } catch {}
1456
+ return "";
1448
1457
  }
1449
1458
  function truncateUtf8(value, maxBytes) {
1450
- let byteLength = 0;
1451
- let end = 0;
1452
- for (let index = 0; index < value.length;) {
1453
- const codePoint = value.codePointAt(index);
1454
- if (codePoint === void 0) break;
1455
- const codeUnitLength = codePoint > 65535 ? 2 : 1;
1456
- const nextByteLength = byteLength + utf8ByteLength(codePoint);
1457
- if (nextByteLength > maxBytes) return {
1458
- value: value.slice(0, end),
1459
- truncated: true
1460
- };
1461
- byteLength = nextByteLength;
1462
- end = index + codeUnitLength;
1463
- index = end;
1464
- }
1465
- return {
1459
+ const bytes = utf8Encoder.encode(value);
1460
+ if (bytes.byteLength <= maxBytes) return {
1466
1461
  value,
1467
1462
  truncated: false
1468
1463
  };
1464
+ return {
1465
+ value: decodeUtf8Prefix(bytes.subarray(0, maxBytes)),
1466
+ truncated: true
1467
+ };
1469
1468
  }
1470
1469
  function truncateSourceControlDetailContent(input) {
1471
1470
  let truncated = false;
@@ -1492,6 +1491,212 @@ function truncateSourceControlDetailContent(input) {
1492
1491
  };
1493
1492
  }
1494
1493
  //#endregion
1494
+ //#region ../../packages/contracts/src/workItems.ts
1495
+ const WorkItemProviderKind = effect.Schema.Literals(["jira"]);
1496
+ const WorkItemState = effect.Schema.Literals([
1497
+ "open",
1498
+ "in_progress",
1499
+ "done",
1500
+ "closed",
1501
+ "unknown"
1502
+ ]);
1503
+ const WorkItemStateFilter = effect.Schema.Literals([
1504
+ "open",
1505
+ "in_progress",
1506
+ "done",
1507
+ "closed",
1508
+ "all"
1509
+ ]);
1510
+ const WorkItemTransition = effect.Schema.Struct({
1511
+ id: TrimmedNonEmptyString,
1512
+ name: TrimmedNonEmptyString,
1513
+ toState: WorkItemState,
1514
+ toStateName: effect.Schema.optional(TrimmedNonEmptyString)
1515
+ });
1516
+ const WorkItemProject = effect.Schema.Struct({
1517
+ provider: WorkItemProviderKind,
1518
+ key: TrimmedNonEmptyString,
1519
+ name: TrimmedNonEmptyString,
1520
+ url: effect.Schema.String,
1521
+ projectTypeKey: effect.Schema.optional(TrimmedNonEmptyString),
1522
+ simplified: effect.Schema.optional(effect.Schema.Boolean),
1523
+ avatarUrl: effect.Schema.optional(effect.Schema.String)
1524
+ });
1525
+ const LinkedChangeRequest = effect.Schema.Struct({
1526
+ provider: SourceControlProviderKind,
1527
+ number: effect.Schema.Number,
1528
+ title: TrimmedNonEmptyString,
1529
+ url: effect.Schema.String,
1530
+ state: ChangeRequestState
1531
+ });
1532
+ const WorkItemPriority = effect.Schema.Struct({
1533
+ id: effect.Schema.optional(TrimmedNonEmptyString),
1534
+ name: TrimmedNonEmptyString,
1535
+ iconUrl: effect.Schema.optional(effect.Schema.String),
1536
+ statusColor: effect.Schema.optional(TrimmedNonEmptyString)
1537
+ });
1538
+ const WorkItemSummary = effect.Schema.Struct({
1539
+ provider: WorkItemProviderKind,
1540
+ key: TrimmedNonEmptyString,
1541
+ id: effect.Schema.optional(TrimmedNonEmptyString),
1542
+ title: TrimmedNonEmptyString,
1543
+ url: effect.Schema.String,
1544
+ state: WorkItemState,
1545
+ stateName: effect.Schema.optional(TrimmedNonEmptyString),
1546
+ issueType: effect.Schema.optional(TrimmedNonEmptyString),
1547
+ priority: effect.Schema.optional(TrimmedNonEmptyString),
1548
+ priorityDetail: effect.Schema.optional(WorkItemPriority),
1549
+ assignee: effect.Schema.NullOr(TrimmedNonEmptyString),
1550
+ reporter: effect.Schema.optional(TrimmedNonEmptyString),
1551
+ labels: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyString)),
1552
+ dueDate: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1553
+ startDate: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1554
+ createdAt: effect.Schema.optional(effect.Schema.Option(effect.Schema.DateTimeUtc)),
1555
+ updatedAt: effect.Schema.Option(effect.Schema.DateTimeUtc)
1556
+ });
1557
+ const WORK_ITEM_DETAIL_BODY_MAX_BYTES = 8 * 1024;
1558
+ const WORK_ITEM_DETAIL_COMMENT_BODY_MAX_BYTES = 2 * 1024;
1559
+ const WorkItemEditableFieldId = effect.Schema.Literals([
1560
+ "assignee",
1561
+ "priority",
1562
+ "parent",
1563
+ "dueDate",
1564
+ "startDate",
1565
+ "reporter",
1566
+ "description",
1567
+ "title"
1568
+ ]);
1569
+ const WorkItemEditableFieldOption = effect.Schema.Struct({
1570
+ id: effect.Schema.optional(TrimmedNonEmptyString),
1571
+ key: effect.Schema.optional(TrimmedNonEmptyString),
1572
+ accountId: effect.Schema.optional(TrimmedNonEmptyString),
1573
+ name: TrimmedNonEmptyString,
1574
+ displayName: effect.Schema.optional(TrimmedNonEmptyString),
1575
+ iconUrl: effect.Schema.optional(effect.Schema.String),
1576
+ avatarUrl: effect.Schema.optional(effect.Schema.String),
1577
+ statusColor: effect.Schema.optional(TrimmedNonEmptyString)
1578
+ });
1579
+ const WorkItemEditableFieldMetadata = effect.Schema.Struct({
1580
+ id: WorkItemEditableFieldId,
1581
+ jiraFieldId: TrimmedNonEmptyString,
1582
+ name: TrimmedNonEmptyString,
1583
+ required: effect.Schema.Boolean,
1584
+ operations: effect.Schema.Array(TrimmedNonEmptyString),
1585
+ options: effect.Schema.optional(effect.Schema.Array(WorkItemEditableFieldOption))
1586
+ });
1587
+ const WorkItemActivityItem = effect.Schema.Struct({
1588
+ field: TrimmedNonEmptyString,
1589
+ from: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.String)),
1590
+ to: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.String))
1591
+ });
1592
+ const WorkItemActivityEntry = effect.Schema.Struct({
1593
+ id: TrimmedNonEmptyString,
1594
+ author: effect.Schema.optional(TrimmedNonEmptyString),
1595
+ createdAt: effect.Schema.DateTimeUtc,
1596
+ items: effect.Schema.Array(WorkItemActivityItem)
1597
+ });
1598
+ const WorkItemComment = effect.Schema.Struct({
1599
+ id: effect.Schema.optional(TrimmedNonEmptyString),
1600
+ author: effect.Schema.String,
1601
+ body: effect.Schema.String,
1602
+ createdAt: effect.Schema.DateTimeUtc,
1603
+ updatedAt: effect.Schema.optional(effect.Schema.DateTimeUtc),
1604
+ editable: effect.Schema.optional(effect.Schema.Boolean),
1605
+ reactions: effect.Schema.optional(effect.Schema.Array(SourceControlCommentReaction))
1606
+ });
1607
+ const WorkItemDetail = effect.Schema.Struct({
1608
+ ...WorkItemSummary.fields,
1609
+ description: effect.Schema.String,
1610
+ comments: effect.Schema.Array(WorkItemComment),
1611
+ transitions: effect.Schema.Array(WorkItemTransition),
1612
+ linkedChangeRequests: effect.Schema.Array(LinkedChangeRequest),
1613
+ editableFields: effect.Schema.Array(WorkItemEditableFieldMetadata),
1614
+ activity: effect.Schema.Array(WorkItemActivityEntry),
1615
+ parentKey: effect.Schema.optional(TrimmedNonEmptyString),
1616
+ epicKey: effect.Schema.optional(TrimmedNonEmptyString),
1617
+ truncated: effect.Schema.Boolean
1618
+ });
1619
+ effect.Schema.Struct({
1620
+ id: TrimmedNonEmptyString,
1621
+ provider: WorkItemProviderKind,
1622
+ key: TrimmedNonEmptyString,
1623
+ detail: WorkItemDetail,
1624
+ fetchedAt: effect.Schema.DateTimeUtc,
1625
+ staleAfter: effect.Schema.DateTimeUtc
1626
+ });
1627
+ const WorkItemListInput = effect.Schema.Struct({
1628
+ projectId: effect.Schema.optional(ProjectId),
1629
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1630
+ state: WorkItemStateFilter,
1631
+ query: effect.Schema.optional(effect.Schema.String),
1632
+ limit: effect.Schema.optional(effect.Schema.Number),
1633
+ projectKeys: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyString))
1634
+ });
1635
+ const WorkItemListProjectsInput = effect.Schema.Struct({
1636
+ connectionId: AtlassianConnectionId,
1637
+ siteUrl: effect.Schema.optional(effect.Schema.String)
1638
+ });
1639
+ const WorkItemSearchInput = effect.Schema.Struct({
1640
+ projectId: effect.Schema.optional(ProjectId),
1641
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1642
+ query: TrimmedNonEmptyString,
1643
+ limit: effect.Schema.optional(effect.Schema.Number),
1644
+ projectKeys: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyString))
1645
+ });
1646
+ const WorkItemGetInput = effect.Schema.Struct({
1647
+ projectId: effect.Schema.optional(ProjectId),
1648
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1649
+ key: TrimmedNonEmptyString,
1650
+ fullContent: effect.Schema.optional(effect.Schema.Boolean)
1651
+ });
1652
+ const WorkItemAddCommentInput = effect.Schema.Struct({
1653
+ projectId: effect.Schema.optional(ProjectId),
1654
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1655
+ key: TrimmedNonEmptyString,
1656
+ body: TrimmedNonEmptyString
1657
+ });
1658
+ const WorkItemUpdateFields = effect.Schema.Struct({
1659
+ assigneeAccountId: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1660
+ priorityId: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1661
+ parentKey: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1662
+ dueDate: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1663
+ startDate: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1664
+ reporterAccountId: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
1665
+ description: effect.Schema.optional(effect.Schema.String),
1666
+ title: effect.Schema.optional(TrimmedNonEmptyString)
1667
+ });
1668
+ const WorkItemUpdateInput = effect.Schema.Struct({
1669
+ projectId: effect.Schema.optional(ProjectId),
1670
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1671
+ key: TrimmedNonEmptyString,
1672
+ fields: WorkItemUpdateFields
1673
+ });
1674
+ const WorkItemEditCommentInput = effect.Schema.Struct({
1675
+ projectId: effect.Schema.optional(ProjectId),
1676
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1677
+ key: TrimmedNonEmptyString,
1678
+ commentId: TrimmedNonEmptyString,
1679
+ body: TrimmedNonEmptyString
1680
+ });
1681
+ const WorkItemListTransitionsInput = effect.Schema.Struct({
1682
+ projectId: effect.Schema.optional(ProjectId),
1683
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1684
+ key: TrimmedNonEmptyString
1685
+ });
1686
+ const WorkItemTransitionInput = effect.Schema.Struct({
1687
+ projectId: effect.Schema.optional(ProjectId),
1688
+ cwd: effect.Schema.optional(TrimmedNonEmptyString),
1689
+ key: TrimmedNonEmptyString,
1690
+ transitionId: TrimmedNonEmptyString,
1691
+ comment: effect.Schema.optional(TrimmedNonEmptyString)
1692
+ });
1693
+ var WorkItemProviderError = class extends effect.Schema.TaggedErrorClass()("WorkItemProviderError", {
1694
+ provider: WorkItemProviderKind,
1695
+ operation: effect.Schema.String,
1696
+ detail: effect.Schema.String,
1697
+ cause: effect.Schema.optional(effect.Schema.Defect)
1698
+ }) {};
1699
+ //#endregion
1495
1700
  //#region ../../packages/contracts/src/worktree.ts
1496
1701
  const WorktreeId = effect.Schema.String.pipe(effect.Schema.brand("WorktreeId"));
1497
1702
  const WorktreeOrigin = effect.Schema.Literals([
@@ -1528,6 +1733,12 @@ const Worktree = effect.Schema.Struct({
1528
1733
  prState: effect.Schema.optional(effect.Schema.NullOr(PullRequestState)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1529
1734
  prIsDraft: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.Boolean)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1530
1735
  issueState: effect.Schema.optional(effect.Schema.NullOr(IssueState)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1736
+ workItemProvider: effect.Schema.optional(effect.Schema.NullOr(WorkItemProviderKind)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1737
+ workItemKey: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1738
+ workItemTitle: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1739
+ workItemState: effect.Schema.optional(effect.Schema.NullOr(WorkItemState)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1740
+ workItemStateName: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1741
+ workItemUrl: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.String)).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
1531
1742
  createdAt: IsoDateTime,
1532
1743
  updatedAt: IsoDateTime,
1533
1744
  archivedAt: effect.Schema.NullOr(IsoDateTime),
@@ -1550,6 +1761,19 @@ const CreateWorktreeIntent = effect.Schema.Union([
1550
1761
  title: effect.Schema.optional(TrimmedNonEmptyString),
1551
1762
  body: effect.Schema.optional(effect.Schema.String)
1552
1763
  }),
1764
+ effect.Schema.Struct({
1765
+ kind: effect.Schema.Literal("workItem"),
1766
+ provider: WorkItemProviderKind,
1767
+ key: TrimmedNonEmptyString,
1768
+ title: TrimmedNonEmptyString,
1769
+ state: effect.Schema.optional(WorkItemState),
1770
+ stateName: effect.Schema.optional(TrimmedNonEmptyString),
1771
+ url: effect.Schema.optional(effect.Schema.String),
1772
+ body: effect.Schema.optional(effect.Schema.String),
1773
+ branchSource: effect.Schema.optional(effect.Schema.Literals(["new", "existing"])),
1774
+ branchName: effect.Schema.optional(TrimmedNonEmptyString),
1775
+ baseBranch: effect.Schema.optional(TrimmedNonEmptyString)
1776
+ }),
1553
1777
  effect.Schema.Struct({
1554
1778
  kind: effect.Schema.Literal("newBranch"),
1555
1779
  branchName: effect.Schema.optional(TrimmedNonEmptyString),
@@ -2122,6 +2346,12 @@ const WorktreeCreateCommand = effect.Schema.Struct({
2122
2346
  issueNumber: effect.Schema.NullOr(effect.Schema.Number),
2123
2347
  prTitle: effect.Schema.NullOr(TrimmedNonEmptyString),
2124
2348
  issueTitle: effect.Schema.NullOr(TrimmedNonEmptyString),
2349
+ workItemProvider: effect.Schema.optional(effect.Schema.NullOr(WorkItemProviderKind)),
2350
+ workItemKey: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
2351
+ workItemTitle: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
2352
+ workItemState: effect.Schema.optional(effect.Schema.NullOr(WorkItemState)),
2353
+ workItemStateName: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
2354
+ workItemUrl: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.String)),
2125
2355
  createdAt: IsoDateTime
2126
2356
  });
2127
2357
  const WorktreeArchiveCommand = effect.Schema.Struct({
@@ -2531,6 +2761,12 @@ const WorktreeCreatedPayload = effect.Schema.Struct({
2531
2761
  issueNumber: effect.Schema.NullOr(effect.Schema.Number),
2532
2762
  prTitle: effect.Schema.NullOr(TrimmedNonEmptyString),
2533
2763
  issueTitle: effect.Schema.NullOr(TrimmedNonEmptyString),
2764
+ workItemProvider: effect.Schema.optional(effect.Schema.NullOr(WorkItemProviderKind)),
2765
+ workItemKey: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
2766
+ workItemTitle: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
2767
+ workItemState: effect.Schema.optional(effect.Schema.NullOr(WorkItemState)),
2768
+ workItemStateName: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString)),
2769
+ workItemUrl: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.String)),
2534
2770
  createdAt: IsoDateTime,
2535
2771
  updatedAt: IsoDateTime
2536
2772
  });
@@ -4285,13 +4521,24 @@ const ServerProvider = effect.Schema.Struct({
4285
4521
  updateState: effect.Schema.optionalKey(ServerProviderUpdateState)
4286
4522
  });
4287
4523
  const ServerProviders = effect.Schema.Array(ServerProvider);
4524
+ const ServerLocalDiagnosticsMetrics = effect.Schema.Struct({
4525
+ turnQuiescenceAvgMs: effect.Schema.NullOr(effect.Schema.Number),
4526
+ checkpointDurationP95Ms: effect.Schema.NullOr(effect.Schema.Number),
4527
+ wsReconnectCount: NonNegativeInt,
4528
+ windowSampleCounts: effect.Schema.Struct({
4529
+ turnQuiescence: NonNegativeInt,
4530
+ checkpointDuration: NonNegativeInt
4531
+ }),
4532
+ capturedAt: IsoDateTime
4533
+ });
4288
4534
  const ServerObservability = effect.Schema.Struct({
4289
4535
  logsDirectoryPath: TrimmedNonEmptyString,
4290
4536
  localTracingEnabled: effect.Schema.Boolean,
4291
4537
  otlpTracesUrl: effect.Schema.optional(TrimmedNonEmptyString),
4292
4538
  otlpTracesEnabled: effect.Schema.Boolean,
4293
4539
  otlpMetricsUrl: effect.Schema.optional(TrimmedNonEmptyString),
4294
- otlpMetricsEnabled: effect.Schema.Boolean
4540
+ otlpMetricsEnabled: effect.Schema.Boolean,
4541
+ localMetrics: effect.Schema.optional(ServerLocalDiagnosticsMetrics)
4295
4542
  });
4296
4543
  const ServerConfig = effect.Schema.Struct({
4297
4544
  environment: ExecutionEnvironmentDescriptor,
@@ -4391,6 +4638,194 @@ var ServerProviderUpdateError = class extends effect.Schema.TaggedErrorClass()("
4391
4638
  }
4392
4639
  };
4393
4640
  //#endregion
4641
+ //#region ../../packages/contracts/src/diagnostics.ts
4642
+ const DiagnosticsWarning = effect.Schema.Struct({
4643
+ code: TrimmedNonEmptyString,
4644
+ message: TrimmedNonEmptyString,
4645
+ source: effect.Schema.optional(TrimmedNonEmptyString),
4646
+ count: effect.Schema.optional(NonNegativeInt)
4647
+ });
4648
+ const DiagnosticsObservability = effect.Schema.Struct({
4649
+ logsDirectoryPath: TrimmedNonEmptyString,
4650
+ serverLogPath: TrimmedNonEmptyString,
4651
+ serverTracePath: TrimmedNonEmptyString,
4652
+ providerEventLogPath: TrimmedNonEmptyString,
4653
+ localTracingEnabled: effect.Schema.Boolean,
4654
+ otlpTracesUrl: effect.Schema.optional(TrimmedNonEmptyString),
4655
+ otlpTracesEnabled: effect.Schema.Boolean,
4656
+ otlpMetricsUrl: effect.Schema.optional(TrimmedNonEmptyString),
4657
+ otlpMetricsEnabled: effect.Schema.Boolean
4658
+ });
4659
+ const DiagnosticsResourceMemory = effect.Schema.Struct({
4660
+ rssBytes: NonNegativeInt,
4661
+ heapUsedBytes: NonNegativeInt,
4662
+ heapTotalBytes: NonNegativeInt,
4663
+ externalBytes: NonNegativeInt,
4664
+ arrayBuffersBytes: NonNegativeInt
4665
+ });
4666
+ const DiagnosticsResourceCpu = effect.Schema.Struct({
4667
+ userMicros: NonNegativeInt,
4668
+ systemMicros: NonNegativeInt,
4669
+ utilizationPercent: effect.Schema.optional(effect.Schema.Number)
4670
+ });
4671
+ const DiagnosticsResourceSample = effect.Schema.Struct({
4672
+ sampledAt: IsoDateTime,
4673
+ uptimeMs: NonNegativeInt,
4674
+ memory: DiagnosticsResourceMemory,
4675
+ cpu: DiagnosticsResourceCpu,
4676
+ eventLoopDelayMs: effect.Schema.optional(effect.Schema.Number)
4677
+ });
4678
+ const DiagnosticsResources = effect.Schema.Struct({
4679
+ current: DiagnosticsResourceSample,
4680
+ history: effect.Schema.Array(DiagnosticsResourceSample)
4681
+ });
4682
+ const DiagnosticsServerProcess = effect.Schema.Struct({
4683
+ pid: NonNegativeInt,
4684
+ platform: TrimmedNonEmptyString,
4685
+ runtime: TrimmedNonEmptyString,
4686
+ version: TrimmedNonEmptyString,
4687
+ cwd: TrimmedNonEmptyString
4688
+ });
4689
+ const DiagnosticsTerminalProcess = effect.Schema.Struct({
4690
+ threadId: TrimmedNonEmptyString,
4691
+ terminalId: TrimmedNonEmptyString,
4692
+ cwd: TrimmedNonEmptyString,
4693
+ worktreePath: effect.Schema.NullOr(TrimmedNonEmptyString),
4694
+ status: TerminalSessionStatus,
4695
+ pid: effect.Schema.NullOr(NonNegativeInt),
4696
+ hasRunningSubprocess: effect.Schema.Boolean,
4697
+ exitCode: effect.Schema.NullOr(effect.Schema.Int),
4698
+ exitSignal: effect.Schema.NullOr(effect.Schema.Int),
4699
+ updatedAt: IsoDateTime
4700
+ });
4701
+ const DiagnosticsProviderProcess = effect.Schema.Struct({
4702
+ instanceId: ProviderInstanceId,
4703
+ driver: ProviderDriverKind,
4704
+ displayName: effect.Schema.optional(TrimmedNonEmptyString),
4705
+ enabled: effect.Schema.Boolean,
4706
+ installed: effect.Schema.Boolean,
4707
+ status: ServerProviderState,
4708
+ checkedAt: IsoDateTime,
4709
+ message: effect.Schema.optional(TrimmedNonEmptyString)
4710
+ });
4711
+ const DiagnosticsLiveProcesses = effect.Schema.Struct({
4712
+ server: DiagnosticsServerProcess,
4713
+ terminals: effect.Schema.Array(DiagnosticsTerminalProcess),
4714
+ providers: effect.Schema.Array(DiagnosticsProviderProcess)
4715
+ });
4716
+ const DiagnosticsSpanStatus = effect.Schema.Literals([
4717
+ "success",
4718
+ "failure",
4719
+ "interrupted",
4720
+ "error",
4721
+ "unset"
4722
+ ]);
4723
+ const DiagnosticsSpanSource = effect.Schema.Literals([
4724
+ "server",
4725
+ "browser",
4726
+ "unknown"
4727
+ ]);
4728
+ const DiagnosticsSpan = effect.Schema.Struct({
4729
+ id: TrimmedNonEmptyString,
4730
+ source: DiagnosticsSpanSource,
4731
+ traceId: TrimmedNonEmptyString,
4732
+ spanId: TrimmedNonEmptyString,
4733
+ parentSpanId: effect.Schema.optional(TrimmedNonEmptyString),
4734
+ name: TrimmedNonEmptyString,
4735
+ kind: TrimmedNonEmptyString,
4736
+ startTime: IsoDateTime,
4737
+ endTime: IsoDateTime,
4738
+ durationMs: effect.Schema.Number,
4739
+ status: DiagnosticsSpanStatus,
4740
+ failureMessage: effect.Schema.optional(effect.Schema.String),
4741
+ attributes: effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown)
4742
+ });
4743
+ const DiagnosticsSpanEvent = effect.Schema.Struct({
4744
+ traceId: TrimmedNonEmptyString,
4745
+ spanId: TrimmedNonEmptyString,
4746
+ spanName: TrimmedNonEmptyString,
4747
+ name: TrimmedNonEmptyString,
4748
+ time: IsoDateTime,
4749
+ attributes: effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown)
4750
+ });
4751
+ const DiagnosticsSpanNameSummary = effect.Schema.Struct({
4752
+ name: TrimmedNonEmptyString,
4753
+ count: NonNegativeInt,
4754
+ failureCount: NonNegativeInt,
4755
+ totalDurationMs: effect.Schema.Number,
4756
+ averageDurationMs: effect.Schema.Number,
4757
+ maxDurationMs: effect.Schema.Number
4758
+ });
4759
+ const DiagnosticsDurationBucket = effect.Schema.Struct({
4760
+ label: TrimmedNonEmptyString,
4761
+ minMs: NonNegativeInt,
4762
+ maxMs: effect.Schema.optional(NonNegativeInt),
4763
+ count: NonNegativeInt
4764
+ });
4765
+ const DiagnosticsTracing = effect.Schema.Struct({
4766
+ retainedSpanCount: NonNegativeInt,
4767
+ recentSpans: effect.Schema.Array(DiagnosticsSpan),
4768
+ slowestSpans: effect.Schema.Array(DiagnosticsSpan),
4769
+ topSpanNames: effect.Schema.Array(DiagnosticsSpanNameSummary),
4770
+ durationBuckets: effect.Schema.Array(DiagnosticsDurationBucket),
4771
+ recentEvents: effect.Schema.Array(DiagnosticsSpanEvent)
4772
+ });
4773
+ const DiagnosticsFailure = effect.Schema.Struct({
4774
+ id: TrimmedNonEmptyString,
4775
+ occurredAt: IsoDateTime,
4776
+ source: TrimmedNonEmptyString,
4777
+ category: TrimmedNonEmptyString,
4778
+ signature: TrimmedNonEmptyString,
4779
+ message: effect.Schema.String,
4780
+ raw: effect.Schema.optional(effect.Schema.Unknown)
4781
+ });
4782
+ const DiagnosticsFailureSummary = effect.Schema.Struct({
4783
+ signature: TrimmedNonEmptyString,
4784
+ source: TrimmedNonEmptyString,
4785
+ category: TrimmedNonEmptyString,
4786
+ count: NonNegativeInt,
4787
+ latestAt: IsoDateTime,
4788
+ sampleMessage: effect.Schema.String
4789
+ });
4790
+ const DiagnosticsFailures = effect.Schema.Struct({
4791
+ latest: effect.Schema.Array(DiagnosticsFailure),
4792
+ common: effect.Schema.Array(DiagnosticsFailureSummary)
4793
+ });
4794
+ const DiagnosticsClientSlowRpcAck = effect.Schema.Struct({
4795
+ requestId: TrimmedNonEmptyString,
4796
+ tag: TrimmedNonEmptyString,
4797
+ startedAt: IsoDateTime,
4798
+ thresholdMs: NonNegativeInt
4799
+ });
4800
+ const DiagnosticsClient = effect.Schema.Struct({ slowRpcAcks: effect.Schema.Array(DiagnosticsClientSlowRpcAck) });
4801
+ const DiagnosticsLimits = effect.Schema.Struct({
4802
+ traceRecordLimit: NonNegativeInt,
4803
+ resourceSampleLimit: NonNegativeInt,
4804
+ fileTailBytes: NonNegativeInt
4805
+ });
4806
+ const DiagnosticsSnapshot = effect.Schema.Struct({
4807
+ generatedAt: IsoDateTime,
4808
+ serverStartedAt: IsoDateTime,
4809
+ uptimeMs: NonNegativeInt,
4810
+ limits: DiagnosticsLimits,
4811
+ observability: DiagnosticsObservability,
4812
+ resources: DiagnosticsResources,
4813
+ liveProcesses: DiagnosticsLiveProcesses,
4814
+ tracing: DiagnosticsTracing,
4815
+ failures: DiagnosticsFailures,
4816
+ client: DiagnosticsClient,
4817
+ warnings: effect.Schema.Array(DiagnosticsWarning)
4818
+ });
4819
+ var DiagnosticsError = class extends effect.Schema.TaggedErrorClass()("DiagnosticsError", {
4820
+ operation: TrimmedNonEmptyString,
4821
+ detail: TrimmedNonEmptyString,
4822
+ cause: effect.Schema.optional(effect.Schema.Defect)
4823
+ }) {
4824
+ get message() {
4825
+ return `Diagnostics ${this.operation} failed: ${this.detail}`;
4826
+ }
4827
+ };
4828
+ //#endregion
4394
4829
  //#region ../../packages/contracts/src/opinionatedPlugins.ts
4395
4830
  const OpinionatedPluginId = effect.Schema.Literals([
4396
4831
  "rtk",
@@ -5079,114 +5514,6 @@ var AtlassianConnectionError = class extends effect.Schema.TaggedErrorClass()("A
5079
5514
  cause: effect.Schema.optional(effect.Schema.Defect)
5080
5515
  }) {};
5081
5516
  //#endregion
5082
- //#region ../../packages/contracts/src/workItems.ts
5083
- const WorkItemProviderKind = effect.Schema.Literals(["jira"]);
5084
- const WorkItemState = effect.Schema.Literals([
5085
- "open",
5086
- "in_progress",
5087
- "done",
5088
- "closed",
5089
- "unknown"
5090
- ]);
5091
- const WorkItemStateFilter = effect.Schema.Literals([
5092
- "open",
5093
- "in_progress",
5094
- "done",
5095
- "closed",
5096
- "all"
5097
- ]);
5098
- const WorkItemTransition = effect.Schema.Struct({
5099
- id: TrimmedNonEmptyString,
5100
- name: TrimmedNonEmptyString,
5101
- toState: WorkItemState
5102
- });
5103
- const LinkedChangeRequest = effect.Schema.Struct({
5104
- provider: SourceControlProviderKind,
5105
- number: effect.Schema.Number,
5106
- title: TrimmedNonEmptyString,
5107
- url: effect.Schema.String,
5108
- state: ChangeRequestState
5109
- });
5110
- const WorkItemSummary = effect.Schema.Struct({
5111
- provider: WorkItemProviderKind,
5112
- key: TrimmedNonEmptyString,
5113
- id: effect.Schema.optional(TrimmedNonEmptyString),
5114
- title: TrimmedNonEmptyString,
5115
- url: effect.Schema.String,
5116
- state: WorkItemState,
5117
- issueType: effect.Schema.optional(TrimmedNonEmptyString),
5118
- priority: effect.Schema.optional(TrimmedNonEmptyString),
5119
- assignee: effect.Schema.NullOr(TrimmedNonEmptyString),
5120
- reporter: effect.Schema.optional(TrimmedNonEmptyString),
5121
- labels: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyString)),
5122
- updatedAt: effect.Schema.Option(effect.Schema.DateTimeUtc)
5123
- });
5124
- const WORK_ITEM_DETAIL_BODY_MAX_BYTES = 8 * 1024;
5125
- const WORK_ITEM_DETAIL_COMMENT_BODY_MAX_BYTES = 2 * 1024;
5126
- const WorkItemDetail = effect.Schema.Struct({
5127
- ...WorkItemSummary.fields,
5128
- description: effect.Schema.String,
5129
- comments: effect.Schema.Array(SourceControlIssueComment),
5130
- transitions: effect.Schema.Array(WorkItemTransition),
5131
- linkedChangeRequests: effect.Schema.Array(LinkedChangeRequest),
5132
- parentKey: effect.Schema.optional(TrimmedNonEmptyString),
5133
- epicKey: effect.Schema.optional(TrimmedNonEmptyString),
5134
- truncated: effect.Schema.Boolean
5135
- });
5136
- effect.Schema.Struct({
5137
- id: TrimmedNonEmptyString,
5138
- provider: WorkItemProviderKind,
5139
- key: TrimmedNonEmptyString,
5140
- detail: WorkItemDetail,
5141
- fetchedAt: effect.Schema.DateTimeUtc,
5142
- staleAfter: effect.Schema.DateTimeUtc
5143
- });
5144
- const WorkItemListInput = effect.Schema.Struct({
5145
- projectId: effect.Schema.optional(ProjectId),
5146
- cwd: effect.Schema.optional(TrimmedNonEmptyString),
5147
- state: WorkItemStateFilter,
5148
- query: effect.Schema.optional(effect.Schema.String),
5149
- limit: effect.Schema.optional(effect.Schema.Number),
5150
- projectKeys: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyString))
5151
- });
5152
- const WorkItemSearchInput = effect.Schema.Struct({
5153
- projectId: effect.Schema.optional(ProjectId),
5154
- cwd: effect.Schema.optional(TrimmedNonEmptyString),
5155
- query: TrimmedNonEmptyString,
5156
- limit: effect.Schema.optional(effect.Schema.Number),
5157
- projectKeys: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyString))
5158
- });
5159
- const WorkItemGetInput = effect.Schema.Struct({
5160
- projectId: effect.Schema.optional(ProjectId),
5161
- cwd: effect.Schema.optional(TrimmedNonEmptyString),
5162
- key: TrimmedNonEmptyString,
5163
- fullContent: effect.Schema.optional(effect.Schema.Boolean)
5164
- });
5165
- const WorkItemAddCommentInput = effect.Schema.Struct({
5166
- projectId: effect.Schema.optional(ProjectId),
5167
- cwd: effect.Schema.optional(TrimmedNonEmptyString),
5168
- key: TrimmedNonEmptyString,
5169
- body: TrimmedNonEmptyString
5170
- });
5171
- const WorkItemListTransitionsInput = effect.Schema.Struct({
5172
- projectId: effect.Schema.optional(ProjectId),
5173
- cwd: effect.Schema.optional(TrimmedNonEmptyString),
5174
- key: TrimmedNonEmptyString
5175
- });
5176
- const WorkItemTransitionInput = effect.Schema.Struct({
5177
- projectId: effect.Schema.optional(ProjectId),
5178
- cwd: effect.Schema.optional(TrimmedNonEmptyString),
5179
- key: TrimmedNonEmptyString,
5180
- transitionId: TrimmedNonEmptyString,
5181
- comment: effect.Schema.optional(TrimmedNonEmptyString)
5182
- });
5183
- var WorkItemProviderError = class extends effect.Schema.TaggedErrorClass()("WorkItemProviderError", {
5184
- provider: WorkItemProviderKind,
5185
- operation: effect.Schema.String,
5186
- detail: effect.Schema.String,
5187
- cause: effect.Schema.optional(effect.Schema.Defect)
5188
- }) {};
5189
- //#endregion
5190
5517
  //#region ../../packages/contracts/src/project.ts
5191
5518
  const PROJECT_SEARCH_ENTRIES_MAX_LIMIT = 200;
5192
5519
  const PROJECT_WRITE_FILE_PATH_MAX_LENGTH = 512;
@@ -5319,6 +5646,8 @@ const WS_METHODS = {
5319
5646
  terminalRestart: "terminal.restart",
5320
5647
  terminalClose: "terminal.close",
5321
5648
  serverGetConfig: "server.getConfig",
5649
+ serverGetAdvertisedEndpoints: "server.getAdvertisedEndpoints",
5650
+ serverGetDiagnosticsMetrics: "server.getDiagnosticsMetrics",
5322
5651
  serverRefreshProviders: "server.refreshProviders",
5323
5652
  serverUpdateProvider: "server.updateProvider",
5324
5653
  serverUpsertKeybinding: "server.upsertKeybinding",
@@ -5329,6 +5658,7 @@ const WS_METHODS = {
5329
5658
  serverListOpinionatedPlugins: "server.listOpinionatedPlugins",
5330
5659
  serverCheckOpinionatedPlugins: "server.checkOpinionatedPlugins",
5331
5660
  serverInstallOpinionatedPlugin: "server.installOpinionatedPlugin",
5661
+ serverGetDiagnosticsSnapshot: "server.getDiagnosticsSnapshot",
5332
5662
  mcpListWorkspaces: "mcp.listWorkspaces",
5333
5663
  mcpListServers: "mcp.listServers",
5334
5664
  mcpUpsertServer: "mcp.upsertServer",
@@ -5337,6 +5667,7 @@ const WS_METHODS = {
5337
5667
  mcpReloadServers: "mcp.reloadServers",
5338
5668
  mcpStartOauthLogin: "mcp.startOauthLogin",
5339
5669
  sourceControlLookupRepository: "sourceControl.lookupRepository",
5670
+ sourceControlSearchRepositories: "sourceControl.searchRepositories",
5340
5671
  sourceControlCloneRepository: "sourceControl.cloneRepository",
5341
5672
  sourceControlPublishRepository: "sourceControl.publishRepository",
5342
5673
  sourceControlListIssues: "sourceControl.listIssues",
@@ -5368,10 +5699,13 @@ const WS_METHODS = {
5368
5699
  atlassianSaveProjectLink: "atlassian.saveProjectLink",
5369
5700
  atlassianSaveManualBitbucketToken: "atlassian.saveManualBitbucketToken",
5370
5701
  atlassianSaveManualJiraToken: "atlassian.saveManualJiraToken",
5702
+ workItemsListProjects: "workItems.listProjects",
5371
5703
  workItemsList: "workItems.list",
5372
5704
  workItemsSearch: "workItems.search",
5373
5705
  workItemsGet: "workItems.get",
5374
5706
  workItemsAddComment: "workItems.addComment",
5707
+ workItemsEditComment: "workItems.editComment",
5708
+ workItemsUpdate: "workItems.update",
5375
5709
  workItemsListTransitions: "workItems.listTransitions",
5376
5710
  workItemsTransition: "workItems.transition",
5377
5711
  subscribeVcsStatus: "subscribeVcsStatus",
@@ -5412,11 +5746,16 @@ const TextGenerationBranchNameInput = effect.Schema.Struct({
5412
5746
  message: effect.Schema.String
5413
5747
  });
5414
5748
  const TextGenerationBranchNameResult = effect.Schema.Struct({ branch: effect.Schema.String });
5415
- const GitFindWorktreeForOriginInput = effect.Schema.Struct({
5749
+ const GitFindWorktreeForOriginInput = effect.Schema.Union([effect.Schema.Struct({
5416
5750
  projectId: ProjectId,
5417
5751
  kind: effect.Schema.Literals(["pr", "issue"]),
5418
5752
  number: effect.Schema.Number
5419
- });
5753
+ }), effect.Schema.Struct({
5754
+ projectId: ProjectId,
5755
+ kind: effect.Schema.Literal("workItem"),
5756
+ provider: WorkItemProviderKind,
5757
+ key: TrimmedNonEmptyString
5758
+ })]);
5420
5759
  const GitFindWorktreeForOriginOutput = effect.Schema.NullOr(WorktreeId);
5421
5760
  const GitArchiveWorktreeInput = effect.Schema.Struct({
5422
5761
  worktreeId: WorktreeId,
@@ -5457,6 +5796,16 @@ const WsServerGetConfigRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverGetCo
5457
5796
  success: ServerConfig,
5458
5797
  error: effect.Schema.Union([KeybindingsConfigError, ServerSettingsError])
5459
5798
  });
5799
+ const WsServerGetAdvertisedEndpointsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverGetAdvertisedEndpoints, {
5800
+ payload: effect.Schema.Struct({}),
5801
+ success: effect.Schema.Array(AdvertisedEndpoint),
5802
+ error: AuthRpcError
5803
+ });
5804
+ const WsServerGetDiagnosticsMetricsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverGetDiagnosticsMetrics, {
5805
+ payload: effect.Schema.Struct({}),
5806
+ success: ServerLocalDiagnosticsMetrics,
5807
+ error: effect.Schema.Never
5808
+ });
5460
5809
  const WsServerRefreshProvidersRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverRefreshProviders, {
5461
5810
  payload: effect.Schema.Struct({
5462
5811
  /**
@@ -5484,6 +5833,11 @@ const WsServerUpdateSettingsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.server
5484
5833
  success: ServerSettings,
5485
5834
  error: effect.Schema.Union([ServerSettingsError, AuthRpcError])
5486
5835
  });
5836
+ const WsServerGetDiagnosticsSnapshotRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverGetDiagnosticsSnapshot, {
5837
+ payload: effect.Schema.Struct({}),
5838
+ success: DiagnosticsSnapshot,
5839
+ error: effect.Schema.Union([DiagnosticsError, AuthRpcError])
5840
+ });
5487
5841
  const WsServerDiscoverSourceControlRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverDiscoverSourceControl, {
5488
5842
  payload: effect.Schema.Struct({}),
5489
5843
  success: SourceControlDiscoveryResult,
@@ -5544,6 +5898,11 @@ const WsSourceControlLookupRepositoryRpc = effect_unstable_rpc_Rpc.make(WS_METHO
5544
5898
  success: SourceControlRepositoryInfo,
5545
5899
  error: effect.Schema.Union([SourceControlRepositoryError, AuthRpcError])
5546
5900
  });
5901
+ const WsSourceControlSearchRepositoriesRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.sourceControlSearchRepositories, {
5902
+ payload: SourceControlRepositorySearchInput,
5903
+ success: SourceControlRepositorySearchResult,
5904
+ error: effect.Schema.Union([SourceControlRepositoryError, AuthRpcError])
5905
+ });
5547
5906
  const WsSourceControlCloneRepositoryRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.sourceControlCloneRepository, {
5548
5907
  payload: SourceControlCloneRepositoryInput,
5549
5908
  success: SourceControlCloneRepositoryResult,
@@ -5745,6 +6104,11 @@ const WsWorkItemsListRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.workItemsList
5745
6104
  success: effect.Schema.Array(WorkItemSummary),
5746
6105
  error: WorkItemProviderError
5747
6106
  });
6107
+ const WsWorkItemsListProjectsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.workItemsListProjects, {
6108
+ payload: WorkItemListProjectsInput,
6109
+ success: effect.Schema.Array(WorkItemProject),
6110
+ error: WorkItemProviderError
6111
+ });
5748
6112
  const WsWorkItemsSearchRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.workItemsSearch, {
5749
6113
  payload: WorkItemSearchInput,
5750
6114
  success: effect.Schema.Array(WorkItemSummary),
@@ -5760,6 +6124,16 @@ const WsWorkItemsAddCommentRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.workIte
5760
6124
  success: WorkItemDetail,
5761
6125
  error: WorkItemProviderError
5762
6126
  });
6127
+ const WsWorkItemsEditCommentRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.workItemsEditComment, {
6128
+ payload: WorkItemEditCommentInput,
6129
+ success: WorkItemDetail,
6130
+ error: WorkItemProviderError
6131
+ });
6132
+ const WsWorkItemsUpdateRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.workItemsUpdate, {
6133
+ payload: WorkItemUpdateInput,
6134
+ success: WorkItemDetail,
6135
+ error: WorkItemProviderError
6136
+ });
5763
6137
  const WsWorkItemsListTransitionsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.workItemsListTransitions, {
5764
6138
  payload: WorkItemListTransitionsInput,
5765
6139
  success: effect.Schema.Array(WorkItemTransition),
@@ -5995,7 +6369,7 @@ const WsSubscribeAuthAccessRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.subscri
5995
6369
  error: AuthRpcError,
5996
6370
  stream: true
5997
6371
  });
5998
- const WsRpcGroup = effect_unstable_rpc_RpcGroup.make(WsServerGetConfigRpc, WsServerRefreshProvidersRpc, WsServerUpdateProviderRpc, WsServerUpsertKeybindingRpc, WsKeybindingsReplaceCustomRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsServerDiscoverSourceControlRpc, WsServerListOpinionatedPluginsRpc, WsServerCheckOpinionatedPluginsRpc, WsServerInstallOpinionatedPluginRpc, WsMcpListWorkspacesRpc, WsMcpListServersRpc, WsMcpUpsertServerRpc, WsMcpSetServerEnabledRpc, WsMcpRemoveServerRpc, WsMcpReloadServersRpc, WsMcpStartOauthLoginRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSourceControlListIssuesRpc, WsSourceControlGetIssueRpc, WsSourceControlSearchIssuesRpc, WsSourceControlListChangeRequestsRpc, WsSourceControlSearchChangeRequestsRpc, WsSourceControlGetChangeRequestDetailRpc, WsSourceControlGetChangeRequestDiffRpc, WsSourceControlCreateIssueRpc, WsSourceControlAddIssueCommentRpc, WsSourceControlAddIssueCommentReactionRpc, WsSourceControlAddChangeRequestCommentRpc, WsSourceControlAddChangeRequestCommentReactionRpc, WsSourceControlListIssueLabelsRpc, WsSourceControlListIssueAssigneesRpc, WsSourceControlListWorkflowRunsRpc, WsSourceControlGetWorkflowRunJobsRpc, WsSourceControlGetWorkflowJobLogRpc, WsSourceControlRerunWorkflowRpc, WsTextGenerationGenerateIssueContentRpc, WsTextGenerationGenerateBranchNameRpc, WsAtlassianListConnectionsRpc, WsAtlassianStartOAuthRpc, WsAtlassianDisconnectRpc, WsAtlassianRefreshRpc, WsAtlassianListResourcesRpc, WsAtlassianGetProjectLinkRpc, WsAtlassianSaveProjectLinkRpc, WsAtlassianSaveManualBitbucketTokenRpc, WsAtlassianSaveManualJiraTokenRpc, WsWorkItemsListRpc, WsWorkItemsSearchRpc, WsWorkItemsGetRpc, WsWorkItemsAddCommentRpc, WsWorkItemsListTransitionsRpc, WsWorkItemsTransitionRpc, WsProjectsListEntriesRpc, WsProjectsSearchEntriesRpc, WsProjectsReadFileRpc, WsProjectsWriteFileRpc, WsProjectsStageFileReferenceRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsSubscribeVcsStatusRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsGitCreateWorktreeForProjectRpc, WsGitFindWorktreeForOriginRpc, WsGitArchiveWorktreeRpc, WsGitRestoreWorktreeRpc, WsGitDeleteWorktreeRpc, WsThreadsSetManualBucketRpc, WsThreadsSetManualPositionRpc, WsWorktreesSetManualPositionRpc, WsProjectsInitializeGitRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsTerminalOpenRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationReplayEventsPageRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc);
6372
+ const WsRpcGroup = effect_unstable_rpc_RpcGroup.make(WsServerGetConfigRpc, WsServerGetAdvertisedEndpointsRpc, WsServerGetDiagnosticsMetricsRpc, WsServerRefreshProvidersRpc, WsServerUpdateProviderRpc, WsServerUpsertKeybindingRpc, WsKeybindingsReplaceCustomRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsServerGetDiagnosticsSnapshotRpc, WsServerDiscoverSourceControlRpc, WsServerListOpinionatedPluginsRpc, WsServerCheckOpinionatedPluginsRpc, WsServerInstallOpinionatedPluginRpc, WsMcpListWorkspacesRpc, WsMcpListServersRpc, WsMcpUpsertServerRpc, WsMcpSetServerEnabledRpc, WsMcpRemoveServerRpc, WsMcpReloadServersRpc, WsMcpStartOauthLoginRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlSearchRepositoriesRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSourceControlListIssuesRpc, WsSourceControlGetIssueRpc, WsSourceControlSearchIssuesRpc, WsSourceControlListChangeRequestsRpc, WsSourceControlSearchChangeRequestsRpc, WsSourceControlGetChangeRequestDetailRpc, WsSourceControlGetChangeRequestDiffRpc, WsSourceControlCreateIssueRpc, WsSourceControlAddIssueCommentRpc, WsSourceControlAddIssueCommentReactionRpc, WsSourceControlAddChangeRequestCommentRpc, WsSourceControlAddChangeRequestCommentReactionRpc, WsSourceControlListIssueLabelsRpc, WsSourceControlListIssueAssigneesRpc, WsSourceControlListWorkflowRunsRpc, WsSourceControlGetWorkflowRunJobsRpc, WsSourceControlGetWorkflowJobLogRpc, WsSourceControlRerunWorkflowRpc, WsTextGenerationGenerateIssueContentRpc, WsTextGenerationGenerateBranchNameRpc, WsAtlassianListConnectionsRpc, WsAtlassianStartOAuthRpc, WsAtlassianDisconnectRpc, WsAtlassianRefreshRpc, WsAtlassianListResourcesRpc, WsAtlassianGetProjectLinkRpc, WsAtlassianSaveProjectLinkRpc, WsAtlassianSaveManualBitbucketTokenRpc, WsAtlassianSaveManualJiraTokenRpc, WsWorkItemsListProjectsRpc, WsWorkItemsListRpc, WsWorkItemsSearchRpc, WsWorkItemsGetRpc, WsWorkItemsAddCommentRpc, WsWorkItemsEditCommentRpc, WsWorkItemsUpdateRpc, WsWorkItemsListTransitionsRpc, WsWorkItemsTransitionRpc, WsProjectsListEntriesRpc, WsProjectsSearchEntriesRpc, WsProjectsReadFileRpc, WsProjectsWriteFileRpc, WsProjectsStageFileReferenceRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsSubscribeVcsStatusRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsGitCreateWorktreeForProjectRpc, WsGitFindWorktreeForOriginRpc, WsGitArchiveWorktreeRpc, WsGitRestoreWorktreeRpc, WsGitDeleteWorktreeRpc, WsThreadsSetManualBucketRpc, WsThreadsSetManualPositionRpc, WsWorktreesSetManualPositionRpc, WsProjectsInitializeGitRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsTerminalOpenRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationReplayEventsPageRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc);
5999
6373
  //#endregion
6000
6374
  //#region src/stream/collectUint8StreamText.ts
6001
6375
  const collectUint8StreamText = (input) => {
@@ -7014,6 +7388,12 @@ Object.defineProperty(exports, "WorkItemProviderError", {
7014
7388
  return WorkItemProviderError;
7015
7389
  }
7016
7390
  });
7391
+ Object.defineProperty(exports, "WorkItemProviderKind", {
7392
+ enumerable: true,
7393
+ get: function() {
7394
+ return WorkItemProviderKind;
7395
+ }
7396
+ });
7017
7397
  Object.defineProperty(exports, "Worktree", {
7018
7398
  enumerable: true,
7019
7399
  get: function() {