@organizaone/o1-code 0.21.1 → 0.21.4

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 (264) hide show
  1. package/chunks/{MaxSizedBox-ICHZQXOC.js → MaxSizedBox-2YBGD4ZD.js} +17 -17
  2. package/chunks/{StandaloneSessionPicker-NUNGDLEK.js → StandaloneSessionPicker-YOMNCBE3.js} +33 -33
  3. package/chunks/{acp-subagent-executor-2QB2XKHF.js → acp-subagent-executor-LLSR7CRI.js} +19 -19
  4. package/chunks/{acpAgent-7HJVGVK7.js → acpAgent-SLUPOKHJ.js} +59 -59
  5. package/chunks/{agent-NRULZSLB.js → agent-JJHYH5TH.js} +9 -9
  6. package/chunks/{agent-headless-5KFFNZAU.js → agent-headless-N52OYMES.js} +9 -9
  7. package/chunks/{all-providers-PBLJP7ZP.js → all-providers-P5ORFVQ5.js} +2 -2
  8. package/chunks/{anthropicContentGenerator-S5N2I7GF.js → anthropicContentGenerator-FX67SIAB.js} +5 -5
  9. package/chunks/{bridge-QIZ7R2BN.js → bridge-5DWZP5EB.js} +19 -19
  10. package/chunks/{chunk-7CGD5SXJ.js → chunk-2AXFOSAI.js} +7 -7
  11. package/chunks/{chunk-BJVBQEFV.js → chunk-2VZCQXZO.js} +2 -2
  12. package/chunks/{chunk-P2QG25IN.js → chunk-37LZXMYZ.js} +1 -1
  13. package/chunks/{chunk-ZCFFGFMQ.js → chunk-3ZQ3CLSE.js} +2 -2
  14. package/chunks/{chunk-EQQRWB52.js → chunk-3ZZFG22J.js} +5 -5
  15. package/chunks/{chunk-AVKRSELA.js → chunk-4TOOWZCQ.js} +1 -1
  16. package/chunks/{chunk-63JTYQRD.js → chunk-5HSP4VYL.js} +2 -2
  17. package/chunks/{chunk-JDEVIYN7.js → chunk-5VQV4T3X.js} +4 -4
  18. package/chunks/{chunk-6NJGVFEF.js → chunk-6JIEIWVD.js} +1 -1
  19. package/chunks/{chunk-MW7MEKI4.js → chunk-6LNKO4PL.js} +4 -4
  20. package/chunks/{chunk-2EFFEOP5.js → chunk-6VF7EU56.js} +20 -12
  21. package/chunks/{chunk-RV5JQNMP.js → chunk-6XTMAF2C.js} +1 -1
  22. package/chunks/{chunk-YSLT46MG.js → chunk-7CKFNH5A.js} +2 -2
  23. package/chunks/{chunk-S445OAV2.js → chunk-7DTNTPLG.js} +2 -2
  24. package/chunks/{chunk-Q4OQQMBM.js → chunk-7ELVREDJ.js} +1 -1
  25. package/chunks/{chunk-YGZY5CAA.js → chunk-7F4VEMNH.js} +2 -2
  26. package/chunks/{chunk-N4TE7U5S.js → chunk-7NUQOGKE.js} +1 -1
  27. package/chunks/{chunk-KAKO4FTG.js → chunk-7SKJXDST.js} +225 -159
  28. package/chunks/{chunk-BPJSYUTS.js → chunk-7V7BKYW7.js} +1 -1
  29. package/chunks/{chunk-JTFJDKOH.js → chunk-A2YXZRIN.js} +2 -2
  30. package/chunks/{chunk-CQZV6HQY.js → chunk-AKJT7ZK6.js} +8 -8
  31. package/chunks/{chunk-VKDFX366.js → chunk-AQ2BO2QK.js} +1 -1
  32. package/chunks/{chunk-OMVVKQSW.js → chunk-ASGLOUCL.js} +2 -2
  33. package/chunks/{chunk-M433S7FB.js → chunk-BFTETNGQ.js} +2 -2
  34. package/chunks/{chunk-Z26JZJS7.js → chunk-DFRNDDIA.js} +2 -2
  35. package/chunks/{chunk-4NYLN5W2.js → chunk-DNKTZMVC.js} +1 -1
  36. package/chunks/{chunk-TW6YBXRS.js → chunk-E3SKGQ4O.js} +1 -1
  37. package/chunks/{chunk-LY7DCKUQ.js → chunk-EJ4ADZJZ.js} +2 -2
  38. package/chunks/{chunk-CKZ4CWXJ.js → chunk-H2NQ4HDZ.js} +2 -2
  39. package/chunks/{chunk-7T5XLH7W.js → chunk-H43MTBVR.js} +2 -2
  40. package/chunks/{chunk-UMBH4KSJ.js → chunk-H4PJM2NT.js} +3 -3
  41. package/chunks/{chunk-NLC655HE.js → chunk-H6FD63Z3.js} +2 -2
  42. package/chunks/{chunk-VDSY3ODQ.js → chunk-HIMOZPLA.js} +1 -1
  43. package/chunks/{chunk-UGGPKFNW.js → chunk-IVKMXJ52.js} +7 -7
  44. package/chunks/{chunk-H7FQO2AI.js → chunk-JDJO3GWS.js} +719 -668
  45. package/chunks/{chunk-3VKECQVW.js → chunk-JHEUA26I.js} +1 -1
  46. package/chunks/{chunk-RRR7ZLSX.js → chunk-JJSQTQI2.js} +3 -3
  47. package/chunks/{chunk-K2G3JOA2.js → chunk-JZOMY5XZ.js} +13 -13
  48. package/chunks/{chunk-HHESWHDQ.js → chunk-K7W32X4B.js} +3 -3
  49. package/chunks/{chunk-AT7KYJE5.js → chunk-KKOVCYIG.js} +2 -2
  50. package/chunks/{chunk-SLYDITP6.js → chunk-KRM66P4I.js} +1 -1
  51. package/chunks/{chunk-CWJUH3EP.js → chunk-KV7Q6322.js} +2 -2
  52. package/chunks/{chunk-MDNLB3UK.js → chunk-L2XUWSCW.js} +5 -5
  53. package/chunks/{chunk-WBH5MEDL.js → chunk-L5TJDKBF.js} +3 -3
  54. package/chunks/{chunk-L4O2KABK.js → chunk-LCZJD5TJ.js} +1 -1
  55. package/chunks/{chunk-4MTOCDP5.js → chunk-M4W73QGT.js} +2 -2
  56. package/chunks/{chunk-MIM5ENJO.js → chunk-MBLLDXO5.js} +2 -2
  57. package/chunks/{chunk-VEWUBZZA.js → chunk-MDPSVUZY.js} +3 -3
  58. package/chunks/{chunk-WMLBM6FX.js → chunk-MX6QEIOK.js} +1 -1
  59. package/chunks/{chunk-AB76QMX5.js → chunk-MYQMOSWU.js} +4 -4
  60. package/chunks/{chunk-3OU2KLMT.js → chunk-N23AVCPY.js} +3 -3
  61. package/chunks/{chunk-BENP2MGF.js → chunk-N4NYFVOR.js} +2 -2
  62. package/chunks/{chunk-XHAP6TX4.js → chunk-NJYMQPL4.js} +1 -1
  63. package/chunks/{chunk-VACXX3OU.js → chunk-NTCRK24Y.js} +1 -1
  64. package/chunks/{chunk-3ZAL7E5H.js → chunk-OBVQ2V67.js} +1 -1
  65. package/chunks/{chunk-4PGPOGT5.js → chunk-OOWUB5PT.js} +1 -1
  66. package/chunks/{chunk-2AVSJ6YM.js → chunk-OQKXVSEF.js} +1 -1
  67. package/chunks/{chunk-HB6UJVMB.js → chunk-PZQTC5KU.js} +1 -1
  68. package/chunks/{chunk-DYLKYM5L.js → chunk-QMCA5L2E.js} +3 -3
  69. package/chunks/{chunk-NYIPXPK4.js → chunk-QOLVC24E.js} +4 -4
  70. package/chunks/{chunk-SMTIRSBP.js → chunk-RG6RWNOP.js} +3 -3
  71. package/chunks/{chunk-ALOGVVOM.js → chunk-RQZXL2HQ.js} +5 -5
  72. package/chunks/{chunk-ONHO7K3C.js → chunk-SCMRO6MD.js} +1 -1
  73. package/chunks/{chunk-B76JTBXH.js → chunk-SCOXEQIU.js} +3 -3
  74. package/chunks/{chunk-N37OR5HF.js → chunk-SCPH6ABH.js} +7 -7
  75. package/chunks/{chunk-7OP457SY.js → chunk-T5PXASKS.js} +3 -3
  76. package/chunks/{chunk-VPHE2AYS.js → chunk-TADRPMGC.js} +3 -3
  77. package/chunks/{chunk-BNOGS4FX.js → chunk-TF53UJNU.js} +3 -3
  78. package/chunks/{chunk-WG3EVBEA.js → chunk-U3NKBVIT.js} +3 -3
  79. package/chunks/{chunk-ISCYNEVI.js → chunk-UEV54NGK.js} +10 -10
  80. package/chunks/{chunk-V44ZGIAX.js → chunk-UQ62GSMW.js} +48 -48
  81. package/chunks/{chunk-BJSDPW6T.js → chunk-UYAUWTFK.js} +5 -5
  82. package/chunks/{chunk-AG4TACE2.js → chunk-V5KWWBKF.js} +1 -1
  83. package/chunks/{chunk-OCPL4PPW.js → chunk-VRBBQBAV.js} +30 -30
  84. package/chunks/{chunk-LRHUT6ZW.js → chunk-VUIDKECZ.js} +5 -5
  85. package/chunks/{chunk-3EWATM2M.js → chunk-VYDRETTJ.js} +2 -2
  86. package/chunks/{chunk-I762YPHY.js → chunk-WEO2JBGI.js} +5 -5
  87. package/chunks/{chunk-MVA53QCQ.js → chunk-WHXNBXTD.js} +1 -1
  88. package/chunks/{chunk-2J4JQ2N4.js → chunk-WZURT3BJ.js} +1 -1
  89. package/chunks/{chunk-I6WVVBQB.js → chunk-X2GQEUUP.js} +5 -5
  90. package/chunks/{chunk-EULKBEV3.js → chunk-X4FQT22T.js} +4 -4
  91. package/chunks/{chunk-TUHTOEMJ.js → chunk-XBUXT7ZI.js} +2 -2
  92. package/chunks/{chunk-MGEJU367.js → chunk-XDV22W7S.js} +1 -1
  93. package/chunks/{chunk-S3PGH3X6.js → chunk-XG62JNZ6.js} +1 -1
  94. package/chunks/{chunk-MLTPPT33.js → chunk-XZ2OAZYL.js} +1 -1
  95. package/chunks/{chunk-4FUZP37P.js → chunk-YSOP3ENC.js} +1 -1
  96. package/chunks/{chunk-MHMNVRN7.js → chunk-ZUU25ZF6.js} +2 -2
  97. package/chunks/{codex-subagent-executor-C5LFSQDT.js → codex-subagent-executor-G3QI56UV.js} +19 -19
  98. package/chunks/{contextCommand-KQVTLA7W.js → contextCommand-IEF2KAPS.js} +19 -19
  99. package/chunks/{core-runtime-YR4XELUK.js → core-runtime-S27BBYNR.js} +17 -17
  100. package/chunks/{create-sub-session-ULOGZEVK.js → create-sub-session-YNF223MT.js} +18 -18
  101. package/chunks/{daemon-git-worktree-guard-CWE46OLL.js → daemon-git-worktree-guard-QAUL4X3S.js} +17 -17
  102. package/chunks/{daemon-status-provider-ILG5O2E3.js → daemon-status-provider-N2557VS6.js} +23 -23
  103. package/chunks/{daemon-trust-policy-FLL572SJ.js → daemon-trust-policy-3VYFDEWJ.js} +23 -23
  104. package/chunks/{daemon-trust-policy-monitor-ZZD77SCF.js → daemon-trust-policy-monitor-TQ5IEX6B.js} +23 -23
  105. package/chunks/{deferred-core-runtime-PKKIUQY7.js → deferred-core-runtime-WLVUFGJN.js} +17 -17
  106. package/chunks/{edit-YY7OEZD4.js → edit-OHDVHLND.js} +11 -11
  107. package/chunks/{enterPlanMode-RQJNH7BZ.js → enterPlanMode-HFLIAYSE.js} +9 -9
  108. package/chunks/{environment-2KUMDVHJ.js → environment-ZVR7SRD5.js} +19 -19
  109. package/chunks/{errors-YG2MGIUH.js → errors-UHACWGJ5.js} +19 -19
  110. package/chunks/{execution-tool-KO3S2ZMM.js → execution-tool-NMST2QEE.js} +11 -11
  111. package/chunks/{execution-worker-T46PXAUX.js → execution-worker-CP6CF2AM.js} +14 -14
  112. package/chunks/{exitPlanMode-TZTA7KK3.js → exitPlanMode-NFTW7WBI.js} +9 -9
  113. package/chunks/{fast-path-NX5R5TEE.js → fast-path-FCJTQ2WT.js} +2 -2
  114. package/chunks/{foreground-runner-B37S5XWE.js → foreground-runner-XTU5LOAG.js} +29 -43
  115. package/chunks/{glob-G4O2HUPX.js → glob-GIQDXOZK.js} +9 -9
  116. package/chunks/{goal-tools-LPZGCCGC.js → goal-tools-XSMNT23Q.js} +9 -9
  117. package/chunks/{handleAutoUpdate-FZZY67SI.js → handleAutoUpdate-NBNIU7OM.js} +20 -20
  118. package/chunks/{i18n-TER6KDYN.js → i18n-W2WYDGWF.js} +18 -18
  119. package/chunks/{initializer-WMM3T4IM.js → initializer-HIS4B6I3.js} +23 -23
  120. package/chunks/{installationInfo-FTE33LPP.js → installationInfo-IGGFBANW.js} +17 -17
  121. package/chunks/{list-CPFDTK72.js → list-D56M37G5.js} +25 -25
  122. package/chunks/{llm-JEZJRZJX.js → llm-JDSFNY34.js} +48 -48
  123. package/chunks/{llm-content-generator-IUI5TQIN.js → llm-content-generator-DLRCJG7C.js} +4 -4
  124. package/chunks/{loadedSettingsAdapter-FPRQ7O5E.js → loadedSettingsAdapter-FNGBG4FC.js} +23 -23
  125. package/chunks/{local-execution-environment-AY4TUGMD.js → local-execution-environment-SA53TQ3Q.js} +14 -14
  126. package/chunks/{loggingContentGenerator-H4K7K3LL.js → loggingContentGenerator-EJACA7TX.js} +9 -9
  127. package/chunks/{managed-npm-update-V7VEVX6I.js → managed-npm-update-EQ4OJPED.js} +17 -17
  128. package/chunks/{mcp-7PZ6AUCD.js → mcp-2D4BWYHY.js} +23 -23
  129. package/chunks/{model-call-collection-RJ73WWKF.js → model-call-collection-2PX6XGLQ.js} +1 -1
  130. package/chunks/{model-configuration-AG546PXF.js → model-configuration-FNL7A643.js} +24 -24
  131. package/chunks/{modelConfigUtils-4OUURPZ6.js → modelConfigUtils-OX3YD6VK.js} +19 -19
  132. package/chunks/{monitor-7T2C33DH.js → monitor-P26JOKH5.js} +9 -9
  133. package/chunks/{nonInteractiveCli-JH3JQDRV.js → nonInteractiveCli-Q4SES2JB.js} +51 -51
  134. package/chunks/{nonInteractiveToolExecutor-D5QJW7E6.js → nonInteractiveToolExecutor-E4JDBTVB.js} +10 -10
  135. package/chunks/{notebook-edit-2G52PPMW.js → notebook-edit-DVVG4RMB.js} +10 -10
  136. package/chunks/{omni-QYW5TRUE.js → omni-FMJTGY3H.js} +9 -9
  137. package/chunks/{openaiContentGenerator-M63PIBVK.js → openaiContentGenerator-FSVRTZOK.js} +6 -6
  138. package/chunks/{openaiResponsesContentGenerator-GYKYO3UN.js → openaiResponsesContentGenerator-CM4TJDFG.js} +4 -4
  139. package/chunks/{processUtils-ZXHN3JVL.js → processUtils-KFWE7YW4.js} +2 -2
  140. package/chunks/{prompt-terminal-ledger-VYDSE5AW.js → prompt-terminal-ledger-WABSKV35.js} +18 -18
  141. package/chunks/{pt-QYD5TZDW.js → pt-F7AYPRBY.js} +9 -0
  142. package/chunks/{pty-host-process-PKCVFICX.js → pty-host-process-Y4BPXZFM.js} +2 -2
  143. package/chunks/{reactive-degrade-OMVZTLAX.js → reactive-degrade-GTRNWLMN.js} +8 -8
  144. package/chunks/{read-file-ZSZXWENP.js → read-file-NHF4F6P4.js} +1 -1
  145. package/chunks/{resumeHistoryUtils-TZ22ZUX7.js → resumeHistoryUtils-JILSY33L.js} +21 -21
  146. package/chunks/{ripGrep-LXMRMOTC.js → ripGrep-SMPWBWRF.js} +1 -1
  147. package/chunks/{run-o1-code-serve-2ZM6TNAJ.js → run-o1-code-serve-Y2Q5ETWR.js} +32 -32
  148. package/chunks/{sandboxConfig-N4V3RKXB.js → sandboxConfig-7UFOLDNW.js} +17 -17
  149. package/chunks/{scheduled-tasks-YJHWVMUP.js → scheduled-tasks-EYKBK7YF.js} +22 -22
  150. package/chunks/{scheduler-S7IIBQUG.js → scheduler-KEDE47XV.js} +19 -19
  151. package/chunks/{serve-5JQUI7RR.js → serve-UVD5TU5P.js} +23 -23
  152. package/chunks/{server-3BXWI3A3.js → server-IJ6HOPLQ.js} +51 -48
  153. package/chunks/{session-GTZ4UFHV.js → session-3RQNXI6K.js} +1 -1
  154. package/chunks/{session-PSL2EVMQ.js → session-Z6CWSDR6.js} +52 -52
  155. package/chunks/{session-attachments-root-RPA44E4B.js → session-attachments-root-ROCJ52MA.js} +17 -17
  156. package/chunks/{session-pr-refresh-ELTZKRHT.js → session-pr-refresh-GOTN3ZI5.js} +21 -21
  157. package/chunks/{settings-E3PBFDUS.js → settings-RDJHEAYC.js} +22 -22
  158. package/chunks/{shell-XLBUVRGS.js → shell-KTBVXOGX.js} +9 -9
  159. package/chunks/{skill-NWMDK2KV.js → skill-645YDUM6.js} +1 -1
  160. package/chunks/{skill-settings-R6JWYTB3.js → skill-settings-K3TBAPAU.js} +22 -22
  161. package/chunks/{spawnChannel-PJDEPU2B.js → spawnChannel-56GNCWI5.js} +18 -18
  162. package/chunks/{standalone-update-B3BXNT35.js → standalone-update-FKW6TUEC.js} +19 -19
  163. package/chunks/{startInteractiveUI-F5FKSAUY.js → startInteractiveUI-TRETFWSV.js} +106 -65
  164. package/chunks/{supervisor-runner-JHRQ2FCR.js → supervisor-runner-YD27MXSJ.js} +3 -3
  165. package/chunks/{team-create-VHVRQHVZ.js → team-create-LXTMTXJO.js} +9 -9
  166. package/chunks/{team-plan-approval-23SRLJF6.js → team-plan-approval-YJ6L5HPC.js} +9 -9
  167. package/chunks/{terminal-image-renderer-XKZZBFHE.js → terminal-image-renderer-Y6S5PIWY.js} +17 -17
  168. package/chunks/{theme-manager-IDIP6CUL.js → theme-manager-L3VGEQYB.js} +17 -17
  169. package/chunks/{tool-result-media-22WEAYPA.js → tool-result-media-TLKLOYZL.js} +9 -9
  170. package/chunks/{tool-search-M7KEVANW.js → tool-search-FITGN2EK.js} +1 -1
  171. package/chunks/{total-session-admission-ANEFPOUC.js → total-session-admission-PPYADMD5.js} +19 -19
  172. package/chunks/{trustedFolders-B3BX2KJM.js → trustedFolders-7AVFVADQ.js} +18 -18
  173. package/chunks/{update-relaunch-NO3TRLFX.js → update-relaunch-H5NFFDYL.js} +5 -5
  174. package/chunks/{updateCheck-EDPN2W6U.js → updateCheck-6ZNVMOEU.js} +19 -19
  175. package/chunks/{upload-config-W75CYANV.js → upload-config-U6ED5IUT.js} +6 -6
  176. package/chunks/{useAutoAcceptIndicator-FJGWGDP2.js → useAutoAcceptIndicator-T4IFMQST.js} +25 -25
  177. package/chunks/{validateNonInterActiveAuth-MXJJWDQC.js → validateNonInterActiveAuth-JNKFMBEW.js} +48 -48
  178. package/chunks/{version-DNGAJY4A.js → version-QFL34BMT.js} +1 -1
  179. package/chunks/{web-fetch-3QOUWJFX.js → web-fetch-YMEM6SJY.js} +1 -1
  180. package/chunks/{web-search-LWRUF5S7.js → web-search-BW2G4WAW.js} +7 -7
  181. package/chunks/{workflow-VE63BIR7.js → workflow-6WFOXOI6.js} +10 -10
  182. package/chunks/{workspace-providers-status-SGUGDW4E.js → workspace-providers-status-JFPY2RPP.js} +27 -27
  183. package/chunks/{workspace-registration-store-7D7EMQ6X.js → workspace-registration-store-DGDCATAH.js} +1 -1
  184. package/chunks/{workspace-registry-767IFWSB.js → workspace-registry-QYQ7WJBG.js} +19 -19
  185. package/chunks/{workspace-runtime-coordinator-LPFBHIUA.js → workspace-runtime-coordinator-GSUFXUFA.js} +19 -19
  186. package/chunks/{workspace-service-TSICCAYR.js → workspace-service-4ZDOR6ZK.js} +26 -26
  187. package/chunks/{workspace-skills-status-BSORV2X3.js → workspace-skills-status-CPR7TCHJ.js} +23 -23
  188. package/chunks/{workspace-trust-reconciler-AQKSFA6C.js → workspace-trust-reconciler-HXXRLJL4.js} +25 -25
  189. package/chunks/{write-file-HU2MM2ND.js → write-file-2RTSNIGI.js} +11 -11
  190. package/chunks/{zh-TW-O23FCREL.js → zh-TW-EGHYQY24.js} +1 -0
  191. package/chunks/{zh-6TC2VRKR.js → zh-U2XVEBDV.js} +1 -0
  192. package/chunks/{zoom-image-2MEKHWCA.js → zoom-image-Y7EMBVIX.js} +1 -1
  193. package/cli.js +23 -20
  194. package/execution-worker.js +1 -1
  195. package/export-transcript-document.js +1 -1
  196. package/locales/pt.js +12 -0
  197. package/locales/zh-TW.js +1 -0
  198. package/locales/zh.js +1 -0
  199. package/package.json +2 -2
  200. package/release-notes.json +15 -0
  201. package/web-shell/assets/{abnfDiagram-VCTEODGH-DjlxT6Sr.js → abnfDiagram-VCTEODGH-BHCRbQcy.js} +1 -1
  202. package/web-shell/assets/{arc-BTG52NX0.js → arc-CCZ82eCu.js} +1 -1
  203. package/web-shell/assets/{architectureDiagram-5GKGNRK7-B3yKxxDY.js → architectureDiagram-5GKGNRK7-BBZKSUIg.js} +1 -1
  204. package/web-shell/assets/{blockDiagram-NRAW4CY4-MuQ7Q0WE.js → blockDiagram-NRAW4CY4-uw4S-2wd.js} +1 -1
  205. package/web-shell/assets/{c4Diagram-UCG6FXSJ-BMKpk3YI.js → c4Diagram-UCG6FXSJ-UShiXuD3.js} +1 -1
  206. package/web-shell/assets/channel-BZX4Jhzb.js +1 -0
  207. package/web-shell/assets/{chunk-2Q5K7J3B-DoMEjvF1.js → chunk-2Q5K7J3B-CBBuHFMb.js} +1 -1
  208. package/web-shell/assets/{chunk-5VM5RSS4-Cncm10Cs.js → chunk-5VM5RSS4-B-yrhJUm.js} +1 -1
  209. package/web-shell/assets/{chunk-F27PBJKO-B_8A0pWW.js → chunk-F27PBJKO-3nM3Pdyy.js} +1 -1
  210. package/web-shell/assets/{chunk-G27WJ6UU-B5sAuPr5.js → chunk-G27WJ6UU-B4O2nv-I.js} +1 -1
  211. package/web-shell/assets/{chunk-JWPE2WC7-CGsZtxy2.js → chunk-JWPE2WC7-BZqwPLlz.js} +1 -1
  212. package/web-shell/assets/{chunk-LCL6LL3I-BHG7Uh8x.js → chunk-LCL6LL3I-DHv0-4rp.js} +1 -1
  213. package/web-shell/assets/{chunk-POPQ4Y6H-BYVcbHXm.js → chunk-POPQ4Y6H-pQe5HoyC.js} +1 -1
  214. package/web-shell/assets/{chunk-SVP7TREG-nspp3_tv.js → chunk-SVP7TREG-DJOAoH1Y.js} +1 -1
  215. package/web-shell/assets/{chunk-XXDRQBXY-BPVXAnc6.js → chunk-XXDRQBXY-BP6b5d7K.js} +1 -1
  216. package/web-shell/assets/classDiagram-DTDB5LWJ-C-V0ZkE4.js +1 -0
  217. package/web-shell/assets/classDiagram-v2-JRS7N3AN-C-V0ZkE4.js +1 -0
  218. package/web-shell/assets/{cose-bilkent-JH36ORCC-DFhIl1B_.js → cose-bilkent-JH36ORCC-FCVICCkX.js} +1 -1
  219. package/web-shell/assets/{cynefin-OW5HDTMX-B4z0nkv3.js → cynefin-OW5HDTMX--NGilWe9.js} +1 -1
  220. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CgmbbcAV.js → cynefinDiagram-5FMLGOSQ-DFYD9DAl.js} +1 -1
  221. package/web-shell/assets/{dagre-3AP2YEHR-C7FLTqkC.js → dagre-3AP2YEHR-CTtyZuee.js} +1 -1
  222. package/web-shell/assets/{diagram-S7CK7UJ4-z9SCYxX5.js → diagram-S7CK7UJ4-BsON2FX6.js} +1 -1
  223. package/web-shell/assets/{diagram-UQ7AKVKN-Du7TwJIE.js → diagram-UQ7AKVKN-TdHTqyqX.js} +1 -1
  224. package/web-shell/assets/{diagram-VSXAHHWV-TKRGx1uc.js → diagram-VSXAHHWV-BEwZdd9u.js} +1 -1
  225. package/web-shell/assets/{diagram-VX7I27RA-B0KvMoUC.js → diagram-VX7I27RA-BGyrYs1x.js} +1 -1
  226. package/web-shell/assets/{diagram-Z3DM3KII-DefoJUnQ.js → diagram-Z3DM3KII-espgAV8T.js} +1 -1
  227. package/web-shell/assets/{ebnfDiagram-PWID7BFC-ZYgJb4PE.js → ebnfDiagram-PWID7BFC-Cr_38nrn.js} +1 -1
  228. package/web-shell/assets/{erDiagram-SSCWMZ5O-BuM0aSoT.js → erDiagram-SSCWMZ5O-B0rNcLwu.js} +1 -1
  229. package/web-shell/assets/{flowDiagram-A5DVABFB-DzNaogy6.js → flowDiagram-A5DVABFB-Boud5NLB.js} +1 -1
  230. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-C9yeWyJ1.js → ganttDiagram-EL5Y4UJY-6eIDsSBM.js} +1 -1
  231. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Dnr2eLom.js → gitGraphDiagram-WWUBYQGX-ComU_YBY.js} +1 -1
  232. package/web-shell/assets/{index-DfLQ3XsK.js → index-77wmfryE.js} +4 -4
  233. package/web-shell/assets/{index-DvsOnaoV.js → index-9m-h5ohM.js} +1 -1
  234. package/web-shell/assets/{infoDiagram-RXCK75RN-DRuFQcW5.js → infoDiagram-RXCK75RN-DGhljtY2.js} +1 -1
  235. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-BNXQTQvc.js → ishikawaDiagram-5VMMS53U-D1uwMch8.js} +1 -1
  236. package/web-shell/assets/{journeyDiagram-EYS64GPL-TCyttpgn.js → journeyDiagram-EYS64GPL-CHo3w6Dp.js} +1 -1
  237. package/web-shell/assets/{kanban-definition-3QL26DDD-1GVc7gxH.js → kanban-definition-3QL26DDD-B2yOt5as.js} +1 -1
  238. package/web-shell/assets/{layout-D5cYP-BL.js → layout-Dp1OWbFz.js} +1 -1
  239. package/web-shell/assets/{linear-CIn1s0y9.js → linear-D3ICH8Ov.js} +1 -1
  240. package/web-shell/assets/{mermaid.core-DBEpygcO.js → mermaid.core-N5envOcz.js} +6 -6
  241. package/web-shell/assets/{mindmap-definition-FBJOCRG2-XCMaUnbr.js → mindmap-definition-FBJOCRG2-Dtl3rRhG.js} +1 -1
  242. package/web-shell/assets/{pegDiagram-XKGWAZYB-yUUjcw04.js → pegDiagram-XKGWAZYB-DVaO7O39.js} +1 -1
  243. package/web-shell/assets/{pieDiagram-E7YTZNPT-Dccmiudc.js → pieDiagram-E7YTZNPT-a3kmyFQ-.js} +1 -1
  244. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-iR076kxI.js → quadrantDiagram-AXDQQJYC-cui9Qwgd.js} +1 -1
  245. package/web-shell/assets/{railroadDiagram-O6MQD6OU-Dn9VpVQ7.js → railroadDiagram-O6MQD6OU-DKMfhopr.js} +1 -1
  246. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-DRWZ70Aj.js → requirementDiagram-EFPCY7ZU-AxyCfCuR.js} +1 -1
  247. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CvSeUvzD.js → sankeyDiagram-P5KCCOFB-DaSMFp-J.js} +1 -1
  248. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Dw5pDaEn.js → sequenceDiagram-WJ2MYXX4-C1J-Toxi.js} +1 -1
  249. package/web-shell/assets/{sizeCapture-X5ZJPWSS-COHyCmqe.js → sizeCapture-X5ZJPWSS-BYVPBFPK.js} +1 -1
  250. package/web-shell/assets/{stateDiagram-HBIQ2CUA-DrD0m5Xy.js → stateDiagram-HBIQ2CUA-RWv_y8xj.js} +1 -1
  251. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-D859Dqbq.js +1 -0
  252. package/web-shell/assets/{swimlanes-XN3QIQJK-Ca2nCc8O.js → swimlanes-XN3QIQJK-D41--9T9.js} +1 -1
  253. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BNodwMmu.js +8 -0
  254. package/web-shell/assets/{timeline-definition-24CTP7MA-DnDeuzB5.js → timeline-definition-24CTP7MA-DOaA2jI_.js} +1 -1
  255. package/web-shell/assets/{vennDiagram-4TSXK5OY-Cws_OFVz.js → vennDiagram-4TSXK5OY-BfCoeFde.js} +1 -1
  256. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-ruIrciDw.js → wardleyDiagram-VM6X3IG4-BXOiMh7q.js} +1 -1
  257. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-wL2dgaWC.js → xychartDiagram-S5SC5T6Z-dxTtQgr9.js} +1 -1
  258. package/web-shell/index.html +1 -1
  259. package/web-shell/sw.js +1 -1
  260. package/web-shell/assets/channel-DIPEHWyn.js +0 -1
  261. package/web-shell/assets/classDiagram-DTDB5LWJ-j4RKZFKw.js +0 -1
  262. package/web-shell/assets/classDiagram-v2-JRS7N3AN-j4RKZFKw.js +0 -1
  263. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BoV3x5L6.js +0 -1
  264. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CTpICgX7.js +0 -8
