ryco-cli 0.1.25 → 0.1.26

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 (299) hide show
  1. package/dist/{GrokDriver-CduUwiOH.mjs → AcpAdapter-BemMQNbj.mjs} +102 -604
  2. package/dist/{GrokDriver-D0jraOC_.cjs → AcpAdapter-CadxcdZV.cjs} +129 -612
  3. package/dist/AcpNativeLogging-BsbZRRD7.mjs +312 -0
  4. package/dist/AcpNativeLogging-DZPZNoju.cjs +383 -0
  5. package/dist/AcpRegistryDriver-BfCPf8FX.cjs +222 -0
  6. package/dist/AcpRegistryDriver-BpXCjh9I.mjs +221 -0
  7. package/dist/{AzureDevOpsSourceControlProvider-COmd21c-.cjs → AzureDevOpsSourceControlProvider-B9N_8NJg.cjs} +14 -14
  8. package/dist/{AzureDevOpsSourceControlProvider-B_E0XXfD.mjs → AzureDevOpsSourceControlProvider-BcQO_CyW.mjs} +3 -3
  9. package/dist/{BitbucketSourceControlProvider-pUKsNXcg.mjs → BitbucketSourceControlProvider-BTUY2ZT8.mjs} +3 -3
  10. package/dist/{BitbucketSourceControlProvider-CD8IvXQK.cjs → BitbucketSourceControlProvider-C9WuwvY2.cjs} +14 -14
  11. package/dist/{BunPTY-TbHbSc8S.mjs → BunPTY-DdnqQAdw.mjs} +1 -1
  12. package/dist/{ClaudeDriver-Dry5uJfX.cjs → ClaudeDriver-BSTxNNGO.cjs} +162 -126
  13. package/dist/{ClaudeDriver-CGifBixr.mjs → ClaudeDriver-Csnp78qR.mjs} +129 -93
  14. package/dist/{CodexDriver-BzR8gA8w.cjs → CodexDriver-BK4HVNV4.cjs} +145 -60
  15. package/dist/{CodexDriver-V4CL9APE.mjs → CodexDriver-fwcV84hX.mjs} +99 -14
  16. package/dist/{CodexTextGeneration-DTrSzY-I.cjs → CodexTextGeneration-Y2GSS7f1.cjs} +145 -99
  17. package/dist/{CodexTextGeneration-DoCidwvI.mjs → CodexTextGeneration-_4aT5BHa.mjs} +141 -95
  18. package/dist/{CopilotDriver-Dt13X60f.mjs → CopilotDriver-B12ZJ-L_.mjs} +69 -7
  19. package/dist/{CopilotDriver-rLcA8PSN.cjs → CopilotDriver-C7IyIwVW.cjs} +98 -36
  20. package/dist/{CursorDriver-C3s-8s9F.cjs → CursorDriver-BWmCfJ-w.cjs} +38 -32
  21. package/dist/{CursorDriver-HIPUs7cz.mjs → CursorDriver-C_p0v-ul.mjs} +12 -6
  22. package/dist/{ForgejoSourceControlProvider-JgiyrMqp.cjs → ForgejoSourceControlProvider-DTRrllIH.cjs} +14 -14
  23. package/dist/{ForgejoSourceControlProvider-CmvOAzEG.mjs → ForgejoSourceControlProvider-DmOGJEaJ.mjs} +3 -3
  24. package/dist/{GitHubSourceControlProvider-CItCpOcC.cjs → GitHubSourceControlProvider-D-YV8WP6.cjs} +16 -17
  25. package/dist/{GitHubSourceControlProvider-BYuvbcBf.mjs → GitHubSourceControlProvider-sQGcwnr3.mjs} +6 -7
  26. package/dist/{GitLabSourceControlProvider-CMce22nU.cjs → GitLabSourceControlProvider-kKYYnpER.cjs} +14 -14
  27. package/dist/{GitLabSourceControlProvider-DZzEaVSi.mjs → GitLabSourceControlProvider-mIl-K-4F.mjs} +3 -3
  28. package/dist/GrokDriver-BFOniP_K.cjs +567 -0
  29. package/dist/GrokDriver-CDcWkiAi.mjs +552 -0
  30. package/dist/{Metrics-a1h4iBQi.mjs → Metrics-C-3MahDy.mjs} +1 -107
  31. package/dist/{Metrics-Bcb9vCAe.cjs → Metrics-DCKbdeoH.cjs} +0 -168
  32. package/dist/{NodePTY-B_p5tLYO.mjs → NodePTY-DArvQ9bX.mjs} +1 -1
  33. package/dist/{OpenCodeDriver-DxGpgtDS.cjs → OpenCodeDriver-CckbFEQJ.cjs} +459 -141
  34. package/dist/{OpenCodeDriver-Bz_uJdMA.mjs → OpenCodeDriver-CnWJHyDJ.mjs} +430 -112
  35. package/dist/SideQuestionIsolation-5eGFRW0t.mjs +26 -0
  36. package/dist/SideQuestionIsolation-DvVKZWxi.cjs +37 -0
  37. package/dist/{SourceControlProviderDiscoveryCatalog-ZtwPWoxE.mjs → SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs} +2 -1
  38. package/dist/{SourceControlProviderDiscoveryCatalog-Dm_lhrhv.cjs → SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs} +6 -5
  39. package/dist/bin.cjs +12537 -3029
  40. package/dist/bin.mjs +10444 -965
  41. package/dist/client/assets/AccountSettings-DLbcE2w-.js +1 -0
  42. package/dist/client/assets/Adobe-CNS1-UCS2-fO900upv.bcmap +0 -0
  43. package/dist/client/assets/Adobe-GB1-UCS2-BA083yIo.bcmap +0 -0
  44. package/dist/client/assets/Adobe-Japan1-UCS2-BL-4M2vS.bcmap +0 -0
  45. package/dist/client/assets/Adobe-Korea1-UCS2-BEQZuOdo.bcmap +0 -0
  46. package/dist/client/assets/AiFocusSettings-FKvdkl4P.js +1 -0
  47. package/dist/client/assets/{AnimatedHeight-DPqb09B0.js → AnimatedHeight-CbIEyMLg.js} +1 -1
  48. package/dist/client/assets/AppearanceSettings-B2LsGKmL.js +1 -0
  49. package/dist/client/assets/{BranchToolbar.logic-CHRK3hDt.js → BranchToolbar.logic-BqkvYNPk.js} +1 -1
  50. package/dist/client/assets/{BrowserPanel-2Xu08il5.js → BrowserPanel-C_C4zjrh.js} +1 -1
  51. package/dist/client/assets/ChatRightPanel-ibiQ79jI.js +195 -0
  52. package/dist/client/assets/{ChatThreadRouteView-CNww3i2J.js → ChatThreadRouteView-c7AXmbSk.js} +1 -1
  53. package/dist/client/assets/CommandPaletteDialog-DdPKN6rv.js +1 -0
  54. package/dist/client/assets/CompositeRoot-DKwS-ADi.js +1 -0
  55. package/dist/client/assets/{ComputerUseSettings-BJs7jqR0.js → ComputerUseSettings-DM17BYP5.js} +1 -1
  56. package/dist/client/assets/ConnectionsSettings-D6wysIC8.js +7 -0
  57. package/dist/client/assets/ContextHandoffEndpointLabel-CsF_maM_.js +4 -0
  58. package/dist/client/assets/{DiagnosticsSettings-BmrqOKMe.js → DiagnosticsSettings-Bq2l-C4J.js} +2 -2
  59. package/dist/client/assets/{DialogHandle-pelzaaiH.js → DialogHandle-DuKTleCw.js} +1 -1
  60. package/dist/client/assets/{DialogPopup-BLM0vN4N.js → DialogPopup-Dt7DzTWv.js} +1 -1
  61. package/dist/client/assets/DialogRoot-DRyawL6l.js +1 -0
  62. package/dist/client/assets/{DialogTitle-BvIjMtMm.js → DialogTitle-BaxfPC6e.js} +1 -1
  63. package/dist/client/assets/DialogTrigger-D0PJ8bRT.js +1 -0
  64. package/dist/client/assets/{DialogViewport-Cz0OadGI.js → DialogViewport-C3B2JZWQ.js} +1 -1
  65. package/dist/client/assets/DraftChatThreadRouteView-B8YiD5NP.js +1 -0
  66. package/dist/client/assets/ETHK-B5-H-1MLb5v9x.bcmap +0 -0
  67. package/dist/client/assets/{ExternalIdentityWeb.logic-3rlDV7lT.js → ExternalIdentityWeb.logic-CrcNfdHK.js} +1 -1
  68. package/dist/client/assets/FoxitDingbats-BaQLufoW.pfb +0 -0
  69. package/dist/client/assets/FoxitFixed-Dyd5Nipw.pfb +0 -0
  70. package/dist/client/assets/FoxitFixedBold-D5TuYRwj.pfb +0 -0
  71. package/dist/client/assets/FoxitFixedBoldItalic-BqlXQ_Yv.pfb +0 -0
  72. package/dist/client/assets/FoxitFixedItalic-DqjQkmbS.pfb +0 -0
  73. package/dist/client/assets/FoxitSerif-qbgiDIe-.pfb +0 -0
  74. package/dist/client/assets/FoxitSerifBold-DZZ4CclT.pfb +0 -0
  75. package/dist/client/assets/FoxitSerifBoldItalic-DSQtwd_X.pfb +0 -0
  76. package/dist/client/assets/FoxitSerifItalic-CQs5lx9Y.pfb +0 -0
  77. package/dist/client/assets/FoxitSymbol-BVtbc20u.pfb +0 -0
  78. package/dist/client/assets/GBK-EUC-H-CAORqCkf.bcmap +0 -0
  79. package/dist/client/assets/GBK2K-H-Cv55KPk8.bcmap +0 -0
  80. package/dist/client/assets/GBKp-EUC-H-CElrnV5g.bcmap +0 -0
  81. package/dist/client/assets/GBT-EUC-H-BTsQIL1M.bcmap +0 -0
  82. package/dist/client/assets/GBT-H-DL9h-WkS.bcmap +0 -0
  83. package/dist/client/assets/GBTpc-EUC-H-DnIh5WJ3.bcmap +0 -0
  84. package/dist/client/assets/{GlassSurface-CEVIdyfP.js → GlassSurface-CBIEgwt1.js} +1 -1
  85. package/dist/client/assets/HKscs-B5-H-CXbBbq6g.bcmap +0 -0
  86. package/dist/client/assets/{HostedConnectionControls-r9cyZPyF.js → HostedConnectionControls-DOpTlXzE.js} +1 -1
  87. package/dist/client/assets/{HostedHubRoot-BkfafJ5x.js → HostedHubRoot-C1jq8cM6.js} +2 -2
  88. package/dist/client/assets/{HostedNativeAuthorizationRoute-CqHuW853.js → HostedNativeAuthorizationRoute-Clw1DHQW.js} +2 -2
  89. package/dist/client/assets/{HostedNodeRenameDialog-C7m-nvTj.js → HostedNodeRenameDialog-Bd_Qu_ek.js} +1 -1
  90. package/dist/client/assets/{HostedRelayTrustNotice-DNZQyAX0.js → HostedRelayTrustNotice-CGcBpT9m.js} +1 -1
  91. package/dist/client/assets/{IntegrationsSettingsPanel-hul3ysgL.js → IntegrationsSettingsPanel-J0qODRW-.js} +2 -2
  92. package/dist/client/assets/KSC-Johab-H-CGtV3MPT.bcmap +0 -0
  93. package/dist/client/assets/{KeybindingsSettings-Cme6omBM.js → KeybindingsSettings-CwxIHsFy.js} +1 -1
  94. package/dist/client/assets/{LazyBrowserPanel-COJFwNK7.js → LazyBrowserPanel-VNAn6AUL.js} +2 -2
  95. package/dist/client/assets/LiberationSans-Bold-BPt4bU5Z.ttf +0 -0
  96. package/dist/client/assets/LiberationSans-BoldItalic-Bj53-jFw.ttf +0 -0
  97. package/dist/client/assets/LiberationSans-Italic-5QhGB3P9.ttf +0 -0
  98. package/dist/client/assets/LiberationSans-Regular-cbskN6YR.ttf +0 -0
  99. package/dist/client/assets/McpServersSettings-1pkIeutq.js +6 -0
  100. package/dist/client/assets/MobileSheet-DddfN8c2.js +1 -0
  101. package/dist/client/assets/{NodeSecuritySettings-CwT5nEW9.js → NodeSecuritySettings-BOIZeFZo.js} +1 -1
  102. package/dist/client/assets/OpinionatedPluginsSettings-oTIrPtIb.js +1 -0
  103. package/dist/client/assets/PdfAttachmentPreview-BCMO9OHD.js +54 -0
  104. package/dist/client/assets/{PhoneGetAppInterstitial-BBnGXVkR.js → PhoneGetAppInterstitial-0EOj-PbW.js} +1 -1
  105. package/dist/client/assets/PhoneHome-Cg7l3b1T.js +1 -0
  106. package/dist/client/assets/{PhoneSettingsSurface-DdVCndyt.js → PhoneSettingsSurface-BXAUtZ9M.js} +2 -2
  107. package/dist/client/assets/ProvidersSettingsPanel-BaJgypXu.js +1 -0
  108. package/dist/client/assets/{QuitShortcutFeedback-mF7X0WMD.js → QuitShortcutFeedback-DgJFEd6b.js} +1 -1
  109. package/dist/client/assets/{RedactedSensitiveText-DovqFcmM.js → RedactedSensitiveText-D1VC2xa7.js} +1 -1
  110. package/dist/client/assets/RootAppShell-D2RjZ9jQ.js +7 -0
  111. package/dist/client/assets/Separator-CeMncdkm.js +1 -0
  112. package/dist/client/assets/SettingsDialog-B2hEb6u8.js +2 -0
  113. package/dist/client/assets/SettingsPanels-DtWLQDne.js +3 -0
  114. package/dist/client/assets/{SettingsPanels.editor-d-rVlbeN.js → SettingsPanels.editor-DJRckD71.js} +1 -1
  115. package/dist/client/assets/SourceControlSettings-IpoZrjt5.js +1 -0
  116. package/dist/client/assets/StatisticsPage-CUpE_5Gr.js +1 -0
  117. package/dist/client/assets/StatisticsPanel-CHrAY5AP.js +1 -0
  118. package/dist/client/assets/StatisticsSettingsLink-bGWuxNG3.js +1 -0
  119. package/dist/client/assets/{ThreadTerminalDrawer-DaLrSTn9.js → ThreadTerminalDrawer-BEv83xrk.js} +3 -3
  120. package/dist/client/assets/ThreadWorkspacePanel-BdMdJVHJ.js +2073 -0
  121. package/dist/client/assets/UniCNS-UCS2-H-DWzv8UhH.bcmap +0 -0
  122. package/dist/client/assets/UniCNS-UTF16-H-Bw0JKgCq.bcmap +0 -0
  123. package/dist/client/assets/UniCNS-UTF32-H-IE_GrH2i.bcmap +0 -0
  124. package/dist/client/assets/UniCNS-UTF8-H-BbLcFh6Q.bcmap +0 -0
  125. package/dist/client/assets/UniGB-UCS2-H-D7xzRvZN.bcmap +0 -0
  126. package/dist/client/assets/UniGB-UTF16-H-DKjbEwc0.bcmap +0 -0
  127. package/dist/client/assets/UniGB-UTF32-H-Behfouj5.bcmap +0 -0
  128. package/dist/client/assets/UniGB-UTF8-H-EROft1ro.bcmap +0 -0
  129. package/dist/client/assets/UniJIS-UCS2-H-2DbZ0MaQ.bcmap +0 -0
  130. package/dist/client/assets/UniJIS-UTF16-H-BlDDPdCK.bcmap +0 -0
  131. package/dist/client/assets/UniJIS-UTF32-H-BIQPWkjv.bcmap +0 -0
  132. package/dist/client/assets/UniJIS-UTF8-H-CGusholx.bcmap +0 -0
  133. package/dist/client/assets/UniJIS2004-UTF16-H-KXixH-HI.bcmap +0 -0
  134. package/dist/client/assets/UniJIS2004-UTF32-H-CXrD-9YE.bcmap +0 -0
  135. package/dist/client/assets/UniJIS2004-UTF8-H-BkOctZjn.bcmap +0 -0
  136. package/dist/client/assets/UniJISX0213-UTF32-H-BavAhZjb.bcmap +0 -0
  137. package/dist/client/assets/UniJISX02132004-UTF32-H-DAH-AgUq.bcmap +0 -0
  138. package/dist/client/assets/UniKS-UCS2-H-YeUc7k1L.bcmap +0 -0
  139. package/dist/client/assets/UniKS-UTF16-H-B0dvB-Td.bcmap +0 -0
  140. package/dist/client/assets/UniKS-UTF32-H-olR_LtmR.bcmap +0 -0
  141. package/dist/client/assets/UniKS-UTF8-H-CbpebD-y.bcmap +0 -0
  142. package/dist/client/assets/{activity-bn_fBQGf.js → activity-BmRcsTyL.js} +1 -1
  143. package/dist/client/assets/{alert-BmLJh6DH.js → alert-C5UiA2xk.js} +1 -1
  144. package/dist/client/assets/{appChrome-Dy57Ve9N.js → appChrome-CsZ2ylc1.js} +1 -1
  145. package/dist/client/assets/{arrow-left-pzj1cbX3.js → arrow-left-CSz-z20j.js} +1 -1
  146. package/dist/client/assets/{arrow-right-BW5jU-vo.js → arrow-right-DEi91hao.js} +1 -1
  147. package/dist/client/assets/{arrow-up-right-AfC5AaSO.js → arrow-up-right-D7SpcTV9.js} +1 -1
  148. package/dist/client/assets/authorization-B1YXfej3.js +1 -0
  149. package/dist/client/assets/badge-BjvTY7-E.js +1 -0
  150. package/dist/client/assets/{bot-CsKkSRlb.js → bot-SC4UGZyw.js} +1 -1
  151. package/dist/client/assets/{capabilities-DskyVNd2.js → capabilities-BCkDNe83.js} +1 -1
  152. package/dist/client/assets/{chart-column-DhvWXIiH.js → chart-column-C08MuLgY.js} +1 -1
  153. package/dist/client/assets/chevron-right-DgB53U1_.js +1 -0
  154. package/dist/client/assets/{clipboard-copy-fJnfdl4H.js → clipboard-copy-D74Wvnon.js} +1 -1
  155. package/dist/client/assets/{data-list-_E-Al1sf.js → data-list-CZ4Utnfl.js} +1 -1
  156. package/dist/client/assets/{desktopWorkspace-DycXKuMm.js → desktopWorkspace-DVfn9ZT_.js} +1 -1
  157. package/dist/client/assets/{download-CLQzE1di.js → download-Dio40wIJ.js} +1 -1
  158. package/dist/client/assets/editorPreferences-2dG4uloq.js +1 -0
  159. package/dist/client/assets/{empty-YXFtCUDN.js → empty-6LExKYgQ.js} +1 -1
  160. package/dist/client/assets/{group-DOCkUmuY.js → group-D_mu0Kiq.js} +1 -1
  161. package/dist/client/assets/{hostedConnectionCoordinator-JZ1dLx4v.js → hostedConnectionCoordinator-YkDLnATK.js} +1 -1
  162. package/dist/client/assets/{hubRoutes-C2S5of9_.js → hubRoutes-D3quWvU7.js} +1 -1
  163. package/dist/client/assets/{index-CvRFRkBK.js → index-7MTgf8YI.js} +2 -2
  164. package/dist/client/assets/{input-C2xv8mMt.js → input-CfVJycb1.js} +1 -1
  165. package/dist/client/assets/jbig2-CNFLgX9F.wasm +0 -0
  166. package/dist/client/assets/kbd-uFa_tY-L.js +1 -0
  167. package/dist/client/assets/{key-round-CYcb9lAa.js → key-round-C-oUSjpF.js} +1 -1
  168. package/dist/client/assets/{layers-CGlOWYxu.js → layers-Co2a5C1k.js} +1 -1
  169. package/dist/client/assets/{log-out-CZW2EpNJ.js → log-out-pWFhbvwr.js} +1 -1
  170. package/dist/client/assets/{logging-BpmZOfmu.js → logging-JMrwaeZh.js} +1 -1
  171. package/dist/client/assets/main-BNPtp9Z0.css +2 -0
  172. package/dist/client/assets/main-CGeD6yVE.js +9 -0
  173. package/dist/client/assets/openjpeg-MeY6OQBn.wasm +0 -0
  174. package/dist/client/assets/{palette-CQOuNfSO.js → palette-B_6C4fD6.js} +1 -1
  175. package/dist/client/assets/pdf.worker.min-Dswkl-cV.mjs +29 -0
  176. package/dist/client/assets/{play-CPVy9wwV.js → play-DFtc9zBy.js} +1 -1
  177. package/dist/client/assets/primary-CNUdEGcv.js +2 -0
  178. package/dist/client/assets/providerDriverMeta-Cg_XLUfo.js +1 -0
  179. package/dist/client/assets/{ProviderModelPicker-DoYEUZrn.js → providerInstances-JaDrOWPZ.js} +1 -1
  180. package/dist/client/assets/providerModels-5uOq3qPC.js +1 -0
  181. package/dist/client/assets/qcms_bg-3PJi_GXR.wasm +0 -0
  182. package/dist/client/assets/{qr-code-BPqDlVMn.js → qr-code-BU354aLS.js} +1 -1
  183. package/dist/client/assets/{qr-code-C6BVTc4V.js → qr-code-DaHWf7Oq.js} +1 -1
  184. package/dist/client/assets/quickjs-eval-zJSp5SB4.wasm +0 -0
  185. package/dist/client/assets/radio-group-DKaA1eey.js +2 -0
  186. package/dist/client/assets/{refresh-cw-B5Cz1z3e.js → refresh-cw-CY5BeUEr.js} +1 -1
  187. package/dist/client/assets/runtime-BKneT96Q.js +17 -0
  188. package/dist/client/assets/{save-C7zM6ey6.js → save-DIHMjHXd.js} +1 -1
  189. package/dist/client/assets/{scroll-area-5OU_pvTW.js → scroll-area-Cq4SX9P8.js} +1 -1
  190. package/dist/client/assets/{scrollEdges-qnEXfIOg.js → scrollEdges-BaWRjrac.js} +1 -1
  191. package/dist/client/assets/{separator-B5HfRiaO.js → separator-BN705fC0.js} +1 -1
  192. package/dist/client/assets/{settingsLayout-CfKq88KD.js → settingsLayout-DQERzSce.js} +1 -1
  193. package/dist/client/assets/{sheet-B9gQDy_I.js → sheet-CFvRY7T6.js} +1 -1
  194. package/dist/client/assets/{shield-rdjnBE2Q.js → shield-Zn2kFj5M.js} +1 -1
  195. package/dist/client/assets/{shield-alert-7yBlEyOs.js → shield-alert-DMB5gKiC.js} +1 -1
  196. package/dist/client/assets/{shield-check-CnKgVJ0F.js → shield-check-DyNf6Bky.js} +1 -1
  197. package/dist/client/assets/{sidebar-BdvL1Pbj.js → sidebar-Bsh64sLK.js} +1 -1
  198. package/dist/client/assets/sidebarProjectFolders-CQbpO9ZI.js +4 -0
  199. package/dist/client/assets/{sidebarStatusText-CZKsUFBD.js → sidebarStatusText-DCo-whyK.js} +1 -1
  200. package/dist/client/assets/{skeleton-CoyLqyaB.js → skeleton-DEuowfjY.js} +1 -1
  201. package/dist/client/assets/{smartphone-CBgpMHXR.js → smartphone-BLWJ7C9-.js} +1 -1
  202. package/dist/client/assets/{sparkles-w-UZXQx1.js → sparkles-DAXDXp_s.js} +1 -1
  203. package/dist/client/assets/src-DPpEXU6w.js +14 -0
  204. package/dist/client/assets/{star-BZ-RtSFD.js → star-CjQxHYbD.js} +1 -1
  205. package/dist/client/assets/switch-LahPAvrd.js +48 -0
  206. package/dist/client/assets/{toggle-DVGrNHjq.js → toggle-45lsrmyi.js} +1 -1
  207. package/dist/client/assets/{toggle-group-CNDOfNhH.js → toggle-group-D5pl24ED.js} +1 -1
  208. package/dist/client/assets/{tokenModePresentation-CQNdC9CW.js → tokenModePresentation-CPUsUGY4.js} +1 -1
  209. package/dist/client/assets/tooltip-B8-izeMo.js +1 -0
  210. package/dist/client/assets/{unplug-CRUwFNFw.js → unplug-Bjpxv8i0.js} +1 -1
  211. package/dist/client/assets/usage-8vQUo0mr.js +1 -0
  212. package/dist/client/assets/useAppSidebarCollapsed-uwz9Hlgc.js +1 -0
  213. package/dist/client/assets/useBaseUiId-BtuL7q77.js +1 -0
  214. package/dist/client/assets/useLabelableId-N_LsKNbf.js +1 -0
  215. package/dist/client/assets/useNavigate-DADLi29i.js +1 -0
  216. package/dist/client/assets/usePhoneThreadActions-B9_HK7tn.js +1 -0
  217. package/dist/client/assets/usePopupViewport-w8BEny9j.js +1 -0
  218. package/dist/client/assets/useScrollLock-bCmUzTgK.js +1 -0
  219. package/dist/client/assets/useStatistics-DJtONxT0.js +55 -0
  220. package/dist/client/assets/useTriggerFocusGuards-C7JWO2LT.js +1 -0
  221. package/dist/client/assets/useValueChanged-DkoUO9bY.js +1 -0
  222. package/dist/client/assets/{user-round-DStbWN3z.js → user-round-DEWIPpNs.js} +1 -1
  223. package/dist/client/assets/{vscode-icons-BihBo3tb.js → vscode-icons-DTH-Vj-_.js} +1 -1
  224. package/dist/client/assets/workspaceMetadataProjection-BnpxBe8S.js +1 -0
  225. package/dist/client/assets/{wrench-BBIgGxy9.js → wrench-36WYdK_a.js} +1 -1
  226. package/dist/client/index.html +1 -1
  227. package/dist/collectUint8StreamText-BAUF-vzz.mjs +37 -0
  228. package/dist/collectUint8StreamText-vagpNUMJ.cjs +42 -0
  229. package/dist/deviceHostWorker-C-BSnmkn.mjs +167 -0
  230. package/dist/deviceHostWorker-CYnrwfrv.cjs +169 -0
  231. package/dist/git-C4iJMbBu.mjs +132 -0
  232. package/dist/git-irmB8_k7.cjs +218 -0
  233. package/dist/{makeManagedServerProvider-CwYhl_P-.mjs → makeManagedServerProvider-BINne1KE.mjs} +3 -38
  234. package/dist/{makeManagedServerProvider-Dy2Ny9tk.cjs → makeManagedServerProvider-DGbd8BhM.cjs} +1 -60
  235. package/dist/resource-monitor/ryco-resource-monitor +0 -0
  236. package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
  237. package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
  238. package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
  239. package/dist/runtimeSession-Bj0OUcNJ.cjs +63 -0
  240. package/dist/runtimeSession-CA6cLWg0.mjs +40 -0
  241. package/dist/schemaJson-CaG1bOvo.mjs +49 -0
  242. package/dist/schemaJson-CuhFxa8p.cjs +66 -0
  243. package/dist/{collectUint8StreamText-whblCEfg.cjs → src-BlzIcnVG.cjs} +522 -116
  244. package/dist/{collectUint8StreamText-CE1Re5Ij.mjs → src-DtEOcXdl.mjs} +350 -94
  245. package/package.json +1 -1
  246. package/dist/AcpNativeLogging-CA6XYzIS.cjs +0 -5130
  247. package/dist/AcpNativeLogging-D4-VoHrq.mjs +0 -5015
  248. package/dist/client/assets/AccountSettings-Bv57-JYy.js +0 -1
  249. package/dist/client/assets/AiFocusSettings-DCPHmJpA.js +0 -1
  250. package/dist/client/assets/AppearanceSettings-EmTrtb_U.js +0 -1
  251. package/dist/client/assets/ChatRightPanel-C1VD6GCV.js +0 -194
  252. package/dist/client/assets/CommandPaletteDialog-B_f3fKp7.js +0 -1
  253. package/dist/client/assets/CompositeRoot-B40iitmH.js +0 -1
  254. package/dist/client/assets/ConnectionsSettings-B9nfvgLG.js +0 -7
  255. package/dist/client/assets/ContextHandoffEndpointLabel-BSQOArMR.js +0 -4
  256. package/dist/client/assets/DialogRoot-CY6ZzEUS.js +0 -1
  257. package/dist/client/assets/DialogTrigger-CIeVAA-a.js +0 -1
  258. package/dist/client/assets/DraftChatThreadRouteView-DMIGMESb.js +0 -1
  259. package/dist/client/assets/McpServersSettings-CPeNF8_u.js +0 -6
  260. package/dist/client/assets/MobileSheet-BZo-RAfm.js +0 -1
  261. package/dist/client/assets/OpinionatedPluginsSettings-D8A1CbMG.js +0 -1
  262. package/dist/client/assets/PhoneHome-BTKOPVjw.js +0 -1
  263. package/dist/client/assets/ProvidersSettingsPanel-ldDCPVIY.js +0 -1
  264. package/dist/client/assets/RootAppShell-CzmEWO9w.js +0 -7
  265. package/dist/client/assets/Separator-BhAVTIOc.js +0 -1
  266. package/dist/client/assets/SettingsDialog-ByXgBN0U.js +0 -2
  267. package/dist/client/assets/SettingsPanels-Bgf4vkrJ.js +0 -3
  268. package/dist/client/assets/SourceControlSettings-dKw0FaN1.js +0 -1
  269. package/dist/client/assets/StatisticsPage-C2RuqDIK.js +0 -1
  270. package/dist/client/assets/StatisticsPanel-DqoXnrhQ.js +0 -1
  271. package/dist/client/assets/StatisticsSettingsLink-C_f31sb4.js +0 -1
  272. package/dist/client/assets/ThreadWorkspacePanel-BvRZIxZQ.js +0 -2073
  273. package/dist/client/assets/authorization-7xVVtCBu.js +0 -1
  274. package/dist/client/assets/badge-DnBuGHGL.js +0 -1
  275. package/dist/client/assets/chevron-right-CITtTwME.js +0 -1
  276. package/dist/client/assets/editorPreferences-Bg624RVT.js +0 -1
  277. package/dist/client/assets/kbd-4-4mGdIa.js +0 -1
  278. package/dist/client/assets/main-CC-U8LrA.css +0 -2
  279. package/dist/client/assets/main-CzDOnLFw.js +0 -9
  280. package/dist/client/assets/primary-CjhRI8fe.js +0 -2
  281. package/dist/client/assets/providerDriverMeta-BVHpFupf.js +0 -1
  282. package/dist/client/assets/providerModels-BsybzP4P.js +0 -1
  283. package/dist/client/assets/radio-group-C8qudOQH.js +0 -2
  284. package/dist/client/assets/runtime-Bxg7k81u.js +0 -17
  285. package/dist/client/assets/sidebarProjectFolders-BH8XBqNe.js +0 -4
  286. package/dist/client/assets/src-Bi-5Nw9C.js +0 -14
  287. package/dist/client/assets/switch-CEJEmLe7.js +0 -48
  288. package/dist/client/assets/tooltip-B7Z4qomY.js +0 -1
  289. package/dist/client/assets/useAppSidebarCollapsed-wq6czkNJ.js +0 -1
  290. package/dist/client/assets/useBaseUiId-OYaGjnkh.js +0 -1
  291. package/dist/client/assets/useLabelableId-VMc-yITe.js +0 -1
  292. package/dist/client/assets/useNavigate-DVi0rBlf.js +0 -1
  293. package/dist/client/assets/usePhoneThreadActions-CwwHikjB.js +0 -1
  294. package/dist/client/assets/usePopupViewport-BcSIK_ph.js +0 -1
  295. package/dist/client/assets/useScrollLock-BQf9VYJT.js +0 -1
  296. package/dist/client/assets/useStatistics-DczKdEfy.js +0 -55
  297. package/dist/client/assets/useTriggerFocusGuards-DjP-D0_a.js +0 -1
  298. package/dist/client/assets/useValueChanged-CRwCkFdy.js +0 -1
  299. package/dist/client/assets/workspaceMetadataProjection-j3BGlVOB.js +0 -1
