@organizaone/o1-code 0.2.1 → 0.3.0
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/commit/SKILL.md +1 -1
- package/bundled/debugging/SKILL.md +58 -0
- package/bundled/debugging/references/root-cause-tracing.md +37 -0
- package/bundled/design/SKILL.md +65 -0
- package/bundled/execute-plan/SKILL.md +51 -0
- package/bundled/extension-creator/SKILL.md +1 -1
- package/bundled/finish/SKILL.md +1 -1
- package/bundled/goal-draft/SKILL.md +1 -1
- package/bundled/new-app/SKILL.md +2 -0
- package/bundled/review/SKILL.md +1 -1
- package/bundled/tdd/SKILL.md +56 -0
- package/bundled/tdd/references/good-tests.md +37 -0
- package/bundled/write-plan/SKILL.md +66 -0
- package/chunks/{MaxSizedBox-ILJP2XFH.js → MaxSizedBox-GF25YEIN.js} +21 -21
- package/chunks/{StandaloneSessionPicker-XEQKWDJO.js → StandaloneSessionPicker-YBS47NTB.js} +38 -38
- package/chunks/{acp-subagent-executor-Q45Z2Z5G.js → acp-subagent-executor-OCP4NXXX.js} +24 -24
- package/chunks/{acpAgent-6VM3TZLU.js → acpAgent-WMX43ZDF.js} +65 -65
- package/chunks/{agent-5OPRNB5Y.js → agent-NMLVWIU3.js} +11 -11
- package/chunks/{agent-headless-STT34GDU.js → agent-headless-5AKJIKG2.js} +11 -11
- package/chunks/{anthropicContentGenerator-BBMZN67T.js → anthropicContentGenerator-5OH4LNCZ.js} +4 -4
- package/chunks/{askUserQuestion-3IDRGYW3.js → askUserQuestion-LD66OM5J.js} +1 -1
- package/chunks/{bridge-4ERMSS33.js → bridge-DTVVZPYE.js} +24 -24
- package/chunks/{ca-L7PMUR5C.js → ca-ZH46FQUI.js} +11 -0
- package/chunks/{chunk-4P4YBHQV.js → chunk-2CATNMFQ.js} +1 -1
- package/chunks/{chunk-APWJWE6G.js → chunk-2S34HMND.js} +1 -1
- package/chunks/{chunk-4K4YU6IE.js → chunk-2X5ECQ5K.js} +5 -5
- package/chunks/{chunk-7P43YTEC.js → chunk-3CMD4E67.js} +9 -9
- package/chunks/{chunk-DGH2NWMU.js → chunk-3CO4GKLV.js} +1 -1
- package/chunks/{chunk-LTPSDF3G.js → chunk-3YCUO772.js} +1 -1
- package/chunks/{chunk-TSYA4JQR.js → chunk-4JQ6AGCG.js} +1 -1
- package/chunks/{chunk-ZGKVTZ5U.js → chunk-4NV74I76.js} +1 -1
- package/chunks/{chunk-Q3MAMZPC.js → chunk-5BGVEQ5T.js} +7 -7
- package/chunks/{chunk-HLVWIYPY.js → chunk-5ITAMZY3.js} +8 -8
- package/chunks/{chunk-JFOECBR6.js → chunk-5ST67IZT.js} +16 -18
- package/chunks/{chunk-LNSVUN7D.js → chunk-623SEN5Q.js} +1 -1
- package/chunks/{chunk-EQHDM633.js → chunk-7J3ZEJUN.js} +2 -2
- package/chunks/{chunk-FPSV5F3J.js → chunk-7OHUVM2P.js} +3 -3
- package/chunks/{chunk-UKFN6XZZ.js → chunk-AE25P7KP.js} +5 -5
- package/chunks/{chunk-3X5YE7K6.js → chunk-AG2ELNEP.js} +10 -10
- package/chunks/{chunk-D44S5CG4.js → chunk-B6W2OL2D.js} +33 -33
- package/chunks/{chunk-M5WOKPHW.js → chunk-BDKFE7EF.js} +1 -1
- package/chunks/{chunk-IPZLPHTT.js → chunk-BDKGHKN5.js} +2 -2
- package/chunks/{chunk-RFAJTG5E.js → chunk-C6LFEUFU.js} +1 -1
- package/chunks/{chunk-7X2YJUKP.js → chunk-C6U74Q6C.js} +7 -7
- package/chunks/{chunk-6UMFAQXO.js → chunk-CCNABFR3.js} +3 -3
- package/chunks/{chunk-T6BNDNKW.js → chunk-COABCWBY.js} +5 -3
- package/chunks/{chunk-F2EUAZ42.js → chunk-CTIEFYP7.js} +2 -2
- package/chunks/{chunk-IXXK2CVS.js → chunk-D4RCT4J4.js} +2 -2
- package/chunks/{chunk-RTS7ESBT.js → chunk-DB5UA5RL.js} +6 -6
- package/chunks/{chunk-WAAGAWVB.js → chunk-DBD424KY.js} +3 -3
- package/chunks/{chunk-VR2SC276.js → chunk-EGZKXA6V.js} +1 -1
- package/chunks/{chunk-K3HIXAXS.js → chunk-ELIXZXZC.js} +5 -5
- package/chunks/{chunk-TV6DIH4F.js → chunk-ERJWPEY7.js} +3 -3
- package/chunks/{chunk-4SZC7RVO.js → chunk-ERV4L76G.js} +191 -111
- package/chunks/{chunk-FTRNJQSS.js → chunk-FJKGFWXG.js} +3 -3
- package/chunks/{chunk-GSUMVFRL.js → chunk-FWXUI7DZ.js} +6 -6
- package/chunks/{chunk-TJLO5KQI.js → chunk-G4NGNKM6.js} +3 -3
- package/chunks/{chunk-LRTUILRX.js → chunk-GFZWLC66.js} +10 -3
- package/chunks/{chunk-J6UDQ4ZH.js → chunk-GZNQS5UB.js} +1 -1
- package/chunks/{chunk-DEPWTN66.js → chunk-HEXJ5CP4.js} +8 -8
- package/chunks/{chunk-DYRES6SF.js → chunk-HKGC5GVY.js} +1 -1
- package/chunks/{chunk-ULG4PCYE.js → chunk-I3G7XU6U.js} +4 -4
- package/chunks/{chunk-A3UCKJCO.js → chunk-IFBW6FYH.js} +1 -1
- package/chunks/{chunk-DSLJPDSI.js → chunk-IVAO4HY7.js} +3 -3
- package/chunks/{chunk-R44ZL5PA.js → chunk-J7G3OJOX.js} +9 -9
- package/chunks/{chunk-O7SA3JOY.js → chunk-JBMSEZDI.js} +4 -4
- package/chunks/{chunk-X7QSS7D7.js → chunk-JDUBQ632.js} +1 -1
- package/chunks/{chunk-5ZCXHWUH.js → chunk-JE64TPWB.js} +4 -4
- package/chunks/{chunk-3OOD2SL5.js → chunk-JEX5DADO.js} +1 -1
- package/chunks/{chunk-NLDOMJLL.js → chunk-JHODAWQZ.js} +10 -10
- package/chunks/{chunk-BFBUQXZX.js → chunk-JR2IXLNE.js} +5 -5
- package/chunks/{chunk-NZP5TZGH.js → chunk-JYM2UKSC.js} +2 -2
- package/chunks/{chunk-SSPLVKHT.js → chunk-KIQ7D4YK.js} +27 -16
- package/chunks/{chunk-JMJFLWSU.js → chunk-KTH2NXBH.js} +1 -1
- package/chunks/{chunk-T2O4KA57.js → chunk-L425LZSD.js} +3 -3
- package/chunks/{chunk-S2R73VNZ.js → chunk-LQY5SDPR.js} +2 -2
- package/chunks/{chunk-XMXLJ62X.js → chunk-LVFKSBH3.js} +5 -5
- package/chunks/{chunk-SQBWXEWV.js → chunk-MPSJQSNY.js} +2 -2
- package/chunks/{chunk-ZUXMZWSC.js → chunk-MTJQKPTJ.js} +21 -9
- package/chunks/{chunk-XEKHHWU3.js → chunk-MVE72SO7.js} +1 -1
- package/chunks/{chunk-QZEIQHWS.js → chunk-NHKFCD4F.js} +1 -1
- package/chunks/{chunk-M4EXXZD2.js → chunk-NNVR5V2I.js} +5 -5
- package/chunks/{chunk-T4LEIWQH.js → chunk-NYKKDVZN.js} +1 -1
- package/chunks/{chunk-ZMVES7WT.js → chunk-OPNBX4BU.js} +1 -1
- package/chunks/{chunk-UNYXISWU.js → chunk-PB4XGSE6.js} +1 -1
- package/chunks/{chunk-QL2NT3RJ.js → chunk-QPGBAI7B.js} +1 -1
- package/chunks/{chunk-SU7OFRCV.js → chunk-QQQRGEHT.js} +3 -3
- package/chunks/{chunk-CIZUUTQW.js → chunk-QS7N2YMJ.js} +1 -1
- package/chunks/{chunk-AAZCQFU7.js → chunk-QSF42LP4.js} +3 -3
- package/chunks/{chunk-QWRLPBK5.js → chunk-QUMGEZV4.js} +1 -1
- package/chunks/{chunk-Y4YSSESQ.js → chunk-R5WDYBMX.js} +1 -1
- package/chunks/{chunk-ZMSOU425.js → chunk-RHYRXRHW.js} +1 -1
- package/chunks/{chunk-NHJG5DHT.js → chunk-RTFUUYHW.js} +1 -1
- package/chunks/{chunk-75CU64KQ.js → chunk-RYBAJ5II.js} +1 -1
- package/chunks/{chunk-275467L7.js → chunk-RYKMFNWC.js} +1 -1
- package/chunks/{chunk-NJCNDTMU.js → chunk-SGW7DY4F.js} +1 -1
- package/chunks/{chunk-HQF6VFNE.js → chunk-SJ7DMBBS.js} +3 -3
- package/chunks/{chunk-JBLS4FNG.js → chunk-SS2JMVDW.js} +1 -1
- package/chunks/{chunk-N3I3L5LV.js → chunk-SXPTY2NJ.js} +2 -2
- package/chunks/{chunk-4WIO3PDS.js → chunk-TLWUCRTO.js} +3 -3
- package/chunks/{chunk-DSJFX5WX.js → chunk-TNQJ66S4.js} +54 -54
- package/chunks/{chunk-J2WKXWCE.js → chunk-UKS76REW.js} +3 -3
- package/chunks/{chunk-B5YDHQNQ.js → chunk-UUNTJ2TR.js} +1 -1
- package/chunks/{chunk-43GDSADF.js → chunk-UXN7KJEI.js} +3 -3
- package/chunks/{chunk-BWDRATUC.js → chunk-V6XI7HKD.js} +1 -1
- package/chunks/{chunk-3N7CB4LJ.js → chunk-VKFY6KJC.js} +3 -3
- package/chunks/{chunk-YVKGIXF5.js → chunk-VNMKY2V3.js} +1 -1
- package/chunks/{chunk-UN66LTA5.js → chunk-W3HT3Y67.js} +3 -3
- package/chunks/{chunk-HFCYBLFB.js → chunk-WGXPBRMN.js} +2 -2
- package/chunks/{chunk-BY6VCKSV.js → chunk-WX53PW47.js} +5 -0
- package/chunks/{chunk-AYHHE4CE.js → chunk-WZKJPAWS.js} +2 -2
- package/chunks/{chunk-QV7WMJKO.js → chunk-XF7WMIX5.js} +5 -5
- package/chunks/{chunk-NKDWD2XK.js → chunk-XPYWEOXT.js} +19 -5
- package/chunks/{chunk-C7GI242H.js → chunk-Y6NXDVBG.js} +2 -2
- package/chunks/{chunk-LTXNNMMK.js → chunk-YV5ECLPM.js} +31 -31
- package/chunks/{chunk-55CRR22E.js → chunk-Z7APSZZK.js} +4 -4
- package/chunks/{chunk-VTGXEJY6.js → chunk-ZNNZZ4BW.js} +1 -1
- package/chunks/{codex-subagent-executor-N5Y5ZG4D.js → codex-subagent-executor-QGB72XUZ.js} +24 -24
- package/chunks/{contextCommand-JIFJWYLY.js → contextCommand-OIZKYRYR.js} +23 -23
- package/chunks/{core-runtime-3FOXX22I.js → core-runtime-ZFOKJ32O.js} +21 -21
- package/chunks/{create-sub-session-52O4RAUW.js → create-sub-session-Y6QAGHZ6.js} +22 -22
- package/chunks/{daemon-git-worktree-guard-5B4PTBEO.js → daemon-git-worktree-guard-M73ZL5UO.js} +21 -21
- package/chunks/{daemon-status-provider-YGX5Z724.js → daemon-status-provider-6YNQ74OV.js} +29 -29
- package/chunks/{daemon-trust-policy-KFAEA2JN.js → daemon-trust-policy-URDFVFCF.js} +27 -27
- package/chunks/{daemon-trust-policy-monitor-MKDE7EMJ.js → daemon-trust-policy-monitor-FKHP5BIE.js} +27 -27
- package/chunks/{de-VN7EAAHB.js → de-OBLDRYWI.js} +11 -0
- package/chunks/{deferred-core-runtime-FURX6OPG.js → deferred-core-runtime-3Q5WFRWL.js} +21 -21
- package/chunks/{edit-OLWTITK7.js → edit-BA7F4PT6.js} +13 -13
- package/chunks/{en-FMP6YMAT.js → en-NKO6N4BL.js} +11 -0
- package/chunks/{enterPlanMode-G62GFYIL.js → enterPlanMode-EFBL4BF7.js} +16 -15
- package/chunks/{environment-AHUJ2WNU.js → environment-WPNDLJO7.js} +23 -23
- package/chunks/{errors-A76XUKXI.js → errors-7ETRPMNN.js} +23 -23
- package/chunks/{execution-tool-6M43W2CD.js → execution-tool-CAWRJH4J.js} +13 -13
- package/chunks/{execution-worker-RITSLTAM.js → execution-worker-HLC7A4TJ.js} +16 -16
- package/chunks/{exitPlanMode-HWRPD6HP.js → exitPlanMode-S23F45GN.js} +11 -11
- package/chunks/{fast-path-IUAF4V52.js → fast-path-3I3VLXLK.js} +2 -2
- package/chunks/{fr-252VXF5X.js → fr-24RYKQP7.js} +11 -0
- package/chunks/{glob-AK26XTX7.js → glob-QTRRGB3D.js} +11 -11
- package/chunks/{glyphs-IVGOFHFY.js → glyphs-YRPM3EUI.js} +3 -1
- package/chunks/{goal-tools-K4IEJZVP.js → goal-tools-NUONFKIG.js} +11 -11
- package/chunks/{handleAutoUpdate-CXQVP6R3.js → handleAutoUpdate-QVESGET2.js} +24 -24
- package/chunks/{i18n-34JF2YTC.js → i18n-ZSSY3WKU.js} +22 -22
- package/chunks/{initializer-TC7YXJX3.js → initializer-T5M3ALQB.js} +27 -27
- package/chunks/{installationInfo-4WVFZS7F.js → installationInfo-P5YK242M.js} +21 -21
- package/chunks/{ja-HSSU2GCM.js → ja-NY2HNPE4.js} +11 -0
- package/chunks/{list-XZJGUVJV.js → list-MJY6Y5CU.js} +29 -29
- package/chunks/{llm-IBIYUTRB.js → llm-W5ENEUT6.js} +54 -54
- package/chunks/{llm-content-generator-EKS4LJ7S.js → llm-content-generator-TXCK3B4L.js} +3 -3
- package/chunks/{loadedSettingsAdapter-XDF7ZRVI.js → loadedSettingsAdapter-JLZC4ZBX.js} +27 -27
- package/chunks/{local-execution-environment-N5QTHYN2.js → local-execution-environment-YZMNKOAL.js} +16 -16
- package/chunks/{loggingContentGenerator-J2SZSB3D.js → loggingContentGenerator-N47XAAOQ.js} +12 -12
- package/chunks/{managed-npm-update-ADYQFDYZ.js → managed-npm-update-4ROJTOPU.js} +21 -21
- package/chunks/{mcp-FCNNZQ5O.js → mcp-RKXPYCS7.js} +27 -27
- package/chunks/{model-call-collection-S6UV7EOR.js → model-call-collection-OJVM2GWV.js} +1 -1
- package/chunks/{model-configuration-BKIJDHQR.js → model-configuration-GYGU23MY.js} +28 -28
- package/chunks/{modelConfigUtils-FIEUEOJZ.js → modelConfigUtils-6MZXMJI7.js} +23 -23
- package/chunks/{monitor-FTME7AHH.js → monitor-PY4ONOQZ.js} +11 -11
- package/chunks/{nonInteractiveCli-OUMY3223.js → nonInteractiveCli-BEOCLPL7.js} +56 -56
- package/chunks/{nonInteractiveToolExecutor-7IRTRKEU.js → nonInteractiveToolExecutor-TWHMKTHV.js} +12 -12
- package/chunks/{notebook-edit-M5L2Q7P4.js → notebook-edit-735U37BJ.js} +12 -12
- package/chunks/{omni-2FJ5VKTT.js → omni-TSSGKDWK.js} +8 -8
- package/chunks/{openaiContentGenerator-P2KPWH2D.js → openaiContentGenerator-66O4ID6K.js} +6 -6
- package/chunks/{openaiResponsesContentGenerator-CMO7QG6J.js → openaiResponsesContentGenerator-AI4VCUZW.js} +3 -3
- package/chunks/{processUtils-HPCKCYBN.js → processUtils-KX55UCVT.js} +2 -2
- package/chunks/{prompt-terminal-ledger-UMSDLXLV.js → prompt-terminal-ledger-TMEWRMRM.js} +22 -22
- package/chunks/{pt-HIO6LWR5.js → pt-DFSLPV3S.js} +11 -0
- package/chunks/{reactive-degrade-B42K5MNO.js → reactive-degrade-W6RK63HX.js} +7 -7
- package/chunks/{read-file-GHU4CUGW.js → read-file-EY55LILP.js} +2 -2
- package/chunks/{resumeHistoryUtils-5PYOXBA3.js → resumeHistoryUtils-64X6P4RL.js} +26 -26
- package/chunks/{ripGrep-GBNZXDYR.js → ripGrep-EJBNAHG7.js} +3 -3
- package/chunks/{ru-2WQ363MP.js → ru-VIGQVLUG.js} +11 -0
- package/chunks/{run-o1-code-serve-2XVTXGB5.js → run-o1-code-serve-XZD4J7UT.js} +32 -32
- package/chunks/{sandboxConfig-74RXCJ5D.js → sandboxConfig-Q5T2KDWX.js} +21 -21
- package/chunks/{scheduled-tasks-AD4ASYJU.js → scheduled-tasks-VFTJISRZ.js} +27 -27
- package/chunks/{scheduler-IKLPLKWB.js → scheduler-LFPINJ3O.js} +23 -23
- package/chunks/{serve-UAUZ73UX.js → serve-KFLQFW4S.js} +27 -27
- package/chunks/{server-GGIMAO6U.js → server-5VX5EJJN.js} +57 -57
- package/chunks/{session-VFKAUTRY.js → session-FN3DK22S.js} +57 -57
- package/chunks/{session-attachments-root-N3KGNFPO.js → session-attachments-root-2KL64FGA.js} +21 -21
- package/chunks/{session-pr-refresh-IH36KPN2.js → session-pr-refresh-RHCGWRST.js} +26 -26
- package/chunks/{settings-SIHKTI5J.js → settings-JNRHGVXK.js} +26 -26
- package/chunks/{shell-RKZP7RTK.js → shell-QXU6U3ZQ.js} +11 -11
- package/chunks/{skill-AHN5NVKD.js → skill-RRZHSAYL.js} +3 -3
- package/chunks/{skill-settings-KTYFC3OZ.js → skill-settings-WUQLVFBS.js} +27 -27
- package/chunks/{spawnChannel-JQ2VCQKM.js → spawnChannel-IIN6QVRF.js} +23 -23
- package/chunks/{standalone-update-TPIXYEG4.js → standalone-update-ET5NFOX4.js} +23 -23
- package/chunks/{startInteractiveUI-S7CWVEUX.js → startInteractiveUI-LNRR43PI.js} +206 -125
- package/chunks/{team-create-X5HMT2BQ.js → team-create-QJCKLQOF.js} +11 -11
- package/chunks/{team-plan-approval-DTB3KWU5.js → team-plan-approval-KQ2O743Z.js} +11 -11
- package/chunks/{terminal-image-renderer-BM3D2JFE.js → terminal-image-renderer-AWXQOO4X.js} +21 -21
- package/chunks/{theme-manager-FKTZIGY3.js → theme-manager-VA6NQNIL.js} +21 -21
- package/chunks/{tool-result-media-O4UBBTO7.js → tool-result-media-6ZV6V5VB.js} +8 -8
- package/chunks/{tool-search-YQ3W7PYY.js → tool-search-HPPYWJBF.js} +2 -2
- package/chunks/{total-session-admission-SPBMDG2T.js → total-session-admission-JVRBXXYV.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-MOREUGG4.js → trustedFolders-56YDYOI5.js} +22 -22
- package/chunks/{update-relaunch-YZWM4SZQ.js → update-relaunch-GFLNZDAX.js} +5 -5
- package/chunks/{updateCheck-IYMDFXAF.js → updateCheck-GD2DXYWP.js} +23 -23
- package/chunks/{upload-config-5O6SSCDM.js → upload-config-E5MQ5NML.js} +5 -5
- package/chunks/{useAutoAcceptIndicator-S5KOLUTE.js → useAutoAcceptIndicator-KQ3H2K62.js} +29 -29
- package/chunks/{validateNonInterActiveAuth-OBKFQ47Q.js → validateNonInterActiveAuth-Y4MBCH4W.js} +53 -53
- package/chunks/{version-2DUH4QZI.js → version-IJ3TUIPZ.js} +1 -1
- package/chunks/{web-fetch-YXTIPWXT.js → web-fetch-F2CLSSW6.js} +2 -2
- package/chunks/{web-search-ZHYL45UH.js → web-search-2HX22GBH.js} +6 -6
- package/chunks/{workflow-F5YCX6YP.js → workflow-O5UFRP3U.js} +12 -12
- package/chunks/{workspace-providers-status-AGXSHAGY.js → workspace-providers-status-74YJNLJJ.js} +33 -33
- package/chunks/{workspace-registration-store-MAE4Y4YP.js → workspace-registration-store-TZFSDL3K.js} +1 -1
- package/chunks/{workspace-registry-362PZ5RZ.js → workspace-registry-NAMQHWBJ.js} +24 -24
- package/chunks/{workspace-runtime-coordinator-GXBQSI5B.js → workspace-runtime-coordinator-WI35ERMI.js} +25 -25
- package/chunks/{workspace-service-T45HJPJL.js → workspace-service-GDF53GJS.js} +31 -31
- package/chunks/{workspace-skills-status-LG73K6NN.js → workspace-skills-status-PNR3ICAP.js} +30 -30
- package/chunks/{workspace-trust-reconciler-IGBHQYSV.js → workspace-trust-reconciler-UO4CD5XT.js} +30 -30
- package/chunks/{write-file-7IEVU4WI.js → write-file-4NLDAO3E.js} +13 -13
- package/chunks/{zh-TW-ANUAZ2MM.js → zh-TW-S4AGRCDA.js} +11 -0
- package/chunks/{zh-HXMFL746.js → zh-ZJAHWOYM.js} +11 -0
- package/chunks/{zoom-image-AM5C5PKJ.js → zoom-image-WVJNVR4G.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 +13 -0
- package/locales/de.js +13 -0
- package/locales/en.js +12 -0
- package/locales/fr.js +13 -0
- package/locales/ja.js +12 -0
- package/locales/pt.js +12 -0
- package/locales/ru.js +12 -0
- package/locales/zh-TW.js +12 -0
- package/locales/zh.js +12 -0
- package/package.json +4 -3
- package/release-notes.json +61 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-BYSuYNOM.js → abnfDiagram-VCTEODGH-GkC7qpZa.js} +1 -1
- package/web-shell/assets/{arc-CqxbU-8d.js → arc-rCRTR9rP.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-Bsi23679.js → architectureDiagram-5GKGNRK7-BXamqUa2.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-DqWZTGBj.js → blockDiagram-NRAW4CY4-gcjjt4RN.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-DdPbWP_P.js → c4Diagram-UCG6FXSJ-y4txHZ64.js} +1 -1
- package/web-shell/assets/channel-CRgqjxIs.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-BrVolku1.js → chunk-2Q5K7J3B-CP7Wj7xO.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-CseS5V6j.js → chunk-5VM5RSS4-Cp32oZuQ.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-Ddt6css9.js → chunk-F27PBJKO-91dCDCyf.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Cl5Im8Gd.js → chunk-G27WJ6UU-CE0yCTWa.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-qCe2_8x_.js → chunk-JWPE2WC7-BrpX8c3O.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D8qsHRd9.js → chunk-LCL6LL3I-BYJTu4zN.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-DexNlF9s.js → chunk-POPQ4Y6H-Codub2tr.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-CqvcITnM.js → chunk-SVP7TREG-DM-ke8Mr.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-CuzXVACN.js → chunk-XXDRQBXY-BLcKbNbx.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-oQ799Ozj.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-oQ799Ozj.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-Czk7uOMh.js → cose-bilkent-JH36ORCC-yMq4SSTl.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-B7r08Z0S.js → cynefin-OW5HDTMX-B-n83dZA.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CCSAWnso.js → cynefinDiagram-5FMLGOSQ-DwgvqFDD.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-DgiKlAum.js → dagre-3AP2YEHR-BjByq1Of.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DllUhi3d.js → diagram-S7CK7UJ4-b-k59yRn.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DuGxbhK_.js → diagram-UQ7AKVKN-d4Mot6Yz.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-hPXM5dJk.js → diagram-VSXAHHWV-CkxocesP.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-B2H3XnLx.js → diagram-VX7I27RA-ClsrsYuH.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-SAG5M5KU.js → diagram-Z3DM3KII-C86pbkMU.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-DlbE9pet.js → ebnfDiagram-PWID7BFC-Dd_W23Ti.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CB6IFznH.js → erDiagram-SSCWMZ5O-Bm0aSkLh.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-CV2pXpAL.js → flowDiagram-A5DVABFB-CzOHrYqI.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BZT9aSLE.js → ganttDiagram-EL5Y4UJY-aD7VOZlz.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-suX9r6tW.js → gitGraphDiagram-WWUBYQGX-qC6lU8hO.js} +1 -1
- package/web-shell/assets/{index-BN9HQbfb.js → index-Dt92aFEi.js} +1 -1
- package/web-shell/assets/{index-CNM5NLxv.js → index-IQxVrdU8.js} +3 -3
- package/web-shell/assets/{infoDiagram-RXCK75RN-C4QVLGg5.js → infoDiagram-RXCK75RN-D7n5hN5T.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CMkzL-nC.js → ishikawaDiagram-5VMMS53U-Crzzj9Hk.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-ceqgcnIv.js → journeyDiagram-EYS64GPL-FwmS41nw.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-BIE97dnB.js → kanban-definition-3QL26DDD-CKIs80uY.js} +1 -1
- package/web-shell/assets/{layout-wNPDq2t5.js → layout-BQz4dKSf.js} +1 -1
- package/web-shell/assets/{linear-B3EenJF-.js → linear-BFhHgDEc.js} +1 -1
- package/web-shell/assets/{mermaid.core-B5NoG1HX.js → mermaid.core-Bk7ZiySi.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DHcwZNi5.js → mindmap-definition-FBJOCRG2-BBWZxLbK.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-Lbt9efZQ.js → pegDiagram-XKGWAZYB-D3XoIA9B.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-CE0xWAAF.js → pieDiagram-E7YTZNPT-B_tPTCKL.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DGA8A9fm.js → quadrantDiagram-AXDQQJYC-BtsvzEtS.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-KLcggan_.js → railroadDiagram-O6MQD6OU-6ag1DheV.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-DJXQt3s5.js → requirementDiagram-EFPCY7ZU-8YxylfMT.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-D9AtlOjN.js → sankeyDiagram-P5KCCOFB-1_AorqC_.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-De2ZnYWT.js → sequenceDiagram-WJ2MYXX4-paioxV9Q.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-CdzEmTDz.js → sizeCapture-X5ZJPWSS-oOBrUhQf.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-CiLlMWE2.js → stateDiagram-HBIQ2CUA-DGkViHHK.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CWC6iKqT.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-D3lRDLfM.js → swimlanes-XN3QIQJK-TqBChE5a.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Dz_lYxMp.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-D2q-Ci6C.js → timeline-definition-24CTP7MA-BQGAL6YG.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-8y0o7Wxn.js → vennDiagram-4TSXK5OY-CGPjpaes.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-BH5fD7JG.js → wardleyDiagram-VM6X3IG4-DPK0MANE.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-C4UvTLdg.js → xychartDiagram-S5SC5T6Z-D4TN6euT.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-mcBaq_Y3.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-FZ16cVIs.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-FZ16cVIs.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DXRjaSJO.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DTQPSk_H.js +0 -8
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
enableMouseEvents,
|
|
6
6
|
useKeypress,
|
|
7
7
|
useKeypressContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y6NXDVBG.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-5ST67IZT.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-C6U74Q6C.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-NHKFCD4F.js";
|
|
104
105
|
import {
|
|
105
106
|
getErrorMessage
|
|
106
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-QQQRGEHT.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-JE64TPWB.js";
|
|
126
127
|
import {
|
|
127
128
|
getPersistScopeForModelSelection
|
|
128
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-ELIXZXZC.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-BDKFE7EF.js";
|
|
137
138
|
import {
|
|
138
139
|
sanitizeForOsc,
|
|
139
140
|
supportsHyperlinks,
|
|
140
141
|
wrapForMultiplexer
|
|
141
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-FWXUI7DZ.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-TNQJ66S4.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-4NV74I76.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-RYKMFNWC.js";
|
|
186
187
|
import {
|
|
187
188
|
isTerminalImageDisplay
|
|
188
189
|
} from "./chunk-JOFGX5ZA.js";
|
|
@@ -18196,8 +18197,86 @@ function getScreenBuffer(stdout) {
|
|
|
18196
18197
|
}
|
|
18197
18198
|
__name(getScreenBuffer, "getScreenBuffer");
|
|
18198
18199
|
|
|
18199
|
-
// packages/cli/src/ui/components/
|
|
18200
|
+
// packages/cli/src/ui/components/messages/UpdateNotice.tsx
|
|
18201
|
+
init_esbuild_shims();
|
|
18200
18202
|
var import_jsx_runtime53 = __toESM(require_jsx_runtime(), 1);
|
|
18203
|
+
var UpdateNotice = /* @__PURE__ */ __name(({
|
|
18204
|
+
status,
|
|
18205
|
+
version,
|
|
18206
|
+
fromVersion,
|
|
18207
|
+
text,
|
|
18208
|
+
highlights = [],
|
|
18209
|
+
moreCount = 0,
|
|
18210
|
+
notesUrl
|
|
18211
|
+
}) => {
|
|
18212
|
+
const frameColor = status === "failed" ? theme.status.error : extendedTheme.ui.brand;
|
|
18213
|
+
const title = status === "whats_new" ? t("What's new in {{version}}", { version: version ?? "" }) : t("Update");
|
|
18214
|
+
const frame = TOP_FRAME[glyphs().borderStyle];
|
|
18215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { flexDirection: "column", marginTop: 1, children: [
|
|
18216
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { children: [
|
|
18217
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: `${frame.topLeft}${frame.top} ` }),
|
|
18218
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.primary, bold: true, children: title }),
|
|
18219
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: " " }),
|
|
18220
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
18221
|
+
Box_default,
|
|
18222
|
+
{
|
|
18223
|
+
flexGrow: 1,
|
|
18224
|
+
flexShrink: 1,
|
|
18225
|
+
flexBasis: 0,
|
|
18226
|
+
height: 1,
|
|
18227
|
+
overflow: "hidden",
|
|
18228
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: frame.top.repeat(400) })
|
|
18229
|
+
}
|
|
18230
|
+
),
|
|
18231
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: frameColor, children: frame.topRight })
|
|
18232
|
+
] }),
|
|
18233
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
18234
|
+
Box_default,
|
|
18235
|
+
{
|
|
18236
|
+
borderStyle: glyphs().borderStyle,
|
|
18237
|
+
borderTop: false,
|
|
18238
|
+
borderColor: frameColor,
|
|
18239
|
+
flexDirection: "column",
|
|
18240
|
+
paddingX: 1,
|
|
18241
|
+
children: status === "whats_new" ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
|
|
18242
|
+
fromVersion && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.text.muted, children: t("Updated from {{from}} to {{to}}", {
|
|
18243
|
+
from: fromVersion,
|
|
18244
|
+
to: version ?? ""
|
|
18245
|
+
}) }),
|
|
18246
|
+
highlights.map((line, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box_default, { children: [
|
|
18247
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Box_default, { width: 2, flexShrink: 0, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.ui.brand, children: glyphs().dot }) }),
|
|
18248
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.primary, wrap: "wrap", children: line })
|
|
18249
|
+
] }, index)),
|
|
18250
|
+
(moreCount > 0 || notesUrl) && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Text, { color: extendedTheme.text.muted, wrap: "wrap", children: [
|
|
18251
|
+
moreCount > 0 ? `${t("and {{count}} more", { count: String(moreCount) })}${notesUrl ? " \xB7 " : ""}` : "",
|
|
18252
|
+
notesUrl && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
|
|
18253
|
+
`${t("full notes")}: `,
|
|
18254
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.link, children: notesUrl })
|
|
18255
|
+
] })
|
|
18256
|
+
] })
|
|
18257
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
|
|
18258
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Text, { wrap: "wrap", children: [
|
|
18259
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
18260
|
+
Text,
|
|
18261
|
+
{
|
|
18262
|
+
color: status === "installed" ? theme.status.success : status === "failed" ? theme.status.error : extendedTheme.ui.brandSoft,
|
|
18263
|
+
children: status === "installed" ? glyphs().done : status === "failed" ? "\u2715" : "\u21BB"
|
|
18264
|
+
}
|
|
18265
|
+
),
|
|
18266
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: theme.text.primary, bold: true, children: ` ${status === "installed" ? version ? t("O1-Code {{version}} installed", { version }) : t("O1-Code was updated") : status === "failed" ? version ? t("The update to {{version}} failed", { version }) : t("The update failed") : t("O1-Code {{version}} is available", {
|
|
18267
|
+
version: version ?? ""
|
|
18268
|
+
})}` })
|
|
18269
|
+
] }),
|
|
18270
|
+
status === "installed" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.text.muted, children: t("It takes effect the next time you open O1-Code.") }),
|
|
18271
|
+
text && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { color: extendedTheme.text.muted, wrap: "wrap", children: text })
|
|
18272
|
+
] })
|
|
18273
|
+
}
|
|
18274
|
+
)
|
|
18275
|
+
] });
|
|
18276
|
+
}, "UpdateNotice");
|
|
18277
|
+
|
|
18278
|
+
// packages/cli/src/ui/components/HistoryItemDisplay.tsx
|
|
18279
|
+
var import_jsx_runtime54 = __toESM(require_jsx_runtime(), 1);
|
|
18201
18280
|
var ClickableThinkMessage = /* @__PURE__ */ __name(({
|
|
18202
18281
|
text,
|
|
18203
18282
|
isPending,
|
|
@@ -18255,7 +18334,7 @@ var ClickableThinkMessage = /* @__PURE__ */ __name(({
|
|
|
18255
18334
|
),
|
|
18256
18335
|
{ isActive }
|
|
18257
18336
|
);
|
|
18258
|
-
return /* @__PURE__ */ (0,
|
|
18337
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { ref: isActive ? ref : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18259
18338
|
ThinkMessage,
|
|
18260
18339
|
{
|
|
18261
18340
|
text,
|
|
@@ -18328,8 +18407,8 @@ var CollapsibleToolGroupMessage = /* @__PURE__ */ __name(({ expansionKey, ...pro
|
|
|
18328
18407
|
),
|
|
18329
18408
|
{ isActive: collapsed && clickable }
|
|
18330
18409
|
);
|
|
18331
|
-
if (!collapsed) return /* @__PURE__ */ (0,
|
|
18332
|
-
return /* @__PURE__ */ (0,
|
|
18410
|
+
if (!collapsed) return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ToolGroupMessage, { ...props });
|
|
18411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18333
18412
|
ToolGroupMessage,
|
|
18334
18413
|
{
|
|
18335
18414
|
...props,
|
|
@@ -18404,7 +18483,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18404
18483
|
const itemForDisplay = (0, import_react48.useMemo)(() => escapeAnsiCtrlCodes(item), [item]);
|
|
18405
18484
|
const contentWidth = terminalWidth - 4;
|
|
18406
18485
|
const boxWidth = mainAreaWidth || contentWidth;
|
|
18407
|
-
return /* @__PURE__ */ (0,
|
|
18486
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
18408
18487
|
Box_default,
|
|
18409
18488
|
{
|
|
18410
18489
|
flexDirection: "column",
|
|
@@ -18412,17 +18491,17 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18412
18491
|
marginLeft: 2,
|
|
18413
18492
|
marginRight: 2,
|
|
18414
18493
|
children: [
|
|
18415
|
-
itemForDisplay.type === "user" && /* @__PURE__ */ (0,
|
|
18494
|
+
itemForDisplay.type === "user" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18416
18495
|
UserMessage,
|
|
18417
18496
|
{
|
|
18418
18497
|
text: itemForDisplay.text,
|
|
18419
18498
|
marker: turnMarker ?? (itemForDisplay.turnOutcome === "done" ? "done" : void 0)
|
|
18420
18499
|
}
|
|
18421
18500
|
),
|
|
18422
|
-
itemForDisplay.type === "notification" && /* @__PURE__ */ (0,
|
|
18423
|
-
itemForDisplay.type === "user_shell" && /* @__PURE__ */ (0,
|
|
18424
|
-
itemForDisplay.type === "gemini" && /* @__PURE__ */ (0,
|
|
18425
|
-
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: [
|
|
18426
18505
|
"[",
|
|
18427
18506
|
new Date(itemForDisplay.timestamp).toLocaleTimeString("en-US", {
|
|
18428
18507
|
hour12: false,
|
|
@@ -18432,7 +18511,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18432
18511
|
}),
|
|
18433
18512
|
"]"
|
|
18434
18513
|
] }),
|
|
18435
|
-
/* @__PURE__ */ (0,
|
|
18514
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18436
18515
|
AssistantMessage,
|
|
18437
18516
|
{
|
|
18438
18517
|
text: itemForDisplay.text,
|
|
@@ -18445,7 +18524,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18445
18524
|
}
|
|
18446
18525
|
)
|
|
18447
18526
|
] }),
|
|
18448
|
-
itemForDisplay.type === "gemini_content" && /* @__PURE__ */ (0,
|
|
18527
|
+
itemForDisplay.type === "gemini_content" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18449
18528
|
AssistantMessageContent,
|
|
18450
18529
|
{
|
|
18451
18530
|
text: itemForDisplay.text,
|
|
@@ -18457,7 +18536,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18457
18536
|
sourceCopyIndexOffsets
|
|
18458
18537
|
}
|
|
18459
18538
|
),
|
|
18460
|
-
itemForDisplay.type === "gemini_thought" && /* @__PURE__ */ (0,
|
|
18539
|
+
itemForDisplay.type === "gemini_thought" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18461
18540
|
ClickableThinkMessage,
|
|
18462
18541
|
{
|
|
18463
18542
|
text: itemForDisplay.text.trimEnd(),
|
|
@@ -18469,7 +18548,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18469
18548
|
onToggle: () => toggleThought(thoughtGroupHeadId)
|
|
18470
18549
|
}
|
|
18471
18550
|
),
|
|
18472
|
-
itemForDisplay.type === "gemini_thought_content" && /* @__PURE__ */ (0,
|
|
18551
|
+
itemForDisplay.type === "gemini_thought_content" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18473
18552
|
ThinkMessageContent,
|
|
18474
18553
|
{
|
|
18475
18554
|
text: itemForDisplay.text.trimEnd(),
|
|
@@ -18479,7 +18558,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18479
18558
|
contentWidth
|
|
18480
18559
|
}
|
|
18481
18560
|
),
|
|
18482
|
-
itemForDisplay.type === "info" && /* @__PURE__ */ (0,
|
|
18561
|
+
itemForDisplay.type === "info" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18483
18562
|
InfoMessage,
|
|
18484
18563
|
{
|
|
18485
18564
|
text: itemForDisplay.text,
|
|
@@ -18487,26 +18566,27 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18487
18566
|
linkText: itemForDisplay.linkText
|
|
18488
18567
|
}
|
|
18489
18568
|
),
|
|
18490
|
-
itemForDisplay.type === "success" && /* @__PURE__ */ (0,
|
|
18491
|
-
itemForDisplay.type === "
|
|
18492
|
-
itemForDisplay.type === "
|
|
18493
|
-
itemForDisplay.type === "
|
|
18494
|
-
itemForDisplay.type === "
|
|
18495
|
-
itemForDisplay.type === "
|
|
18496
|
-
itemForDisplay.type === "
|
|
18497
|
-
itemForDisplay.type === "
|
|
18498
|
-
itemForDisplay.type === "
|
|
18499
|
-
itemForDisplay.type === "
|
|
18500
|
-
itemForDisplay.type === "
|
|
18501
|
-
itemForDisplay.type === "
|
|
18502
|
-
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)(
|
|
18503
18583
|
SessionSummaryDisplay,
|
|
18504
18584
|
{
|
|
18505
18585
|
duration: itemForDisplay.duration,
|
|
18506
18586
|
width: boxWidth
|
|
18507
18587
|
}
|
|
18508
18588
|
),
|
|
18509
|
-
itemForDisplay.type === "tool_group" && /* @__PURE__ */ (0,
|
|
18589
|
+
itemForDisplay.type === "tool_group" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18510
18590
|
CollapsibleToolGroupMessage,
|
|
18511
18591
|
{
|
|
18512
18592
|
toolCalls: itemForDisplay.tools,
|
|
@@ -18524,14 +18604,14 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18524
18604
|
expansionKey: itemForDisplay.batchId
|
|
18525
18605
|
}
|
|
18526
18606
|
),
|
|
18527
|
-
itemForDisplay.type === "tool_use_summary" && /* @__PURE__ */ (0,
|
|
18528
|
-
/* @__PURE__ */ (0,
|
|
18529
|
-
/* @__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 })
|
|
18530
18610
|
] }),
|
|
18531
|
-
itemForDisplay.type === "compression" && /* @__PURE__ */ (0,
|
|
18532
|
-
itemForDisplay.type === "summary" && /* @__PURE__ */ (0,
|
|
18533
|
-
itemForDisplay.type === "extensions_list" && /* @__PURE__ */ (0,
|
|
18534
|
-
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)(
|
|
18535
18615
|
ToolsList,
|
|
18536
18616
|
{
|
|
18537
18617
|
contentWidth,
|
|
@@ -18539,9 +18619,9 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18539
18619
|
showDescriptions: itemForDisplay.showDescriptions
|
|
18540
18620
|
}
|
|
18541
18621
|
),
|
|
18542
|
-
itemForDisplay.type === "skills_list" && /* @__PURE__ */ (0,
|
|
18543
|
-
itemForDisplay.type === "mcp_status" && /* @__PURE__ */ (0,
|
|
18544
|
-
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)(
|
|
18545
18625
|
ContextUsage,
|
|
18546
18626
|
{
|
|
18547
18627
|
modelName: itemForDisplay.modelName,
|
|
@@ -18556,7 +18636,7 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18556
18636
|
showDetails: itemForDisplay.showDetails
|
|
18557
18637
|
}
|
|
18558
18638
|
),
|
|
18559
|
-
itemForDisplay.type === "doctor" && /* @__PURE__ */ (0,
|
|
18639
|
+
itemForDisplay.type === "doctor" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18560
18640
|
DoctorReport,
|
|
18561
18641
|
{
|
|
18562
18642
|
checks: itemForDisplay.checks,
|
|
@@ -18564,8 +18644,8 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18564
18644
|
width: boxWidth
|
|
18565
18645
|
}
|
|
18566
18646
|
),
|
|
18567
|
-
itemForDisplay.type === "arena_agent_complete" && /* @__PURE__ */ (0,
|
|
18568
|
-
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)(
|
|
18569
18649
|
ArenaSessionCard,
|
|
18570
18650
|
{
|
|
18571
18651
|
sessionStatus: itemForDisplay.sessionStatus,
|
|
@@ -18575,9 +18655,9 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18575
18655
|
width: boxWidth
|
|
18576
18656
|
}
|
|
18577
18657
|
),
|
|
18578
|
-
itemForDisplay.type === "insight_progress" && /* @__PURE__ */ (0,
|
|
18579
|
-
itemForDisplay.type === "btw" && itemForDisplay.btw && /* @__PURE__ */ (0,
|
|
18580
|
-
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)(
|
|
18581
18661
|
AdvisorMessage,
|
|
18582
18662
|
{
|
|
18583
18663
|
text: itemForDisplay.text,
|
|
@@ -18585,20 +18665,20 @@ var HistoryItemDisplayComponent = /* @__PURE__ */ __name(({
|
|
|
18585
18665
|
containerWidth: contentWidth
|
|
18586
18666
|
}
|
|
18587
18667
|
),
|
|
18588
|
-
itemForDisplay.type === "user_prompt_submit_blocked" && /* @__PURE__ */ (0,
|
|
18668
|
+
itemForDisplay.type === "user_prompt_submit_blocked" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { color: theme.status.warning, children: `\u2715 UserPromptSubmit operation blocked by hook:
|
|
18589
18669
|
${itemForDisplay.reason}
|
|
18590
18670
|
|
|
18591
18671
|
Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
|
|
18592
|
-
itemForDisplay.type === "stop_hook_loop" && /* @__PURE__ */ (0,
|
|
18672
|
+
itemForDisplay.type === "stop_hook_loop" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18593
18673
|
InfoMessage,
|
|
18594
18674
|
{
|
|
18595
18675
|
text: `Ran ${itemForDisplay.stopHookCount} stop hooks
|
|
18596
18676
|
\u23BF Stop hook error: ${itemForDisplay.reasons[itemForDisplay.reasons.length - 1]}`
|
|
18597
18677
|
}
|
|
18598
18678
|
),
|
|
18599
|
-
itemForDisplay.type === "stop_hook_system_message" && /* @__PURE__ */ (0,
|
|
18600
|
-
/* @__PURE__ */ (0,
|
|
18601
|
-
/* @__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)(
|
|
18602
18682
|
MarkdownDisplay,
|
|
18603
18683
|
{
|
|
18604
18684
|
text: itemForDisplay.message,
|
|
@@ -18607,9 +18687,9 @@ Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
|
|
|
18607
18687
|
}
|
|
18608
18688
|
) })
|
|
18609
18689
|
] }),
|
|
18610
|
-
itemForDisplay.type === "memory_saved" && /* @__PURE__ */ (0,
|
|
18611
|
-
itemForDisplay.type === "away_recap" && /* @__PURE__ */ (0,
|
|
18612
|
-
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)(
|
|
18613
18693
|
GoalStatusMessage,
|
|
18614
18694
|
{
|
|
18615
18695
|
kind: itemForDisplay.kind,
|
|
@@ -18619,7 +18699,7 @@ Original prompt: ${sanitizeSensitiveText(itemForDisplay.originalPrompt)}` }) }),
|
|
|
18619
18699
|
lastReason: itemForDisplay.lastReason
|
|
18620
18700
|
}
|
|
18621
18701
|
),
|
|
18622
|
-
itemForDisplay.type === "goal_state" && /* @__PURE__ */ (0,
|
|
18702
|
+
itemForDisplay.type === "goal_state" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
18623
18703
|
GoalStatusMessage,
|
|
18624
18704
|
{
|
|
18625
18705
|
snapshot: itemForDisplay.snapshot,
|
|
@@ -18635,7 +18715,7 @@ var HistoryItemDisplay = (0, import_react48.memo)(HistoryItemDisplayComponent);
|
|
|
18635
18715
|
HistoryItemDisplay.displayName = "HistoryItemDisplay";
|
|
18636
18716
|
|
|
18637
18717
|
// packages/cli/src/ui/components/SessionPreview.tsx
|
|
18638
|
-
var
|
|
18718
|
+
var import_jsx_runtime55 = __toESM(require_jsx_runtime(), 1);
|
|
18639
18719
|
function SessionPreview(props) {
|
|
18640
18720
|
const {
|
|
18641
18721
|
sessionService,
|
|
@@ -18710,19 +18790,19 @@ function SessionPreview(props) {
|
|
|
18710
18790
|
metaParts.push(gitBranch);
|
|
18711
18791
|
}
|
|
18712
18792
|
const metaLine = metaParts.join(" \xB7 ");
|
|
18713
|
-
const header = /* @__PURE__ */ (0,
|
|
18714
|
-
const topSeparator = /* @__PURE__ */ (0,
|
|
18715
|
-
const footerSeparator = /* @__PURE__ */ (0,
|
|
18716
|
-
const meta = metaLine ? /* @__PURE__ */ (0,
|
|
18717
|
-
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");
|
|
18718
18798
|
if (data && !error) {
|
|
18719
|
-
return /* @__PURE__ */ (0,
|
|
18799
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { flexDirection: "column", width: boxWidth, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
18720
18800
|
Static,
|
|
18721
18801
|
{
|
|
18722
18802
|
items: [
|
|
18723
18803
|
header,
|
|
18724
18804
|
topSeparator,
|
|
18725
|
-
...items.map((item) => /* @__PURE__ */ (0,
|
|
18805
|
+
...items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
18726
18806
|
HistoryItemDisplay,
|
|
18727
18807
|
{
|
|
18728
18808
|
item,
|
|
@@ -18741,10 +18821,10 @@ function SessionPreview(props) {
|
|
|
18741
18821
|
sessionId
|
|
18742
18822
|
) });
|
|
18743
18823
|
}
|
|
18744
|
-
return /* @__PURE__ */ (0,
|
|
18824
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Box_default, { flexDirection: "column", width: boxWidth, children: [
|
|
18745
18825
|
header,
|
|
18746
18826
|
topSeparator,
|
|
18747
|
-
error ? /* @__PURE__ */ (0,
|
|
18827
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.status.error, children: error }) }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Box_default, { paddingY: 1, justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { color: theme.text.secondary, children: t("Loading session preview...") }) }),
|
|
18748
18828
|
footerSeparator,
|
|
18749
18829
|
meta,
|
|
18750
18830
|
footer
|
|
@@ -18753,7 +18833,7 @@ function SessionPreview(props) {
|
|
|
18753
18833
|
__name(SessionPreview, "SessionPreview");
|
|
18754
18834
|
|
|
18755
18835
|
// packages/cli/src/ui/components/SessionPicker.tsx
|
|
18756
|
-
var
|
|
18836
|
+
var import_jsx_runtime56 = __toESM(require_jsx_runtime(), 1);
|
|
18757
18837
|
var PREFIX_CHARS = {
|
|
18758
18838
|
selected: "\u203A ",
|
|
18759
18839
|
scrollUp: "\u2191 ",
|
|
@@ -18786,9 +18866,9 @@ function SessionListItemView({
|
|
|
18786
18866
|
Math.max(1, maxPromptWidth - checkboxWidth)
|
|
18787
18867
|
);
|
|
18788
18868
|
const isAutoTitle = session.titleSource === "auto" && Boolean(session.customTitle);
|
|
18789
|
-
return /* @__PURE__ */ (0,
|
|
18790
|
-
/* @__PURE__ */ (0,
|
|
18791
|
-
/* @__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)(
|
|
18792
18872
|
Text,
|
|
18793
18873
|
{
|
|
18794
18874
|
color: isSelected ? theme.text.accent : showUpIndicator || showDownIndicator ? theme.text.secondary : void 0,
|
|
@@ -18796,7 +18876,7 @@ function SessionListItemView({
|
|
|
18796
18876
|
children: prefix
|
|
18797
18877
|
}
|
|
18798
18878
|
),
|
|
18799
|
-
isChecked !== void 0 && /* @__PURE__ */ (0,
|
|
18879
|
+
isChecked !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18800
18880
|
Text,
|
|
18801
18881
|
{
|
|
18802
18882
|
color: isDisabled ? theme.text.secondary : isChecked ? theme.text.accent : isSelected ? theme.text.accent : theme.text.secondary,
|
|
@@ -18804,7 +18884,7 @@ function SessionListItemView({
|
|
|
18804
18884
|
children: isChecked ? "[x] " : "[ ] "
|
|
18805
18885
|
}
|
|
18806
18886
|
),
|
|
18807
|
-
/* @__PURE__ */ (0,
|
|
18887
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18808
18888
|
Text,
|
|
18809
18889
|
{
|
|
18810
18890
|
color: isDisabled ? theme.text.secondary : isSelected ? theme.text.accent : isAutoTitle ? theme.text.secondary : theme.text.primary,
|
|
@@ -18813,7 +18893,7 @@ function SessionListItemView({
|
|
|
18813
18893
|
}
|
|
18814
18894
|
)
|
|
18815
18895
|
] }),
|
|
18816
|
-
/* @__PURE__ */ (0,
|
|
18896
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Box_default, { paddingLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
|
|
18817
18897
|
timeAgo,
|
|
18818
18898
|
messageText !== void 0 && ` \xB7 ${messageText}`,
|
|
18819
18899
|
session.gitBranch && ` \xB7 ${session.gitBranch}`,
|
|
@@ -18862,7 +18942,7 @@ function SessionPicker(props) {
|
|
|
18862
18942
|
const previewed = picker.filteredSessions.find(
|
|
18863
18943
|
(s) => s.sessionId === picker.previewSessionId
|
|
18864
18944
|
);
|
|
18865
|
-
return /* @__PURE__ */ (0,
|
|
18945
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18866
18946
|
SessionPreview,
|
|
18867
18947
|
{
|
|
18868
18948
|
sessionService,
|
|
@@ -18876,14 +18956,14 @@ function SessionPicker(props) {
|
|
|
18876
18956
|
}
|
|
18877
18957
|
);
|
|
18878
18958
|
}
|
|
18879
|
-
return /* @__PURE__ */ (0,
|
|
18959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18880
18960
|
Box_default,
|
|
18881
18961
|
{
|
|
18882
18962
|
flexDirection: "column",
|
|
18883
18963
|
width: boxWidth,
|
|
18884
18964
|
height: height - 1,
|
|
18885
18965
|
overflow: "hidden",
|
|
18886
|
-
children: /* @__PURE__ */ (0,
|
|
18966
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
18887
18967
|
Box_default,
|
|
18888
18968
|
{
|
|
18889
18969
|
flexDirection: "column",
|
|
@@ -18893,38 +18973,38 @@ function SessionPicker(props) {
|
|
|
18893
18973
|
height: height - 1,
|
|
18894
18974
|
overflow: "hidden",
|
|
18895
18975
|
children: [
|
|
18896
|
-
/* @__PURE__ */ (0,
|
|
18897
|
-
/* @__PURE__ */ (0,
|
|
18898
|
-
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: [
|
|
18899
18979
|
" ",
|
|
18900
18980
|
t("(branch: {{branch}})", { branch: currentBranch })
|
|
18901
18981
|
] }),
|
|
18902
|
-
picker.searchQuery !== "" && /* @__PURE__ */ (0,
|
|
18982
|
+
picker.searchQuery !== "" && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Text, { color: theme.text.secondary, children: [
|
|
18903
18983
|
" ",
|
|
18904
18984
|
t("({{count}} matches)", {
|
|
18905
18985
|
count: String(picker.filteredSessions.length)
|
|
18906
18986
|
})
|
|
18907
18987
|
] })
|
|
18908
18988
|
] }),
|
|
18909
|
-
/* @__PURE__ */ (0,
|
|
18910
|
-
/* @__PURE__ */ (0,
|
|
18911
|
-
/* @__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: [
|
|
18912
18992
|
picker.searchQuery,
|
|
18913
|
-
/* @__PURE__ */ (0,
|
|
18993
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: "\u258C" })
|
|
18914
18994
|
] })
|
|
18915
|
-
] }) : picker.searchQuery !== "" ? /* @__PURE__ */ (0,
|
|
18916
|
-
/* @__PURE__ */ (0,
|
|
18917
|
-
/* @__PURE__ */ (0,
|
|
18918
|
-
] }) : /* @__PURE__ */ (0,
|
|
18919
|
-
/* @__PURE__ */ (0,
|
|
18920
|
-
/* @__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}}"', {
|
|
18921
19001
|
query: picker.searchQuery
|
|
18922
19002
|
}) : picker.filterByBranch ? t('No sessions found for branch "{{branch}}"', {
|
|
18923
19003
|
branch: currentBranch ?? ""
|
|
18924
19004
|
}) : t("No sessions found") }) }) : picker.visibleSessions.map((session, visibleIndex) => {
|
|
18925
19005
|
const actualIndex = picker.scrollOffset + visibleIndex;
|
|
18926
19006
|
const isDisabled = picker.disabledIdSet.has(session.sessionId);
|
|
18927
|
-
return /* @__PURE__ */ (0,
|
|
19007
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
18928
19008
|
SessionListItemView,
|
|
18929
19009
|
{
|
|
18930
19010
|
session,
|
|
@@ -18943,10 +19023,10 @@ function SessionPicker(props) {
|
|
|
18943
19023
|
session.sessionId
|
|
18944
19024
|
);
|
|
18945
19025
|
}) }),
|
|
18946
|
-
/* @__PURE__ */ (0,
|
|
18947
|
-
/* @__PURE__ */ (0,
|
|
18948
|
-
currentBranch && /* @__PURE__ */ (0,
|
|
18949
|
-
/* @__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)(
|
|
18950
19030
|
Text,
|
|
18951
19031
|
{
|
|
18952
19032
|
bold: picker.filterByBranch,
|
|
@@ -18956,7 +19036,7 @@ function SessionPicker(props) {
|
|
|
18956
19036
|
),
|
|
18957
19037
|
t(" to toggle branch \xB7 ")
|
|
18958
19038
|
] }),
|
|
18959
|
-
enablePreview && /* @__PURE__ */ (0,
|
|
19039
|
+
enablePreview && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("Space to preview \xB7 ") }),
|
|
18960
19040
|
enableMultiSelect && (() => {
|
|
18961
19041
|
let committableCheckedCount = 0;
|
|
18962
19042
|
for (const id of picker.checkedIds) {
|
|
@@ -18964,11 +19044,11 @@ function SessionPicker(props) {
|
|
|
18964
19044
|
committableCheckedCount++;
|
|
18965
19045
|
}
|
|
18966
19046
|
}
|
|
18967
|
-
return /* @__PURE__ */ (0,
|
|
19047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: committableCheckedCount > 0 ? t("Space to toggle \xB7 {{count}} selected \xB7 ", {
|
|
18968
19048
|
count: String(committableCheckedCount)
|
|
18969
19049
|
}) : t("Space to select multiple \xB7 ") });
|
|
18970
19050
|
})(),
|
|
18971
|
-
/* @__PURE__ */ (0,
|
|
19051
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { color: theme.text.secondary, children: t("\u2191\u2193 to navigate \xB7 Type to search \xB7 Esc to cancel") })
|
|
18972
19052
|
] }) }) })
|
|
18973
19053
|
]
|
|
18974
19054
|
}
|