@organizaone/o1-code 0.2.0 → 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.
- package/bundled/qc-helper/docs/overview.md +1 -1
- package/bundled/qc-helper/docs/quickstart.md +1 -1
- package/bundled/qc-helper/docs/support/troubleshooting.md +2 -2
- package/chunks/{MaxSizedBox-V73WHA3L.js → MaxSizedBox-5SCM5KM2.js} +21 -21
- package/chunks/{StandaloneSessionPicker-FTDPOEPX.js → StandaloneSessionPicker-AJJBYDA3.js} +38 -38
- package/chunks/{acp-subagent-executor-VVRNVUN6.js → acp-subagent-executor-K3G5OOSP.js} +24 -24
- package/chunks/{acpAgent-Q4ZW2T2V.js → acpAgent-DKLAK5PM.js} +65 -65
- package/chunks/{agent-GBQJCUDW.js → agent-6OWW6WY2.js} +11 -11
- package/chunks/{agent-headless-EOYUGYXK.js → agent-headless-YPSZDZPG.js} +11 -11
- package/chunks/{anthropicContentGenerator-PTW3PJN2.js → anthropicContentGenerator-3IK5TV3K.js} +16 -9
- package/chunks/{bridge-HA6VKBU3.js → bridge-ZX33T7DG.js} +24 -24
- package/chunks/{ca-M4NNKUPB.js → ca-ZH46FQUI.js} +15 -1
- package/chunks/{chunk-PWTYZLRB.js → chunk-2CATNMFQ.js} +1 -1
- package/chunks/{chunk-DA2G3AZ5.js → chunk-2HHPWUTH.js} +5 -5
- package/chunks/{chunk-YOIBS52G.js → chunk-2KFLZ6RD.js} +2 -2
- package/chunks/{chunk-ICL5K33X.js → chunk-35HKXSBC.js} +4 -4
- package/chunks/{chunk-IMUVMGXA.js → chunk-3BYFQ2H6.js} +1 -1
- package/chunks/{chunk-CCT46CLM.js → chunk-3CMD4E67.js} +12 -10
- package/chunks/{chunk-2TEE2CP4.js → chunk-3WHURT5H.js} +1 -1
- package/chunks/{chunk-NWA3LR74.js → chunk-46QWU5NF.js} +1 -1
- package/chunks/{chunk-RPQ4TIHM.js → chunk-4OKN67QV.js} +1 -1
- package/chunks/{chunk-WQCZQWDE.js → chunk-4QRR663K.js} +1 -1
- package/chunks/{chunk-KMEKGSLT.js → chunk-4WPPTUCX.js} +2 -2
- package/chunks/{chunk-QIRRSETU.js → chunk-53EO7S4Y.js} +3 -3
- package/chunks/{chunk-4WXTBRBS.js → chunk-54A4EPMP.js} +6 -6
- package/chunks/{chunk-G3GTYPEZ.js → chunk-5D3SQUVZ.js} +21 -9
- package/chunks/{chunk-RFVTGDNU.js → chunk-5PY64ILO.js} +3 -3
- package/chunks/{chunk-3ZDJLLN3.js → chunk-5VYJVTAM.js} +2 -2
- package/chunks/{chunk-72HJ3I44.js → chunk-5WYIBYDU.js} +4 -4
- package/chunks/{chunk-O3RLVPVQ.js → chunk-62HSC5KO.js} +2 -2
- package/chunks/{chunk-YWAMOB6V.js → chunk-677NF5JH.js} +5 -5
- package/chunks/{chunk-ZWOP66WW.js → chunk-6IF6KATN.js} +2 -2
- package/chunks/{chunk-YXWTKPHK.js → chunk-6VAMW6I2.js} +1 -1
- package/chunks/{chunk-IGKMRYKE.js → chunk-7F23OSW4.js} +1 -1
- package/chunks/{chunk-CXT46I2S.js → chunk-7GTL3WHO.js} +9 -9
- package/chunks/{chunk-NEDFDKY7.js → chunk-7JU2ULBO.js} +41 -6
- package/chunks/{chunk-HLJJOIU5.js → chunk-7RYHVZAS.js} +2 -2
- package/chunks/{chunk-UNVZJ2IX.js → chunk-ATR7W3VI.js} +1 -1
- package/chunks/{chunk-BXY7MVTK.js → chunk-D3VJGSXW.js} +7 -7
- package/chunks/{chunk-MLVHTMF6.js → chunk-DGBGYBO4.js} +4 -4
- package/chunks/{chunk-XYIWNRIS.js → chunk-EPCKGEAE.js} +2 -2
- package/chunks/{chunk-BNZD466Q.js → chunk-EUHJ4MJD.js} +3 -3
- package/chunks/{chunk-GLYO25OO.js → chunk-EXWAECKM.js} +26 -1
- package/chunks/{chunk-5FRGB77D.js → chunk-FJAC7QWS.js} +2 -2
- package/chunks/{chunk-75BJCYVJ.js → chunk-FW5URUJS.js} +4 -4
- package/chunks/{chunk-2X4UQI7O.js → chunk-GY77YVM3.js} +4 -4
- package/chunks/{chunk-GGTPGIIC.js → chunk-H76MQGWH.js} +1 -1
- package/chunks/{chunk-SVWSVVKU.js → chunk-HWG2ZXRT.js} +5 -5
- package/chunks/{chunk-NG66G3A4.js → chunk-HWTDN2JB.js} +1 -1
- package/chunks/{chunk-H3MGVX2X.js → chunk-IBKJ7UBC.js} +3 -3
- package/chunks/{chunk-XPLSFA6Z.js → chunk-IBPA7P2S.js} +231 -134
- package/chunks/{chunk-UB5OHFWY.js → chunk-J4WTP4LX.js} +3 -3
- package/chunks/{chunk-752ACE23.js → chunk-J6YVMK2F.js} +5 -5
- package/chunks/{chunk-RCVVSO52.js → chunk-JASYFKBU.js} +3 -3
- package/chunks/{chunk-GMOM6IVG.js → chunk-JHFU5Z3V.js} +1 -1
- package/chunks/{chunk-DF74KSMK.js → chunk-K7L7Z5JJ.js} +10 -10
- package/chunks/{chunk-PRLOFLAQ.js → chunk-KU4ER5BM.js} +1 -1
- package/chunks/{chunk-4GMFMS2A.js → chunk-KUSGHH6D.js} +2 -2
- package/chunks/{chunk-MSFTFIG2.js → chunk-L65YOA4P.js} +2 -2
- package/chunks/{chunk-2AWC3WGL.js → chunk-L7A4D4IY.js} +1 -1
- package/chunks/{chunk-PFUZY3U7.js → chunk-M4M3XQJU.js} +3 -3
- package/chunks/{chunk-C5HYIIJH.js → chunk-N2WMG5XF.js} +2 -2
- package/chunks/{chunk-QIXODDVO.js → chunk-NIYI5272.js} +1 -1
- package/chunks/{chunk-4ADSMIZN.js → chunk-NVKVO57S.js} +1 -1
- package/chunks/{chunk-V67HPWC5.js → chunk-O3KQN6OE.js} +1 -1
- package/chunks/{chunk-Q6QQD2YF.js → chunk-O7LSTDIS.js} +1 -1
- package/chunks/{chunk-FJBLYNZI.js → chunk-OMKGBEIH.js} +16 -18
- package/chunks/{chunk-AQ7DE7KM.js → chunk-PB4XGSE6.js} +1 -1
- package/chunks/{chunk-MB6SYQBV.js → chunk-PC4V3VPG.js} +1 -1
- package/chunks/{chunk-2TVYS6EJ.js → chunk-PJLUCMQZ.js} +5 -5
- package/chunks/{chunk-E6ATIAX3.js → chunk-POMHQTHO.js} +5 -5
- package/chunks/{chunk-Z3XETWT6.js → chunk-PS7DDP2Q.js} +1 -1
- package/chunks/{chunk-BDZMDPWU.js → chunk-Q5D3WECC.js} +1 -1
- package/chunks/{chunk-ALVKYQEP.js → chunk-QHQFX3P5.js} +62 -57
- package/chunks/{chunk-DS5FODU7.js → chunk-QIZ34JTV.js} +4 -4
- package/chunks/{chunk-KM4VFJWU.js → chunk-QMW7RSXD.js} +1 -1
- package/chunks/{chunk-X73VDTOB.js → chunk-R5WDYBMX.js} +1 -1
- package/chunks/{chunk-IF2FN2EW.js → chunk-RQOEQ73K.js} +34 -1
- package/chunks/{chunk-CI53XHRQ.js → chunk-RTFUUYHW.js} +1 -1
- package/chunks/{chunk-B2BZ4OZB.js → chunk-RYBAJ5II.js} +1 -1
- package/chunks/{chunk-FGVEPCDK.js → chunk-RZCK3LM2.js} +30 -30
- package/chunks/{chunk-UQFND4FQ.js → chunk-S64M5W2S.js} +10 -10
- package/chunks/{chunk-W57V4GR4.js → chunk-S7CMT75P.js} +15 -15
- package/chunks/{chunk-WEWUIGBV.js → chunk-T3SMR7ET.js} +1 -1
- package/chunks/{chunk-F2IZCZRC.js → chunk-TLHPWOSA.js} +3 -3
- package/chunks/{chunk-MA24QZMF.js → chunk-TQO7BXBQ.js} +5 -5
- package/chunks/{chunk-W3A6FNTW.js → chunk-TTV7MBGI.js} +3 -3
- package/chunks/{chunk-H6QMOC36.js → chunk-UIBQ77SC.js} +3 -3
- package/chunks/{chunk-4GBOSJAY.js → chunk-UVUHDO2Y.js} +1 -1
- package/chunks/{chunk-PRI34PWO.js → chunk-V2R5TAQQ.js} +1 -1
- package/chunks/{chunk-KW4M3XCZ.js → chunk-V5YZXZMM.js} +2 -2
- package/chunks/{chunk-VRIGHAU6.js → chunk-VGR4BKLQ.js} +1 -1
- package/chunks/{chunk-ZJYPSOBM.js → chunk-VIYT2NE4.js} +7 -7
- package/chunks/{chunk-HKASQQYC.js → chunk-WRQYAWUW.js} +3 -3
- package/chunks/{chunk-CL35K5LE.js → chunk-WSWWZ7IT.js} +2 -2
- package/chunks/{chunk-BAXUSVZT.js → chunk-WX53PW47.js} +7 -0
- package/chunks/{chunk-WNMZOGMZ.js → chunk-WYUR66BU.js} +8 -8
- package/chunks/{chunk-Y6GS7FJE.js → chunk-X2HM423P.js} +8 -5
- package/chunks/{chunk-YWP7LG4W.js → chunk-X62LTOGE.js} +58 -67
- package/chunks/{chunk-4MP5VB2E.js → chunk-XAA77MEC.js} +3 -3
- package/chunks/{chunk-52CAXV44.js → chunk-XJXDZPSD.js} +3 -3
- package/chunks/{chunk-4NVUBXS2.js → chunk-XKPECZJM.js} +1 -1
- package/chunks/{chunk-RXDOMWT2.js → chunk-XMBUOPZG.js} +8 -8
- package/chunks/{chunk-2PXHYHTF.js → chunk-YEOU65NW.js} +1 -1
- package/chunks/{chunk-EE3FFILZ.js → chunk-YS57I3OQ.js} +3 -3
- package/chunks/{chunk-WQGG3JTV.js → chunk-Z4H2RDAF.js} +1 -1
- package/chunks/{codex-subagent-executor-TVPPN655.js → codex-subagent-executor-URK6CSXE.js} +24 -24
- package/chunks/{contextCommand-VLH5U6NN.js → contextCommand-NFZZE3E4.js} +23 -23
- package/chunks/{core-runtime-TEBBEX7L.js → core-runtime-QX52LNEY.js} +21 -21
- package/chunks/{create-sub-session-VU4ZLM72.js → create-sub-session-2JFP4FMQ.js} +22 -22
- package/chunks/{daemon-git-worktree-guard-C5QP7PCU.js → daemon-git-worktree-guard-7JVFR6J3.js} +21 -21
- package/chunks/{daemon-status-provider-4VIY3HJ5.js → daemon-status-provider-GGAO5SSF.js} +29 -29
- package/chunks/{daemon-trust-policy-WAFROOXL.js → daemon-trust-policy-D6AWUEZK.js} +27 -27
- package/chunks/{daemon-trust-policy-monitor-QO5RNX4F.js → daemon-trust-policy-monitor-77JEJNAK.js} +27 -27
- package/chunks/{de-JHSPOAZW.js → de-OBLDRYWI.js} +15 -1
- package/chunks/{deferred-core-runtime-US2X2TSA.js → deferred-core-runtime-XBSMNSGZ.js} +21 -21
- package/chunks/{edit-MFVBXC46.js → edit-4AFGA6RJ.js} +13 -13
- package/chunks/{en-XUUVEXAQ.js → en-NKO6N4BL.js} +20 -1
- package/chunks/{enterPlanMode-4KSAZCP4.js → enterPlanMode-GWCLJSPB.js} +11 -11
- package/chunks/{environment-ARK3AP5K.js → environment-GB72GJFP.js} +23 -23
- package/chunks/{errors-EP7F3SDZ.js → errors-UB6Y6QB7.js} +23 -23
- package/chunks/{execution-tool-TETOFNXW.js → execution-tool-SM65QD3E.js} +13 -13
- package/chunks/{execution-worker-KG2IWAIR.js → execution-worker-277RP2BS.js} +16 -16
- package/chunks/{exitPlanMode-V3GV5WG5.js → exitPlanMode-YL44MDSN.js} +11 -11
- package/chunks/{fast-path-CPASDXSX.js → fast-path-BHS3UUDU.js} +2 -2
- package/chunks/{fr-JI2EQF4J.js → fr-24RYKQP7.js} +15 -1
- package/chunks/{glob-HYH7QGDU.js → glob-RMPRZBBM.js} +11 -11
- package/chunks/{glyphs-XNBEETBI.js → glyphs-YRPM3EUI.js} +3 -1
- package/chunks/{goal-tools-ZI2C5QDC.js → goal-tools-IARELLX6.js} +11 -11
- package/chunks/{handleAutoUpdate-NJUJCLJH.js → handleAutoUpdate-B6H2CUWG.js} +24 -24
- package/chunks/{i18n-BZTTMOBV.js → i18n-PEUDBKCF.js} +22 -22
- package/chunks/{initializer-X6VLRRJ6.js → initializer-5CTPR23V.js} +27 -27
- package/chunks/{installationInfo-MVMIXHPQ.js → installationInfo-RKF4FYYG.js} +21 -21
- package/chunks/{ja-ZC5YWQD6.js → ja-NY2HNPE4.js} +15 -1
- package/chunks/{list-3VDXHUJD.js → list-JFHTQZXB.js} +29 -29
- package/chunks/{llm-EJ26UDUT.js → llm-ZBVAGEV2.js} +54 -54
- package/chunks/{llm-content-generator-E3WAIAZS.js → llm-content-generator-5ELI577U.js} +3 -3
- package/chunks/{loadedSettingsAdapter-WNWZXREY.js → loadedSettingsAdapter-A63DFE7G.js} +27 -27
- package/chunks/{local-execution-environment-FOCXJ4ON.js → local-execution-environment-JYU5ETM4.js} +16 -16
- package/chunks/{loggingContentGenerator-NHJMUX5Z.js → loggingContentGenerator-SCVT5IMD.js} +12 -12
- package/chunks/{managed-npm-update-6RMNFVD5.js → managed-npm-update-CW3A5IYM.js} +21 -21
- package/chunks/{mcp-AB4AAG6B.js → mcp-XCJSXNQS.js} +27 -27
- package/chunks/{model-call-collection-BNFZLO6L.js → model-call-collection-QHVB4RVP.js} +1 -1
- package/chunks/{model-configuration-XYTNKKMB.js → model-configuration-FMD3UX64.js} +28 -28
- package/chunks/{modelConfigUtils-WT2ABPC5.js → modelConfigUtils-BLJJCU4P.js} +23 -23
- package/chunks/{monitor-PZIN2OWB.js → monitor-ZCZL365W.js} +11 -11
- package/chunks/{nonInteractiveCli-7IGU7YYX.js → nonInteractiveCli-ND5K3Z6K.js} +56 -56
- package/chunks/{nonInteractiveToolExecutor-DE6AOKSD.js → nonInteractiveToolExecutor-JDDFIDEA.js} +12 -12
- package/chunks/{notebook-edit-YD636F6G.js → notebook-edit-AW454CFZ.js} +12 -12
- package/chunks/{omni-6IG5C3VK.js → omni-5ALTY2B4.js} +8 -8
- package/chunks/{openaiContentGenerator-MVIH4NAI.js → openaiContentGenerator-SKPNHTOM.js} +6 -6
- package/chunks/{openaiResponsesContentGenerator-4XSNRRX2.js → openaiResponsesContentGenerator-G2PVJMGK.js} +3 -3
- package/chunks/{processUtils-AZK3LDTF.js → processUtils-HED6IV7T.js} +2 -2
- package/chunks/{prompt-terminal-ledger-OPZETIYM.js → prompt-terminal-ledger-IAHXPZ2K.js} +22 -22
- package/chunks/{pt-JUQ2JQIC.js → pt-DFSLPV3S.js} +29 -1
- package/chunks/{reactive-degrade-SJ6ORTGN.js → reactive-degrade-UDGAMHBZ.js} +7 -7
- package/chunks/{read-file-ADBQNZGS.js → read-file-VM6TL6KB.js} +2 -2
- package/chunks/{resumeHistoryUtils-FW4AZHA4.js → resumeHistoryUtils-PRCLL7VH.js} +26 -26
- package/chunks/{ripGrep-SQXXHC7O.js → ripGrep-RIKFZ5VR.js} +4 -4
- package/chunks/{ru-GQ5T2OCQ.js → ru-VIGQVLUG.js} +15 -1
- package/chunks/{run-o1-code-serve-FEUD6TQT.js → run-o1-code-serve-D4MM64ZN.js} +32 -32
- package/chunks/{sandboxConfig-2IUK55F4.js → sandboxConfig-RMU6PWYZ.js} +21 -21
- package/chunks/{scheduled-tasks-AEZTYJRL.js → scheduled-tasks-4GGMZT2G.js} +27 -27
- package/chunks/{scheduler-JSW4BQQT.js → scheduler-VROKOD3O.js} +23 -23
- package/chunks/{serve-4E4FNN2Z.js → serve-GK3X7AVS.js} +27 -27
- package/chunks/{server-7IA2ELA4.js → server-YQ4IHB2Z.js} +57 -57
- package/chunks/{session-TMTS5KDD.js → session-2IHZ5JXU.js} +57 -57
- package/chunks/{session-attachments-root-PQAEMYZC.js → session-attachments-root-AR5PGJNN.js} +21 -21
- package/chunks/{session-pr-refresh-YMHERG3N.js → session-pr-refresh-PIZTNB2B.js} +26 -26
- package/chunks/{settings-RJ3JXS2H.js → settings-ODFKFJAO.js} +26 -26
- package/chunks/{shell-J4MUL2K5.js → shell-C3DRI7IE.js} +11 -11
- package/chunks/{skill-IFJT5A5Q.js → skill-2EZBO4KR.js} +3 -3
- package/chunks/{skill-settings-XSBDZQ4P.js → skill-settings-VUTNOTIK.js} +27 -27
- package/chunks/{spawnChannel-3YRAHZYC.js → spawnChannel-IQQIBRY4.js} +23 -23
- package/chunks/{standalone-update-TAPIQGCS.js → standalone-update-DK57ZQVB.js} +23 -23
- package/chunks/{startInteractiveUI-A5E2XZDS.js → startInteractiveUI-JXO3ANAJ.js} +454 -201
- package/chunks/{team-create-LQQF7SHV.js → team-create-SPQB4ZIQ.js} +11 -11
- package/chunks/{team-plan-approval-RPZK4IUT.js → team-plan-approval-DSGKM6D4.js} +11 -11
- package/chunks/{terminal-image-renderer-W7CDT6WT.js → terminal-image-renderer-F46UJJR7.js} +21 -21
- package/chunks/{theme-manager-5YX645BD.js → theme-manager-XHLUGDMV.js} +21 -21
- package/chunks/{tool-result-media-FX2LTMCF.js → tool-result-media-UVGNZWQ7.js} +8 -8
- package/chunks/{tool-search-IZCJTIH4.js → tool-search-TTHUGA3R.js} +2 -2
- package/chunks/{total-session-admission-6PICEJXD.js → total-session-admission-IAZTBDST.js} +24 -24
- package/chunks/{tree-sitter-GTI4UDVD.js → tree-sitter-KOGCLBE7.js} +1 -1
- package/chunks/{tree-sitter-bash-2VBXAONQ.js → tree-sitter-bash-6WVJG6KQ.js} +1 -1
- package/chunks/{trustedFolders-5S2UMQON.js → trustedFolders-FIKJDDCU.js} +22 -22
- package/chunks/{update-relaunch-FD66JHGR.js → update-relaunch-QM4HHYSH.js} +5 -5
- package/chunks/{updateCheck-2EIG5IUN.js → updateCheck-SHHRTDIC.js} +23 -23
- package/chunks/{upload-config-NDKI6DAB.js → upload-config-EB7CHHBR.js} +5 -5
- package/chunks/{useAutoAcceptIndicator-B7Y4WMST.js → useAutoAcceptIndicator-IXO3W3HW.js} +29 -29
- package/chunks/{validateNonInterActiveAuth-O3MGKE7Q.js → validateNonInterActiveAuth-76YN2FKV.js} +53 -53
- package/chunks/{version-XCWZM57S.js → version-SGBHVOAU.js} +1 -1
- package/chunks/{web-fetch-EQO2O2VQ.js → web-fetch-RKLVSDYG.js} +2 -2
- package/chunks/{web-search-Q5EEHHVM.js → web-search-7OFCLM4E.js} +6 -6
- package/chunks/{workflow-22KQDI75.js → workflow-FLGREXLS.js} +12 -12
- package/chunks/{workspace-providers-status-Q6X4XUYQ.js → workspace-providers-status-Z5XTDXZO.js} +33 -33
- package/chunks/{workspace-registration-store-CNAVIECG.js → workspace-registration-store-I257THQX.js} +1 -1
- package/chunks/{workspace-registry-HKNRFBFC.js → workspace-registry-DTSUSPQJ.js} +24 -24
- package/chunks/{workspace-runtime-coordinator-FXUIMXJM.js → workspace-runtime-coordinator-7OPXPAWA.js} +25 -25
- package/chunks/{workspace-service-SOZF52CR.js → workspace-service-DNZFALOP.js} +31 -31
- package/chunks/{workspace-skills-status-UHFUOJ6A.js → workspace-skills-status-VH3GD2S3.js} +30 -30
- package/chunks/{workspace-trust-reconciler-ZHT6NLS7.js → workspace-trust-reconciler-LCBJTVGU.js} +30 -30
- package/chunks/{write-file-VB37UMJ3.js → write-file-NZJANURY.js} +13 -13
- package/chunks/{zh-TW-OQK3G3QS.js → zh-TW-S4AGRCDA.js} +15 -1
- package/chunks/{zh-232DP7PO.js → zh-ZJAHWOYM.js} +15 -1
- package/chunks/{zoom-image-VAFGD3HT.js → zoom-image-3UVOSRAZ.js} +2 -2
- package/cli.js +12 -12
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/ca.js +18 -2
- package/locales/de.js +18 -2
- package/locales/en.js +25 -2
- package/locales/fr.js +19 -2
- package/locales/ja.js +17 -2
- package/locales/pt.js +42 -2
- package/locales/ru.js +17 -2
- package/locales/zh-TW.js +17 -2
- package/locales/zh.js +17 -2
- package/package.json +5 -3
- package/release-notes.json +54 -0
- package/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/vendor/ripgrep/arm64-linux/rg +0 -0
- package/vendor/ripgrep/x64-darwin/rg +0 -0
- package/vendor/ripgrep/x64-linux/rg +0 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-B5Ke_KA5.js → abnfDiagram-VCTEODGH-DkmBSa44.js} +1 -1
- package/web-shell/assets/{arc-B1qynd1m.js → arc-B6QJJ8tD.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-Bo2Og8So.js → architectureDiagram-5GKGNRK7-Dfqoi9lk.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-kalc7i2S.js → blockDiagram-NRAW4CY4-DclmlLhY.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-oX7qDAy5.js → c4Diagram-UCG6FXSJ-0gbQb3pK.js} +1 -1
- package/web-shell/assets/channel-COSuEQ94.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-CdsvFoWz.js → chunk-2Q5K7J3B-BAfaryX9.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-h6a94_sB.js → chunk-5VM5RSS4-xSewF8tm.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-CEwYaABr.js → chunk-F27PBJKO-ChEgStih.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-yEWrtz51.js → chunk-G27WJ6UU-BAVY2RkO.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-CNt8svY0.js → chunk-JWPE2WC7-BXOwTSzw.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-CO8h8N4s.js → chunk-LCL6LL3I-nw5Rmnmd.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H--97nZCs4.js → chunk-POPQ4Y6H-DIDQ5Zzu.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-CrBqH_0p.js → chunk-SVP7TREG-CjdgAA3l.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DYBwZlEC.js → chunk-XXDRQBXY-CKoYFCQo.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DUKWtFFX.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DUKWtFFX.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-BI6cg4Nw.js → cose-bilkent-JH36ORCC-OKMrJSR7.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-DWsVe9_U.js → cynefin-OW5HDTMX-BDE2ih0w.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-DAxM2E5v.js → cynefinDiagram-5FMLGOSQ-DHgwp6ZM.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-Csd4TrEZ.js → dagre-3AP2YEHR-mHCyf6A6.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-CZ6KoFvv.js → diagram-S7CK7UJ4-CHeZ9YMQ.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-C_zSZZrU.js → diagram-UQ7AKVKN-D3jwKiUo.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-D21OQ6jJ.js → diagram-VSXAHHWV-z9gvH87B.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-Bh8doGDX.js → diagram-VX7I27RA-DBdwXye9.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-ycuZhkFW.js → diagram-Z3DM3KII-BZrQD3_5.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-dP4KzRYn.js → ebnfDiagram-PWID7BFC-CsdYNOhn.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-DoRwOt_Y.js → erDiagram-SSCWMZ5O-kLiDhj_x.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-Bs_Q8wlJ.js → flowDiagram-A5DVABFB-7E_nqNi9.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-CW2vcPYN.js → ganttDiagram-EL5Y4UJY-frx7zvbA.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DZ2UuoGO.js → gitGraphDiagram-WWUBYQGX-DkyMPkwJ.js} +1 -1
- package/web-shell/assets/{index-dZaziiFt.js → index-EoFfssG4.js} +3 -3
- package/web-shell/assets/{index-btdIWcPL.js → index-oMwDI29g.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-DjwP-C9t.js → infoDiagram-RXCK75RN-XljVTrU8.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CzlNr5A6.js → ishikawaDiagram-5VMMS53U-C9WCq-5V.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BxI_Odzn.js → journeyDiagram-EYS64GPL-DXu9g9Sy.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-CIXIFlN5.js → kanban-definition-3QL26DDD-Doy--c8N.js} +1 -1
- package/web-shell/assets/{layout-zhMMoLb5.js → layout-CS7r1tO4.js} +1 -1
- package/web-shell/assets/{linear-DlmiiwPB.js → linear-CzSHv-4-.js} +1 -1
- package/web-shell/assets/{mermaid.core-DG4XCyc-.js → mermaid.core-7BsQ3zED.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-CPdP5QyM.js → mindmap-definition-FBJOCRG2-yHWxnbXN.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-TTLkUBQq.js → pegDiagram-XKGWAZYB-DHUzJJRt.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-CHMG5WAd.js → pieDiagram-E7YTZNPT-CRjSY45J.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-B6v717XG.js → quadrantDiagram-AXDQQJYC-CUKQicAO.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-7REF-aZC.js → railroadDiagram-O6MQD6OU-CeIaRI86.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BjFz3Hm4.js → requirementDiagram-EFPCY7ZU-CkdesAuv.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-Lk_RCjBf.js → sankeyDiagram-P5KCCOFB-DRv4I5Uy.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DivlUEQF.js → sequenceDiagram-WJ2MYXX4-BUIm21Ol.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-286tElfp.js → sizeCapture-X5ZJPWSS-W69Ocb71.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BdRjq5u2.js → stateDiagram-HBIQ2CUA-DD0RyKZg.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-C5kAp2c6.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-BluwdYxC.js → swimlanes-XN3QIQJK-vsonhOlr.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DP2NE03a.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-rcFET3EF.js → timeline-definition-24CTP7MA-DjdRx1i_.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-CT4_CP7r.js → vennDiagram-4TSXK5OY-CPVhp0Hy.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-BqO1UfYm.js → wardleyDiagram-VM6X3IG4-M6mqQteg.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-DCvzC9lc.js → xychartDiagram-S5SC5T6Z-Cli-2870.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-B-Ry6wUm.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-D_sONtS4.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-D_sONtS4.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Def1pisf.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BeMgzclT.js +0 -8
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
enableMouseEvents,
|
|
6
6
|
useKeypress,
|
|
7
7
|
useKeypressContext
|
|
8
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
54
|
+
} from "./chunk-VIYT2NE4.js";
|
|
55
55
|
import {
|
|
56
56
|
formatDuration,
|
|
57
57
|
formatRelativeTime,
|
|
58
58
|
formatTokenCount
|
|
59
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
104
|
+
} from "./chunk-T3SMR7ET.js";
|
|
104
105
|
import {
|
|
105
106
|
getErrorMessage
|
|
106
|
-
} from "./chunk-
|
|
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-
|
|
126
|
+
} from "./chunk-35HKXSBC.js";
|
|
126
127
|
import {
|
|
127
128
|
getPersistScopeForModelSelection
|
|
128
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-2HHPWUTH.js";
|
|
129
130
|
import {
|
|
130
131
|
getCurrentLanguage,
|
|
131
132
|
localizeToolDisplayName,
|
|
132
133
|
t
|
|
133
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-3CMD4E67.js";
|
|
134
135
|
import {
|
|
135
136
|
isWorkspaceTrusted
|
|
136
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-HWTDN2JB.js";
|
|
137
138
|
import {
|
|
138
139
|
sanitizeForOsc,
|
|
139
140
|
supportsHyperlinks,
|
|
140
141
|
wrapForMultiplexer
|
|
141
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
186
|
+
} from "./chunk-3WHURT5H.js";
|
|
186
187
|
import {
|
|
187
188
|
isTerminalImageDisplay
|
|
188
189
|
} from "./chunk-JOFGX5ZA.js";
|
|
@@ -6609,29 +6610,46 @@ var ContinuationMarkdownMessage = /* @__PURE__ */ __name(({
|
|
|
6609
6610
|
omittedImageCount !== void 0 && omittedImageCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Text, { dimColor: true, children: formatInlineImageOverflow(omittedImageCount) })
|
|
6610
6611
|
] });
|
|
6611
6612
|
}, "ContinuationMarkdownMessage");
|
|
6612
|
-
var
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6613
|
+
var userMessageBar = /* @__PURE__ */ __name((bar) => ({
|
|
6614
|
+
topLeft: "",
|
|
6615
|
+
top: "",
|
|
6616
|
+
topRight: "",
|
|
6617
|
+
left: bar,
|
|
6618
|
+
bottomLeft: "",
|
|
6619
|
+
bottom: "",
|
|
6620
|
+
bottomRight: "",
|
|
6621
|
+
right: ""
|
|
6622
|
+
}), "userMessageBar");
|
|
6623
|
+
var UserMessage = /* @__PURE__ */ __name(({ text, marker }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
6624
|
+
Box_default,
|
|
6625
|
+
{
|
|
6626
|
+
borderStyle: userMessageBar(glyphs().userBar),
|
|
6627
|
+
borderTop: false,
|
|
6628
|
+
borderRight: false,
|
|
6629
|
+
borderBottom: false,
|
|
6630
|
+
borderLeftColor: extendedTheme.ui.brand,
|
|
6631
|
+
paddingLeft: 1,
|
|
6632
|
+
marginTop: 1,
|
|
6633
|
+
alignSelf: "flex-start",
|
|
6634
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
6635
|
+
PrefixedTextMessage,
|
|
6636
|
+
{
|
|
6637
|
+
text,
|
|
6638
|
+
prefix: marker === "done" ? glyphs().done : glyphs().prompt,
|
|
6639
|
+
prefixNode: marker === "waiting" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
6640
|
+
Spinner,
|
|
6641
|
+
{
|
|
6642
|
+
color: extendedTheme.ui.brand,
|
|
6643
|
+
altText: SCREEN_READER_USER_PREFIX
|
|
6644
|
+
}
|
|
6645
|
+
) : void 0,
|
|
6646
|
+
suffix: marker === "running" ? " \u2026" : void 0,
|
|
6647
|
+
prefixColor: extendedTheme.ui.brand,
|
|
6648
|
+
textColor: extendedTheme.ui.brandSoft,
|
|
6649
|
+
ariaLabel: SCREEN_READER_USER_PREFIX
|
|
6650
|
+
}
|
|
6651
|
+
)
|
|
6652
|
+
}
|
|
6635
6653
|
), "UserMessage");
|
|
6636
6654
|
var UserShellMessage = /* @__PURE__ */ __name(({ text }) => {
|
|
6637
6655
|
const commandToDisplay = text.startsWith("!") ? text.substring(1) : text;
|
|
@@ -18179,8 +18197,86 @@ function getScreenBuffer(stdout) {
|
|
|
18179
18197
|
}
|
|
18180
18198
|
__name(getScreenBuffer, "getScreenBuffer");
|
|
18181
18199
|
|
|
18182
|
-
// packages/cli/src/ui/components/
|
|
18200
|
+
// packages/cli/src/ui/components/messages/UpdateNotice.tsx
|
|
18201
|
+
init_esbuild_shims();
|
|
18183
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);
|
|
18184
18280
|
var ClickableThinkMessage = /* @__PURE__ */ __name(({
|
|
18185
18281
|
text,
|
|
18186
18282
|
isPending,
|
|
@@ -18238,7 +18334,7 @@ var ClickableThinkMessage = /* @__PURE__ */ __name(({
|
|
|
18238
18334
|
),
|
|
18239
18335
|
{ isActive }
|
|
18240
18336
|
);
|
|
18241
|
-
return /* @__PURE__ */ (0,
|
|
18337
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { ref: isActive ? ref : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18242
18338
|
ThinkMessage,
|
|
18243
18339
|
{
|
|
18244
18340
|
text,
|
|
@@ -18311,8 +18407,8 @@ var CollapsibleToolGroupMessage = /* @__PURE__ */ __name(({ expansionKey, ...pro
|
|
|
18311
18407
|
),
|
|
18312
18408
|
{ isActive: collapsed && clickable }
|
|
18313
18409
|
);
|
|
18314
|
-
if (!collapsed) return /* @__PURE__ */ (0,
|
|
18315
|
-
return /* @__PURE__ */ (0,
|
|
18410
|
+
if (!collapsed) return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ToolGroupMessage, { ...props });
|
|
18411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18316
18412
|
ToolGroupMessage,
|
|
18317
18413
|
{
|
|
18318
18414
|
...props,
|
|
@@ -18387,7 +18483,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18387
18483
|
const itemForDisplay = (0, import_react48.useMemo)(() => escapeAnsiCtrlCodes(item), [item]);
|
|
18388
18484
|
const contentWidth = terminalWidth - 4;
|
|
18389
18485
|
const boxWidth = mainAreaWidth || contentWidth;
|
|
18390
|
-
return /* @__PURE__ */ (0,
|
|
18486
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
18391
18487
|
Box_default,
|
|
18392
18488
|
{
|
|
18393
18489
|
flexDirection: "column",
|
|
@@ -18395,17 +18491,17 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18395
18491
|
marginLeft: 2,
|
|
18396
18492
|
marginRight: 2,
|
|
18397
18493
|
children: [
|
|
18398
|
-
itemForDisplay.type === "user" && /* @__PURE__ */ (0,
|
|
18494
|
+
itemForDisplay.type === "user" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18399
18495
|
UserMessage,
|
|
18400
18496
|
{
|
|
18401
18497
|
text: itemForDisplay.text,
|
|
18402
18498
|
marker: turnMarker ?? (itemForDisplay.turnOutcome === "done" ? "done" : void 0)
|
|
18403
18499
|
}
|
|
18404
18500
|
),
|
|
18405
|
-
itemForDisplay.type === "notification" && /* @__PURE__ */ (0,
|
|
18406
|
-
itemForDisplay.type === "user_shell" && /* @__PURE__ */ (0,
|
|
18407
|
-
itemForDisplay.type === "gemini" && /* @__PURE__ */ (0,
|
|
18408
|
-
showTimestamps && itemForDisplay.timestamp != null && /* @__PURE__ */ (0,
|
|
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: [
|
|
18409
18505
|
"[",
|
|
18410
18506
|
new Date(itemForDisplay.timestamp).toLocaleTimeString("en-US", {
|
|
18411
18507
|
hour12: false,
|
|
@@ -18415,7 +18511,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18415
18511
|
}),
|
|
18416
18512
|
"]"
|
|
18417
18513
|
] }),
|
|
18418
|
-
/* @__PURE__ */ (0,
|
|
18514
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18419
18515
|
AssistantMessage,
|
|
18420
18516
|
{
|
|
18421
18517
|
text: itemForDisplay.text,
|
|
@@ -18428,7 +18524,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18428
18524
|
}
|
|
18429
18525
|
)
|
|
18430
18526
|
] }),
|
|
18431
|
-
itemForDisplay.type === "gemini_content" && /* @__PURE__ */ (0,
|
|
18527
|
+
itemForDisplay.type === "gemini_content" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18432
18528
|
AssistantMessageContent,
|
|
18433
18529
|
{
|
|
18434
18530
|
text: itemForDisplay.text,
|
|
@@ -18440,7 +18536,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18440
18536
|
sourceCopyIndexOffsets
|
|
18441
18537
|
}
|
|
18442
18538
|
),
|
|
18443
|
-
itemForDisplay.type === "gemini_thought" && /* @__PURE__ */ (0,
|
|
18539
|
+
itemForDisplay.type === "gemini_thought" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18444
18540
|
ClickableThinkMessage,
|
|
18445
18541
|
{
|
|
18446
18542
|
text: itemForDisplay.text.trimEnd(),
|
|
@@ -18452,7 +18548,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18452
18548
|
onToggle: () => toggleThought(thoughtGroupHeadId)
|
|
18453
18549
|
}
|
|
18454
18550
|
),
|
|
18455
|
-
itemForDisplay.type === "gemini_thought_content" && /* @__PURE__ */ (0,
|
|
18551
|
+
itemForDisplay.type === "gemini_thought_content" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18456
18552
|
ThinkMessageContent,
|
|
18457
18553
|
{
|
|
18458
18554
|
text: itemForDisplay.text.trimEnd(),
|
|
@@ -18462,7 +18558,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18462
18558
|
contentWidth
|
|
18463
18559
|
}
|
|
18464
18560
|
),
|
|
18465
|
-
itemForDisplay.type === "info" && /* @__PURE__ */ (0,
|
|
18561
|
+
itemForDisplay.type === "info" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18466
18562
|
InfoMessage,
|
|
18467
18563
|
{
|
|
18468
18564
|
text: itemForDisplay.text,
|
|
@@ -18470,26 +18566,27 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18470
18566
|
linkText: itemForDisplay.linkText
|
|
18471
18567
|
}
|
|
18472
18568
|
),
|
|
18473
|
-
itemForDisplay.type === "success" && /* @__PURE__ */ (0,
|
|
18474
|
-
itemForDisplay.type === "
|
|
18475
|
-
itemForDisplay.type === "
|
|
18476
|
-
itemForDisplay.type === "
|
|
18477
|
-
itemForDisplay.type === "
|
|
18478
|
-
itemForDisplay.type === "
|
|
18479
|
-
itemForDisplay.type === "
|
|
18480
|
-
itemForDisplay.type === "
|
|
18481
|
-
itemForDisplay.type === "
|
|
18482
|
-
itemForDisplay.type === "
|
|
18483
|
-
itemForDisplay.type === "
|
|
18484
|
-
itemForDisplay.type === "
|
|
18485
|
-
itemForDisplay.type === "
|
|
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)(
|
|
18486
18583
|
SessionSummaryDisplay,
|
|
18487
18584
|
{
|
|
18488
18585
|
duration: itemForDisplay.duration,
|
|
18489
18586
|
width: boxWidth
|
|
18490
18587
|
}
|
|
18491
18588
|
),
|
|
18492
|
-
itemForDisplay.type === "tool_group" && /* @__PURE__ */ (0,
|
|
18589
|
+
itemForDisplay.type === "tool_group" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18493
18590
|
CollapsibleToolGroupMessage,
|
|
18494
18591
|
{
|
|
18495
18592
|
toolCalls: itemForDisplay.tools,
|
|
@@ -18507,14 +18604,14 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18507
18604
|
expansionKey: itemForDisplay.batchId
|
|
18508
18605
|
}
|
|
18509
18606
|
),
|
|
18510
|
-
itemForDisplay.type === "tool_use_summary" && /* @__PURE__ */ (0,
|
|
18511
|
-
/* @__PURE__ */ (0,
|
|
18512
|
-
/* @__PURE__ */ (0,
|
|
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 })
|
|
18513
18610
|
] }),
|
|
18514
|
-
itemForDisplay.type === "compression" && /* @__PURE__ */ (0,
|
|
18515
|
-
itemForDisplay.type === "summary" && /* @__PURE__ */ (0,
|
|
18516
|
-
itemForDisplay.type === "extensions_list" && /* @__PURE__ */ (0,
|
|
18517
|
-
itemForDisplay.type === "tools_list" && /* @__PURE__ */ (0,
|
|
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)(
|
|
18518
18615
|
ToolsList,
|
|
18519
18616
|
{
|
|
18520
18617
|
contentWidth,
|
|
@@ -18522,9 +18619,9 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18522
18619
|
showDescriptions: itemForDisplay.showDescriptions
|
|
18523
18620
|
}
|
|
18524
18621
|
),
|
|
18525
|
-
itemForDisplay.type === "skills_list" && /* @__PURE__ */ (0,
|
|
18526
|
-
itemForDisplay.type === "mcp_status" && /* @__PURE__ */ (0,
|
|
18527
|
-
itemForDisplay.type === "context_usage" && /* @__PURE__ */ (0,
|
|
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)(
|
|
18528
18625
|
ContextUsage,
|
|
18529
18626
|
{
|
|
18530
18627
|
modelName: itemForDisplay.modelName,
|
|
@@ -18539,7 +18636,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18539
18636
|
showDetails: itemForDisplay.showDetails
|
|
18540
18637
|
}
|
|
18541
18638
|
),
|
|
18542
|
-
itemForDisplay.type === "doctor" && /* @__PURE__ */ (0,
|
|
18639
|
+
itemForDisplay.type === "doctor" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18543
18640
|
DoctorReport,
|
|
18544
18641
|
{
|
|
18545
18642
|
checks: itemForDisplay.checks,
|
|
@@ -18547,8 +18644,8 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18547
18644
|
width: boxWidth
|
|
18548
18645
|
}
|
|
18549
18646
|
),
|
|
18550
|
-
itemForDisplay.type === "arena_agent_complete" && /* @__PURE__ */ (0,
|
|
18551
|
-
itemForDisplay.type === "arena_session_complete" && /* @__PURE__ */ (0,
|
|
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)(
|
|
18552
18649
|
ArenaSessionCard,
|
|
18553
18650
|
{
|
|
18554
18651
|
sessionStatus: itemForDisplay.sessionStatus,
|
|
@@ -18558,9 +18655,9 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18558
18655
|
width: boxWidth
|
|
18559
18656
|
}
|
|
18560
18657
|
),
|
|
18561
|
-
itemForDisplay.type === "insight_progress" && /* @__PURE__ */ (0,
|
|
18562
|
-
itemForDisplay.type === "btw" && itemForDisplay.btw && /* @__PURE__ */ (0,
|
|
18563
|
-
itemForDisplay.type === "advisor" && /* @__PURE__ */ (0,
|
|
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)(
|
|
18564
18661
|
AdvisorMessage,
|
|
18565
18662
|
{
|
|
18566
18663
|
text: itemForDisplay.text,
|
|
@@ -18568,20 +18665,20 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18568
18665
|
containerWidth: contentWidth
|
|
18569
18666
|
}
|
|
18570
18667
|
),
|
|
18571
|
-
itemForDisplay.type === "user_prompt_submit_blocked" && /* @__PURE__ */ (0,
|
|
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:
|
|
18572
18669
|
${itemForDisplay.reason}
|
|
18573
18670
|
|
|
18574
18671
|
Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
|
|
18575
|
-
itemForDisplay.type === "stop_hook_loop" && /* @__PURE__ */ (0,
|
|
18672
|
+
itemForDisplay.type === "stop_hook_loop" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18576
18673
|
InfoMessage,
|
|
18577
18674
|
{
|
|
18578
18675
|
text: `Ran ${itemForDisplay.stopHookCount} stop hooks
|
|
18579
18676
|
\u23BF Stop hook error: ${itemForDisplay.reasons[itemForDisplay.reasons.length - 1]}`
|
|
18580
18677
|
}
|
|
18581
18678
|
),
|
|
18582
|
-
itemForDisplay.type === "stop_hook_system_message" && /* @__PURE__ */ (0,
|
|
18583
|
-
/* @__PURE__ */ (0,
|
|
18584
|
-
/* @__PURE__ */ (0,
|
|
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)(
|
|
18585
18682
|
MarkdownDisplay,
|
|
18586
18683
|
{
|
|
18587
18684
|
text: itemForDisplay.message,
|
|
@@ -18590,9 +18687,9 @@ Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
|
|
|
18590
18687
|
}
|
|
18591
18688
|
) })
|
|
18592
18689
|
] }),
|
|
18593
|
-
itemForDisplay.type === "memory_saved" && /* @__PURE__ */ (0,
|
|
18594
|
-
itemForDisplay.type === "away_recap" && /* @__PURE__ */ (0,
|
|
18595
|
-
itemForDisplay.type === "goal_status" && /* @__PURE__ */ (0,
|
|
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)(
|
|
18596
18693
|
GoalStatusMessage,
|
|
18597
18694
|
{
|
|
18598
18695
|
kind: itemForDisplay.kind,
|
|
@@ -18602,7 +18699,7 @@ Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
|
|
|
18602
18699
|
lastReason: itemForDisplay.lastReason
|
|
18603
18700
|
}
|
|
18604
18701
|
),
|
|
18605
|
-
itemForDisplay.type === "goal_state" && /* @__PURE__ */ (0,
|
|
18702
|
+
itemForDisplay.type === "goal_state" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18606
18703
|
GoalStatusMessage,
|
|
18607
18704
|
{
|
|
18608
18705
|
snapshot: itemForDisplay.snapshot,
|
|
@@ -18618,7 +18715,7 @@ var HistoryItemDisplay = (0, import_react48.memo)(HistoryItemDisplayComponent);
|
|
|
18618
18715
|
HistoryItemDisplay.displayName = "HistoryItemDisplay";
|
|
18619
18716
|
|
|
18620
18717
|
// packages/cli/src/ui/components/SessionPreview.tsx
|
|
18621
|
-
var
|
|
18718
|
+
var import_jsx_runtime55 = __toESM(require_jsx_runtime(), 1);
|
|
18622
18719
|
function SessionPreview(props) {
|
|
18623
18720
|
const {
|
|
18624
18721
|
sessionService,
|
|
@@ -18693,19 +18790,19 @@ function SessionPreview(props) {
|
|
|
18693
18790
|
metaParts.push(gitBranch);
|
|
18694
18791
|
}
|
|
18695
18792
|
const metaLine = metaParts.join(" \xB7 ");
|
|
18696
|
-
const header = /* @__PURE__ */ (0,
|
|
18697
|
-
const topSeparator = /* @__PURE__ */ (0,
|
|
18698
|
-
const footerSeparator = /* @__PURE__ */ (0,
|
|
18699
|
-
const meta = metaLine ? /* @__PURE__ */ (0,
|
|
18700
|
-
const footer = /* @__PURE__ */ (0,
|
|
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");
|
|
18701
18798
|
if (data && !error) {
|
|
18702
|
-
return /* @__PURE__ */ (0,
|
|
18799
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { flexDirection: "column", width: boxWidth, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
18703
18800
|
Static,
|
|
18704
18801
|
{
|
|
18705
18802
|
items: [
|
|
18706
18803
|
header,
|
|
18707
18804
|
topSeparator,
|
|
18708
|
-
...items.map((item) => /* @__PURE__ */ (0,
|
|
18805
|
+
...items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
18709
18806
|
HistoryItemDisplay,
|
|
18710
18807
|
{
|
|
18711
18808
|
item,
|
|
@@ -18724,10 +18821,10 @@ function SessionPreview(props) {
|
|
|
18724
18821
|
sessionId
|
|
18725
18822
|
) });
|
|
18726
18823
|
}
|
|
18727
|
-
return /* @__PURE__ */ (0,
|
|
18824
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Box_default, { flexDirection: "column", width: boxWidth, children: [
|
|
18728
18825
|
header,
|
|
18729
18826
|
topSeparator,
|
|
18730
|
-
error ? /* @__PURE__ */ (0,
|
|
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...") }) }),
|
|
18731
18828
|
footerSeparator,
|
|
18732
18829
|
meta,
|
|
18733
18830
|
footer
|
|
@@ -18736,7 +18833,7 @@ function SessionPreview(props) {
|
|
|
18736
18833
|
__name(SessionPreview, "SessionPreview");
|
|
18737
18834
|
|
|
18738
18835
|
// packages/cli/src/ui/components/SessionPicker.tsx
|
|
18739
|
-
var
|
|
18836
|
+
var import_jsx_runtime56 = __toESM(require_jsx_runtime(), 1);
|
|
18740
18837
|
var PREFIX_CHARS = {
|
|
18741
18838
|
selected: "\u203A ",
|
|
18742
18839
|
scrollUp: "\u2191 ",
|
|
@@ -18769,9 +18866,9 @@ function SessionListItemView({
|
|
|
18769
18866
|
Math.max(1, maxPromptWidth - checkboxWidth)
|
|
18770
18867
|
);
|
|
18771
18868
|
const isAutoTitle = session.titleSource === "auto" && Boolean(session.customTitle);
|
|
18772
|
-
return /* @__PURE__ */ (0,
|
|
18773
|
-
/* @__PURE__ */ (0,
|
|
18774
|
-
/* @__PURE__ */ (0,
|
|
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)(
|
|
18775
18872
|
Text,
|
|
18776
18873
|
{
|
|
18777
18874
|
color: isSelected ? theme.text.accent : showUpIndicator || showDownIndicator ? theme.text.secondary : void 0,
|
|
@@ -18779,7 +18876,7 @@ function SessionListItemView({
|
|
|
18779
18876
|
children: prefix
|
|
18780
18877
|
}
|
|
18781
18878
|
),
|
|
18782
|
-
isChecked !== void 0 && /* @__PURE__ */ (0,
|
|
18879
|
+
isChecked !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18783
18880
|
Text,
|
|
18784
18881
|
{
|
|
18785
18882
|
color: isDisabled ? theme.text.secondary : isChecked ? theme.text.accent : isSelected ? theme.text.accent : theme.text.secondary,
|
|
@@ -18787,7 +18884,7 @@ function SessionListItemView({
|
|
|
18787
18884
|
children: isChecked ? "[x] " : "[ ] "
|
|
18788
18885
|
}
|
|
18789
18886
|
),
|
|
18790
|
-
/* @__PURE__ */ (0,
|
|
18887
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18791
18888
|
Text,
|
|
18792
18889
|
{
|
|
18793
18890
|
color: isDisabled ? theme.text.secondary : isSelected ? theme.text.accent : isAutoTitle ? theme.text.secondary : theme.text.primary,
|
|
@@ -18796,7 +18893,7 @@ function SessionListItemView({
|
|
|
18796
18893
|
}
|
|
18797
18894
|
)
|
|
18798
18895
|
] }),
|
|
18799
|
-
/* @__PURE__ */ (0,
|
|
18896
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { paddingLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
|
|
18800
18897
|
timeAgo,
|
|
18801
18898
|
messageText !== void 0 && ` \xB7 ${messageText}`,
|
|
18802
18899
|
session.gitBranch && ` \xB7 ${session.gitBranch}`,
|
|
@@ -18845,7 +18942,7 @@ function SessionPicker(props) {
|
|
|
18845
18942
|
const previewed = picker.filteredSessions.find(
|
|
18846
18943
|
(s) => s.sessionId === picker.previewSessionId
|
|
18847
18944
|
);
|
|
18848
|
-
return /* @__PURE__ */ (0,
|
|
18945
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18849
18946
|
SessionPreview,
|
|
18850
18947
|
{
|
|
18851
18948
|
sessionService,
|
|
@@ -18859,14 +18956,14 @@ function SessionPicker(props) {
|
|
|
18859
18956
|
}
|
|
18860
18957
|
);
|
|
18861
18958
|
}
|
|
18862
|
-
return /* @__PURE__ */ (0,
|
|
18959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18863
18960
|
Box_default,
|
|
18864
18961
|
{
|
|
18865
18962
|
flexDirection: "column",
|
|
18866
18963
|
width: boxWidth,
|
|
18867
18964
|
height: height - 1,
|
|
18868
18965
|
overflow: "hidden",
|
|
18869
|
-
children: /* @__PURE__ */ (0,
|
|
18966
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
18870
18967
|
Box_default,
|
|
18871
18968
|
{
|
|
18872
18969
|
flexDirection: "column",
|
|
@@ -18876,38 +18973,38 @@ function SessionPicker(props) {
|
|
|
18876
18973
|
height: height - 1,
|
|
18877
18974
|
overflow: "hidden",
|
|
18878
18975
|
children: [
|
|
18879
|
-
/* @__PURE__ */ (0,
|
|
18880
|
-
/* @__PURE__ */ (0,
|
|
18881
|
-
picker.filterByBranch && currentBranch && /* @__PURE__ */ (0,
|
|
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: [
|
|
18882
18979
|
" ",
|
|
18883
18980
|
t("(branch: {{branch}})", { branch: currentBranch })
|
|
18884
18981
|
] }),
|
|
18885
|
-
picker.searchQuery !== "" && /* @__PURE__ */ (0,
|
|
18982
|
+
picker.searchQuery !== "" && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
|
|
18886
18983
|
" ",
|
|
18887
18984
|
t("({{count}} matches)", {
|
|
18888
18985
|
count: String(picker.filteredSessions.length)
|
|
18889
18986
|
})
|
|
18890
18987
|
] })
|
|
18891
18988
|
] }),
|
|
18892
|
-
/* @__PURE__ */ (0,
|
|
18893
|
-
/* @__PURE__ */ (0,
|
|
18894
|
-
/* @__PURE__ */ (0,
|
|
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: [
|
|
18895
18992
|
picker.searchQuery,
|
|
18896
|
-
/* @__PURE__ */ (0,
|
|
18993
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: "\u258C" })
|
|
18897
18994
|
] })
|
|
18898
|
-
] }) : picker.searchQuery !== "" ? /* @__PURE__ */ (0,
|
|
18899
|
-
/* @__PURE__ */ (0,
|
|
18900
|
-
/* @__PURE__ */ (0,
|
|
18901
|
-
] }) : /* @__PURE__ */ (0,
|
|
18902
|
-
/* @__PURE__ */ (0,
|
|
18903
|
-
/* @__PURE__ */ (0,
|
|
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}}"', {
|
|
18904
19001
|
query: picker.searchQuery
|
|
18905
19002
|
}) : picker.filterByBranch ? t('No sessions found for branch "{{branch}}"', {
|
|
18906
19003
|
branch: currentBranch ?? ""
|
|
18907
19004
|
}) : t("No sessions found") }) }) : picker.visibleSessions.map((session, visibleIndex) => {
|
|
18908
19005
|
const actualIndex = picker.scrollOffset + visibleIndex;
|
|
18909
19006
|
const isDisabled = picker.disabledIdSet.has(session.sessionId);
|
|
18910
|
-
return /* @__PURE__ */ (0,
|
|
19007
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18911
19008
|
SessionListItemView,
|
|
18912
19009
|
{
|
|
18913
19010
|
session,
|
|
@@ -18926,10 +19023,10 @@ function SessionPicker(props) {
|
|
|
18926
19023
|
session.sessionId
|
|
18927
19024
|
);
|
|
18928
19025
|
}) }),
|
|
18929
|
-
/* @__PURE__ */ (0,
|
|
18930
|
-
/* @__PURE__ */ (0,
|
|
18931
|
-
currentBranch && /* @__PURE__ */ (0,
|
|
18932
|
-
/* @__PURE__ */ (0,
|
|
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)(
|
|
18933
19030
|
Text,
|
|
18934
19031
|
{
|
|
18935
19032
|
bold: picker.filterByBranch,
|
|
@@ -18939,7 +19036,7 @@ function SessionPicker(props) {
|
|
|
18939
19036
|
),
|
|
18940
19037
|
t(" to toggle branch \xB7 ")
|
|
18941
19038
|
] }),
|
|
18942
|
-
enablePreview && /* @__PURE__ */ (0,
|
|
19039
|
+
enablePreview && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Space to preview \xB7 ") }),
|
|
18943
19040
|
enableMultiSelect && (() => {
|
|
18944
19041
|
let committableCheckedCount = 0;
|
|
18945
19042
|
for (const id of picker.checkedIds) {
|
|
@@ -18947,11 +19044,11 @@ function SessionPicker(props) {
|
|
|
18947
19044
|
committableCheckedCount++;
|
|
18948
19045
|
}
|
|
18949
19046
|
}
|
|
18950
|
-
return /* @__PURE__ */ (0,
|
|
19047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: committableCheckedCount > 0 ? t("Space to toggle \xB7 {{count}} selected \xB7 ", {
|
|
18951
19048
|
count: String(committableCheckedCount)
|
|
18952
19049
|
}) : t("Space to select multiple \xB7 ") });
|
|
18953
19050
|
})(),
|
|
18954
|
-
/* @__PURE__ */ (0,
|
|
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") })
|
|
18955
19052
|
] }) }) })
|
|
18956
19053
|
]
|
|
18957
19054
|
}
|