@organizaone/o1-code 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/README.md +8 -8
  2. package/bundled/qc-helper/docs/configuration/auth.md +14 -3
  3. package/bundled/qc-helper/docs/integration-jetbrains.md +1 -1
  4. package/bundled/qc-helper/docs/integration-vscode.md +1 -1
  5. package/bundled/qc-helper/docs/integration-zed.md +1 -1
  6. package/bundled/qc-helper/docs/quickstart.md +1 -1
  7. package/bundled/qc-helper/docs/support/troubleshooting.md +1 -1
  8. package/chunks/{MaxSizedBox-ZOFIKGJG.js → MaxSizedBox-5EOREWNX.js} +28 -28
  9. package/chunks/{StandaloneSessionPicker-6S2C7YZK.js → StandaloneSessionPicker-3OCB32JD.js} +44 -44
  10. package/chunks/{acp-subagent-executor-HGIGYENO.js → acp-subagent-executor-JTNA5F4Q.js} +28 -28
  11. package/chunks/{acpAgent-SXUNXWWP.js → acpAgent-IS2JKYZV.js} +70 -70
  12. package/chunks/{agent-7GI5MAMY.js → agent-U5KE7R4X.js} +15 -15
  13. package/chunks/{agent-headless-7ZSKSLIE.js → agent-headless-VL764VUV.js} +15 -15
  14. package/chunks/{anthropicContentGenerator-FHJ5JNYR.js → anthropicContentGenerator-I7B3ZJTH.js} +5 -5
  15. package/chunks/{bridge-5YHUATCB.js → bridge-4GFWUTJN.js} +28 -28
  16. package/chunks/{ca-ZH46FQUI.js → ca-D47KKMP2.js} +2 -2
  17. package/chunks/{chunk-Z6HFYF3D.js → chunk-25B3YO64.js} +1 -1
  18. package/chunks/{chunk-GLT2QUV7.js → chunk-2TR3LXCO.js} +4 -4
  19. package/chunks/{chunk-3CMD4E67.js → chunk-2XWTDVCK.js} +9 -9
  20. package/chunks/{chunk-26GB3MTV.js → chunk-2ZZOVOXT.js} +2 -2
  21. package/chunks/{chunk-UZSRQ26K.js → chunk-35XZ5JAH.js} +1 -1
  22. package/chunks/{chunk-F6UT36OB.js → chunk-3RRITSOA.js} +2 -2
  23. package/chunks/{chunk-7PXVBJL3.js → chunk-3VVXMGS2.js} +1 -1
  24. package/chunks/{chunk-6LOAUBTH.js → chunk-4D3AFN6X.js} +3 -3
  25. package/chunks/{chunk-SE3HMQLW.js → chunk-4YYRPA6G.js} +5 -5
  26. package/chunks/{chunk-MQ3QD65Z.js → chunk-4ZTCFNSU.js} +1 -1
  27. package/chunks/{chunk-3YZPY6YA.js → chunk-5KLD2C2A.js} +1 -1
  28. package/chunks/{chunk-D42MFAOX.js → chunk-5OZ6R5FD.js} +3 -3
  29. package/chunks/{chunk-ABTF7TPE.js → chunk-73JQWXED.js} +2 -2
  30. package/chunks/{chunk-ZFT5MBI6.js → chunk-7UG5NBEG.js} +1 -1
  31. package/chunks/{chunk-VJ3EJJ5K.js → chunk-A6R5ERJF.js} +4 -4
  32. package/chunks/{chunk-RYBAJ5II.js → chunk-ADSXYGOQ.js} +1 -1
  33. package/chunks/{chunk-3YLEHHA7.js → chunk-AT74D3S6.js} +3 -3
  34. package/chunks/{chunk-R5WDYBMX.js → chunk-B5RUUS5Z.js} +1 -1
  35. package/chunks/{chunk-GW3TK3X2.js → chunk-B74GMYXF.js} +30 -30
  36. package/chunks/{chunk-PB4XGSE6.js → chunk-BBH77V6I.js} +1 -1
  37. package/chunks/{chunk-FMDABBCA.js → chunk-BO53R5FT.js} +3 -3
  38. package/chunks/{chunk-YQF62HFY.js → chunk-BXRUYSL6.js} +1 -1
  39. package/chunks/{chunk-TYAUV2TE.js → chunk-C2RMEAXF.js} +1 -1
  40. package/chunks/{chunk-E6JZE22X.js → chunk-CLRPG355.js} +3 -3
  41. package/chunks/{chunk-2J53EWTP.js → chunk-CXL3KGXN.js} +7 -7
  42. package/chunks/{chunk-KVQMH7W2.js → chunk-DD5QAE42.js} +4 -4
  43. package/chunks/{chunk-MDQYCFNT.js → chunk-DFHGNP5W.js} +17 -17
  44. package/chunks/{chunk-X655UILS.js → chunk-DGB4GDUC.js} +15 -15
  45. package/chunks/{chunk-KCHIL32J.js → chunk-DIVWC7JL.js} +6 -6
  46. package/chunks/{chunk-EBTQTM56.js → chunk-FNOLXMFM.js} +1 -1
  47. package/chunks/{chunk-WCFNOALO.js → chunk-FVXJFEVA.js} +1 -1
  48. package/chunks/{chunk-G3W4UY3G.js → chunk-G7HMFP3U.js} +3457 -1431
  49. package/chunks/{chunk-L7LXG6TN.js → chunk-GKX63AXY.js} +2 -2
  50. package/chunks/{chunk-GN6HVKBI.js → chunk-GT5QP7HM.js} +2 -2
  51. package/chunks/{chunk-3GGCMM7C.js → chunk-HFBSP3VC.js} +1 -1
  52. package/chunks/{chunk-MRJJAG44.js → chunk-HWHXSAP6.js} +10 -10
  53. package/chunks/{chunk-W2MWOPYK.js → chunk-HXLT4YHM.js} +9 -9
  54. package/chunks/{chunk-MRBPTAOV.js → chunk-IF22E34Z.js} +3 -3
  55. package/chunks/{chunk-GHYY2N2S.js → chunk-IFJUYGAZ.js} +1 -1
  56. package/chunks/{chunk-ZZXUYKAG.js → chunk-IKDFLXTG.js} +4 -4
  57. package/chunks/{chunk-M5G6OKEY.js → chunk-J5XJUCP6.js} +4 -4
  58. package/chunks/{chunk-LJU6OPEU.js → chunk-JY65SH65.js} +3 -3
  59. package/chunks/{chunk-JDPRCTE4.js → chunk-KCIKBXEW.js} +4 -4
  60. package/chunks/{chunk-SE33PFPT.js → chunk-KFOL4KHG.js} +8 -8
  61. package/chunks/{chunk-ODSVNOLT.js → chunk-KPGPUSJ4.js} +5 -5
  62. package/chunks/{chunk-6MEAGROF.js → chunk-KQRLWGYH.js} +1 -1
  63. package/chunks/{chunk-TXIBLU7T.js → chunk-KWUNXWMZ.js} +8 -8
  64. package/chunks/{chunk-34ORCXAX.js → chunk-L2OTZN7G.js} +1 -1
  65. package/chunks/{chunk-ELAUQQIT.js → chunk-LDZQTXZL.js} +4 -4
  66. package/chunks/{chunk-XFV6QC4A.js → chunk-LKTMEG3O.js} +2 -2
  67. package/chunks/{chunk-DLJHG562.js → chunk-MRDWUFJ3.js} +4 -4
  68. package/chunks/{chunk-RTFUUYHW.js → chunk-N2PY5BWY.js} +1 -1
  69. package/chunks/{chunk-734USTD3.js → chunk-NCYMEGY4.js} +5 -5
  70. package/chunks/{chunk-KJVLRZBK.js → chunk-NEG6TBRH.js} +1 -1
  71. package/chunks/{chunk-2CATNMFQ.js → chunk-NHRNNWWS.js} +1 -1
  72. package/chunks/{chunk-PSL5VFNJ.js → chunk-NHVJTPZA.js} +33 -33
  73. package/chunks/{chunk-IL4VUEEH.js → chunk-NIIG7L3H.js} +1 -1
  74. package/chunks/{chunk-GFBAQUJG.js → chunk-NTUVIB2G.js} +1 -1
  75. package/chunks/{chunk-HGW4END7.js → chunk-NWQPYJVP.js} +3 -3
  76. package/chunks/{chunk-7TZRKZWC.js → chunk-OCUQJADH.js} +1 -1
  77. package/chunks/{chunk-L6J57N2A.js → chunk-OUANBR2O.js} +1 -1
  78. package/chunks/{chunk-H65LZ7Q4.js → chunk-OYF5BLWF.js} +1 -1
  79. package/chunks/{chunk-MDQFX2C5.js → chunk-PIMJCQZQ.js} +1 -1
  80. package/chunks/{chunk-KI7AYT4Y.js → chunk-PVQB3PSU.js} +1 -1
  81. package/chunks/{chunk-JSB66IE5.js → chunk-PZG6YNNW.js} +1 -1
  82. package/chunks/{chunk-WBW6J5R3.js → chunk-QKJBBOEM.js} +2 -2
  83. package/chunks/{chunk-CVU3EIFH.js → chunk-SALGNBVH.js} +3 -3
  84. package/chunks/{chunk-MXIQ6C7B.js → chunk-SD4FTFLM.js} +2 -2
  85. package/chunks/{chunk-RIX6ATSB.js → chunk-SHDHN4UM.js} +59 -21
  86. package/chunks/{chunk-MGVVXFYW.js → chunk-SJLUEEH6.js} +2 -2
  87. package/chunks/{chunk-AJS6HD3U.js → chunk-SNSYYPUE.js} +7 -7
  88. package/chunks/{chunk-NVNIFGY3.js → chunk-SQX3PXHY.js} +2 -2
  89. package/chunks/{chunk-B67EYF6M.js → chunk-SRM5ACHK.js} +1 -1
  90. package/chunks/{chunk-2QN2TID2.js → chunk-SRUCOHM3.js} +6 -6
  91. package/chunks/{chunk-LHCVJ6NV.js → chunk-TA5SQUCP.js} +1 -1
  92. package/chunks/{chunk-GWX3EC6J.js → chunk-TUQWDNKR.js} +2 -2
  93. package/chunks/{chunk-NBCYYKYK.js → chunk-UDJURQZ6.js} +3 -3
  94. package/chunks/{chunk-LHY2PDWX.js → chunk-UQ6BHHFA.js} +5 -5
  95. package/chunks/{chunk-WQNNHDDX.js → chunk-V2WRTFQU.js} +5 -5
  96. package/chunks/{chunk-A2K4A5O2.js → chunk-VEFKFFT5.js} +1 -1
  97. package/chunks/{chunk-PLYNCSHX.js → chunk-VFSP4ZUZ.js} +6 -6
  98. package/chunks/{chunk-2OQC7O74.js → chunk-VL3VAUJC.js} +3 -3
  99. package/chunks/{chunk-GAM5VJT7.js → chunk-WI4BVBZO.js} +1 -1
  100. package/chunks/{chunk-CHZDN4DI.js → chunk-WVEKU4MO.js} +2 -2
  101. package/chunks/{chunk-JOGRE2ZT.js → chunk-X2RYRNAP.js} +2 -2
  102. package/chunks/{chunk-B2PLLGOC.js → chunk-XMR45LXQ.js} +1 -1
  103. package/chunks/{chunk-OVOSIR5V.js → chunk-XNOIGECT.js} +11 -11
  104. package/chunks/{chunk-6DOSH2VF.js → chunk-XPFD45HB.js} +240 -10
  105. package/chunks/{chunk-C2IESIWR.js → chunk-XQGFM4KU.js} +5 -5
  106. package/chunks/{chunk-6QYP53HJ.js → chunk-Y2DKG24P.js} +1 -1
  107. package/chunks/{chunk-MX7QDQRT.js → chunk-YK4BICUN.js} +3 -3
  108. package/chunks/{chunk-22SKH7LF.js → chunk-YNYV52Z4.js} +2 -2
  109. package/chunks/{chunk-K5JXFVNB.js → chunk-YPHLY3RQ.js} +5 -5
  110. package/chunks/{chunk-RRWM6VZS.js → chunk-ZCCCPNWD.js} +1 -1
  111. package/chunks/{chunk-GMR3LAWE.js → chunk-ZHTRFFVQ.js} +1 -1
  112. package/chunks/{chunk-2DNMFYMU.js → chunk-ZJYMX7GI.js} +3 -3
  113. package/chunks/{chunk-TDBZBCLU.js → chunk-ZOZJOC2D.js} +2 -2
  114. package/chunks/{chunk-LERXWKRT.js → chunk-ZQPD7WDS.js} +1 -1
  115. package/chunks/{chunk-EMIGZJZT.js → chunk-ZTD5FNCI.js} +1 -1
  116. package/chunks/{codex-subagent-executor-NO5C6VPN.js → codex-subagent-executor-H23KDM2L.js} +28 -28
  117. package/chunks/{contextCommand-VWARZSMR.js → contextCommand-FTM7H7IU.js} +27 -27
  118. package/chunks/{core-runtime-KL6UEQWI.js → core-runtime-EOPJ5NTV.js} +25 -25
  119. package/chunks/{create-sub-session-CY7EFJX5.js → create-sub-session-TYQLJBIC.js} +26 -26
  120. package/chunks/{daemon-git-worktree-guard-CPIBCRZO.js → daemon-git-worktree-guard-XYJOCQD4.js} +25 -25
  121. package/chunks/{daemon-status-provider-BN3RF2FL.js → daemon-status-provider-WSERMTQ3.js} +33 -33
  122. package/chunks/{daemon-trust-policy-4CK5U5IC.js → daemon-trust-policy-2TLIJCGQ.js} +31 -31
  123. package/chunks/{daemon-trust-policy-monitor-CUNFNI4N.js → daemon-trust-policy-monitor-5WZ6JDKZ.js} +31 -31
  124. package/chunks/{de-OBLDRYWI.js → de-LJ7XKJ7L.js} +2 -2
  125. package/chunks/{deferred-core-runtime-CBJTZJPH.js → deferred-core-runtime-55WMDAXO.js} +25 -25
  126. package/chunks/{edit-RM227QNR.js → edit-UPV3RDKW.js} +17 -17
  127. package/chunks/{en-NKO6N4BL.js → en-S424EGDF.js} +19 -2
  128. package/chunks/{enterPlanMode-PYAHJFSQ.js → enterPlanMode-IFHOH44O.js} +15 -15
  129. package/chunks/{environment-DD54IMFM.js → environment-YEQIXHG6.js} +27 -27
  130. package/chunks/{errors-HI6DJG4B.js → errors-X2UJSPQL.js} +27 -27
  131. package/chunks/{execution-tool-V3VSCW6K.js → execution-tool-EXIGBLTL.js} +17 -17
  132. package/chunks/{execution-worker-WBHEON6Q.js → execution-worker-6PKEW2P6.js} +20 -20
  133. package/chunks/{exitPlanMode-HOZQZ5T7.js → exitPlanMode-7NRDPCOW.js} +15 -15
  134. package/chunks/{fast-path-7HGISECB.js → fast-path-I65CU5I2.js} +2 -2
  135. package/chunks/{fr-24RYKQP7.js → fr-XXSQXQDX.js} +2 -2
  136. package/chunks/{glob-3Z2KONQG.js → glob-XTHACKUG.js} +15 -15
  137. package/chunks/{goal-tools-SZZFOYEQ.js → goal-tools-KL2MBM6T.js} +15 -15
  138. package/chunks/{handleAutoUpdate-YW4VDPGO.js → handleAutoUpdate-AN36IGA3.js} +28 -28
  139. package/chunks/{i18n-3EQ4CCDM.js → i18n-ZOWYH5SP.js} +26 -26
  140. package/chunks/{image-gen-GJRWPVTR.js → image-gen-72F4XQEU.js} +3 -3
  141. package/chunks/{initializer-G4SCU6JQ.js → initializer-7VQKSVVS.js} +32 -32
  142. package/chunks/{installationInfo-3QFLR7CO.js → installationInfo-L6JLTT7O.js} +25 -25
  143. package/chunks/{ja-NY2HNPE4.js → ja-CI32MYX2.js} +2 -2
  144. package/chunks/{list-S4KQBUXO.js → list-HZEUOA3H.js} +33 -33
  145. package/chunks/{llm-HBFVSHNO.js → llm-VIAH4AFT.js} +87 -58
  146. package/chunks/{llm-content-generator-WWIIJ3YF.js → llm-content-generator-AE3URFE7.js} +3 -3
  147. package/chunks/{loadedSettingsAdapter-4FCPSPON.js → loadedSettingsAdapter-LLENP2KA.js} +31 -31
  148. package/chunks/{local-execution-environment-PUSM6PGS.js → local-execution-environment-B2UY3HMI.js} +20 -20
  149. package/chunks/{loggingContentGenerator-OMYQPXBM.js → loggingContentGenerator-5I5NLC6I.js} +16 -16
  150. package/chunks/{managed-npm-update-MUWFIXMB.js → managed-npm-update-6XAPVQBT.js} +25 -25
  151. package/chunks/{mcp-IFIMZMMB.js → mcp-PIYFXVT4.js} +31 -31
  152. package/chunks/{model-call-collection-RJ3QGO3O.js → model-call-collection-7DIS7C2G.js} +1 -1
  153. package/chunks/{model-configuration-AQOY5NHG.js → model-configuration-J7N3CHD5.js} +32 -32
  154. package/chunks/{modelConfigUtils-3WCZU5US.js → modelConfigUtils-6YYQJIHD.js} +27 -27
  155. package/chunks/{monitor-Z4DAPTBI.js → monitor-5GBFRXN7.js} +15 -15
  156. package/chunks/{nonInteractiveCli-EIFDEYFS.js → nonInteractiveCli-YFE2ILFH.js} +61 -61
  157. package/chunks/{nonInteractiveToolExecutor-NS2HFUO5.js → nonInteractiveToolExecutor-BRFDL2BK.js} +16 -16
  158. package/chunks/{notebook-edit-TXNVV4NZ.js → notebook-edit-ORYWDEMK.js} +16 -16
  159. package/chunks/{omni-EANTWQG5.js → omni-ANTNX2XB.js} +11 -11
  160. package/chunks/{openaiContentGenerator-JU5KLG5T.js → openaiContentGenerator-AIWBAUPV.js} +7 -7
  161. package/chunks/{openaiResponsesContentGenerator-BQZ54E6V.js → openaiResponsesContentGenerator-SABJHG34.js} +3 -3
  162. package/chunks/{processUtils-PVRINBPF.js → processUtils-UAADVXTD.js} +2 -2
  163. package/chunks/{prompt-terminal-ledger-LDPMNEHI.js → prompt-terminal-ledger-I7POO7OK.js} +26 -26
  164. package/chunks/{pt-DFSLPV3S.js → pt-OHD6RIUC.js} +19 -2
  165. package/chunks/{reactive-degrade-5HVNIKLO.js → reactive-degrade-VHPS7U44.js} +8 -8
  166. package/chunks/{read-file-H4L4HPEH.js → read-file-SERUEXAP.js} +2 -2
  167. package/chunks/{resumeHistoryUtils-TMGVZMKJ.js → resumeHistoryUtils-B6GT4AOO.js} +31 -31
  168. package/chunks/{ripGrep-YVUC4DXT.js → ripGrep-2NTNXBII.js} +3 -3
  169. package/chunks/{ru-VIGQVLUG.js → ru-6VYU34XF.js} +2 -2
  170. package/chunks/{run-o1-code-serve-LAIBSEHT.js → run-o1-code-serve-WROVR5TA.js} +32 -32
  171. package/chunks/{sandboxConfig-UYUFPT6T.js → sandboxConfig-UVIRIBNM.js} +25 -25
  172. package/chunks/{scheduled-tasks-JFRIRKTA.js → scheduled-tasks-ILH3HQXS.js} +31 -31
  173. package/chunks/{scheduler-2PWRO4UB.js → scheduler-Y2TYB53M.js} +27 -27
  174. package/chunks/{serve-5NOYAIKF.js → serve-YUVXMXLS.js} +31 -31
  175. package/chunks/{server-VJ4WGSUY.js → server-K75VXRXS.js} +64 -62
  176. package/chunks/{session-CGV7TJGH.js → session-KZSKLSES.js} +62 -62
  177. package/chunks/{session-attachments-root-COVGVQZC.js → session-attachments-root-MYYIOBTM.js} +25 -25
  178. package/chunks/{session-pr-refresh-SX33MGB4.js → session-pr-refresh-33KB2JND.js} +30 -30
  179. package/chunks/{settings-XRNF45NA.js → settings-HVF3IJ2I.js} +30 -30
  180. package/chunks/{shell-RX3LXNJP.js → shell-PN27CAHY.js} +15 -15
  181. package/chunks/{skill-KCPU5AV6.js → skill-L6CRUQRR.js} +3 -3
  182. package/chunks/{skill-settings-PAEWMBXK.js → skill-settings-3Y3SG5O5.js} +31 -31
  183. package/chunks/{spawnChannel-SNCSRXCH.js → spawnChannel-XSDXM46P.js} +27 -27
  184. package/chunks/{standalone-update-WPASUR47.js → standalone-update-3LDGOGBF.js} +27 -27
  185. package/chunks/{startInteractiveUI-ZX3UUKMI.js → startInteractiveUI-GIDY23D3.js} +3985 -3527
  186. package/chunks/{team-create-LV77LY5U.js → team-create-LFN7HQGC.js} +15 -15
  187. package/chunks/{team-plan-approval-VBIL6SV3.js → team-plan-approval-EFVOZVSP.js} +15 -15
  188. package/chunks/{terminal-image-renderer-ADP6QUHM.js → terminal-image-renderer-GOF6SZEL.js} +25 -25
  189. package/chunks/{theme-manager-EUUSF2Q7.js → theme-manager-MQ7UIBL2.js} +26 -26
  190. package/chunks/{tool-result-media-JVU7TVUQ.js → tool-result-media-NQAPMXYD.js} +11 -11
  191. package/chunks/{tool-search-PEJVNWOB.js → tool-search-JJ7KQQ5S.js} +2 -2
  192. package/chunks/{total-session-admission-N7ME7DLF.js → total-session-admission-GTFQVE5J.js} +28 -28
  193. package/chunks/{trustedFolders-G3EG6RNC.js → trustedFolders-W3AE6S4D.js} +26 -26
  194. package/chunks/{update-relaunch-OAYGBIDB.js → update-relaunch-VIWAZWCG.js} +5 -5
  195. package/chunks/{updateCheck-JKYZNZTK.js → updateCheck-EHHLVFT3.js} +27 -27
  196. package/chunks/{upload-config-LPONQVLM.js → upload-config-6Z3CPQTV.js} +6 -6
  197. package/chunks/{useAutoAcceptIndicator-AZBWWHTT.js → useAutoAcceptIndicator-2BDM2ZLG.js} +33 -33
  198. package/chunks/{validateNonInterActiveAuth-5K6TQOCW.js → validateNonInterActiveAuth-SBUIY7JB.js} +58 -58
  199. package/chunks/{version-7MOVE5JZ.js → version-LJX5EMFD.js} +1 -1
  200. package/chunks/{web-fetch-ALDHPFKB.js → web-fetch-NMKFGF5A.js} +4 -4
  201. package/chunks/{web-search-4FXUXV76.js → web-search-FT3NC3MF.js} +8 -8
  202. package/chunks/{workflow-W6TQFKWS.js → workflow-5WQJENZ6.js} +16 -16
  203. package/chunks/{workspace-providers-status-JRU6E7KT.js → workspace-providers-status-U3G2IL7D.js} +37 -37
  204. package/chunks/{workspace-registration-store-2VLHZRVP.js → workspace-registration-store-XGN5KM7D.js} +1 -1
  205. package/chunks/{workspace-registry-BYB7WBWO.js → workspace-registry-V7Z7GRVC.js} +28 -28
  206. package/chunks/{workspace-runtime-coordinator-EEAZTJ6X.js → workspace-runtime-coordinator-TEWHWJZI.js} +29 -29
  207. package/chunks/{workspace-service-7SCTZ2HS.js → workspace-service-JM6TECMD.js} +35 -35
  208. package/chunks/{workspace-skills-status-HDLEGK3V.js → workspace-skills-status-ESUOVYAN.js} +34 -34
  209. package/chunks/{workspace-trust-reconciler-SONZ46YA.js → workspace-trust-reconciler-PGZAZMT3.js} +34 -34
  210. package/chunks/{write-file-BIRFPH4F.js → write-file-AHGK3PK4.js} +17 -17
  211. package/chunks/{zh-ZJAHWOYM.js → zh-KRQU675V.js} +19 -2
  212. package/chunks/{zh-TW-S4AGRCDA.js → zh-TW-K657U7LC.js} +19 -2
  213. package/chunks/{zoom-image-UFU3VEIY.js → zoom-image-IU5DRM6D.js} +2 -2
  214. package/cli.js +12 -12
  215. package/examples/starter/README.md +1 -1
  216. package/execution-worker.js +1 -1
  217. package/export-transcript-document.js +1 -1
  218. package/locales/ca.js +3 -2
  219. package/locales/de.js +3 -2
  220. package/locales/en.js +27 -2
  221. package/locales/fr.js +3 -2
  222. package/locales/ja.js +2 -2
  223. package/locales/pt.js +27 -2
  224. package/locales/ru.js +2 -2
  225. package/locales/zh-TW.js +26 -2
  226. package/locales/zh.js +26 -2
  227. package/package.json +5 -5
  228. package/release-notes.json +14 -0
  229. package/vendor/o1-connect/README.md +23 -0
  230. package/vendor/o1-connect/VENDOR.json +10 -0
  231. package/vendor/o1-connect/lib.d.mts +147 -0
  232. package/vendor/o1-connect/lib.mjs +1870 -0
  233. package/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
  234. package/vendor/tree-sitter/tree-sitter.wasm +0 -0
  235. package/web-shell/assets/{abnfDiagram-VCTEODGH-BvoMbUn4.js → abnfDiagram-VCTEODGH-PVbSspuv.js} +1 -1
  236. package/web-shell/assets/{arc-DbQBncMt.js → arc-VsWasC21.js} +1 -1
  237. package/web-shell/assets/{architectureDiagram-5GKGNRK7-C8RG0dgJ.js → architectureDiagram-5GKGNRK7-CQGJih80.js} +1 -1
  238. package/web-shell/assets/{blockDiagram-NRAW4CY4-pL2S69WR.js → blockDiagram-NRAW4CY4-Df9FTUp0.js} +1 -1
  239. package/web-shell/assets/{c4Diagram-UCG6FXSJ-BtqW-kE-.js → c4Diagram-UCG6FXSJ-Cq2wSg56.js} +1 -1
  240. package/web-shell/assets/channel-8zIIJdbY.js +1 -0
  241. package/web-shell/assets/{chunk-2Q5K7J3B-DH8xQogC.js → chunk-2Q5K7J3B-Chp7JPzQ.js} +1 -1
  242. package/web-shell/assets/{chunk-5VM5RSS4-BH3myFbn.js → chunk-5VM5RSS4-gml5kfyF.js} +1 -1
  243. package/web-shell/assets/{chunk-F27PBJKO-iY2yWixd.js → chunk-F27PBJKO-By_hW2gT.js} +1 -1
  244. package/web-shell/assets/{chunk-G27WJ6UU-D_j7Xo_Y.js → chunk-G27WJ6UU-8NLL7TjL.js} +1 -1
  245. package/web-shell/assets/{chunk-JWPE2WC7-CxBsiYSx.js → chunk-JWPE2WC7-Bz8c6lcT.js} +1 -1
  246. package/web-shell/assets/{chunk-LCL6LL3I-DQbc3B6E.js → chunk-LCL6LL3I-ZkGZaXXw.js} +1 -1
  247. package/web-shell/assets/{chunk-POPQ4Y6H-BdaRtQLf.js → chunk-POPQ4Y6H-B8iYNlKK.js} +1 -1
  248. package/web-shell/assets/{chunk-SVP7TREG-D58Lphw-.js → chunk-SVP7TREG-DwVdGXs4.js} +1 -1
  249. package/web-shell/assets/{chunk-XXDRQBXY-BSmrr5ej.js → chunk-XXDRQBXY-CsCbtvRS.js} +1 -1
  250. package/web-shell/assets/classDiagram-DTDB5LWJ-BZiDhVAk.js +1 -0
  251. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BZiDhVAk.js +1 -0
  252. package/web-shell/assets/{cose-bilkent-JH36ORCC-DYv3YjD8.js → cose-bilkent-JH36ORCC-DwnxQIaV.js} +1 -1
  253. package/web-shell/assets/{cynefin-OW5HDTMX-ChRVKOIc.js → cynefin-OW5HDTMX-BvGw520V.js} +1 -1
  254. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-2dgun5lr.js → cynefinDiagram-5FMLGOSQ-DErV7NUm.js} +1 -1
  255. package/web-shell/assets/{dagre-3AP2YEHR-IGE15SAI.js → dagre-3AP2YEHR-DUKJascy.js} +1 -1
  256. package/web-shell/assets/{diagram-S7CK7UJ4-BHcZWynB.js → diagram-S7CK7UJ4-DC2A1fK2.js} +1 -1
  257. package/web-shell/assets/{diagram-UQ7AKVKN-DalYrZk-.js → diagram-UQ7AKVKN-Dv3eUqcO.js} +1 -1
  258. package/web-shell/assets/{diagram-VSXAHHWV-CMKHsUs7.js → diagram-VSXAHHWV-B_k7qlTN.js} +1 -1
  259. package/web-shell/assets/{diagram-VX7I27RA-DgrQKlmX.js → diagram-VX7I27RA-DH7Bx528.js} +1 -1
  260. package/web-shell/assets/{diagram-Z3DM3KII-CVdgT4Q4.js → diagram-Z3DM3KII-CtOVvMVx.js} +1 -1
  261. package/web-shell/assets/{ebnfDiagram-PWID7BFC-BV7RGD_D.js → ebnfDiagram-PWID7BFC-DrkkLJdI.js} +1 -1
  262. package/web-shell/assets/{erDiagram-SSCWMZ5O-NbSHPXJb.js → erDiagram-SSCWMZ5O-C0uNwMNd.js} +1 -1
  263. package/web-shell/assets/{flowDiagram-A5DVABFB-BnKFiusj.js → flowDiagram-A5DVABFB-B3sbye5k.js} +1 -1
  264. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BVBViIDh.js → ganttDiagram-EL5Y4UJY-D3Ms91Ay.js} +1 -1
  265. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Dpi8eTTY.js → gitGraphDiagram-WWUBYQGX-BHrKQ3iH.js} +1 -1
  266. package/web-shell/assets/{index-DtvQ3DEH.js → index-BL5DGwqU.js} +4 -4
  267. package/web-shell/assets/{index-D-kPo23X.js → index-DvuDn2OC.js} +1 -1
  268. package/web-shell/assets/{infoDiagram-RXCK75RN-BpAv0FDb.js → infoDiagram-RXCK75RN-DWyT73_I.js} +1 -1
  269. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-B7958rb5.js → ishikawaDiagram-5VMMS53U-DybYyMJT.js} +1 -1
  270. package/web-shell/assets/{journeyDiagram-EYS64GPL-C3KfVyTV.js → journeyDiagram-EYS64GPL-D-v8PiYH.js} +1 -1
  271. package/web-shell/assets/{kanban-definition-3QL26DDD-DXrBR6gr.js → kanban-definition-3QL26DDD-BUWrNJxx.js} +1 -1
  272. package/web-shell/assets/{layout-D4sWObAV.js → layout-DTXwh-A4.js} +1 -1
  273. package/web-shell/assets/{linear-Cwd2KGkf.js → linear-C8iFKFtJ.js} +1 -1
  274. package/web-shell/assets/{mermaid.core-B2gOqjPo.js → mermaid.core-DZcsifbF.js} +6 -6
  275. package/web-shell/assets/{mindmap-definition-FBJOCRG2-Oxi-8t2C.js → mindmap-definition-FBJOCRG2-D1OyJM6T.js} +1 -1
  276. package/web-shell/assets/{pegDiagram-XKGWAZYB-XhK_Omz8.js → pegDiagram-XKGWAZYB-b2dM3687.js} +1 -1
  277. package/web-shell/assets/{pieDiagram-E7YTZNPT-th4P1FI2.js → pieDiagram-E7YTZNPT-n-qlKbdF.js} +1 -1
  278. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-BWHRjMh9.js → quadrantDiagram-AXDQQJYC-DbiRHm_L.js} +1 -1
  279. package/web-shell/assets/{railroadDiagram-O6MQD6OU-D4h49f-M.js → railroadDiagram-O6MQD6OU-CAUM_6wo.js} +1 -1
  280. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-DSG8xXCi.js → requirementDiagram-EFPCY7ZU-D_YoabOy.js} +1 -1
  281. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-Tt-9UBxT.js → sankeyDiagram-P5KCCOFB-C17c2F-F.js} +1 -1
  282. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BOh5x5rY.js → sequenceDiagram-WJ2MYXX4-DtEF8IM9.js} +1 -1
  283. package/web-shell/assets/{sizeCapture-X5ZJPWSS-DP0VY8RY.js → sizeCapture-X5ZJPWSS-CEayyeYf.js} +1 -1
  284. package/web-shell/assets/{stateDiagram-HBIQ2CUA-Bqhxdcnc.js → stateDiagram-HBIQ2CUA-D34ANpKU.js} +1 -1
  285. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BkgMHPaH.js +1 -0
  286. package/web-shell/assets/{swimlanes-XN3QIQJK-g1wrt3v8.js → swimlanes-XN3QIQJK-CxuDoZvW.js} +1 -1
  287. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-B_dlOslo.js +8 -0
  288. package/web-shell/assets/{timeline-definition-24CTP7MA-GGkTR6Uu.js → timeline-definition-24CTP7MA-ewm8t6bY.js} +1 -1
  289. package/web-shell/assets/{vennDiagram-4TSXK5OY-yDSKCBuy.js → vennDiagram-4TSXK5OY-J5Luz0Pz.js} +1 -1
  290. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Cmfcjc_f.js → wardleyDiagram-VM6X3IG4-g9-5UNQz.js} +1 -1
  291. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-B9EjOHFX.js → xychartDiagram-S5SC5T6Z-Dy0uNlVX.js} +1 -1
  292. package/web-shell/index.html +1 -1
  293. package/web-shell/sw.js +1 -1
  294. package/web-shell/assets/channel-D6P_9m4V.js +0 -1
  295. package/web-shell/assets/classDiagram-DTDB5LWJ-BW3KY7XN.js +0 -1
  296. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BW3KY7XN.js +0 -1
  297. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-X9Lr9vnN.js +0 -1
  298. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DCoSHHNU.js +0 -8
