@organizaone/o1-code 0.2.1 → 0.2.2

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 (280) hide show
  1. package/chunks/{MaxSizedBox-ILJP2XFH.js → MaxSizedBox-5SCM5KM2.js} +20 -20
  2. package/chunks/{StandaloneSessionPicker-XEQKWDJO.js → StandaloneSessionPicker-AJJBYDA3.js} +37 -37
  3. package/chunks/{acp-subagent-executor-Q45Z2Z5G.js → acp-subagent-executor-K3G5OOSP.js} +23 -23
  4. package/chunks/{acpAgent-6VM3TZLU.js → acpAgent-DKLAK5PM.js} +64 -64
  5. package/chunks/{agent-5OPRNB5Y.js → agent-6OWW6WY2.js} +10 -10
  6. package/chunks/{agent-headless-STT34GDU.js → agent-headless-YPSZDZPG.js} +10 -10
  7. package/chunks/{anthropicContentGenerator-BBMZN67T.js → anthropicContentGenerator-3IK5TV3K.js} +4 -4
  8. package/chunks/{bridge-4ERMSS33.js → bridge-ZX33T7DG.js} +23 -23
  9. package/chunks/{ca-L7PMUR5C.js → ca-ZH46FQUI.js} +11 -0
  10. package/chunks/{chunk-4P4YBHQV.js → chunk-2CATNMFQ.js} +1 -1
  11. package/chunks/{chunk-K3HIXAXS.js → chunk-2HHPWUTH.js} +5 -5
  12. package/chunks/{chunk-IXXK2CVS.js → chunk-2KFLZ6RD.js} +2 -2
  13. package/chunks/{chunk-5ZCXHWUH.js → chunk-35HKXSBC.js} +4 -4
  14. package/chunks/{chunk-XEKHHWU3.js → chunk-3BYFQ2H6.js} +1 -1
  15. package/chunks/{chunk-7P43YTEC.js → chunk-3CMD4E67.js} +9 -9
  16. package/chunks/{chunk-275467L7.js → chunk-3WHURT5H.js} +1 -1
  17. package/chunks/{chunk-TSYA4JQR.js → chunk-46QWU5NF.js} +1 -1
  18. package/chunks/{chunk-RFAJTG5E.js → chunk-4OKN67QV.js} +1 -1
  19. package/chunks/{chunk-X7QSS7D7.js → chunk-4QRR663K.js} +1 -1
  20. package/chunks/{chunk-SQBWXEWV.js → chunk-4WPPTUCX.js} +2 -2
  21. package/chunks/{chunk-TV6DIH4F.js → chunk-53EO7S4Y.js} +3 -3
  22. package/chunks/{chunk-RTS7ESBT.js → chunk-54A4EPMP.js} +6 -6
  23. package/chunks/{chunk-ZUXMZWSC.js → chunk-5D3SQUVZ.js} +21 -9
  24. package/chunks/{chunk-3N7CB4LJ.js → chunk-5PY64ILO.js} +3 -3
  25. package/chunks/{chunk-IPZLPHTT.js → chunk-5VYJVTAM.js} +2 -2
  26. package/chunks/{chunk-55CRR22E.js → chunk-5WYIBYDU.js} +4 -4
  27. package/chunks/{chunk-NZP5TZGH.js → chunk-62HSC5KO.js} +2 -2
  28. package/chunks/{chunk-BFBUQXZX.js → chunk-677NF5JH.js} +5 -5
  29. package/chunks/{chunk-S2R73VNZ.js → chunk-6IF6KATN.js} +2 -2
  30. package/chunks/{chunk-JMJFLWSU.js → chunk-6VAMW6I2.js} +1 -1
  31. package/chunks/{chunk-ZMVES7WT.js → chunk-7F23OSW4.js} +1 -1
  32. package/chunks/{chunk-R44ZL5PA.js → chunk-7GTL3WHO.js} +9 -9
  33. package/chunks/{chunk-GSUMVFRL.js → chunk-7JU2ULBO.js} +5 -5
  34. package/chunks/{chunk-F2EUAZ42.js → chunk-7RYHVZAS.js} +2 -2
  35. package/chunks/{chunk-LNSVUN7D.js → chunk-ATR7W3VI.js} +1 -1
  36. package/chunks/{chunk-Q3MAMZPC.js → chunk-D3VJGSXW.js} +7 -7
  37. package/chunks/{chunk-NKDWD2XK.js → chunk-DGBGYBO4.js} +4 -4
  38. package/chunks/{chunk-HFCYBLFB.js → chunk-EPCKGEAE.js} +2 -2
  39. package/chunks/{chunk-AAZCQFU7.js → chunk-EUHJ4MJD.js} +3 -3
  40. package/chunks/{chunk-QWRLPBK5.js → chunk-FJAC7QWS.js} +1 -1
  41. package/chunks/{chunk-UN66LTA5.js → chunk-FW5URUJS.js} +3 -3
  42. package/chunks/{chunk-O7SA3JOY.js → chunk-GY77YVM3.js} +4 -4
  43. package/chunks/{chunk-3OOD2SL5.js → chunk-H76MQGWH.js} +1 -1
  44. package/chunks/{chunk-4K4YU6IE.js → chunk-HWG2ZXRT.js} +5 -5
  45. package/chunks/{chunk-M5WOKPHW.js → chunk-HWTDN2JB.js} +1 -1
  46. package/chunks/{chunk-SU7OFRCV.js → chunk-IBKJ7UBC.js} +3 -3
  47. package/chunks/{chunk-4SZC7RVO.js → chunk-IBPA7P2S.js} +191 -111
  48. package/chunks/{chunk-FPSV5F3J.js → chunk-J4WTP4LX.js} +3 -3
  49. package/chunks/{chunk-XMXLJ62X.js → chunk-J6YVMK2F.js} +5 -5
  50. package/chunks/{chunk-43GDSADF.js → chunk-JASYFKBU.js} +3 -3
  51. package/chunks/{chunk-T4LEIWQH.js → chunk-JHFU5Z3V.js} +1 -1
  52. package/chunks/{chunk-3X5YE7K6.js → chunk-K7L7Z5JJ.js} +10 -10
  53. package/chunks/{chunk-CIZUUTQW.js → chunk-KU4ER5BM.js} +1 -1
  54. package/chunks/{chunk-N3I3L5LV.js → chunk-KUSGHH6D.js} +2 -2
  55. package/chunks/{chunk-EQHDM633.js → chunk-L65YOA4P.js} +2 -2
  56. package/chunks/{chunk-VTGXEJY6.js → chunk-L7A4D4IY.js} +1 -1
  57. package/chunks/{chunk-HQF6VFNE.js → chunk-M4M3XQJU.js} +3 -3
  58. package/chunks/{chunk-AYHHE4CE.js → chunk-N2WMG5XF.js} +2 -2
  59. package/chunks/{chunk-QL2NT3RJ.js → chunk-NIYI5272.js} +1 -1
  60. package/chunks/{chunk-A3UCKJCO.js → chunk-NVKVO57S.js} +1 -1
  61. package/chunks/{chunk-ZMSOU425.js → chunk-O3KQN6OE.js} +1 -1
  62. package/chunks/{chunk-NJCNDTMU.js → chunk-O7LSTDIS.js} +1 -1
  63. package/chunks/{chunk-JFOECBR6.js → chunk-OMKGBEIH.js} +16 -18
  64. package/chunks/{chunk-UNYXISWU.js → chunk-PB4XGSE6.js} +1 -1
  65. package/chunks/{chunk-JBLS4FNG.js → chunk-PC4V3VPG.js} +1 -1
  66. package/chunks/{chunk-QV7WMJKO.js → chunk-PJLUCMQZ.js} +5 -5
  67. package/chunks/{chunk-M4EXXZD2.js → chunk-POMHQTHO.js} +5 -5
  68. package/chunks/{chunk-DYRES6SF.js → chunk-PS7DDP2Q.js} +1 -1
  69. package/chunks/{chunk-LTPSDF3G.js → chunk-Q5D3WECC.js} +1 -1
  70. package/chunks/{chunk-D44S5CG4.js → chunk-QHQFX3P5.js} +32 -32
  71. package/chunks/{chunk-ULG4PCYE.js → chunk-QIZ34JTV.js} +4 -4
  72. package/chunks/{chunk-BWDRATUC.js → chunk-QMW7RSXD.js} +1 -1
  73. package/chunks/{chunk-Y4YSSESQ.js → chunk-R5WDYBMX.js} +1 -1
  74. package/chunks/{chunk-ZGKVTZ5U.js → chunk-RQOEQ73K.js} +1 -1
  75. package/chunks/{chunk-NHJG5DHT.js → chunk-RTFUUYHW.js} +1 -1
  76. package/chunks/{chunk-75CU64KQ.js → chunk-RYBAJ5II.js} +1 -1
  77. package/chunks/{chunk-LTXNNMMK.js → chunk-RZCK3LM2.js} +30 -30
  78. package/chunks/{chunk-NLDOMJLL.js → chunk-S64M5W2S.js} +10 -10
  79. package/chunks/{chunk-SSPLVKHT.js → chunk-S7CMT75P.js} +15 -15
  80. package/chunks/{chunk-QZEIQHWS.js → chunk-T3SMR7ET.js} +1 -1
  81. package/chunks/{chunk-WAAGAWVB.js → chunk-TLHPWOSA.js} +3 -3
  82. package/chunks/{chunk-UKFN6XZZ.js → chunk-TQO7BXBQ.js} +5 -5
  83. package/chunks/{chunk-4WIO3PDS.js → chunk-TTV7MBGI.js} +3 -3
  84. package/chunks/{chunk-T2O4KA57.js → chunk-UIBQ77SC.js} +3 -3
  85. package/chunks/{chunk-YVKGIXF5.js → chunk-UVUHDO2Y.js} +1 -1
  86. package/chunks/{chunk-B5YDHQNQ.js → chunk-V2R5TAQQ.js} +1 -1
  87. package/chunks/{chunk-LRTUILRX.js → chunk-V5YZXZMM.js} +2 -2
  88. package/chunks/{chunk-DGH2NWMU.js → chunk-VGR4BKLQ.js} +1 -1
  89. package/chunks/{chunk-7X2YJUKP.js → chunk-VIYT2NE4.js} +7 -7
  90. package/chunks/{chunk-6UMFAQXO.js → chunk-WRQYAWUW.js} +3 -3
  91. package/chunks/{chunk-C7GI242H.js → chunk-WSWWZ7IT.js} +2 -2
  92. package/chunks/{chunk-BY6VCKSV.js → chunk-WX53PW47.js} +5 -0
  93. package/chunks/{chunk-DEPWTN66.js → chunk-WYUR66BU.js} +8 -8
  94. package/chunks/{chunk-TJLO5KQI.js → chunk-X2HM423P.js} +3 -3
  95. package/chunks/{chunk-DSJFX5WX.js → chunk-X62LTOGE.js} +51 -51
  96. package/chunks/{chunk-DSLJPDSI.js → chunk-XAA77MEC.js} +3 -3
  97. package/chunks/{chunk-J2WKXWCE.js → chunk-XJXDZPSD.js} +3 -3
  98. package/chunks/{chunk-J6UDQ4ZH.js → chunk-XKPECZJM.js} +1 -1
  99. package/chunks/{chunk-HLVWIYPY.js → chunk-XMBUOPZG.js} +8 -8
  100. package/chunks/{chunk-APWJWE6G.js → chunk-YEOU65NW.js} +1 -1
  101. package/chunks/{chunk-FTRNJQSS.js → chunk-YS57I3OQ.js} +3 -3
  102. package/chunks/{chunk-VR2SC276.js → chunk-Z4H2RDAF.js} +1 -1
  103. package/chunks/{codex-subagent-executor-N5Y5ZG4D.js → codex-subagent-executor-URK6CSXE.js} +23 -23
  104. package/chunks/{contextCommand-JIFJWYLY.js → contextCommand-NFZZE3E4.js} +22 -22
  105. package/chunks/{core-runtime-3FOXX22I.js → core-runtime-QX52LNEY.js} +20 -20
  106. package/chunks/{create-sub-session-52O4RAUW.js → create-sub-session-2JFP4FMQ.js} +21 -21
  107. package/chunks/{daemon-git-worktree-guard-5B4PTBEO.js → daemon-git-worktree-guard-7JVFR6J3.js} +20 -20
  108. package/chunks/{daemon-status-provider-YGX5Z724.js → daemon-status-provider-GGAO5SSF.js} +28 -28
  109. package/chunks/{daemon-trust-policy-KFAEA2JN.js → daemon-trust-policy-D6AWUEZK.js} +26 -26
  110. package/chunks/{daemon-trust-policy-monitor-MKDE7EMJ.js → daemon-trust-policy-monitor-77JEJNAK.js} +26 -26
  111. package/chunks/{de-VN7EAAHB.js → de-OBLDRYWI.js} +11 -0
  112. package/chunks/{deferred-core-runtime-FURX6OPG.js → deferred-core-runtime-XBSMNSGZ.js} +20 -20
  113. package/chunks/{edit-OLWTITK7.js → edit-4AFGA6RJ.js} +12 -12
  114. package/chunks/{en-FMP6YMAT.js → en-NKO6N4BL.js} +11 -0
  115. package/chunks/{enterPlanMode-G62GFYIL.js → enterPlanMode-GWCLJSPB.js} +10 -10
  116. package/chunks/{environment-AHUJ2WNU.js → environment-GB72GJFP.js} +22 -22
  117. package/chunks/{errors-A76XUKXI.js → errors-UB6Y6QB7.js} +22 -22
  118. package/chunks/{execution-tool-6M43W2CD.js → execution-tool-SM65QD3E.js} +12 -12
  119. package/chunks/{execution-worker-RITSLTAM.js → execution-worker-277RP2BS.js} +15 -15
  120. package/chunks/{exitPlanMode-HWRPD6HP.js → exitPlanMode-YL44MDSN.js} +10 -10
  121. package/chunks/{fast-path-IUAF4V52.js → fast-path-BHS3UUDU.js} +2 -2
  122. package/chunks/{fr-252VXF5X.js → fr-24RYKQP7.js} +11 -0
  123. package/chunks/{glob-AK26XTX7.js → glob-RMPRZBBM.js} +10 -10
  124. package/chunks/{glyphs-IVGOFHFY.js → glyphs-YRPM3EUI.js} +3 -1
  125. package/chunks/{goal-tools-K4IEJZVP.js → goal-tools-IARELLX6.js} +10 -10
  126. package/chunks/{handleAutoUpdate-CXQVP6R3.js → handleAutoUpdate-B6H2CUWG.js} +23 -23
  127. package/chunks/{i18n-34JF2YTC.js → i18n-PEUDBKCF.js} +21 -21
  128. package/chunks/{initializer-TC7YXJX3.js → initializer-5CTPR23V.js} +26 -26
  129. package/chunks/{installationInfo-4WVFZS7F.js → installationInfo-RKF4FYYG.js} +20 -20
  130. package/chunks/{ja-HSSU2GCM.js → ja-NY2HNPE4.js} +11 -0
  131. package/chunks/{list-XZJGUVJV.js → list-JFHTQZXB.js} +28 -28
  132. package/chunks/{llm-IBIYUTRB.js → llm-ZBVAGEV2.js} +53 -53
  133. package/chunks/{llm-content-generator-EKS4LJ7S.js → llm-content-generator-5ELI577U.js} +3 -3
  134. package/chunks/{loadedSettingsAdapter-XDF7ZRVI.js → loadedSettingsAdapter-A63DFE7G.js} +26 -26
  135. package/chunks/{local-execution-environment-N5QTHYN2.js → local-execution-environment-JYU5ETM4.js} +15 -15
  136. package/chunks/{loggingContentGenerator-J2SZSB3D.js → loggingContentGenerator-SCVT5IMD.js} +11 -11
  137. package/chunks/{managed-npm-update-ADYQFDYZ.js → managed-npm-update-CW3A5IYM.js} +20 -20
  138. package/chunks/{mcp-FCNNZQ5O.js → mcp-XCJSXNQS.js} +26 -26
  139. package/chunks/{model-call-collection-S6UV7EOR.js → model-call-collection-QHVB4RVP.js} +1 -1
  140. package/chunks/{model-configuration-BKIJDHQR.js → model-configuration-FMD3UX64.js} +27 -27
  141. package/chunks/{modelConfigUtils-FIEUEOJZ.js → modelConfigUtils-BLJJCU4P.js} +22 -22
  142. package/chunks/{monitor-FTME7AHH.js → monitor-ZCZL365W.js} +10 -10
  143. package/chunks/{nonInteractiveCli-OUMY3223.js → nonInteractiveCli-ND5K3Z6K.js} +55 -55
  144. package/chunks/{nonInteractiveToolExecutor-7IRTRKEU.js → nonInteractiveToolExecutor-JDDFIDEA.js} +11 -11
  145. package/chunks/{notebook-edit-M5L2Q7P4.js → notebook-edit-AW454CFZ.js} +11 -11
  146. package/chunks/{omni-2FJ5VKTT.js → omni-5ALTY2B4.js} +8 -8
  147. package/chunks/{openaiContentGenerator-P2KPWH2D.js → openaiContentGenerator-SKPNHTOM.js} +6 -6
  148. package/chunks/{openaiResponsesContentGenerator-CMO7QG6J.js → openaiResponsesContentGenerator-G2PVJMGK.js} +3 -3
  149. package/chunks/{processUtils-HPCKCYBN.js → processUtils-HED6IV7T.js} +2 -2
  150. package/chunks/{prompt-terminal-ledger-UMSDLXLV.js → prompt-terminal-ledger-IAHXPZ2K.js} +21 -21
  151. package/chunks/{pt-HIO6LWR5.js → pt-DFSLPV3S.js} +11 -0
  152. package/chunks/{reactive-degrade-B42K5MNO.js → reactive-degrade-UDGAMHBZ.js} +7 -7
  153. package/chunks/{read-file-GHU4CUGW.js → read-file-VM6TL6KB.js} +2 -2
  154. package/chunks/{resumeHistoryUtils-5PYOXBA3.js → resumeHistoryUtils-PRCLL7VH.js} +25 -25
  155. package/chunks/{ripGrep-GBNZXDYR.js → ripGrep-RIKFZ5VR.js} +3 -3
  156. package/chunks/{ru-2WQ363MP.js → ru-VIGQVLUG.js} +11 -0
  157. package/chunks/{run-o1-code-serve-2XVTXGB5.js → run-o1-code-serve-D4MM64ZN.js} +32 -32
  158. package/chunks/{sandboxConfig-74RXCJ5D.js → sandboxConfig-RMU6PWYZ.js} +20 -20
  159. package/chunks/{scheduled-tasks-AD4ASYJU.js → scheduled-tasks-4GGMZT2G.js} +26 -26
  160. package/chunks/{scheduler-IKLPLKWB.js → scheduler-VROKOD3O.js} +22 -22
  161. package/chunks/{serve-UAUZ73UX.js → serve-GK3X7AVS.js} +26 -26
  162. package/chunks/{server-GGIMAO6U.js → server-YQ4IHB2Z.js} +56 -56
  163. package/chunks/{session-VFKAUTRY.js → session-2IHZ5JXU.js} +56 -56
  164. package/chunks/{session-attachments-root-N3KGNFPO.js → session-attachments-root-AR5PGJNN.js} +20 -20
  165. package/chunks/{session-pr-refresh-IH36KPN2.js → session-pr-refresh-PIZTNB2B.js} +25 -25
  166. package/chunks/{settings-SIHKTI5J.js → settings-ODFKFJAO.js} +25 -25
  167. package/chunks/{shell-RKZP7RTK.js → shell-C3DRI7IE.js} +10 -10
  168. package/chunks/{skill-AHN5NVKD.js → skill-2EZBO4KR.js} +3 -3
  169. package/chunks/{skill-settings-KTYFC3OZ.js → skill-settings-VUTNOTIK.js} +26 -26
  170. package/chunks/{spawnChannel-JQ2VCQKM.js → spawnChannel-IQQIBRY4.js} +22 -22
  171. package/chunks/{standalone-update-TPIXYEG4.js → standalone-update-DK57ZQVB.js} +22 -22
  172. package/chunks/{startInteractiveUI-S7CWVEUX.js → startInteractiveUI-JXO3ANAJ.js} +205 -124
  173. package/chunks/{team-create-X5HMT2BQ.js → team-create-SPQB4ZIQ.js} +10 -10
  174. package/chunks/{team-plan-approval-DTB3KWU5.js → team-plan-approval-DSGKM6D4.js} +10 -10
  175. package/chunks/{terminal-image-renderer-BM3D2JFE.js → terminal-image-renderer-F46UJJR7.js} +20 -20
  176. package/chunks/{theme-manager-FKTZIGY3.js → theme-manager-XHLUGDMV.js} +20 -20
  177. package/chunks/{tool-result-media-O4UBBTO7.js → tool-result-media-UVGNZWQ7.js} +8 -8
  178. package/chunks/{tool-search-YQ3W7PYY.js → tool-search-TTHUGA3R.js} +2 -2
  179. package/chunks/{total-session-admission-SPBMDG2T.js → total-session-admission-IAZTBDST.js} +23 -23
  180. package/chunks/{tree-sitter-GTI4UDVD.js → tree-sitter-KOGCLBE7.js} +1 -1
  181. package/chunks/{tree-sitter-bash-2VBXAONQ.js → tree-sitter-bash-6WVJG6KQ.js} +1 -1
  182. package/chunks/{trustedFolders-MOREUGG4.js → trustedFolders-FIKJDDCU.js} +21 -21
  183. package/chunks/{update-relaunch-YZWM4SZQ.js → update-relaunch-QM4HHYSH.js} +5 -5
  184. package/chunks/{updateCheck-IYMDFXAF.js → updateCheck-SHHRTDIC.js} +22 -22
  185. package/chunks/{upload-config-5O6SSCDM.js → upload-config-EB7CHHBR.js} +5 -5
  186. package/chunks/{useAutoAcceptIndicator-S5KOLUTE.js → useAutoAcceptIndicator-IXO3W3HW.js} +28 -28
  187. package/chunks/{validateNonInterActiveAuth-OBKFQ47Q.js → validateNonInterActiveAuth-76YN2FKV.js} +52 -52
  188. package/chunks/{version-2DUH4QZI.js → version-SGBHVOAU.js} +1 -1
  189. package/chunks/{web-fetch-YXTIPWXT.js → web-fetch-RKLVSDYG.js} +2 -2
  190. package/chunks/{web-search-ZHYL45UH.js → web-search-7OFCLM4E.js} +6 -6
  191. package/chunks/{workflow-F5YCX6YP.js → workflow-FLGREXLS.js} +11 -11
  192. package/chunks/{workspace-providers-status-AGXSHAGY.js → workspace-providers-status-Z5XTDXZO.js} +32 -32
  193. package/chunks/{workspace-registration-store-MAE4Y4YP.js → workspace-registration-store-I257THQX.js} +1 -1
  194. package/chunks/{workspace-registry-362PZ5RZ.js → workspace-registry-DTSUSPQJ.js} +23 -23
  195. package/chunks/{workspace-runtime-coordinator-GXBQSI5B.js → workspace-runtime-coordinator-7OPXPAWA.js} +24 -24
  196. package/chunks/{workspace-service-T45HJPJL.js → workspace-service-DNZFALOP.js} +30 -30
  197. package/chunks/{workspace-skills-status-LG73K6NN.js → workspace-skills-status-VH3GD2S3.js} +29 -29
  198. package/chunks/{workspace-trust-reconciler-IGBHQYSV.js → workspace-trust-reconciler-LCBJTVGU.js} +29 -29
  199. package/chunks/{write-file-7IEVU4WI.js → write-file-NZJANURY.js} +12 -12
  200. package/chunks/{zh-TW-ANUAZ2MM.js → zh-TW-S4AGRCDA.js} +11 -0
  201. package/chunks/{zh-HXMFL746.js → zh-ZJAHWOYM.js} +11 -0
  202. package/chunks/{zoom-image-AM5C5PKJ.js → zoom-image-3UVOSRAZ.js} +2 -2
  203. package/cli.js +12 -12
  204. package/execution-worker.js +1 -1
  205. package/export-transcript-document.js +1 -1
  206. package/locales/ca.js +13 -0
  207. package/locales/de.js +13 -0
  208. package/locales/en.js +12 -0
  209. package/locales/fr.js +13 -0
  210. package/locales/ja.js +12 -0
  211. package/locales/pt.js +12 -0
  212. package/locales/ru.js +12 -0
  213. package/locales/zh-TW.js +12 -0
  214. package/locales/zh.js +12 -0
  215. package/package.json +4 -3
  216. package/release-notes.json +54 -0
  217. package/web-shell/assets/{abnfDiagram-VCTEODGH-BYSuYNOM.js → abnfDiagram-VCTEODGH-DkmBSa44.js} +1 -1
  218. package/web-shell/assets/{arc-CqxbU-8d.js → arc-B6QJJ8tD.js} +1 -1
  219. package/web-shell/assets/{architectureDiagram-5GKGNRK7-Bsi23679.js → architectureDiagram-5GKGNRK7-Dfqoi9lk.js} +1 -1
  220. package/web-shell/assets/{blockDiagram-NRAW4CY4-DqWZTGBj.js → blockDiagram-NRAW4CY4-DclmlLhY.js} +1 -1
  221. package/web-shell/assets/{c4Diagram-UCG6FXSJ-DdPbWP_P.js → c4Diagram-UCG6FXSJ-0gbQb3pK.js} +1 -1
  222. package/web-shell/assets/channel-COSuEQ94.js +1 -0
  223. package/web-shell/assets/{chunk-2Q5K7J3B-BrVolku1.js → chunk-2Q5K7J3B-BAfaryX9.js} +1 -1
  224. package/web-shell/assets/{chunk-5VM5RSS4-CseS5V6j.js → chunk-5VM5RSS4-xSewF8tm.js} +1 -1
  225. package/web-shell/assets/{chunk-F27PBJKO-Ddt6css9.js → chunk-F27PBJKO-ChEgStih.js} +1 -1
  226. package/web-shell/assets/{chunk-G27WJ6UU-Cl5Im8Gd.js → chunk-G27WJ6UU-BAVY2RkO.js} +1 -1
  227. package/web-shell/assets/{chunk-JWPE2WC7-qCe2_8x_.js → chunk-JWPE2WC7-BXOwTSzw.js} +1 -1
  228. package/web-shell/assets/{chunk-LCL6LL3I-D8qsHRd9.js → chunk-LCL6LL3I-nw5Rmnmd.js} +1 -1
  229. package/web-shell/assets/{chunk-POPQ4Y6H-DexNlF9s.js → chunk-POPQ4Y6H-DIDQ5Zzu.js} +1 -1
  230. package/web-shell/assets/{chunk-SVP7TREG-CqvcITnM.js → chunk-SVP7TREG-CjdgAA3l.js} +1 -1
  231. package/web-shell/assets/{chunk-XXDRQBXY-CuzXVACN.js → chunk-XXDRQBXY-CKoYFCQo.js} +1 -1
  232. package/web-shell/assets/classDiagram-DTDB5LWJ-DUKWtFFX.js +1 -0
  233. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DUKWtFFX.js +1 -0
  234. package/web-shell/assets/{cose-bilkent-JH36ORCC-Czk7uOMh.js → cose-bilkent-JH36ORCC-OKMrJSR7.js} +1 -1
  235. package/web-shell/assets/{cynefin-OW5HDTMX-B7r08Z0S.js → cynefin-OW5HDTMX-BDE2ih0w.js} +1 -1
  236. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CCSAWnso.js → cynefinDiagram-5FMLGOSQ-DHgwp6ZM.js} +1 -1
  237. package/web-shell/assets/{dagre-3AP2YEHR-DgiKlAum.js → dagre-3AP2YEHR-mHCyf6A6.js} +1 -1
  238. package/web-shell/assets/{diagram-S7CK7UJ4-DllUhi3d.js → diagram-S7CK7UJ4-CHeZ9YMQ.js} +1 -1
  239. package/web-shell/assets/{diagram-UQ7AKVKN-DuGxbhK_.js → diagram-UQ7AKVKN-D3jwKiUo.js} +1 -1
  240. package/web-shell/assets/{diagram-VSXAHHWV-hPXM5dJk.js → diagram-VSXAHHWV-z9gvH87B.js} +1 -1
  241. package/web-shell/assets/{diagram-VX7I27RA-B2H3XnLx.js → diagram-VX7I27RA-DBdwXye9.js} +1 -1
  242. package/web-shell/assets/{diagram-Z3DM3KII-SAG5M5KU.js → diagram-Z3DM3KII-BZrQD3_5.js} +1 -1
  243. package/web-shell/assets/{ebnfDiagram-PWID7BFC-DlbE9pet.js → ebnfDiagram-PWID7BFC-CsdYNOhn.js} +1 -1
  244. package/web-shell/assets/{erDiagram-SSCWMZ5O-CB6IFznH.js → erDiagram-SSCWMZ5O-kLiDhj_x.js} +1 -1
  245. package/web-shell/assets/{flowDiagram-A5DVABFB-CV2pXpAL.js → flowDiagram-A5DVABFB-7E_nqNi9.js} +1 -1
  246. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BZT9aSLE.js → ganttDiagram-EL5Y4UJY-frx7zvbA.js} +1 -1
  247. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-suX9r6tW.js → gitGraphDiagram-WWUBYQGX-DkyMPkwJ.js} +1 -1
  248. package/web-shell/assets/{index-CNM5NLxv.js → index-EoFfssG4.js} +3 -3
  249. package/web-shell/assets/{index-BN9HQbfb.js → index-oMwDI29g.js} +1 -1
  250. package/web-shell/assets/{infoDiagram-RXCK75RN-C4QVLGg5.js → infoDiagram-RXCK75RN-XljVTrU8.js} +1 -1
  251. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CMkzL-nC.js → ishikawaDiagram-5VMMS53U-C9WCq-5V.js} +1 -1
  252. package/web-shell/assets/{journeyDiagram-EYS64GPL-ceqgcnIv.js → journeyDiagram-EYS64GPL-DXu9g9Sy.js} +1 -1
  253. package/web-shell/assets/{kanban-definition-3QL26DDD-BIE97dnB.js → kanban-definition-3QL26DDD-Doy--c8N.js} +1 -1
  254. package/web-shell/assets/{layout-wNPDq2t5.js → layout-CS7r1tO4.js} +1 -1
  255. package/web-shell/assets/{linear-B3EenJF-.js → linear-CzSHv-4-.js} +1 -1
  256. package/web-shell/assets/{mermaid.core-B5NoG1HX.js → mermaid.core-7BsQ3zED.js} +6 -6
  257. package/web-shell/assets/{mindmap-definition-FBJOCRG2-DHcwZNi5.js → mindmap-definition-FBJOCRG2-yHWxnbXN.js} +1 -1
  258. package/web-shell/assets/{pegDiagram-XKGWAZYB-Lbt9efZQ.js → pegDiagram-XKGWAZYB-DHUzJJRt.js} +1 -1
  259. package/web-shell/assets/{pieDiagram-E7YTZNPT-CE0xWAAF.js → pieDiagram-E7YTZNPT-CRjSY45J.js} +1 -1
  260. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DGA8A9fm.js → quadrantDiagram-AXDQQJYC-CUKQicAO.js} +1 -1
  261. package/web-shell/assets/{railroadDiagram-O6MQD6OU-KLcggan_.js → railroadDiagram-O6MQD6OU-CeIaRI86.js} +1 -1
  262. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-DJXQt3s5.js → requirementDiagram-EFPCY7ZU-CkdesAuv.js} +1 -1
  263. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-D9AtlOjN.js → sankeyDiagram-P5KCCOFB-DRv4I5Uy.js} +1 -1
  264. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-De2ZnYWT.js → sequenceDiagram-WJ2MYXX4-BUIm21Ol.js} +1 -1
  265. package/web-shell/assets/{sizeCapture-X5ZJPWSS-CdzEmTDz.js → sizeCapture-X5ZJPWSS-W69Ocb71.js} +1 -1
  266. package/web-shell/assets/{stateDiagram-HBIQ2CUA-CiLlMWE2.js → stateDiagram-HBIQ2CUA-DD0RyKZg.js} +1 -1
  267. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-C5kAp2c6.js +1 -0
  268. package/web-shell/assets/{swimlanes-XN3QIQJK-D3lRDLfM.js → swimlanes-XN3QIQJK-vsonhOlr.js} +1 -1
  269. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DP2NE03a.js +8 -0
  270. package/web-shell/assets/{timeline-definition-24CTP7MA-D2q-Ci6C.js → timeline-definition-24CTP7MA-DjdRx1i_.js} +1 -1
  271. package/web-shell/assets/{vennDiagram-4TSXK5OY-8y0o7Wxn.js → vennDiagram-4TSXK5OY-CPVhp0Hy.js} +1 -1
  272. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-BH5fD7JG.js → wardleyDiagram-VM6X3IG4-M6mqQteg.js} +1 -1
  273. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-C4UvTLdg.js → xychartDiagram-S5SC5T6Z-Cli-2870.js} +1 -1
  274. package/web-shell/index.html +1 -1
  275. package/web-shell/sw.js +1 -1
  276. package/web-shell/assets/channel-mcBaq_Y3.js +0 -1
  277. package/web-shell/assets/classDiagram-DTDB5LWJ-FZ16cVIs.js +0 -1
  278. package/web-shell/assets/classDiagram-v2-JRS7N3AN-FZ16cVIs.js +0 -1
  279. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DXRjaSJO.js +0 -1
  280. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DTQPSk_H.js +0 -8
