ryco-cli 0.1.21 → 0.1.23

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 (567) hide show
  1. package/dist/{AcpNativeLogging-D54V5cIY.cjs → AcpNativeLogging-COepku4a.cjs} +78 -7
  2. package/dist/{AcpNativeLogging-Ch-s9nA8.mjs → AcpNativeLogging-D7e1dn7s.mjs} +74 -9
  3. package/dist/{AzureDevOpsSourceControlProvider-DTOlXGyd.mjs → AzureDevOpsSourceControlProvider-BNGEg1R8.mjs} +3 -3
  4. package/dist/{AzureDevOpsSourceControlProvider-BzB5-N9m.cjs → AzureDevOpsSourceControlProvider-CrvgKNf2.cjs} +2 -2
  5. package/dist/{BitbucketSourceControlProvider-DGd4IPx5.mjs → BitbucketSourceControlProvider-Bt21jw68.mjs} +3 -3
  6. package/dist/{BitbucketSourceControlProvider-D-8PWXO3.cjs → BitbucketSourceControlProvider-BzhsQwH-.cjs} +2 -2
  7. package/dist/{BunPTY-CNvWSzEJ.mjs → BunPTY-TbHbSc8S.mjs} +1 -1
  8. package/dist/{ClaudeDriver-HEbUzW34.cjs → ClaudeDriver-B7mbf51W.cjs} +53 -128
  9. package/dist/{ClaudeDriver-DxowtK6I.mjs → ClaudeDriver-C4yu7Jit.mjs} +45 -120
  10. package/dist/{CodexDriver-YG4IwzLm.cjs → CodexDriver-CR0S17Lb.cjs} +236 -49
  11. package/dist/{CodexDriver-CccSWoP3.mjs → CodexDriver-DnnqkGoY.mjs} +238 -51
  12. package/dist/{CodexTextGeneration-BfGt7ZUe.mjs → CodexTextGeneration-Cw-FZbSS.mjs} +3 -3
  13. package/dist/{CodexTextGeneration-CBJHkgOz.cjs → CodexTextGeneration-tlfe1S5W.cjs} +2 -2
  14. package/dist/{CopilotDriver-DZAW-7yV.mjs → CopilotDriver-GxKLX5pL.mjs} +124 -25
  15. package/dist/{CopilotDriver-Bm4OZMkm.cjs → CopilotDriver-IBd27Ji2.cjs} +123 -24
  16. package/dist/{CursorDriver-CYcKAkUY.cjs → CursorDriver-C4Enoe9N.cjs} +34 -74
  17. package/dist/{CursorDriver-B4jb4rWd.mjs → CursorDriver-CNo9Uzo8.mjs} +35 -75
  18. package/dist/{ForgejoSourceControlProvider-Dfi8KH7I.mjs → ForgejoSourceControlProvider-BGXysSX6.mjs} +3 -3
  19. package/dist/{ForgejoSourceControlProvider-CXUevO6C.cjs → ForgejoSourceControlProvider-Dh6DOoc8.cjs} +2 -2
  20. package/dist/{GitHubSourceControlProvider-DOs1ouvp.cjs → GitHubSourceControlProvider-8hsv_kCE.cjs} +2 -2
  21. package/dist/{GitHubSourceControlProvider-BH97aNa0.mjs → GitHubSourceControlProvider-CPCYV8Xo.mjs} +3 -3
  22. package/dist/{GitLabSourceControlProvider-CfbE6GYD.cjs → GitLabSourceControlProvider-B0ZbF9Zx.cjs} +2 -2
  23. package/dist/{GitLabSourceControlProvider-nIzcy9AJ.mjs → GitLabSourceControlProvider-Bvknpaon.mjs} +3 -3
  24. package/dist/{GrokDriver-CENrrqQc.mjs → GrokDriver-DSPEmiwq.mjs} +31 -11
  25. package/dist/{GrokDriver-C35gWEiw.cjs → GrokDriver-RyyFeh_q.cjs} +32 -12
  26. package/dist/{Metrics-DIjMQ5pa.cjs → Metrics-Bcb9vCAe.cjs} +21 -15
  27. package/dist/{Metrics-BP9YjxZB.mjs → Metrics-a1h4iBQi.mjs} +21 -15
  28. package/dist/{NodePTY-lO8PwZLk.mjs → NodePTY-B_p5tLYO.mjs} +1 -1
  29. package/dist/{OpenCodeDriver-BIxSPI9J.mjs → OpenCodeDriver-0q44rSQX.mjs} +136 -21
  30. package/dist/{OpenCodeDriver-CHuQ6Xhc.cjs → OpenCodeDriver-CDcvPT9v.cjs} +138 -20
  31. package/dist/{SourceControlProviderDiscoveryCatalog-DaRgCE5d.mjs → SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs} +1 -1
  32. package/dist/{SourceControlProviderDiscoveryCatalog-DCmYsPEa.cjs → SourceControlProviderDiscoveryCatalog-DreaAH1H.cjs} +1 -1
  33. package/dist/bin.cjs +4611 -642
  34. package/dist/bin.mjs +4602 -644
  35. package/dist/client/assets/AccountSettings-DGvZzAqN.js +1 -0
  36. package/dist/client/assets/AiFocusSettings-D8wZfNES.js +1 -0
  37. package/dist/client/assets/AnimatedHeight-D9bpLPqe.js +1 -0
  38. package/dist/client/assets/AppearanceSettings-BFo6g6_s.js +1 -0
  39. package/dist/client/assets/BranchToolbar.logic-CmO2U1U7.js +1 -0
  40. package/dist/client/assets/BrowserPanel-r6is5C3e.js +1 -0
  41. package/dist/client/assets/ChatRightPanel-BewXBRFZ.js +194 -0
  42. package/dist/client/assets/ChatThreadRouteView-CC_6FmHd.js +1 -0
  43. package/dist/client/assets/CommandPaletteDialog-ftA_Xg2G.js +1 -0
  44. package/dist/client/assets/CompositeRoot-arlgwzfX.js +1 -0
  45. package/dist/client/assets/ComputerUseSettings-V-oMtddy.js +1 -0
  46. package/dist/client/assets/ConnectionsSettings-BrFvrRjz.js +7 -0
  47. package/dist/client/assets/ContextHandoffEndpointLabel-CPeU4K5A.js +4 -0
  48. package/dist/client/assets/DiagnosticsSettings-Dk3JaIOU.js +2 -0
  49. package/dist/client/assets/DialogHandle-00ZXxxpz.js +1 -0
  50. package/dist/client/assets/DialogPopup-mazVJKyB.js +1 -0
  51. package/dist/client/assets/DialogRoot-CWlzx19Z.js +1 -0
  52. package/dist/client/assets/DialogTitle-CKaEtTky.js +1 -0
  53. package/dist/client/assets/DialogTrigger-CiElTNmo.js +1 -0
  54. package/dist/client/assets/DialogViewport-a5beR5bY.js +1 -0
  55. package/dist/client/assets/DraftChatThreadRouteView-DMwnSfgh.js +1 -0
  56. package/dist/client/assets/{ExternalIdentityWeb.logic-TXvkTDG8.js → ExternalIdentityWeb.logic-pjD4pCDd.js} +1 -1
  57. package/dist/client/assets/FloatingPortalLite-DWdtHKob.js +1 -0
  58. package/dist/client/assets/GlassSurface-BqfxDYiR.js +1 -0
  59. package/dist/client/assets/HostedConnectionControls-BmJd89CC.js +1 -0
  60. package/dist/client/assets/HostedHubRoot-CRIiJ67A.js +2 -0
  61. package/dist/client/assets/HostedNativeAuthorizationRoute-DcksCt9n.js +2 -0
  62. package/dist/client/assets/HostedRelayTrustNotice-C9pl5h2a.js +1 -0
  63. package/dist/client/assets/IntegrationsSettingsPanel-BnfjyLrM.js +2 -0
  64. package/dist/client/assets/KeybindingsSettings-CkW7lzvz.js +7 -0
  65. package/dist/client/assets/LazyBrowserPanel-C6uMUmoV.js +2 -0
  66. package/dist/client/assets/McpServersSettings-BdXgS-Pm.js +6 -0
  67. package/dist/client/assets/MobileSheet-D19YdeQ9.js +1 -0
  68. package/dist/client/assets/NodeSecuritySettings-BfcBgtEg.js +1 -0
  69. package/dist/client/assets/OpinionatedPluginsSettings-YY54IT7P.js +1 -0
  70. package/dist/client/assets/PhoneGetAppInterstitial-9r6NwJP8.js +1 -0
  71. package/dist/client/assets/PhoneHome-DnEJp0bU.js +1 -0
  72. package/dist/client/assets/PhoneSettingsSurface-NKJrLCxU.js +2 -0
  73. package/dist/client/assets/ProviderModelPicker-CYGv-4fE.js +1 -0
  74. package/dist/client/assets/ProvidersSettingsPanel-DsXHij4h.js +1 -0
  75. package/dist/client/assets/QuitShortcutFeedback-BVyYaNtd.js +1 -0
  76. package/dist/client/assets/RedactedSensitiveText-D8j7kpow.js +1 -0
  77. package/dist/client/assets/RootAppShell-D7c8sbA0.js +7 -0
  78. package/dist/client/assets/{Separator-DiMB6Prz.js → Separator-Bn8l1oSK.js} +1 -1
  79. package/dist/client/assets/SettingsDialog-BlPX1mT8.js +2 -0
  80. package/dist/client/assets/SettingsPanels-CeuvwIV_.js +3 -0
  81. package/dist/client/assets/SettingsPanels.editor-CLJJeKLI.js +1 -0
  82. package/dist/client/assets/SourceControlSettings-D-GeZ6PW.js +1 -0
  83. package/dist/client/assets/StatisticsPage-poomFDoQ.js +1 -0
  84. package/dist/client/assets/StatisticsPanel-DbGgCCpZ.js +1 -0
  85. package/dist/client/assets/StatisticsSettingsLink-Brc9--O7.js +1 -0
  86. package/dist/client/assets/ThreadTerminalDrawer-DcZk76Y9.js +18 -0
  87. package/dist/client/assets/ThreadWorkspacePanel-Shhau2BD.js +2073 -0
  88. package/dist/client/assets/actionscript-3-Cs6JJXT5.js +1 -0
  89. package/dist/client/assets/activity-Dy-wOS-S.js +1 -0
  90. package/dist/client/assets/ahk-CA9gdOdF.js +1 -0
  91. package/dist/client/assets/ahk2-_6rzW9BS.js +1 -0
  92. package/dist/client/assets/alert-4WZo8oMe.js +1 -0
  93. package/dist/client/assets/apex-KFGFyKwG.js +1 -0
  94. package/dist/client/assets/appChrome-CiOQzE1d.js +1 -0
  95. package/dist/client/assets/appearancePreferences-nFx4MHoI.js +1 -0
  96. package/dist/client/assets/arrow-left-gLRAasih.js +1 -0
  97. package/dist/client/assets/arrow-right-CAK2t4QL.js +1 -0
  98. package/dist/client/assets/arrow-up-right-DP0hmMEB.js +1 -0
  99. package/dist/client/assets/asciidoc-SCjQUq34.js +1 -0
  100. package/dist/client/assets/authorization-K_UCP_xh.js +1 -0
  101. package/dist/client/assets/badge-CYDyJZRJ.js +1 -0
  102. package/dist/client/assets/{bat-Bo4NYOV-.js → bat-qdxAdBWQ.js} +1 -1
  103. package/dist/client/assets/bird2-CYIUgYqB.js +1 -0
  104. package/dist/client/assets/bot-CCrx5oCt.js +1 -0
  105. package/dist/client/assets/bsl-_VjlB9mv.js +1 -0
  106. package/dist/client/assets/{button-BdUaa4U1.js → button-QrCU0tNP.js} +1 -1
  107. package/dist/client/assets/c3-D0apG41V.js +1 -0
  108. package/dist/client/assets/capabilities-BTd0MRtv.js +1 -0
  109. package/dist/client/assets/chapel-B4wvmE90.js +1 -0
  110. package/dist/client/assets/chart-column-BvK6lSzG.js +1 -0
  111. package/dist/client/assets/chevron-down-yka18-iP.js +1 -0
  112. package/dist/client/assets/chevron-right-CHyIXx5W.js +1 -0
  113. package/dist/client/assets/clamp-D0kAXd-u.js +1 -0
  114. package/dist/client/assets/clarity-CtfBBspg.js +1 -0
  115. package/dist/client/assets/clipboard-copy-DfdkWOiT.js +1 -0
  116. package/dist/client/assets/copy-riIPLkKV.js +1 -0
  117. package/dist/client/assets/coq-DuBRPxYg.js +1 -0
  118. package/dist/client/assets/cpp-C3nXdf7H.js +1 -0
  119. package/dist/client/assets/data-list-CsiYTho5.js +1 -0
  120. package/dist/client/assets/download-B0lbSdq5.js +1 -0
  121. package/dist/client/assets/editorPreferences-Cf2Smgu1.js +1 -0
  122. package/dist/client/assets/emacs-lisp-c_oH4hRZ.js +1 -0
  123. package/dist/client/assets/empty-CHk0OiOB.js +1 -0
  124. package/dist/client/assets/{erb-UQla4w8B.js → erb-CXyXxaAM.js} +1 -1
  125. package/dist/client/assets/{gdresource-C0sCabJj.js → gdresource-xMC7jr7x.js} +1 -1
  126. package/dist/client/assets/gdscript-DYvRD3hg.js +1 -0
  127. package/dist/client/assets/group-DfFZdj79.js +1 -0
  128. package/dist/client/assets/hack-Bw3mo9za.js +1 -0
  129. package/dist/client/assets/haxe-C8oCnwJJ.js +1 -0
  130. package/dist/client/assets/hostedConnectionCoordinator-DZh1yVqz.js +1 -0
  131. package/dist/client/assets/hxml-Dcm88srW.js +1 -0
  132. package/dist/client/assets/{index-CQJvt69U.js → index-D5j6WG7w.js} +2 -2
  133. package/dist/client/assets/input-BAC5Cd3b.js +1 -0
  134. package/dist/client/assets/{julia-DTmLe4fA.js → julia-C-lBeOK5.js} +1 -1
  135. package/dist/client/assets/{just-CPUGe9J1.js → just-DfEtguTY.js} +1 -1
  136. package/dist/client/assets/kbd-CMUW8K7b.js +1 -0
  137. package/dist/client/assets/key-round-Cm6itp2V.js +1 -0
  138. package/dist/client/assets/latex-6oxeCMbP.js +1 -0
  139. package/dist/client/assets/layers-DoDpJao_.js +1 -0
  140. package/dist/client/assets/{liquidGlass-yFkZrRk5.js → liquidGlass-Dbl4k51l.js} +1 -1
  141. package/dist/client/assets/{llvm-Cm23YOpf.js → llvm-DqHOMS-s.js} +1 -1
  142. package/dist/client/assets/loader-circle-D0CNb5GI.js +1 -0
  143. package/dist/client/assets/log-out-BuoOiS45.js +1 -0
  144. package/dist/client/assets/{logging-B1VrUJXw.js → logging-DfaR8ACp.js} +1 -1
  145. package/dist/client/assets/luau-C2pBCSgt.js +1 -0
  146. package/dist/client/assets/main-CRk9p9SC.css +2 -0
  147. package/dist/client/assets/main-DaXSCt8g.js +9 -0
  148. package/dist/client/assets/mdc-uTSeACfH.js +1 -0
  149. package/dist/client/assets/mermaid-BxpfTIzt.js +1 -0
  150. package/dist/client/assets/mojo-fg40_ntQ.js +1 -0
  151. package/dist/client/assets/monitor-Dyigmrl2.js +1 -0
  152. package/dist/client/assets/moonbit-DgjMoLWr.js +1 -0
  153. package/dist/client/assets/move-BYnGhZoM.js +1 -0
  154. package/dist/client/assets/nsis-CjNLYCLg.js +1 -0
  155. package/dist/client/assets/nushell-DHYfO66s.js +1 -0
  156. package/dist/client/assets/org-DRYqs_wo.js +1 -0
  157. package/dist/client/assets/palette-kIM_geXk.js +1 -0
  158. package/dist/client/assets/play-Dh8XDMnw.js +1 -0
  159. package/dist/client/assets/{powershell-DshXNtvi.js → powershell-CCSX75yM.js} +1 -1
  160. package/dist/client/assets/primary-DjXNHNGV.js +2 -0
  161. package/dist/client/assets/prisma-DMgNhnYS.js +1 -0
  162. package/dist/client/assets/providerDriverMeta-Cl-ADdmZ.js +1 -0
  163. package/dist/client/assets/providerModels-dpugJUmV.js +1 -0
  164. package/dist/client/assets/qr-code-Bun4dpvz.js +1 -0
  165. package/dist/client/assets/qr-code-CkI1p05P.js +1 -0
  166. package/dist/client/assets/r-B-BYV2IP.js +1 -0
  167. package/dist/client/assets/radio-group-Hh0oQGyf.js +2 -0
  168. package/dist/client/assets/rbs-C0MpOrj4.js +1 -0
  169. package/dist/client/assets/refresh-cw-MqmsC7V0.js +1 -0
  170. package/dist/client/assets/{rst-C90_EUa_.js → rst-DKqX_39h.js} +1 -1
  171. package/dist/client/assets/{ruby-BlGyFGAQ.js → ruby-CaU3RLfE.js} +1 -1
  172. package/dist/client/assets/runtime-L56puJDA.js +17 -0
  173. package/dist/client/assets/save-BSB81i-r.js +1 -0
  174. package/dist/client/assets/{scala-DKOlJaKm.js → scala-BiFt_7mu.js} +1 -1
  175. package/dist/client/assets/scroll-area-DCGCzd6v.js +1 -0
  176. package/dist/client/assets/scrollEdges-DIzjkUJG.js +1 -0
  177. package/dist/client/assets/separator-YeH3P39x.js +1 -0
  178. package/dist/client/assets/settingsLayout-CmNqO2kB.js +1 -0
  179. package/dist/client/assets/settingsSections.logic-Bg960p_I.js +1 -0
  180. package/dist/client/assets/sheet-CTbjQ5Bv.js +1 -0
  181. package/dist/client/assets/shield-DlqCO-0N.js +1 -0
  182. package/dist/client/assets/shield-alert-BrZ-Rb8N.js +1 -0
  183. package/dist/client/assets/shield-check-DHxdM6te.js +1 -0
  184. package/dist/client/assets/sidebar-4cwEndEB.js +1 -0
  185. package/dist/client/assets/sidebarProjectFolders-C7WDwUYJ.js +4 -0
  186. package/dist/client/assets/{sidebarStatusText-WiaEF1ae.js → sidebarStatusText-Cq_MMykN.js} +1 -1
  187. package/dist/client/assets/skeleton-BlostfCS.js +1 -0
  188. package/dist/client/assets/smalltalk-BHpQb5nM.js +1 -0
  189. package/dist/client/assets/smartphone-OaA-Xj_d.js +1 -0
  190. package/dist/client/assets/smithy-Dgaz7aur.js +1 -0
  191. package/dist/client/assets/solidity-Bj7E1mRn.js +1 -0
  192. package/dist/client/assets/sparkles-BXwkPX2M.js +1 -0
  193. package/dist/client/assets/src-gDjuIvMO.js +14 -0
  194. package/dist/client/assets/star-BjaAYD-x.js +1 -0
  195. package/dist/client/assets/surrealql-CVtmRpY6.js +1 -0
  196. package/dist/client/assets/swift-CyEgAFGc.js +1 -0
  197. package/dist/client/assets/switch-COrEGDkz.js +48 -0
  198. package/dist/client/assets/system-verilog-Dh5ihWbf.js +1 -0
  199. package/dist/client/assets/tex-DOBpnpUK.js +1 -0
  200. package/dist/client/assets/toast-C_F1LeME.js +1 -0
  201. package/dist/client/assets/toggle-BPNEBXg_.js +1 -0
  202. package/dist/client/assets/toggle-group-BC1zJ9xi.js +1 -0
  203. package/dist/client/assets/tokenModePresentation-DUJ8DMTy.js +1 -0
  204. package/dist/client/assets/tooltip-iy3_osu5.js +1 -0
  205. package/dist/client/assets/triangle-alert-YXqtFxD6.js +1 -0
  206. package/dist/client/assets/twig-DsmcR2eZ.js +1 -0
  207. package/dist/client/assets/typst-Drab9wKO.js +1 -0
  208. package/dist/client/assets/unplug-e3z4rXgY.js +1 -0
  209. package/dist/client/assets/useAppSidebarCollapsed-mtvJ7qbW.js +1 -0
  210. package/dist/client/assets/useAppearancePreference-BteoFdGa.js +1 -0
  211. package/dist/client/assets/useControlled-DQwgzrEC.js +1 -0
  212. package/dist/client/assets/useLabelableId-NJQsKdL6.js +1 -0
  213. package/dist/client/assets/{useLongPress-OGlhYKlH.js → useLongPress-DG1W7YqV.js} +1 -1
  214. package/dist/client/assets/usePhoneThreadActions-97AsVVIR.js +1 -0
  215. package/dist/client/assets/usePopupViewport-8OM2irPK.js +1 -0
  216. package/dist/client/assets/usePositioner-0Kb-C4al.js +1 -0
  217. package/dist/client/assets/useRenderElement-D0HVF5g_.js +1 -0
  218. package/dist/client/assets/useScrollLock-AUqaSAkf.js +1 -0
  219. package/dist/client/assets/useStatistics-DfLU9_Qu.js +55 -0
  220. package/dist/client/assets/useSwipeDismiss-CcW-GPO_.js +1 -0
  221. package/dist/client/assets/{useTheme-By1kfyiU.js → useTheme-CVNauCtz.js} +1 -1
  222. package/dist/client/assets/useTriggerFocusGuards-ChBvppef.js +1 -0
  223. package/dist/client/assets/useValueChanged-CThCTn4h.js +1 -0
  224. package/dist/client/assets/user-round-evbX_eto.js +1 -0
  225. package/dist/client/assets/utils-5-6TOrS1.js +1 -0
  226. package/dist/client/assets/{v-DETTlOr0.js → v-DBj4K9d_.js} +1 -1
  227. package/dist/client/assets/{vb-Djn5o6TS.js → vb-DOwzaHZ0.js} +1 -1
  228. package/dist/client/assets/verilog-B2gwz-sJ.js +1 -0
  229. package/dist/client/assets/visuallyHidden-BRaogTVF.js +1 -0
  230. package/dist/client/assets/vscode-icons-Dgo7Sslf.js +1 -0
  231. package/dist/client/assets/{vue-DStD_OmO.js → vue-Dt-rrFdH.js} +1 -1
  232. package/dist/client/assets/worker-Bs0l0ezO.js +162 -0
  233. package/dist/client/assets/workspaceMetadataProjection-UiprkDbH.js +1 -0
  234. package/dist/client/assets/wrench-mA--bcId.js +1 -0
  235. package/dist/client/assets/x-_SjFRYll.js +1 -0
  236. package/dist/client/index.html +1 -1
  237. package/dist/client/mockServiceWorker.js +124 -99
  238. package/dist/{collectUint8StreamText-D8TBiBWk.mjs → collectUint8StreamText-C_VNyArd.mjs} +614 -20
  239. package/dist/{collectUint8StreamText-C5fop6Zf.cjs → collectUint8StreamText-DStwNTTK.cjs} +679 -19
  240. package/dist/{makeManagedServerProvider-DRlNwlhe.mjs → makeManagedServerProvider-GZcpSLrW.mjs} +22 -3
  241. package/dist/{makeManagedServerProvider-BytnBN6b.cjs → makeManagedServerProvider-VzxWN-04.cjs} +32 -1
  242. package/dist/resource-monitor/LICENSE +21 -0
  243. package/dist/resource-monitor/darwin-arm64/LICENSE +21 -0
  244. package/dist/resource-monitor/darwin-arm64/ryco-resource-monitor +0 -0
  245. package/dist/resource-monitor/darwin-x64/LICENSE +21 -0
  246. package/dist/resource-monitor/darwin-x64/ryco-resource-monitor +0 -0
  247. package/dist/resource-monitor/linux-arm64/LICENSE +21 -0
  248. package/dist/resource-monitor/linux-arm64/ryco-resource-monitor +0 -0
  249. package/dist/resource-monitor/linux-x64/LICENSE +21 -0
  250. package/dist/resource-monitor/linux-x64/ryco-resource-monitor +0 -0
  251. package/dist/resource-monitor/ryco-resource-monitor +0 -0
  252. package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
  253. package/dist/resource-monitor/win32-arm64/LICENSE +21 -0
  254. package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
  255. package/dist/resource-monitor/win32-x64/LICENSE +21 -0
  256. package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
  257. package/package.json +20 -12
  258. package/dist/client/assets/AccountSettings--RGb4Xyh.js +0 -1
  259. package/dist/client/assets/AiFocusSettings-BnGcbAMj.js +0 -1
  260. package/dist/client/assets/AnimatedHeight-xBldRJT_.js +0 -1
  261. package/dist/client/assets/AppearanceSettings-BZRfC5N0.js +0 -1
  262. package/dist/client/assets/BranchToolbar.logic-CGpYXkLE.js +0 -1
  263. package/dist/client/assets/ChatRightPanel-BlooofmF.js +0 -27
  264. package/dist/client/assets/ChatThreadRouteView-B28bv4Zt.js +0 -1
  265. package/dist/client/assets/CommandPaletteDialog-hNEraTe2.js +0 -1
  266. package/dist/client/assets/CompositeItem-CKY4wPzb.js +0 -1
  267. package/dist/client/assets/CompositeRoot-Ds7U4w5S.js +0 -1
  268. package/dist/client/assets/ConnectionsSettings-C4VqR67L.js +0 -7
  269. package/dist/client/assets/DiagnosticsSettings-ByZ42-mW.js +0 -2
  270. package/dist/client/assets/DialogHandle-BdmgCiER.js +0 -1
  271. package/dist/client/assets/DialogPopup-D6m8w7-0.js +0 -1
  272. package/dist/client/assets/DialogRoot-BnE2_J9j.js +0 -1
  273. package/dist/client/assets/DialogTitle-DFkPQ5wa.js +0 -1
  274. package/dist/client/assets/DialogTrigger-CTCt2xVs.js +0 -1
  275. package/dist/client/assets/DialogViewport-OqbNjTEg.js +0 -1
  276. package/dist/client/assets/DraftChatThreadRouteView-B_4VVh8J.js +0 -1
  277. package/dist/client/assets/GlassSurface-k7VAG7Dp.js +0 -1
  278. package/dist/client/assets/HostedConnectionControls-D0YyFVVm.js +0 -1
  279. package/dist/client/assets/HostedHubRoot-gr9o6h-w.js +0 -1
  280. package/dist/client/assets/HostedNativeAuthorizationRoute-DQy7gPHg.js +0 -1
  281. package/dist/client/assets/HostedRelayTrustNotice-DtiCe1oF.js +0 -1
  282. package/dist/client/assets/Icons-BHigZ6eO.js +0 -1
  283. package/dist/client/assets/IntegrationsSettingsPanel-RgmTIo_4.js +0 -1
  284. package/dist/client/assets/KeybindingsSettings-2J94301x.js +0 -7
  285. package/dist/client/assets/McpServersSettings-Cpzyop0g.js +0 -6
  286. package/dist/client/assets/MobileSheet-5RNq1fWV.js +0 -1
  287. package/dist/client/assets/NewWorktreeDialog-BE_53fbt.js +0 -4
  288. package/dist/client/assets/NoActiveThreadState-Cpar0wiW.js +0 -1
  289. package/dist/client/assets/NodeSecuritySettings-BpZYwf5z.js +0 -1
  290. package/dist/client/assets/OpinionatedPluginsSettings-CLbbw_K_.js +0 -1
  291. package/dist/client/assets/PhoneGetAppInterstitial-G1mx30Rm.js +0 -1
  292. package/dist/client/assets/PhoneGetAppInterstitialBackdrop-nfP93au3.js +0 -1
  293. package/dist/client/assets/PhoneHome-D24dskaK.js +0 -1
  294. package/dist/client/assets/PhoneSettingsSurface-DU6QcRMa.js +0 -1
  295. package/dist/client/assets/ProjectFavicon-DiAvCEOv.js +0 -1
  296. package/dist/client/assets/ProviderModelPicker-KKoDIb0I.js +0 -1
  297. package/dist/client/assets/ProviderUpdateLaunchNotification.logic-BWOy8LJG.js +0 -1
  298. package/dist/client/assets/ProvidersSettingsPanel-Cotp9jkx.js +0 -1
  299. package/dist/client/assets/RedactedSensitiveText-Bijn-7t0.js +0 -1
  300. package/dist/client/assets/RootAppShell-BPFAVRor.js +0 -6
  301. package/dist/client/assets/RycoLetterMark-DDqdXSCR.js +0 -1
  302. package/dist/client/assets/SettingsDialog-C1pQqIpt.js +0 -1
  303. package/dist/client/assets/SettingsPanels-_z4Xw8vV.js +0 -3
  304. package/dist/client/assets/SettingsPanels.editor-CFrJ6eJl.js +0 -1
  305. package/dist/client/assets/SourceControlSettings-aZXtdyQJ.js +0 -1
  306. package/dist/client/assets/StatisticsPage-DLxnsLkl.js +0 -1
  307. package/dist/client/assets/StatisticsPanel-CZng52aF.js +0 -1
  308. package/dist/client/assets/StatisticsSettingsLink-BswiD6v1.js +0 -1
  309. package/dist/client/assets/ThreadStatusIndicators-Dg7ByO0t.js +0 -0
  310. package/dist/client/assets/ThreadTerminalDrawer-ro03rSMk.js +0 -20
  311. package/dist/client/assets/ThreadWorkspacePanel-j_muuK0U.js +0 -2009
  312. package/dist/client/assets/ToolbarRootContext-gBA5VTsh.js +0 -1
  313. package/dist/client/assets/WorkItemsTab-CBbr_lPX.js +0 -19
  314. package/dist/client/assets/actionscript-3--17pq3dv.js +0 -1
  315. package/dist/client/assets/activity-1CkdQG5u.js +0 -1
  316. package/dist/client/assets/alert-DM55UBFJ.js +0 -1
  317. package/dist/client/assets/alert-dialog-t0tth9lg.js +0 -1
  318. package/dist/client/assets/andromeeda-WkhI09AS.js +0 -1
  319. package/dist/client/assets/apex-VAyPSnFM.js +0 -1
  320. package/dist/client/assets/appearancePreferences-BhNRCg6W.js +0 -1
  321. package/dist/client/assets/archive-BL1hojl3.js +0 -1
  322. package/dist/client/assets/arrow-left-Dtj9PfsA.js +0 -1
  323. package/dist/client/assets/arrow-up-CTcWIlqV.js +0 -1
  324. package/dist/client/assets/arrow-up-right-DGeet8e6.js +0 -1
  325. package/dist/client/assets/asciidoc-DE70LPWp.js +0 -1
  326. package/dist/client/assets/aurora-x-C7CFqhAd.js +0 -1
  327. package/dist/client/assets/authorization-jiPI8hG1.js +0 -1
  328. package/dist/client/assets/ayu-dark-CRu61w6_.js +0 -1
  329. package/dist/client/assets/ayu-light-Dn6O_aYR.js +0 -1
  330. package/dist/client/assets/ayu-mirage-CTjYAbs-.js +0 -1
  331. package/dist/client/assets/badge-DUe5V2Mj.js +0 -1
  332. package/dist/client/assets/bird2-C6vDhewU.js +0 -1
  333. package/dist/client/assets/bot-DJp0cuhK.js +0 -1
  334. package/dist/client/assets/branding-31Bj-8ZC.js +0 -1
  335. package/dist/client/assets/bsl-BkkzgIyY.js +0 -1
  336. package/dist/client/assets/c3-BFHwR3_K.js +0 -1
  337. package/dist/client/assets/capabilities-DQDkV1US.js +0 -1
  338. package/dist/client/assets/catppuccin-frappe-3VR1Za6u.js +0 -1
  339. package/dist/client/assets/catppuccin-latte-DwIHMF0Q.js +0 -1
  340. package/dist/client/assets/catppuccin-macchiato-DYnBP6_5.js +0 -1
  341. package/dist/client/assets/catppuccin-mocha-DYhrFGRu.js +0 -1
  342. package/dist/client/assets/chart-column-Dw6ACmXM.js +0 -1
  343. package/dist/client/assets/chatThreadActions-3VwZmcuQ.js +0 -1
  344. package/dist/client/assets/chevron-down-B7C6FKzM.js +0 -1
  345. package/dist/client/assets/chevron-right-BWYGybX9.js +0 -1
  346. package/dist/client/assets/circle-alert-BWvs6IOn.js +0 -1
  347. package/dist/client/assets/clamp-CgH0Dl6R.js +0 -1
  348. package/dist/client/assets/clarity-SemFz856.js +0 -1
  349. package/dist/client/assets/clipboard-copy-C4VV20QR.js +0 -1
  350. package/dist/client/assets/clock-3-r12DkpRj.js +0 -1
  351. package/dist/client/assets/clock-nNA05brA.js +0 -1
  352. package/dist/client/assets/collapsible-BmAgbTeN.js +0 -1
  353. package/dist/client/assets/command-8YtR6jmS.js +0 -1
  354. package/dist/client/assets/composerDraftStore-Bz5WIZBE.js +0 -11
  355. package/dist/client/assets/composerHandleContext-BrQ6d8r9.js +0 -1
  356. package/dist/client/assets/copy-UQjKGt7t.js +0 -1
  357. package/dist/client/assets/coq-BrsZFFmf.js +0 -1
  358. package/dist/client/assets/cpp-nUc1dxUX.js +0 -1
  359. package/dist/client/assets/dark-plus-GAt2ZgX8.js +0 -1
  360. package/dist/client/assets/data-list-D7UF_rKC.js +0 -1
  361. package/dist/client/assets/desktopUpdateAtoms-D_GMRE2r.js +0 -1
  362. package/dist/client/assets/desktopWorkspace-Dg6EeBlb.js +0 -1
  363. package/dist/client/assets/device-DlExHdp_.js +0 -168
  364. package/dist/client/assets/dialog-B0sUgnpe.js +0 -1
  365. package/dist/client/assets/download-CQZ-m4zW.js +0 -1
  366. package/dist/client/assets/dracula-C2uKkzgK.js +0 -1
  367. package/dist/client/assets/dracula-soft-D1bVjxWZ.js +0 -1
  368. package/dist/client/assets/draft-input-CljKajxE.js +0 -1
  369. package/dist/client/assets/editorPreferences-B3qgjPa6.js +0 -1
  370. package/dist/client/assets/emacs-lisp-B4R74twV.js +0 -1
  371. package/dist/client/assets/empty-D5W-VFFg.js +0 -1
  372. package/dist/client/assets/env-3rzMJf1D.js +0 -1
  373. package/dist/client/assets/everforest-dark-D-DlICQR.js +0 -1
  374. package/dist/client/assets/everforest-light-CeVdGHYG.js +0 -1
  375. package/dist/client/assets/external-link-fbvzDWM7.js +0 -1
  376. package/dist/client/assets/eye-CUSPj-gd.js +0 -1
  377. package/dist/client/assets/folder-DtsQoI9_.js +0 -1
  378. package/dist/client/assets/folder-closed-CsvKfC6X.js +0 -1
  379. package/dist/client/assets/folder-open-GqwNTbSV.js +0 -1
  380. package/dist/client/assets/gdscript-Cp2uCuqX.js +0 -1
  381. package/dist/client/assets/getPseudoElementBounds-BAmGtfzA.js +0 -1
  382. package/dist/client/assets/git-branch-BKr-Ij4u.js +0 -1
  383. package/dist/client/assets/git-pull-request-DIYyPsg5.js +0 -1
  384. package/dist/client/assets/github-dark-DwbbXv51.js +0 -1
  385. package/dist/client/assets/github-dark-default-CxjRwzl6.js +0 -1
  386. package/dist/client/assets/github-dark-dimmed-Cr1oaoul.js +0 -1
  387. package/dist/client/assets/github-dark-high-contrast-B4qJZLZa.js +0 -1
  388. package/dist/client/assets/github-light-CsVXhIlR.js +0 -1
  389. package/dist/client/assets/github-light-default-DB_IwZa6.js +0 -1
  390. package/dist/client/assets/github-light-high-contrast-DLgVeSB-.js +0 -1
  391. package/dist/client/assets/group-BQB2fHcw.js +0 -1
  392. package/dist/client/assets/gruvbox-dark-hard-DXm60lX3.js +0 -1
  393. package/dist/client/assets/gruvbox-dark-medium-GE2thSmD.js +0 -1
  394. package/dist/client/assets/gruvbox-dark-soft-04Cj-4VZ.js +0 -1
  395. package/dist/client/assets/gruvbox-light-hard-K6wSn29D.js +0 -1
  396. package/dist/client/assets/gruvbox-light-medium-CVy3aSlc.js +0 -1
  397. package/dist/client/assets/gruvbox-light-soft-DNgJjaY0.js +0 -1
  398. package/dist/client/assets/hack-Vy6VBrBk.js +0 -1
  399. package/dist/client/assets/haxe-OTjmBuCE.js +0 -1
  400. package/dist/client/assets/horizon-0-RkHfro.js +0 -1
  401. package/dist/client/assets/horizon-bright-BgL2X9oq.js +0 -1
  402. package/dist/client/assets/houston-KyjWKfuY.js +0 -1
  403. package/dist/client/assets/hxml-B0Qn7Nwc.js +0 -1
  404. package/dist/client/assets/input-5Gxk32uP.js +0 -1
  405. package/dist/client/assets/isElementDisabled-KSuuBj8D.js +0 -1
  406. package/dist/client/assets/kanagawa-dragon-CXtmUGW6.js +0 -1
  407. package/dist/client/assets/kanagawa-lotus-BN08jTvb.js +0 -1
  408. package/dist/client/assets/kanagawa-wave-CTweb8Dz.js +0 -1
  409. package/dist/client/assets/kbd-B4HCyWpi.js +0 -1
  410. package/dist/client/assets/key-round-CacMputS.js +0 -1
  411. package/dist/client/assets/keybindings-DCgzArdM.js +0 -1
  412. package/dist/client/assets/keyboard-BqeRMHfL.js +0 -1
  413. package/dist/client/assets/label-CaZNWVUA.js +0 -1
  414. package/dist/client/assets/laserwave-CQkdhozh.js +0 -1
  415. package/dist/client/assets/latex-UxGGx4RW.js +0 -1
  416. package/dist/client/assets/layers-BYi0v17h.js +0 -1
  417. package/dist/client/assets/lib-B7pkMeOn.js +0 -29
  418. package/dist/client/assets/light-plus-CNQ8_7Y0.js +0 -1
  419. package/dist/client/assets/loader-circle-CrtHFAvM.js +0 -1
  420. package/dist/client/assets/loader-zHASMrUy.js +0 -1
  421. package/dist/client/assets/log-out-tMJm0Gk6.js +0 -1
  422. package/dist/client/assets/luau-FMPmPwt6.js +0 -1
  423. package/dist/client/assets/main-BPfnkW0F.js +0 -9
  424. package/dist/client/assets/main-DspUYA0Y.css +0 -2
  425. package/dist/client/assets/material-theme-CAtLaHa3.js +0 -1
  426. package/dist/client/assets/material-theme-darker-k-s5Bc6K.js +0 -1
  427. package/dist/client/assets/material-theme-lighter-CD6a-c4d.js +0 -1
  428. package/dist/client/assets/material-theme-ocean-B3mraInd.js +0 -1
  429. package/dist/client/assets/material-theme-palenight-DEhAARHw.js +0 -1
  430. package/dist/client/assets/mdc-OfbQwt23.js +0 -1
  431. package/dist/client/assets/menu-C9Z3D_7l.js +0 -1
  432. package/dist/client/assets/mermaid-Bk4SNUv9.js +0 -1
  433. package/dist/client/assets/messages-square-DiMgWzoq.js +0 -1
  434. package/dist/client/assets/min-dark-BFqTAwCr.js +0 -1
  435. package/dist/client/assets/min-light-O7UdaaxX.js +0 -1
  436. package/dist/client/assets/minimize-2-C33mL7LT.js +0 -1
  437. package/dist/client/assets/mojo-BgCJLMeH.js +0 -1
  438. package/dist/client/assets/monokai-CdkpiU2Y.js +0 -1
  439. package/dist/client/assets/moonbit-CaWjb8XO.js +0 -1
  440. package/dist/client/assets/motion-thOBhZyM.js +0 -1
  441. package/dist/client/assets/move-B1IS1UjX.js +0 -1
  442. package/dist/client/assets/night-owl-BsnCLAKc.js +0 -1
  443. package/dist/client/assets/night-owl-light-BODRhcTU.js +0 -1
  444. package/dist/client/assets/nord-Cd-F4txO.js +0 -1
  445. package/dist/client/assets/nushell-DcLAeLz5.js +0 -1
  446. package/dist/client/assets/one-dark-pro-DUS_IGRK.js +0 -1
  447. package/dist/client/assets/one-light-CVUd7yD5.js +0 -1
  448. package/dist/client/assets/palette-BSD_aJZg.js +0 -1
  449. package/dist/client/assets/pathEntry-BR9vr7Ug.js +0 -1
  450. package/dist/client/assets/pencil-B69ERoVM.js +0 -1
  451. package/dist/client/assets/phoneAnchoredActions-CtpkI3yG.js +0 -1
  452. package/dist/client/assets/plastic-CF8VZTnn.js +0 -1
  453. package/dist/client/assets/play-DYDxlTKo.js +0 -1
  454. package/dist/client/assets/plus-B2h-VEqh.js +0 -1
  455. package/dist/client/assets/poimandres-BX2TyY6j.js +0 -1
  456. package/dist/client/assets/popover-CCz2VJor.js +0 -1
  457. package/dist/client/assets/primary-BMsRfh2b.js +0 -2
  458. package/dist/client/assets/prisma-BsRQq5mF.js +0 -1
  459. package/dist/client/assets/projectPaths-C7IGaRXO.js +0 -1
  460. package/dist/client/assets/providerDriverMeta-CgWTJ9AV.js +0 -1
  461. package/dist/client/assets/providerIconUtils-DKIWQBl_.js +0 -1
  462. package/dist/client/assets/providerInstances-DTwJD7w4.js +0 -1
  463. package/dist/client/assets/providerModels-DTwJD7w4.js +0 -1
  464. package/dist/client/assets/qr-code-BPTdK_Fr.js +0 -1
  465. package/dist/client/assets/qr-code-ScYULAuR.js +0 -1
  466. package/dist/client/assets/r-DbaFp5Gj.js +0 -1
  467. package/dist/client/assets/radio-group-2REtGBUc.js +0 -2
  468. package/dist/client/assets/red-CJ3rzSJv.js +0 -1
  469. package/dist/client/assets/refresh-cw-DopCMrtR.js +0 -1
  470. package/dist/client/assets/resolveAriaLabelledBy-CPzaFh9Q.js +0 -1
  471. package/dist/client/assets/rightPanelRouteSearch-Cv7sQjf8.js +0 -1
  472. package/dist/client/assets/rose-pine-BthvhNj6.js +0 -1
  473. package/dist/client/assets/rose-pine-dawn-Dg85fqjY.js +0 -1
  474. package/dist/client/assets/rose-pine-moon-hon4tzzS.js +0 -1
  475. package/dist/client/assets/runtime-DAfYpzw4.js +0 -1
  476. package/dist/client/assets/save-Bh36JIv6.js +0 -1
  477. package/dist/client/assets/scroll-area-BsYcpnWD.js +0 -1
  478. package/dist/client/assets/scrollEdges-CUJFIJBP.js +0 -1
  479. package/dist/client/assets/search-BGQsenCM.js +0 -1
  480. package/dist/client/assets/select-zInJ5G5C.js +0 -1
  481. package/dist/client/assets/separator-CsdeZPxC.js +0 -1
  482. package/dist/client/assets/server-JApJpgLa.js +0 -1
  483. package/dist/client/assets/session-logic-CjEpVbpM.js +0 -6
  484. package/dist/client/assets/settings-2-CZQg_KUQ.js +0 -1
  485. package/dist/client/assets/settingsDialogStore-B7yUTgbo.js +0 -1
  486. package/dist/client/assets/settingsLayout-7JR7nC6x.js +0 -1
  487. package/dist/client/assets/settingsSections.logic-F8RXVmAq.js +0 -1
  488. package/dist/client/assets/shallow-DWZCFNun.js +0 -1
  489. package/dist/client/assets/sheet-CLd8wqAA.js +0 -1
  490. package/dist/client/assets/shield-IZEIJ8r7.js +0 -1
  491. package/dist/client/assets/shield-alert-DY9uVP5G.js +0 -1
  492. package/dist/client/assets/shield-check-dQ-4cMKk.js +0 -1
  493. package/dist/client/assets/sidebar-BliCAaUG.js +0 -1
  494. package/dist/client/assets/sidebarProjectFolders-ScxWbdTn.js +0 -4
  495. package/dist/client/assets/skeleton-B_qDqbso.js +0 -1
  496. package/dist/client/assets/slack-dark-DYvUXyrP.js +0 -1
  497. package/dist/client/assets/slack-ochin-bqtMVDfH.js +0 -1
  498. package/dist/client/assets/smalltalk-B16xEiuN.js +0 -1
  499. package/dist/client/assets/smartphone-gNe1ynB8.js +0 -1
  500. package/dist/client/assets/snazzy-light-D8dzFmq5.js +0 -1
  501. package/dist/client/assets/solarized-dark-DV17i1UV.js +0 -1
  502. package/dist/client/assets/solarized-light-DSh2HLQt.js +0 -1
  503. package/dist/client/assets/solidity-CKzVLygQ.js +0 -1
  504. package/dist/client/assets/sparkles-CAf3oJ5S.js +0 -1
  505. package/dist/client/assets/spinner-BlCG_0jN.js +0 -1
  506. package/dist/client/assets/square-pen-Bj3p_Q8E.js +0 -1
  507. package/dist/client/assets/src-Chx4ffXH.js +0 -14
  508. package/dist/client/assets/storeSelectors-Of4FM0vM.js +0 -1
  509. package/dist/client/assets/surrealql-CaZedS14.js +0 -1
  510. package/dist/client/assets/swift-DonLKvLd.js +0 -1
  511. package/dist/client/assets/switch-DUT5lUyk.js +0 -1
  512. package/dist/client/assets/synthwave-84-CIknw8y7.js +0 -1
  513. package/dist/client/assets/system-verilog-DJ5XKQeo.js +0 -1
  514. package/dist/client/assets/tabSwitchInstrumentation-CLDM7g1_.js +0 -1
  515. package/dist/client/assets/terminal-C_CyIsDD.js +0 -1
  516. package/dist/client/assets/terminal-links-Bxew8m4Q.js +0 -1
  517. package/dist/client/assets/tex-CLeF3jRN.js +0 -1
  518. package/dist/client/assets/textarea-C5eyaBI3.js +0 -1
  519. package/dist/client/assets/threadPinning-B8un4fjx.js +0 -1
  520. package/dist/client/assets/threadPriorityRefreshRuntime-Cgjn5Y-7.js +0 -1
  521. package/dist/client/assets/timestampFormat-8uPXS812.js +0 -1
  522. package/dist/client/assets/toast-X_O6OBAx.js +0 -1
  523. package/dist/client/assets/toastHelpers-CSQRKo4F.js +0 -1
  524. package/dist/client/assets/toggle-P-wZyQFO.js +0 -1
  525. package/dist/client/assets/toggle-group-Du7zfd4_.js +0 -1
  526. package/dist/client/assets/tokenModePresentation-lVM0-Wi3.js +0 -1
  527. package/dist/client/assets/tokyo-night-iIspnLcq.js +0 -1
  528. package/dist/client/assets/tooltip-D_i-87PL.js +0 -1
  529. package/dist/client/assets/trash-2-CM1zXPGb.js +0 -1
  530. package/dist/client/assets/triangle-alert-RL_T3KLo.js +0 -1
  531. package/dist/client/assets/twig-BmgBVapk.js +0 -1
  532. package/dist/client/assets/types-Of4FM0vM.js +0 -1
  533. package/dist/client/assets/typst-DI99ib-x.js +0 -1
  534. package/dist/client/assets/uiStateStore-UUXKrPLz.js +0 -1
  535. package/dist/client/assets/undo-2-x37tfI3V.js +0 -1
  536. package/dist/client/assets/unplug-Cw8iawyX.js +0 -1
  537. package/dist/client/assets/useAtlassian-BPNtoDXL.js +0 -0
  538. package/dist/client/assets/useButton-D8BjCVb-.js +0 -1
  539. package/dist/client/assets/useCompositeListItem-BHuxHR8U.js +0 -1
  540. package/dist/client/assets/useCopyToClipboard-BTpWxumf.js +0 -1
  541. package/dist/client/assets/useDebouncedValue-D2-9M4Tq.js +0 -1
  542. package/dist/client/assets/useFloatingRootContext-CTdmlYcf.js +0 -1
  543. package/dist/client/assets/useHandleNewThread-YGjWitl4.js +0 -1
  544. package/dist/client/assets/useLabelableId-LInf_Egz.js +0 -1
  545. package/dist/client/assets/useLocation-3zGT25DO.js +0 -1
  546. package/dist/client/assets/useOpenInteractionType-BPthQeg6.js +0 -1
  547. package/dist/client/assets/usePhoneThreadActions-D_Z29f6p.js +0 -1
  548. package/dist/client/assets/usePopupViewport-BErrsN0k.js +0 -1
  549. package/dist/client/assets/useRenderElement-DchFnsR8.js +0 -1
  550. package/dist/client/assets/useScrollLock-CLyJPg7p.js +0 -1
  551. package/dist/client/assets/useStatistics-BQkcb-1_.js +0 -55
  552. package/dist/client/assets/useSwipeDismiss-DjMT1XiU.js +0 -1
  553. package/dist/client/assets/useThreadActions-ISbVGkmx.js +0 -2
  554. package/dist/client/assets/useTriggerFocusGuards-DwOHWbrB.js +0 -1
  555. package/dist/client/assets/useValueChanged-Bq39JB8D.js +0 -1
  556. package/dist/client/assets/user-round-Cpzx8pSw.js +0 -1
  557. package/dist/client/assets/utils-BFbDkTQq.js +0 -1
  558. package/dist/client/assets/verilog-CiiDBU1e.js +0 -1
  559. package/dist/client/assets/vesper-BIFK_oDq.js +0 -1
  560. package/dist/client/assets/visibilityPolling-BwzZdaSN.js +0 -1
  561. package/dist/client/assets/vitesse-black-D082JcaE.js +0 -1
  562. package/dist/client/assets/vitesse-dark-z-nr_5O8.js +0 -1
  563. package/dist/client/assets/vitesse-light-ojz42ZLy.js +0 -1
  564. package/dist/client/assets/vscode-icons-D3XEYHTI.js +0 -1
  565. package/dist/client/assets/worker-B0IAubm_.js +0 -161
  566. package/dist/client/assets/wrench-D0IetWa1.js +0 -1
  567. package/dist/client/assets/x-C1Cemsov.js +0 -1
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $o as RuntimeItemId, Ha as ProviderInstanceId, Ko as EventId, Mi as ProviderApprovalDecision, Qo as ProviderItemId, Ro as ApprovalRequestId, Si as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, Va as ProviderDriverKind, _a as ThreadGoal, er as CodexSettings, es as RuntimeRequestId, os as TurnId, rs as RuntimeTaskId } from "./collectUint8StreamText-D8TBiBWk.mjs";
4
- import { st as ServerConfig } from "./Metrics-BP9YjxZB.mjs";
5
- import { $t as V2ReasoningSummaryTextDeltaNotification, At as SERVER_NOTIFICATION_METHODS, Bn as resolveProviderMaintenanceCapabilitiesEffect, Bt as V2AccountUpdatedNotification, Ct as CodexAppServerClient, D as checkRtkAvailability, Dt as CodexAppServerRequestError, E as buildTokenReductionInstructions, Et as CodexAppServerProtocolParseError, Ft as ServerRequest__FileChangeRequestApprovalParams, Gt as V2ErrorNotification, Hn as ServerSettingsService, Ht as V2CommandExecutionOutputDeltaNotification, In as makePackageManagedProviderMaintenanceResolver, It as ServerRequest__ToolRequestUserInputParams, J as checkCodexProviderStatus, Jn as getModelSelectionBooleanOptionValue, Jt as V2ItemStartedNotification, K as mergeProviderInstanceEnvironment, Kt as V2FileChangeOutputDeltaNotification, Lt as ToolRequestUserInputParams, Mt as ServerRequest__CommandExecutionRequestApprovalParams, Nt as ServerRequest__DynamicToolCallParams, Ot as CodexAppServerSpawnError, Pn as enrichProviderSnapshotWithVersionAdvisory, Pt as ServerRequest__ExecCommandApprovalParams, Qt as V2PlanDeltaNotification, Rt as ToolRequestUserInputResponse, Sn as V2WindowsWorldWritableWarningNotification, St as expandHomePath, T as makeEventNdjsonLogger, Tt as CodexAppServerProcessExitedError, Ut as V2ConfigWarningNotification, Vt as V2AgentMessageDeltaNotification, Wn as resolveAttachmentPath, Wt as V2DeprecationNoticeNotification, Xt as V2McpToolCallProgressNotification, Y as makePendingCodexProvider, Yn as getModelSelectionStringOptionValue, Yt as V2McpServerOauthLoginCompletedNotification, Zt as V2ModelReroutedNotification, _n as V2TurnStartParams__CollaborationMode, _t as ProviderAdapterValidationError, an as V2ThreadRealtimeClosedNotification, bn as V2TurnSteerResponse, bt as materializeCodexShadowHome, cn as V2ThreadRealtimeOutputAudioDeltaNotification, dn as V2ThreadStatusChangedNotification, en as V2ReasoningTextDeltaNotification, er as normalizeModelSlug, fn as V2ThreadTokenUsageUpdatedNotification, ft as createProcessDeviceToolBinding, gn as V2TurnStartParams, gt as ProviderAdapterSessionNotFoundError, hn as V2TurnPlanUpdatedNotification, ht as ProviderAdapterSessionClosedError, in as V2ThreadNameUpdatedNotification, jt as ServerRequest__ApplyPatchApprovalParams, kt as CodexAppServerTransportError, ln as V2ThreadRealtimeStartedNotification, mn as V2TurnDiffUpdatedNotification, mt as ProviderAdapterRequestError, n as AgentControlSessionRegistry, nn as V2ThreadGoalClearedNotification, on as V2ThreadRealtimeErrorNotification, pn as V2TurnCompletedNotification, pt as ProviderAdapterProcessError, q as buildCodexInitializeParams, qt as V2ItemCompletedNotification, rn as V2ThreadGoalUpdatedNotification, sn as V2ThreadRealtimeItemAddedNotification, t as makeServerQueueMetrics, tn as V2ServerRequestResolvedNotification, un as V2ThreadStartedNotification, ut as installAgentControlNativeHttp, vn as V2TurnStartResponse, vt as ProviderDriverError, w as ProviderEventLoggers, wt as layerChildProcess, xn as V2WindowsSandboxSetupCompletedNotification, xt as resolveCodexHomeLayout, yn as V2TurnSteerParams, yt as codexContinuationIdentity, zt as V2AccountRateLimitsUpdatedNotification } from "./bin.mjs";
3
+ import { $a as ProviderInstanceId, Oa as ThreadGoal, Qa as ProviderDriverKind, Vi as ProviderApprovalDecision, Yo as ApprovalRequestId, _s as TurnId, as as MessageId, br as isToolLifecycleItemType, ds as RuntimeRequestId, ji as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, ls as ProviderItemId, ms as RuntimeTaskId, ps as RuntimeSubagentId, rr as CodexSettings, rs as EventId, us as RuntimeItemId } from "./collectUint8StreamText-C_VNyArd.mjs";
4
+ import { st as ServerConfig } from "./Metrics-a1h4iBQi.mjs";
5
+ import { $ as mergeProviderInstanceEnvironment, $n as resolveAttachmentPath, $t as V2ErrorNotification, An as V2WindowsWorldWritableWarningNotification, At as CodexAppServerClient, Bt as ServerRequest__CommandExecutionRequestApprovalParams, Cn as V2TurnPlanUpdatedNotification, Ct as ProviderAdapterSessionNotFoundError, Dn as V2TurnSteerParams, Dt as materializeCodexShadowHome, En as V2TurnStartResponse, Et as codexContinuationIdentity, Ft as CodexAppServerRequestError, Gt as ToolRequestUserInputParams, Hn as enrichProviderSnapshotWithVersionAdvisory, Ht as ServerRequest__ExecCommandApprovalParams, It as CodexAppServerSpawnError, Jn as resolveProviderMaintenanceCapabilitiesEffect, Jt as V2AccountUpdatedNotification, Kt as ToolRequestUserInputResponse, Lt as CodexAppServerTransportError, M as makeEventNdjsonLogger, Mt as layerCommand, N as buildTokenReductionInstructions, Nt as CodexAppServerProcessExitedError, On as V2TurnSteerResponse, Ot as resolveCodexHomeLayout, P as checkRtkAvailability, Pt as CodexAppServerProtocolParseError, Qt as V2DeprecationNoticeNotification, Rt as SERVER_NOTIFICATION_METHODS, Sn as V2TurnDiffUpdatedNotification, St as ProviderAdapterSessionClosedError, Tn as V2TurnStartParams__CollaborationMode, Tt as ProviderDriverError, Ut as ServerRequest__FileChangeRequestApprovalParams, Vt as ServerRequest__DynamicToolCallParams, Wn as makePackageManagedProviderMaintenanceResolver, Wt as ServerRequest__ToolRequestUserInputParams, Xn as ServerSettingsService, Xt as V2CommandExecutionOutputDeltaNotification, Yt as V2AgentMessageDeltaNotification, Zt as V2ConfigWarningNotification, _n as V2ThreadRealtimeStartedNotification, _t as installAgentControlNativeHttp, an as V2ModelReroutedNotification, bn as V2ThreadTokenUsageUpdatedNotification, bt as ProviderAdapterProcessError, cn as V2ReasoningTextDeltaNotification, dn as V2ThreadGoalUpdatedNotification, en as V2FileChangeOutputDeltaNotification, et as buildCodexInitializeParams, fn as V2ThreadNameUpdatedNotification, gn as V2ThreadRealtimeOutputAudioDeltaNotification, hn as V2ThreadRealtimeItemAddedNotification, in as V2McpToolCallProgressNotification, ir as getModelSelectionStringOptionValue, j as ProviderEventLoggers, jt as layerChildProcess, kn as V2WindowsSandboxSetupCompletedNotification, kt as expandHomePath, ln as V2ServerRequestResolvedNotification, lr as normalizeModelSlug, mn as V2ThreadRealtimeErrorNotification, n as AgentControlSessionRegistry, nn as V2ItemStartedNotification, nt as makePendingCodexProvider, on as V2PlanDeltaNotification, pn as V2ThreadRealtimeClosedNotification, qt as V2AccountRateLimitsUpdatedNotification, rn as V2McpServerOauthLoginCompletedNotification, rr as getModelSelectionBooleanOptionValue, sn as V2ReasoningSummaryTextDeltaNotification, t as makeServerQueueMetrics, tn as V2ItemCompletedNotification, tt as checkCodexProviderStatus, un as V2ThreadGoalClearedNotification, vn as V2ThreadStartedNotification, wn as V2TurnStartParams, wt as ProviderAdapterValidationError, xn as V2TurnCompletedNotification, xt as ProviderAdapterRequestError, yn as V2ThreadStatusChangedNotification, yt as createProcessDeviceToolBinding, zt as ServerRequest__ApplyPatchApprovalParams } from "./bin.mjs";
6
+ import { a as formatAttachmentPathLines, i as appendAttachmentPathLines, n as requireRuntimeSessionId, r as stampRuntimeEvent, t as makeManagedServerProvider } from "./makeManagedServerProvider-GZcpSLrW.mjs";
6
7
  import { t as formatSourceControlContextsForAgent } from "./sourceControlContextFormatter-DEwpnVAH.mjs";