@@ -1,11 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const require_collectUint8StreamText = require("./collectUint8StreamText-whblCEfg.cjs");
4
- const require_Metrics = require("./Metrics-Bcb9vCAe.cjs");
3
+ const require_src = require("./src-BlzIcnVG.cjs");
4
+ const require_Metrics = require("./Metrics-DCKbdeoH.cjs");
5
5
  const require_bin = require("./bin.cjs");
6
- const require_makeManagedServerProvider = require("./makeManagedServerProvider-Dy2Ny9tk.cjs");
6
+ const require_runtimeSession = require("./runtimeSession-Bj0OUcNJ.cjs");
7
7
  const require_ProviderDriver = require("./ProviderDriver--rNeAi3B.cjs");
8
- const require_CodexTextGeneration = require("./CodexTextGeneration-DTrSzY-I.cjs");
8
+ const require_SideQuestionIsolation = require("./SideQuestionIsolation-DvVKZWxi.cjs");
9
+ const require_makeManagedServerProvider = require("./makeManagedServerProvider-DGbd8BhM.cjs");
10
+ const require_CodexTextGeneration = require("./CodexTextGeneration-Y2GSS7f1.cjs");
9
11
  let effect = require("effect");
10
12
  let node_crypto = require("node:crypto");
11
13
  require("effect/unstable/process");