@@ -2,19 +2,19 @@
2
2
  "use strict";
3
3
  import {
4
4
  loadSettings
5
- } from "./chunk-ODSVNOLT.js";
5
+ } from "./chunk-KPGPUSJ4.js";
6
6
  import {
7
7
  getCurrentLanguage
8
- } from "./chunk-3CMD4E67.js";
8
+ } from "./chunk-2XWTDVCK.js";
9
9
  import {
10
10
  isWorkspaceTrusted
11
- } from "./chunk-3YZPY6YA.js";
11
+ } from "./chunk-5KLD2C2A.js";
12
12
  import {
13
13
  require_strip_json_comments
14
14
  } from "./chunk-YCZIOHKD.js";
15
15
  import {
16
16
  hashMcpServerConfig
17
- } from "./chunk-6DOSH2VF.js";
17
+ } from "./chunk-XPFD45HB.js";
18
18
  import {
19
19
  Config,
20
20
  ExtensionManager,
@@ -25,11 +25,11 @@ import {
25
25
  isGatedMcpScope,
26
26
  normalizeClaudeMcpServer,
27
27
  runWithTimeout
28
- } from "./chunk-G3W4UY3G.js";
28
+ } from "./chunk-G7HMFP3U.js";
29
29
  import {
30
30
  getMCPServerLastError,
31
31
  getMCPServerStatus
32
- } from "./chunk-3GGCMM7C.js";
32
+ } from "./chunk-HFBSP3VC.js";
33
33
  import {
34
34
  atomicWriteFile
35
35
  } from "./chunk-EPJAMNLS.js";
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  GOAL_STATE_EVENT_CAUSES,
11
11
  makeGoalStateEvent