7
8
  import { t as appendProjectCustomSystemPrompt } from "./ProjectCustomSystemPrompt-CS1nulhL.mjs";
8
- import { n as requireRuntimeSessionId, r as stampRuntimeEvent, t as makeManagedServerProvider } from "./makeManagedServerProvider-DRlNwlhe.mjs";
9
- import { t as makeCodexTextGeneration } from "./CodexTextGeneration-BfGt7ZUe.mjs";
10
- import { Deferred, Effect, Exit, Fiber, FileSystem, Layer, Option, Queue, Redacted, Ref, Schema, Scope, Stream } from "effect";
9
+ import { t as makeCodexTextGeneration } from "./CodexTextGeneration-Cw-FZbSS.mjs";
10
+ import { Cause, Deferred, Effect, Exit, Fiber, FileSystem, Layer, Option, Queue, Redacted, Ref, Schema, Scope, Stream } from "effect";
11
11
  import { HttpClient } from "effect/unstable/http";
12
12
  import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
13
13
  import * as SchemaIssue$1 from "effect/SchemaIssue";
@@ -177,13 +177,6 @@ const PROVIDER$1 = ProviderDriverKind.make("codex");
177
177
  const ANSI_ESCAPE_REGEX = new RegExp(`${String.fromCharCode(27)}\\[[0-9;]*m`, "g");