@@ -5,7 +5,7 @@ import {
5
5
  enableMouseEvents,
6
6
  useKeypress,
7
7
  useKeypressContext
8
- } from "./chunk-C7GI242H.js";
8
+ } from "./chunk-WSWWZ7IT.js";
9
9
  import {
10
10
  INLINE_CODE_SPAN_PATTERN_SOURCE,
11
11
  calculateAverageLatency,
@@ -27,7 +27,7 @@ import {
27
27
  readInlineMathSpanAt,
28
28
  unescapeMarkdownBeforeMath,
29
29
  unescapeMarkdownDollars
30
- } from "./chunk-JFOECBR6.js";
30
+ } from "./chunk-OMKGBEIH.js";
31
31
  import {
32
32
  MINIMUM_MAX_HEIGHT,
33
33
  MaxSizedBox
@@ -51,12 +51,12 @@ import {
51
51
  isCollapsibleTool,
52
52
  isFindingsListDisplay,
53
53
  showsToolLabel
54
- } from "./chunk-7X2YJUKP.js";
54
+ } from "./chunk-VIYT2NE4.js";
55
55
  import {
56
56
  formatDuration,
57
57
  formatRelativeTime,
58
58
  formatTokenCount
59
- } from "./chunk-Y4YSSESQ.js";
59
+ } from "./chunk-R5WDYBMX.js";
60
60
  import {
61
61
  extendedTheme,
62
62
  theme
@@ -93,17 +93,18 @@ import {
93
93
  themeManager
94
94
  } from "./chunk-PLYNCSHX.js";
95
95
  import {
96
+ TOP_FRAME,
96
97
  glyphs
97
- } from "./chunk-BY6VCKSV.js";
98
+ } from "./chunk-WX53PW47.js";
98
99
  import {
99
100
  require_source
100
101
  } from "./chunk-XZ3MQL2U.js";