12
- } from "./chunk-3GGCMM7C.js";
12
+ } from "./chunk-HFBSP3VC.js";
13
13
  import {
14
14
  atomicWriteJSON
15
15
  } from "./chunk-EPJAMNLS.js";
@@ -5,13 +5,13 @@ import {
5
5
  isTranscribableVoiceModel,
6
6
  readVoiceLanguage,
7
7
  resolveVoiceTransport
8
- } from "./chunk-RYBAJ5II.js";
8
+ } from "./chunk-ADSXYGOQ.js";
9
9
  import {
10
10
  resolvePath
11
11
  } from "./chunk-TESN7CJW.js";
12
12
  import {
13
13
  resolveSavedModelApiKey
14
- } from "./chunk-RIX6ATSB.js";
14
+ } from "./chunk-SHDHN4UM.js";
15
15
  import {
16
16
  createDebugLogger
17
17
  } from "./chunk-UK2KIU2V.js";
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  getUserSettingsPath,
5
5
  v1ToV2Migration
6
- } from "./chunk-ODSVNOLT.js";
6
+ } from "./chunk-KPGPUSJ4.js";
7
7
  import {
8
8
  getSystemDefaultsPath,
9
9
  getSystemSettingsPath
@@ -13,7 +13,7 @@ import {
13
13
  TrustLevel,
14
14
  getExplicitTrustLevel,
15
15
  getTrustedFoldersPath
16
- } from "./chunk-3YZPY6YA.js";
16
+ } from "./chunk-5KLD2C2A.js";
17
17
  import {
18
18
  arePathsEquivalent
19
19
  } from "./chunk-MXCWSDSC.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-YCZIOHKD.js";