178
178
  const CODEX_STDERR_LOG_REGEX = /^\d{4}-\d{2}-\d{2}T\S+\s+(TRACE|DEBUG|INFO|WARN|ERROR)\s+\S+:\s+(.*)$/;
179
179
  const BENIGN_ERROR_LOG_SNIPPETS = ["state db missing rollout path for thread", "state db record_discrepancy: find_thread_path_by_id_str_in_subdir, falling_back"];
180
- const RECOVERABLE_THREAD_RESUME_ERROR_SNIPPETS = [
181
- "not found",
182
- "missing thread",
183
- "no such thread",
184
- "unknown thread",
185
- "does not exist"
186
- ];
187
180
  const CodexResumeCursorSchema = Schema.Struct({ threadId: Schema.String });
188
181
  const CodexUserInputAnswerObject = Schema.Struct({ answers: Schema.Array(Schema.String) });
189
182
  const CodexTurnStartParamsWithCollaborationMode = V2TurnStartParams.pipe(Schema.fieldsAssign({ collaborationMode: Schema.optionalKey(V2TurnStartParams__CollaborationMode) }));
@@ -276,7 +269,10 @@ function buildThreadStartParams(input) {
276
269
  approvalPolicy: config.approvalPolicy,
277
270
  sandbox: config.sandbox,
278
271
  approvalsReviewer: config.approvalsReviewer,
279
- ...Object.keys(mcpServers).length > 0 ? { config: { mcp_servers: mcpServers } } : {},
272
+ config: {
273
+ "features.goals": true,
274
+ ...Object.keys(mcpServers).length > 0 ? { mcp_servers: mcpServers } : {}
275
+ },
280
276
  ...input.model ? { model: input.model } : {},
281
277
  ...input.serviceTier ? { serviceTier: input.serviceTier } : {}
282
278
  };