@@ -5,7 +5,7 @@ import {
5
5
  enableMouseEvents,
6
6
  useKeypress,
7
7
  useKeypressContext
8
- } from "./chunk-RV5JQNMP.js";
8
+ } from "./chunk-6XTMAF2C.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-WG3EVBEA.js";
30
+ } from "./chunk-U3NKBVIT.js";
31
31
  import {
32
32
  MINIMUM_MAX_HEIGHT,
33
33
  MaxSizedBox
@@ -52,12 +52,12 @@ import {
52
52
  isCollapsibleTool,
53
53
  isFindingsListDisplay,
54
54
  showsToolLabel
55
- } from "./chunk-I6WVVBQB.js";
55
+ } from "./chunk-X2GQEUUP.js";
56
56
  import {
57
57
  formatDuration,
58
58
  formatRelativeTime,
59
59
  formatTokenCount
60
- } from "./chunk-N4TE7U5S.js";
60
+ } from "./chunk-7NUQOGKE.js";
61
61
  import {
62
62
  extendedTheme,
63
63
  theme
@@ -89,7 +89,7 @@ import {
89
89
  } from "./chunk-U6ZAL4MF.js";
90
90
  import {
91
91
  relaunchApp
92
- } from "./chunk-MVA53QCQ.js";
92
+ } from "./chunk-WHXNBXTD.js";
93
93
  import {
94
94
  markKittyImageWritten,
95
95
  prepareInlineTerminalImage,
@@ -105,7 +105,7 @@ import {
105
105
  } from "./chunk-XZ3MQL2U.js";
106
106
  import {
107
107
  getErrorMessage
108
- } from "./chunk-UMBH4KSJ.js";
108
+ } from "./chunk-H4PJM2NT.js";
109
109
  import {
110
110
  cpLen,
111
111
  cpSlice,
@@ -127,23 +127,23 @@ import {
127
127
  } from "./chunk-F5IN4KK7.js";
128
128
  import {
129
129
  createLoadedSettingsAdapter
130
- } from "./chunk-JDEVIYN7.js";
130
+ } from "./chunk-5VQV4T3X.js";
131
131
  import {
132
132
  getPersistScopeForModelSelection
133
- } from "./chunk-EQQRWB52.js";
133
+ } from "./chunk-3ZZFG22J.js";
134
134
  import {
135
135
  getCurrentLanguage,
136
136
  localizeToolDisplayName,
137
137
  t
138
- } from "./chunk-VPHE2AYS.js";
138
+ } from "./chunk-TADRPMGC.js";
139
139
  import {
140
140
  isWorkspaceTrusted
141
- } from "./chunk-3VKECQVW.js";
141
+ } from "./chunk-JHEUA26I.js";
142
142
  import {
143
143
  sanitizeForOsc,
144
144
  supportsHyperlinks,
145
145
  wrapForMultiplexer
146
- } from "./chunk-B76JTBXH.js";
146
+ } from "./chunk-SCOXEQIU.js";
147
147
  import {
148
148
  IdeClient,
149
149
  allowEditorTypeInSandbox,
@@ -153,7 +153,7 @@ import {
153
153
  ideContextStore,
154
154
  isEditorAvailable,
155
155
  isValidEditorType
156
- } from "./chunk-V44ZGIAX.js";
156
+ } from "./chunk-UQ62GSMW.js";
157
157
  import {
158
158
  ShellExecutionService
159
159
  } from "./chunk-PHCY2DQ2.js";
