@organizaone/o1-code 0.5.0 → 0.5.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/README.md +8 -8
- package/bundled/qc-helper/docs/configuration/settings.md +1 -0
- package/bundled/qc-helper/docs/integration-jetbrains.md +1 -1
- package/bundled/qc-helper/docs/integration-vscode.md +1 -1
- package/bundled/qc-helper/docs/integration-zed.md +1 -1
- package/bundled/qc-helper/docs/quickstart.md +1 -1
- package/bundled/qc-helper/docs/support/troubleshooting.md +4 -1
- package/chunks/{MaxSizedBox-UYZO6Q53.js → MaxSizedBox-CNC7QR76.js} +23 -23
- package/chunks/{StandaloneSessionPicker-22TBAOIZ.js → StandaloneSessionPicker-E7WMM7N7.js} +36 -36
- package/chunks/{acp-subagent-executor-24M4LCIR.js → acp-subagent-executor-IRR4HZNP.js} +24 -24
- package/chunks/{acpAgent-BLHUPR3S.js → acpAgent-U3OS4SGF.js} +61 -61
- package/chunks/{agent-RKK4ZSNT.js → agent-HS5X4AQA.js} +11 -11
- package/chunks/{agent-headless-NGG6JV6W.js → agent-headless-DYTJHC7R.js} +11 -11
- package/chunks/{anthropicContentGenerator-NFE6SNOW.js → anthropicContentGenerator-5I3SDEB7.js} +5 -5
- package/chunks/{bridge-IESNMEQ4.js → bridge-LH5WQTS6.js} +24 -24
- package/chunks/{build-F5EUF23Y.js → build-RFEU7TIS.js} +1 -1
- package/chunks/{chunk-CKLLDG5Z.js → chunk-2AVFJYVG.js} +7 -7
- package/chunks/{chunk-UT656E5I.js → chunk-2H6SQNOP.js} +1 -1
- package/chunks/{chunk-7MPB362V.js → chunk-4GL4BNP3.js} +2 -2
- package/chunks/{chunk-RPOVX6MQ.js → chunk-4JFAKWYM.js} +1 -1
- package/chunks/{chunk-ZATS5TUZ.js → chunk-54XP53SF.js} +4 -4
- package/chunks/{chunk-2I5ETR2G.js → chunk-5E3VWCVH.js} +4 -4
- package/chunks/{chunk-AI2PV62X.js → chunk-5O2CM5MS.js} +6 -6
- package/chunks/{chunk-BWAJPJLA.js → chunk-6UKECV6N.js} +3 -3
- package/chunks/{chunk-ZHYAWJRF.js → chunk-6UXY7BEW.js} +1 -1
- package/chunks/{chunk-N3YINO2H.js → chunk-6Z42VAYL.js} +1 -1
- package/chunks/{chunk-HZMPE4UL.js → chunk-76J7I2OD.js} +1 -1
- package/chunks/{chunk-VZIZZYZ2.js → chunk-7HVCF6SF.js} +2 -2
- package/chunks/{chunk-OBGYVJZ6.js → chunk-7UOGQMJI.js} +14 -14
- package/chunks/{chunk-FXPZKL6H.js → chunk-AEMLEQ43.js} +1 -1
- package/chunks/{chunk-N4ANLNQG.js → chunk-ARMNLFVD.js} +3 -3
- package/chunks/{chunk-GTXPWUF4.js → chunk-BHPEQLX5.js} +4 -4
- package/chunks/{chunk-3QFZFTMB.js → chunk-CEE2KBTY.js} +4 -4
- package/chunks/{chunk-EMOLKALJ.js → chunk-DCVQA7ZW.js} +1 -1
- package/chunks/{chunk-WOO572MR.js → chunk-DFBZ7VUA.js} +1 -1
- package/chunks/{chunk-EWJD7EIC.js → chunk-DOJ6OFMD.js} +1 -1
- package/chunks/{chunk-3ZBJ5U4C.js → chunk-E2VITYZV.js} +4 -4
- package/chunks/{chunk-Y3KJFSGP.js → chunk-ERTU4OIT.js} +4 -4
- package/chunks/{chunk-D7MURDDC.js → chunk-ERZB6N6G.js} +4 -4
- package/chunks/{chunk-HOVKZNOX.js → chunk-F3EUIJ2T.js} +5 -5
- package/chunks/{chunk-RMDWSEWQ.js → chunk-FNYM6BNR.js} +9 -9
- package/chunks/{chunk-LW4NWM6L.js → chunk-FSBMCSJP.js} +13 -13
- package/chunks/{chunk-ZUCL2KQE.js → chunk-FZV6ALRX.js} +1 -1
- package/chunks/{chunk-GNSGESJK.js → chunk-G257AF4M.js} +3 -3
- package/chunks/{chunk-IAQGBZNZ.js → chunk-GMZAOX3N.js} +1 -1
- package/chunks/{chunk-WCRZJ5HN.js → chunk-GWNI7PTP.js} +1 -1
- package/chunks/{chunk-7YT5K5ST.js → chunk-HXHXSVDE.js} +4 -4
- package/chunks/{chunk-L37WUEXT.js → chunk-JA4L65MR.js} +1 -1
- package/chunks/{chunk-KRCRVCN5.js → chunk-KJOVT5TQ.js} +1 -1
- package/chunks/{chunk-K2JYJWEF.js → chunk-L42W4A43.js} +3 -3
- package/chunks/{chunk-WOZVQEFV.js → chunk-LMLPZTGG.js} +1 -1
- package/chunks/{chunk-2RYXWLLJ.js → chunk-LQO77YGR.js} +1 -1
- package/chunks/{chunk-27N4PS4A.js → chunk-LTRHL6EZ.js} +2 -2
- package/chunks/{chunk-GNEHVPRR.js → chunk-LWTOBOWO.js} +5 -5
- package/chunks/{chunk-SFHAMYFI.js → chunk-M4BXILKK.js} +1 -1
- package/chunks/{chunk-4ZA2DNDT.js → chunk-M5EXSEDH.js} +1 -1
- package/chunks/{chunk-FCTP7NAC.js → chunk-MDSA74XK.js} +29 -29
- package/chunks/{chunk-6TUERSTS.js → chunk-MHV4DXPF.js} +3 -3
- package/chunks/{chunk-6QGQ2AFR.js → chunk-MX2SXCCW.js} +2 -2
- package/chunks/{chunk-X6T6YORO.js → chunk-N36UR22Y.js} +1 -1
- package/chunks/{chunk-RBQQCGVG.js → chunk-NEUAZWIC.js} +2 -2
- package/chunks/{chunk-DH6IQO44.js → chunk-NVE7GUEI.js} +5 -5
- package/chunks/{chunk-VIXCJWEM.js → chunk-O4YNU6Y5.js} +3 -3
- package/chunks/{chunk-BDCHAXXY.js → chunk-OHYU7UNS.js} +3 -3
- package/chunks/{chunk-GQ7GDOJ3.js → chunk-OMKL73ZN.js} +3 -3
- package/chunks/{chunk-7QHVLAP5.js → chunk-OP4ZY6VE.js} +5 -5
- package/chunks/{chunk-S7EZBSGP.js → chunk-P2PB4WMO.js} +49 -49
- package/chunks/{chunk-MNGG2WBY.js → chunk-P4GDKCI7.js} +1 -1
- package/chunks/{chunk-PH4SO4P2.js → chunk-PFCBDDM7.js} +3 -3
- package/chunks/{chunk-F5TEGYB2.js → chunk-PHGUNERJ.js} +2 -2
- package/chunks/{chunk-UP6Q42H2.js → chunk-PKOKDDOC.js} +2 -2
- package/chunks/{chunk-WGHVI55A.js → chunk-PPZB3MWM.js} +4 -4
- package/chunks/{chunk-26RB5MCN.js → chunk-PRZNEYSK.js} +1 -1
- package/chunks/{chunk-HVELN6DV.js → chunk-QRWN6FCJ.js} +5 -5
- package/chunks/{chunk-BBVCA2GZ.js → chunk-QUHKXO4U.js} +1 -1
- package/chunks/{chunk-BLEJR2GA.js → chunk-QWBMFYTT.js} +3 -3
- package/chunks/{chunk-XCLRPKMH.js → chunk-RTKXNEFA.js} +1 -1
- package/chunks/{chunk-VA7BGQ2G.js → chunk-RZEXRRZS.js} +3 -3
- package/chunks/{chunk-6WB3VFOC.js → chunk-S6WQ77NB.js} +1 -1
- package/chunks/{chunk-J7SHLTAH.js → chunk-SYMAGCR4.js} +10 -10
- package/chunks/{chunk-KICFGUH5.js → chunk-TV75V4BO.js} +2 -2
- package/chunks/{chunk-AY6SVAQZ.js → chunk-TXC5V7LR.js} +1 -1
- package/chunks/{chunk-FVYOYI7Y.js → chunk-UJBYBWNU.js} +4 -4
- package/chunks/{chunk-JXBIVAJQ.js → chunk-US4VBXIU.js} +30 -30
- package/chunks/{chunk-7J3GH7GE.js → chunk-USGZHJFG.js} +4 -4
- package/chunks/{chunk-EG7FZ4GT.js → chunk-UUQDFRKV.js} +2 -2
- package/chunks/{chunk-3QL5SP6K.js → chunk-UZSRQ26K.js} +1 -1
- package/chunks/{chunk-6MRRD2YD.js → chunk-VIM2VTSW.js} +3 -3
- package/chunks/{chunk-NP2P2IJA.js → chunk-VN2ZV233.js} +1 -1
- package/chunks/{chunk-BDWRHIER.js → chunk-VZRF33JD.js} +7 -7
- package/chunks/{chunk-MG64NR57.js → chunk-W3S7EU6W.js} +1 -1
- package/chunks/{chunk-6NRPL624.js → chunk-W7MHGXKH.js} +6 -6
- package/chunks/{chunk-A24OKQOD.js → chunk-WFUXHQZO.js} +6 -2
- package/chunks/{chunk-UQ34TBDD.js → chunk-WXHUCGDL.js} +1 -1
- package/chunks/{chunk-I2XHQTBX.js → chunk-X3UJMTLX.js} +2 -2
- package/chunks/{chunk-UZLXX76B.js → chunk-XPJP6UY5.js} +1 -1
- package/chunks/{chunk-ZZG3Z2XX.js → chunk-XSGVVFSQ.js} +1 -1
- package/chunks/{chunk-QFGGMNXV.js → chunk-YCOUHZE4.js} +10 -10
- package/chunks/{chunk-QGVUKQPI.js → chunk-YEBIATRT.js} +1 -1
- package/chunks/{chunk-CG2QM2MI.js → chunk-YS43XV6D.js} +1 -1
- package/chunks/{chunk-3ILV7TTQ.js → chunk-YZVXBQI3.js} +12 -3
- package/chunks/{chunk-TVGM3GPZ.js → chunk-Z5GLRQL4.js} +2 -2
- package/chunks/{chunk-6AVPXLAG.js → chunk-ZBYWA5ZZ.js} +3 -3
- package/chunks/{chunk-IZHKBFYA.js → chunk-ZPIWM7TF.js} +1 -1
- package/chunks/{chunk-KFJXCZWZ.js → chunk-ZRTHX77Y.js} +3 -3
- package/chunks/{codex-subagent-executor-KXD2IV5N.js → codex-subagent-executor-5RHFS264.js} +24 -24
- package/chunks/{contextCommand-RDEMVBKQ.js → contextCommand-YN3RUPSC.js} +22 -22
- package/chunks/{core-runtime-BH3QRW7L.js → core-runtime-EATBTM4I.js} +21 -21
- package/chunks/{create-sub-session-2EEIM347.js → create-sub-session-JOTYTLSU.js} +22 -22
- package/chunks/{daemon-git-worktree-guard-GOHP6Z3Z.js → daemon-git-worktree-guard-EM3QFB3Q.js} +21 -21
- package/chunks/{daemon-status-provider-JBGBRCQ3.js → daemon-status-provider-RERJGUFA.js} +29 -29
- package/chunks/{daemon-trust-policy-VE2G2RR3.js → daemon-trust-policy-ZUYZR2VC.js} +26 -26
- package/chunks/{daemon-trust-policy-monitor-EQIKISSG.js → daemon-trust-policy-monitor-4RAZLB4F.js} +26 -26
- package/chunks/{deferred-core-runtime-T5ZBIEH5.js → deferred-core-runtime-PX4KR4RG.js} +21 -21
- package/chunks/{edit-SSW6ROAY.js → edit-DMTRQZTV.js} +13 -13
- package/chunks/{enterPlanMode-AQDABVZ7.js → enterPlanMode-AZZ7TRN6.js} +11 -11
- package/chunks/{environment-CRS6FJUB.js → environment-DPNJVWGK.js} +23 -23
- package/chunks/{errors-LEKWARZU.js → errors-V6OKPKG6.js} +23 -23
- package/chunks/{execution-tool-RDK54VX4.js → execution-tool-AAHUFKHG.js} +13 -13
- package/chunks/{execution-worker-GLD3Y36P.js → execution-worker-KGNMTXSW.js} +16 -16
- package/chunks/{exitPlanMode-DF32PZWX.js → exitPlanMode-4NQARYKM.js} +11 -11
- package/chunks/{fast-path-INED4OHU.js → fast-path-NEDVZHDJ.js} +2 -2
- package/chunks/{glob-7WHFZZ7M.js → glob-4IO3U53K.js} +11 -11
- package/chunks/{goal-tools-W27UVE2Z.js → goal-tools-LRQRIL4Y.js} +11 -11
- package/chunks/{handleAutoUpdate-J6Z2XB5Q.js → handleAutoUpdate-D4YUWCUC.js} +23 -23
- package/chunks/{i18n-OO4UHAXL.js → i18n-VDYVGGDM.js} +21 -21
- package/chunks/{initializer-JQHJYCF5.js → initializer-KUUTUFBW.js} +26 -26
- package/chunks/{installationInfo-AXAY2SH2.js → installationInfo-4BUNOAVS.js} +21 -21
- package/chunks/{list-SADQT2AG.js → list-PFI63YJB.js} +28 -28
- package/chunks/{llm-SZWXZP3B.js → llm-MTARC6ZY.js} +52 -52
- package/chunks/{llm-content-generator-G5JRRUQG.js → llm-content-generator-OI3GAAK3.js} +3 -3
- package/chunks/{loadedSettingsAdapter-KHPR57FZ.js → loadedSettingsAdapter-ZS7O6LDD.js} +26 -26
- package/chunks/{local-execution-environment-UIXT5MYW.js → local-execution-environment-2AUEHMTF.js} +16 -16
- package/chunks/{loggingContentGenerator-S7Z3KA5G.js → loggingContentGenerator-CPX65V3B.js} +12 -12
- package/chunks/{managed-npm-update-2F2CWUN5.js → managed-npm-update-6URQONMM.js} +21 -21
- package/chunks/{mcp-HIXXYJCE.js → mcp-VG7Y5N27.js} +26 -26
- package/chunks/{model-call-collection-KSMSHS7L.js → model-call-collection-HQCYTE7S.js} +1 -1
- package/chunks/{model-configuration-ESRJKAHN.js → model-configuration-6PYJ4W4Y.js} +27 -27
- package/chunks/{modelConfigUtils-NDQ2FXQH.js → modelConfigUtils-UOPKUQJC.js} +23 -23
- package/chunks/{monitor-YVVVGAR3.js → monitor-BINNSLPJ.js} +11 -11
- package/chunks/{nonInteractiveCli-KM3SLXEM.js → nonInteractiveCli-4L56JT7R.js} +51 -51
- package/chunks/{nonInteractiveToolExecutor-JUANVJTX.js → nonInteractiveToolExecutor-2626YJYJ.js} +12 -12
- package/chunks/{notebook-edit-4DUMKNFK.js → notebook-edit-GHO2LFNQ.js} +12 -12
- package/chunks/{omni-47LNNZAF.js → omni-TAC3FMQQ.js} +9 -9
- package/chunks/{openaiContentGenerator-A6QCMGW4.js → openaiContentGenerator-AMFFE6NL.js} +7 -7
- package/chunks/{openaiResponsesContentGenerator-BUWQNFGJ.js → openaiResponsesContentGenerator-Y65J6ZTU.js} +3 -3
- package/chunks/{processUtils-2NQUOJFV.js → processUtils-Q423O2YC.js} +2 -2
- package/chunks/{prompt-terminal-ledger-2PPXLWXQ.js → prompt-terminal-ledger-4V2FGRJG.js} +22 -22
- package/chunks/{reactive-degrade-L7HLGJAK.js → reactive-degrade-2AVJEUV5.js} +8 -8
- package/chunks/{read-file-UZ2R53V3.js → read-file-M6ONBBA6.js} +2 -2
- package/chunks/{resumeHistoryUtils-7HRODIKY.js → resumeHistoryUtils-JLUE74TU.js} +23 -23
- package/chunks/{ripGrep-ACBTAONG.js → ripGrep-VMAJMKGS.js} +3 -3
- package/chunks/{run-o1-code-serve-MDMLRTRO.js → run-o1-code-serve-6N3R5SSU.js} +32 -32
- package/chunks/{sandboxConfig-LMA3DPDG.js → sandboxConfig-DSQZVNBC.js} +21 -21
- package/chunks/{scheduled-tasks-3PMJVK6Y.js → scheduled-tasks-O4AATMQS.js} +27 -27
- package/chunks/{scheduler-O5OYPI63.js → scheduler-F2HPODNA.js} +23 -23
- package/chunks/{serve-GV3N45V5.js → serve-6R36XHAX.js} +26 -26
- package/chunks/{server-7E4EI7UC.js → server-5VYQBEDR.js} +54 -54
- package/chunks/{session-ADHGVFFK.js → session-IDQKCN5Q.js} +52 -52
- package/chunks/{session-attachments-root-XELVOIWA.js → session-attachments-root-G466KSLT.js} +21 -21
- package/chunks/{session-pr-refresh-4Z5THFBF.js → session-pr-refresh-Y457BA3F.js} +26 -26
- package/chunks/{settings-5EMCRRZH.js → settings-7AJYMJJL.js} +25 -25
- package/chunks/{shell-NPKZWF3U.js → shell-XYNY5EUN.js} +11 -11
- package/chunks/{skill-RZ7LZIVZ.js → skill-SILSYDWS.js} +3 -3
- package/chunks/{skill-settings-DHKLML5S.js → skill-settings-YYD5Q7ZW.js} +26 -26
- package/chunks/{spawnChannel-ABJVT26C.js → spawnChannel-QWLJM2XY.js} +23 -23
- package/chunks/{standalone-update-22DYM5RZ.js → standalone-update-45KQTUZW.js} +22 -22
- package/chunks/{startInteractiveUI-5EYUYKDG.js → startInteractiveUI-ABWAQOSL.js} +170 -111
- package/chunks/{team-create-DFTT6KS7.js → team-create-6XWNULB4.js} +11 -11
- package/chunks/{team-plan-approval-KVTEPS35.js → team-plan-approval-GA4KXRGH.js} +11 -11
- package/chunks/{terminal-image-renderer-ULESZQ2S.js → terminal-image-renderer-VKMZXFOM.js} +21 -21
- package/chunks/{theme-manager-TWCJZHHM.js → theme-manager-JGA2RQO2.js} +21 -21
- package/chunks/{tool-result-media-GW6DXPF6.js → tool-result-media-FVBO5OQH.js} +9 -9
- package/chunks/{tool-search-IYWJZOHM.js → tool-search-Y2XIEYB3.js} +2 -2
- package/chunks/{total-session-admission-DFBHKYZ6.js → total-session-admission-BAMRSK2O.js} +24 -24
- package/chunks/{trustedFolders-3TN7MAD2.js → trustedFolders-JNJ2CTJO.js} +22 -22
- package/chunks/{update-relaunch-VRHG4DJ3.js → update-relaunch-DH2GICFK.js} +5 -5
- package/chunks/{updateCheck-6QJH7WCQ.js → updateCheck-6TXUAQOH.js} +21 -21
- package/chunks/{upload-config-NKCONRNF.js → upload-config-F62D2LBF.js} +6 -6
- package/chunks/{useAutoAcceptIndicator-QB67K7SZ.js → useAutoAcceptIndicator-DQVVPS5D.js} +29 -29
- package/chunks/{validateNonInterActiveAuth-EIMNOYXA.js → validateNonInterActiveAuth-XANWFAXM.js} +49 -49
- package/chunks/{version-SPGSSS4D.js → version-OFUDJDXD.js} +1 -1
- package/chunks/{web-fetch-MR5YMAYN.js → web-fetch-2U4I5U5S.js} +2 -2
- package/chunks/{web-search-UT4QMZ77.js → web-search-C4EMPZRV.js} +7 -7
- package/chunks/{workflow-5GDTA5C4.js → workflow-WOI56CV7.js} +12 -12
- package/chunks/{workspace-providers-status-JHE7XF4Q.js → workspace-providers-status-NCYRESEE.js} +32 -32
- package/chunks/{workspace-registration-store-KSRT76YS.js → workspace-registration-store-XWCTFFA6.js} +1 -1
- package/chunks/{workspace-registry-UIRZ644O.js → workspace-registry-FGJ7JKTQ.js} +24 -24
- package/chunks/{workspace-runtime-coordinator-4KRIDNPN.js → workspace-runtime-coordinator-CUDS7KTP.js} +25 -25
- package/chunks/{workspace-service-EHBHBXQB.js → workspace-service-62EGHRQB.js} +29 -29
- package/chunks/{workspace-skills-status-2JGHZKN7.js → workspace-skills-status-QID7OVTA.js} +29 -29
- package/chunks/{workspace-trust-reconciler-GZETMLBC.js → workspace-trust-reconciler-TWPUQOQ7.js} +29 -29
- package/chunks/{write-file-XMTCGJ5L.js → write-file-G6AEQWX5.js} +13 -13
- package/chunks/{zoom-image-2JJU2JUJ.js → zoom-image-MV3OGQ46.js} +2 -2
- package/cli.js +12 -12
- package/examples/starter/README.md +1 -1
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/package.json +5 -5
- package/release-notes.json +11 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-C4KL0pte.js → abnfDiagram-VCTEODGH-BP1g9x2L.js} +1 -1
- package/web-shell/assets/{arc-DG56euNt.js → arc-CNtW4yZ2.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DX_GPM3e.js → architectureDiagram-5GKGNRK7-Bj8nBOc8.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-RjYYv_50.js → blockDiagram-NRAW4CY4-CWIzIked.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-DNx_cCrE.js → c4Diagram-UCG6FXSJ-DZqYIFFL.js} +1 -1
- package/web-shell/assets/channel-HugjlEps.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-tiiH_UQG.js → chunk-2Q5K7J3B-KdFBe0U2.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-L3MqoN5D.js → chunk-5VM5RSS4-BvNkTTD8.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-rOgNOxU4.js → chunk-F27PBJKO-7zrkKQXc.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Do4hF634.js → chunk-G27WJ6UU-C4sdxEc_.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-D3flHpv-.js → chunk-JWPE2WC7-BeAKt0eS.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-CKaf_vGR.js → chunk-LCL6LL3I-0ElYz3RN.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-MoTQcJHM.js → chunk-POPQ4Y6H-CkVPUj63.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-5IUiTHDJ.js → chunk-SVP7TREG-CsuhO8th.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-Calnffda.js → chunk-XXDRQBXY-CTNc-Hoe.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-B38Uzhcf.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-B38Uzhcf.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-r7CvVhkL.js → cose-bilkent-JH36ORCC-NNuCURPn.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-6IISowf1.js → cynefin-OW5HDTMX-DPqvlSdW.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-DHBp3-nw.js → cynefinDiagram-5FMLGOSQ-DYJ1LJAV.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-B8xQgIhZ.js → dagre-3AP2YEHR-D0zCQG0l.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-Cmu2Nepw.js → diagram-S7CK7UJ4-Ck6I17Om.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DcFEj1RT.js → diagram-UQ7AKVKN-COqpl-Ou.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-BJMlF0Ty.js → diagram-VSXAHHWV-Ce2TNfU9.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-kIMuXXqr.js → diagram-VX7I27RA-1mL6KXrY.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-Cs4WSVWV.js → diagram-Z3DM3KII-B-kjTjzf.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-_CXCQvy8.js → ebnfDiagram-PWID7BFC-B8vCBj2u.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-B_BWmiLC.js → erDiagram-SSCWMZ5O-BUR5n4mv.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-BbQ-Cnph.js → flowDiagram-A5DVABFB-efppmebN.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-Dw0OP2o6.js → ganttDiagram-EL5Y4UJY-BaOzoRws.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-CLGso8Fx.js → gitGraphDiagram-WWUBYQGX-Cyw1QgFp.js} +1 -1
- package/web-shell/assets/{index-DqcXLe_L.js → index-DWUcnjhT.js} +1 -1
- package/web-shell/assets/{index-uXBGc-O_.js → index-DaJgETPj.js} +4 -4
- package/web-shell/assets/{infoDiagram-RXCK75RN-B16fsKTx.js → infoDiagram-RXCK75RN-Cvkb2QEc.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-B6gNa_2h.js → ishikawaDiagram-5VMMS53U-d19Ltk_w.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-D6pmm-zQ.js → journeyDiagram-EYS64GPL-VhrQwBeC.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-CYgLAGlY.js → kanban-definition-3QL26DDD-vMP5PSJe.js} +1 -1
- package/web-shell/assets/{layout-Dnu_3yL-.js → layout-5Z-OugRB.js} +1 -1
- package/web-shell/assets/{linear-M3brA9am.js → linear-DDGiXEO0.js} +1 -1
- package/web-shell/assets/{mermaid.core-0spMkbMJ.js → mermaid.core-DOeF8Pmo.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-KXz1-2Ie.js → mindmap-definition-FBJOCRG2-BruV2K_3.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-D2wzdm-1.js → pegDiagram-XKGWAZYB-CoSXZyFb.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-CAVUnkpR.js → pieDiagram-E7YTZNPT-C-txTNCw.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Bi0I0wCT.js → quadrantDiagram-AXDQQJYC-g4fZiWFe.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-1RMp3suI.js → railroadDiagram-O6MQD6OU-Dukqf7a7.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-Buktf-dE.js → requirementDiagram-EFPCY7ZU-CaSCi7Bs.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-Z4cqu0Yj.js → sankeyDiagram-P5KCCOFB-Cj8R7MU3.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Bky8Neqh.js → sequenceDiagram-WJ2MYXX4-gqGM_0Pf.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-CtuAvlom.js → sizeCapture-X5ZJPWSS-DFvPe7th.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-Ch17BzwP.js → stateDiagram-HBIQ2CUA-CUphWqra.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CPiGRDKM.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-zDCbFlBP.js → swimlanes-XN3QIQJK-CJxytKc1.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BWYf7xyY.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-B_wsMvHG.js → timeline-definition-24CTP7MA-CP6Hzcyi.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DaY56Y6X.js → vennDiagram-4TSXK5OY-zmEh1YF3.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C_qP-clx.js → wardleyDiagram-VM6X3IG4-DI9JPGPN.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-Bn_GJCcM.js → xychartDiagram-S5SC5T6Z-CUbklmdh.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-C4IYRzaQ.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-B1_DeD3H.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-B1_DeD3H.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CnlkrjZ6.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DR1jeM-b.js +0 -8
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
normalize,
|
|
12
12
|
parseModelReasoningCapabilities,
|
|
13
13
|
tokenLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F3EUIJ2T.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_O1CODE_MODEL
|
|
17
17
|
} from "./chunk-LEXKU5FI.js";
|
|
@@ -3502,7 +3502,7 @@ var BRAND = {
|
|
|
3502
3502
|
productName: "o1-code",
|
|
3503
3503
|
displayName: "O1-Code",
|
|
3504
3504
|
organization: "OrganizaOne",
|
|
3505
|
-
repoUrl: "https://github.com/
|
|
3505
|
+
repoUrl: "https://github.com/organizaone/o1-code",
|
|
3506
3506
|
coAuthorEmail: "o1-code@organizaone.com",
|
|
3507
3507
|
userAgent: "O1Code"
|
|
3508
3508
|
};
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
isGoalCheckpointBookkeepingRecord,
|
|
26
26
|
projectGoalCard
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5O2CM5MS.js";
|
|
28
28
|
import {
|
|
29
29
|
observeToolResultBoundary,
|
|
30
30
|
toolResultBoundaryArtifact
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-P2PB4WMO.js";
|
|
32
32
|
import {
|
|
33
33
|
isShellResultDisplay
|
|
34
34
|
} from "./chunk-GYGA6V6B.js";
|
|
@@ -43,11 +43,11 @@ import {
|
|
|
43
43
|
parseGoalSnapshotV2,
|
|
44
44
|
parseGoalStateCause,
|
|
45
45
|
parseGoalStateRecordPayloadV2
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LMLPZTGG.js";
|
|
47
47
|
import {
|
|
48
48
|
formatVisionBridgeNoticeDisplay,
|
|
49
49
|
isVisionBridgeNoticeDisplay
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-AEMLEQ43.js";
|
|
51
51
|
import {
|
|
52
52
|
SchemaValidator
|
|
53
53
|
} from "./chunk-V44Y3PCO.js";
|
|
@@ -2598,7 +2598,7 @@ async function collectSessionMetadata(conversation, config) {
|
|
|
2598
2598
|
const gitBranch = firstRecord?.gitBranch;
|
|
2599
2599
|
let gitRepo;
|
|
2600
2600
|
if (cwd) {
|
|
2601
|
-
const { getGitRepoName } = await import("./deferred-core-runtime-
|
|
2601
|
+
const { getGitRepoName } = await import("./deferred-core-runtime-PX4KR4RG.js");
|
|
2602
2602
|
gitRepo = getGitRepoName(cwd);
|
|
2603
2603
|
}
|
|
2604
2604
|
let model;
|
|
@@ -3386,7 +3386,7 @@ init_esbuild_shims();
|
|
|
3386
3386
|
|
|
3387
3387
|
// packages/web-templates/src/generated/insightTemplate.ts
|
|
3388
3388
|
init_esbuild_shims();
|
|
3389
|
-
var INSIGHT_JS = '(function(e,L){"use strict";function V({data:t}){const{totalMessages:n=0,totalLinesAdded:l=0,totalLinesRemoved:r=0,totalFiles:a=0}=t,s=Object.keys(t.heatmap||{});let o=0;if(s.length>0){const c=s.map(x=>new Date(x)).map(x=>x.getTime()),d=new Date(Math.min(...c)),g=new Date(Math.max(...c)),E=Math.abs(g.getTime()-d.getTime());o=Math.ceil(E/(1e3*60*60*24))+1}const i=o>0?Math.round(n/o):0;return e.createElement("div",{className:"stats-row"},e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},n),e.createElement("div",{className:"stat-label"},"Messages")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},"+",l,"/-",r),e.createElement("div",{className:"stat-label"},"Lines")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},a),e.createElement("div",{className:"stat-label"},"Files")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},o),e.createElement("div",{className:"stat-label"},"Days")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},i),e.createElement("div",{className:"stat-label"},"Msgs/Day")))}/**\n * @license\n * Copyright 2026 Qwen Team\n * SPDX-License-Identifier: Apache-2.0\n */function D(t){const n=t.getFullYear(),l=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0");return`${n}-${l}-${r}`}function K(t){const[n,l,r]=t.split("-").map(Number);return new Date(n,l-1,r)}function X({insights:t}){return e.createElement("div",{className:"grid gap-4 md:grid-cols-2 md:gap-6"},e.createElement(Q,{activeHours:t.activeHours,cardClass:"glass-card p-6",sectionTitleClass:"text-lg font-semibold tracking-tight text-slate-900"}))}function Q({activeHours:t,cardClass:n,sectionTitleClass:l}){const a=[{label:"Morning",time:"06:00 - 12:00",hours:[6,7,8,9,10,11],color:"#fbbf24"},{label:"Afternoon",time:"12:00 - 18:00",hours:[12,13,14,15,16,17],color:"#0ea5e9"},{label:"Evening",time:"18:00 - 22:00",hours:[18,19,20,21],color:"#6366f1"},{label:"Night",time:"22:00 - 06:00",hours:[22,23,0,1,2,3,4,5],color:"#475569"}].map(o=>{const i=o.hours.reduce((m,c)=>m+(t[c]||0),0);return{...o,total:i}}),s=Math.max(...a.map(o=>o.total));return e.createElement("div",{className:`${n} h-full flex flex-col min-h-[320px]`},e.createElement("div",{className:"flex items-center justify-between mb-4"},e.createElement("h3",{className:l},"Active Hours")),e.createElement("div",{className:"flex-1 flex flex-col justify-center gap-4"},a.map(o=>e.createElement("div",{key:o.label,className:"space-y-2"},e.createElement("div",{className:"flex justify-between items-center text-sm"},e.createElement("div",{className:"flex items-center gap-2"},e.createElement("span",{className:"rounded-full",style:{width:"12px",height:"12px",backgroundColor:o.color}}),e.createElement("span",{className:"font-medium text-slate-700"},o.label),e.createElement("span",{className:"text-xs text-slate-400 hidden xl:inline"},o.time)),e.createElement("span",{className:"font-semibold text-slate-900"},o.total)),e.createElement("div",{className:"w-full rounded-full overflow-hidden",style:{height:"12px",backgroundColor:"#e2e8f0"}},e.createElement("div",{className:"h-full rounded-full",style:{width:`${s>0?o.total/s*100:0}%`,backgroundColor:o.color}}))))))}function Z({heatmap:t}){return e.createElement("div",{className:"glass-card p-6 mt-4 md:mt-6"},e.createElement("div",{className:"mb-3"},e.createElement("h3",{className:"text-lg font-semibold tracking-tight text-slate-900"},"Activity Heatmap"),e.createElement("p",{className:"text-xs text-slate-500"},"Showing past year of activity")),e.createElement("div",{className:"heatmap-container"},e.createElement("div",{className:"min-w-[720px] rounded-xl bg-white/70"},e.createElement(R,{heatmapData:t}))),e.createElement(ee,null))}function R({heatmapData:t}){const s=new Date,o=new Date(s);o.setFullYear(s.getFullYear()-1);const i=[],m=new Date(o);for(;m<=s;)i.push(new Date(m)),m.setDate(m.getDate()+1);const c=[0,2,4,10,20],d=["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"];function g(u){if(u===0)return d[0];for(let h=c.length-1;h>=1;h--)if(u>=c[h])return d[h];return d[1]}const E=50,x=20,_=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],w=o.getDay(),W=[];let f=-1,T=-100;return i.forEach((u,h)=>{const S=h+w,A=Math.floor(S/7),v=E+A*16,N=u.getMonth();N!==f&&(v-T>30&&(W.push({x:v,text:_[N]}),T=v),f=N)}),e.createElement("svg",{className:"heatmap-svg",width:1e3,height:130,viewBox:"0 0 1000 130"},i.map((u,h)=>{const S=h+w,A=Math.floor(S/7),v=u.getDay(),N=E+A*16,j=x+v*16,k=D(u),C=t[k]||0,I=g(C);return e.createElement("rect",{key:k,className:"heatmap-day",x:N,y:j,width:14,height:14,rx:"2",fill:I,"data-date":k,"data-count":C},e.createElement("title",null,k,": ",C," activities"))}),W.map((u,h)=>e.createElement("text",{key:h,x:u.x,y:"15",fontSize:"12",fill:"#64748b"},u.text)))}function ee(){const t=["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"];return e.createElement("div",{className:"flex items-center gap-2 mt-4"},e.createElement("span",{className:"text-xs text-slate-500"},"Less"),t.map((n,l)=>e.createElement("span",{key:l,className:"inline-block rounded",style:{width:"10px",height:"10px",backgroundColor:n}})),e.createElement("span",{className:"text-xs text-slate-500"},"More"))}function p({children:t}){if(!t||typeof t!="string")return t;const n=t.split(/(\\*\\*.*?\\*\\*)/g);return e.createElement(e.Fragment,null,n.map((l,r)=>l.startsWith("**")&&l.endsWith("**")&&l.length>=4?e.createElement("strong",{key:r},l.slice(2,-2)):l))}function H({text:t,label:n="Copy"}){const[l,r]=e.useState(!1),a=()=>{navigator.clipboard.writeText(t).then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})};return e.createElement("button",{className:"copy-btn",onClick:a},l?"Copied!":n)}function te(t){return typeof t=="string"&&t.trim().length>0}function ne({qualitative:t,targetSections:n}){const{atAGlance:l}=t;if(!l)return null;const r=[{key:"wins",label:"What\'s working:",body:l.whats_working,href:"#section-wins",link:"Impressive Things You Did \u2192",showLink:n.wins},{key:"friction",label:"What\'s hindering you:",body:l.whats_hindering,href:"#section-friction",link:"Where Things Go Wrong \u2192",showLink:n.friction},{key:"features",label:"Quick wins to try:",body:l.quick_wins,href:"#section-features",link:"Features to Try \u2192",showLink:n.features},{key:"horizon",label:"Ambitious workflows:",body:l.ambitious_workflows,href:"#section-horizon",link:"On the Horizon \u2192",showLink:n.horizon}].filter(a=>te(a.body));return r.length===0?null:e.createElement("div",{className:"at-a-glance"},e.createElement("div",{className:"glance-title"},"At a Glance"),e.createElement("div",{className:"glance-sections"},r.map(a=>e.createElement("div",{key:a.key,className:"glance-section"},e.createElement("strong",null,a.label)," ",e.createElement(p,null,a.body),a.showLink&&e.createElement("a",{href:a.href,className:"see-more"},a.link)))))}function le({sections:t}){return t.length===0?null:e.createElement("nav",{className:"nav-toc"},t.map(n=>e.createElement("a",{key:n.href,href:n.href},n.label)))}function re({qualitative:t,topGoals:n,topTools:l}){const{projectAreas:r}=t,a=Array.isArray(l)?Object.fromEntries(l):l;return e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-work",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"What You Work On"),Array.isArray(r==null?void 0:r.areas)&&r.areas.length>0&&e.createElement("div",{className:"project-areas mb-6"},r.areas.map((s,o)=>e.createElement("div",{key:o,className:"project-area"},e.createElement("div",{className:"area-header"},e.createElement("span",{className:"area-name"},s.name),e.createElement("span",{className:"area-count"},"~",s.session_count," sessions")),e.createElement("div",{className:"area-desc"},e.createElement(p,null,s.description))))),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"24px",marginBottom:"24px"}},n&&Object.keys(n).length>0&&e.createElement(M,{data:n,title:"What You Wanted",color:"#0ea5e9"}),a&&Object.keys(a).length>0&&e.createElement(M,{data:a,title:"Top Tools Used",color:"#6366f1"})))}function ae({qualitative:t,insights:n}){const{interactionStyle:l}=t;return l?e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-usage",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"How You Use O1-Code"),e.createElement("div",{className:"narrative"},e.createElement("p",null,e.createElement(p,null,l.narrative)),l.key_pattern&&e.createElement("div",{className:"key-insight"},e.createElement("strong",null,"Key pattern:")," ",e.createElement(p,null,l.key_pattern))),e.createElement(X,{insights:n}),e.createElement(Z,{heatmap:n.heatmap})):null}function se({qualitative:t,primarySuccess:n,outcomes:l}){const r=t==null?void 0:t.impressiveWorkflows;return e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-wins",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"Impressive Things You Did"),(r==null?void 0:r.intro)&&e.createElement("p",{className:"section-intro"},e.createElement(p,null,r.intro)),r&&e.createElement("div",{className:"big-wins"},Array.isArray(r.impressive_workflows)&&r.impressive_workflows.map((a,s)=>e.createElement("div",{key:s,className:"big-win"},e.createElement("div",{className:"big-win-title"},a.title),e.createElement("div",{className:"big-win-desc"},e.createElement(p,null,a.description))))),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"24px",marginTop:"24px",marginBottom:"24px"}},n&&Object.keys(n).length>0&&e.createElement(M,{data:n,title:"What Helped Most (O1-Code\'s Capabilities)",color:"#3b82f6",allowedKeys:["fast_accurate_search","correct_code_edits","good_explanations","proactive_help","multi_file_changes","good_debugging"]}),l&&Object.keys(l).length>0&&e.createElement(M,{data:l,title:"Outcomes",color:"#8b5cf6",allowedKeys:["fully_achieved","mostly_achieved","partially_achieved","not_achieved","unclear_from_transcript"]})))}function oe(t){return t==="unclear_from_transcript"?"Unclear":t.split("_").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" ")}function M({data:t,title:n,color:l="#3b82f6",allowedKeys:r=null}){if(!t||Object.keys(t).length===0)return null;let a=Object.entries(t).filter(([,o])=>Number.isFinite(o)&&o!==0);if(r&&(a=a.filter(([o])=>r.includes(o))),a.sort((o,i)=>i[1]-o[1]),a=a.slice(0,10),a.length===0)return null;const s=Math.max(...a.map(([,o])=>o));return e.createElement("div",{className:"bar-chart-card",style:{flex:1,minWidth:0,backgroundColor:"#ffffff",borderRadius:"12px",padding:"20px",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.08)",border:"1px solid #e2e8f0"}},e.createElement("h3",{style:{fontSize:"13px",fontWeight:700,color:"#64748b",marginTop:0,marginBottom:"16px",textTransform:"uppercase",letterSpacing:"0.5px"}},n),e.createElement("div",{className:"bar-chart",style:{display:"flex",flexDirection:"column",gap:"10px"}},a.map(([o,i])=>{const m=s>0?i/s*100:0;return e.createElement("div",{key:o,className:"bar-row",style:{display:"flex",alignItems:"center",gap:"12px"}},e.createElement("div",{className:"bar-label",style:{width:"130px",fontSize:"13px",color:"#475569",textAlign:"left",flexShrink:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},oe(o)),e.createElement("div",{className:"bar-wrapper",style:{flex:1,display:"flex",alignItems:"center",gap:"10px",minWidth:0}},e.createElement("div",{className:"bar-bg",style:{flex:1,height:"8px",backgroundColor:"#f1f5f9",borderRadius:"4px",overflow:"hidden"}},e.createElement("div",{className:"bar-fill",style:{width:`${m}%`,height:"100%",backgroundColor:l,borderRadius:"4px",transition:"width 0.3s ease"}})),e.createElement("span",{className:"bar-value",style:{fontSize:"13px",fontWeight:600,color:"#475569",minWidth:"24px",textAlign:"right"}},i)))})))}function ie({qualitative:t,satisfaction:n,friction:l}){const r=t==null?void 0:t.frictionPoints;return e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-friction",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"Where Things Go Wrong"),(r==null?void 0:r.intro)&&e.createElement("p",{className:"section-intro"},e.createElement(p,null,r.intro)),r&&e.createElement("div",{className:"friction-categories"},Array.isArray(r.categories)&&r.categories.map((a,s)=>e.createElement("div",{key:s,className:"friction-category"},e.createElement("div",{className:"friction-title"},a.category),e.createElement("div",{className:"friction-desc"},e.createElement(p,null,a.description)),Array.isArray(a.examples)&&a.examples.length>0&&e.createElement("ul",{className:"friction-examples"},a.examples.map((o,i)=>e.createElement("li",{key:i},e.createElement(p,null,o))))))),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"24px",marginTop:"24px",marginBottom:"24px"}},l&&Object.keys(l).length>0&&e.createElement(M,{data:l,title:"Primary Friction Types",color:"#ef4444",allowedKeys:["misunderstood_request","wrong_approach","buggy_code","user_rejected_action","excessive_changes"]}),n&&Object.keys(n).length>0&&e.createElement(M,{data:n,title:"Inferred Satisfaction (model-estimated)",color:"#10b981",allowedKeys:["happy","satisfied","likely_satisfied","dissatisfied","frustrated"]})))}function me({additions:t}){const[n,l]=e.useState(new Array(t.length).fill(!0)),[r,a]=e.useState(!1),s=m=>{const c=n.map((d,g)=>g===m?!d:d);l(c)},o=()=>{const m=t.filter((c,d)=>n[d]).map(c=>c.addition).join(`\n\n`);m&&navigator.clipboard.writeText(m).then(()=>{a(!0),setTimeout(()=>a(!1),2e3)})},i=n.filter(Boolean).length;return e.createElement("div",{className:"o1-code-md-section"},e.createElement("h3",null,"Suggested AGENTS.md Additions"),e.createElement("p",{className:"text-xs text-slate-500 mb-3"},"Just copy this into O1-Code to add it to your AGENTS.md."),e.createElement("div",{className:"o1-code-md-actions",style:{marginBottom:"12px"}},e.createElement("button",{className:`copy-all-btn ${r?"copied":""}`,onClick:o,disabled:i===0},r?"Copied All!":`Copy All Checked (${i})`)),t.map((m,c)=>e.createElement("div",{key:c,className:"o1-code-md-item"},e.createElement("input",{type:"checkbox",checked:n[c],onChange:()=>s(c),className:"cmd-checkbox"}),e.createElement("div",{style:{flex:1}},e.createElement("code",{className:"cmd-code"},m.addition),e.createElement("div",{className:"cmd-why"},e.createElement(p,null,m.why))),e.createElement(H,{text:m.addition}))))}function ce({qualitative:t}){const{improvements:n}=t;if(!n)return null;const l=Array.isArray(n.O1Code_md_additions)&&n.O1Code_md_additions.length>0||Array.isArray(n.features_to_try)&&n.features_to_try.length>0,r=Array.isArray(n.usage_patterns)&&n.usage_patterns.length>0;return!l&&!r?null:e.createElement(e.Fragment,null,l&&e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-features",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"Existing O1-Code Features to Try"),Array.isArray(n.O1Code_md_additions)&&n.O1Code_md_additions.length>0&&e.createElement(me,{additions:n.O1Code_md_additions}),e.createElement("p",{className:"text-xs text-slate-500 mb-3"},"Just copy this into O1-Code and it\'ll set it up for you."),e.createElement("div",{className:"features-section"},Array.isArray(n.features_to_try)&&n.features_to_try.map((a,s)=>e.createElement("div",{key:s,className:"feature-card"},e.createElement("div",{className:"feature-title"},a.feature),e.createElement("div",{className:"feature-oneliner"},e.createElement(p,null,a.one_liner)),e.createElement("div",{className:"feature-why"},e.createElement("strong",null,"Why for you:")," ",e.createElement(p,null,a.why_for_you)),e.createElement("div",{className:"feature-examples"},e.createElement("div",{className:"feature-example"},e.createElement("div",{className:"example-code-row"},e.createElement("code",{className:"example-code"},a.example_code),e.createElement(H,{text:a.example_code})))))))),r&&e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-patterns",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"New Ways to Use O1-Code"),e.createElement("p",{className:"text-xs text-slate-500 mb-3"},"Just copy this into O1-Code and it\'ll walk you through it."),e.createElement("div",{className:"patterns-section"},Array.isArray(n.usage_patterns)&&n.usage_patterns.map((a,s)=>e.createElement("div",{key:s,className:"pattern-card"},e.createElement("div",{className:"pattern-title"},a.title),e.createElement("div",{className:"pattern-summary"},e.createElement(p,null,a.suggestion)),e.createElement("div",{className:"pattern-detail"},e.createElement(p,null,a.detail)),e.createElement("div",{className:"copyable-prompt-section"},e.createElement("div",{className:"prompt-label"},"Paste into O1-Code:"),e.createElement("div",{className:"copyable-prompt-row"},e.createElement("code",{className:"copyable-prompt"},a.copyable_prompt),e.createElement(H,{text:a.copyable_prompt}))))))))}function de({qualitative:t}){const{futureOpportunities:n}=t;return n?e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-horizon",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"On the Horizon"),n.intro&&e.createElement("p",{className:"section-intro"},e.createElement(p,null,n.intro)),e.createElement("div",{className:"horizon-section"},Array.isArray(n.opportunities)&&n.opportunities.map((l,r)=>e.createElement("div",{key:r,className:"horizon-card"},e.createElement("div",{className:"horizon-title"},l.title),e.createElement("div",{className:"horizon-possible"},e.createElement(p,null,l.whats_possible)),e.createElement("div",{className:"horizon-tip"},e.createElement("strong",null,"Getting started:")," ",e.createElement(p,null,l.how_to_try)),e.createElement("div",{className:"pattern-prompt"},e.createElement("div",{className:"prompt-label"},"Paste into O1-Code:"),e.createElement("div",{style:{display:"flex",alignItems:"flex-start",gap:"8px"}},e.createElement("code",{style:{flex:1}},l.copyable_prompt),e.createElement(H,{text:l.copyable_prompt}))))))):null}function pe({qualitative:t}){const{memorableMoment:n}=t;return n?e.createElement("div",{className:"fun-ending"},e.createElement("div",{className:"fun-headline"},\'"\',n.headline,\'"\'),e.createElement("div",{className:"fun-detail"},e.createElement(p,null,n.detail))):null}const ue={light:{background:"linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%)",textPrimary:"#0f172a",textSecondary:"#475569",textMuted:"#64748b",cardBackground:"rgba(255,255,255,0.7)",cardBackgroundSecondary:"rgba(255,255,255,0.5)",borderColor:"#e2e8f0",heatmapColors:["#9be9a8","#40c463","#30a14e","#216e39"],heatmapEmpty:"#ebedf0"},dark:{background:"linear-gradient(135deg, #0f172a 0%, #1e293b 100%)",textPrimary:"#f8fafc",textSecondary:"#e2e8f0",textMuted:"#94a3b8",cardBackground:"rgba(255,255,255,0.05)",cardBackgroundSecondary:"rgba(255,255,255,0.04)",borderColor:"rgba(255,255,255,0.08)",heatmapColors:["#0e4429","#006d32","#26a641","#39d353"],heatmapEmpty:"#2d333b"}};function he({data:t,theme:n="light"}){var f,T,u,h,S,A;const l=ue[n],{totalMessages:r=0,totalSessions:a=0,totalLinesAdded:s=0,totalLinesRemoved:o=0,totalFiles:i=0,currentStreak:m=0,longestStreak:c=0,activeHours:d={}}=t,g=Object.keys(t.heatmap||{});let E=0,x="";if(g.length>0){E=g.length;const v=g.map(C=>K(C).getTime()),N=new Date(Math.min(...v)),j=new Date(Math.max(...v)),k=C=>D(C);x=`${k(N)} \u2014 ${k(j)}`}const _=(u=(T=(f=t.qualitative)==null?void 0:f.interactionStyle)==null?void 0:T.key_pattern)!=null?u:null,w=(A=(S=(h=t.qualitative)==null?void 0:h.memorableMoment)==null?void 0:S.headline)!=null?A:null,W=ge(t.heatmap||{},l);return e.createElement("div",{id:"share-card",style:{width:"1200px",background:l.background,color:l.textPrimary,fontFamily:\'ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"\',display:"flex",flexDirection:"column",padding:"48px 56px",position:"absolute",left:"-9999px",top:"-9999px",overflow:"hidden",boxSizing:"border-box"}},e.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"32px"}},e.createElement("div",null,e.createElement("div",{style:{fontSize:"32px",fontWeight:700,letterSpacing:"-0.02em",lineHeight:1.2}},"O1-Code Insights"),e.createElement("div",{style:{fontSize:"14px",color:l.textMuted,marginTop:"6px"}},x)),e.createElement("div",{style:{fontSize:"11px",color:l.textMuted,textTransform:"uppercase",letterSpacing:"0.15em",paddingTop:"8px"}},"o1-code")),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"16px",marginBottom:"32px"}},e.createElement(O,{value:String(r),label:"Messages",theme:l}),e.createElement(O,{value:String(a),label:"Sessions",theme:l}),e.createElement(O,{value:`+${s}/-${o}`,label:"Lines Changed",small:!0,theme:l}),e.createElement(O,{value:String(i),label:"Files",theme:l}),e.createElement(O,{value:`${m}d`,label:"Streak",theme:l}),e.createElement(O,{value:`${c}d`,label:"Best Streak",theme:l})),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"24px",marginBottom:"16px"}},e.createElement("div",{style:{background:l.cardBackground,borderRadius:"12px",padding:"20px",display:"flex",flexDirection:"column"}},e.createElement("div",{style:{fontSize:"12px",fontWeight:600,color:l.textMuted,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:"12px"}},"Activity \xB7 ",E," active days"),e.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement(xe,{cells:W})),e.createElement(Ee,{theme:l})),e.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"16px"}},e.createElement("div",{style:{background:l.cardBackground,borderRadius:"12px",padding:"20px",display:"flex",flexDirection:"column"}},e.createElement("div",{style:{fontSize:"12px",fontWeight:600,color:l.textMuted,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:"12px"}},"Active Hours"),e.createElement("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",gap:"10px"}},e.createElement(fe,{activeHours:d,theme:l}))),e.createElement("div",{style:{background:l.cardBackgroundSecondary,borderRadius:"12px",padding:"16px 16px",position:"relative"}},e.createElement("div",{style:{position:"absolute",left:"12px",fontSize:"64px",fontWeight:700,color:n==="light"?"rgba(99,102,241,0.15)":"rgba(99,102,241,0.2)",lineHeight:1,fontFamily:\'Georgia, "Times New Roman", serif\',userSelect:"none",pointerEvents:"none"}},"\u201C"),e.createElement("div",{style:{paddingLeft:"40px",position:"relative"}},_&&e.createElement("div",{style:{fontSize:"13px",color:l.textSecondary,lineHeight:1.6,marginBottom:w?"8px":0}},_),w&&e.createElement("div",{style:{fontSize:"12px",color:l.textMuted,lineHeight:1.5,fontStyle:"italic"}},w))))),e.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"auto",paddingTop:"24px",borderTop:`1px solid ${l.borderColor}`,flexShrink:0}},e.createElement("div",{style:{fontSize:"12px",color:l.textMuted}},"Generated by O1-Code \xB7 ",D(new Date)),e.createElement("div",{style:{fontSize:"12px",color:l.textMuted}},"https://github.com/silvioricardo87/o1-code".replace(/^https?:\\/\\//,""))))}function O({value:t,label:n,small:l,theme:r}){return e.createElement("div",{style:{textAlign:"center"}},e.createElement("div",{style:{fontSize:l?"18px":"28px",fontWeight:700,color:r.textPrimary,lineHeight:1.2}},t),e.createElement("div",{style:{fontSize:"11px",color:r.textMuted,textTransform:"uppercase",letterSpacing:"0.05em",marginTop:"4px"}},n))}function fe({activeHours:t,theme:n}){const r=[{label:"Morning",time:"06\u201312",hours:[6,7,8,9,10,11],color:"#fbbf24"},{label:"Afternoon",time:"12\u201318",hours:[12,13,14,15,16,17],color:"#0ea5e9"},{label:"Evening",time:"18\u201322",hours:[18,19,20,21],color:"#6366f1"},{label:"Night",time:"22\u201306",hours:[22,23,0,1,2,3,4,5],color:"#475569"}].map(s=>({...s,total:s.hours.reduce((o,i)=>o+(t[i]||0),0)})),a=Math.max(...r.map(s=>s.total),1);return e.createElement(e.Fragment,null,r.map(s=>{const o=a>0?s.total/a*100:0;return e.createElement("div",{key:s.label},e.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",marginBottom:"4px"}},e.createElement("div",{style:{display:"flex",alignItems:"center",gap:"6px"}},e.createElement("span",{style:{width:"8px",height:"8px",borderRadius:"50%",backgroundColor:s.color,display:"inline-block",flexShrink:0}}),e.createElement("span",{style:{color:n.textSecondary,fontWeight:500}},s.label),e.createElement("span",{style:{color:n.textMuted,fontSize:"11px"}},s.time)),e.createElement("span",{style:{color:n.textMuted,fontWeight:600}},s.total)),e.createElement("div",{style:{height:"6px",background:n.borderColor,borderRadius:"3px",overflow:"hidden"}},e.createElement("div",{style:{width:`${o}%`,height:"100%",backgroundColor:s.color,borderRadius:"3px"}})))}))}function ge(t,n){const l=new Date,a=26*7,s=new Date(l);s.setDate(s.getDate()-a+1),s.setDate(s.getDate()-s.getDay());const o=[],i=new Date(l);i.setDate(i.getDate()+(6-i.getDay()));const m=new Date(s);for(;m<=i;){const c=D(m),d=t[c]||0;o.push({color:ye(d,n)}),m.setDate(m.getDate()+1)}return o}function ye(t,n){return t===0?n.heatmapEmpty:t<2?n.heatmapColors[0]:t<4?n.heatmapColors[1]:t<10?n.heatmapColors[2]:n.heatmapColors[3]}function xe({cells:t}){const l=Math.ceil(t.length/7),r=14,a=3,s=l*(r+a),o=7*(r+a);return e.createElement("svg",{width:s,height:o,viewBox:`0 0 ${s} ${o}`},t.map((i,m)=>{const c=Math.floor(m/7),d=m%7;return e.createElement("rect",{key:m,x:c*(r+a),y:d*(r+a),width:r,height:r,rx:2,fill:i.color})}))}function Ee({theme:t}){return e.createElement("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginTop:"12px"}},e.createElement("span",{style:{fontSize:"11px",color:t.textMuted}},"Less"),[t.heatmapEmpty,t.heatmapColors[0],t.heatmapColors[1],t.heatmapColors[2],t.heatmapColors[3]].map((n,l)=>e.createElement("span",{key:l,style:{width:"10px",height:"10px",borderRadius:"2px",backgroundColor:n,display:"inline-block"}})),e.createElement("span",{style:{fontSize:"11px",color:t.textMuted}},"More"))}function b(t){return typeof t=="string"?t.trim().length>0:typeof t=="number"?Number.isFinite(t)&&t!==0:typeof t=="boolean"?t:Array.isArray(t)?t.some(n=>b(n)):t&&typeof t=="object"?Object.values(t).some(n=>b(n)):!1}function z(t){return Array.isArray(t)?t.some(([,n])=>Number.isFinite(n)&&n!==0):!!t&&Object.values(t).some(n=>Number.isFinite(n)&&n!==0)}function $(t){return Array.isArray(t)&&t.some(n=>b(n))}function ve({data:t}){var u,h,S,A,v,N,j,k,C,I,U,J;const[n,l]=e.useState("dark"),r=e.useRef(!1),a=async()=>{const F=document.getElementById("share-card");if(!F||!window.html2canvas){alert("Export functionality is not available.");return}try{const y=F.cloneNode(!0);y.style.position="fixed",y.style.left="-9999px",y.style.top="0",y.style.pointerEvents="none",document.body.appendChild(y);const G=await window.html2canvas(y,{scale:2,useCORS:!0,logging:!1,width:1200,height:y.scrollHeight});document.body.removeChild(y);const Y=G.toDataURL("image/png"),q=document.createElement("a");q.href=Y,q.download=`o1-code-insights-card-${D(new Date)}.png`,q.click()}catch(y){console.error("Export card error:",y),alert("Failed to export card. Please try again.")}};e.useEffect(()=>{r.current&&(r.current=!1,a())},[n]);const s=F=>{F===n?a():(r.current=!0,l(F))};if(!t)return e.createElement("div",{className:"text-center text-slate-600"},"No insight data available");const o=Object.keys(t.heatmap||{});let i="";if(o.length>0){const y=o.map(B=>K(B)).map(B=>B.getTime()),G=new Date(Math.min(...y)),Y=new Date(Math.max(...y)),q=B=>D(B);i=`${q(G)} to ${q(Y)}`}const m=b((u=t.qualitative)==null?void 0:u.atAGlance),c=!!t.qualitative&&(b(t.qualitative.projectAreas)||z(t.topGoals)||z(t.topTools)),d=b((h=t.qualitative)==null?void 0:h.interactionStyle),g=!!t.qualitative&&(b(t.qualitative.impressiveWorkflows)||z(t.primarySuccess)||z(t.outcomes)),E=!!t.qualitative&&(b(t.qualitative.frictionPoints)||z(t.satisfaction)||z(t.friction)),x=!!t.qualitative&&($((S=t.qualitative.improvements)==null?void 0:S.O1Code_md_additions)||$((A=t.qualitative.improvements)==null?void 0:A.features_to_try)),_=!!t.qualitative&&$((v=t.qualitative.improvements)==null?void 0:v.usage_patterns),w=b((N=t.qualitative)==null?void 0:N.futureOpportunities),W=b((j=t.qualitative)==null?void 0:j.memorableMoment),f=[];c&&f.push({href:"#section-work",label:"What You Work On"}),d&&f.push({href:"#section-usage",label:"How You Use O1-Code"}),g&&f.push({href:"#section-wins",label:"Impressive Things"}),E&&f.push({href:"#section-friction",label:"Where Things Go Wrong"}),x&&f.push({href:"#section-features",label:"Features to Try"}),_&&f.push({href:"#section-patterns",label:"New Usage Patterns"}),w&&f.push({href:"#section-horizon",label:"On the Horizon"});const T={wins:g,friction:E,features:x,horizon:w};return e.createElement("div",null,e.createElement("header",{className:"insights-header"},e.createElement("div",{className:"header-content"},e.createElement("div",{className:"header-title-section"},e.createElement("h1",{className:"header-title"},"O1-Code Insights"),e.createElement("p",{className:"header-subtitle"},t.totalMessages?`${t.totalMessages.toLocaleString()} messages across ${(k=t.totalSessions)==null?void 0:k.toLocaleString()} sessions`:"Your personalized coding journey and patterns",i&&` \xB7 ${i}`)),e.createElement(be,{onExport:s}))),m&&t.qualitative&&e.createElement(ne,{qualitative:t.qualitative,targetSections:T}),f.length>0&&e.createElement(le,{sections:f}),e.createElement(V,{data:t}),c&&t.qualitative&&e.createElement(re,{qualitative:t.qualitative,topGoals:t.topGoals,topTools:t.topTools}),d&&t.qualitative&&e.createElement(ae,{qualitative:t.qualitative,insights:t}),g&&e.createElement(se,{qualitative:t.qualitative,primarySuccess:(C=t.primarySuccess)!=null?C:{},outcomes:(I=t.outcomes)!=null?I:{}}),E&&e.createElement(ie,{qualitative:t.qualitative,satisfaction:(U=t.satisfaction)!=null?U:{},friction:(J=t.friction)!=null?J:{}}),(x||_)&&t.qualitative&&e.createElement(ce,{qualitative:t.qualitative}),w&&t.qualitative&&e.createElement(de,{qualitative:t.qualitative}),W&&t.qualitative&&e.createElement(pe,{qualitative:t.qualitative}),e.createElement(he,{data:t,theme:n}))}function be({onExport:t}){const[n,l]=e.useState(!1),r=e.useRef(null);e.useEffect(()=>{if(!n)return;const s=o=>{r.current&&!r.current.contains(o.target)&&l(!1)};return document.addEventListener("mousedown",s),()=>document.removeEventListener("mousedown",s)},[n]);const a=s=>{l(!1),t(s)};return e.createElement("div",{className:"export-dropdown-wrapper",ref:r},e.createElement("button",{className:"export-card-btn",onClick:()=>l(!n)},e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}),e.createElement("polyline",{points:"16 6 12 2 8 6"}),e.createElement("line",{x1:"12",y1:"2",x2:"12",y2:"15"})),e.createElement("span",null,"Export Card"),e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`export-chevron ${n?"open":""}`},e.createElement("polyline",{points:"6 9 12 15 18 9"}))),n&&e.createElement("div",{className:"export-dropdown"},e.createElement("button",{className:"export-dropdown-item",onClick:()=>a("light")},e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("circle",{cx:"12",cy:"12",r:"5"}),e.createElement("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),e.createElement("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),e.createElement("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),e.createElement("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),e.createElement("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),e.createElement("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),e.createElement("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),e.createElement("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})),e.createElement("span",null,"Light Theme")),e.createElement("button",{className:"export-dropdown-item",onClick:()=>a("dark")},e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})),e.createElement("span",null,"Dark Theme"))))}const P=document.getElementById("react-root");P&&window.INSIGHT_DATA&&L?L.createRoot(P).render(e.createElement(ve,{data:window.INSIGHT_DATA})):console.error("Failed to mount React app:",{container:!!P,data:!!window.INSIGHT_DATA,ReactDOM:!!L})})(React,ReactDOM);';
|
|
3389
|
+
var INSIGHT_JS = '(function(e,L){"use strict";function V({data:t}){const{totalMessages:n=0,totalLinesAdded:l=0,totalLinesRemoved:r=0,totalFiles:a=0}=t,s=Object.keys(t.heatmap||{});let o=0;if(s.length>0){const c=s.map(x=>new Date(x)).map(x=>x.getTime()),d=new Date(Math.min(...c)),g=new Date(Math.max(...c)),E=Math.abs(g.getTime()-d.getTime());o=Math.ceil(E/(1e3*60*60*24))+1}const i=o>0?Math.round(n/o):0;return e.createElement("div",{className:"stats-row"},e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},n),e.createElement("div",{className:"stat-label"},"Messages")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},"+",l,"/-",r),e.createElement("div",{className:"stat-label"},"Lines")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},a),e.createElement("div",{className:"stat-label"},"Files")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},o),e.createElement("div",{className:"stat-label"},"Days")),e.createElement("div",{className:"stat"},e.createElement("div",{className:"stat-value"},i),e.createElement("div",{className:"stat-label"},"Msgs/Day")))}/**\n * @license\n * Copyright 2026 Qwen Team\n * SPDX-License-Identifier: Apache-2.0\n */function D(t){const n=t.getFullYear(),l=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0");return`${n}-${l}-${r}`}function K(t){const[n,l,r]=t.split("-").map(Number);return new Date(n,l-1,r)}function X({insights:t}){return e.createElement("div",{className:"grid gap-4 md:grid-cols-2 md:gap-6"},e.createElement(Q,{activeHours:t.activeHours,cardClass:"glass-card p-6",sectionTitleClass:"text-lg font-semibold tracking-tight text-slate-900"}))}function Q({activeHours:t,cardClass:n,sectionTitleClass:l}){const a=[{label:"Morning",time:"06:00 - 12:00",hours:[6,7,8,9,10,11],color:"#fbbf24"},{label:"Afternoon",time:"12:00 - 18:00",hours:[12,13,14,15,16,17],color:"#0ea5e9"},{label:"Evening",time:"18:00 - 22:00",hours:[18,19,20,21],color:"#6366f1"},{label:"Night",time:"22:00 - 06:00",hours:[22,23,0,1,2,3,4,5],color:"#475569"}].map(o=>{const i=o.hours.reduce((m,c)=>m+(t[c]||0),0);return{...o,total:i}}),s=Math.max(...a.map(o=>o.total));return e.createElement("div",{className:`${n} h-full flex flex-col min-h-[320px]`},e.createElement("div",{className:"flex items-center justify-between mb-4"},e.createElement("h3",{className:l},"Active Hours")),e.createElement("div",{className:"flex-1 flex flex-col justify-center gap-4"},a.map(o=>e.createElement("div",{key:o.label,className:"space-y-2"},e.createElement("div",{className:"flex justify-between items-center text-sm"},e.createElement("div",{className:"flex items-center gap-2"},e.createElement("span",{className:"rounded-full",style:{width:"12px",height:"12px",backgroundColor:o.color}}),e.createElement("span",{className:"font-medium text-slate-700"},o.label),e.createElement("span",{className:"text-xs text-slate-400 hidden xl:inline"},o.time)),e.createElement("span",{className:"font-semibold text-slate-900"},o.total)),e.createElement("div",{className:"w-full rounded-full overflow-hidden",style:{height:"12px",backgroundColor:"#e2e8f0"}},e.createElement("div",{className:"h-full rounded-full",style:{width:`${s>0?o.total/s*100:0}%`,backgroundColor:o.color}}))))))}function Z({heatmap:t}){return e.createElement("div",{className:"glass-card p-6 mt-4 md:mt-6"},e.createElement("div",{className:"mb-3"},e.createElement("h3",{className:"text-lg font-semibold tracking-tight text-slate-900"},"Activity Heatmap"),e.createElement("p",{className:"text-xs text-slate-500"},"Showing past year of activity")),e.createElement("div",{className:"heatmap-container"},e.createElement("div",{className:"min-w-[720px] rounded-xl bg-white/70"},e.createElement(R,{heatmapData:t}))),e.createElement(ee,null))}function R({heatmapData:t}){const s=new Date,o=new Date(s);o.setFullYear(s.getFullYear()-1);const i=[],m=new Date(o);for(;m<=s;)i.push(new Date(m)),m.setDate(m.getDate()+1);const c=[0,2,4,10,20],d=["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"];function g(u){if(u===0)return d[0];for(let h=c.length-1;h>=1;h--)if(u>=c[h])return d[h];return d[1]}const E=50,x=20,_=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],w=o.getDay(),W=[];let f=-1,T=-100;return i.forEach((u,h)=>{const S=h+w,A=Math.floor(S/7),v=E+A*16,N=u.getMonth();N!==f&&(v-T>30&&(W.push({x:v,text:_[N]}),T=v),f=N)}),e.createElement("svg",{className:"heatmap-svg",width:1e3,height:130,viewBox:"0 0 1000 130"},i.map((u,h)=>{const S=h+w,A=Math.floor(S/7),v=u.getDay(),N=E+A*16,j=x+v*16,k=D(u),C=t[k]||0,I=g(C);return e.createElement("rect",{key:k,className:"heatmap-day",x:N,y:j,width:14,height:14,rx:"2",fill:I,"data-date":k,"data-count":C},e.createElement("title",null,k,": ",C," activities"))}),W.map((u,h)=>e.createElement("text",{key:h,x:u.x,y:"15",fontSize:"12",fill:"#64748b"},u.text)))}function ee(){const t=["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"];return e.createElement("div",{className:"flex items-center gap-2 mt-4"},e.createElement("span",{className:"text-xs text-slate-500"},"Less"),t.map((n,l)=>e.createElement("span",{key:l,className:"inline-block rounded",style:{width:"10px",height:"10px",backgroundColor:n}})),e.createElement("span",{className:"text-xs text-slate-500"},"More"))}function p({children:t}){if(!t||typeof t!="string")return t;const n=t.split(/(\\*\\*.*?\\*\\*)/g);return e.createElement(e.Fragment,null,n.map((l,r)=>l.startsWith("**")&&l.endsWith("**")&&l.length>=4?e.createElement("strong",{key:r},l.slice(2,-2)):l))}function H({text:t,label:n="Copy"}){const[l,r]=e.useState(!1),a=()=>{navigator.clipboard.writeText(t).then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})};return e.createElement("button",{className:"copy-btn",onClick:a},l?"Copied!":n)}function te(t){return typeof t=="string"&&t.trim().length>0}function ne({qualitative:t,targetSections:n}){const{atAGlance:l}=t;if(!l)return null;const r=[{key:"wins",label:"What\'s working:",body:l.whats_working,href:"#section-wins",link:"Impressive Things You Did \u2192",showLink:n.wins},{key:"friction",label:"What\'s hindering you:",body:l.whats_hindering,href:"#section-friction",link:"Where Things Go Wrong \u2192",showLink:n.friction},{key:"features",label:"Quick wins to try:",body:l.quick_wins,href:"#section-features",link:"Features to Try \u2192",showLink:n.features},{key:"horizon",label:"Ambitious workflows:",body:l.ambitious_workflows,href:"#section-horizon",link:"On the Horizon \u2192",showLink:n.horizon}].filter(a=>te(a.body));return r.length===0?null:e.createElement("div",{className:"at-a-glance"},e.createElement("div",{className:"glance-title"},"At a Glance"),e.createElement("div",{className:"glance-sections"},r.map(a=>e.createElement("div",{key:a.key,className:"glance-section"},e.createElement("strong",null,a.label)," ",e.createElement(p,null,a.body),a.showLink&&e.createElement("a",{href:a.href,className:"see-more"},a.link)))))}function le({sections:t}){return t.length===0?null:e.createElement("nav",{className:"nav-toc"},t.map(n=>e.createElement("a",{key:n.href,href:n.href},n.label)))}function re({qualitative:t,topGoals:n,topTools:l}){const{projectAreas:r}=t,a=Array.isArray(l)?Object.fromEntries(l):l;return e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-work",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"What You Work On"),Array.isArray(r==null?void 0:r.areas)&&r.areas.length>0&&e.createElement("div",{className:"project-areas mb-6"},r.areas.map((s,o)=>e.createElement("div",{key:o,className:"project-area"},e.createElement("div",{className:"area-header"},e.createElement("span",{className:"area-name"},s.name),e.createElement("span",{className:"area-count"},"~",s.session_count," sessions")),e.createElement("div",{className:"area-desc"},e.createElement(p,null,s.description))))),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"24px",marginBottom:"24px"}},n&&Object.keys(n).length>0&&e.createElement(M,{data:n,title:"What You Wanted",color:"#0ea5e9"}),a&&Object.keys(a).length>0&&e.createElement(M,{data:a,title:"Top Tools Used",color:"#6366f1"})))}function ae({qualitative:t,insights:n}){const{interactionStyle:l}=t;return l?e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-usage",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"How You Use O1-Code"),e.createElement("div",{className:"narrative"},e.createElement("p",null,e.createElement(p,null,l.narrative)),l.key_pattern&&e.createElement("div",{className:"key-insight"},e.createElement("strong",null,"Key pattern:")," ",e.createElement(p,null,l.key_pattern))),e.createElement(X,{insights:n}),e.createElement(Z,{heatmap:n.heatmap})):null}function se({qualitative:t,primarySuccess:n,outcomes:l}){const r=t==null?void 0:t.impressiveWorkflows;return e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-wins",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"Impressive Things You Did"),(r==null?void 0:r.intro)&&e.createElement("p",{className:"section-intro"},e.createElement(p,null,r.intro)),r&&e.createElement("div",{className:"big-wins"},Array.isArray(r.impressive_workflows)&&r.impressive_workflows.map((a,s)=>e.createElement("div",{key:s,className:"big-win"},e.createElement("div",{className:"big-win-title"},a.title),e.createElement("div",{className:"big-win-desc"},e.createElement(p,null,a.description))))),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"24px",marginTop:"24px",marginBottom:"24px"}},n&&Object.keys(n).length>0&&e.createElement(M,{data:n,title:"What Helped Most (O1-Code\'s Capabilities)",color:"#3b82f6",allowedKeys:["fast_accurate_search","correct_code_edits","good_explanations","proactive_help","multi_file_changes","good_debugging"]}),l&&Object.keys(l).length>0&&e.createElement(M,{data:l,title:"Outcomes",color:"#8b5cf6",allowedKeys:["fully_achieved","mostly_achieved","partially_achieved","not_achieved","unclear_from_transcript"]})))}function oe(t){return t==="unclear_from_transcript"?"Unclear":t.split("_").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" ")}function M({data:t,title:n,color:l="#3b82f6",allowedKeys:r=null}){if(!t||Object.keys(t).length===0)return null;let a=Object.entries(t).filter(([,o])=>Number.isFinite(o)&&o!==0);if(r&&(a=a.filter(([o])=>r.includes(o))),a.sort((o,i)=>i[1]-o[1]),a=a.slice(0,10),a.length===0)return null;const s=Math.max(...a.map(([,o])=>o));return e.createElement("div",{className:"bar-chart-card",style:{flex:1,minWidth:0,backgroundColor:"#ffffff",borderRadius:"12px",padding:"20px",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.08)",border:"1px solid #e2e8f0"}},e.createElement("h3",{style:{fontSize:"13px",fontWeight:700,color:"#64748b",marginTop:0,marginBottom:"16px",textTransform:"uppercase",letterSpacing:"0.5px"}},n),e.createElement("div",{className:"bar-chart",style:{display:"flex",flexDirection:"column",gap:"10px"}},a.map(([o,i])=>{const m=s>0?i/s*100:0;return e.createElement("div",{key:o,className:"bar-row",style:{display:"flex",alignItems:"center",gap:"12px"}},e.createElement("div",{className:"bar-label",style:{width:"130px",fontSize:"13px",color:"#475569",textAlign:"left",flexShrink:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},oe(o)),e.createElement("div",{className:"bar-wrapper",style:{flex:1,display:"flex",alignItems:"center",gap:"10px",minWidth:0}},e.createElement("div",{className:"bar-bg",style:{flex:1,height:"8px",backgroundColor:"#f1f5f9",borderRadius:"4px",overflow:"hidden"}},e.createElement("div",{className:"bar-fill",style:{width:`${m}%`,height:"100%",backgroundColor:l,borderRadius:"4px",transition:"width 0.3s ease"}})),e.createElement("span",{className:"bar-value",style:{fontSize:"13px",fontWeight:600,color:"#475569",minWidth:"24px",textAlign:"right"}},i)))})))}function ie({qualitative:t,satisfaction:n,friction:l}){const r=t==null?void 0:t.frictionPoints;return e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-friction",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"Where Things Go Wrong"),(r==null?void 0:r.intro)&&e.createElement("p",{className:"section-intro"},e.createElement(p,null,r.intro)),r&&e.createElement("div",{className:"friction-categories"},Array.isArray(r.categories)&&r.categories.map((a,s)=>e.createElement("div",{key:s,className:"friction-category"},e.createElement("div",{className:"friction-title"},a.category),e.createElement("div",{className:"friction-desc"},e.createElement(p,null,a.description)),Array.isArray(a.examples)&&a.examples.length>0&&e.createElement("ul",{className:"friction-examples"},a.examples.map((o,i)=>e.createElement("li",{key:i},e.createElement(p,null,o))))))),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"24px",marginTop:"24px",marginBottom:"24px"}},l&&Object.keys(l).length>0&&e.createElement(M,{data:l,title:"Primary Friction Types",color:"#ef4444",allowedKeys:["misunderstood_request","wrong_approach","buggy_code","user_rejected_action","excessive_changes"]}),n&&Object.keys(n).length>0&&e.createElement(M,{data:n,title:"Inferred Satisfaction (model-estimated)",color:"#10b981",allowedKeys:["happy","satisfied","likely_satisfied","dissatisfied","frustrated"]})))}function me({additions:t}){const[n,l]=e.useState(new Array(t.length).fill(!0)),[r,a]=e.useState(!1),s=m=>{const c=n.map((d,g)=>g===m?!d:d);l(c)},o=()=>{const m=t.filter((c,d)=>n[d]).map(c=>c.addition).join(`\n\n`);m&&navigator.clipboard.writeText(m).then(()=>{a(!0),setTimeout(()=>a(!1),2e3)})},i=n.filter(Boolean).length;return e.createElement("div",{className:"o1-code-md-section"},e.createElement("h3",null,"Suggested AGENTS.md Additions"),e.createElement("p",{className:"text-xs text-slate-500 mb-3"},"Just copy this into O1-Code to add it to your AGENTS.md."),e.createElement("div",{className:"o1-code-md-actions",style:{marginBottom:"12px"}},e.createElement("button",{className:`copy-all-btn ${r?"copied":""}`,onClick:o,disabled:i===0},r?"Copied All!":`Copy All Checked (${i})`)),t.map((m,c)=>e.createElement("div",{key:c,className:"o1-code-md-item"},e.createElement("input",{type:"checkbox",checked:n[c],onChange:()=>s(c),className:"cmd-checkbox"}),e.createElement("div",{style:{flex:1}},e.createElement("code",{className:"cmd-code"},m.addition),e.createElement("div",{className:"cmd-why"},e.createElement(p,null,m.why))),e.createElement(H,{text:m.addition}))))}function ce({qualitative:t}){const{improvements:n}=t;if(!n)return null;const l=Array.isArray(n.O1Code_md_additions)&&n.O1Code_md_additions.length>0||Array.isArray(n.features_to_try)&&n.features_to_try.length>0,r=Array.isArray(n.usage_patterns)&&n.usage_patterns.length>0;return!l&&!r?null:e.createElement(e.Fragment,null,l&&e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-features",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"Existing O1-Code Features to Try"),Array.isArray(n.O1Code_md_additions)&&n.O1Code_md_additions.length>0&&e.createElement(me,{additions:n.O1Code_md_additions}),e.createElement("p",{className:"text-xs text-slate-500 mb-3"},"Just copy this into O1-Code and it\'ll set it up for you."),e.createElement("div",{className:"features-section"},Array.isArray(n.features_to_try)&&n.features_to_try.map((a,s)=>e.createElement("div",{key:s,className:"feature-card"},e.createElement("div",{className:"feature-title"},a.feature),e.createElement("div",{className:"feature-oneliner"},e.createElement(p,null,a.one_liner)),e.createElement("div",{className:"feature-why"},e.createElement("strong",null,"Why for you:")," ",e.createElement(p,null,a.why_for_you)),e.createElement("div",{className:"feature-examples"},e.createElement("div",{className:"feature-example"},e.createElement("div",{className:"example-code-row"},e.createElement("code",{className:"example-code"},a.example_code),e.createElement(H,{text:a.example_code})))))))),r&&e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-patterns",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"New Ways to Use O1-Code"),e.createElement("p",{className:"text-xs text-slate-500 mb-3"},"Just copy this into O1-Code and it\'ll walk you through it."),e.createElement("div",{className:"patterns-section"},Array.isArray(n.usage_patterns)&&n.usage_patterns.map((a,s)=>e.createElement("div",{key:s,className:"pattern-card"},e.createElement("div",{className:"pattern-title"},a.title),e.createElement("div",{className:"pattern-summary"},e.createElement(p,null,a.suggestion)),e.createElement("div",{className:"pattern-detail"},e.createElement(p,null,a.detail)),e.createElement("div",{className:"copyable-prompt-section"},e.createElement("div",{className:"prompt-label"},"Paste into O1-Code:"),e.createElement("div",{className:"copyable-prompt-row"},e.createElement("code",{className:"copyable-prompt"},a.copyable_prompt),e.createElement(H,{text:a.copyable_prompt}))))))))}function de({qualitative:t}){const{futureOpportunities:n}=t;return n?e.createElement(e.Fragment,null,e.createElement("h2",{id:"section-horizon",className:"text-xl font-semibold text-slate-900 mt-8 mb-4"},"On the Horizon"),n.intro&&e.createElement("p",{className:"section-intro"},e.createElement(p,null,n.intro)),e.createElement("div",{className:"horizon-section"},Array.isArray(n.opportunities)&&n.opportunities.map((l,r)=>e.createElement("div",{key:r,className:"horizon-card"},e.createElement("div",{className:"horizon-title"},l.title),e.createElement("div",{className:"horizon-possible"},e.createElement(p,null,l.whats_possible)),e.createElement("div",{className:"horizon-tip"},e.createElement("strong",null,"Getting started:")," ",e.createElement(p,null,l.how_to_try)),e.createElement("div",{className:"pattern-prompt"},e.createElement("div",{className:"prompt-label"},"Paste into O1-Code:"),e.createElement("div",{style:{display:"flex",alignItems:"flex-start",gap:"8px"}},e.createElement("code",{style:{flex:1}},l.copyable_prompt),e.createElement(H,{text:l.copyable_prompt}))))))):null}function pe({qualitative:t}){const{memorableMoment:n}=t;return n?e.createElement("div",{className:"fun-ending"},e.createElement("div",{className:"fun-headline"},\'"\',n.headline,\'"\'),e.createElement("div",{className:"fun-detail"},e.createElement(p,null,n.detail))):null}const ue={light:{background:"linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%)",textPrimary:"#0f172a",textSecondary:"#475569",textMuted:"#64748b",cardBackground:"rgba(255,255,255,0.7)",cardBackgroundSecondary:"rgba(255,255,255,0.5)",borderColor:"#e2e8f0",heatmapColors:["#9be9a8","#40c463","#30a14e","#216e39"],heatmapEmpty:"#ebedf0"},dark:{background:"linear-gradient(135deg, #0f172a 0%, #1e293b 100%)",textPrimary:"#f8fafc",textSecondary:"#e2e8f0",textMuted:"#94a3b8",cardBackground:"rgba(255,255,255,0.05)",cardBackgroundSecondary:"rgba(255,255,255,0.04)",borderColor:"rgba(255,255,255,0.08)",heatmapColors:["#0e4429","#006d32","#26a641","#39d353"],heatmapEmpty:"#2d333b"}};function he({data:t,theme:n="light"}){var f,T,u,h,S,A;const l=ue[n],{totalMessages:r=0,totalSessions:a=0,totalLinesAdded:s=0,totalLinesRemoved:o=0,totalFiles:i=0,currentStreak:m=0,longestStreak:c=0,activeHours:d={}}=t,g=Object.keys(t.heatmap||{});let E=0,x="";if(g.length>0){E=g.length;const v=g.map(C=>K(C).getTime()),N=new Date(Math.min(...v)),j=new Date(Math.max(...v)),k=C=>D(C);x=`${k(N)} \u2014 ${k(j)}`}const _=(u=(T=(f=t.qualitative)==null?void 0:f.interactionStyle)==null?void 0:T.key_pattern)!=null?u:null,w=(A=(S=(h=t.qualitative)==null?void 0:h.memorableMoment)==null?void 0:S.headline)!=null?A:null,W=ge(t.heatmap||{},l);return e.createElement("div",{id:"share-card",style:{width:"1200px",background:l.background,color:l.textPrimary,fontFamily:\'ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"\',display:"flex",flexDirection:"column",padding:"48px 56px",position:"absolute",left:"-9999px",top:"-9999px",overflow:"hidden",boxSizing:"border-box"}},e.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"32px"}},e.createElement("div",null,e.createElement("div",{style:{fontSize:"32px",fontWeight:700,letterSpacing:"-0.02em",lineHeight:1.2}},"O1-Code Insights"),e.createElement("div",{style:{fontSize:"14px",color:l.textMuted,marginTop:"6px"}},x)),e.createElement("div",{style:{fontSize:"11px",color:l.textMuted,textTransform:"uppercase",letterSpacing:"0.15em",paddingTop:"8px"}},"o1-code")),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"16px",marginBottom:"32px"}},e.createElement(O,{value:String(r),label:"Messages",theme:l}),e.createElement(O,{value:String(a),label:"Sessions",theme:l}),e.createElement(O,{value:`+${s}/-${o}`,label:"Lines Changed",small:!0,theme:l}),e.createElement(O,{value:String(i),label:"Files",theme:l}),e.createElement(O,{value:`${m}d`,label:"Streak",theme:l}),e.createElement(O,{value:`${c}d`,label:"Best Streak",theme:l})),e.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"24px",marginBottom:"16px"}},e.createElement("div",{style:{background:l.cardBackground,borderRadius:"12px",padding:"20px",display:"flex",flexDirection:"column"}},e.createElement("div",{style:{fontSize:"12px",fontWeight:600,color:l.textMuted,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:"12px"}},"Activity \xB7 ",E," active days"),e.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement(xe,{cells:W})),e.createElement(Ee,{theme:l})),e.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"16px"}},e.createElement("div",{style:{background:l.cardBackground,borderRadius:"12px",padding:"20px",display:"flex",flexDirection:"column"}},e.createElement("div",{style:{fontSize:"12px",fontWeight:600,color:l.textMuted,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:"12px"}},"Active Hours"),e.createElement("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",gap:"10px"}},e.createElement(fe,{activeHours:d,theme:l}))),e.createElement("div",{style:{background:l.cardBackgroundSecondary,borderRadius:"12px",padding:"16px 16px",position:"relative"}},e.createElement("div",{style:{position:"absolute",left:"12px",fontSize:"64px",fontWeight:700,color:n==="light"?"rgba(99,102,241,0.15)":"rgba(99,102,241,0.2)",lineHeight:1,fontFamily:\'Georgia, "Times New Roman", serif\',userSelect:"none",pointerEvents:"none"}},"\u201C"),e.createElement("div",{style:{paddingLeft:"40px",position:"relative"}},_&&e.createElement("div",{style:{fontSize:"13px",color:l.textSecondary,lineHeight:1.6,marginBottom:w?"8px":0}},_),w&&e.createElement("div",{style:{fontSize:"12px",color:l.textMuted,lineHeight:1.5,fontStyle:"italic"}},w))))),e.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"auto",paddingTop:"24px",borderTop:`1px solid ${l.borderColor}`,flexShrink:0}},e.createElement("div",{style:{fontSize:"12px",color:l.textMuted}},"Generated by O1-Code \xB7 ",D(new Date)),e.createElement("div",{style:{fontSize:"12px",color:l.textMuted}},"https://github.com/organizaone/o1-code".replace(/^https?:\\/\\//,""))))}function O({value:t,label:n,small:l,theme:r}){return e.createElement("div",{style:{textAlign:"center"}},e.createElement("div",{style:{fontSize:l?"18px":"28px",fontWeight:700,color:r.textPrimary,lineHeight:1.2}},t),e.createElement("div",{style:{fontSize:"11px",color:r.textMuted,textTransform:"uppercase",letterSpacing:"0.05em",marginTop:"4px"}},n))}function fe({activeHours:t,theme:n}){const r=[{label:"Morning",time:"06\u201312",hours:[6,7,8,9,10,11],color:"#fbbf24"},{label:"Afternoon",time:"12\u201318",hours:[12,13,14,15,16,17],color:"#0ea5e9"},{label:"Evening",time:"18\u201322",hours:[18,19,20,21],color:"#6366f1"},{label:"Night",time:"22\u201306",hours:[22,23,0,1,2,3,4,5],color:"#475569"}].map(s=>({...s,total:s.hours.reduce((o,i)=>o+(t[i]||0),0)})),a=Math.max(...r.map(s=>s.total),1);return e.createElement(e.Fragment,null,r.map(s=>{const o=a>0?s.total/a*100:0;return e.createElement("div",{key:s.label},e.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",marginBottom:"4px"}},e.createElement("div",{style:{display:"flex",alignItems:"center",gap:"6px"}},e.createElement("span",{style:{width:"8px",height:"8px",borderRadius:"50%",backgroundColor:s.color,display:"inline-block",flexShrink:0}}),e.createElement("span",{style:{color:n.textSecondary,fontWeight:500}},s.label),e.createElement("span",{style:{color:n.textMuted,fontSize:"11px"}},s.time)),e.createElement("span",{style:{color:n.textMuted,fontWeight:600}},s.total)),e.createElement("div",{style:{height:"6px",background:n.borderColor,borderRadius:"3px",overflow:"hidden"}},e.createElement("div",{style:{width:`${o}%`,height:"100%",backgroundColor:s.color,borderRadius:"3px"}})))}))}function ge(t,n){const l=new Date,a=26*7,s=new Date(l);s.setDate(s.getDate()-a+1),s.setDate(s.getDate()-s.getDay());const o=[],i=new Date(l);i.setDate(i.getDate()+(6-i.getDay()));const m=new Date(s);for(;m<=i;){const c=D(m),d=t[c]||0;o.push({color:ye(d,n)}),m.setDate(m.getDate()+1)}return o}function ye(t,n){return t===0?n.heatmapEmpty:t<2?n.heatmapColors[0]:t<4?n.heatmapColors[1]:t<10?n.heatmapColors[2]:n.heatmapColors[3]}function xe({cells:t}){const l=Math.ceil(t.length/7),r=14,a=3,s=l*(r+a),o=7*(r+a);return e.createElement("svg",{width:s,height:o,viewBox:`0 0 ${s} ${o}`},t.map((i,m)=>{const c=Math.floor(m/7),d=m%7;return e.createElement("rect",{key:m,x:c*(r+a),y:d*(r+a),width:r,height:r,rx:2,fill:i.color})}))}function Ee({theme:t}){return e.createElement("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginTop:"12px"}},e.createElement("span",{style:{fontSize:"11px",color:t.textMuted}},"Less"),[t.heatmapEmpty,t.heatmapColors[0],t.heatmapColors[1],t.heatmapColors[2],t.heatmapColors[3]].map((n,l)=>e.createElement("span",{key:l,style:{width:"10px",height:"10px",borderRadius:"2px",backgroundColor:n,display:"inline-block"}})),e.createElement("span",{style:{fontSize:"11px",color:t.textMuted}},"More"))}function b(t){return typeof t=="string"?t.trim().length>0:typeof t=="number"?Number.isFinite(t)&&t!==0:typeof t=="boolean"?t:Array.isArray(t)?t.some(n=>b(n)):t&&typeof t=="object"?Object.values(t).some(n=>b(n)):!1}function z(t){return Array.isArray(t)?t.some(([,n])=>Number.isFinite(n)&&n!==0):!!t&&Object.values(t).some(n=>Number.isFinite(n)&&n!==0)}function $(t){return Array.isArray(t)&&t.some(n=>b(n))}function ve({data:t}){var u,h,S,A,v,N,j,k,C,I,U,J;const[n,l]=e.useState("dark"),r=e.useRef(!1),a=async()=>{const F=document.getElementById("share-card");if(!F||!window.html2canvas){alert("Export functionality is not available.");return}try{const y=F.cloneNode(!0);y.style.position="fixed",y.style.left="-9999px",y.style.top="0",y.style.pointerEvents="none",document.body.appendChild(y);const G=await window.html2canvas(y,{scale:2,useCORS:!0,logging:!1,width:1200,height:y.scrollHeight});document.body.removeChild(y);const Y=G.toDataURL("image/png"),q=document.createElement("a");q.href=Y,q.download=`o1-code-insights-card-${D(new Date)}.png`,q.click()}catch(y){console.error("Export card error:",y),alert("Failed to export card. Please try again.")}};e.useEffect(()=>{r.current&&(r.current=!1,a())},[n]);const s=F=>{F===n?a():(r.current=!0,l(F))};if(!t)return e.createElement("div",{className:"text-center text-slate-600"},"No insight data available");const o=Object.keys(t.heatmap||{});let i="";if(o.length>0){const y=o.map(B=>K(B)).map(B=>B.getTime()),G=new Date(Math.min(...y)),Y=new Date(Math.max(...y)),q=B=>D(B);i=`${q(G)} to ${q(Y)}`}const m=b((u=t.qualitative)==null?void 0:u.atAGlance),c=!!t.qualitative&&(b(t.qualitative.projectAreas)||z(t.topGoals)||z(t.topTools)),d=b((h=t.qualitative)==null?void 0:h.interactionStyle),g=!!t.qualitative&&(b(t.qualitative.impressiveWorkflows)||z(t.primarySuccess)||z(t.outcomes)),E=!!t.qualitative&&(b(t.qualitative.frictionPoints)||z(t.satisfaction)||z(t.friction)),x=!!t.qualitative&&($((S=t.qualitative.improvements)==null?void 0:S.O1Code_md_additions)||$((A=t.qualitative.improvements)==null?void 0:A.features_to_try)),_=!!t.qualitative&&$((v=t.qualitative.improvements)==null?void 0:v.usage_patterns),w=b((N=t.qualitative)==null?void 0:N.futureOpportunities),W=b((j=t.qualitative)==null?void 0:j.memorableMoment),f=[];c&&f.push({href:"#section-work",label:"What You Work On"}),d&&f.push({href:"#section-usage",label:"How You Use O1-Code"}),g&&f.push({href:"#section-wins",label:"Impressive Things"}),E&&f.push({href:"#section-friction",label:"Where Things Go Wrong"}),x&&f.push({href:"#section-features",label:"Features to Try"}),_&&f.push({href:"#section-patterns",label:"New Usage Patterns"}),w&&f.push({href:"#section-horizon",label:"On the Horizon"});const T={wins:g,friction:E,features:x,horizon:w};return e.createElement("div",null,e.createElement("header",{className:"insights-header"},e.createElement("div",{className:"header-content"},e.createElement("div",{className:"header-title-section"},e.createElement("h1",{className:"header-title"},"O1-Code Insights"),e.createElement("p",{className:"header-subtitle"},t.totalMessages?`${t.totalMessages.toLocaleString()} messages across ${(k=t.totalSessions)==null?void 0:k.toLocaleString()} sessions`:"Your personalized coding journey and patterns",i&&` \xB7 ${i}`)),e.createElement(be,{onExport:s}))),m&&t.qualitative&&e.createElement(ne,{qualitative:t.qualitative,targetSections:T}),f.length>0&&e.createElement(le,{sections:f}),e.createElement(V,{data:t}),c&&t.qualitative&&e.createElement(re,{qualitative:t.qualitative,topGoals:t.topGoals,topTools:t.topTools}),d&&t.qualitative&&e.createElement(ae,{qualitative:t.qualitative,insights:t}),g&&e.createElement(se,{qualitative:t.qualitative,primarySuccess:(C=t.primarySuccess)!=null?C:{},outcomes:(I=t.outcomes)!=null?I:{}}),E&&e.createElement(ie,{qualitative:t.qualitative,satisfaction:(U=t.satisfaction)!=null?U:{},friction:(J=t.friction)!=null?J:{}}),(x||_)&&t.qualitative&&e.createElement(ce,{qualitative:t.qualitative}),w&&t.qualitative&&e.createElement(de,{qualitative:t.qualitative}),W&&t.qualitative&&e.createElement(pe,{qualitative:t.qualitative}),e.createElement(he,{data:t,theme:n}))}function be({onExport:t}){const[n,l]=e.useState(!1),r=e.useRef(null);e.useEffect(()=>{if(!n)return;const s=o=>{r.current&&!r.current.contains(o.target)&&l(!1)};return document.addEventListener("mousedown",s),()=>document.removeEventListener("mousedown",s)},[n]);const a=s=>{l(!1),t(s)};return e.createElement("div",{className:"export-dropdown-wrapper",ref:r},e.createElement("button",{className:"export-card-btn",onClick:()=>l(!n)},e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}),e.createElement("polyline",{points:"16 6 12 2 8 6"}),e.createElement("line",{x1:"12",y1:"2",x2:"12",y2:"15"})),e.createElement("span",null,"Export Card"),e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`export-chevron ${n?"open":""}`},e.createElement("polyline",{points:"6 9 12 15 18 9"}))),n&&e.createElement("div",{className:"export-dropdown"},e.createElement("button",{className:"export-dropdown-item",onClick:()=>a("light")},e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("circle",{cx:"12",cy:"12",r:"5"}),e.createElement("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),e.createElement("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),e.createElement("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),e.createElement("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),e.createElement("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),e.createElement("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),e.createElement("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),e.createElement("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})),e.createElement("span",null,"Light Theme")),e.createElement("button",{className:"export-dropdown-item",onClick:()=>a("dark")},e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})),e.createElement("span",null,"Dark Theme"))))}const P=document.getElementById("react-root");P&&window.INSIGHT_DATA&&L?L.createRoot(P).render(e.createElement(ve,{data:window.INSIGHT_DATA})):console.error("Failed to mount React app:",{container:!!P,data:!!window.INSIGHT_DATA,ReactDOM:!!L})})(React,ReactDOM);';
|
|
3390
3390
|
var INSIGHT_CSS = '*,:before,:after,::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #3b82f680;--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content: ""}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}body{line-height:inherit;margin:0;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #f8fafc var(--tw-gradient-from-position);--tw-gradient-to: #f1f5f9 var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-text-opacity: 1;min-height:100vh;color:rgb(15 23 42 / var(--tw-text-opacity, 1));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glass-card{--tw-border-opacity: 1;border-width:1px;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1));--tw-shadow: 0 10px 40px #0f172a14;--tw-shadow-colored: 0 10px 40px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);background-color:#fff9;border-radius:1rem}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-56{height:14rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-full{width:100%}.min-w-\\[720px\\]{min-width:720px}.max-w-6xl{max-width:72rem}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-slate-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(226 232 240 / var(--tw-divide-opacity, 1))}.overflow-x-auto{overflow-x:auto}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:1.25rem}.border{border-width:1px}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-white\\/70{background-color:#ffffff73}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from: #f8fafc var(--tw-gradient-from-position);--tw-gradient-to: #f8fafc00 var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-white{--tw-gradient-to: #ffffff00 var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #ffffff var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-slate-100{--tw-gradient-to: #f1f5f9 var(--tw-gradient-to-position)}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tracking-\\[0\\.2em\\]{letter-spacing:.2em}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 #0000000d;--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-soft{--tw-shadow: 0 10px 40px #0f172a14;--tw-shadow-colored: 0 10px 40px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-slate-100{--tw-shadow-color: #f1f5f9;--tw-shadow: var(--tw-shadow-colored)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:-translate-y-\\[1px\\]:hover{--tw-translate-y: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-slate-400:focus-visible{outline-color:#94a3b8}.active\\:translate-y-\\[1px\\]:active{--tw-translate-y: 1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:translate-x-0\\.5{--tw-translate-x: .125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 768px){.md\\:mt-6{margin-top:1.5rem}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:gap-6{gap:1.5rem}.md\\:py-12{padding-top:3rem;padding-bottom:3rem}.md\\:text-4xl{font-size:2.25rem;line-height:2.5rem}}.heatmap-container{width:100%;overflow-x:auto}.heatmap-svg{min-width:720px}.heatmap-day{cursor:pointer}.heatmap-day:hover{stroke:#00000024;stroke-width:1px}.heatmap-legend{display:flex;align-items:center;gap:4px;font-size:12px;color:#64748b;margin-top:8px}.heatmap-legend-item{width:10px;height:10px;border-radius:2px}.nav-toc{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 32px;padding:16px;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.nav-toc a{font-size:12px;color:#64748b;text-decoration:none;padding:6px 12px;border-radius:6px;background:#f1f5f9;transition:all .15s}.nav-toc a:hover{background:#e2e8f0;color:#334155}.at-a-glance{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;border-radius:12px;padding:20px 24px;margin-bottom:32px}.glance-title{font-size:16px;font-weight:700;color:#92400e;margin-bottom:16px}.glance-sections{display:flex;flex-direction:column;gap:12px}.glance-section{font-size:14px;color:#78350f;line-height:1.6}.glance-section strong{color:#92400e;font-weight:700}.see-more{color:#b45309;text-decoration:none;font-size:13px;white-space:nowrap;margin-left:4px}.see-more:hover{text-decoration:underline}.project-areas{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}.project-area{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.area-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.area-name{font-weight:600;font-size:15px;color:#0f172a}.area-count{font-size:12px;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:4px}.area-desc{font-size:14px;color:#475569;line-height:1.5}.narrative{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin-bottom:24px}.narrative p{margin-top:0;margin-bottom:12px;font-size:14px;color:#475569;line-height:1.7}.key-insight{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:12px 16px;margin-top:12px;font-size:14px;color:#166534}.section-intro{font-size:14px;color:#64748b;margin-bottom:16px}.big-wins{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.big-win{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:16px}.big-win-title{font-weight:600;font-size:15px;color:#166534;margin-bottom:8px}.big-win-desc{font-size:14px;color:#15803d;line-height:1.5}.friction-categories{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.friction-category{background:#fef2f2;border:1px solid #fca5a5;border-radius:8px;padding:16px}.friction-title{font-weight:600;font-size:15px;color:#991b1b;margin-bottom:6px}.friction-desc{font-size:13px;color:#7f1d1d;margin-bottom:10px}.friction-examples{margin:0 0 0 10px;padding:0;font-size:13px;color:#334155;list-style-type:disc}.friction-examples li{margin-bottom:4px}.o1-code-md-section{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:12px;margin-bottom:20px}.o1-code-md-section h3{font-size:13px;font-weight:600;color:#1e40af;margin:0 0 8px}.o1-code-md-actions{margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #dbeafe}.copy-all-btn{background:#2563eb;color:#fff;border:none;border-radius:4px;padding:4px 10px;font-size:11px;cursor:pointer;font-weight:500;transition:all .2s}.copy-all-btn:hover{background:#1d4ed8}.copy-all-btn.copied{background:#16a34a}.o1-code-md-item{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid #dbeafe}.o1-code-md-item:last-child{border-bottom:none}.cmd-checkbox{margin-top:2px}.cmd-code{background:#fff;padding:6px 10px;border-radius:4px;font-size:11px;color:#1e40af;border:1px solid #bfdbfe;font-family:monospace;display:block;white-space:pre-wrap;word-break:break-word;flex:1}.cmd-why{font-size:11px;color:#64748b;width:100%;padding-left:20px;margin-top:4px}.features-section,.patterns-section{display:flex;flex-direction:column;gap:12px;margin:16px 0}.feature-card{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:16px}.pattern-card{background:#f0f9ff;border:1px solid #7dd3fc;border-radius:8px;padding:16px}.feature-title,.pattern-title{font-weight:600;font-size:15px;color:#0f172a;margin-bottom:6px}.feature-oneliner,.pattern-summary{font-size:14px;color:#475569;margin-bottom:8px}.feature-why,.pattern-detail{font-size:13px;color:#334155;line-height:1.5}.feature-examples{margin-top:12px}.feature-example{padding:8px 0;border-top:1px solid #d1fae5}.feature-example:first-child{border-top:none}.example-code-row,.copyable-prompt-row{display:flex;align-items:flex-start;gap:8px}.example-code{flex:1;background:#f1f5f9;padding:8px 12px;border-radius:4px;font-family:monospace;font-size:12px;color:#334155;overflow-x:auto;white-space:pre-wrap}.copyable-prompt-section{margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.copyable-prompt{flex:1;background:#f8fafc;padding:10px 12px;border-radius:4px;font-family:monospace;font-size:12px;color:#334155;border:1px solid #e2e8f0;white-space:pre-wrap;line-height:1.5}.prompt-label{font-size:11px;font-weight:600;text-transform:uppercase;color:#64748b;margin-bottom:6px}.copy-btn{background:#e2e8f0;border:none;border-radius:4px;padding:4px 8px;font-size:11px;cursor:pointer;color:#475569;flex-shrink:0;transition:all .2s}.copy-btn:hover{background:#cbd5e1}.horizon-section{display:flex;flex-direction:column;gap:16px}.horizon-card{background:linear-gradient(135deg,#faf5ff,#f5f3ff);border:1px solid #c4b5fd;border-radius:8px;padding:16px}.horizon-title{font-weight:600;font-size:15px;color:#5b21b6;margin-bottom:8px}.horizon-possible{font-size:14px;color:#334155;margin-bottom:10px;line-height:1.5}.horizon-tip{font-size:13px;color:#6b21a8;background:#fff9;padding:8px 12px;border-radius:4px}.pattern-prompt{background:#f8fafc;padding:12px;border-radius:6px;margin-top:12px;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:8px}.pattern-prompt code{font-family:monospace;font-size:12px;color:#334155;display:block;white-space:pre-wrap}.fun-ending{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:12px;padding:24px;margin-top:40px;text-align:center}.fun-headline{font-size:18px;font-weight:600;color:#78350f;margin-bottom:8px}.fun-detail{font-size:14px;color:#92400e}.stats-row{display:flex;gap:24px;margin-bottom:40px;padding:20px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.stat{text-align:center}.stat-value{font-size:24px;font-weight:700;color:#0f172a}.stat-label{font-size:11px;color:#64748b;text-transform:uppercase}@media (max-width: 640px){.stats-row{justify-content:center}}.header-with-action{position:relative}.insights-header{margin-bottom:2rem;padding:1.5rem 0;border-bottom:1px solid #e2e8f0}.header-content{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}.header-title-section{flex:1;min-width:0}.header-title{font-size:1.75rem;font-weight:700;color:#0f172a;letter-spacing:-.02em;margin:0 0 .375rem;line-height:1.2}.header-subtitle{font-size:.875rem;color:#64748b;margin:0;font-weight:400}.export-dropdown-wrapper{position:relative}.export-card-btn{display:inline-flex;align-items:center;gap:.5rem;height:36px;padding:0 .875rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#334155;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .15s ease}.export-card-btn:hover{background:#f8fafc;border-color:#cbd5e1}.export-card-btn:active{background:#f1f5f9}.export-chevron{transition:transform .15s ease;opacity:.5}.export-chevron.open{transform:rotate(180deg)}.export-dropdown{position:absolute;top:calc(100% + 4px);right:0;min-width:160px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #00000014;padding:4px;z-index:50}.export-dropdown-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;border:none;border-radius:6px;background:none;color:#334155;font-size:.8125rem;font-weight:400;cursor:pointer;transition:background .1s ease}.export-dropdown-item:hover{background:#f1f5f9}.export-dropdown-item:active{background:#e2e8f0}@media (max-width: 640px){.header-content{flex-direction:column;align-items:flex-start;gap:1rem}.header-title{font-size:1.5rem}}';
|
|
3391
3391
|
|
|
3392
3392
|
// packages/web-templates/src/generated/exportTranscriptDocumentTemplate.ts
|
|
@@ -3432,7 +3432,7 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
|
|
|
3432
3432
|
id="transcript-stylesheet"
|
|
3433
3433
|
integrity="sha384-pGE8/NNiGjEN6cs9ehdKVxXRu/C7j3ZWtGt3M/nUkYUw6b+dLpqzzwwwSdPn4cBA"
|
|
3434
3434
|
crossorigin="anonymous"
|
|
3435
|
-
href="https://unpkg.com/@organizaone/o1-code@0.5.
|
|
3435
|
+
href="https://unpkg.com/@organizaone/o1-code@0.5.2/export-transcript-document.css"
|
|
3436
3436
|
/>
|
|
3437
3437
|
</head>
|
|
3438
3438
|
<body>
|
|
@@ -3486,14 +3486,14 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
|
|
|
3486
3486
|
<script
|
|
3487
3487
|
nonce="__EXPORT_NONCE__"
|
|
3488
3488
|
id="transcript-renderer"
|
|
3489
|
-
integrity="sha384-
|
|
3489
|
+
integrity="sha384-0yXemrUdA5dUH16Zth6TmkRs534y4IC82CzkLftU9FSD7mM1hBb8qMs2OlaFrp9B"
|
|
3490
3490
|
crossorigin="anonymous"
|
|
3491
|
-
src="https://unpkg.com/@organizaone/o1-code@0.5.
|
|
3491
|
+
src="https://unpkg.com/@organizaone/o1-code@0.5.2/export-transcript-document.js"
|
|
3492
3492
|
></script>
|
|
3493
3493
|
</body>
|
|
3494
3494
|
</html>
|
|
3495
3495
|
`;
|
|
3496
|
-
var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.5.
|
|
3496
|
+
var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.5.2+9957e4232344d056";
|
|
3497
3497
|
var EXPORT_TRANSCRIPT_RENDERER_LIMITS = Object.freeze({
|
|
3498
3498
|
maxBlocks: 1e3,
|
|
3499
3499
|
maxEnvelopeBytes: 33554432
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
DEFAULT_WEB_SEARCH_TIMEOUT_MS,
|
|
9
9
|
MAX_WEB_SEARCH_MAX_PER_SESSION,
|
|
10
10
|
MAX_WEB_SEARCH_TIMEOUT_MS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LWTOBOWO.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_MAX_SUBAGENT_DEPTH,
|
|
14
14
|
DEFAULT_MAX_TOOL_CALLS_PER_TURN,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
20
20
|
GOAL_MAX_ACTIVE_MINUTES_CAP,
|
|
21
21
|
GOAL_MAX_TURNS_CAP
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-P2PB4WMO.js";
|
|
23
23
|
import {
|
|
24
24
|
REASONING_EFFORT_TIERS
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-F3EUIJ2T.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_O1CODE_CUSTOM_IGNORE_FILE_NAMES
|
|
28
28
|
} from "./chunk-OHAUN3Q5.js";
|
|
@@ -1354,6 +1354,15 @@ var SETTINGS_SCHEMA = {
|
|
|
1354
1354
|
description: "Render conversation history in an in-app scrollable viewport instead of the terminal scrollback buffer. Enabled by default in compatible interactive terminals to avoid flicker, scroll-storm, and interface freeze on long sessions, after Ctrl+O, after Ctrl+E / Ctrl+F (expand), after window resize, or when alt-tabbing back. Screen reader mode and non-interactive output such as piped stdout or CI use append-only terminal output instead. Scroll with Shift+\u2191/\u2193 (line), PgUp/PgDn (page), Ctrl+Home/End (top/bottom), or the mouse wheel. Also enables mouse interactions: click an option in a menu/dialog to select it, hover to highlight it, and click in the prompt to position the cursor. Does NOT use the host terminal scrollback while enabled. Drag to select text in the viewport (double/triple click selects a word/line), copied on release. To use the terminal\u2019s own selection instead, hold Shift (or Option on macOS) while dragging. A single click opens an http(s) hyperlink under the pointer (other link schemes are copied to the clipboard), and right-click over a link or a text selection opens an in-app context menu. These mouse interactions are controlled by ui.mouseTracking; disable that setting to hand the mouse fully back to the terminal.",
|
|
1355
1355
|
showInDialog: true
|
|
1356
1356
|
},
|
|
1357
|
+
incrementalRendering: {
|
|
1358
|
+
type: "boolean",
|
|
1359
|
+
label: "Incremental Rendering (rewrites only changed lines)",
|
|
1360
|
+
category: "UI",
|
|
1361
|
+
requiresRestart: true,
|
|
1362
|
+
default: true,
|
|
1363
|
+
description: "Redraw only the lines that changed since the previous frame instead of erasing and rewriting the whole interface. Removes the flicker that terminals without synchronized output (GNOME Terminal, Ptyxis, Terminal.app) show while a response streams, and sends far less data to the terminal. Disable if lines appear duplicated or out of place in your terminal; O1CODE_INCREMENTAL_RENDERING=0 or =1 overrides this setting for one session.",
|
|
1364
|
+
showInDialog: true
|
|
1365
|
+
},
|
|
1357
1366
|
glyphs: {
|
|
1358
1367
|
type: "enum",
|
|
1359
1368
|
label: "Terminal Symbols",
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
BaseJsonOutputAdapter,
|
|
5
5
|
extractTextFromBlocks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-USGZHJFG.js";
|
|
7
7
|
import {
|
|
8
8
|
observeHeadlessJsonToolResultWire
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YCOUHZE4.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-S2467S6L.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
} from "./chunk-KQCQCJBL.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_OPENAI_LOG_RETENTION_DAYS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YZVXBQI3.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveOpenAILogDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M4BXILKK.js";
|
|
15
15
|
import {
|
|
16
16
|
FILE_HISTORY_DIR,
|
|
17
17
|
getSubagentsRootDir
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-P2PB4WMO.js";
|
|
19
19
|
import {
|
|
20
20
|
createDebugLogger,
|
|
21
21
|
sessionIdContext
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
ACP_ROUTE_ID_PREFIX
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PHGUNERJ.js";
|
|
6
6
|
import {
|
|
7
7
|
getEffectiveReasoning,
|
|
8
8
|
isOpenRouterHostname,
|
|
9
9
|
resolveReasoningForModel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X3UJMTLX.js";
|
|
11
11
|
import {
|
|
12
12
|
REASONING_EFFORT_TIERS,
|
|
13
13
|
clampReasoningEffort,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isReasoningEffortPlaceholder,
|
|
16
16
|
parseModelReasoningCapabilities,
|
|
17
17
|
reasoningEffortsForCapability
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F3EUIJ2T.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-S2467S6L.js";
|
|
@@ -4,49 +4,49 @@ import {
|
|
|
4
4
|
assertExternalAgentSpawnPlatformSupported,
|
|
5
5
|
isExpectedExternalAgentCleanupExit,
|
|
6
6
|
isUnprovenExternalAgentTreeExit
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LTRHL6EZ.js";
|
|
8
8
|
import {
|
|
9
9
|
ProcessRegistry
|
|
10
10
|
} from "./chunk-225CZG76.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MX2SXCCW.js";
|
|
12
12
|
import "./chunk-O7MSLRFZ.js";
|
|
13
13
|
import "./chunk-W3YES77O.js";
|
|
14
14
|
import "./chunk-HLQLPLTQ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-6UXY7BEW.js";
|
|
16
16
|
import "./chunk-BI5UOCPD.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-5O2CM5MS.js";
|
|
18
18
|
import "./chunk-MYMATZAY.js";
|
|
19
19
|
import "./chunk-6IFQXZTP.js";
|
|
20
20
|
import "./chunk-YO3SEHXM.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-YS43XV6D.js";
|
|
22
22
|
import "./chunk-FQO3QDB5.js";
|
|
23
23
|
import "./chunk-6TWJYLJE.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-RZEXRRZS.js";
|
|
25
25
|
import "./chunk-M2EBVYXC.js";
|
|
26
26
|
import "./chunk-4JDEAIW5.js";
|
|
27
27
|
import "./chunk-TIYFDYIF.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-LWTOBOWO.js";
|
|
29
|
+
import "./chunk-2H6SQNOP.js";
|
|
30
30
|
import "./chunk-NWCDFCWK.js";
|
|
31
31
|
import "./chunk-ZMZRVR62.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-UJBYBWNU.js";
|
|
33
33
|
import "./chunk-OMJU4YIQ.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-ZPIWM7TF.js";
|
|
35
|
+
import "./chunk-OMKL73ZN.js";
|
|
36
36
|
import "./chunk-F3FKDGHN.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-W3S7EU6W.js";
|
|
38
38
|
import "./chunk-UBWL27PO.js";
|
|
39
39
|
import "./chunk-BWRP5ZMP.js";
|
|
40
40
|
import "./chunk-DM6W2QYB.js";
|
|
41
41
|
import "./chunk-UAACCQBD.js";
|
|
42
42
|
import "./chunk-GVWQRVLV.js";
|
|
43
43
|
import "./chunk-2QYMJSSC.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-M4BXILKK.js";
|
|
45
45
|
import "./chunk-AVCUVYSA.js";
|
|
46
46
|
import {
|
|
47
47
|
AgentEventEmitter,
|
|
48
48
|
renderSubagentSystemPrompt
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-P2PB4WMO.js";
|
|
50
50
|
import "./chunk-FNALBCC7.js";
|
|
51
51
|
import "./chunk-BZOAEOYF.js";
|
|
52
52
|
import "./chunk-BIDB75DA.js";
|
|
@@ -59,14 +59,14 @@ import "./chunk-MZI6FDZT.js";
|
|
|
59
59
|
import "./chunk-4MSX3ERA.js";
|
|
60
60
|
import "./chunk-YGG52IIN.js";
|
|
61
61
|
import "./chunk-EP7GGUVV.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-LMLPZTGG.js";
|
|
63
63
|
import "./chunk-35RKSP4A.js";
|
|
64
64
|
import "./chunk-CMZHL55Y.js";
|
|
65
65
|
import "./chunk-DJOP5LOE.js";
|
|
66
66
|
import "./chunk-ZZVIBILR.js";
|
|
67
67
|
import "./chunk-OI7IVUEO.js";
|
|
68
68
|
import "./chunk-DS3COGEF.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-DOJ6OFMD.js";
|
|
70
70
|
import "./chunk-OBPGYMIV.js";
|
|
71
71
|
import "./chunk-RS2LNQEC.js";
|
|
72
72
|
import "./chunk-SYMKXR42.js";
|
|
@@ -86,9 +86,9 @@ import "./chunk-XKOGHPWS.js";
|
|
|
86
86
|
import "./chunk-HPQNI3OQ.js";
|
|
87
87
|
import "./chunk-GMR3LAWE.js";
|
|
88
88
|
import "./chunk-NVNIFGY3.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-YEBIATRT.js";
|
|
90
90
|
import "./chunk-CI2ZHR5C.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-JA4L65MR.js";
|
|
92
92
|
import "./chunk-ZFZB6WC5.js";
|
|
93
93
|
import "./chunk-4J6KRUQB.js";
|
|
94
94
|
import "./chunk-TCME6IG6.js";
|
|
@@ -99,21 +99,21 @@ import "./chunk-COABCWBY.js";
|
|
|
99
99
|
import "./chunk-IO32UWHY.js";
|
|
100
100
|
import "./chunk-OSMXNPJP.js";
|
|
101
101
|
import "./chunk-HX6AICAX.js";
|
|
102
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-CEE2KBTY.js";
|
|
103
103
|
import "./chunk-V75J4GJ2.js";
|
|
104
104
|
import "./chunk-FOZEB37P.js";
|
|
105
105
|
import "./chunk-BQAZCJF7.js";
|
|
106
106
|
import "./chunk-65B6QBMP.js";
|
|
107
107
|
import "./chunk-WUKHAI4J.js";
|
|
108
108
|
import "./chunk-O4IWNFDK.js";
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-GWNI7PTP.js";
|
|
110
110
|
import "./chunk-NGE3GHMN.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-N36UR22Y.js";
|
|
112
112
|
import "./chunk-WMJL2XAM.js";
|
|
113
113
|
import "./chunk-CP63SY5N.js";
|
|
114
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-X3UJMTLX.js";
|
|
115
115
|
import "./chunk-POHJY7RJ.js";
|
|
116
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-AEMLEQ43.js";
|
|
117
117
|
import "./chunk-242JUBPM.js";
|
|
118
118
|
import "./chunk-H5L5E5NI.js";
|
|
119
119
|
import "./chunk-5P5ZJMW2.js";
|
|
@@ -127,7 +127,7 @@ import "./chunk-R7FX7HIR.js";
|
|
|
127
127
|
import "./chunk-FFUKRRCR.js";
|
|
128
128
|
import "./chunk-23AFREUQ.js";
|
|
129
129
|
import "./chunk-HOPKSSYR.js";
|
|
130
|
-
import "./chunk-
|
|
130
|
+
import "./chunk-F3EUIJ2T.js";
|
|
131
131
|
import "./chunk-PLWOHBC7.js";
|
|
132
132
|
import "./chunk-LEXKU5FI.js";
|
|
133
133
|
import "./chunk-IQEM74QW.js";
|