@@ -357,11 +353,6 @@ function classifyCodexStderrLine(rawLine) {
357
353
  }
358
354
  return { message: line };
359
355
  }
360
- function isRecoverableThreadResumeError(error) {
361
- const message = (error instanceof Error ? error.message : String(error)).toLowerCase();
362
- if (!message.includes("thread")) return false;
363
- return RECOVERABLE_THREAD_RESUME_ERROR_SNIPPETS.some((snippet) => message.includes(snippet));
364
- }
365
356
  const openCodexThread = (input) => {
366
357
  const resumeThreadId = input.resumeThreadId;
367
358
  const startParams = buildThreadStartParams({
@@ -376,13 +367,10 @@ const openCodexThread = (input) => {
376
367
  return input.client.request("thread/resume", {
377
368
  threadId: resumeThreadId,
378
369
  ...startParams
379
- }).pipe(Effect.catchIf(isRecoverableThreadResumeError, (error) => Effect.logWarning("codex app-server thread resume fell back to fresh start", {
380
- threadId: input.threadId,
381
- requestedRuntimeMode: input.runtimeMode,
382
- resumeThreadId,
383
- recoverable: true,
384
- cause: error.message
385
- }).pipe(Effect.andThen(input.client.request("thread/start", startParams)))));
370
+ }).pipe(Effect.mapError((error) => error.message.includes("already has an active writer") ? new CodexAppServerRequestError({
371
+ code: -32600,
372
+ errorMessage: "This Codex thread already has an active writer in another process. Its history can still be recovered. Release the thread in that process before continuing it here."
373
+ }) : error));
386
374
  };
387
375
  function readNotificationThreadId(notification) {
388
376
  switch (notification.method) {
@@ -569,10 +557,31 @@ function parseThreadSnapshot(response) {
569
557
  threadId: response.thread.id,
570
558
  turns: response.thread.turns.map((turn) => ({
571
559
  id: TurnId.make(turn.id),
572
- items: turn.items
560
+ items: turn.items,
561
+ status: turn.status,
562
+ ...turn.startedAt !== void 0 ? { startedAt: turn.startedAt } : {}
573
563
  }))
574
564
  };
575
565
  }
566
+ const readStoredCodexThread = (input) => Effect.scoped(Effect.gen(function* () {
567
+ const context = yield* Layer.build(layerCommand({
568
+ command: input.binaryPath,
569
+ args: ["app-server"],
570
+ cwd: input.cwd,
571
+ env: {
572
+ ...input.environment ?? process.env,
573
+ ...input.homePath ? { CODEX_HOME: expandHomePath(input.homePath) } : {}
574
+ },
575
+ requestTimeoutMs: 2e4
576
+ }));
577
+ const client = yield* Effect.service(CodexAppServerClient).pipe(Effect.provide(context));
578
+ yield* client.request("initialize", buildCodexInitializeParams());
579
+ yield* client.notify("initialized", void 0);
580
+ return parseThreadSnapshot(yield* client.request("thread/read", {
581
+ threadId: input.providerThreadId,
582
+ includeTurns: true
583
+ }));
584
+ }));
576
585
  const makeCodexSessionRuntime = (options) => Effect.gen(function* () {
577
586
  const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;
578
587
  const runtimeScope = yield* Scope.Scope;
@@ -604,7 +613,8 @@ const makeCodexSessionRuntime = (options) => Effect.gen(function* () {
604
613
  command: `${options.binaryPath} app-server`,
605
614
  cause
606
615
  })));
607
- const clientContext = yield* layerChildProcess(child).pipe(Layer.build, Effect.provideService(Scope.Scope, runtimeScope));
616
+ const transportFailure = yield* Deferred.make();
617
+ const clientContext = yield* layerChildProcess(child, { onTermination: (error) => Deferred.succeed(transportFailure, error).pipe(Effect.asVoid) }).pipe(Layer.build, Effect.provideService(Scope.Scope, runtimeScope));
608
618
  const client = yield* Effect.service(CodexAppServerClient).pipe(Effect.provide(clientContext));
609
619
  const serverNotifications = yield* Queue.bounded(512);
610
620
  const initialSession = {
@@ -636,6 +646,16 @@ const makeCodexSessionRuntime = (options) => Effect.gen(function* () {
636
646
  method,
637
647
  message
638
648
  });
649
+ yield* Deferred.await(transportFailure).pipe(Effect.flatMap((error) => Ref.get(closedRef).pipe(Effect.flatMap((closed) => closed ? Effect.void : Effect.gen(function* () {
650
+ deviceTurnActive = false;
651
+ yield* updateSession(sessionRef, {
652
+ status: "error",
653
+ activeTurnId: void 0,
654
+ lastError: "Codex connection was lost. Reopen the chat to recover its history."
655
+ });
656
+ yield* emitSessionEvent("session/exited", `Codex connection lost (${error._tag}).`);
657
+ yield* child.kill().pipe(Effect.ignore);
658
+ })))), Effect.forkIn(runtimeScope));
639
659
  const settlePendingApprovals = (decision) => Ref.get(pendingApprovalsRef).pipe(Effect.flatMap((pendingApprovals) => Effect.forEach(Array.from(pendingApprovals.values()), (pendingApproval) => Deferred.succeed(pendingApproval.decision, decision).pipe(Effect.ignore), { discard: true })));
640
660
  const settlePendingUserInputs = (answers) => Ref.get(pendingUserInputsRef).pipe(Effect.flatMap((pendingUserInputs) => Effect.forEach(Array.from(pendingUserInputs.values()), (pendingUserInput) => Deferred.succeed(pendingUserInput.answers, answers).pipe(Effect.ignore), { discard: true })));
641
661
  /**
@@ -792,7 +812,8 @@ const makeCodexSessionRuntime = (options) => Effect.gen(function* () {
792
812
  method: "collabAgent/item",
793
813
  payload: {
794
814
  ...childIdentity,
795
- item: notification.params.item
815
+ item: notification.params.item,
816
+ lifecycle: notification.method
796
817
  }
797
818
  });
798
819
  return true;
@@ -1095,9 +1116,12 @@ const makeCodexSessionRuntime = (options) => Effect.gen(function* () {
1095
1116
  ...options.agentControl ? { agentControl: options.agentControl } : {}
1096
1117
  });
1097
1118
  const providerThreadId = opened.thread.id;
1119
+ const activeTurn = opened.thread.turns.findLast((turn) => turn.status === "inProgress");
1120
+ deviceTurnActive = activeTurn !== void 0;
1098
1121
  const session = {
1099
1122
  ...yield* Ref.get(sessionRef),
1100
- status: "ready",
1123
+ status: activeTurn ? "running" : "ready",
1124
+ activeTurnId: activeTurn ? TurnId.make(activeTurn.id) : void 0,
1101
1125
  cwd: opened.cwd,
1102
1126
  model: opened.model,
1103
1127
  resumeCursor: { threadId: providerThreadId },
@@ -1197,10 +1221,19 @@ const makeCodexSessionRuntime = (options) => Effect.gen(function* () {
1197
1221
  }),
1198
1222
  readThread: Effect.gen(function* () {
1199
1223
  const providerThreadId = yield* readProviderThreadId;
1200
- return parseThreadSnapshot(yield* client.request("thread/read", {
1224
+ const response = yield* client.request("thread/read", {
1201
1225
  threadId: providerThreadId,
1202
1226
  includeTurns: true
1203
- }));
1227
+ });
1228
+ const session = yield* Ref.get(sessionRef);
1229
+ if (session.activeTurnId && response.thread.turns.some((turn) => turn.id === session.activeTurnId && turn.status !== "inProgress")) {
1230
+ deviceTurnActive = false;
1231
+ yield* updateSession(sessionRef, {
1232
+ status: "ready",
1233
+ activeTurnId: void 0
1234
+ });
1235
+ }
1236
+ return parseThreadSnapshot(response);
1204
1237
  }),
1205
1238
  rollbackThread: (numTurns) => Effect.gen(function* () {
1206
1239
  const providerThreadId = yield* readProviderThreadId;
@@ -1362,7 +1395,7 @@ function readTokenReductionInstructions(tokenMode) {
1362
1395
  function normalizeCodexTokenUsage(usage) {
1363
1396
  const totalProcessedTokens = usage.total.totalTokens;
1364
1397
  const usedTokens = usage.last.totalTokens;
1365
- if (usedTokens === void 0 || usedTokens <= 0) return;
1398
+ if (usedTokens === void 0 || usedTokens < 0) return;
1366
1399
  const maxTokens = usage.modelContextWindow ?? void 0;
1367
1400
  const inputTokens = usage.last.inputTokens;
1368
1401
  const cachedInputTokens = usage.last.cachedInputTokens;
@@ -1732,7 +1765,35 @@ function mapCollabAgentEvent(event, canonicalThreadId) {
1732
1765
  const looseSummary = (typeof item?.command === "string" ? item.command : void 0) ?? (typeof item?.title === "string" ? item.title : void 0) ?? (typeof item?.query === "string" ? item.query : void 0);
1733
1766
  const canonical = toCanonicalItemType(itemTypeRaw);
1734
1767
  const summary = looseSummary ?? canonical.replaceAll("_", " ");
1735
- return [{
1768
+ if (canonical === "assistant_message" && payload.lifecycle === "item/completed" && typeof item?.text === "string" && typeof item.id === "string") return [{
1769
+ ...base,
1770
+ type: "subagent.message.delta",
1771
+ payload: {
1772
+ subagentId: RuntimeSubagentId.make(agentThreadId),
1773
+ providerThreadId: agentThreadId,
1774
+ providerMessageId: item.id,
1775
+ delta: item.text,
1776
+ role: "assistant"
1777
+ }
1778
+ }];
1779
+ const toolEvents = [];
1780
+ if (isToolLifecycleItemType(canonical) && typeof item?.id === "string") {
1781
+ const completed = payload.lifecycle === "item/completed" || item.status === "completed" || item.status === "failed";
1782
+ toolEvents.push({
1783
+ ...base,
1784
+ eventId: EventId.make(`${base.eventId}:tool`),
1785
+ itemId: RuntimeItemId.make(`${agentThreadId}:${item.id}`),
1786
+ type: completed ? "item.completed" : "item.updated",
1787
+ payload: {
1788
+ itemType: canonical,
1789
+ status: item.status === "failed" ? "failed" : completed ? "completed" : "inProgress",
1790
+ title: summary,
1791
+ agentId: agentThreadId,
1792
+ data: { item }
1793
+ }
1794
+ });
1795
+ }
1796
+ return [...toolEvents, {
1736
1797
  ...base,
1737
1798
  type: "task.progress",
1738
1799
  payload: {
@@ -2290,6 +2351,7 @@ function mapToRuntimeEvents(event, canonicalThreadId) {
2290
2351
  */
2291
2352
  const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, options) {
2292
2353
  const boundInstanceId = options?.instanceId ?? ProviderInstanceId.make("codex");
2354
+ const adapterScope = yield* Scope.Scope;
2293
2355
  const fileSystem = yield* FileSystem.FileSystem;
2294
2356
  const childProcessSpawner = yield* ChildProcessSpawner.ChildProcessSpawner;
2295
2357
  const serverConfig = yield* Effect.service(ServerConfig);
@@ -2369,6 +2431,11 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2369
2431
  detail: formatCodexRuntimeErrorDetail(cause),
2370
2432
  cause
2371
2433
  })));