@@ -201,7 +201,7 @@ import {
201
201
  resolveMetadataKey,
202
202
  resolveOwnsModel,
203
203
  tryResolveModelProtocol
204
- } from "./chunk-HHESWHDQ.js";
204
+ } from "./chunk-K7W32X4B.js";
205
205
  import {
206
206
  require_has_flag,
207
207
  require_supports_color
@@ -12409,6 +12409,28 @@ function computeHeaderCap(headerWidths, available) {
12409
12409
  return Number.MAX_SAFE_INTEGER;
12410
12410
  }
12411
12411
  __name(computeHeaderCap, "computeHeaderCap");
12412
+ function QuestionDialogLayout({
12413
+ availableHeight,
12414
+ children,
12415
+ renderOverflow
12416
+ }) {
12417
+ const naturalRef = (0, import_react34.useRef)(null);
12418
+ const { height, hasMeasured } = use_box_metrics_default(
12419
+ naturalRef
12420
+ );
12421
+ const [naturalHeight, setNaturalHeight] = (0, import_react34.useState)(null);
12422
+ (0, import_react34.useLayoutEffect)(() => {
12423
+ if (hasMeasured && naturalRef.current && height > 0) {
12424
+ setNaturalHeight(height);
12425
+ }
12426
+ }, [height, hasMeasured]);
12427
+ if (availableHeight !== void 0 && naturalHeight !== null) {
12428
+ const limit = Math.max(1, Math.floor(availableHeight));
12429
+ if (naturalHeight > limit) return renderOverflow(limit);
12430
+ }
12431
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { ref: naturalRef, flexDirection: "column", flexShrink: 0, children });
12432
+ }
12433
+ __name(QuestionDialogLayout, "QuestionDialogLayout");
12412
12434
  var AskUserQuestionDialog = /* @__PURE__ */ __name(({
12413
12435
  confirmationDetails,
12414
12436
  isFocused = true,
@@ -12433,14 +12455,17 @@ var AskUserQuestionDialog = /* @__PURE__ */ __name(({
12433
12455
  const isCustomInputSelected = !isSubmitTab && currentQuestion && selectedIndex === currentQuestion.options.length;
12434
12456
  const getCustomInputValue = /* @__PURE__ */ __name((idx) => customInputValuesRef.current[idx] ?? customInputValues[idx] ?? "", "getCustomInputValue");
12435
12457
  const currentCustomInputValue = getCustomInputValue(currentQuestionIndex);
12458
+ const frameFits = availableHeight === void 0 || availableHeight >= 10;
12459
+ const horizontalInset = frameFits ? 4 : 2;
12460
+ const contentHeight = availableHeight === void 0 ? void 0 : Math.max(1, availableHeight - (frameFits ? 2 : 0));
12436
12461
  const customInputPrefixWidth = 2 + (isMultiSelect ? 4 : 0) + String(totalOptions).length + 2;
12437
12462
  const customInputWidth = Math.max(
12438
12463
  1,
12439
- availableWidth - 2 - customInputPrefixWidth - 2 - 1
12464
+ availableWidth - horizontalInset - customInputPrefixWidth - 2 - 1
12440
12465
  );
12441
12466
  const boundedInputHeight = Math.min(
12442
12467
  3,
12443
- Math.max(1, (availableHeight ?? 10) - 7)
12468
+ Math.max(1, (contentHeight ?? 10) - 7)
12444
12469
  );
12445
12470
  const isCustomInputAnswer = !isSubmitTab && currentQuestion && !isMultiSelect && selectedOptions[currentQuestionIndex] !== void 0 && !currentQuestion.options.some(
12446
12471
  (opt) => opt.label === selectedOptions[currentQuestionIndex]
@@ -12461,7 +12486,7 @@ var AskUserQuestionDialog = /* @__PURE__ */ __name(({
12461
12486
  const answeredHeaders = confirmationDetails.questions.filter(
12462
12487
  (_, idx) => getAnswerForQuestion(idx) !== void 0
12463
12488
  ).length;
12464
- const dialogPadding = 2;
12489
+ const dialogPadding = horizontalInset;
12465
12490
  const submitChipWidth = (isSubmitTab ? 2 : 1) + getCachedStringWidth(t("Submit"));
12466
12491
  const chipGaps = numHeaders;
12467
12492
  const headerPrefixes = 2 * numHeaders;
@@ -12665,14 +12690,15 @@ var AskUserQuestionDialog = /* @__PURE__ */ __name(({
12665
12690
  placeholder: t("Type something..."),
12666
12691
  isActive: isFocused,
12667
12692
  inputWidth: customInputWidth,
12668
- height: availableHeight === void 0 ? 3 : boundedInputHeight,
12669
- showScrollIndicator: availableHeight === void 0 || availableHeight >= 7
12693
+ height: contentHeight === void 0 ? 3 : boundedInputHeight,
12694
+ showScrollIndicator: contentHeight === void 0 || contentHeight >= 7
12670
12695
  }
12671
12696
  )
12672
12697
  ] });
12673
- if (availableHeight !== void 0) {
12674
- const height = Math.max(1, Math.floor(availableHeight));
12675
- const width = Math.max(1, availableWidth - 2);
12698
+ const layoutKey = `${availableWidth}:${currentQuestionIndex}:${Boolean(isCustomInputSelected)}:${frameFits}`;
12699
+ const renderBoundedDialog = /* @__PURE__ */ __name((limit) => {
12700
+ const height = Math.max(1, limit - (frameFits ? 2 : 0));
12701
+ const width = Math.max(1, availableWidth - horizontalInset);
12676
12702
  const showHeader = height >= 3;
12677
12703
  const showNavigationHint = height >= 4;
12678
12704
  const showScrollHint = height >= 6;
@@ -12725,9 +12751,11 @@ var AskUserQuestionDialog = /* @__PURE__ */ __name(({
12725
12751
  Box_default,
12726
12752
  {
12727
12753
  width: availableWidth,
12728
- height,
12754
+ height: limit,
12729
12755
  flexDirection: "column",
12730
12756
  paddingX: 1,
12757
+ borderStyle: frameFits ? glyphs().borderStyle : void 0,
12758
+ borderColor: extendedTheme.activity.execute,
12731
12759
  children: [
12732
12760
  showHeader && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { height: 1, flexShrink: 0, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { color: theme.text.accent, bold: true, wrap: "truncate-end", children: hasMultipleQuestions ? confirmationDetails.questions.map(
12733
12761
  (question, index) => `${index === currentQuestionIndex ? "\u25B8 " : ""}${truncateToWidth(question.header.replace(/[\r\n]/g, " "), headerCap)}${getAnswerForQuestion(index) !== void 0 ? " \u2713" : ""}`
@@ -12800,149 +12828,187 @@ var AskUserQuestionDialog = /* @__PURE__ */ __name(({
12800
12828
  ]
12801
12829
  }
12802
12830
  );
12803
- }
12831
+ }, "renderBoundedDialog");
12804
12832
  if (isSubmitTab) {
12805
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", padding: 1, children: [
12806
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { marginBottom: 1, flexDirection: "row", gap: 1, children: [
12807
- confirmationDetails.questions.map((q, idx) => {
12808
- const isAnswered = getAnswerForQuestion(idx) !== void 0;
12809
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { dimColor: true, children: [
12810
- " ",
12811
- truncateToWidth(q.header, headerCap),
12812
- isAnswered ? " \u2713" : ""
12813
- ] }) }, idx);
12814
- }),
12815
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { color: theme.text.accent, bold: true, children: [
12816
- "\u25B8 ",
12817
- t("Submit")
12818
- ] }) })
12819
- ] }),
12820
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
12821
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { bold: true, children: t("Your answers:") }),
12822
- confirmationDetails.questions.map((q, idx) => {
12823
- const answer = getAnswerForQuestion(idx);
12824
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { children: [
12825
- q.header,
12826
- ":",
12827
- " ",
12828
- answer ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { color: theme.text.accent, children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: t("(not answered)") })
12829
- ] }) }, idx);
12830
- })
12831
- ] }),
12832
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginTop: 1, marginBottom: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { children: t("Ready to submit your answers?") }) }),
12833
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", children: [
12834
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12835
- Text,
12836
- {
12837
- color: selectedIndex === 0 ? theme.text.accent : theme.text.primary,
12838
- bold: selectedIndex === 0,
12839
- children: [
12840
- selectedIndex === 0 ? "\u276F " : " ",
12841
- "1. ",
12842
- t("Submit answers")
12843
- ]
12844
- }
12845
- ) }),
12846
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12847
- Text,
12833
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
12834
+ QuestionDialogLayout,
12835
+ {
12836
+ availableHeight,
12837
+ renderOverflow: renderBoundedDialog,
12838
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12839
+ Box_default,
12848
12840
  {
12849
- color: selectedIndex === 1 ? theme.text.accent : theme.text.primary,
12850
- bold: selectedIndex === 1,
12841
+ width: availableWidth,
12842
+ flexDirection: "column",
12843
+ paddingX: 1,
12844
+ paddingY: frameFits ? 0 : 1,
12845
+ borderStyle: frameFits ? glyphs().borderStyle : void 0,
12846
+ borderColor: extendedTheme.activity.execute,
12851
12847
  children: [
12852
- selectedIndex === 1 ? "\u276F " : " ",
12853
- "2. ",
12854
- t("Cancel")
12848
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { marginBottom: 1, flexDirection: "row", gap: 1, children: [
12849
+ confirmationDetails.questions.map((q, idx) => {
12850
+ const isAnswered = getAnswerForQuestion(idx) !== void 0;
12851
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { dimColor: true, children: [
12852
+ " ",
12853
+ truncateToWidth(q.header, headerCap),
12854
+ isAnswered ? " \u2713" : ""
12855
+ ] }) }, idx);
12856
+ }),
12857
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { color: theme.text.accent, bold: true, children: [
12858
+ "\u25B8 ",
12859
+ t("Submit")
12860
+ ] }) })
12861
+ ] }),
12862
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
12863
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { bold: true, children: t("Your answers:") }),
12864
+ confirmationDetails.questions.map((q, idx) => {
12865
+ const answer = getAnswerForQuestion(idx);
12866
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { children: [
12867
+ q.header,
12868
+ ":",
12869
+ " ",
12870
+ answer ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { color: theme.text.accent, children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: t("(not answered)") })
12871
+ ] }) }, idx);
12872
+ })
12873
+ ] }),
12874
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginTop: 1, marginBottom: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { children: t("Ready to submit your answers?") }) }),
12875
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", children: [
12876
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12877
+ Text,
12878
+ {
12879
+ color: selectedIndex === 0 ? theme.text.accent : theme.text.primary,
12880
+ bold: selectedIndex === 0,
12881
+ children: [
12882
+ selectedIndex === 0 ? "\u276F " : " ",
12883
+ "1. ",
12884
+ t("Submit answers")
12885
+ ]
12886
+ }
12887
+ ) }),
12888
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12889
+ Text,
12890
+ {
12891
+ color: selectedIndex === 1 ? theme.text.accent : theme.text.primary,
12892
+ bold: selectedIndex === 1,
12893
+ children: [
12894
+ selectedIndex === 1 ? "\u276F " : " ",
12895
+ "2. ",
12896
+ t("Cancel")
12897
+ ]
12898
+ }
12899
+ ) })
12900
+ ] }),
12901
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: t("\u2191/\u2193: Navigate | \u2190/\u2192: Switch tabs | Enter: Select") }) })
12855
12902
  ]