101
102
  import {
102
103
  relaunchApp
103
- } from "./chunk-QZEIQHWS.js";
104
+ } from "./chunk-T3SMR7ET.js";
104
105
  import {
105
106
  getErrorMessage
106
- } from "./chunk-SU7OFRCV.js";
107
+ } from "./chunk-IBKJ7UBC.js";
107
108
  import {
108
109
  cpLen,
109
110
  cpSlice,
@@ -122,23 +123,23 @@ import {
122
123
  } from "./chunk-F5IN4KK7.js";
123
124
  import {
124
125
  createLoadedSettingsAdapter
125
- } from "./chunk-5ZCXHWUH.js";
126
+ } from "./chunk-35HKXSBC.js";
126
127
  import {
127
128
  getPersistScopeForModelSelection
128
- } from "./chunk-K3HIXAXS.js";
129
+ } from "./chunk-2HHPWUTH.js";
129
130
  import {
130
131
  getCurrentLanguage,
131
132
  localizeToolDisplayName,
132
133
  t
133
- } from "./chunk-7P43YTEC.js";
134
+ } from "./chunk-3CMD4E67.js";
134
135
  import {
135
136
  isWorkspaceTrusted
136
- } from "./chunk-M5WOKPHW.js";
137
+ } from "./chunk-HWTDN2JB.js";
137
138
  import {
138
139
  sanitizeForOsc,
139
140
  supportsHyperlinks,
140
141
  wrapForMultiplexer
141
- } from "./chunk-GSUMVFRL.js";
142
+ } from "./chunk-7JU2ULBO.js";
142
143
  import {
143
144
  IdeClient,
144
145
  allowEditorTypeInSandbox,
@@ -148,7 +149,7 @@ import {
148
149
  ideContextStore,
149
150
  isEditorAvailable,
150
151
  isValidEditorType
151
- } from "./chunk-DSJFX5WX.js";
152
+ } from "./chunk-X62LTOGE.js";
152
153
  import {
153
154
  ShellExecutionService
154
155
  } from "./chunk-TKHMBUSK.js";