2434
+ let runtimeExited = false;
2435
+ const retireRuntime = Effect.gen(function* () {
2436
+ const current = sessions.get(input.threadId);
2437
+ if (current?.runtime === runtime) yield* stopSessionInternal(current);
2438
+ });
2372
2439
  const eventFiber = yield* Stream.runForEach(runtime.events, (event) => Effect.gen(function* () {
2373
2440
  yield* writeNativeEvent(event);
2374
2441
  const runtimeEvents = mapToRuntimeEvents(event, event.threadId).map((runtimeEvent) => stampRuntimeEvent(runtimeEvent, {
@@ -2391,19 +2458,43 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2391
2458
  }
2392
2459
  yield* Queue.offerAll(runtimeEventQueue, runtimeEvents);
2393
2460
  yield* runtimeEventQueueMetrics.recordEnqueued(runtimeEvents.length);
2394
- })).pipe(Effect.forkIn(sessionScope));
2461
+ if (runtimeEvents.some((runtimeEvent) => runtimeEvent.type === "session.exited")) {
2462
+ runtimeExited = true;
2463
+ yield* retireRuntime.pipe(Effect.forkIn(adapterScope));
2464
+ }
2465
+ })).pipe(Effect.catchCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.interrupt : Effect.gen(function* () {
2466
+ runtimeExited = true;
2467
+ if (agentControl) yield* agentControl.revoke("runtime-teardown");
2468
+ yield* Effect.logWarning("Codex event consumer failed; retiring its runtime", { threadId: input.threadId });
2469
+ yield* Queue.offer(runtimeEventQueue, {
2470
+ eventId: EventId.make(crypto.randomUUID()),
2471
+ provider: PROVIDER,
2472
+ providerInstanceId: boundInstanceId,
2473
+ runtimeSessionId,
2474
+ threadId: input.threadId,
2475
+ createdAt: (/* @__PURE__ */ new Date()).toISOString(),
2476
+ type: "session.exited",
2477
+ payload: {
2478
+ reason: "Codex event stream failed. Reopen the chat to recover.",
2479
+ recoverable: true,
2480
+ exitKind: "error"
2481
+ }
2482
+ });
2483
+ yield* runtimeEventQueueMetrics.recordEnqueued(1);
2484
+ yield* retireRuntime.pipe(Effect.forkIn(adapterScope));
2485
+ })), Effect.forkIn(sessionScope));
2395
2486
  const started = yield* runtime.start().pipe(Effect.mapError((cause) => new ProviderAdapterProcessError({
2396
2487
  provider: PROVIDER,
2397
2488
  threadId: input.threadId,
2398
2489
  detail: formatCodexRuntimeErrorDetail(cause),
2399
2490
  cause
2400
2491
  })), Effect.onError(() => runtime.close.pipe(Effect.andThen(Effect.ignore(Scope.close(sessionScope, Exit.void))), Effect.andThen(Fiber.interrupt(eventFiber)), Effect.ignore)));