12856
12903
  }
12857
- ) })
12858
- ] }),
12859
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: t("\u2191/\u2193: Navigate | \u2190/\u2192: Switch tabs | Enter: Select") }) })
12860
- ] });
12904
+ )
12905
+ },
12906
+ layoutKey
12907
+ );
12861
12908
  }
12862
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", padding: 1, children: [
12863
- hasMultipleQuestions && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { marginBottom: 1, flexDirection: "row", gap: 1, children: [
12864
- confirmationDetails.questions.map((q, idx) => {
12865
- const isAnswered = getAnswerForQuestion(idx) !== void 0;
12866
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12867
- Text,
12868
- {
12869
- color: idx === currentQuestionIndex ? theme.text.accent : theme.text.primary,
12870
- bold: idx === currentQuestionIndex,
12871
- dimColor: idx !== currentQuestionIndex,
12872
- children: [
12873
- idx === currentQuestionIndex ? "\u25B8 " : " ",
12874
- truncateToWidth(q.header, headerCap),
12875
- isAnswered ? " \u2713" : ""
12876
- ]
12877
- }
12878
- ) }, idx);
12879
- }),
12880
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { dimColor: true, children: [
12881
- " ",
12882
- t("Submit")
12883
- ] }) })
12884
- ] }),
12885
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
12886
- !hasMultipleQuestions && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginBottom: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { color: theme.text.accent, bold: true, children: currentQuestion.header }) }),
12887
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { children: currentQuestion.question })
12888
- ] }),
12889
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
12890
- currentQuestion.options.map((opt, index) => {
12891
- const isSelected = selectedIndex === index;
12892
- const isMultiChecked = isMultiSelect && (multiSelectedOptions[currentQuestionIndex] ?? []).includes(
12893
- opt.label
12894
- );
12895
- const isAnswered = !isMultiSelect && selectedOptions[currentQuestionIndex] === opt.label;
12896
- const isHighlighted = isSelected || isAnswered || isMultiChecked;
12897
- const prefixWidth = 2 + (isMultiSelect ? 4 : 0) + String(index + 1).length + 2;
12898
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", children: [
12899
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12900
- Text,
12901
- {
12902
- color: isHighlighted ? theme.text.accent : theme.text.primary,
12903
- bold: isHighlighted,
12904
- children: [
12905
- isSelected ? "\u276F " : " ",
12906
- isMultiSelect ? isMultiChecked ? "[\u2713] " : "[ ] " : "",
12907
- index + 1,
12908
- ". ",
12909
- opt.label,
12910
- isAnswered ? " \u2713" : ""
12911
- ]
12912
- }
12913
- ) }),
12914
- opt.description && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginLeft: prefixWidth, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: opt.description }) })
12915
- ] }, index);
12916
- }),
12917
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { flexDirection: "column", children: isCustomInputSelected ? customInputElement : (
12918
- // Show typed value or placeholder when not selected
12919
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12920
- Text,
12921
- {
12922
- color: isCustomInputAnswer || customInputChecked[currentQuestionIndex] ? theme.text.accent : theme.text.primary,
12923
- bold: !!(isCustomInputAnswer || customInputChecked[currentQuestionIndex]),
12924
- dimColor: !currentCustomInputValue && !isCustomInputAnswer && !customInputChecked[currentQuestionIndex],
12925
- children: [
12926
- " ",
12927
- isMultiSelect ? customInputChecked[currentQuestionIndex] ? "[\u2713] " : "[ ] " : "",
12928
- currentQuestion.options.length + 1,
12929
- ".",
12930
- " ",
12931
- currentCustomInputValue || t("Type something..."),
12932
- isCustomInputAnswer ? " \u2713" : ""
12933
- ]
12934
- }
12935
- ) })
12936
- ) })
12937
- ] }),
12938
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { flexDirection: "column", marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: hasMultipleQuestions ? isMultiSelect ? t(
12939
- "\u2191/\u2193: Navigate | \u2190/\u2192: Switch tabs | Space: Toggle | Enter: Confirm | Esc: Cancel"
12940
- ) : t(
12941
- "\u2191/\u2193: Navigate | \u2190/\u2192: Switch tabs | Enter: Select | Esc: Cancel"
12942
- ) : isMultiSelect ? t(
12943
- "\u2191/\u2193: Navigate | Space: Toggle | Enter: Confirm | Esc: Cancel"
12944
- ) : t("\u2191/\u2193: Navigate | Enter: Select | Esc: Cancel") }) }) })
12945
- ] });
12909
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
12910
+ QuestionDialogLayout,
12911
+ {
12912
+ availableHeight,
12913
+ renderOverflow: renderBoundedDialog,
12914
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12915
+ Box_default,
12916
+ {
12917
+ width: availableWidth,
12918
+ flexDirection: "column",
12919
+ paddingX: 1,
12920
+ paddingY: frameFits ? 0 : 1,
12921
+ borderStyle: frameFits ? glyphs().borderStyle : void 0,
12922
+ borderColor: extendedTheme.activity.execute,
12923
+ children: [
12924
+ hasMultipleQuestions && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { marginBottom: 1, flexDirection: "row", gap: 1, children: [
12925
+ confirmationDetails.questions.map((q, idx) => {
12926
+ const isAnswered = getAnswerForQuestion(idx) !== void 0;
12927
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12928
+ Text,
12929
+ {
12930
+ color: idx === currentQuestionIndex ? theme.text.accent : theme.text.primary,
12931
+ bold: idx === currentQuestionIndex,
12932
+ dimColor: idx !== currentQuestionIndex,
12933
+ children: [
12934
+ idx === currentQuestionIndex ? "\u25B8 " : " ",
12935
+ truncateToWidth(q.header, headerCap),
12936
+ isAnswered ? " \u2713" : ""
12937
+ ]
12938
+ }
12939
+ ) }, idx);
12940
+ }),
12941
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Text, { dimColor: true, children: [
12942
+ " ",
12943
+ t("Submit")
12944
+ ] }) })
12945
+ ] }),
12946
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
12947
+ !hasMultipleQuestions && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginBottom: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { color: theme.text.accent, bold: true, children: currentQuestion.header }) }),
12948
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { children: currentQuestion.question })
12949
+ ] }),
12950
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
12951
+ currentQuestion.options.map((opt, index) => {
12952
+ const isSelected = selectedIndex === index;
12953
+ const isMultiChecked = isMultiSelect && (multiSelectedOptions[currentQuestionIndex] ?? []).includes(
12954
+ opt.label
12955
+ );
12956
+ const isAnswered = !isMultiSelect && selectedOptions[currentQuestionIndex] === opt.label;
12957
+ const isHighlighted = isSelected || isAnswered || isMultiChecked;
12958
+ const prefixWidth = 2 + (isMultiSelect ? 4 : 0) + String(index + 1).length + 2;
12959
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Box_default, { flexDirection: "column", children: [
12960
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12961
+ Text,
12962
+ {
12963
+ color: isHighlighted ? theme.text.accent : theme.text.primary,
12964
+ bold: isHighlighted,
12965
+ children: [
12966
+ isSelected ? "\u276F " : " ",
12967
+ isMultiSelect ? isMultiChecked ? "[\u2713] " : "[ ] " : "",
12968
+ index + 1,
12969
+ ". ",
12970
+ opt.label,
12971
+ isAnswered ? " \u2713" : ""
12972
+ ]
12973
+ }
12974
+ ) }),
12975
+ opt.description && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { marginLeft: prefixWidth, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: opt.description }) })
12976
+ ] }, index);
12977
+ }),
12978
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { flexDirection: "column", children: isCustomInputSelected ? customInputElement : (
12979
+ // Show typed value or placeholder when not selected
12980
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
12981
+ Text,
12982
+ {
12983
+ color: isCustomInputAnswer || customInputChecked[currentQuestionIndex] ? theme.text.accent : theme.text.primary,
12984
+ bold: !!(isCustomInputAnswer || customInputChecked[currentQuestionIndex]),
12985
+ dimColor: !currentCustomInputValue && !isCustomInputAnswer && !customInputChecked[currentQuestionIndex],
12986
+ children: [
12987
+ " ",
12988
+ isMultiSelect ? customInputChecked[currentQuestionIndex] ? "[\u2713] " : "[ ] " : "",
12989
+ currentQuestion.options.length + 1,
12990
+ ".",
12991
+ " ",
12992
+ currentCustomInputValue || t("Type something..."),
12993
+ isCustomInputAnswer ? " \u2713" : ""
12994
+ ]
12995
+ }
12996
+ ) })
12997
+ ) })
12998
+ ] }),
12999
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { flexDirection: "column", marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { dimColor: true, children: hasMultipleQuestions ? isMultiSelect ? t(
13000
+ "\u2191/\u2193: Navigate | \u2190/\u2192: Switch tabs | Space: Toggle | Enter: Confirm | Esc: Cancel"
13001
+ ) : t(
13002
+ "\u2191/\u2193: Navigate | \u2190/\u2192: Switch tabs | Enter: Select | Esc: Cancel"
13003
+ ) : isMultiSelect ? t(
13004
+ "\u2191/\u2193: Navigate | Space: Toggle | Enter: Confirm | Esc: Cancel"
13005
+ ) : t("\u2191/\u2193: Navigate | Enter: Select | Esc: Cancel") }) }) })
13006
+ ]
13007
+ }
13008
+ )
13009
+ },
13010
+ layoutKey
13011
+ );
12946
13012
  }, "AskUserQuestionDialog");