23
23
  import {
24
24
  ideContextStore
25
- } from "./chunk-G3W4UY3G.js";
25
+ } from "./chunk-G7HMFP3U.js";
26
26
  import {
27
27
  init_esbuild_shims
28
28
  } from "./chunk-S2467S6L.js";
@@ -6,20 +6,20 @@ import {
6
6
  } from "./chunk-PJF3WRYZ.js";
7
7
  import {
8
8
  t
9
- } from "./chunk-3CMD4E67.js";
9
+ } from "./chunk-2XWTDVCK.js";
10
10
  import {
11
11
  isCompressionFailureStatus
12
- } from "./chunk-G3W4UY3G.js";
12
+ } from "./chunk-G7HMFP3U.js";
13
13
  import {
14
14
  skillRestrictionNames
15
- } from "./chunk-LHCVJ6NV.js";
15
+ } from "./chunk-TA5SQUCP.js";
16
16
  import {
17
17
  fetchGitDiff
18
18
  } from "./chunk-CMZHL55Y.js";
19
19
  import {
20
20
  findProviderByCredentials,
21
21
  resolveMetadataKey
22
- } from "./chunk-RIX6ATSB.js";
22
+ } from "./chunk-SHDHN4UM.js";
23
23
  import {
24
24
  init_esbuild_shims
25
25
  } from "./chunk-S2467S6L.js";