@@ -175,14 +176,14 @@ import {
175
176
  resolveMetadataKey,
176
177
  resolveOwnsModel,
177
178
  tryResolveModelProtocol
178
- } from "./chunk-ZGKVTZ5U.js";
179
+ } from "./chunk-RQOEQ73K.js";
179
180
  import {
180
181
  MAIN_SOURCE,
181
182
  formatVisionBridgeNoticeDisplay,
182
183
  getMCPServerStatus,
183
184
  isVisionBridgeNoticeDisplay,
184
185
  uiTelemetryService
185
- } from "./chunk-275467L7.js";
186
+ } from "./chunk-3WHURT5H.js";
186
187
  import {
187
188
  isTerminalImageDisplay
188
189
  } from "./chunk-JOFGX5ZA.js";
@@ -18196,8 +18197,86 @@ function getScreenBuffer(stdout) {
18196
18197
  }
18197
18198
  __name(getScreenBuffer, "getScreenBuffer");
18198
18199
 
18199
- // packages/cli/src/ui/components/HistoryItemDisplay.tsx
18200
+ // packages/cli/src/ui/components/messages/UpdateNotice.tsx
18201
+ init_esbuild_shims();
18200
18202
  var import_jsx_runtime53 = __toESM(require_jsx_runtime(), 1);