12947
13013
 
12948
13014
  // packages/cli/src/ui/utils/summary-label.ts
@@ -14,7 +14,7 @@ import {
14
14
  init_esbuild_shims();
15
15
  async function getCliVersion() {
16
16
  const pkgJson = await getPackageJson();
17
- return "0.21.1";
17
+ return "0.21.4";
18
18
  }
19
19
  __name(getCliVersion, "getCliVersion");
20
20
  function formatVersionLabel(version) {
@@ -8,7 +8,7 @@ import {
8
8
  DEFAULT_WEB_SEARCH_TIMEOUT_MS,
9
9
  MAX_WEB_SEARCH_MAX_PER_SESSION,
10
10
  MAX_WEB_SEARCH_TIMEOUT_MS
11
- } from "./chunk-MDNLB3UK.js";
11
+ } from "./chunk-L2XUWSCW.js";
12
12
  import {
13
13
  DEFAULT_MAX_SUBAGENT_DEPTH,
14
14
  DEFAULT_MAX_TOOL_CALLS_PER_TURN,
@@ -19,7 +19,7 @@ import {
19
19
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
20
20
  GOAL_MAX_ACTIVE_MINUTES_CAP,
21
21
  GOAL_MAX_TURNS_CAP
22
- } from "./chunk-V44ZGIAX.js";
22
+ } from "./chunk-UQ62GSMW.js";
23
23
  import {
24
24
  DEFAULT_O1CODE_CUSTOM_IGNORE_FILE_NAMES
25
25
  } from "./chunk-OHAUN3Q5.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-PJF3WRYZ.js";
9
9
  import {
10
10
  formatHistoryGapNotice
11
- } from "./chunk-4FUZP37P.js";
11
+ } from "./chunk-YSOP3ENC.js";
12
12
  import {
13
13
  DAEMON_ERROR_KINDS,
14
14
  createDaemonTranscriptState,
@@ -24,11 +24,11 @@ import {
24
24
  import {
25
25
  isGoalCheckpointBookkeepingRecord,
26
26
  projectGoalCard
27
- } from "./chunk-B76JTBXH.js";
27
+ } from "./chunk-SCOXEQIU.js";
28
28
  import {
29
29
  observeToolResultBoundary,
30
30
  toolResultBoundaryArtifact
31
- } from "./chunk-V44ZGIAX.js";
31
+ } from "./chunk-UQ62GSMW.js";
32
32
  import {
33
33
  isShellResultDisplay
34
34
  } from "./chunk-GYGA6V6B.js";