@@ -17,7 +19,7 @@ function isCopilotChildEvent(event) {
17
19
  }
18
20
  //#endregion
19
21
  //#region src/provider/Layers/CopilotAdapter.types.ts
20
- const COPILOT_DRIVER_KIND = require_collectUint8StreamText.ProviderDriverKind.make("copilot");
22
+ const COPILOT_DRIVER_KIND = require_src.ProviderDriverKind.make("copilot");
21
23
  const DEFAULT_BINARY_PATH = "copilot";
22
24
  const USER_INPUT_QUESTION_ID = "answer";
23
25
  function resolveCopilotCliPath(settings, environment) {
@@ -43,13 +45,13 @@ function normalizeString(value) {
43
45
  return typeof value === "string" && value.trim().length > 0 ? value.trim() : void 0;
44
46
  }
45
47
  function toRuntimeItemId(value) {
46
- return value ? require_collectUint8StreamText.RuntimeItemId.make(value) : void 0;
48
+ return value ? require_src.RuntimeItemId.make(value) : void 0;
47
49
  }
48
50
  function toRuntimeRequestId(value) {
49
- return value ? require_collectUint8StreamText.RuntimeRequestId.make(value) : void 0;
51
+ return value ? require_src.RuntimeRequestId.make(value) : void 0;
50
52
  }
51
53
  function toProviderItemId(value) {
52
- return value ? require_collectUint8StreamText.ProviderItemId.make(value) : void 0;
54
+ return value ? require_src.ProviderItemId.make(value) : void 0;
53
55
  }
54
56
  function normalizeUsage(event) {
55
57
  const directInputTokens = event.data.inputTokens ?? 0;
@@ -220,7 +222,7 @@ const mapEvent = (deps, session, event) => effect.Effect.gen(function* () {
220
222
  if (event.type === "subagent.started" || event.type === "subagent.completed" || event.type === "subagent.failed") {
221
223
  const data = event.data;
222
224
  const linkage = {
223
- taskId: require_collectUint8StreamText.RuntimeTaskId.make(`copilot-task:${data.toolCallId}`),
225
+ taskId: require_src.RuntimeTaskId.make(`copilot-task:${data.toolCallId}`),
224
226
  taskType: "subagent",
225
227
  title: data.agentDisplayName.trim() || data.agentName.trim() || "Copilot agent",
226
228
  ...data.agentName.trim() ? { role: data.agentName.trim() } : {},
@@ -270,7 +272,7 @@ const mapEvent = (deps, session, event) => effect.Effect.gen(function* () {
270
272
  if (isCopilotChildEvent(event)) return [];
271
273
  switch (event.type) {
272
274
  case "assistant.turn_start": {
273
- const eventTurnId = require_collectUint8StreamText.TurnId.make(event.data.turnId);
275
+ const eventTurnId = require_src.TurnId.make(event.data.turnId);
274
276
  return [{
275
277
  ...eventBase({
276
278
  eventId: stamp.eventId,
@@ -588,7 +590,7 @@ const makeStartSession = (deps) => (input) => effect.Effect.gen(function* () {
588
590
  operation: "startSession",
589
591
  issue: `Expected provider instance '${deps.instanceId}' but received '${input.providerInstanceId}'.`
590
592
  });
591
- const runtimeSessionId = yield* require_makeManagedServerProvider.requireRuntimeSessionId(COPILOT_DRIVER_KIND, input);
593
+ const runtimeSessionId = yield* require_runtimeSession.requireRuntimeSessionId(COPILOT_DRIVER_KIND, input);
592
594
  const existing = deps.sessions.get(input.threadId);
593
595
  if (existing) {
594
596
  if (existing.runtimeSessionId !== runtimeSessionId) return yield* new require_bin.ProviderAdapterValidationError({
@@ -700,7 +702,7 @@ const makeStartSession = (deps) => (input) => effect.Effect.gen(function* () {
700
702
  record.lastUsage = void 0;
701
703
  record.unsubscribe = nextSession.on((event) => {
702
704
  if (event.type === "assistant.turn_start" && !isCopilotChildEvent(event)) {
703
- activeTurn = require_collectUint8StreamText.TurnId.make(event.data.turnId);
705
+ activeTurn = require_src.TurnId.make(event.data.turnId);
704
706
  record.activeTurnId = activeTurn;
705
707
  for (const pending of Array.from(record.pendingTurnStarts)) pending.resolve(activeTurn);
706
708
  record.pendingTurnStarts.clear();
@@ -755,7 +757,7 @@ const makeSendTurn = (deps) => (input) => effect.Effect.gen(function* () {
755
757
  if (declaredAttachmentBytes > 52428800) return yield* new require_bin.ProviderAdapterRequestError({
756
758
  provider: COPILOT_DRIVER_KIND,
757
759
  method: "session.send",
758
- detail: `Attachments total ${declaredAttachmentBytes} bytes; limit is ${require_collectUint8StreamText.PROVIDER_SEND_TURN_MAX_ATTACHMENT_TOTAL_BYTES} bytes.`
760
+ detail: `Attachments total ${declaredAttachmentBytes} bytes; limit is ${require_src.PROVIDER_SEND_TURN_MAX_ATTACHMENT_TOTAL_BYTES} bytes.`
759
761
  });
760
762
  let attachmentTotalBytes = 0;
761
763
  const pathLineEntries = [];
@@ -777,7 +779,7 @@ const makeSendTurn = (deps) => (input) => effect.Effect.gen(function* () {
777
779
  if (attachmentTotalBytes > 52428800) return yield* new require_bin.ProviderAdapterRequestError({
778
780
  provider: COPILOT_DRIVER_KIND,
779
781
  method: "session.send",
780
- detail: `Attachments total ${attachmentTotalBytes} bytes; limit is ${require_collectUint8StreamText.PROVIDER_SEND_TURN_MAX_ATTACHMENT_TOTAL_BYTES} bytes.`
782
+ detail: `Attachments total ${attachmentTotalBytes} bytes; limit is ${require_src.PROVIDER_SEND_TURN_MAX_ATTACHMENT_TOTAL_BYTES} bytes.`
781
783
  });
782
784
  return {
783
785
  type: "blob",
@@ -812,7 +814,7 @@ const makeSendTurn = (deps) => (input) => effect.Effect.gen(function* () {
812
814
  }
813
815
  record.updatedAt = (/* @__PURE__ */ new Date()).toISOString();
814
816
  const sendPayload = {
815
- prompt: require_makeManagedServerProvider.appendAttachmentPathLines(input.input ?? "", require_makeManagedServerProvider.formatAttachmentPathLines(pathLineEntries)) ?? "",
817
+ prompt: require_runtimeSession.appendAttachmentPathLines(input.input ?? "", require_runtimeSession.formatAttachmentPathLines(pathLineEntries)) ?? "",
816
818
  ...attachments.length > 0 ? { attachments } : {},
817
819
  mode: "immediate"
818
820
  };
@@ -940,7 +942,7 @@ const makeRollbackThread = () => (threadId) => effect.Effect.succeed({
940
942
  const FULL_ACCESS_AUTO_APPROVE_AFTER_MS = 600;
941
943
  const makeCopilotAdapter = effect.Effect.fn("makeCopilotAdapter")(function* (copilotSettings, options) {
942
944
  const serverConfig = yield* require_Metrics.ServerConfig;
943
- const instanceId = options?.instanceId ?? require_collectUint8StreamText.ProviderInstanceId.make("copilot");
945
+ const instanceId = options?.instanceId ?? require_src.ProviderInstanceId.make("copilot");
944
946
  const nativeEventLogger = options?.nativeEventLogger ?? (options?.nativeEventLogPath !== void 0 ? yield* require_bin.makeEventNdjsonLogger(options.nativeEventLogPath, { stream: "native" }) : void 0);
945
947
  const sessions = /* @__PURE__ */ new Map();
946
948
  const runtimeEventQueue = yield* effect.Queue.bounded(2048);
@@ -950,7 +952,7 @@ const makeCopilotAdapter = effect.Effect.fn("makeCopilotAdapter")(function* (cop
950
952
  provider: COPILOT_DRIVER_KIND,
951
953
  providerInstanceId: instanceId
952
954
  });
953
- const nextEventId = effect.Effect.map(effect.Effect.sync(() => crypto.randomUUID()), (id) => require_collectUint8StreamText.EventId.make(id));
955
+ const nextEventId = effect.Effect.map(effect.Effect.sync(() => crypto.randomUUID()), (id) => require_src.EventId.make(id));
954
956
  const makeEventStamp = () => effect.Effect.all({
955
957
  eventId: nextEventId,
956
958
  createdAt: effect.Effect.sync(() => (/* @__PURE__ */ new Date()).toISOString())
@@ -976,7 +978,7 @@ const makeCopilotAdapter = effect.Effect.fn("makeCopilotAdapter")(function* (cop
976
978
  });
977
979
  const makeSyntheticEvent = (threadId, runtimeSessionId, type, payload, extra) => effect.Effect.gen(function* () {
978
980
  const stamp = yield* makeEventStamp();
979
- return require_makeManagedServerProvider.stampRuntimeEvent({
981
+ return require_runtimeSession.stampRuntimeEvent({
980
982
  ...eventBase({
981
983
  eventId: stamp.eventId,
982
984
  createdAt: stamp.createdAt,
@@ -1004,7 +1006,7 @@ const makeCopilotAdapter = effect.Effect.fn("makeCopilotAdapter")(function* (cop
1004
1006
  const handleEvent = effect.Effect.fn("handleCopilotEvent")(function* (session, event) {
1005
1007
  if (isCopilotChildEvent(event)) {
1006
1008
  yield* logNativeEvent(session.threadId, event);
1007
- const mapped = (yield* mapEvent(mapEventDeps, session, event)).map((runtimeEvent) => require_makeManagedServerProvider.stampRuntimeEvent(runtimeEvent, {
1009
+ const mapped = (yield* mapEvent(mapEventDeps, session, event)).map((runtimeEvent) => require_runtimeSession.stampRuntimeEvent(runtimeEvent, {
1008
1010
  providerInstanceId: instanceId,
1009
1011
  runtimeSessionId: session.runtimeSessionId
1010
1012
  }));
@@ -1014,7 +1016,7 @@ const makeCopilotAdapter = effect.Effect.fn("makeCopilotAdapter")(function* (cop
1014
1016
  session.updatedAt = event.timestamp;
1015
1017
  const clearsActiveTurn = event.type === "session.idle" || event.type === "abort";
1016
1018
  if (event.type === "assistant.turn_start") {
1017
- const turnId = require_collectUint8StreamText.TurnId.make(event.data.turnId);
1019
+ const turnId = require_src.TurnId.make(event.data.turnId);
1018
1020
  session.activeTurnId = turnId;
1019
1021
  session.turns.push({
1020
1022
  id: turnId,
@@ -1030,7 +1032,7 @@ const makeCopilotAdapter = effect.Effect.fn("makeCopilotAdapter")(function* (cop
1030
1032
  if (session.agentControl) yield* session.agentControl.revoke("runtime-teardown");
1031
1033
  }
1032
1034
  yield* logNativeEvent(session.threadId, event);
1033
- const mapped = (yield* mapEvent(mapEventDeps, session, event)).map((runtimeEvent) => require_makeManagedServerProvider.stampRuntimeEvent(runtimeEvent, {
1035
+ const mapped = (yield* mapEvent(mapEventDeps, session, event)).map((runtimeEvent) => require_runtimeSession.stampRuntimeEvent(runtimeEvent, {
1034
1036
  providerInstanceId: instanceId,
1035
1037
  runtimeSessionId: session.runtimeSessionId
1036
1038
  }));
@@ -1191,18 +1193,18 @@ const makeCopilotAdapter = effect.Effect.fn("makeCopilotAdapter")(function* (cop
1191
1193
  //#endregion
1192
1194
  //#region src/textGeneration/CopilotTextGeneration.ts
1193
1195
  const COPILOT_THREAD_TITLE_TIMEOUT_MS = 6e4;
1194
- const CODEX_DRIVER_KIND = require_collectUint8StreamText.ProviderDriverKind.make("codex");
1196
+ const CODEX_DRIVER_KIND = require_src.ProviderDriverKind.make("codex");
1195
1197
  const ThreadTitleResponse = effect.Schema.Struct({ title: effect.Schema.String });
1196
1198
  function gitTextGenerationSelection() {
1197
- const options = require_collectUint8StreamText.DEFAULT_GIT_TEXT_GENERATION_OPTIONS_BY_PROVIDER[CODEX_DRIVER_KIND];
1199
+ const options = require_src.DEFAULT_GIT_TEXT_GENERATION_OPTIONS_BY_PROVIDER[CODEX_DRIVER_KIND];
1198
1200
  return {
1199
- instanceId: require_collectUint8StreamText.ProviderInstanceId.make("codex"),
1200
- model: require_collectUint8StreamText.DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER[CODEX_DRIVER_KIND] ?? "gpt-5.6-luna",
1201
+ instanceId: require_src.ProviderInstanceId.make("codex"),
1202
+ model: require_src.DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER[CODEX_DRIVER_KIND] ?? "gpt-5.6-luna",
1201
1203
  ...options ? { options } : {}
1202
1204
  };
1203
1205
  }
1204
- const makeCopilotTextGeneration = effect.Effect.fn("makeCopilotTextGeneration")(function* (copilotSettings, environment = process.env, clientFactory = (cwd) => new _github_copilot_sdk.CopilotClient(makeCopilotClientOptions(copilotSettings, environment, cwd))) {
1205
- const codexFallback = yield* require_CodexTextGeneration.makeCodexTextGeneration(effect.Schema.decodeSync(require_collectUint8StreamText.CodexSettings)({}), environment);
1206
+ const makeCopilotTextGeneration = effect.Effect.fn("makeCopilotTextGeneration")(function* (copilotSettings, environment = process.env, clientFactory = (cwd, sideQuestion) => new _github_copilot_sdk.CopilotClient(makeCopilotClientOptions(copilotSettings, sideQuestion ? require_SideQuestionIsolation.sideQuestionEnvironment(environment) : environment, cwd))) {
1207
+ const codexFallback = yield* require_CodexTextGeneration.makeCodexTextGeneration(effect.Schema.decodeSync(require_src.CodexSettings)({}), environment);
1206
1208
  const withGitFallbackSelection = (input) => ({
1207
1209
  ...input,
1208
1210
  modelSelection: gitTextGenerationSelection()
@@ -1236,19 +1238,78 @@ const makeCopilotTextGeneration = effect.Effect.fn("makeCopilotTextGeneration")(
1236
1238
  await client.stop();
1237
1239
  }
1238
1240
  },
1239
- catch: (cause) => new require_collectUint8StreamText.TextGenerationError({
1241
+ catch: (cause) => new require_src.TextGenerationError({
1240
1242
  operation: "generateThreadTitle",
1241
1243
  detail: cause instanceof Error ? `GitHub Copilot title generation failed: ${cause.message}` : "GitHub Copilot title generation failed.",
1242
1244
  cause
1243
1245
  })
1244
1246
  });
1245
- const parsed = yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(ThreadTitleResponse))(require_bin.extractJsonObject(content)).pipe(effect.Effect.mapError((cause) => new require_collectUint8StreamText.TextGenerationError({
1247
+ const parsed = yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(ThreadTitleResponse))(require_bin.extractJsonObject(content)).pipe(effect.Effect.mapError((cause) => new require_src.TextGenerationError({
1246
1248
  operation: "generateThreadTitle",
1247
1249
  detail: "GitHub Copilot returned invalid title JSON.",
1248
1250
  cause
1249
1251
  })));
1250
1252
  return { title: require_bin.sanitizeThreadTitle(parsed.title) };
1251
1253
  });
1254
+ const answerSideQuestion = (input) => effect.Effect.scoped(effect.Effect.gen(function* () {
1255
+ const cwd = yield* require_SideQuestionIsolation.sideQuestionDirectory;
1256
+ const { prompt, outputSchema } = require_bin.buildSideQuestionPrompt(input);
1257
+ const client = yield* effect.Effect.acquireRelease(effect.Effect.sync(() => clientFactory(cwd, true)), (client) => effect.Effect.promise(() => client.stop()).pipe(effect.Effect.ignore));
1258
+ const reasoningEffort = require_bin.getModelSelectionStringOptionValue(input.modelSelection, "reasoningEffort");
1259
+ const content = yield* effect.Effect.tryPromise({
1260
+ try: async (signal) => {
1261
+ const session = await client.createSession({
1262
+ model: input.modelSelection.model,
1263
+ ...reasoningEffort ? { reasoningEffort } : {},
1264
+ workingDirectory: cwd,
1265
+ configDirectory: cwd,
1266
+ streaming: false,
1267
+ availableTools: [],
1268
+ onPermissionRequest: () => ({ kind: "reject" }),
1269
+ systemMessage: {
1270
+ mode: "replace",
1271
+ content: "Answer only from the supplied completed context. No tools, file access, or mutations are permitted."
1272
+ },
1273
+ enableConfigDiscovery: false,
1274
+ enableOnDemandInstructionDiscovery: false,
1275
+ enableFileHooks: false,
1276
+ enableHostGitOperations: false,
1277
+ enableSessionStore: false,
1278
+ enableSkills: false,
1279
+ skipEmbeddingRetrieval: true,
1280
+ embeddingCacheStorage: "in-memory",
1281
+ infiniteSessions: { enabled: false }
1282
+ });
1283
+ const abort = () => {
1284
+ session.abort().catch(() => void 0);
1285
+ };
1286
+ signal.addEventListener("abort", abort, { once: true });
1287
+ try {
1288
+ if (signal.aborted) {
1289
+ abort();
1290
+ throw new Error("Side question cancelled.");
1291
+ }
1292
+ return (await session.sendAndWait({
1293
+ prompt,
1294
+ mode: "immediate"
1295
+ }, 18e4))?.data.content ?? "";
1296
+ } finally {
1297
+ signal.removeEventListener("abort", abort);
1298
+ await session.disconnect();
1299
+ }
1300
+ },
1301
+ catch: (cause) => new require_src.TextGenerationError({
1302
+ operation: "answerSideQuestion",
1303
+ detail: "GitHub Copilot side question failed.",
1304
+ cause
1305
+ })
1306
+ });
1307
+ return yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(outputSchema))(require_bin.extractJsonObject(content)).pipe(effect.Effect.mapError((cause) => new require_src.TextGenerationError({
1308
+ operation: "answerSideQuestion",
1309
+ detail: "GitHub Copilot returned invalid side question JSON.",
1310
+ cause
1311
+ })));
1312
+ }));
1252
1313
  const rankInboxThreads = (input) => effect.Effect.gen(function* () {
1253
1314
  const { prompt, outputSchema } = require_bin.buildThreadPriorityPrompt({ serializedCandidates: input.chunk.serializedCandidates });
1254
1315
  const client = clientFactory(input.cwd);
@@ -1275,13 +1336,13 @@ const makeCopilotTextGeneration = effect.Effect.fn("makeCopilotTextGeneration")(
1275
1336
  await client.stop();
1276
1337
  }
1277
1338
  },
1278
- catch: (cause) => new require_collectUint8StreamText.TextGenerationError({
1339
+ catch: (cause) => new require_src.TextGenerationError({
1279
1340
  operation: "rankInboxThreads",
1280
1341
  detail: cause instanceof Error ? `GitHub Copilot inbox ranking failed: ${cause.message}` : "GitHub Copilot inbox ranking failed.",
1281
1342
  cause
1282
1343
  })
1283
1344
  });
1284
- const parsed = yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(outputSchema))(require_bin.extractJsonObject(content)).pipe(effect.Effect.mapError((cause) => new require_collectUint8StreamText.TextGenerationError({
1345
+ const parsed = yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(outputSchema))(require_bin.extractJsonObject(content)).pipe(effect.Effect.mapError((cause) => new require_src.TextGenerationError({
1285
1346
  operation: "rankInboxThreads",
1286
1347
  detail: "GitHub Copilot returned invalid inbox ranking JSON.",
1287
1348
  cause
@@ -1294,12 +1355,13 @@ const makeCopilotTextGeneration = effect.Effect.fn("makeCopilotTextGeneration")(
1294
1355
  generateBranchName: (input) => codexFallback.generateBranchName(withGitFallbackSelection(input)),
1295
1356
  generateThreadTitle,
1296
1357
  generateIssueContent: (input) => codexFallback.generateIssueContent(withGitFallbackSelection(input)),
1297
- rankInboxThreads
1358
+ rankInboxThreads,
1359
+ answerSideQuestion
1298
1360
  };
1299
1361
  });
1300
1362
  //#endregion
1301
1363
  //#region src/provider/Layers/CopilotProvider.ts
1302
- const PROVIDER = require_collectUint8StreamText.ProviderDriverKind.make("copilot");
1364
+ const PROVIDER = require_src.ProviderDriverKind.make("copilot");
1303
1365
  const COPILOT_PRESENTATION = {
1304
1366
  displayName: "GitHub Copilot",
1305
1367
  showInteractionModeToggle: true
@@ -1492,7 +1554,7 @@ const checkCopilotProviderStatus = effect.Effect.fn("checkCopilotProviderStatus"
1492
1554
  });
1493
1555
  //#endregion
1494
1556
  //#region src/provider/Drivers/CopilotDriver.ts
1495
- const DRIVER_KIND = require_collectUint8StreamText.ProviderDriverKind.make("copilot");
1557
+ const DRIVER_KIND = require_src.ProviderDriverKind.make("copilot");
1496
1558
  const withInstanceIdentity = (input) => (snapshot) => ({
1497
1559
  ...snapshot,
1498
1560
  instanceId: input.instanceId,
@@ -1507,8 +1569,8 @@ const CopilotDriver = {
1507
1569
  displayName: "GitHub Copilot",
1508
1570
  supportsMultipleInstances: true
1509
1571
  },
1510
- configSchema: require_collectUint8StreamText.CopilotSettings,
1511
- defaultConfig: () => effect.Schema.decodeSync(require_collectUint8StreamText.CopilotSettings)({}),
1572
+ configSchema: require_src.CopilotSettings,
1573
+ defaultConfig: () => effect.Schema.decodeSync(require_src.CopilotSettings)({}),
1512
1574
  create: ({ instanceId, displayName, accentColor, environment, enabled, config }) => effect.Effect.gen(function* () {
1513
1575
  const eventLoggers = yield* require_bin.ProviderEventLoggers;
1514
1576
  const agentControl = yield* effect.Effect.serviceOption(require_bin.AgentControlSessionRegistry);
@@ -1,12 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const require_rolldown_runtime = require("./rolldown-runtime-LGfotAqq.cjs");
4
- const require_collectUint8StreamText = require("./collectUint8StreamText-whblCEfg.cjs");
5
- const require_Metrics = require("./Metrics-Bcb9vCAe.cjs");
4
+ const require_src = require("./src-BlzIcnVG.cjs");
5
+ const require_Metrics = require("./Metrics-DCKbdeoH.cjs");
6
+ const require_git = require("./git-irmB8_k7.cjs");
6
7
  const require_bin = require("./bin.cjs");
7
- const require_makeManagedServerProvider = require("./makeManagedServerProvider-Dy2Ny9tk.cjs");
8
+ const require_AcpNativeLogging = require("./AcpNativeLogging-DZPZNoju.cjs");
9
+ const require_runtimeSession = require("./runtimeSession-Bj0OUcNJ.cjs");
8
10
  const require_ProviderDriver = require("./ProviderDriver--rNeAi3B.cjs");
9
- const require_AcpNativeLogging = require("./AcpNativeLogging-CA6XYzIS.cjs");
11
+ const require_makeManagedServerProvider = require("./makeManagedServerProvider-DGbd8BhM.cjs");
10
12
  let effect = require("effect");
11
13
  let effect_unstable_http = require("effect/unstable/http");
12
14
  let node_path = require("node:path");
@@ -58,7 +60,7 @@ const CursorUpdateTodosRequest = effect.Schema.Struct({
58
60
  const CursorAvailableModel = effect.Schema.Struct({
59
61
  value: effect.Schema.String,
60
62
  name: effect.Schema.String,
61
- configOptions: effect.Schema.optional(effect.Schema.Array(require_AcpNativeLogging.SessionConfigOption))
63
+ configOptions: effect.Schema.optional(effect.Schema.Array(require_bin.SessionConfigOption))
62
64
  });
63
65
  const CursorListAvailableModelsResponse = effect.Schema.Struct({ models: effect.Schema.Array(CursorAvailableModel) });
64
66
  function extractAskQuestions(params) {
@@ -91,7 +93,7 @@ function extractTodosAsPlan(params) {
91
93
  }
92
94
  //#endregion
93
95
  //#region src/provider/Layers/CursorProvider.ts
94
- const PROVIDER$1 = require_collectUint8StreamText.ProviderDriverKind.make("cursor");
96
+ const PROVIDER$1 = require_src.ProviderDriverKind.make("cursor");
95
97
  const CURSOR_PRESENTATION = {
96
98
  displayName: "Cursor",
97
99
  badgeLabel: "Early Access",
@@ -281,7 +283,7 @@ function buildCursorDiscoveredModelsFromAvailableModelsResponse(response) {
281
283
  }
282
284
  const makeCursorAcpProbeRuntime = (cursorSettings, environment = process.env) => effect.Effect.gen(function* () {
283
285
  const spawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
284
- const acpContext = yield* effect.Layer.build(require_AcpNativeLogging.AcpSessionRuntime.layer({
286
+ const acpContext = yield* effect.Layer.build(require_bin.AcpSessionRuntime.layer({
285
287
  spawn: {
286
288
  command: cursorSettings.binaryPath,
287
289
  args: [...cursorSettings.apiEndpoint ? ["-e", cursorSettings.apiEndpoint] : [], "acp"],
@@ -296,7 +298,7 @@ const makeCursorAcpProbeRuntime = (cursorSettings, environment = process.env) =>
296
298
  authMethodId: "cursor_login",
297
299
  clientCapabilities: CURSOR_PARAMETERIZED_MODEL_PICKER_CAPABILITIES
298
300
  }).pipe(effect.Layer.provide(effect.Layer.succeed(effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner, spawner))));
299
- return yield* effect.Effect.service(require_AcpNativeLogging.AcpSessionRuntime).pipe(effect.Effect.provide(acpContext));
301
+ return yield* effect.Effect.service(require_bin.AcpSessionRuntime).pipe(effect.Effect.provide(acpContext));
300
302
  });
301
303
  const withCursorAcpProbeRuntime = (cursorSettings, useRuntime, environment = process.env) => makeCursorAcpProbeRuntime(cursorSettings, environment).pipe(effect.Effect.flatMap(useRuntime), effect.Effect.scoped);
302
304
  function normalizeCursorConfigOptionToken(value) {
@@ -714,13 +716,13 @@ function buildCursorAcpSpawnInput(cursorSettings, cwd, environment) {
714
716
  };
715
717
  }
716
718
  const makeCursorAcpRuntime = (input) => effect.Effect.gen(function* () {
717
- const acpContext = yield* effect.Layer.build(require_AcpNativeLogging.AcpSessionRuntime.layer({
719
+ const acpContext = yield* effect.Layer.build(require_bin.AcpSessionRuntime.layer({
718
720
  ...input,
719
721
  spawn: buildCursorAcpSpawnInput(input.cursorSettings, input.cwd, input.environment),
720
722
  authMethodId: "cursor_login",
721
723
  clientCapabilities: CURSOR_PARAMETERIZED_MODEL_PICKER_CAPABILITIES
722
724
  }).pipe(effect.Layer.provide(effect.Layer.succeed(effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner, input.childProcessSpawner))));
723
- return yield* effect.Effect.service(require_AcpNativeLogging.AcpSessionRuntime).pipe(effect.Effect.provide(acpContext));
725
+ return yield* effect.Effect.service(require_bin.AcpSessionRuntime).pipe(effect.Effect.provide(acpContext));
724
726
  });
725
727
  function applyCursorAcpModelSelection(input) {
726
728
  return effect.Effect.gen(function* () {
@@ -740,7 +742,7 @@ function applyCursorAcpModelSelection(input) {
740
742
  //#region src/textGeneration/CursorTextGeneration.ts
741
743
  const CURSOR_TIMEOUT_MS = 18e4;
742
744
  function mapCursorAcpError(operation, detail, cause) {
743
- return new require_collectUint8StreamText.TextGenerationError({
745
+ return new require_src.TextGenerationError({
744
746
  operation,
745
747
  detail,
746
748
  ...cause !== void 0 ? { cause } : {}
@@ -788,18 +790,18 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
788
790
  text: prompt
789
791
  }] });
790
792
  }).pipe(effect.Effect.timeoutOption(CURSOR_TIMEOUT_MS), effect.Effect.flatMap(effect.Option.match({
791
- onNone: () => effect.Effect.fail(new require_collectUint8StreamText.TextGenerationError({
793
+ onNone: () => effect.Effect.fail(new require_src.TextGenerationError({
792
794
  operation,
793
795
  detail: "Cursor Agent request timed out."
794
796
  })),
795
797
  onSome: (value) => effect.Effect.succeed(value)
796
798
  })), effect.Effect.mapError((cause) => isTextGenerationError(cause) ? cause : mapCursorAcpError(operation, "Cursor ACP request failed.", cause)));
797
799
  const rawResult = (yield* effect.Ref.get(outputRef)).trim();
798
- if (!rawResult) return yield* new require_collectUint8StreamText.TextGenerationError({
800
+ if (!rawResult) return yield* new require_src.TextGenerationError({
799
801
  operation,
800
802
  detail: promptResult.stopReason === "cancelled" ? "Cursor ACP request was cancelled." : "Cursor Agent returned empty output."
801
803
  });
802
- return yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(outputSchemaJson))(require_bin.extractJsonObject(rawResult)).pipe(effect.Effect.catchTag("SchemaError", (cause) => effect.Effect.fail(new require_collectUint8StreamText.TextGenerationError({
804
+ return yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(outputSchemaJson))(require_bin.extractJsonObject(rawResult)).pipe(effect.Effect.catchTag("SchemaError", (cause) => effect.Effect.fail(new require_src.TextGenerationError({
803
805
  operation,
804
806
  detail: "Cursor Agent returned invalid structured output.",
805
807
  cause
@@ -823,7 +825,7 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
823
825
  return {
824
826
  subject: require_bin.sanitizeCommitSubject(generated.subject),
825
827
  body: generated.body.trim(),
826
- ..."branch" in generated && typeof generated.branch === "string" ? { branch: require_Metrics.sanitizeFeatureBranchName(generated.branch) } : {}
828
+ ..."branch" in generated && typeof generated.branch === "string" ? { branch: require_git.sanitizeFeatureBranchName(generated.branch) } : {}
827
829
  };
828
830
  }),
829
831
  generatePrContent: effect.Effect.fn("CursorTextGeneration.generatePrContent")(function* (input) {
@@ -858,7 +860,7 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
858
860
  outputSchemaJson: outputSchema,
859
861
  modelSelection: input.modelSelection
860
862
  });
861
- return { branch: require_Metrics.sanitizeBranchFragment(generated.branch) };
863
+ return { branch: require_git.sanitizeBranchFragment(generated.branch) };
862
864
  }),
863
865
  generateThreadTitle: effect.Effect.fn("CursorTextGeneration.generateThreadTitle")(function* (input) {
864
866
  const { prompt, outputSchema } = require_bin.buildThreadTitlePrompt({
@@ -913,7 +915,11 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
913
915
  modelSelection: input.modelSelection
914
916
  });
915
917
  return yield* require_bin.validateRankInboxThreadsResult(input, generated.rankings);
916
- })
918
+ }),
919
+ answerSideQuestion: (_input) => effect.Effect.fail(new require_src.TextGenerationError({
920
+ operation: "answerSideQuestion",
921
+ detail: "Cursor does not provide an enforceable tool-free side question mode. Select Codex, Claude, or GitHub Copilot for side chat."
922
+ }))
917
923
  };
918
924
  });
919
925
  //#endregion
@@ -923,7 +929,7 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
923
929
  *
924
930
  * @module CursorAdapterLive
925
931
  */
926
- const PROVIDER = require_collectUint8StreamText.ProviderDriverKind.make("cursor");
932
+ const PROVIDER = require_src.ProviderDriverKind.make("cursor");
927
933
  const CURSOR_RESUME_VERSION = 1;
928
934
  const ACP_PLAN_MODE_ALIASES = ["plan", "architect"];
929
935
  const ACP_IMPLEMENT_MODE_ALIASES = [
@@ -1015,7 +1021,7 @@ function selectAutoApprovedPermissionOption(request) {
1015
1021
  }
1016
1022
  function makeCursorAdapter(cursorSettings, options) {
1017
1023
  return effect.Effect.gen(function* () {
1018
- const boundInstanceId = options?.instanceId ?? require_collectUint8StreamText.ProviderInstanceId.make("cursor");
1024
+ const boundInstanceId = options?.instanceId ?? require_src.ProviderInstanceId.make("cursor");
1019
1025
  const fileSystem = yield* effect.FileSystem.FileSystem;
1020
1026
  const childProcessSpawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
1021
1027
  const serverConfig = yield* effect.Effect.service(require_Metrics.ServerConfig);
@@ -1025,13 +1031,13 @@ function makeCursorAdapter(cursorSettings, options) {
1025
1031
  const threadLocksRef = yield* effect.SynchronizedRef.make(/* @__PURE__ */ new Map());
1026
1032
  const runtimeEventPubSub = yield* effect.PubSub.bounded(2048);
1027
1033
  const nowIso = effect.Effect.map(effect.DateTime.now, effect.DateTime.formatIso);
1028
- const nextEventId = effect.Effect.map(effect.Effect.sync(() => crypto.randomUUID()), (id) => require_collectUint8StreamText.EventId.make(id));
1034
+ const nextEventId = effect.Effect.map(effect.Effect.sync(() => crypto.randomUUID()), (id) => require_src.EventId.make(id));
1029
1035
  const makeEventStamp = () => effect.Effect.all({
1030
1036
  eventId: nextEventId,
1031
1037
  createdAt: nowIso
1032
1038
  });
1033
1039
  const offerRuntimeEventForRuntime = (runtimeSessionId, event) => {
1034
- return effect.PubSub.publish(runtimeEventPubSub, require_makeManagedServerProvider.stampRuntimeEvent(event, {
1040
+ return effect.PubSub.publish(runtimeEventPubSub, require_runtimeSession.stampRuntimeEvent(event, {
1035
1041
  providerInstanceId: boundInstanceId,
1036
1042
  runtimeSessionId
1037
1043
  })).pipe(effect.Effect.asVoid);
@@ -1115,7 +1121,7 @@ function makeCursorAdapter(cursorSettings, options) {
1115
1121
  operation: "startSession",
1116
1122
  issue: `Expected provider instance '${boundInstanceId}' but received '${input.providerInstanceId}'.`
1117
1123
  });
1118
- const runtimeSessionId = yield* require_makeManagedServerProvider.requireRuntimeSessionId(PROVIDER, input);
1124
+ const runtimeSessionId = yield* require_runtimeSession.requireRuntimeSessionId(PROVIDER, input);
1119
1125
  if (!input.cwd?.trim()) return yield* new require_bin.ProviderAdapterValidationError({
1120
1126
  provider: PROVIDER,
1121
1127
  operation: "startSession",
@@ -1196,8 +1202,8 @@ function makeCursorAdapter(cursorSettings, options) {
1196
1202
  const started = yield* effect.Effect.gen(function* () {
1197
1203
  yield* acp.handleExtRequest("cursor/ask_question", CursorAskQuestionRequest, (params) => effect.Effect.gen(function* () {
1198
1204
  yield* logNative(input.threadId, "cursor/ask_question", params, "acp.cursor.extension");
1199
- const requestId = require_collectUint8StreamText.ApprovalRequestId.make(crypto.randomUUID());
1200
- const runtimeRequestId = require_collectUint8StreamText.RuntimeRequestId.make(requestId);
1205
+ const requestId = require_src.ApprovalRequestId.make(crypto.randomUUID());
1206
+ const runtimeRequestId = require_src.RuntimeRequestId.make(requestId);
1201
1207
  const answers = yield* effect.Deferred.make();
1202
1208
  pendingUserInputs.set(requestId, { answers });
1203
1209
  yield* offerRuntimeEventForRuntime(runtimeSessionId, {
@@ -1257,9 +1263,9 @@ function makeCursorAdapter(cursorSettings, options) {
1257
1263
  optionId: autoApprovedOptionId
1258
1264
  } };
1259
1265
  }
1260
- const permissionRequest = require_AcpNativeLogging.parsePermissionRequest(params);
1261
- const requestId = require_collectUint8StreamText.ApprovalRequestId.make(crypto.randomUUID());
1262
- const runtimeRequestId = require_collectUint8StreamText.RuntimeRequestId.make(requestId);
1266
+ const permissionRequest = require_bin.parsePermissionRequest(params);
1267
+ const requestId = require_src.ApprovalRequestId.make(crypto.randomUUID());
1268
+ const runtimeRequestId = require_src.RuntimeRequestId.make(requestId);
1263
1269
  const decision = yield* effect.Deferred.make();
1264
1270
  pendingApprovals.set(requestId, {
1265
1271
  decision,
@@ -1452,7 +1458,7 @@ function makeCursorAdapter(cursorSettings, options) {
1452
1458
  }).pipe(effect.Effect.scoped));
1453
1459
  const sendTurn = (input) => effect.Effect.gen(function* () {
1454
1460
  const ctx = yield* requireSession(input.threadId);
1455
- const turnId = require_collectUint8StreamText.TurnId.make(crypto.randomUUID());
1461
+ const turnId = require_src.TurnId.make(crypto.randomUUID());
1456
1462
  const turnModelSelection = input.modelSelection?.instanceId === boundInstanceId ? input.modelSelection : void 0;
1457
1463
  const model = turnModelSelection?.model ?? ctx.session.model;
1458
1464
  const resolvedModel = resolveCursorAcpBaseModelId(model);
@@ -1523,7 +1529,7 @@ function makeCursorAdapter(cursorSettings, options) {
1523
1529
  mimeType: attachment.mimeType
1524
1530
  });
1525
1531
  }
1526
- const promptText = require_makeManagedServerProvider.appendAttachmentPathLines(input.input?.trim(), require_makeManagedServerProvider.formatAttachmentPathLines(pathLineEntries));
1532
+ const promptText = require_runtimeSession.appendAttachmentPathLines(input.input?.trim(), require_runtimeSession.formatAttachmentPathLines(pathLineEntries));
1527
1533
  if (promptText?.trim()) promptParts.push({
1528
1534
  type: "text",
1529
1535
  text: promptText
@@ -1656,7 +1662,7 @@ function makeCursorAdapter(cursorSettings, options) {
1656
1662
  *
1657
1663
  * @module provider/Drivers/CursorDriver
1658
1664
  */
1659
- const DRIVER_KIND = require_collectUint8StreamText.ProviderDriverKind.make("cursor");
1665
+ const DRIVER_KIND = require_src.ProviderDriverKind.make("cursor");
1660
1666
  const UPDATE = require_bin.makeStaticProviderMaintenanceResolver(require_bin.makeProviderMaintenanceCapabilities({
1661
1667
  provider: DRIVER_KIND,
1662
1668
  packageName: null,
@@ -1678,8 +1684,8 @@ const CursorDriver = {
1678
1684
  displayName: "Cursor",
1679
1685
  supportsMultipleInstances: true
1680
1686
  },
1681
- configSchema: require_collectUint8StreamText.CursorSettings,
1682
- defaultConfig: () => effect.Schema.decodeSync(require_collectUint8StreamText.CursorSettings)({}),
1687
+ configSchema: require_src.CursorSettings,
1688
+ defaultConfig: () => effect.Schema.decodeSync(require_src.CursorSettings)({}),
1683
1689
  create: ({ instanceId, displayName, accentColor, environment, enabled, config }) => effect.Effect.gen(function* () {
1684
1690
  const spawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
1685
1691
  const fileSystem = yield* effect.FileSystem.FileSystem;
@@ -1,11 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { Zo as ApprovalRequestId, as as EventId, eo as ProviderDriverKind, ps as RuntimeRequestId, sr as CursorSettings, to as ProviderInstanceId, ys as TurnId, zn as TextGenerationError } from "./collectUint8StreamText-CE1Re5Ij.mjs";
4
- import { nt as sanitizeFeatureBranchName, st as ServerConfig, tt as sanitizeBranchFragment } from "./Metrics-a1h4iBQi.mjs";
5
- import { $ as mergeProviderInstanceEnvironment, $n as resolveAttachmentPath, B as buildPrContentPrompt, Ct as ProviderAdapterSessionNotFoundError, F as validateRankInboxThreadsResult, G as sanitizeCommitSubject, Gn as makeProviderMaintenanceCapabilities, H as buildThreadTitlePrompt, Hn as enrichProviderSnapshotWithVersionAdvisory, I as buildBranchNamePrompt, Jn as resolveProviderMaintenanceCapabilitiesEffect, K as sanitizePrTitle, Kn as makeStaticProviderMaintenanceResolver, L as buildCommitMessagePrompt, M as makeEventNdjsonLogger, R as buildIssueContentPolishPrompt, Tt as ProviderDriverError, U as extractJsonObject, V as buildThreadPriorityPrompt, Xn as ServerSettingsService, Zn as isPersistableChatAttachment, ar as getProviderOptionBooleanSelectionValue, at as buildSelectOptionDescriptor, bt as ProviderAdapterProcessError, cr as getProviderOptionStringSelectionValue, ft as providerModelsFromSettings, gt as installAgentControlAcp, ht as agentControlHostContext, it as buildBooleanOptionDescriptor, j as ProviderEventLoggers, lt as isCommandMissingCause, n as AgentControlSessionRegistry, nr as createModelCapabilities, ot as buildServerProvider, q as sanitizeThreadTitle, st as collectStreamAsString, wt as ProviderAdapterValidationError, xt as ProviderAdapterRequestError, yt as createProcessDeviceToolBinding, z as buildIssueContentTitlePrompt } from "./bin.mjs";
6
- import { a as formatAttachmentPathLines, i as appendAttachmentPathLines, n as requireRuntimeSessionId, r as stampRuntimeEvent, t as makeManagedServerProvider } from "./makeManagedServerProvider-CwYhl_P-.mjs";
3
+ import { Ar as CursorSettings, As as EventId, Eo as ProviderInstanceId, Rs as RuntimeRequestId, Ss as ApprovalRequestId, To as ProviderDriverKind, Ws as TurnId, cr as TextGenerationError } from "./src-DtEOcXdl.mjs";
4
+ import { Z as ServerConfig } from "./Metrics-C-3MahDy.mjs";
5
+ import { m as sanitizeFeatureBranchName, p as sanitizeBranchFragment } from "./git-C4iJMbBu.mjs";
6
+ import { $ as buildCommitMessagePrompt, A as makeEventNdjsonLogger, At as providerModelsFromSettings, Cr as getProviderOptionBooleanSelectionValue, Ct as buildSelectOptionDescriptor, Dt as isCommandMissingCause, Er as getProviderOptionStringSelectionValue, Ht as ProviderAdapterValidationError, K as parsePermissionRequest, Lt as createProcessDeviceToolBinding, Nt as agentControlHostContext, Pt as installAgentControlAcp, Q as buildBranchNamePrompt, Rt as ProviderAdapterProcessError, St as buildBooleanOptionDescriptor, Tt as collectStreamAsString, Ut as ProviderDriverError, Vt as ProviderAdapterSessionNotFoundError, W as AcpSessionRuntime, X as SessionConfigOption, Z as validateRankInboxThreadsResult, _r as resolveAttachmentPath, at as buildThreadTitlePrompt, br as createModelCapabilities, ct as sanitizeCommitSubject, et as buildIssueContentPolishPrompt, fr as resolveProviderMaintenanceCapabilitiesEffect, gt as mergeProviderInstanceEnvironment, hr as isPersistableChatAttachment, it as buildThreadPriorityPrompt, k as ProviderEventLoggers, lr as makeProviderMaintenanceCapabilities, lt as sanitizePrTitle, mr as ServerSettingsService, n as AgentControlSessionRegistry, nt as buildPrContentPrompt, or as enrichProviderSnapshotWithVersionAdvisory, ot as extractJsonObject, tt as buildIssueContentTitlePrompt, ur as makeStaticProviderMaintenanceResolver, ut as sanitizeThreadTitle, wt as buildServerProvider, zt as ProviderAdapterRequestError } from "./bin.mjs";
7
+ import { a as makeAcpRequestOpenedEvent, c as makeAcpTokenUsageEvent, d as mapAcpToAdapterError, f as makeAcpSubagentRuntimeEvents, i as makeAcpPlanUpdatedEvent, l as makeAcpToolCallEvent, n as makeAcpAssistantItemEvent, o as makeAcpRequestResolvedEvent, r as makeAcpContentDeltaEvent, s as makeAcpThoughtDeltaEvent, t as makeAcpNativeLoggers, u as acpPermissionOutcome } from "./AcpNativeLogging-BsbZRRD7.mjs";
8
+ import { i as formatAttachmentPathLines, n as stampRuntimeEvent, r as appendAttachmentPathLines, t as requireRuntimeSessionId } from "./runtimeSession-CA6cLWg0.mjs";
7
9
  import { t as defaultProviderContinuationIdentity } from "./ProviderDriver-kCV60GKk.mjs";
8
- import { a as makeAcpRequestOpenedEvent, c as makeAcpTokenUsageEvent, d as mapAcpToAdapterError, f as makeAcpSubagentRuntimeEvents, g as SessionConfigOption, i as makeAcpPlanUpdatedEvent, l as makeAcpToolCallEvent, m as parsePermissionRequest, n as makeAcpAssistantItemEvent, o as makeAcpRequestResolvedEvent, p as AcpSessionRuntime, r as makeAcpContentDeltaEvent, s as makeAcpThoughtDeltaEvent, t as makeAcpNativeLoggers, u as acpPermissionOutcome } from "./AcpNativeLogging-D4-VoHrq.mjs";
10
+ import { t as makeManagedServerProvider } from "./makeManagedServerProvider-BINne1KE.mjs";
9
11
  import { Cause, DateTime, Deferred, Effect, Exit, Fiber, FileSystem, Layer, Option, Path, PubSub, Ref, Result, Schema, Scope, Semaphore, Stream, SynchronizedRef } from "effect";
10
12
  import { HttpClient } from "effect/unstable/http";
11
13
  import * as nodePath from "node:path";
@@ -910,7 +912,11 @@ const makeCursorTextGeneration = Effect.fn("makeCursorTextGeneration")(function*
910
912
  modelSelection: input.modelSelection
911
913
  });
912
914
  return yield* validateRankInboxThreadsResult(input, generated.rankings);
913
- })
915
+ }),
916
+ answerSideQuestion: (_input) => Effect.fail(new TextGenerationError({
917
+ operation: "answerSideQuestion",
918
+ detail: "Cursor does not provide an enforceable tool-free side question mode. Select Codex, Claude, or GitHub Copilot for side chat."
919
+ }))
914
920
  };
915
921
  });
916
922
  //#endregion