18203
+ var UpdateNotice = /* @__PURE__ */ __name(({
18204
+ status,
18205
+ version,
18206
+ fromVersion,
18207
+ text,
18208
+ highlights = [],
18209
+ moreCount = 0,
18210
+ notesUrl
18211
+ }) => {
18212
+ const frameColor = status === "failed" ? theme.status.error : extendedTheme.ui.brand;
18213
+ const title = status === "whats_new" ? t("What's new in {{version}}", { version: version ?? "" }) : t("Update");
18214
+ const frame = TOP_FRAME[glyphs().borderStyle];
18215
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { flexDirection: "column", marginTop: 1, children: [
18216
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { children: [
18217
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: `${frame.topLeft}${frame.top} ` }),
18218
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.primary, bold: true, children: title }),
18219
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: " " }),
18220
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18221
+ Box_default,
18222
+ {
18223
+ flexGrow: 1,
18224
+ flexShrink: 1,
18225
+ flexBasis: 0,
18226
+ height: 1,
18227
+ overflow: "hidden",
18228
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: frame.top.repeat(400) })
18229
+ }
18230
+ ),
18231
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: frame.topRight })
18232
+ ] }),
18233
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18234
+ Box_default,
18235
+ {
18236
+ borderStyle: glyphs().borderStyle,
18237
+ borderTop: false,
18238
+ borderColor: frameColor,
18239
+ flexDirection: "column",
18240
+ paddingX: 1,
18241
+ children: status === "whats_new" ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
18242
+ fromVersion && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.text.muted, children: t("Updated from {{from}} to {{to}}", {
18243
+ from: fromVersion,
18244
+ to: version ?? ""
18245
+ }) }),
18246
+ highlights.map((line, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { children: [
18247
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Box_default, { width: 2, flexShrink: 0, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.ui.brand, children: glyphs().dot }) }),
18248
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.primary, wrap: "wrap", children: line })
18249
+ ] }, index)),
18250
+ (moreCount > 0 || notesUrl) && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Text, { color: extendedTheme.text.muted, wrap: "wrap", children: [
18251
+ moreCount > 0 ? `${t("and {{count}} more", { count: String(moreCount) })}${notesUrl ? " \xB7 " : ""}` : "",
18252
+ notesUrl && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
18253
+ `${t("full notes")}: `,
18254
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.link, children: notesUrl })
18255
+ ] })
18256
+ ] })
18257
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
18258
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Text, { wrap: "wrap", children: [
18259
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18260
+ Text,
18261
+ {
18262
+ color: status === "installed" ? theme.status.success : status === "failed" ? theme.status.error : extendedTheme.ui.brandSoft,
18263
+ children: status === "installed" ? glyphs().done : status === "failed" ? "\u2715" : "\u21BB"
18264
+ }
18265
+ ),
18266
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.primary, bold: true, children: ` ${status === "installed" ? version ? t("O1-Code {{version}} installed", { version }) : t("O1-Code was updated") : status === "failed" ? version ? t("The update to {{version}} failed", { version }) : t("The update failed") : t("O1-Code {{version}} is available", {
18267
+ version: version ?? ""
18268
+ })}` })
18269
+ ] }),
18270
+ status === "installed" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.text.muted, children: t("It takes effect the next time you open O1-Code.") }),
18271
+ text && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.text.muted, wrap: "wrap", children: text })
18272
+ ] })
18273
+ }
18274
+ )
18275
+ ] });
18276
+ }, "UpdateNotice");
18277
+
18278
+ // packages/cli/src/ui/components/HistoryItemDisplay.tsx
18279
+ var import_jsx_runtime54 = __toESM(require_jsx_runtime(), 1);
18201
18280
  var ClickableThinkMessage = /* @__PURE__ */ __name(({
18202
18281
  text,
18203
18282
  isPending,
@@ -18255,7 +18334,7 @@ var ClickableThinkMessage = /* @__PURE__ */ __name(({
18255
18334
  ),
18256
18335
  { isActive }
18257
18336
  );
18258
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Box_default, { ref: isActive ? ref : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18337
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { ref: isActive ? ref : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18259
18338
  ThinkMessage,
18260
18339
  {
18261
18340
  text,
@@ -18328,8 +18407,8 @@ var CollapsibleToolGroupMessage = /* @__PURE__ */ __name(({ expansionKey, ...pro
18328
18407
  ),
18329
18408
  { isActive: collapsed && clickable }
18330
18409
  );
18331
- if (!collapsed) return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ToolGroupMessage, { ...props });
18332
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18410
+ if (!collapsed) return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ToolGroupMessage, { ...props });
18411
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18333
18412
  ToolGroupMessage,
18334
18413
  {
18335
18414
  ...props,
@@ -18404,7 +18483,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18404
18483
  const itemForDisplay = (0, import_react48.useMemo)(() => escapeAnsiCtrlCodes(item), [item]);
18405
18484
  const contentWidth = terminalWidth - 4;
18406
18485
  const boxWidth = mainAreaWidth || contentWidth;
18407
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
18486
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
18408
18487
  Box_default,
18409
18488
  {
18410
18489
  flexDirection: "column",
@@ -18412,17 +18491,17 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18412
18491
  marginLeft: 2,
18413
18492
  marginRight: 2,
18414
18493
  children: [
18415
- itemForDisplay.type === "user" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18494
+ itemForDisplay.type === "user" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18416
18495
  UserMessage,
18417
18496
  {
18418
18497
  text: itemForDisplay.text,
18419
18498
  marker: turnMarker ?? (itemForDisplay.turnOutcome === "done" ? "done" : void 0)
18420
18499
  }
18421
18500
  ),
18422
- itemForDisplay.type === "notification" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(InfoMessage, { text: itemForDisplay.text }),
18423
- itemForDisplay.type === "user_shell" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(UserShellMessage, { text: itemForDisplay.text }),
18424
- itemForDisplay.type === "gemini" && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
18425
- showTimestamps && itemForDisplay.timestamp != null && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Text, { dimColor: true, children: [
18501
+ itemForDisplay.type === "notification" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(InfoMessage, { text: itemForDisplay.text }),
18502
+ itemForDisplay.type === "user_shell" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(UserShellMessage, { text: itemForDisplay.text }),
18503
+ itemForDisplay.type === "gemini" && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
18504
+ showTimestamps && itemForDisplay.timestamp != null && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Text, { dimColor: true, children: [
18426
18505
  "[",
18427
18506
  new Date(itemForDisplay.timestamp).toLocaleTimeString("en-US", {
18428
18507
  hour12: false,
@@ -18432,7 +18511,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18432
18511
  }),
18433
18512
  "]"
18434
18513
  ] }),
18435
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18514
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18436
18515
  AssistantMessage,
18437
18516
  {
18438
18517
  text: itemForDisplay.text,
@@ -18445,7 +18524,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18445
18524
  }
18446
18525
  )
18447
18526
  ] }),
18448
- itemForDisplay.type === "gemini_content" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18527
+ itemForDisplay.type === "gemini_content" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18449
18528
  AssistantMessageContent,
18450
18529
  {
18451
18530
  text: itemForDisplay.text,
@@ -18457,7 +18536,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18457
18536
  sourceCopyIndexOffsets
18458
18537
  }
18459
18538
  ),
18460
- itemForDisplay.type === "gemini_thought" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18539
+ itemForDisplay.type === "gemini_thought" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18461
18540
  ClickableThinkMessage,
18462
18541
  {
18463
18542
  text: itemForDisplay.text.trimEnd(),
@@ -18469,7 +18548,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18469
18548
  onToggle: () => toggleThought(thoughtGroupHeadId)
18470
18549
  }
18471
18550
  ),
18472
- itemForDisplay.type === "gemini_thought_content" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18551
+ itemForDisplay.type === "gemini_thought_content" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18473
18552
  ThinkMessageContent,
18474
18553
  {
18475
18554
  text: itemForDisplay.text.trimEnd(),
@@ -18479,7 +18558,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18479
18558
  contentWidth
18480
18559
  }
18481
18560
  ),
18482
- itemForDisplay.type === "info" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18561
+ itemForDisplay.type === "info" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18483
18562
  InfoMessage,
18484
18563
  {
18485
18564
  text: itemForDisplay.text,
@@ -18487,26 +18566,27 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18487
18566
  linkText: itemForDisplay.linkText
18488
18567
  }
18489
18568
  ),
18490
- itemForDisplay.type === "success" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SuccessMessage, { text: itemForDisplay.text }),
18491
- itemForDisplay.type === "warning" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(WarningMessage, { text: itemForDisplay.text }),
18492
- itemForDisplay.type === "error" && !itemForDisplay.retryPending && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ErrorMessage, { text: itemForDisplay.text, hint: itemForDisplay.hint }),
18493
- itemForDisplay.type === "retry_countdown" && (itemForDisplay.retry ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ProviderRetryBox, { retry: itemForDisplay.retry }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(RetryCountdownMessage, { text: itemForDisplay.text })),
18494
- itemForDisplay.type === "vision_notice" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(VisionNoticeMessage, { text: itemForDisplay.text }),
18495
- itemForDisplay.type === "about" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(AboutBox, { ...itemForDisplay.systemInfo, width: boxWidth }),
18496
- itemForDisplay.type === "help" && commands && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Help, { commands, width: boxWidth }),
18497
- itemForDisplay.type === "stats" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(StatsDisplay, { duration: itemForDisplay.duration, width: boxWidth }),
18498
- itemForDisplay.type === "diff_stats" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DiffStatsDisplay, { model: itemForDisplay.model }),
18499
- itemForDisplay.type === "model_stats" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ModelStatsDisplay, { width: boxWidth }),
18500
- itemForDisplay.type === "tool_stats" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ToolStatsDisplay, { width: boxWidth }),
18501
- itemForDisplay.type === "skill_stats" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkillStatsDisplay, { width: boxWidth }),
18502
- itemForDisplay.type === "quit" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18569
+ itemForDisplay.type === "success" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SuccessMessage, { text: itemForDisplay.text }),
18570
+ itemForDisplay.type === "update_notice" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(UpdateNotice, { ...itemForDisplay }),
18571
+ itemForDisplay.type === "warning" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(WarningMessage, { text: itemForDisplay.text }),
18572
+ itemForDisplay.type === "error" && !itemForDisplay.retryPending && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ErrorMessage, { text: itemForDisplay.text, hint: itemForDisplay.hint }),
18573
+ itemForDisplay.type === "retry_countdown" && (itemForDisplay.retry ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ProviderRetryBox, { retry: itemForDisplay.retry }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(RetryCountdownMessage, { text: itemForDisplay.text })),
18574
+ itemForDisplay.type === "vision_notice" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(VisionNoticeMessage, { text: itemForDisplay.text }),
18575
+ itemForDisplay.type === "about" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AboutBox, { ...itemForDisplay.systemInfo, width: boxWidth }),
18576
+ itemForDisplay.type === "help" && commands && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Help, { commands, width: boxWidth }),
18577
+ itemForDisplay.type === "stats" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(StatsDisplay, { duration: itemForDisplay.duration, width: boxWidth }),
18578
+ itemForDisplay.type === "diff_stats" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DiffStatsDisplay, { model: itemForDisplay.model }),
18579
+ itemForDisplay.type === "model_stats" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ModelStatsDisplay, { width: boxWidth }),
18580
+ itemForDisplay.type === "tool_stats" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ToolStatsDisplay, { width: boxWidth }),
18581
+ itemForDisplay.type === "skill_stats" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SkillStatsDisplay, { width: boxWidth }),
18582
+ itemForDisplay.type === "quit" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18503
18583
  SessionSummaryDisplay,
