@organizaone/o1-code 0.21.8 → 0.21.11

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 (301) hide show
  1. package/bundled/qc-helper/docs/configuration/model-providers.md +3 -2
  2. package/chunks/{MaxSizedBox-5JDIZGRI.js → MaxSizedBox-2FWSV7FI.js} +26 -27
  3. package/chunks/{StandaloneSessionPicker-337W36MR.js → StandaloneSessionPicker-IAUJMK74.js} +44 -45
  4. package/chunks/{acp-subagent-executor-AZWIITY3.js → acp-subagent-executor-GEEL2MZ6.js} +24 -24
  5. package/chunks/{acpAgent-PEHT7573.js → acpAgent-OPXOXGFU.js} +112 -113
  6. package/chunks/{agent-WEPKBCCS.js → agent-NCDEREDG.js} +13 -13
  7. package/chunks/{agent-headless-LXH6LAJ4.js → agent-headless-EZZUUVIB.js} +13 -13
  8. package/chunks/{all-providers-R7MFQTE7.js → all-providers-2ST3OWID.js} +3 -3
  9. package/chunks/{anthropicContentGenerator-WZ3YSYDF.js → anthropicContentGenerator-7BFVPSHZ.js} +7 -7
  10. package/chunks/{bridge-TVSETA7K.js → bridge-ETQNZ6KS.js} +25 -25
  11. package/chunks/{build-MAJLYX7D.js → build-U7CYF476.js} +3 -1
  12. package/chunks/{ca-EMDHXMDN.js → ca-GU7RNZSU.js} +2 -1
  13. package/chunks/{chunk-WIYLWOCP.js → chunk-2H5AYSDZ.js} +552 -553
  14. package/chunks/{chunk-MREQOAW7.js → chunk-2MIPBAQP.js} +9 -9
  15. package/chunks/{chunk-JSY4J2FE.js → chunk-2Q6AZPNP.js} +3 -3
  16. package/chunks/{chunk-O7OCJ6MQ.js → chunk-2V2HOEMT.js} +3 -3
  17. package/chunks/{chunk-AZ4ZCY3E.js → chunk-3KLKHKEB.js} +4 -4
  18. package/chunks/{chunk-R7SPXY4A.js → chunk-3MYKJC6P.js} +1 -1
  19. package/chunks/{chunk-37VDIIHU.js → chunk-3X7E3AWH.js} +2 -2
  20. package/chunks/{chunk-IE4RH3YW.js → chunk-4ABCTDVK.js} +1 -1
  21. package/chunks/{chunk-UMI3KYEG.js → chunk-4BE7MFUW.js} +8 -8
  22. package/chunks/{chunk-GXYKKO5F.js → chunk-4D2ZKS2J.js} +2 -2
  23. package/chunks/{chunk-HL32D3FC.js → chunk-4FZTHBFE.js} +5 -5
  24. package/chunks/{chunk-A32TOFXI.js → chunk-4HL4OWZ2.js} +2 -2
  25. package/chunks/{chunk-YSZVDMBR.js → chunk-4PSWGNTB.js} +2 -2
  26. package/chunks/{chunk-PHD4B34J.js → chunk-4WIMZMTX.js} +6 -6
  27. package/chunks/{chunk-5JBX43I3.js → chunk-67HLAKZL.js} +6 -6
  28. package/chunks/{chunk-XL5ZRHQA.js → chunk-6RTZ7UD6.js} +2 -2
  29. package/chunks/{chunk-7W6HMRGG.js → chunk-6ZDW5III.js} +8 -8
  30. package/chunks/{chunk-WRB3UNB5.js → chunk-75MPDOHZ.js} +3 -3
  31. package/chunks/{chunk-P7RO4QSF.js → chunk-7HN3RHKV.js} +998 -87
  32. package/chunks/{chunk-CAVFN5I5.js → chunk-7U6M3BD5.js} +3 -3
  33. package/chunks/{chunk-HIMOZPLA.js → chunk-AAW2TG66.js} +1 -0
  34. package/chunks/{chunk-5WDVZJDQ.js → chunk-ANNYW7PO.js} +2 -2
  35. package/chunks/{chunk-7DQWDZUQ.js → chunk-AZMVJ5C3.js} +1 -1
  36. package/chunks/{chunk-NVI4SRJU.js → chunk-B7AGOETA.js} +1 -1
  37. package/chunks/{chunk-IG4SI7D6.js → chunk-C2WMERW4.js} +1 -1
  38. package/chunks/{chunk-HIGJHRG5.js → chunk-C4YKGP4G.js} +1 -1
  39. package/chunks/{chunk-KXCRSEZN.js → chunk-C7WGRJH3.js} +2 -2
  40. package/chunks/{chunk-566GYHAE.js → chunk-CB6GTOTC.js} +3 -3
  41. package/chunks/{chunk-ZEJQB32M.js → chunk-CC4MR6JY.js} +1 -1
  42. package/chunks/{chunk-4TOOWZCQ.js → chunk-CP4FRKFD.js} +1 -1
  43. package/chunks/{chunk-N7R6Z4QV.js → chunk-CQ3TT5CD.js} +2 -2
  44. package/chunks/{chunk-TDZFKR2H.js → chunk-CTORCJRO.js} +2 -2
  45. package/chunks/{chunk-JOUK4R23.js → chunk-D2PCRDAN.js} +3 -3
  46. package/chunks/{chunk-QYBFVUU2.js → chunk-DBMNMWJD.js} +3 -3
  47. package/chunks/{chunk-WUFRJBFC.js → chunk-DDYIYPX4.js} +1 -1
  48. package/chunks/{chunk-TJQTTY4F.js → chunk-DQORDG4A.js} +2 -2
  49. package/chunks/{chunk-IS5IIFV3.js → chunk-DT4XHXJD.js} +2 -2
  50. package/chunks/{chunk-R5HO4EJV.js → chunk-E2NTOSGU.js} +1 -1
  51. package/chunks/{chunk-KIKQVSGH.js → chunk-EJS6XSIJ.js} +2 -2
  52. package/chunks/{chunk-RVRJZT5M.js → chunk-EVIGOLAL.js} +1 -1
  53. package/chunks/{chunk-XRY6XLJD.js → chunk-FGRVF6H3.js} +1350 -168
  54. package/chunks/{chunk-N3TIE57S.js → chunk-FIBEJIUP.js} +2 -2
  55. package/chunks/{chunk-5RYP7RZG.js → chunk-FQGLVBOZ.js} +1 -1
  56. package/chunks/{chunk-YZHGNS36.js → chunk-FWGGR3EP.js} +38 -38
  57. package/chunks/{chunk-VGMNG7VW.js → chunk-G3MI7JUZ.js} +2 -2
  58. package/chunks/{chunk-V5KWWBKF.js → chunk-GIIKRH34.js} +1 -1
  59. package/chunks/{chunk-TC2TJAOF.js → chunk-GM2WNDZ5.js} +1 -1
  60. package/chunks/{chunk-YSOP3ENC.js → chunk-GXVPBIXP.js} +1 -1
  61. package/chunks/{chunk-RA3QWZZQ.js → chunk-GY5IE6TZ.js} +1 -1
  62. package/chunks/{chunk-VCV7AYPL.js → chunk-H2XB6JJR.js} +3 -3
  63. package/chunks/{chunk-NRBB6WW6.js → chunk-HDKFD7Z3.js} +1 -1
  64. package/chunks/{chunk-XT5JXHVL.js → chunk-HTFHMT2B.js} +1 -1
  65. package/chunks/{chunk-PWCTX66B.js → chunk-HVDKV73M.js} +2 -2
  66. package/chunks/{chunk-D2RK5447.js → chunk-IFSHKBED.js} +43 -45
  67. package/chunks/{chunk-6VFNWYWN.js → chunk-IHCKAXTV.js} +4 -4
  68. package/chunks/{chunk-S2B2454D.js → chunk-JEIYTVIM.js} +1 -1
  69. package/chunks/{chunk-BH6ETFAI.js → chunk-JJXDNZR5.js} +4 -4
  70. package/chunks/{chunk-Z7R3ZHC6.js → chunk-JXQHE2TJ.js} +1 -1
  71. package/chunks/{chunk-QFEZGB3Y.js → chunk-KROMG4JO.js} +2 -2
  72. package/chunks/{chunk-S733EYWX.js → chunk-KWLUBNRA.js} +3 -3
  73. package/chunks/{chunk-JN4REMRH.js → chunk-KXH43VZE.js} +12 -12
  74. package/chunks/{chunk-SADH4MG3.js → chunk-MHIJKC73.js} +3 -3
  75. package/chunks/{chunk-642PIR4M.js → chunk-MVKPJPKY.js} +4 -4
  76. package/chunks/{chunk-2KHVBXZ3.js → chunk-NGVTH2DZ.js} +1 -1
  77. package/chunks/{chunk-ZA3QP7UG.js → chunk-NJDYZIML.js} +3 -3
  78. package/chunks/{chunk-2C5GYVPR.js → chunk-NOR3RJHC.js} +1 -1
  79. package/chunks/{chunk-HVQQIKDI.js → chunk-NUF3FLRS.js} +1 -1
  80. package/chunks/{chunk-JVG7Y6QE.js → chunk-OED4GEPD.js} +1 -1
  81. package/chunks/{chunk-4Q3WNTP3.js → chunk-OOAOXTXA.js} +1 -1
  82. package/chunks/{chunk-5VXMTGPV.js → chunk-OPVYDUDV.js} +4 -4
  83. package/chunks/{chunk-SMO5AGRH.js → chunk-OQBAZO6M.js} +1 -1
  84. package/chunks/{chunk-W453GJ7M.js → chunk-OSYSBND2.js} +256 -240
  85. package/chunks/{chunk-6VF7EU56.js → chunk-P4JFO6QK.js} +5 -2
  86. package/chunks/{chunk-KKENXQEQ.js → chunk-PADXB376.js} +12 -12
  87. package/chunks/{chunk-D2PPGNSH.js → chunk-PHKFNJ3T.js} +1 -1
  88. package/chunks/{chunk-TBJKCOB6.js → chunk-Q25NI5KZ.js} +4 -4
  89. package/chunks/{chunk-MRTHM5GF.js → chunk-R5AMOGLJ.js} +13 -4
  90. package/chunks/{chunk-YK63USRK.js → chunk-RAPJVCIY.js} +1 -1
  91. package/chunks/{chunk-TADRPMGC.js → chunk-RDNXXSY5.js} +9 -9
  92. package/chunks/{chunk-OQKXVSEF.js → chunk-RETFH5UL.js} +1 -1
  93. package/chunks/{chunk-BTPTME2B.js → chunk-RK4C5MUJ.js} +3 -3
  94. package/chunks/{chunk-YC6PZUFV.js → chunk-RTXZX3PS.js} +2 -2
  95. package/chunks/{chunk-YFWMLF7Y.js → chunk-RX4YBUI4.js} +1 -1
  96. package/chunks/{chunk-KMWAEX43.js → chunk-S6F7ZE4T.js} +5898 -931
  97. package/chunks/{chunk-HDGYCLNB.js → chunk-S6HB6BVJ.js} +1 -1
  98. package/chunks/{chunk-JOBZWTVK.js → chunk-SLH747HE.js} +2 -2
  99. package/chunks/{chunk-OGJ4MVXX.js → chunk-TQSGOTEA.js} +2 -2
  100. package/chunks/{chunk-HMOUS4QB.js → chunk-U4THVRB3.js} +2 -2
  101. package/chunks/{chunk-7BQPZQP7.js → chunk-UDPULGRU.js} +2 -2
  102. package/chunks/{chunk-RFIKBXKI.js → chunk-UFUHC477.js} +10 -10
  103. package/chunks/{chunk-AHI6EFWS.js → chunk-UMTH7ZGQ.js} +5 -5
  104. package/chunks/{chunk-LHDFH54F.js → chunk-UNZI5SHV.js} +5 -5
  105. package/chunks/{chunk-JMDM6FHI.js → chunk-V3MBXP4H.js} +4 -4
  106. package/chunks/{chunk-GROV3BFX.js → chunk-WHKFXFFX.js} +5 -5
  107. package/chunks/{chunk-3ZJUMBOS.js → chunk-WWN3FNLA.js} +8 -8
  108. package/chunks/{chunk-NLTUEC5Q.js → chunk-XHQFNIZT.js} +7 -7
  109. package/chunks/{chunk-7NUQOGKE.js → chunk-XMEMQBM7.js} +1 -1
  110. package/chunks/{chunk-A6445NIL.js → chunk-YRGZNA7E.js} +5 -5
  111. package/chunks/{chunk-YMUJVUDI.js → chunk-ZDLDAW45.js} +13 -13
  112. package/chunks/{chunk-TEEKFZLV.js → chunk-ZKQ6L46E.js} +24897 -31464
  113. package/chunks/{codex-subagent-executor-FVOOXTD2.js → codex-subagent-executor-3EQOWHZV.js} +24 -24
  114. package/chunks/{contextCommand-DDMF36IO.js → contextCommand-BWVDDD42.js} +24 -24
  115. package/chunks/{core-runtime-VDEXQQ3W.js → core-runtime-3C6ZJFVM.js} +22 -22
  116. package/chunks/{create-sub-session-VCVMK3TY.js → create-sub-session-Q46D7FQ7.js} +23 -23
  117. package/chunks/{daemon-git-worktree-guard-XKFWZEYY.js → daemon-git-worktree-guard-DPFNF7HP.js} +22 -22
  118. package/chunks/{daemon-status-provider-AU5LGZYL.js → daemon-status-provider-ILRYVOHH.js} +30 -30
  119. package/chunks/{daemon-trust-policy-ETD5TBWN.js → daemon-trust-policy-I2GR6JWD.js} +28 -28
  120. package/chunks/{daemon-trust-policy-monitor-5FGLZXEL.js → daemon-trust-policy-monitor-YM63PD4H.js} +28 -28
  121. package/chunks/{de-OMV463ND.js → de-25M4TEKC.js} +2 -1
  122. package/chunks/{deferred-core-runtime-2UIGRE2M.js → deferred-core-runtime-SZP2ASWT.js} +22 -22
  123. package/chunks/{edit-IMZBRFRB.js → edit-T2SFPFGW.js} +15 -15
  124. package/chunks/{en-EEVIOXSR.js → en-FL7WELC7.js} +2 -1
  125. package/chunks/{enterPlanMode-LJCSRD4Y.js → enterPlanMode-Z7RBJRII.js} +13 -13
  126. package/chunks/{environment-M5U2L6VP.js → environment-SCPE7QWN.js} +24 -24
  127. package/chunks/{errors-GA3VDNIT.js → errors-23DLSQ4Z.js} +24 -24
  128. package/chunks/{execution-tool-57H5EQKA.js → execution-tool-Y7YCRR5V.js} +15 -15
  129. package/chunks/{execution-worker-U7374LKH.js → execution-worker-YGX5SHJO.js} +18 -18
  130. package/chunks/{exitPlanMode-NSG5E7RE.js → exitPlanMode-7Z7YPGOB.js} +13 -13
  131. package/chunks/{fast-path-HJTILAVY.js → fast-path-Q2TZRRUS.js} +2 -2
  132. package/chunks/{foreground-runner-VMNIA55V.js → foreground-runner-KHJNQGAJ.js} +77 -40
  133. package/chunks/{fr-ZHVJMULM.js → fr-VHRROZTJ.js} +2 -1
  134. package/chunks/{glob-E4PL2FJY.js → glob-2QY6IKA3.js} +13 -13
  135. package/chunks/{goal-tools-UX6J7MMW.js → goal-tools-6OXOSX5X.js} +13 -13
  136. package/chunks/{handleAutoUpdate-X3Q3Q3ZZ.js → handleAutoUpdate-OMZNM7GO.js} +26 -26
  137. package/chunks/{i18n-LAT3RPLP.js → i18n-TNNGMQCX.js} +23 -23
  138. package/chunks/{image-gen-27Q5XGGZ.js → image-gen-KX5VPAGI.js} +3 -3
  139. package/chunks/{initializer-TSHTVKWG.js → initializer-KOLVPWB5.js} +29 -30
  140. package/chunks/{installationInfo-WWWJ2BSH.js → installationInfo-7IK7IYUF.js} +22 -22
  141. package/chunks/{ja-MQ3LTDXD.js → ja-CP7PJNQT.js} +2 -1
  142. package/chunks/{list-FEYX463Q.js → list-KT5BWRIW.js} +30 -30
  143. package/chunks/{llm-DZ67ZBGE.js → llm-6PBB4WRE.js} +59 -59
  144. package/chunks/{llm-content-generator-LJFLHUI4.js → llm-content-generator-VS2BMHWM.js} +5 -5
  145. package/chunks/{loadedSettingsAdapter-PE4EHJAG.js → loadedSettingsAdapter-6XFZSSXJ.js} +28 -28
  146. package/chunks/{local-execution-environment-NVTEBXRI.js → local-execution-environment-ROVMYUTT.js} +18 -18
  147. package/chunks/{loggingContentGenerator-XYJSX5U7.js → loggingContentGenerator-F453JKZE.js} +15 -15
  148. package/chunks/{managed-npm-update-I4V2CZBT.js → managed-npm-update-WVNAWXWS.js} +22 -22
  149. package/chunks/{mcp-RQRENAYR.js → mcp-QQRLH5OC.js} +28 -28
  150. package/chunks/{model-call-collection-KMSHM63U.js → model-call-collection-RMICFHVC.js} +1 -1
  151. package/chunks/{model-configuration-AEZJTLZ2.js → model-configuration-VLRCZHZG.js} +29 -29
  152. package/chunks/{modelConfigUtils-S3YKJBPJ.js → modelConfigUtils-2BZNN4PB.js} +24 -24
  153. package/chunks/{monitor-5JZFPFXF.js → monitor-SFJ7FAEY.js} +13 -13
  154. package/chunks/{nonInteractiveCli-G77J2SPF.js → nonInteractiveCli-C2KI5GOW.js} +62 -63
  155. package/chunks/{nonInteractiveToolExecutor-CAF2D3IE.js → nonInteractiveToolExecutor-E6BECW4D.js} +14 -14
  156. package/chunks/{notebook-edit-KASVFOUZ.js → notebook-edit-XMY3ZKHD.js} +14 -14
  157. package/chunks/{omni-ZWYNO7DO.js → omni-PRLMNRWA.js} +12 -12
  158. package/chunks/{openai-44SFHTR2.js → openai-XJV7KGB7.js} +11 -3
  159. package/chunks/{openaiContentGenerator-6W7NNSML.js → openaiContentGenerator-2QWUUMZC.js} +11 -11
  160. package/chunks/{openaiResponsesContentGenerator-YPVT5IPV.js → openaiResponsesContentGenerator-S4WUXDML.js} +7 -7
  161. package/chunks/{processUtils-B335BOHB.js → processUtils-5MDVESKY.js} +2 -2
  162. package/chunks/{prompt-terminal-ledger-SZPB5TQ7.js → prompt-terminal-ledger-AD7RFSE4.js} +23 -23
  163. package/chunks/{pt-F7AYPRBY.js → pt-V4NPGBSB.js} +2 -1
  164. package/chunks/{pty-host-process-Y4BPXZFM.js → pty-host-process-UP752FWV.js} +1 -1
  165. package/chunks/{reactive-degrade-T3LRI72F.js → reactive-degrade-BSBEJJKC.js} +11 -11
  166. package/chunks/{read-file-WKMDZ4AA.js → read-file-XMDDPZB3.js} +2 -2
  167. package/chunks/{resumeHistoryUtils-54CUO66A.js → resumeHistoryUtils-R2NJUVX7.js} +30 -31
  168. package/chunks/{ripGrep-C5LMCFOH.js → ripGrep-JSB5IZHQ.js} +2 -2
  169. package/chunks/{ru-CSBDIXDS.js → ru-HSRK22CP.js} +2 -1
  170. package/chunks/{run-o1-code-serve-WA6DJOGP.js → run-o1-code-serve-REM3DQ5G.js} +43 -43
  171. package/chunks/{sandboxConfig-7COZTQZP.js → sandboxConfig-TXRBZ3UN.js} +22 -22
  172. package/chunks/{scheduled-tasks-SVOYVXPL.js → scheduled-tasks-L4Q3PXXS.js} +28 -28
  173. package/chunks/{scheduler-JB622CYT.js → scheduler-WDGW4GSB.js} +24 -24
  174. package/chunks/{serve-ZQ4S5CZ6.js → serve-CJFLNUPV.js} +28 -28
  175. package/chunks/{server-FEUPFXKE.js → server-J7YWGK75.js} +136 -136
  176. package/chunks/{session-KUQTUHIS.js → session-6NBIDSCB.js} +2 -2
  177. package/chunks/{session-ZKEPJVDM.js → session-S2NPYMMB.js} +63 -64
  178. package/chunks/{session-attachments-root-76MMYRJZ.js → session-attachments-root-4M5MJRG7.js} +22 -22
  179. package/chunks/{session-pr-refresh-HMSBPUAT.js → session-pr-refresh-YGTSKXSX.js} +27 -27
  180. package/chunks/{settings-37VAWY5T.js → settings-LSHFACQE.js} +27 -27
  181. package/chunks/{shell-P6FLTO46.js → shell-F6RBXOB3.js} +13 -13
  182. package/chunks/{skill-4E3KLKYE.js → skill-NZWCT2LR.js} +2 -2
  183. package/chunks/{skill-settings-2XSTQS7N.js → skill-settings-BGXKPSAU.js} +27 -27
  184. package/chunks/{spawnChannel-636YP5DD.js → spawnChannel-HYEF3MUQ.js} +23 -23
  185. package/chunks/{standalone-update-JIO6PT5Q.js → standalone-update-G43JK5RC.js} +25 -25
  186. package/chunks/{startInteractiveUI-PNQ24YTR.js → startInteractiveUI-NHADUQTG.js} +266 -197
  187. package/chunks/{supervisor-runner-YD27MXSJ.js → supervisor-runner-MDQEC376.js} +2 -2
  188. package/chunks/{team-create-DFCGOGXH.js → team-create-E6TDE5J3.js} +13 -13
  189. package/chunks/{team-plan-approval-QGUMDHBR.js → team-plan-approval-OBRXLZ6G.js} +13 -13
  190. package/chunks/{terminal-image-renderer-DSGAMRMC.js → terminal-image-renderer-YU3PWPDD.js} +22 -22
  191. package/chunks/{theme-manager-FD5Z5E5S.js → theme-manager-TQOS647B.js} +23 -24
  192. package/chunks/{tool-result-media-EEGRFXMA.js → tool-result-media-ORXPJ5VJ.js} +12 -12
  193. package/chunks/{tool-search-NFNCJDE3.js → tool-search-NJLOGAAS.js} +2 -2
  194. package/chunks/{total-session-admission-ZM2EQYG3.js → total-session-admission-IBX5PP66.js} +25 -25
  195. package/chunks/{trustedFolders-DFB3QCCB.js → trustedFolders-YAQJKV5W.js} +23 -23
  196. package/chunks/{undici-I7LHD7IT.js → undici-M5SHDWIM.js} +659 -230
  197. package/chunks/{update-relaunch-73MKVCSJ.js → update-relaunch-XUL5PUQL.js} +5 -5
  198. package/chunks/{updateCheck-QB6J5MFF.js → updateCheck-7GCAWKQU.js} +24 -24
  199. package/chunks/{upload-config-HYKEF2MB.js → upload-config-VSTMX36S.js} +9 -9
  200. package/chunks/{useAutoAcceptIndicator-IG5DFG7J.js → useAutoAcceptIndicator-6Z5OP4AB.js} +31 -31
  201. package/chunks/{validateNonInterActiveAuth-2X2ENWCH.js → validateNonInterActiveAuth-H6SXP7U4.js} +59 -60
  202. package/chunks/{version-OJVLJFMR.js → version-BLRKUK3E.js} +1 -1
  203. package/chunks/{web-fetch-NCB23225.js → web-fetch-F6U5QISL.js} +3 -3
  204. package/chunks/{web-search-NA5AEA6Q.js → web-search-K52RBXDY.js} +10 -10
  205. package/chunks/{web-shell-static-OOIIII74.js → web-shell-static-LITKZKQN.js} +2 -2
  206. package/chunks/{workflow-TWXEI7ZN.js → workflow-X5K6W6Q2.js} +14 -14
  207. package/chunks/{workspace-providers-status-QVILUFRO.js → workspace-providers-status-HCU5SVE2.js} +33 -33
  208. package/chunks/{workspace-registration-store-V5DN7Z2M.js → workspace-registration-store-GT6MWEAI.js} +1 -1
  209. package/chunks/{workspace-registry-KDWRXKZV.js → workspace-registry-Q66U56G6.js} +25 -25
  210. package/chunks/{workspace-runtime-coordinator-MDJUA5TU.js → workspace-runtime-coordinator-56FBQH4B.js} +25 -25
  211. package/chunks/{workspace-service-K465AJAX.js → workspace-service-SH2HVHOA.js} +31 -31
  212. package/chunks/{workspace-skills-status-RUNJMWUV.js → workspace-skills-status-CKZV3CEG.js} +29 -29
  213. package/chunks/{workspace-trust-reconciler-DCJ523JB.js → workspace-trust-reconciler-SE3NUJ3B.js} +31 -31
  214. package/chunks/{write-file-4G4KA5RN.js → write-file-LJAZWR2P.js} +15 -15
  215. package/chunks/{zh-U2XVEBDV.js → zh-IOAADEYA.js} +2 -1
  216. package/chunks/{zh-TW-EGHYQY24.js → zh-TW-G6KB7N63.js} +2 -1
  217. package/chunks/{zoom-image-UPJRIJCG.js → zoom-image-HPBEMNPD.js} +2 -2
  218. package/cli.js +16 -16
  219. package/examples/mcp-server/example.ts +4 -4
  220. package/examples/mcp-server/package.json +2 -2
  221. package/examples/starter/example.ts +4 -4
  222. package/examples/starter/package.json +2 -2
  223. package/execution-worker.js +1 -1
  224. package/export-transcript-document.js +136 -199
  225. package/locales/ca.js +2 -1
  226. package/locales/de.js +2 -1
  227. package/locales/en.js +2 -1
  228. package/locales/fr.js +2 -1
  229. package/locales/ja.js +2 -1
  230. package/locales/pt.js +2 -1
  231. package/locales/ru.js +2 -1
  232. package/locales/zh-TW.js +2 -1
  233. package/locales/zh.js +2 -1
  234. package/package.json +2 -2
  235. package/release-notes.json +15 -0
  236. package/web-shell/assets/{abnfDiagram-VCTEODGH-Dkrk74MS.js → abnfDiagram-VCTEODGH-BW_qSX9j.js} +1 -1
  237. package/web-shell/assets/{arc-CnUa5VxI.js → arc-ZQXM7Hbo.js} +1 -1
  238. package/web-shell/assets/{architectureDiagram-5GKGNRK7-BRSOyYI6.js → architectureDiagram-5GKGNRK7-Brc5rH28.js} +1 -1
  239. package/web-shell/assets/{blockDiagram-NRAW4CY4-BbTkFWts.js → blockDiagram-NRAW4CY4-D6Zl-D2Z.js} +1 -1
  240. package/web-shell/assets/{c4Diagram-UCG6FXSJ-BXRx3VRL.js → c4Diagram-UCG6FXSJ-C7tqp_U2.js} +1 -1
  241. package/web-shell/assets/channel-6U9KHAGS.js +1 -0
  242. package/web-shell/assets/{chunk-2Q5K7J3B-yW4fzUWC.js → chunk-2Q5K7J3B-BvPCFuF7.js} +1 -1
  243. package/web-shell/assets/{chunk-5VM5RSS4-C7j7gy3X.js → chunk-5VM5RSS4-CRamx50r.js} +1 -1
  244. package/web-shell/assets/{chunk-F27PBJKO-gg8Wggfc.js → chunk-F27PBJKO-Dx3eTDLi.js} +1 -1
  245. package/web-shell/assets/{chunk-G27WJ6UU-BIXiafrY.js → chunk-G27WJ6UU-Dgyx5hmw.js} +1 -1
  246. package/web-shell/assets/{chunk-JWPE2WC7-CT4Zio6z.js → chunk-JWPE2WC7-nccxs6af.js} +1 -1
  247. package/web-shell/assets/{chunk-LCL6LL3I-B-4wf3Z6.js → chunk-LCL6LL3I-Bj5hISXt.js} +1 -1
  248. package/web-shell/assets/{chunk-POPQ4Y6H-C-hsbjMq.js → chunk-POPQ4Y6H-CS8BjxDL.js} +1 -1
  249. package/web-shell/assets/{chunk-SVP7TREG-esRKmQXQ.js → chunk-SVP7TREG-CXV-G5Xj.js} +1 -1
  250. package/web-shell/assets/{chunk-XXDRQBXY-DldWZluv.js → chunk-XXDRQBXY-DElMboJx.js} +1 -1
  251. package/web-shell/assets/classDiagram-DTDB5LWJ-CzKyvpT-.js +1 -0
  252. package/web-shell/assets/classDiagram-v2-JRS7N3AN-CzKyvpT-.js +1 -0
  253. package/web-shell/assets/{cose-bilkent-JH36ORCC-Cg_Hkegg.js → cose-bilkent-JH36ORCC-DsJYHvao.js} +1 -1
  254. package/web-shell/assets/{cynefin-OW5HDTMX-BD4NjKO1.js → cynefin-OW5HDTMX-zlslGDNA.js} +1 -1
  255. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-7OiuFm2e.js → cynefinDiagram-5FMLGOSQ-DR9w-Kwt.js} +1 -1
  256. package/web-shell/assets/{dagre-3AP2YEHR-BY2cDSvK.js → dagre-3AP2YEHR-ZYOK-rUH.js} +1 -1
  257. package/web-shell/assets/{diagram-S7CK7UJ4-DcQpei6o.js → diagram-S7CK7UJ4-B0HTh7cI.js} +1 -1
  258. package/web-shell/assets/{diagram-UQ7AKVKN-CSOpgeLd.js → diagram-UQ7AKVKN-CTMnXgEz.js} +1 -1
  259. package/web-shell/assets/{diagram-VSXAHHWV-BIxEPq8f.js → diagram-VSXAHHWV-D2oVCbAj.js} +1 -1
  260. package/web-shell/assets/{diagram-VX7I27RA-Mulf5VDd.js → diagram-VX7I27RA-QCo6NzS8.js} +1 -1
  261. package/web-shell/assets/{diagram-Z3DM3KII-oTPPUV-h.js → diagram-Z3DM3KII-KLlMNxZ9.js} +1 -1
  262. package/web-shell/assets/{ebnfDiagram-PWID7BFC-BsncOXfu.js → ebnfDiagram-PWID7BFC-C8DJIYln.js} +1 -1
  263. package/web-shell/assets/{erDiagram-SSCWMZ5O-DkxQVTV8.js → erDiagram-SSCWMZ5O-C-xmRC0M.js} +1 -1
  264. package/web-shell/assets/{flowDiagram-A5DVABFB-YUsa6wZO.js → flowDiagram-A5DVABFB-CN9JylPo.js} +1 -1
  265. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-Cnqm7Bik.js → ganttDiagram-EL5Y4UJY-QVCuotcn.js} +1 -1
  266. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Dd8e40AY.js → gitGraphDiagram-WWUBYQGX-BZ_EylSY.js} +1 -1
  267. package/web-shell/assets/{index-CZCfLqp_.js → index-ApAS0aET.js} +516 -485
  268. package/web-shell/assets/{index-DDT8pqbp.js → index-Csbrycup.js} +1 -1
  269. package/web-shell/assets/{infoDiagram-RXCK75RN-8MF9FKjM.js → infoDiagram-RXCK75RN-MnxW8m9X.js} +1 -1
  270. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DQ-ktH4y.js → ishikawaDiagram-5VMMS53U-DZC4Wqe4.js} +1 -1
  271. package/web-shell/assets/{journeyDiagram-EYS64GPL-BCHFI2vN.js → journeyDiagram-EYS64GPL-bCUBptPZ.js} +1 -1
  272. package/web-shell/assets/{kanban-definition-3QL26DDD-DWzXuuVu.js → kanban-definition-3QL26DDD-Bl43MhIy.js} +1 -1
  273. package/web-shell/assets/{layout-I40DGxKz.js → layout-BYtWDqeA.js} +1 -1
  274. package/web-shell/assets/{linear-CJ4Hss20.js → linear-wv7ORGMW.js} +1 -1
  275. package/web-shell/assets/mermaid.core-DfKzeQBS.js +312 -0
  276. package/web-shell/assets/{mindmap-definition-FBJOCRG2-C6DKnyuH.js → mindmap-definition-FBJOCRG2-ltaBWmFr.js} +1 -1
  277. package/web-shell/assets/{pegDiagram-XKGWAZYB-zomV7Ng0.js → pegDiagram-XKGWAZYB-Dp4T6LzR.js} +1 -1
  278. package/web-shell/assets/{pieDiagram-E7YTZNPT-CO-uix-_.js → pieDiagram-E7YTZNPT-DZgAytP1.js} +1 -1
  279. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Dg1whrAZ.js → quadrantDiagram-AXDQQJYC-BnpQUM3i.js} +1 -1
  280. package/web-shell/assets/{railroadDiagram-O6MQD6OU-cHZU3Gch.js → railroadDiagram-O6MQD6OU-BFCF1Lwy.js} +1 -1
  281. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C6DsWhMZ.js → requirementDiagram-EFPCY7ZU-F4dB_cR1.js} +1 -1
  282. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-C9ILyOS0.js → sankeyDiagram-P5KCCOFB-oaQwkTxp.js} +1 -1
  283. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-CVvYgJCg.js → sequenceDiagram-WJ2MYXX4-DEFa-QTi.js} +1 -1
  284. package/web-shell/assets/{sizeCapture-X5ZJPWSS-B8TDIlSl.js → sizeCapture-X5ZJPWSS-oBktEcI9.js} +1 -1
  285. package/web-shell/assets/{stateDiagram-HBIQ2CUA-CTKxsECh.js → stateDiagram-HBIQ2CUA-PsBju85M.js} +1 -1
  286. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DhTVFds7.js +1 -0
  287. package/web-shell/assets/{swimlanes-XN3QIQJK-Blfs3x7y.js → swimlanes-XN3QIQJK-DKhvz2lU.js} +1 -1
  288. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CfBMIrnE.js +8 -0
  289. package/web-shell/assets/{timeline-definition-24CTP7MA-D-VBOqpM.js → timeline-definition-24CTP7MA-Cc8JE9z5.js} +1 -1
  290. package/web-shell/assets/{vennDiagram-4TSXK5OY-BXfVcLxa.js → vennDiagram-4TSXK5OY-BWlabnUg.js} +1 -1
  291. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-B7kNnroZ.js → wardleyDiagram-VM6X3IG4-BFmYU2kG.js} +1 -1
  292. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CQxBdR6i.js → xychartDiagram-S5SC5T6Z-B1hIhMtj.js} +1 -1
  293. package/web-shell/index.html +1 -1
  294. package/web-shell/sw.js +1 -1
  295. package/chunks/chunk-YQQ7QFC5.js +0 -945
  296. package/web-shell/assets/channel-BJm6co8h.js +0 -1
  297. package/web-shell/assets/classDiagram-DTDB5LWJ-BEYla04O.js +0 -1
  298. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BEYla04O.js +0 -1
  299. package/web-shell/assets/mermaid.core-CyYLnEfA.js +0 -312
  300. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DV77q__d.js +0 -1
  301. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-gVyWcYvC.js +0 -8