@@ -231,7 +231,7 @@ var BRAND = {
231
231
  productName: "o1-code",
232
232
  displayName: "O1-Code",
233
233
  organization: "OrganizaOne",
234
- repoUrl: "https://github.com/silvioricardo87/o1-code",
234
+ repoUrl: "https://github.com/organizaone/o1-code",
235
235
  coAuthorEmail: "o1-code@organizaone.com",
236
236
  userAgent: "O1Code"
237
237
  };
@@ -2,10 +2,10 @@
2
2
  "use strict";
3
3
  import {
4
4
  WriteFileTool
5
- } from "./chunk-MX7QDQRT.js";
5
+ } from "./chunk-YK4BICUN.js";
6
6
  import {
7
7
  EditTool
8
- } from "./chunk-MRBPTAOV.js";
8
+ } from "./chunk-IF22E34Z.js";
9
9
  import {
10
10
  GlobTool
11
11
  } from "./chunk-ZXMW3YT5.js";
@@ -17,17 +17,17 @@ import {
17
17
  } from "./chunk-QOAAXVS4.js";
18
18
  import {
19
19
  NotebookEditTool
20
- } from "./chunk-MXIQ6C7B.js";
20
+ } from "./chunk-SD4FTFLM.js";
21
21
  import {
22
22
  TaskStopTool
23
23
  } from "./chunk-FRDIFAE7.js";