18504
18584
  {
18505
18585
  duration: itemForDisplay.duration,
18506
18586
  width: boxWidth
18507
18587
  }
18508
18588
  ),
18509
- itemForDisplay.type === "tool_group" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18589
+ itemForDisplay.type === "tool_group" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18510
18590
  CollapsibleToolGroupMessage,
18511
18591
  {
18512
18592
  toolCalls: itemForDisplay.tools,
@@ -18524,14 +18604,14 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18524
18604
  expansionKey: itemForDisplay.batchId
18525
18605
  }
18526
18606
  ),
18527
- itemForDisplay.type === "tool_use_summary" && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { flexDirection: "row", children: [
18528
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Box_default, { width: 2, flexShrink: 0, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { dimColor: true, children: ICON.CIRCLE_FILLED }) }),
18529
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { dimColor: true, children: itemForDisplay.summary })
18607
+ itemForDisplay.type === "tool_use_summary" && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Box_default, { flexDirection: "row", children: [
18608
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { width: 2, flexShrink: 0, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { dimColor: true, children: ICON.CIRCLE_FILLED }) }),
18609
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { dimColor: true, children: itemForDisplay.summary })
18530
18610
  ] }),
18531
- itemForDisplay.type === "compression" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CompressionMessage, { compression: itemForDisplay.compression }),
18532
- itemForDisplay.type === "summary" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SummaryMessage, { summary: itemForDisplay.summary }),
18533
- itemForDisplay.type === "extensions_list" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ExtensionsList, {}),
18534
- itemForDisplay.type === "tools_list" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18611
+ itemForDisplay.type === "compression" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CompressionMessage, { compression: itemForDisplay.compression }),
18612
+ itemForDisplay.type === "summary" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SummaryMessage, { summary: itemForDisplay.summary }),
18613
+ itemForDisplay.type === "extensions_list" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ExtensionsList, {}),
18614
+ itemForDisplay.type === "tools_list" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18535
18615
  ToolsList,