@@ -2598,7 +2598,7 @@ async function collectSessionMetadata(conversation, config) {
2598
2598
  const gitBranch = firstRecord?.gitBranch;
2599
2599
  let gitRepo;
2600
2600
  if (cwd) {
2601
- const { getGitRepoName } = await import("./deferred-core-runtime-PKKIUQY7.js");
2601
+ const { getGitRepoName } = await import("./deferred-core-runtime-WLVUFGJN.js");
2602
2602
  gitRepo = getGitRepoName(cwd);
2603
2603
  }
2604
2604
  let model;
@@ -3432,7 +3432,7 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
3432
3432
  id="transcript-stylesheet"
3433
3433
  integrity="sha384-DkkBecJJXAdM7Uh0aAtW9u+3GGsRZGQ2WWxcUeV708Ta1crkjmeaM4Ko4yZmaiAx"
3434
3434
  crossorigin="anonymous"
3435
- href="https://unpkg.com/@organizaone/o1-code@0.21.1/export-transcript-document.css"
3435
+ href="https://unpkg.com/@organizaone/o1-code@0.21.4/export-transcript-document.css"
3436
3436
  />
3437
3437
  </head>
3438
3438
  <body>
@@ -3486,14 +3486,14 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
3486
3486
  <script
3487
3487
  nonce="__EXPORT_NONCE__"
3488
3488
  id="transcript-renderer"
3489
- integrity="sha384-uL/I62CsPrZpkVLDq8ajD/AxQFB2cQVd1H9DCexTb6a9Gh71jt1SNFrvYu4o6cUI"
3489
+ integrity="sha384-i4C4XgR2wu0U0/L6Z66SerOFtEa2t0vx6jMlHxazs+um3ZwGKGw16ufIfYPaEocs"
3490
3490
  crossorigin="anonymous"
3491
- src="https://unpkg.com/@organizaone/o1-code@0.21.1/export-transcript-document.js"
3491
+ src="https://unpkg.com/@organizaone/o1-code@0.21.4/export-transcript-document.js"
3492
3492
  ></script>
3493
3493
  </body>
3494
3494
  </html>
3495
3495
  `;
3496
- var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.21.1+53c96fdce3ef8bda";
3496
+ var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.21.4+53c96fdce3ef8bda";
3497
3497
  var EXPORT_TRANSCRIPT_RENDERER_LIMITS = Object.freeze({
3498
3498
  maxBlocks: 1e3,
3499
3499
  maxEnvelopeBytes: 33554432
@@ -7,7 +7,7 @@ import {
7
7
  readPeerControllerRegistrySync,
8
8
  resolveControllerToken,
9
9
  startPeerInbox
10
- } from "./chunk-B76JTBXH.js";
10
+ } from "./chunk-SCOXEQIU.js";
11
11
  import {
12
12
  InboundGate,
13
13
  MAX_HELD_MESSAGES,
@@ -7,11 +7,11 @@ import {
7
7
  applyDynamicHeaderValues,
8
8
  hasDynamicPlaceholder,
9
9
  warnIfDynamicHeadersDisabled
10
- } from "./chunk-TW6YBXRS.js";
10
+ } from "./chunk-E3SKGQ4O.js";
11
11
  import {
12
12
  BRAND,
13
13
  ORGANIZAONE_CLIENT_HEADERS
14
- } from "./chunk-HHESWHDQ.js";
14
+ } from "./chunk-K7W32X4B.js";
15
15
  import {
16
16
  init_esbuild_shims
17
17
  } from "./chunk-S2467S6L.js";
@@ -8,14 +8,14 @@ import {
8
8
  } from "./chunk-KQCQCJBL.js";
9
9
  import {
10
10
  DEFAULT_OPENAI_LOG_RETENTION_DAYS
11
- } from "./chunk-JTFJDKOH.js";
11
+ } from "./chunk-A2YXZRIN.js";
12
12
  import {
13
13
  resolveOpenAILogDir
14
14
  } from "./chunk-HVQQIKDI.js";
15
15
  import {
16
16
  FILE_HISTORY_DIR,
17
17
  getSubagentsRootDir
18
- } from "./chunk-V44ZGIAX.js";
18
+ } from "./chunk-UQ62GSMW.js";
19
19
  import {
20
20
  createDebugLogger,
21
21
  sessionIdContext