24
24
  import {
25
25
  ShellTool,
26
26
  isModifiableDeclarativeTool
27
- } from "./chunk-G3W4UY3G.js";
27
+ } from "./chunk-G7HMFP3U.js";
28
28
  import {
29
29
  ReadFileTool
30
- } from "./chunk-3GGCMM7C.js";
30
+ } from "./chunk-HFBSP3VC.js";
31
31
  import {
32
32
  init_esbuild_shims
33
33
  } from "./chunk-S2467S6L.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  encodeTextFileContentAsync
5
- } from "./chunk-G3W4UY3G.js";
5
+ } from "./chunk-G7HMFP3U.js";
6
6
  import {
7
7
  executeBwrap,
8
8
  sandboxAsset
@@ -2379,7 +2379,7 @@ var O1CodeLight = new Theme(
2379
2379
  primary: "#f7f9fc",
2380
2380
  diff: { added: "#dcf2e4", removed: "#f9dddd" }
2381
2381
  },
2382
- border: { default: "#cfd7e4", focused: "#2b5bd7" },
2382
+ border: { default: "#a3b4d2", focused: "#2b5bd7" },
2383
2383
  ui: {
2384
2384
  comment: "#56637b",
2385
2385
  symbol: "#46546d",
@@ -2396,8 +2396,8 @@ var O1CodeLight = new Theme(
2396
2396
  {
2397
2397
  text: { muted: "#56637b", placeholder: "#65728a" },
2398
2398
  ui: {
2399
- separator: "#b4bfd0",
2400
- rule: "#cfd7e4",
2399
+ separator: "#9fadca",
2400
+ rule: "#a3b4d2",
2401
2401
  brand: "#2b5bd7",
2402
2402
  brandSoft: "#2f5fdb"
2403
2403
  },
@@ -2530,7 +2530,7 @@ var O1CodeDark = new Theme(
2530
2530
  primary: "#0a1220",
2531
2531
  diff: { added: "#123624", removed: "#3b1a20" }
2532
2532
  },
2533
- border: { default: "#2a3550", focused: "#6e9bff" },
2533
+ border: { default: "#46598a", focused: "#6e9bff" },
2534
2534
  ui: {
2535
2535
  comment: "#8593aa",
2536
2536
  symbol: "#95a5be",
@@ -2547,8 +2547,8 @@ var O1CodeDark = new Theme(
2547
2547
  {
2548
2548
  text: { muted: "#8593aa", placeholder: "#7a879e" },
2549
2549
  ui: {
2550
- separator: "#3a4258",
2551
- rule: "#2a3550",
2550
+ separator: "#52679c",
2551
+ rule: "#46598a",
2552
2552
  brand: "#6e9bff",
2553
2553
  brandSoft: "#8fb2ff"
2554
2554
  },
@@ -2,12 +2,12 @@
2
2
  "use strict";
3
3
  import {
4
4
  ACP_ROUTE_ID_PREFIX
5
- } from "./chunk-XFV6QC4A.js";
5
+ } from "./chunk-LKTMEG3O.js";
6
6
  import {
7
7
  getEffectiveReasoning,
8
8
  isOpenRouterHostname,
9
9
  resolveReasoningForModel
10
- } from "./chunk-RIX6ATSB.js";
10
+ } from "./chunk-SHDHN4UM.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-SE3HMQLW.js";
18
+ } from "./chunk-4YYRPA6G.js";
19
19
  import {
20
20
  init_esbuild_shims
21
21
  } from "./chunk-S2467S6L.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  SERVE_CONTROL_EXT_METHODS,
9
9
  STATUS_SCHEMA_VERSION
10
- } from "./chunk-JSB66IE5.js";
10
+ } from "./chunk-PZG6YNNW.js";
11
11
  import {
12
12
  init_esbuild_shims
13
13
  } from "./chunk-S2467S6L.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  performStandaloneUpdate
5
- } from "./chunk-ABTF7TPE.js";
5
+ } from "./chunk-73JQWXED.js";
6
6
  import {
7
7
  updateEventEmitter
8
8
  } from "./chunk-KD7GIK2D.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-PHTNY4JK.js";