@@ -1,15 +1,5 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import {
4
- O1CodeDark,
5
- O1CodeLight,
6
- Theme,
7
- ansiTheme,
8
- createCustomTheme,
9
- darkTheme,
10
- lightTheme,
11
- validateCustomTheme
12
- } from "./chunk-YQQ7QFC5.js";
13
3
  import {
14
4
  DEFAULT_DARK_THEME_NAME,
15
5
  DEFAULT_LIGHT_THEME_NAME
@@ -29,6 +19,588 @@ init_esbuild_shims();
29
19
 
30
20
  // packages/cli/src/ui/themes/ayu.ts
31
21
  init_esbuild_shims();
22
+
23
+ // packages/cli/src/ui/themes/theme.ts
24
+ init_esbuild_shims();
25
+
26
+ // packages/cli/src/ui/themes/color-utils.ts
27
+ init_esbuild_shims();
28
+ var CSS_NAME_TO_HEX_MAP = {
29
+ aliceblue: "#f0f8ff",
30
+ antiquewhite: "#faebd7",
31
+ aqua: "#00ffff",
32
+ aquamarine: "#7fffd4",
33
+ azure: "#f0ffff",
34
+ beige: "#f5f5dc",
35
+ bisque: "#ffe4c4",
36
+ blanchedalmond: "#ffebcd",
37
+ blueviolet: "#8a2be2",
38
+ brown: "#a52a2a",
39
+ burlywood: "#deb887",
40
+ cadetblue: "#5f9ea0",
41
+ chartreuse: "#7fff00",
42
+ chocolate: "#d2691e",
43
+ coral: "#ff7f50",
44
+ cornflowerblue: "#6495ed",
45
+ cornsilk: "#fff8dc",
46
+ crimson: "#dc143c",
47
+ darkblue: "#00008b",
48
+ darkcyan: "#008b8b",
49
+ darkgoldenrod: "#b8860b",
50
+ darkgray: "#a9a9a9",
51
+ darkgrey: "#a9a9a9",
52
+ darkgreen: "#006400",
53
+ darkkhaki: "#bdb76b",
54
+ darkmagenta: "#8b008b",
55
+ darkolivegreen: "#556b2f",
56
+ darkorange: "#ff8c00",
57
+ darkorchid: "#9932cc",
58
+ darkred: "#8b0000",
59
+ darksalmon: "#e9967a",
60
+ darkseagreen: "#8fbc8f",
61
+ darkslateblue: "#483d8b",
62
+ darkslategray: "#2f4f4f",
63
+ darkslategrey: "#2f4f4f",
64
+ darkturquoise: "#00ced1",
65
+ darkviolet: "#9400d3",
66
+ deeppink: "#ff1493",
67
+ deepskyblue: "#00bfff",
68
+ dimgray: "#696969",
69
+ dimgrey: "#696969",
70
+ dodgerblue: "#1e90ff",
71
+ firebrick: "#b22222",
72
+ floralwhite: "#fffaf0",
73
+ forestgreen: "#228b22",
74
+ fuchsia: "#ff00ff",
75
+ gainsboro: "#dcdcdc",
76
+ ghostwhite: "#f8f8ff",
77
+ gold: "#ffd700",
78
+ goldenrod: "#daa520",
79
+ greenyellow: "#adff2f",
80
+ honeydew: "#f0fff0",
81
+ hotpink: "#ff69b4",
82
+ indianred: "#cd5c5c",
83
+ indigo: "#4b0082",
84
+ ivory: "#fffff0",
85
+ khaki: "#f0e68c",
86
+ lavender: "#e6e6fa",
87
+ lavenderblush: "#fff0f5",
88
+ lawngreen: "#7cfc00",
89
+ lemonchiffon: "#fffacd",
90
+ lightblue: "#add8e6",
91
+ lightcoral: "#f08080",
92
+ lightcyan: "#e0ffff",
93
+ lightgoldenrodyellow: "#fafad2",
94
+ lightgray: "#d3d3d3",
95
+ lightgrey: "#d3d3d3",
96
+ lightgreen: "#90ee90",
97
+ lightpink: "#ffb6c1",
98
+ lightsalmon: "#ffa07a",
99
+ lightseagreen: "#20b2aa",
100
+ lightskyblue: "#87cefa",
101
+ lightslategray: "#778899",
102
+ lightslategrey: "#778899",
103
+ lightsteelblue: "#b0c4de",
104
+ lightyellow: "#ffffe0",
105
+ lime: "#00ff00",
106
+ limegreen: "#32cd32",
107
+ linen: "#faf0e6",
108
+ maroon: "#800000",
109
+ mediumaquamarine: "#66cdaa",
110
+ mediumblue: "#0000cd",
111
+ mediumorchid: "#ba55d3",
112
+ mediumpurple: "#9370db",
113
+ mediumseagreen: "#3cb371",
114
+ mediumslateblue: "#7b68ee",
115
+ mediumspringgreen: "#00fa9a",
116
+ mediumturquoise: "#48d1cc",
117
+ mediumvioletred: "#c71585",
118
+ midnightblue: "#191970",
119
+ mintcream: "#f5fffa",
120
+ mistyrose: "#ffe4e1",
121
+ moccasin: "#ffe4b5",
122
+ navajowhite: "#ffdead",
123
+ navy: "#000080",
124
+ oldlace: "#fdf5e6",
125
+ olive: "#808000",
126
+ olivedrab: "#6b8e23",
127
+ orange: "#ffa500",
128
+ orangered: "#ff4500",
129
+ orchid: "#da70d6",
130
+ palegoldenrod: "#eee8aa",
131
+ palegreen: "#98fb98",
132
+ paleturquoise: "#afeeee",
133
+ palevioletred: "#db7093",
134
+ papayawhip: "#ffefd5",
135
+ peachpuff: "#ffdab9",
136
+ peru: "#cd853f",
137
+ pink: "#ffc0cb",
138
+ plum: "#dda0dd",
139
+ powderblue: "#b0e0e6",
140
+ purple: "#800080",
141
+ rebeccapurple: "#663399",
142
+ rosybrown: "#bc8f8f",
143
+ royalblue: "#4169e1",
144
+ saddlebrown: "#8b4513",
145
+ salmon: "#fa8072",
146
+ sandybrown: "#f4a460",
147
+ seagreen: "#2e8b57",
148
+ seashell: "#fff5ee",
149
+ sienna: "#a0522d",
150
+ silver: "#c0c0c0",
151
+ skyblue: "#87ceeb",
152
+ slateblue: "#6a5acd",
153
+ slategray: "#708090",
154
+ slategrey: "#708090",
155
+ snow: "#fffafa",
156
+ springgreen: "#00ff7f",
157
+ steelblue: "#4682b4",
158
+ tan: "#d2b48c",
159
+ teal: "#008080",
160
+ thistle: "#d8bfd8",
161
+ tomato: "#ff6347",
162
+ turquoise: "#40e0d0",
163
+ violet: "#ee82ee",
164
+ wheat: "#f5deb3",
165
+ whitesmoke: "#f5f5f5",
166
+ yellowgreen: "#9acd32"
167
+ };
168
+ var debugLogger = createDebugLogger("COLOR_UTILS");
169
+ var INK_SUPPORTED_NAMES = /* @__PURE__ */ new Set([
170
+ "black",
171
+ "red",
172
+ "green",
173
+ "yellow",
174
+ "blue",
175
+ "cyan",
176
+ "magenta",
177
+ "white",
178
+ "gray",
179
+ "grey",
180
+ "blackbright",
181
+ "redbright",
182
+ "greenbright",
183
+ "yellowbright",
184
+ "bluebright",
185
+ "cyanbright",
186
+ "magentabright",
187
+ "whitebright"
188
+ ]);
189
+ function resolveColor(colorValue) {
190
+ const lowerColor = colorValue.toLowerCase();
191
+ if (lowerColor.startsWith("#")) {
192
+ if (/^#[0-9A-Fa-f]{3}([0-9A-Fa-f]{3})?$/.test(colorValue)) {
193
+ return lowerColor;
194
+ } else {
195
+ return void 0;
196
+ }
197
+ } else if (INK_SUPPORTED_NAMES.has(lowerColor)) {
198
+ return lowerColor;
199
+ } else if (CSS_NAME_TO_HEX_MAP[lowerColor]) {
200
+ return CSS_NAME_TO_HEX_MAP[lowerColor];
201
+ }
202
+ debugLogger.warn(
203
+ `[ColorUtils] Could not resolve color "${colorValue}" to an Ink-compatible format.`
204
+ );
205
+ return void 0;
206
+ }
207
+ __name(resolveColor, "resolveColor");
208
+
209
+ // packages/cli/src/ui/themes/extended-tokens.ts
210
+ init_esbuild_shims();
211
+ function deriveExtendedColors(colors) {
212
+ return {
213
+ text: { muted: colors.Comment, placeholder: colors.Comment },
214
+ ui: {
215
+ separator: colors.Gray,
216
+ rule: colors.Gray,
217
+ brand: colors.AccentBlue,
218
+ brandSoft: colors.LightBlue
219
+ },
220
+ activity: {
221
+ info: colors.AccentBlue,
222
+ read: colors.AccentCyan,
223
+ write: colors.AccentPurple,
224
+ execute: colors.AccentYellow,
225
+ success: colors.AccentGreen
226
+ }
227
+ };
228
+ }
229
+ __name(deriveExtendedColors, "deriveExtendedColors");
230
+
231
+ // packages/cli/src/ui/themes/theme.ts
232
+ var lightTheme = {
233
+ type: "light",
234
+ Background: "#FAFAFA",
235
+ Foreground: "#162033",
236
+ LightBlue: "#445e66",
237
+ AccentBlue: "#2858a7",
238
+ AccentPurple: "#6644b6",
239
+ AccentCyan: "#036272",
240
+ AccentGreen: "#24662d",
241
+ AccentYellow: "#705605",
242
+ AccentRed: "#9f3636",
243
+ AccentYellowDim: "#8B7000",
244
+ AccentRedDim: "#993333",
245
+ DiffAdded: "#C6EAD8",
246
+ DiffRemoved: "#FFCCCC",
247
+ Comment: "#006a00",
248
+ Gray: "#545962",
249
+ GradientColors: ["#4796E4", "#847ACE", "#C3677F"]
250
+ };
251
+ var darkTheme = {
252
+ type: "dark",
253
+ Background: "#1E1E2E",
254
+ Foreground: "#e6ecf5",
255
+ LightBlue: "#ADD8E6",
256
+ AccentBlue: "#89B4FA",
257
+ AccentPurple: "#CBA6F7",
258
+ AccentCyan: "#89DCEB",
259
+ AccentGreen: "#A6E3A1",
260
+ AccentYellow: "#F9E2AF",
261
+ AccentRed: "#F38BA8",
262
+ AccentYellowDim: "#c1a346",
263
+ AccentRedDim: "#d46a78",
264
+ DiffAdded: "#28350B",
265
+ DiffRemoved: "#430000",
266
+ Comment: "#a0a6bc",
267
+ Gray: "#a0a6bc",
268
+ GradientColors: ["#4796E4", "#847ACE", "#C3677F"]
269
+ };
270
+ var ansiTheme = {
271
+ type: "ansi",
272
+ Background: "black",
273
+ Foreground: "white",
274
+ LightBlue: "blue",
275
+ AccentBlue: "blue",
276
+ AccentPurple: "magenta",
277
+ AccentCyan: "cyan",
278
+ AccentGreen: "green",
279
+ AccentYellow: "yellow",
280
+ AccentRed: "red",
281
+ AccentYellowDim: "yellow",
282
+ AccentRedDim: "red",
283
+ DiffAdded: "green",
284
+ DiffRemoved: "red",
285
+ Comment: "gray",
286
+ Gray: "gray"
287
+ };
288
+ var Theme = class _Theme {
289
+ /**
290
+ * Creates a new Theme instance.
291
+ * @param name The name of the theme.
292
+ * @param rawMappings The raw CSSProperties mappings from a react-syntax-highlighter theme object.
293
+ */
294
+ constructor(name, type, rawMappings, colors, semanticColors, extendedColors) {
295
+ this.name = name;
296
+ this.type = type;
297
+ this.colors = colors;
298
+ this.semanticColors = semanticColors ?? {
299
+ text: {
300
+ primary: this.colors.Foreground,
301
+ secondary: this.colors.Gray,
302
+ link: this.colors.AccentBlue,
303
+ accent: this.colors.AccentPurple,
304
+ code: this.colors.LightBlue
305
+ },
306
+ background: {
307
+ primary: this.colors.Background,
308
+ diff: {
309
+ added: this.colors.DiffAdded,
310
+ removed: this.colors.DiffRemoved
311
+ }
312
+ },
313
+ border: {
314
+ default: this.colors.Gray,
315
+ focused: this.colors.AccentBlue
316
+ },
317
+ ui: {
318
+ comment: this.colors.Gray,
319
+ symbol: this.colors.AccentCyan,
320
+ gradient: this.colors.GradientColors
321
+ },
322
+ status: {
323
+ error: this.colors.AccentRed,
324
+ success: this.colors.AccentGreen,
325
+ warning: this.colors.AccentYellow,
326
+ errorDim: this.colors.AccentRedDim,
327
+ warningDim: this.colors.AccentYellowDim
328
+ }
329
+ };
330
+ this.extendedColors = extendedColors ?? deriveExtendedColors(this.colors);
331
+ this._colorMap = Object.freeze(this._buildColorMap(rawMappings));
332
+ const rawDefaultColor = rawMappings["hljs"]?.color;
333
+ this.defaultColor = (rawDefaultColor ? _Theme._resolveColor(rawDefaultColor) : void 0) ?? "";
334
+ }
335
+ static {
336
+ __name(this, "Theme");
337
+ }
338
+ /**
339
+ * The default foreground color for text when no specific highlight rule applies.
340
+ * This is an Ink-compatible color string (hex or name).
341
+ */
342
+ defaultColor;
343
+ /**
344
+ * Stores the mapping from highlight.js class names (e.g., 'hljs-keyword')
345
+ * to Ink-compatible color strings (hex or name).
346
+ */
347
+ _colorMap;
348
+ semanticColors;
349
+ extendedColors;
350
+ /**
351
+ * Gets the Ink-compatible color string for a given highlight.js class name.
352
+ * @param hljsClass The highlight.js class name (e.g., 'hljs-keyword', 'hljs-string').
353
+ * @returns The corresponding Ink color string (hex or name) if it exists.
354
+ */
355
+ getInkColor(hljsClass) {
356
+ return this._colorMap[hljsClass];
357
+ }
358
+ /**
359
+ * Resolves a CSS color value (name or hex) into an Ink-compatible color string.
360
+ * @param colorValue The raw color string (e.g., 'blue', '#ff0000', 'darkkhaki').
361
+ * @returns An Ink-compatible color string (hex or name), or undefined if not resolvable.
362
+ */
363
+ static _resolveColor(colorValue) {
364
+ return resolveColor(colorValue);
365
+ }
366
+ /**
367
+ * Builds the internal map from highlight.js class names to Ink-compatible color strings.
368
+ * This method is protected and primarily intended for use by the constructor.
369
+ * @param hljsTheme The raw CSSProperties mappings from a react-syntax-highlighter theme object.
370
+ * @returns An Ink-compatible theme map (Record<string, string>).
371
+ */
372
+ _buildColorMap(hljsTheme) {
373
+ const inkTheme = {};
374
+ for (const key in hljsTheme) {
375
+ if (!key.startsWith("hljs-") && key !== "hljs") {
376
+ continue;
377
+ }
378
+ const style = hljsTheme[key];
379
+ if (style?.color) {
380
+ const resolvedColor = _Theme._resolveColor(style.color);
381
+ if (resolvedColor !== void 0) {
382
+ inkTheme[key] = resolvedColor;
383
+ }
384
+ }
385
+ }
386
+ return inkTheme;
387
+ }
388
+ };
389
+ function createCustomTheme(customTheme) {
390
+ const colors = {
391
+ type: "custom",
392
+ Background: customTheme.background?.primary ?? customTheme.Background ?? "",
393
+ Foreground: customTheme.text?.primary ?? customTheme.Foreground ?? "",
394
+ LightBlue: customTheme.text?.code ?? customTheme.LightBlue ?? "",
395
+ AccentBlue: customTheme.text?.link ?? customTheme.AccentBlue ?? "",
396
+ AccentPurple: customTheme.text?.accent ?? customTheme.AccentPurple ?? "",
397
+ AccentCyan: customTheme.text?.link ?? customTheme.AccentCyan ?? "",
398
+ AccentGreen: customTheme.status?.success ?? customTheme.AccentGreen ?? "",
399
+ AccentYellow: customTheme.status?.warning ?? customTheme.AccentYellow ?? "",
400
+ AccentRed: customTheme.status?.error ?? customTheme.AccentRed ?? "",
401
+ AccentYellowDim: customTheme.status?.warningDim ?? customTheme.AccentYellowDim ?? "",
402
+ AccentRedDim: customTheme.status?.errorDim ?? customTheme.AccentRedDim ?? "",
403
+ DiffAdded: customTheme.background?.diff?.added ?? customTheme.DiffAdded ?? "",
404
+ DiffRemoved: customTheme.background?.diff?.removed ?? customTheme.DiffRemoved ?? "",
405
+ Comment: customTheme.ui?.comment ?? customTheme.Comment ?? "",
406
+ Gray: customTheme.text?.secondary ?? customTheme.Gray ?? "",
407
+ GradientColors: customTheme.ui?.gradient ?? customTheme.GradientColors
408
+ };
409
+ const rawMappings = {
410
+ hljs: {
411
+ display: "block",
412
+ overflowX: "auto",
413
+ padding: "0.5em",
414
+ background: colors.Background,
415
+ color: colors.Foreground
416
+ },
417
+ "hljs-keyword": {
418
+ color: colors.AccentBlue
419
+ },
420
+ "hljs-literal": {
421
+ color: colors.AccentBlue
422
+ },
423
+ "hljs-symbol": {
424
+ color: colors.AccentBlue
425
+ },
426
+ "hljs-name": {
427
+ color: colors.AccentBlue
428
+ },
429
+ "hljs-link": {
430
+ color: colors.AccentBlue,
431
+ textDecoration: "underline"
432
+ },
433
+ "hljs-built_in": {
434
+ color: colors.AccentCyan
435
+ },
436
+ "hljs-type": {
437
+ color: colors.AccentCyan
438
+ },
439
+ "hljs-number": {
440
+ color: colors.AccentGreen
441
+ },
442
+ "hljs-class": {
443
+ color: colors.AccentGreen
444
+ },
445
+ "hljs-string": {
446
+ color: colors.AccentYellow
447
+ },
448
+ "hljs-meta-string": {
449
+ color: colors.AccentYellow
450
+ },
451
+ "hljs-regexp": {
452
+ color: colors.AccentRed
453
+ },
454
+ "hljs-template-tag": {
455
+ color: colors.AccentRed
456
+ },
457
+ "hljs-subst": {
458
+ color: colors.Foreground
459
+ },
460
+ "hljs-function": {
461
+ color: colors.Foreground
462
+ },
463
+ "hljs-title": {
464
+ color: colors.Foreground
465
+ },
466
+ "hljs-params": {
467
+ color: colors.Foreground
468
+ },
469
+ "hljs-formula": {
470
+ color: colors.Foreground
471
+ },
472
+ "hljs-comment": {
473
+ color: colors.Comment,
474
+ fontStyle: "italic"
475
+ },
476
+ "hljs-quote": {
477
+ color: colors.Comment,
478
+ fontStyle: "italic"
479
+ },
480
+ "hljs-doctag": {
481
+ color: colors.Comment
482
+ },
483
+ "hljs-meta": {
484
+ color: colors.Gray
485
+ },
486
+ "hljs-meta-keyword": {
487
+ color: colors.Gray
488
+ },
489
+ "hljs-tag": {
490
+ color: colors.Gray
491
+ },
492
+ "hljs-variable": {
493
+ color: colors.AccentPurple
494
+ },
495
+ "hljs-template-variable": {
496
+ color: colors.AccentPurple
497
+ },
498
+ "hljs-attr": {
499
+ color: colors.LightBlue
500
+ },
501
+ "hljs-attribute": {
502
+ color: colors.LightBlue
503
+ },
504
+ "hljs-builtin-name": {
505
+ color: colors.LightBlue
506
+ },
507
+ "hljs-section": {
508
+ color: colors.AccentYellow
509
+ },
510
+ "hljs-emphasis": {
511
+ fontStyle: "italic"
512
+ },
513
+ "hljs-strong": {
514
+ fontWeight: "bold"
515
+ },
516
+ "hljs-bullet": {
517
+ color: colors.AccentYellow
518
+ },
519
+ "hljs-selector-tag": {
520
+ color: colors.AccentYellow
521
+ },
522
+ "hljs-selector-id": {
523
+ color: colors.AccentYellow
524
+ },
525
+ "hljs-selector-class": {
526
+ color: colors.AccentYellow
527
+ },
528
+ "hljs-selector-attr": {
529
+ color: colors.AccentYellow
530
+ },
531
+ "hljs-selector-pseudo": {
532
+ color: colors.AccentYellow
533
+ },
534
+ "hljs-addition": {
535
+ backgroundColor: colors.AccentGreen,
536
+ display: "inline-block",
537
+ width: "100%"
538
+ },
539
+ "hljs-deletion": {
540
+ backgroundColor: colors.AccentRed,
541
+ display: "inline-block",
542
+ width: "100%"
543
+ }
544
+ };
545
+ const semanticColors = {
546
+ text: {
547
+ primary: customTheme.text?.primary ?? colors.Foreground,
548
+ secondary: customTheme.text?.secondary ?? colors.Gray,
549
+ link: customTheme.text?.link ?? colors.AccentBlue,
550
+ accent: customTheme.text?.accent ?? colors.AccentPurple,
551
+ code: customTheme.text?.code ?? colors.LightBlue
552
+ },
553
+ background: {
554
+ primary: customTheme.background?.primary ?? colors.Background,
555
+ diff: {
556
+ added: customTheme.background?.diff?.added ?? colors.DiffAdded,
557
+ removed: customTheme.background?.diff?.removed ?? colors.DiffRemoved
558
+ }
559
+ },
560
+ border: {
561
+ default: customTheme.border?.default ?? colors.Gray,
562
+ focused: customTheme.border?.focused ?? colors.AccentBlue
563
+ },
564
+ ui: {
565
+ comment: customTheme.ui?.comment ?? colors.Comment,
566
+ symbol: customTheme.ui?.symbol ?? colors.Gray,
567
+ gradient: customTheme.ui?.gradient ?? colors.GradientColors
568
+ },
569
+ status: {
570
+ error: customTheme.status?.error ?? colors.AccentRed,
571
+ success: customTheme.status?.success ?? colors.AccentGreen,
572
+ warning: customTheme.status?.warning ?? colors.AccentYellow,
573
+ errorDim: customTheme.status?.errorDim ?? colors.AccentRedDim,
574
+ warningDim: customTheme.status?.warningDim ?? colors.AccentYellowDim
575
+ }
576
+ };
577
+ return new Theme(
578
+ customTheme.name,
579
+ "custom",
580
+ rawMappings,
581
+ colors,
582
+ semanticColors
583
+ );
584
+ }
585
+ __name(createCustomTheme, "createCustomTheme");
586
+ function validateCustomTheme(customTheme) {
587
+ if (customTheme.name && !isValidThemeName(customTheme.name)) {
588
+ return {
589
+ isValid: false,
590
+ error: `Invalid theme name: ${customTheme.name}`
591
+ };
592
+ }
593
+ return {
594
+ isValid: true
595
+ };
596
+ }
597
+ __name(validateCustomTheme, "validateCustomTheme");
598
+ function isValidThemeName(name) {
599
+ return name.trim().length > 0 && name.trim().length <= 50;
600
+ }
601
+ __name(isValidThemeName, "isValidThemeName");
602
+
603
+ // packages/cli/src/ui/themes/ayu.ts
32
604
  var ayuDarkColors = {
33
605
  type: "dark",
34
606
  Background: "#0b0e14",
@@ -40,12 +612,12 @@ var ayuDarkColors = {
40
612
  AccentGreen: "#AAD94C",
41
613
  AccentYellow: "#FFB454",
42
614
  AccentRed: "#F26D78",
43
- AccentYellowDim: "#8B7530",
44
- AccentRedDim: "#8B3A4A",
615
+ AccentYellowDim: "#a69560",
616
+ AccentRedDim: "#bb8b94",
45
617
  DiffAdded: "#293022",
46
618
  DiffRemoved: "#3D1215",
47
- Comment: "#646A71",
48
- Gray: "#3D4149",
619
+ Comment: "#93979c",
620
+ Gray: "#94979b",
49
621
  GradientColors: ["#FFB454", "#F26D78"]
50
622
  };
51
623
  var AyuDark = new Theme(
@@ -139,20 +711,20 @@ init_esbuild_shims();
139
711
  var ayuLightColors = {
140
712
  type: "light",
141
713
  Background: "#f8f9fa",
142
- Foreground: "#5c6166",
143
- LightBlue: "#55b4d4",
144
- AccentBlue: "#399ee6",
145
- AccentPurple: "#a37acc",
146
- AccentCyan: "#4cbf99",
147
- AccentGreen: "#86b300",
148
- AccentYellow: "#f2ae49",
149
- AccentRed: "#f07171",
714
+ Foreground: "#51565b",
715
+ LightBlue: "#2d6172",
716
+ AccentBlue: "#225e89",
717
+ AccentPurple: "#694f84",
718
+ AccentCyan: "#286551",
719
+ AccentGreen: "#496200",
720
+ AccentYellow: "#745323",
721
+ AccentRed: "#8f4343",
150
722
  AccentYellowDim: "#8B7000",
151
723
  AccentRedDim: "#993333",
152
724
  DiffAdded: "#C6EAD8",
153
725
  DiffRemoved: "#FFCCCC",
154
- Comment: "#ABADB1",
155
- Gray: "#a6aaaf",
726
+ Comment: "#58595c",
727
+ Gray: "#575a5c",
156
728
  GradientColors: ["#399ee6", "#86b300"]
157
729
  };
158
730
  var AyuLight = new Theme(
@@ -275,17 +847,17 @@ var atomOneDarkColors = {
275
847
  Foreground: "#abb2bf",
276
848
  LightBlue: "#61aeee",
277
849
  AccentBlue: "#61aeee",
278
- AccentPurple: "#c678dd",
850
+ AccentPurple: "#c980df",
279
851
  AccentCyan: "#56b6c2",
280
852
  AccentGreen: "#98c379",
281
853
  AccentYellow: "#e6c07b",
282
- AccentRed: "#e06c75",
283
- AccentYellowDim: "#8B7530",
284
- AccentRedDim: "#8B3A4A",
285
- DiffAdded: "#39544E",
286
- DiffRemoved: "#562B2F",
287
- Comment: "#5c6370",
288
- Gray: "#5c6370",
854
+ AccentRed: "#e47e86",
855
+ AccentYellowDim: "#ab9c6a",
856
+ AccentRedDim: "#be919a",
857
+ DiffAdded: "#20372f",
858
+ DiffRemoved: "#3c2025",
859
+ Comment: "#989da5",
860
+ Gray: "#989da5",
289
861
  GradientColors: ["#61aeee", "#98c379"]
290
862
  };
291
863
  var AtomOneDark = new Theme(
@@ -420,13 +992,13 @@ var draculaColors = {
420
992
  AccentCyan: "#8be9fd",
421
993
  AccentGreen: "#50fa7b",
422
994
  AccentYellow: "#fff783",
423
- AccentRed: "#ff5555",
424
- AccentYellowDim: "#8B7530",
425
- AccentRedDim: "#8B3A4A",
426
- DiffAdded: "#11431d",
427
- DiffRemoved: "#6e1818",
428
- Comment: "#6272a4",
429
- Gray: "#6272a4",
995
+ AccentRed: "#ff6161",
996
+ AccentYellowDim: "#a69560",
997
+ AccentRedDim: "#bb8b94",
998
+ DiffAdded: "#203222",
999
+ DiffRemoved: "#421b1b",
1000
+ Comment: "#8b97bc",
1001
+ Gray: "#8b97bc",
430
1002
  GradientColors: ["#ff79c6", "#8be9fd"]
431
1003
  };
432
1004
  var Dracula = new Theme(
@@ -539,12 +1111,12 @@ var githubDarkColors = {
539
1111
  AccentGreen: "#85E89D",
540
1112
  AccentYellow: "#FFAB70",
541
1113
  AccentRed: "#F97583",
542
- AccentYellowDim: "#8B7530",
543
- AccentRedDim: "#8B3A4A",
544
- DiffAdded: "#3C4636",
545
- DiffRemoved: "#502125",
546
- Comment: "#6A737D",
547
- Gray: "#6A737D",
1114
+ AccentYellowDim: "#a99966",
1115
+ AccentRedDim: "#bd8f98",
1116
+ DiffAdded: "#293426",
1117
+ DiffRemoved: "#3b2023",
1118
+ Comment: "#959ca3",
1119
+ Gray: "#959ca3",
548
1120
  GradientColors: ["#79B8FF", "#85E89D"]
549
1121
  };
550
1122
  var GitHubDark = new Theme(
@@ -673,19 +1245,19 @@ var githubLightColors = {
673
1245
  type: "light",
674
1246
  Background: "#f8f8f8",
675
1247
  Foreground: "#24292E",
676
- LightBlue: "#0086b3",
1248
+ LightBlue: "#006385",
677
1249
  AccentBlue: "#458",
678
1250
  AccentPurple: "#900",
679
- AccentCyan: "#009926",
680
- AccentGreen: "#008080",
1251
+ AccentCyan: "#00691a",
1252
+ AccentGreen: "#006565",
681
1253
  AccentYellow: "#990073",
682
- AccentRed: "#d14",
683
- AccentYellowDim: "#8B7000",
1254
+ AccentRed: "#b30d37",
1255
+ AccentYellowDim: "#705605",
684
1256
  AccentRedDim: "#993333",
685
1257
  DiffAdded: "#C6EAD8",
686
1258
  DiffRemoved: "#FFCCCC",
687
- Comment: "#998",
688
- Gray: "#999",
1259
+ Comment: "#5b5b51",
1260
+ Gray: "#5a5a5a",
689
1261
  GradientColors: ["#458", "#008080"]
690
1262
  };
691
1263
  var GitHubLight = new Theme(
@@ -820,7 +1392,7 @@ var googleCodeColors = {
820
1392
  AccentBlue: "#008",
821
1393
  AccentPurple: "#606",
822
1394
  AccentCyan: "#066",
823
- AccentGreen: "#080",
1395
+ AccentGreen: "#006a00",
824
1396
  AccentYellow: "#660",
825
1397
  AccentRed: "#800",
826
1398
  AccentYellowDim: "#8B7000",
@@ -1204,11 +1776,11 @@ var shadesOfPurpleColors = {
1204
1776
  // Main background
1205
1777
  Foreground: "#e3dfff",
1206
1778
  // Default text color (hljs, hljs-subst)
1207
- LightBlue: "#847ace",
1779
+ LightBlue: "#9991d6",
1208
1780
  // Light blue/purple accent
1209
1781
  AccentBlue: "#a599e9",
1210
1782
  // Borders, secondary blue
1211
- AccentPurple: "#ac65ff",
1783
+ AccentPurple: "#b87cff",
1212
1784
  // Comments (main purple)
1213
1785
  AccentCyan: "#a1feff",
1214
1786
  // Names
@@ -1218,13 +1790,12 @@ var shadesOfPurpleColors = {
1218
1790
  // Title, main yellow
1219
1791
  AccentRed: "#ff628c",
1220
1792
  // Error/deletion accent
1221
- AccentYellowDim: "#8B7530",
1222
- AccentRedDim: "#8B3A4A",
1223
- DiffAdded: "#383E45",
1224
- DiffRemoved: "#572244",
1225
- Comment: "#B362FF",
1226
- // Comment color (same as AccentPurple)
1227
- Gray: "#726c86",
1793
+ AccentYellowDim: "#a89864",
1794
+ AccentRedDim: "#bc8d96",
1795
+ DiffAdded: "#2d303a",
1796
+ DiffRemoved: "#3b2037",
1797
+ Comment: "#be7aff",
1798
+ Gray: "#9b97a9",
1228
1799
  // Gray color
1229
1800
  GradientColors: ["#4d21fc", "#847ace", "#ff628c"]
1230
1801
  };
@@ -1233,11 +1804,11 @@ var additionalColors = {
1233
1804
  // Attr yellow (slightly different)
1234
1805
  AccentOrange: "#fb9e00",
1235
1806
  // Keywords, built_in, meta
1236
- AccentPink: "#fa658d",
1807
+ AccentPink: "#fa678e",
1237
1808
  // Numbers, literals
1238
1809
  AccentLightPurple: "#c991ff",
1239
1810
  // For params and properties
1240
- AccentDarkPurple: "#6943ff",
1811
+ AccentDarkPurple: "#9f87ff",
1241
1812
  // For operators
1242
1813
  AccentTeal: "#2ee2fa"
1243
1814
  // For special constructs
@@ -1525,16 +2096,16 @@ var xcodeColors = {
1525
2096
  LightBlue: "#0E0EFF",
1526
2097
  AccentBlue: "#1c00cf",
1527
2098
  AccentPurple: "#aa0d91",
1528
- AccentCyan: "#3F6E74",
2099
+ AccentCyan: "#386167",
1529
2100
  AccentGreen: "#007400",
1530
- AccentYellow: "#836C28",
2101
+ AccentYellow: "#6b5820",
1531
2102
  AccentRed: "#c41a16",
1532
2103
  AccentYellowDim: "#8B7000",
1533
2104
  AccentRedDim: "#993333",
1534
2105
  DiffAdded: "#C6EAD8",
1535
2106
  DiffRemoved: "#FEDEDE",
1536
2107
  Comment: "#007400",
1537
- Gray: "#c0c0c0",
2108
+ Gray: "#5a5a5a",
1538
2109
  GradientColors: ["#1c00cf", "#007400"]
1539
2110
  };
1540
2111
  var XCode = new Theme(
@@ -1664,6 +2235,332 @@ var XCode = new Theme(
1664
2235
  xcodeColors
1665
2236
  );
1666
2237
 
2238
+ // packages/cli/src/ui/themes/o1-code-light.ts
2239
+ init_esbuild_shims();
2240
+ var o1codeLightColors = {
2241
+ type: "light",
2242
+ Background: "#f7f9fc",
2243
+ Foreground: "#162033",
2244
+ LightBlue: "#2f5fdb",
2245
+ AccentBlue: "#2b5bd7",
2246
+ AccentPurple: "#6547c9",
2247
+ AccentCyan: "#0a6d78",
2248
+ AccentGreen: "#157a44",
2249
+ AccentYellow: "#9a5200",
2250
+ AccentRed: "#c02d2d",
2251
+ AccentYellowDim: "#86683a",
2252
+ AccentRedDim: "#a04848",
2253
+ DiffAdded: "#dcf2e4",
2254
+ DiffRemoved: "#f9dddd",
2255
+ Comment: "#56637b",
2256
+ Gray: "#46546d",
2257
+ GradientColors: ["#2b5bd7", "#2f5fdb"]
2258
+ };
2259
+ var O1CodeLight = new Theme(
2260
+ "O1-Code Light",
2261
+ "light",
2262
+ {
2263
+ hljs: {
2264
+ display: "block",
2265
+ overflowX: "auto",
2266
+ padding: "0.5em",
2267
+ background: o1codeLightColors.Background,
2268
+ color: o1codeLightColors.Foreground
2269
+ },
2270
+ "hljs-comment": {
2271
+ color: o1codeLightColors.Comment,
2272
+ fontStyle: "italic"
2273
+ },
2274
+ "hljs-quote": {
2275
+ color: o1codeLightColors.AccentCyan,
2276
+ fontStyle: "italic"
2277
+ },
2278
+ "hljs-string": {
2279
+ color: o1codeLightColors.AccentGreen
2280
+ },
2281
+ "hljs-constant": {
2282
+ color: o1codeLightColors.AccentCyan
2283
+ },
2284
+ "hljs-number": {
2285
+ color: o1codeLightColors.AccentPurple
2286
+ },
2287
+ "hljs-keyword": {
2288
+ color: o1codeLightColors.AccentYellow
2289
+ },
2290
+ "hljs-selector-tag": {
2291
+ color: o1codeLightColors.AccentYellow
2292
+ },
2293
+ "hljs-attribute": {
2294
+ color: o1codeLightColors.AccentYellow
2295
+ },
2296
+ "hljs-variable": {
2297
+ color: o1codeLightColors.Foreground
2298
+ },
2299
+ "hljs-variable.language": {
2300
+ color: o1codeLightColors.LightBlue,
2301
+ fontStyle: "italic"
2302
+ },
2303
+ "hljs-title": {
2304
+ color: o1codeLightColors.AccentBlue
2305
+ },
2306
+ "hljs-section": {
2307
+ color: o1codeLightColors.AccentGreen,
2308
+ fontWeight: "bold"
2309
+ },
2310
+ "hljs-type": {
2311
+ color: o1codeLightColors.LightBlue
2312
+ },
2313
+ "hljs-class .hljs-title": {
2314
+ color: o1codeLightColors.AccentBlue
2315
+ },
2316
+ "hljs-tag": {
2317
+ color: o1codeLightColors.LightBlue
2318
+ },
2319
+ "hljs-name": {
2320
+ color: o1codeLightColors.AccentBlue
2321
+ },
2322
+ "hljs-builtin-name": {
2323
+ color: o1codeLightColors.AccentYellow
2324
+ },
2325
+ "hljs-meta": {
2326
+ color: o1codeLightColors.AccentYellow
2327
+ },
2328
+ "hljs-symbol": {
2329
+ color: o1codeLightColors.AccentRed
2330
+ },
2331
+ "hljs-bullet": {
2332
+ color: o1codeLightColors.AccentYellow
2333
+ },
2334
+ "hljs-regexp": {
2335
+ color: o1codeLightColors.AccentCyan
2336
+ },
2337
+ "hljs-link": {
2338
+ color: o1codeLightColors.LightBlue
2339
+ },
2340
+ "hljs-deletion": {
2341
+ color: o1codeLightColors.AccentRed
2342
+ },
2343
+ "hljs-addition": {
2344
+ color: o1codeLightColors.AccentGreen
2345
+ },
2346
+ "hljs-emphasis": {
2347
+ fontStyle: "italic"
2348
+ },
2349
+ "hljs-strong": {
2350
+ fontWeight: "bold"
2351
+ },
2352
+ "hljs-literal": {
2353
+ color: o1codeLightColors.AccentCyan
2354
+ },
2355
+ "hljs-built_in": {
2356
+ color: o1codeLightColors.AccentRed
2357
+ },
2358
+ "hljs-doctag": {
2359
+ color: o1codeLightColors.AccentRed
2360
+ },
2361
+ "hljs-template-variable": {
2362
+ color: o1codeLightColors.AccentCyan
2363
+ },
2364
+ "hljs-selector-id": {
2365
+ color: o1codeLightColors.AccentRed
2366
+ }
2367
+ },
2368
+ o1codeLightColors,
2369
+ {
2370
+ text: {
2371
+ primary: "#162033",
2372
+ secondary: "#46546d",
2373
+ link: "#2b5bd7",
2374
+ accent: "#6547c9",
2375
+ code: "#0a6d78"
2376
+ },
2377
+ background: {
2378
+ primary: "#f7f9fc",
2379
+ diff: { added: "#dcf2e4", removed: "#f9dddd" }
2380
+ },
2381
+ border: { default: "#a3b4d2", focused: "#2b5bd7" },
2382
+ ui: {
2383
+ comment: "#56637b",
2384
+ symbol: "#46546d",
2385
+ gradient: o1codeLightColors.GradientColors
2386
+ },
2387
+ status: {
2388
+ error: "#c02d2d",
2389
+ success: "#157a44",
2390
+ warning: "#9a5200",
2391
+ errorDim: "#a04848",
2392
+ warningDim: "#86683a"
2393
+ }
2394
+ },
2395
+ {
2396
+ text: { muted: "#56637b", placeholder: "#65728a" },
2397
+ ui: {
2398
+ separator: "#9fadca",
2399
+ rule: "#a3b4d2",
2400
+ brand: "#2b5bd7",
2401
+ brandSoft: "#2f5fdb"
2402
+ },
2403
+ activity: {
2404
+ info: "#2b5bd7",
2405
+ read: "#0a6d78",
2406
+ write: "#6547c9",
2407
+ execute: "#9a5200",
2408
+ success: "#157a44"
2409
+ }
2410
+ }
2411
+ );
2412
+
2413
+ // packages/cli/src/ui/themes/o1-code-dark.ts
2414
+ init_esbuild_shims();
2415
+ var o1codeDarkColors = {
2416
+ type: "dark",
2417
+ Background: "#0a1220",
2418
+ Foreground: "#e6ecf5",
2419
+ LightBlue: "#8fb2ff",
2420
+ AccentBlue: "#6e9bff",
2421
+ AccentPurple: "#a48bff",
2422
+ AccentCyan: "#3fc7d6",
2423
+ AccentGreen: "#3fd07f",
2424
+ AccentYellow: "#ffa347",
2425
+ AccentRed: "#ff6b6b",
2426
+ AccentYellowDim: "#8a5a2b",
2427
+ AccentRedDim: "#8a3d45",
2428
+ DiffAdded: "#123624",
2429
+ DiffRemoved: "#3b1a20",
2430
+ Comment: "#8593aa",
2431
+ Gray: "#95a5be",
2432
+ GradientColors: ["#6e9bff", "#8fb2ff"]
2433
+ };
2434
+ var O1CodeDark = new Theme(
2435
+ "O1-Code Dark",
2436
+ "dark",
2437
+ {
2438
+ hljs: {
2439
+ display: "block",
2440
+ overflowX: "auto",
2441
+ padding: "0.5em",
2442
+ background: o1codeDarkColors.Background,
2443
+ color: o1codeDarkColors.Foreground
2444
+ },
2445
+ "hljs-keyword": {
2446
+ color: o1codeDarkColors.AccentYellow
2447
+ },
2448
+ "hljs-literal": {
2449
+ color: o1codeDarkColors.AccentPurple
2450
+ },
2451
+ "hljs-symbol": {
2452
+ color: o1codeDarkColors.AccentCyan
2453
+ },
2454
+ "hljs-name": {
2455
+ color: o1codeDarkColors.LightBlue
2456
+ },
2457
+ "hljs-link": {
2458
+ color: o1codeDarkColors.AccentBlue
2459
+ },
2460
+ "hljs-function .hljs-keyword": {
2461
+ color: o1codeDarkColors.AccentYellow
2462
+ },
2463
+ "hljs-subst": {
2464
+ color: o1codeDarkColors.Foreground
2465
+ },
2466
+ "hljs-string": {
2467
+ color: o1codeDarkColors.AccentGreen
2468
+ },
2469
+ "hljs-title": {
2470
+ color: o1codeDarkColors.AccentYellow
2471
+ },
2472
+ "hljs-type": {
2473
+ color: o1codeDarkColors.AccentBlue
2474
+ },
2475
+ "hljs-attribute": {
2476
+ color: o1codeDarkColors.AccentYellow
2477
+ },
2478
+ "hljs-bullet": {
2479
+ color: o1codeDarkColors.AccentYellow
2480
+ },
2481
+ "hljs-addition": {
2482
+ color: o1codeDarkColors.AccentGreen
2483
+ },
2484
+ "hljs-variable": {
2485
+ color: o1codeDarkColors.Foreground
2486
+ },
2487
+ "hljs-template-tag": {
2488
+ color: o1codeDarkColors.AccentYellow
2489
+ },
2490
+ "hljs-template-variable": {
2491
+ color: o1codeDarkColors.AccentYellow
2492
+ },
2493
+ "hljs-comment": {
2494
+ color: o1codeDarkColors.Comment,
2495
+ fontStyle: "italic"
2496
+ },
2497
+ "hljs-quote": {
2498
+ color: o1codeDarkColors.AccentCyan,
2499
+ fontStyle: "italic"
2500
+ },
2501
+ "hljs-deletion": {
2502
+ color: o1codeDarkColors.AccentRed
2503
+ },
2504
+ "hljs-meta": {
2505
+ color: o1codeDarkColors.AccentYellow
2506
+ },
2507
+ "hljs-doctag": {
2508
+ fontWeight: "bold"
2509
+ },
2510
+ "hljs-strong": {
2511
+ fontWeight: "bold"
2512
+ },
2513
+ "hljs-emphasis": {
2514
+ fontStyle: "italic"
2515
+ }
2516
+ },
2517
+ o1codeDarkColors,
2518
+ {
2519
+ text: {
2520
+ // The terminal's own foreground: stays readable if background detection
2521
+ // fails and this default theme lands on a light terminal.
2522
+ primary: "",
2523
+ secondary: "#95a5be",
2524
+ link: "#6e9bff",
2525
+ accent: "#a48bff",
2526
+ code: "#3fc7d6"
2527
+ },
2528
+ background: {
2529
+ primary: "#0a1220",
2530
+ diff: { added: "#123624", removed: "#3b1a20" }
2531
+ },
2532
+ border: { default: "#46598a", focused: "#6e9bff" },
2533
+ ui: {
2534
+ comment: "#8593aa",
2535
+ symbol: "#95a5be",
2536
+ gradient: o1codeDarkColors.GradientColors
2537
+ },
2538
+ status: {
2539
+ error: "#ff6b6b",
2540
+ success: "#3fd07f",
2541
+ warning: "#ffa347",
2542
+ errorDim: "#8a3d45",
2543
+ warningDim: "#8a5a2b"
2544
+ }
2545
+ },
2546
+ {
2547
+ text: { muted: "#8593aa", placeholder: "#7a879e" },
2548
+ ui: {
2549
+ separator: "#52679c",
2550
+ rule: "#46598a",
2551
+ brand: "#6e9bff",
2552
+ brandSoft: "#8fb2ff"
2553
+ },
2554
+ activity: {
2555
+ info: "#6e9bff",
2556
+ read: "#3fc7d6",
2557
+ write: "#a48bff",
2558
+ execute: "#ffa347",
2559
+ success: "#3fd07f"
2560
+ }
2561
+ }
2562
+ );
2563
+
1667
2564
  // packages/cli/src/ui/themes/theme-manager.ts
1668
2565
  import * as fs from "node:fs";
1669
2566
  import * as path from "node:path";
@@ -1787,8 +2684,8 @@ var ansiColors = {
1787
2684
  AccentRedDim: "red",
1788
2685
  DiffAdded: "#003300",
1789
2686
  DiffRemoved: "#4D0000",
1790
- Comment: "gray",
1791
- Gray: "gray",
2687
+ Comment: "white",
2688
+ Gray: "white",
1792
2689
  GradientColors: ["cyan", "green"]
1793
2690
  };
1794
2691
  var ANSI = new Theme(
@@ -2237,7 +3134,7 @@ import process2 from "node:process";
2237
3134
  init_esbuild_shims();
2238
3135
  import { execSync } from "node:child_process";
2239
3136
  import process from "node:process";
2240
- var debugLogger = createDebugLogger("THEME_DETECT");
3137
+ var debugLogger2 = createDebugLogger("THEME_DETECT");
2241
3138
  var OSC11_TIMEOUT_MS = 200;
2242
3139
  function hexComponent(hex) {
2243
3140
  const max = 16 ** hex.length - 1;
@@ -2346,49 +3243,49 @@ __name(detectFromColorFgBg, "detectFromColorFgBg");
2346
3243
  function detectTerminalTheme() {
2347
3244
  const colorFgBgResult = detectFromColorFgBg();
2348
3245
  if (colorFgBgResult) {
2349
- debugLogger.info(`Detected theme from COLORFGBG: ${colorFgBgResult}`);
3246
+ debugLogger2.info(`Detected theme from COLORFGBG: ${colorFgBgResult}`);
2350
3247
  return colorFgBgResult;
2351
3248
  }
2352
3249
  const macResult = detectMacOSTheme();
2353
3250
  if (macResult) {
2354
- debugLogger.info(
3251
+ debugLogger2.info(
2355
3252
  `Detected theme from macOS system appearance: ${macResult}`
2356
3253
  );
2357
3254
  return macResult;
2358
3255
  }
2359
- debugLogger.info("Could not detect terminal theme, defaulting to dark");
3256
+ debugLogger2.info("Could not detect terminal theme, defaulting to dark");
2360
3257
  return "dark";
2361
3258
  }
2362
3259
  __name(detectTerminalTheme, "detectTerminalTheme");
2363
3260
  async function detectTerminalThemeAsync() {
2364
3261
  const colorFgBgResult = detectFromColorFgBg();
2365
3262
  if (colorFgBgResult) {
2366
- debugLogger.info(
3263
+ debugLogger2.info(
2367
3264
  `Detected theme from COLORFGBG (async path): ${colorFgBgResult}`
2368
3265
  );
2369
3266
  return colorFgBgResult;
2370
3267
  }
2371
3268
  const osc11Result = await detectOsc11Theme();
2372
3269
  if (osc11Result) {
2373
- debugLogger.info(
3270
+ debugLogger2.info(
2374
3271
  `Detected theme from OSC 11 background query: ${osc11Result}`
2375
3272
  );
2376
3273
  return osc11Result;
2377
3274
  }
2378
3275
  const macResult = detectMacOSTheme();
2379
3276
  if (macResult) {
2380
- debugLogger.info(
3277
+ debugLogger2.info(
2381
3278
  `Detected theme from macOS system appearance: ${macResult}`
2382
3279
  );
2383
3280
  return macResult;
2384
3281
  }
2385
- debugLogger.info("Could not detect terminal theme, defaulting to dark");
3282
+ debugLogger2.info("Could not detect terminal theme, defaulting to dark");
2386
3283
  return "dark";
2387
3284
  }
2388
3285
  __name(detectTerminalThemeAsync, "detectTerminalThemeAsync");
2389
3286
 
2390
3287
  // packages/cli/src/ui/themes/theme-manager.ts
2391
- var debugLogger2 = createDebugLogger("THEME_MANAGER");
3288
+ var debugLogger3 = createDebugLogger("THEME_MANAGER");
2392
3289
  var DEFAULT_THEME = O1CodeDark;
2393
3290
  var AUTO_THEME_NAME = "auto";
2394
3291
  function isPathWithinDirectory(parent, child) {
@@ -2438,7 +3335,7 @@ var ThemeManager = class {
2438
3335
  const validation = validateCustomTheme(customThemeConfig);
2439
3336
  if (validation.isValid) {
2440
3337
  if (validation.warning) {
2441
- debugLogger2.warn(`Theme "${name}": ${validation.warning}`);
3338
+ debugLogger3.warn(`Theme "${name}": ${validation.warning}`);
2442
3339
  }
2443
3340
  const themeWithDefaults = {
2444
3341
  ...DEFAULT_THEME.colors,
@@ -2450,10 +3347,10 @@ var ThemeManager = class {
2450
3347
  const theme = createCustomTheme(themeWithDefaults);
2451
3348
  this.customThemes.set(name, theme);
2452
3349
  } catch (error) {
2453
- debugLogger2.warn(`Failed to load custom theme "${name}":`, error);
3350
+ debugLogger3.warn(`Failed to load custom theme "${name}":`, error);
2454
3351
  }
2455
3352
  } else {
2456
- debugLogger2.warn(`Invalid custom theme "${name}": ${validation.error}`);
3353
+ debugLogger3.warn(`Invalid custom theme "${name}": ${validation.error}`);
2457
3354
  }
2458
3355
  }
2459
3356
  if (this.activeTheme && this.activeTheme.type === "custom" && this.customThemes.has(this.activeTheme.name)) {
@@ -2470,7 +3367,7 @@ var ThemeManager = class {
2470
3367
  setActiveTheme(themeName) {
2471
3368
  if (themeName === AUTO_THEME_NAME) {
2472
3369
  this.activeTheme = this.resolveAutoTheme();
2473
- debugLogger2.info(`Auto-detected theme: ${this.activeTheme.name}`);
3370
+ debugLogger3.info(`Auto-detected theme: ${this.activeTheme.name}`);
2474
3371
  return true;
2475
3372
  }
2476
3373
  const theme = this.findThemeByName(themeName);
@@ -2515,7 +3412,7 @@ var ThemeManager = class {
2515
3412
  const detected = await detectTerminalThemeAsync();
2516
3413
  this.cachedAutoDetection = detected;
2517
3414
  this.activeTheme = detected === "light" ? O1CodeLight : O1CodeDark;
2518
- debugLogger2.info(`Auto-detected theme (async): ${this.activeTheme.name}`);
3415
+ debugLogger3.info(`Auto-detected theme (async): ${this.activeTheme.name}`);
2519
3416
  }
2520
3417
  /**
2521
3418
  * Returns the terminal's detected background brightness ('dark' | 'light').
@@ -2643,7 +3540,7 @@ var ThemeManager = class {
2643
3540
  }
2644
3541
  const homeDir = path.resolve(os.homedir());
2645
3542
  if (!isPathWithinDirectory(homeDir, canonicalPath)) {
2646
- debugLogger2.warn(
3543
+ debugLogger3.warn(
2647
3544
  `Theme file at "${themePath}" is outside your home directory. Only load themes from trusted sources.`
2648
3545
  );
2649
3546
  return void 0;
@@ -2652,13 +3549,13 @@ var ThemeManager = class {
2652
3549
  const customThemeConfig = JSON.parse(themeContent);
2653
3550
  const validation = validateCustomTheme(customThemeConfig);
2654
3551
  if (!validation.isValid) {
2655
- debugLogger2.warn(
3552
+ debugLogger3.warn(
2656
3553
  `Invalid custom theme from file "${themePath}": ${validation.error}`
2657
3554
  );
2658
3555
  return void 0;
2659
3556
  }
2660
3557
  if (validation.warning) {
2661
- debugLogger2.warn(`Theme from "${themePath}": ${validation.warning}`);
3558
+ debugLogger3.warn(`Theme from "${themePath}": ${validation.warning}`);
2662
3559
  }
2663
3560
  const themeWithDefaults = {
2664
3561
  ...DEFAULT_THEME.colors,
@@ -2671,7 +3568,7 @@ var ThemeManager = class {
2671
3568
  return theme;
2672
3569
  } catch (error) {
2673
3570
  if (!(error instanceof Error && "code" in error && error.code === "ENOENT")) {
2674
- debugLogger2.warn(
3571
+ debugLogger3.warn(
2675
3572
  `Could not load theme from file "${themePath}":`,
2676
3573
  error
2677
3574
  );
@@ -2701,6 +3598,9 @@ var ThemeManager = class {
2701
3598
  var themeManager = new ThemeManager();
2702
3599
 
2703
3600
  export {
3601
+ resolveColor,
3602
+ O1CodeDark,
3603
+ O1CodeLight,
2704
3604
  DEFAULT_THEME,
2705
3605
  AUTO_THEME_NAME,
2706
3606
  themeManager
@@ -2710,3 +3610,14 @@ export {
2710
3610
  * Copyright 2025 Google LLC
2711
3611
  * SPDX-License-Identifier: Apache-2.0
2712
3612
  */
3613
+ /**
3614
+ * @license
3615
+ * Copyright 2026 o1-code contributors
3616
+ * SPDX-License-Identifier: Apache-2.0
3617
+ */
3618
+ /**
3619
+ * @license
3620
+ * Copyright 2025 Google LLC
3621
+ * Modified by the o1-code project; see NOTICE.
3622
+ * SPDX-License-Identifier: Apache-2.0
3623
+ */