2401
- if (started.runtimeSessionId !== void 0 && started.runtimeSessionId !== runtimeSessionId) {
2492
+ if (runtimeExited || started.runtimeSessionId !== void 0 && started.runtimeSessionId !== runtimeSessionId) {
2402
2493
  yield* runtime.close.pipe(Effect.andThen(Fiber.interrupt(eventFiber)), Effect.andThen(Scope.close(sessionScope, Exit.void)), Effect.ignore);
2403
2494
  return yield* new ProviderAdapterValidationError({
2404
2495
  provider: PROVIDER,
2405
2496
  operation: "startSession",
2406
- issue: `Codex runtime returned epoch '${started.runtimeSessionId}' for requested epoch '${runtimeSessionId}'.`
2497
+ issue: runtimeExited ? "Codex runtime exited while the session was starting." : `Codex runtime returned epoch '${started.runtimeSessionId}' for requested epoch '${runtimeSessionId}'.`
2407
2498
  });
2408
2499
  }
2409
2500
  sessions.set(input.threadId, {
@@ -2467,13 +2558,21 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2467
2558
  method,
2468
2559
  detail: `Turn has ${attachments.length} attachments; limit is 8.`
2469
2560
  });
2470
- const resolved = yield* Effect.forEach(attachments, (attachment) => resolveAttachmentForPreflight(attachment, method), { concurrency: 1 });
2561
+ const native = attachments.filter((attachment) => attachment.type === "image");
2562
+ const resolved = yield* Effect.forEach(native, (attachment) => resolveAttachmentForPreflight(attachment, method), { concurrency: 1 });
2471
2563
  const totalBytes = resolved.reduce((total, entry) => total + entry.sizeBytes, 0);
2472
2564
  if (totalBytes > PROVIDER_SEND_TURN_MAX_ATTACHMENT_TOTAL_BYTES) return yield* new ProviderAdapterRequestError({
2473
2565
  provider: PROVIDER,
2474
2566
  method,
2475
2567
  detail: `Turn attachments total ${totalBytes} bytes; limit is ${PROVIDER_SEND_TURN_MAX_ATTACHMENT_TOTAL_BYTES} bytes.`
2476
2568
  });
2569
+ const pathLineEntries = attachments.filter((attachment) => attachment.type !== "image").map((attachment) => ({
2570
+ attachment,
2571
+ ...attachment.id === void 0 ? {} : { resolvedPath: resolveAttachmentPath({
2572
+ attachmentsDir: serverConfig.attachmentsDir,
2573
+ attachment
2574
+ }) ?? void 0 }
2575
+ }));
2477
2576
  if (resolved.length > 0) {
2478
2577
  yield* Effect.annotateCurrentSpan({
2479
2578
  "provider.attachment_count": resolved.length,
@@ -2490,7 +2589,10 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2490
2589
  }))
2491
2590
  });