18536
18616
  {
18537
18617
  contentWidth,
@@ -18539,9 +18619,9 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18539
18619
  showDescriptions: itemForDisplay.showDescriptions
18540
18620
  }
18541
18621
  ),
18542
- itemForDisplay.type === "skills_list" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkillsList, { skills: itemForDisplay.skills }),
18543
- itemForDisplay.type === "mcp_status" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(McpStatus, { ...itemForDisplay, serverStatus: getMCPServerStatus }),
18544
- itemForDisplay.type === "context_usage" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18622
+ itemForDisplay.type === "skills_list" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SkillsList, { skills: itemForDisplay.skills }),
18623
+ itemForDisplay.type === "mcp_status" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(McpStatus, { ...itemForDisplay, serverStatus: getMCPServerStatus }),
18624
+ itemForDisplay.type === "context_usage" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18545
18625
  ContextUsage,
18546
18626
  {
18547
18627
  modelName: itemForDisplay.modelName,
@@ -18556,7 +18636,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18556
18636
  showDetails: itemForDisplay.showDetails
18557
18637
  }
18558
18638
  ),
18559
- itemForDisplay.type === "doctor" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18639
+ itemForDisplay.type === "doctor" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18560
18640
  DoctorReport,
18561
18641
  {
18562
18642
  checks: itemForDisplay.checks,
@@ -18564,8 +18644,8 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18564
18644
  width: boxWidth
18565
18645
  }
18566
18646
  ),
18567
- itemForDisplay.type === "arena_agent_complete" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ArenaAgentCard, { agent: itemForDisplay.agent, width: boxWidth }),
18568
- itemForDisplay.type === "arena_session_complete" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18647
+ itemForDisplay.type === "arena_agent_complete" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ArenaAgentCard, { agent: itemForDisplay.agent, width: boxWidth }),
18648
+ itemForDisplay.type === "arena_session_complete" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18569
18649
  ArenaSessionCard,
18570
18650
  {
18571
18651
  sessionStatus: itemForDisplay.sessionStatus,
@@ -18575,9 +18655,9 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18575
18655
  width: boxWidth
18576
18656
  }
18577
18657
  ),
18578
- itemForDisplay.type === "insight_progress" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(InsightProgressMessage, { progress: itemForDisplay.progress }),
18579
- itemForDisplay.type === "btw" && itemForDisplay.btw && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(BtwMessage, { btw: itemForDisplay.btw, containerWidth: contentWidth }),
18580
- itemForDisplay.type === "advisor" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18658
+ itemForDisplay.type === "insight_progress" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(InsightProgressMessage, { progress: itemForDisplay.progress }),
18659
+ itemForDisplay.type === "btw" && itemForDisplay.btw && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BtwMessage, { btw: itemForDisplay.btw, containerWidth: contentWidth }),
18660
+ itemForDisplay.type === "advisor" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18581
18661
  AdvisorMessage,
18582
18662
  {
18583
18663
  text: itemForDisplay.text,
@@ -18585,20 +18665,20 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
18585
18665
  containerWidth: contentWidth
18586
18666
  }
18587
18667
  ),
18588
- itemForDisplay.type === "user_prompt_submit_blocked" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.status.warning, children: `\u2715 UserPromptSubmit operation blocked by hook:
18668
+ itemForDisplay.type === "user_prompt_submit_blocked" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.status.warning, children: `\u2715 UserPromptSubmit operation blocked by hook:
18589
18669
  ${itemForDisplay.reason}
18590
18670
 
18591
18671
  Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
18592
- itemForDisplay.type === "stop_hook_loop" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18672
+ itemForDisplay.type === "stop_hook_loop" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18593
18673
  InfoMessage,
18594
18674
  {
18595
18675
  text: `Ran ${itemForDisplay.stopHookCount} stop hooks
18596
18676
  \u23BF Stop hook error: ${itemForDisplay.reasons[itemForDisplay.reasons.length - 1]}`
18597
18677
  }
18598
18678
  ),
18599
- itemForDisplay.type === "stop_hook_system_message" && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { flexDirection: "column", children: [
18600
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.primary, children: " \u23BF Stop says:" }),
18601
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Box_default, { marginLeft: 4, flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18679
+ itemForDisplay.type === "stop_hook_system_message" && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Box_default, { flexDirection: "column", children: [
18680
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.text.primary, children: " \u23BF Stop says:" }),
18681
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { marginLeft: 4, flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18602
18682
  MarkdownDisplay,
18603
18683
  {
18604
18684
  text: itemForDisplay.message,
@@ -18607,9 +18687,9 @@ Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
18607
18687
  }
18608
18688
  ) })
18609
18689
  ] }),
18610
- itemForDisplay.type === "memory_saved" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(MemorySavedMessage, { item: itemForDisplay }),
18611
- itemForDisplay.type === "away_recap" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(AwayRecapMessage, { text: itemForDisplay.text }),
18612
- itemForDisplay.type === "goal_status" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18690
+ itemForDisplay.type === "memory_saved" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(MemorySavedMessage, { item: itemForDisplay }),
18691
+ itemForDisplay.type === "away_recap" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AwayRecapMessage, { text: itemForDisplay.text }),
18692
+ itemForDisplay.type === "goal_status" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18613
18693
  GoalStatusMessage,
18614
18694
  {
18615
18695
  kind: itemForDisplay.kind,
@@ -18619,7 +18699,7 @@ Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
18619
18699
  lastReason: itemForDisplay.lastReason
18620
18700
  }
18621
18701
  ),
18622
- itemForDisplay.type === "goal_state" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
18702
+ itemForDisplay.type === "goal_state" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18623
18703
  GoalStatusMessage,
18624
18704
  {
18625
18705
  snapshot: itemForDisplay.snapshot,
@@ -18635,7 +18715,7 @@ var HistoryItemDisplay = (0, import_react48.memo)(HistoryItemDisplayComponent);
18635
18715
  HistoryItemDisplay.displayName = "HistoryItemDisplay";
18636
18716
 
18637
18717
  // packages/cli/src/ui/components/SessionPreview.tsx
18638
- var import_jsx_runtime54 = __toESM(require_jsx_runtime(), 1);
18718
+ var import_jsx_runtime55 = __toESM(require_jsx_runtime(), 1);
18639
18719
  function SessionPreview(props) {
18640
18720
  const {
18641
18721
  sessionService,
@@ -18710,19 +18790,19 @@ function SessionPreview(props) {
18710
18790
  metaParts.push(gitBranch);
18711
18791
  }
18712
18792
  const metaLine = metaParts.join(" \xB7 ");
18713
- const header = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { bold: true, color: theme.text.primary, children: sessionTitle ?? t("Session Preview") }) }, "header");
18714
- const topSeparator = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(separatorWidth) }) }, "top-separator");
18715
- const footerSeparator = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(separatorWidth) }) }, "footer-separator");
18716
- const meta = metaLine ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.text.secondary, children: metaLine }) }, "meta") : null;
18717
- const footer = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.text.secondary, children: t("Enter to resume \xB7 Esc to back") }) }, "footer");
18793
+ const header = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { bold: true, color: theme.text.primary, children: sessionTitle ?? t("Session Preview") }) }, "header");
18794
+ const topSeparator = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(separatorWidth) }) }, "top-separator");
18795
+ const footerSeparator = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(separatorWidth) }) }, "footer-separator");
18796
+ const meta = metaLine ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: metaLine }) }, "meta") : null;
18797
+ const footer = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Enter to resume \xB7 Esc to back") }) }, "footer");
18718
18798
  if (data && !error) {
18719
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { flexDirection: "column", width: boxWidth, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18799
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { flexDirection: "column", width: boxWidth, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
18720
18800
  Static,
18721
18801
  {
18722
18802
  items: [
18723
18803
  header,
18724
18804
  topSeparator,
18725
- ...items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
18805
+ ...items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
18726
18806
  HistoryItemDisplay,
18727
18807
  {
18728
18808
  item,
@@ -18741,10 +18821,10 @@ function SessionPreview(props) {
18741
18821
  sessionId
18742
18822
  ) });
18743
18823
  }
18744
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Box_default, { flexDirection: "column", width: boxWidth, children: [
18824
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Box_default, { flexDirection: "column", width: boxWidth, children: [
18745
18825
  header,
18746
18826
  topSeparator,
18747
- error ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.status.error, children: error }) }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.text.secondary, children: t("Loading session preview...") }) }),
18827
+ error ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.status.error, children: error }) }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Loading session preview...") }) }),
18748
18828
  footerSeparator,