17
17
  import {
18
18
  t
19
- } from "./chunk-3CMD4E67.js";
19
+ } from "./chunk-2XWTDVCK.js";
20
20
  import {
21
21
  createDebugLogger
22
22
  } from "./chunk-UK2KIU2V.js";
@@ -2,13 +2,13 @@
2
2
  "use strict";
3
3
  import {
4
4
  useKeypress
5
- } from "./chunk-22SKH7LF.js";
5
+ } from "./chunk-YNYV52Z4.js";
6
6
  import {
7
7
  require_react
8
8
  } from "./chunk-2KK65OQ6.js";
9
9
  import {
10
10
  t
11
- } from "./chunk-3CMD4E67.js";
11
+ } from "./chunk-2XWTDVCK.js";
12
12
  import {
13
13
  APPROVAL_MODES
14
14
  } from "./chunk-KQAVEXYD.js";
@@ -6,7 +6,7 @@ import {
6
6
  buildSessionHistoryFromConversation,
7
7
  detectTurnInterruption,
8
8
  effectiveHistoryEnd
9
- } from "./chunk-G3W4UY3G.js";
9
+ } from "./chunk-G7HMFP3U.js";
10
10
  import {
11
11
  init_esbuild_shims
12
12
  } from "./chunk-S2467S6L.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-PJF3WRYZ.js";