2492
2591
  }
2493
- return resolved;
2592
+ return {
2593
+ native: resolved,
2594
+ pathLines: formatAttachmentPathLines(pathLineEntries)
2595
+ };
2494
2596
  });
2495
2597
  const toCodexAttachment = Effect.fn("toCodexAttachment")(function* (resolved, method) {
2496
2598
  const bytes = yield* fileSystem.readFile(resolved.path).pipe(Effect.mapError((cause) => new ProviderAdapterRequestError({
@@ -2505,13 +2607,13 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2505
2607
  };
2506
2608
  });
2507
2609
  const sendTurn = Effect.fn("sendTurn")(function* (input) {
2508
- const resolvedAttachments = yield* preflightAttachments(input, "turn/start");
2509
- const codexAttachments = yield* Effect.forEach(resolvedAttachments, (attachment) => toCodexAttachment(attachment, "turn/start"), { concurrency: 1 });
2610
+ const { native, pathLines } = yield* preflightAttachments(input, "turn/start");
2611
+ const codexAttachments = yield* Effect.forEach(native, (attachment) => toCodexAttachment(attachment, "turn/start"), { concurrency: 1 });
2510
2612
  const session = yield* requireSession(input.threadId);
2511
2613
  const reasoningEffort = input.modelSelection?.instanceId === boundInstanceId ? getModelSelectionStringOptionValue(input.modelSelection, "reasoningEffort") : void 0;
2512
2614
  const fastMode = input.modelSelection?.instanceId === boundInstanceId ? getModelSelectionBooleanOptionValue(input.modelSelection, "fastMode") : void 0;
2513
2615
  const formatted = formatSourceControlContextsForAgent(input.sourceControlContexts ?? []);
2514
- const codexInput = formatted ? formatted + "\n\n" + (input.input ?? "") : input.input;
2616
+ const codexInput = appendAttachmentPathLines(formatted ? formatted + "\n\n" + (input.input ?? "") : input.input, pathLines);
2515
2617
  const result = yield* session.runtime.sendTurn({
2516
2618
  ...codexInput !== void 0 ? { input: codexInput } : {},
2517
2619
  ...input.modelSelection?.instanceId === boundInstanceId ? { model: input.modelSelection.model } : {},
@@ -2529,12 +2631,14 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2529
2631
  return result;
2530
2632
  });
2531
2633
  const steerTurn = Effect.fn("steerTurn")(function* (input) {
2532
- const resolvedAttachments = yield* preflightAttachments(input, "turn/steer");
2533
- const codexAttachments = yield* Effect.forEach(resolvedAttachments, (attachment) => toCodexAttachment(attachment, "turn/steer"), { concurrency: 1 });
2534
- return yield* (yield* requireSession(input.threadId)).runtime.steerTurn({
2634
+ const { native, pathLines } = yield* preflightAttachments(input, "turn/steer");
2635
+ const codexAttachments = yield* Effect.forEach(native, (attachment) => toCodexAttachment(attachment, "turn/steer"), { concurrency: 1 });
2636
+ const session = yield* requireSession(input.threadId);
2637
+ const steerInput = appendAttachmentPathLines(input.input, pathLines);
2638
+ return yield* session.runtime.steerTurn({
2535
2639
  expectedTurnId: input.expectedTurnId,
2536
2640
  messageId: input.messageId,
2537
- ...input.input !== void 0 ? { input: input.input } : {},
2641
+ ...steerInput !== void 0 ? { input: steerInput } : {},
2538
2642
  ...codexAttachments.length > 0 ? { attachments: codexAttachments } : {}
2539
2643
  }).pipe(Effect.mapError((cause) => mapCodexRuntimeError(input.threadId, "turn/steer", cause)));
2540
2644
  });
@@ -2565,6 +2669,64 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2565
2669
  threadId,
2566
2670
  turns: snapshot.turns
2567
2671
  })));
2672
+ const readThreadHistory = (input) => Effect.gen(function* () {
2673
+ if (!Schema.is(CodexResumeCursorSchema)(input.resumeCursor)) return yield* new ProviderAdapterValidationError({
2674
+ provider: PROVIDER,
2675
+ operation: "readThreadHistory",
2676
+ issue: "Missing Codex thread identity."
2677
+ });
2678
+ const existing = sessions.get(input.threadId);
2679
+ const liveSession = existing && !existing.stopped ? yield* existing.runtime.getSession : void 0;
2680
+ const liveSnapshot = existing && liveSession && (liveSession.status === "ready" || liveSession.status === "running") && Schema.is(CodexResumeCursorSchema)(liveSession.resumeCursor) && liveSession.resumeCursor.threadId === input.resumeCursor.threadId ? yield* existing.runtime.readThread.pipe(Effect.timeoutOption("2 seconds"), Effect.orElseSucceed(() => Option.none())) : Option.none();
2681
+ const snapshot = Option.isSome(liveSnapshot) ? liveSnapshot.value : yield* readStoredCodexThread({
2682
+ binaryPath: codexConfig.binaryPath,
2683
+ cwd: input.cwd ?? process.cwd(),
2684
+ providerThreadId: input.resumeCursor.threadId,
2685
+ ...codexConfig.homePath ? { homePath: codexConfig.homePath } : {},
2686
+ ...options?.environment ? { environment: options.environment } : {}
2687
+ }).pipe(Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, childProcessSpawner), Effect.mapError((cause) => mapCodexRuntimeError(input.threadId, "thread/read", cause)));
2688
+ const messages = [];
2689
+ const items = [];
2690
+ const completedTurnIds = [];
2691
+ const failedTurnIds = [];
2692
+ for (const turn of snapshot.turns) {
2693
+ if (!turn.status || turn.status === "inProgress") continue;
2694
+ completedTurnIds.push(turn.id);
2695
+ if (turn.status === "failed") failedTurnIds.push(turn.id);
2696
+ const createdAt = (/* @__PURE__ */ new Date((turn.startedAt ?? 0) * 1e3)).toISOString();
2697
+ for (const item of turn.items) if (item.type === "agentMessage" || item.type === "userMessage") messages.push({
2698
+ id: MessageId.make(item.type === "agentMessage" ? `assistant:${item.id}` : item.clientId ?? `user:${item.id}`),
2699
+ turnId: turn.id,
2700
+ role: item.type === "agentMessage" ? "assistant" : "user",
2701
+ text: item.type === "agentMessage" ? item.text : item.content.flatMap((part) => part.type === "text" ? [part.text] : []).join("\n"),
2702
+ createdAt
2703
+ });
2704
+ else {
2705
+ const event = mapItemLifecycle({
2706
+ id: EventId.make(`history:${input.threadId}:${snapshot.threadId}:${turn.id}:${item.id}`),
2707
+ provider: PROVIDER,
2708
+ threadId: input.threadId,
2709
+ kind: "notification",
2710
+ method: "item/completed",
2711
+ turnId: turn.id,
2712
+ itemId: ProviderItemId.make(item.id),
2713
+ createdAt,
2714
+ payload: {
2715
+ threadId: snapshot.threadId,
2716
+ turnId: turn.id,
2717
+ item
2718
+ }
2719
+ }, input.threadId, "item.completed");
2720
+ if (event) items.push(event);
2721
+ }
2722
+ }
2723
+ return {
2724
+ messages,
2725
+ items,
2726
+ completedTurnIds,
2727
+ failedTurnIds
2728
+ };
2729
+ });
2568
2730
  const rollbackThread = (threadId, numTurns) => {
2569
2731
  if (!Number.isInteger(numTurns) || numTurns < 1) return Effect.fail(new ProviderAdapterValidationError({
2570
2732
  provider: PROVIDER,
@@ -2576,11 +2738,34 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2576
2738
  turns: snapshot.turns
2577
2739
  })));
2578
2740
  };
2579
- const setThreadGoal = (threadId, goal) => requireSession(threadId).pipe(Effect.flatMap((session) => session.runtime.setGoal({
2580
- objective: goal.objective,
2581
- status: goal.status,
2582
- tokenBudget: goal.tokenBudget
2583
- })), Effect.asVoid, Effect.mapError((cause) => cause._tag === "ProviderAdapterSessionNotFoundError" ? cause : mapCodexRuntimeError(threadId, "thread/goal/set", cause)));
2741
+ const setThreadGoal = (threadId, goal) => requireSession(threadId).pipe(Effect.flatMap((session) => {
2742
+ const fields = goal.synchronization?.fields ?? [
2743
+ "objective",
2744
+ "status",
2745
+ "tokenBudget"
2746
+ ];
2747
+ return session.runtime.setGoal({
2748
+ ...fields.includes("objective") ? { objective: goal.objective } : {},
2749
+ ...fields.includes("status") ? { status: goal.status } : {},
2750
+ ...fields.includes("tokenBudget") ? { tokenBudget: goal.tokenBudget } : {}
2751
+ });
2752
+ }), Effect.flatMap((response) => {
2753
+ const goal = normalizeCodexThreadGoal(response.goal);
2754
+ return goal ? Effect.succeed(goal) : Effect.fail(new ProviderAdapterRequestError({
2755
+ provider: "codex",
2756
+ method: "thread/goal/set",
2757
+ detail: "Codex returned an invalid goal."
2758
+ }));
2759
+ }), Effect.mapError((cause) => cause._tag === "ProviderAdapterSessionNotFoundError" || cause._tag === "ProviderAdapterRequestError" ? cause : mapCodexRuntimeError(threadId, "thread/goal/set", cause)));
2760
+ const getThreadGoal = (threadId) => requireSession(threadId).pipe(Effect.flatMap((session) => session.runtime.getGoal), Effect.flatMap((response) => {
2761
+ if (!response.goal) return Effect.succeed(null);
2762
+ const goal = normalizeCodexThreadGoal(response.goal);
2763
+ return goal ? Effect.succeed(goal) : Effect.fail(new ProviderAdapterRequestError({
2764
+ provider: "codex",
2765
+ method: "thread/goal/get",
2766
+ detail: "Codex returned an invalid goal."
2767
+ }));
2768
+ }), Effect.mapError((cause) => cause._tag === "ProviderAdapterSessionNotFoundError" || cause._tag === "ProviderAdapterRequestError" ? cause : mapCodexRuntimeError(threadId, "thread/goal/get", cause)));
2584
2769
  const clearThreadGoal = (threadId) => requireSession(threadId).pipe(Effect.flatMap((session) => session.runtime.clearGoal), Effect.asVoid, Effect.mapError((cause) => cause._tag === "ProviderAdapterSessionNotFoundError" ? cause : mapCodexRuntimeError(threadId, "thread/goal/clear", cause)));
2585
2770
  const respondToRequest = (threadId, requestId, decision) => requireSession(threadId).pipe(Effect.flatMap((session) => session.runtime.respondToRequest(requestId, decision)), Effect.mapError((cause) => cause._tag === "ProviderAdapterSessionNotFoundError" ? cause : mapCodexRuntimeError(threadId, "item/requestApproval/decision", cause)));
2586
2771
  const respondToUserInput = (threadId, requestId, answers) => requireSession(threadId).pipe(Effect.flatMap((session) => session.runtime.respondToUserInput(requestId, answers)), Effect.mapError((cause) => cause._tag === "ProviderAdapterSessionNotFoundError" ? cause : mapCodexRuntimeError(threadId, "item/tool/requestUserInput", cause)));
@@ -2611,8 +2796,10 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
2611
2796
  steerTurn,
2612
2797
  interruptTurn,
2613
2798
  readThread,
2799
+ readThreadHistory,
2614
2800
  rollbackThread,
2615
2801
  setThreadGoal,
2802
+ getThreadGoal,
2616
2803
  clearThreadGoal,
2617
2804
  respondToRequest,
2618
2805
  respondToUserInput,
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { Pn as TextGenerationError } from "./collectUint8StreamText-D8TBiBWk.mjs";
4
- import { nt as sanitizeFeatureBranchName, st as ServerConfig, tt as sanitizeBranchFragment } from "./Metrics-BP9YjxZB.mjs";
5
- import { A as buildCommitMessagePrompt, B as sanitizeThreadTitle, F as buildThreadTitlePrompt, Jn as getModelSelectionBooleanOptionValue, L as normalizeCliError, M as buildIssueContentTitlePrompt, N as buildPrContentPrompt, O as validateRankInboxThreadsResult, P as buildThreadPriorityPrompt, R as sanitizeCommitSubject, St as expandHomePath, V as toJsonSchemaObject, Wn as resolveAttachmentPath, Yn as getModelSelectionStringOptionValue, j as buildIssueContentPolishPrompt, k as buildBranchNamePrompt, z as sanitizePrTitle } from "./bin.mjs";
3
+ import { Ln as TextGenerationError } from "./collectUint8StreamText-C_VNyArd.mjs";
4
+ import { nt as sanitizeFeatureBranchName, st as ServerConfig, tt as sanitizeBranchFragment } from "./Metrics-a1h4iBQi.mjs";
5
+ import { $n as resolveAttachmentPath, B as buildPrContentPrompt, F as validateRankInboxThreadsResult, G as sanitizeCommitSubject, H as buildThreadTitlePrompt, I as buildBranchNamePrompt, J as toJsonSchemaObject, K as sanitizePrTitle, L as buildCommitMessagePrompt, R as buildIssueContentPolishPrompt, V as buildThreadPriorityPrompt, W as normalizeCliError, ir as getModelSelectionStringOptionValue, kt as expandHomePath, q as sanitizeThreadTitle, rr as getModelSelectionBooleanOptionValue, z as buildIssueContentTitlePrompt } from "./bin.mjs";
6
6
  import { Effect, FileSystem, Option, Path, Schema, Stream } from "effect";
7
7
  import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
8
8
  //#region src/textGeneration/CodexTextGeneration.ts
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const require_collectUint8StreamText = require("./collectUint8StreamText-C5fop6Zf.cjs");
4
- const require_Metrics = require("./Metrics-DIjMQ5pa.cjs");
3
+ const require_collectUint8StreamText = require("./collectUint8StreamText-DStwNTTK.cjs");
4
+ const require_Metrics = require("./Metrics-Bcb9vCAe.cjs");
5
5
  const require_bin = require("./bin.cjs");
6
6
  let effect = require("effect");
7
7
  let effect_unstable_process = require("effect/unstable/process");