18749
18829
  meta,
18750
18830
  footer
@@ -18753,7 +18833,7 @@ function SessionPreview(props) {
18753
18833
  __name(SessionPreview, "SessionPreview");
18754
18834
 
18755
18835
  // packages/cli/src/ui/components/SessionPicker.tsx
18756
- var import_jsx_runtime55 = __toESM(require_jsx_runtime(), 1);
18836
+ var import_jsx_runtime56 = __toESM(require_jsx_runtime(), 1);
18757
18837
  var PREFIX_CHARS = {
18758
18838
  selected: "\u203A ",
18759
18839
  scrollUp: "\u2191 ",
@@ -18786,9 +18866,9 @@ function SessionListItemView({
18786
18866
  Math.max(1, maxPromptWidth - checkboxWidth)
18787
18867
  );
18788
18868
  const isAutoTitle = session.titleSource === "auto" && Boolean(session.customTitle);
18789
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Box_default, { flexDirection: "column", marginBottom: isLast ? 0 : 1, children: [
18790
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Box_default, { children: [
18791
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
18869
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Box_default, { flexDirection: "column", marginBottom: isLast ? 0 : 1, children: [
18870
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Box_default, { children: [
18871
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
18792
18872
  Text,
18793
18873
  {
18794
18874
  color: isSelected ? theme.text.accent : showUpIndicator || showDownIndicator ? theme.text.secondary : void 0,
@@ -18796,7 +18876,7 @@ function SessionListItemView({
18796
18876
  children: prefix
18797
18877
  }
18798
18878
  ),
18799
- isChecked !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
18879
+ isChecked !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
18800
18880
  Text,
18801
18881
  {
18802
18882
  color: isDisabled ? theme.text.secondary : isChecked ? theme.text.accent : isSelected ? theme.text.accent : theme.text.secondary,
@@ -18804,7 +18884,7 @@ function SessionListItemView({
18804
18884
  children: isChecked ? "[x] " : "[ ] "
18805
18885
  }
18806
18886
  ),
18807
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
18887
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
18808
18888
  Text,
18809
18889
  {
18810
18890
  color: isDisabled ? theme.text.secondary : isSelected ? theme.text.accent : isAutoTitle ? theme.text.secondary : theme.text.primary,
@@ -18813,7 +18893,7 @@ function SessionListItemView({
18813
18893
  }
18814
18894
  )
18815
18895
  ] }),
18816
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Text, { color: theme.text.secondary, children: [
18896
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { paddingLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
18817
18897
  timeAgo,
18818
18898
  messageText !== void 0 && ` \xB7 ${messageText}`,
18819
18899
  session.gitBranch && ` \xB7 ${session.gitBranch}`,
@@ -18862,7 +18942,7 @@ function SessionPicker(props) {
18862
18942
  const previewed = picker.filteredSessions.find(
18863
18943
  (s) => s.sessionId === picker.previewSessionId
18864
18944
  );
18865
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
18945
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
18866
18946
  SessionPreview,
18867
18947
  {
18868
18948
  sessionService,
@@ -18876,14 +18956,14 @@ function SessionPicker(props) {
18876
18956
  }
18877
18957
  );
18878
18958
  }
18879
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
18959
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
18880
18960
  Box_default,
18881
18961
  {
18882
18962
  flexDirection: "column",
18883
18963
  width: boxWidth,
18884
18964
  height: height - 1,
18885
18965
  overflow: "hidden",
18886
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
18966
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
18887
18967
  Box_default,
18888
18968
  {
18889
18969
  flexDirection: "column",
@@ -18893,38 +18973,38 @@ function SessionPicker(props) {
18893
18973
  height: height - 1,
18894
18974
  overflow: "hidden",
18895
18975
  children: [
18896
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Box_default, { paddingX: 1, children: [
18897
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { bold: true, color: theme.text.primary, children: title ?? t("Resume Session") }),
18898
- picker.filterByBranch && currentBranch && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Text, { color: theme.text.secondary, children: [
18976
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Box_default, { paddingX: 1, children: [
18977
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { bold: true, color: theme.text.primary, children: title ?? t("Resume Session") }),
18978
+ picker.filterByBranch && currentBranch && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
18899
18979
  " ",
18900
18980
  t("(branch: {{branch}})", { branch: currentBranch })
18901
18981
  ] }),
18902
- picker.searchQuery !== "" && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Text, { color: theme.text.secondary, children: [
18982
+ picker.searchQuery !== "" && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
18903
18983
  " ",
18904
18984
  t("({{count}} matches)", {
18905
18985
  count: String(picker.filteredSessions.length)
18906
18986
  })
18907
18987
  ] })
18908
18988
  ] }),
18909
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingX: 1, children: picker.isSearchActive ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
18910
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Search: ") }),
18911
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Text, { color: theme.text.primary, children: [
18989
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { paddingX: 1, children: picker.isSearchActive ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
18990
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Search: ") }),
18991
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.primary, children: [
18912
18992
  picker.searchQuery,
18913
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: "\u258C" })
18993
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: "\u258C" })
18914
18994
  ] })
18915
- ] }) : picker.searchQuery !== "" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
18916
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Filter: ") }),
18917
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.primary, children: picker.searchQuery })
18918
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Press / to search") }) }),
18919
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(boxWidth - 2) }) }),
18920
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { flexDirection: "column", flexGrow: 1, paddingX: 1, overflow: "hidden", children: !sessionService || picker.isLoading ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Loading sessions...") }) }) : picker.filteredSessions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: picker.searchQuery !== "" ? t('No sessions match "{{query}}"', {
18995
+ ] }) : picker.searchQuery !== "" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
18996
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Filter: ") }),
18997
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.primary, children: picker.searchQuery })
18998
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Press / to search") }) }),
18999
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(boxWidth - 2) }) }),
19000
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { flexDirection: "column", flexGrow: 1, paddingX: 1, overflow: "hidden", children: !sessionService || picker.isLoading ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Loading sessions...") }) }) : picker.filteredSessions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: picker.searchQuery !== "" ? t('No sessions match "{{query}}"', {
18921
19001
  query: picker.searchQuery
18922
19002
  }) : picker.filterByBranch ? t('No sessions found for branch "{{branch}}"', {
18923
19003
  branch: currentBranch ?? ""
18924
19004
  }) : t("No sessions found") }) }) : picker.visibleSessions.map((session, visibleIndex) => {
18925
19005
  const actualIndex = picker.scrollOffset + visibleIndex;
18926
19006
  const isDisabled = picker.disabledIdSet.has(session.sessionId);
18927
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
19007
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
18928
19008
  SessionListItemView,
18929
19009
  {
18930
19010
  session,
@@ -18943,10 +19023,10 @@ function SessionPicker(props) {
18943
19023
  session.sessionId
18944
19024
  );
18945
19025
  }) }),
18946
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(boxWidth - 2) }) }),
18947
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { flexDirection: "row", children: picker.isSearchActive ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Type to search \xB7 Enter to commit \xB7 Esc to clear") }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
18948
- currentBranch && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Text, { color: theme.text.secondary, children: [
18949
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
19026
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(boxWidth - 2) }) }),
19027
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { flexDirection: "row", children: picker.isSearchActive ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Type to search \xB7 Enter to commit \xB7 Esc to clear") }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
19028
+ currentBranch && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
19029
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
18950
19030
  Text,
18951
19031
  {
18952
19032
  bold: picker.filterByBranch,
@@ -18956,7 +19036,7 @@ function SessionPicker(props) {
18956
19036
  ),
18957
19037
  t(" to toggle branch \xB7 ")
18958
19038
  ] }),
18959
- enablePreview && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Space to preview \xB7 ") }),
19039
+ enablePreview && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Space to preview \xB7 ") }),
18960
19040
  enableMultiSelect && (() => {
18961
19041
  let committableCheckedCount = 0;
18962
19042
  for (const id of picker.checkedIds) {
@@ -18964,11 +19044,11 @@ function SessionPicker(props) {
18964
19044
  committableCheckedCount++;
18965
19045
  }
18966
19046
  }
18967
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: committableCheckedCount > 0 ? t("Space to toggle \xB7 {{count}} selected \xB7 ", {
19047
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: committableCheckedCount > 0 ? t("Space to toggle \xB7 {{count}} selected \xB7 ", {
18968
19048
  count: String(committableCheckedCount)
18969
19049
  }) : t("Space to select multiple \xB7 ") });
18970
19050
  })(),
18971
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("\u2191\u2193 to navigate \xB7 Type to search \xB7 Esc to cancel") })
19051
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("\u2191\u2193 to navigate \xB7 Type to search \xB7 Esc to cancel") })
18972
19052
  ] }) }) })
18973
19053
  ]
18974
19054
  }