9
9
  import {
10
10
  formatHistoryGapNotice
11
- } from "./chunk-2CATNMFQ.js";
11
+ } from "./chunk-NHRNNWWS.js";
12
12
  import {
13
13
  DAEMON_ERROR_KINDS,
14
14
  createDaemonTranscriptState,
@@ -24,11 +24,11 @@ import {
24
24
  import {
25
25
  isGoalCheckpointBookkeepingRecord,
26
26
  projectGoalCard
27
- } from "./chunk-6DOSH2VF.js";
27
+ } from "./chunk-XPFD45HB.js";
28
28
  import {
29
29
  observeToolResultBoundary,
30
30
  toolResultBoundaryArtifact
31
- } from "./chunk-G3W4UY3G.js";
31
+ } from "./chunk-G7HMFP3U.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-LHCVJ6NV.js";
46
+ } from "./chunk-TA5SQUCP.js";
47
47
  import {
48
48
  formatVisionBridgeNoticeDisplay,
49
49
  isVisionBridgeNoticeDisplay
50
- } from "./chunk-3GGCMM7C.js";
50
+ } from "./chunk-HFBSP3VC.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-CBJTZJPH.js");
2601
+ const { getGitRepoName } = await import("./deferred-core-runtime-55WMDAXO.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.1/export-transcript-document.css"
3435
+ href="https://unpkg.com/@organizaone/o1-code@0.6.0/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-cdiXCuzgKpk8x6/ZB7rb2yA5mp1AVu7TT0DR8lbjme36vwobikYOUhS6uhQk8G7S"
3489
+ integrity="sha384-1+79vSKaHUqqq2S9eZ2a0KN9CxnxR7bZess+sFV7DxmnVYNjLaZGYEB1tsBNIUJ/"
3490
3490
  crossorigin="anonymous"
3491
- src="https://unpkg.com/@organizaone/o1-code@0.5.1/export-transcript-document.js"
3491
+ src="https://unpkg.com/@organizaone/o1-code@0.6.0/export-transcript-document.js"
3492
3492
  ></script>
3493
3493
  </body>
3494
3494
  </html>
3495
3495
  `;
3496
- var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.5.1+9957e4232344d056";
3496
+ var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.6.0+9957e4232344d056";
3497
3497
  var EXPORT_TRANSCRIPT_RENDERER_LIMITS = Object.freeze({
3498
3498
  maxBlocks: 1e3,
3499
3499
  maxEnvelopeBytes: 33554432