@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,945 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- createDebugLogger
5
- } from "./chunk-UK2KIU2V.js";
6
- import {
7
- init_esbuild_shims
8
- } from "./chunk-S2467S6L.js";
9
- import {
10
- __name
11
- } from "./chunk-J2S4EL5Y.js";
12
-
13
- // packages/cli/src/ui/themes/theme.ts
14
- init_esbuild_shims();
15
-
16
- // packages/cli/src/ui/themes/color-utils.ts
17
- init_esbuild_shims();
18
- var CSS_NAME_TO_HEX_MAP = {
19
- aliceblue: "#f0f8ff",
20
- antiquewhite: "#faebd7",
21
- aqua: "#00ffff",
22
- aquamarine: "#7fffd4",
23
- azure: "#f0ffff",
24
- beige: "#f5f5dc",
25
- bisque: "#ffe4c4",
26
- blanchedalmond: "#ffebcd",
27
- blueviolet: "#8a2be2",
28
- brown: "#a52a2a",
29
- burlywood: "#deb887",
30
- cadetblue: "#5f9ea0",
31
- chartreuse: "#7fff00",
32
- chocolate: "#d2691e",
33
- coral: "#ff7f50",
34
- cornflowerblue: "#6495ed",
35
- cornsilk: "#fff8dc",
36
- crimson: "#dc143c",
37
- darkblue: "#00008b",
38
- darkcyan: "#008b8b",
39
- darkgoldenrod: "#b8860b",
40
- darkgray: "#a9a9a9",
41
- darkgrey: "#a9a9a9",
42
- darkgreen: "#006400",
43
- darkkhaki: "#bdb76b",
44
- darkmagenta: "#8b008b",
45
- darkolivegreen: "#556b2f",
46
- darkorange: "#ff8c00",
47
- darkorchid: "#9932cc",
48
- darkred: "#8b0000",
49
- darksalmon: "#e9967a",
50
- darkseagreen: "#8fbc8f",
51
- darkslateblue: "#483d8b",
52
- darkslategray: "#2f4f4f",
53
- darkslategrey: "#2f4f4f",
54
- darkturquoise: "#00ced1",
55
- darkviolet: "#9400d3",
56
- deeppink: "#ff1493",
57
- deepskyblue: "#00bfff",
58
- dimgray: "#696969",
59
- dimgrey: "#696969",
60
- dodgerblue: "#1e90ff",
61
- firebrick: "#b22222",
62
- floralwhite: "#fffaf0",
63
- forestgreen: "#228b22",
64
- fuchsia: "#ff00ff",
65
- gainsboro: "#dcdcdc",
66
- ghostwhite: "#f8f8ff",
67
- gold: "#ffd700",
68
- goldenrod: "#daa520",
69
- greenyellow: "#adff2f",
70
- honeydew: "#f0fff0",
71
- hotpink: "#ff69b4",
72
- indianred: "#cd5c5c",
73
- indigo: "#4b0082",
74
- ivory: "#fffff0",
75
- khaki: "#f0e68c",
76
- lavender: "#e6e6fa",
77
- lavenderblush: "#fff0f5",
78
- lawngreen: "#7cfc00",
79
- lemonchiffon: "#fffacd",
80
- lightblue: "#add8e6",
81
- lightcoral: "#f08080",
82
- lightcyan: "#e0ffff",
83
- lightgoldenrodyellow: "#fafad2",
84
- lightgray: "#d3d3d3",
85
- lightgrey: "#d3d3d3",
86
- lightgreen: "#90ee90",
87
- lightpink: "#ffb6c1",
88
- lightsalmon: "#ffa07a",
89
- lightseagreen: "#20b2aa",
90
- lightskyblue: "#87cefa",
91
- lightslategray: "#778899",
92
- lightslategrey: "#778899",
93
- lightsteelblue: "#b0c4de",
94
- lightyellow: "#ffffe0",
95
- lime: "#00ff00",
96
- limegreen: "#32cd32",
97
- linen: "#faf0e6",
98
- maroon: "#800000",
99
- mediumaquamarine: "#66cdaa",
100
- mediumblue: "#0000cd",
101
- mediumorchid: "#ba55d3",
102
- mediumpurple: "#9370db",
103
- mediumseagreen: "#3cb371",
104
- mediumslateblue: "#7b68ee",
105
- mediumspringgreen: "#00fa9a",
106
- mediumturquoise: "#48d1cc",
107
- mediumvioletred: "#c71585",
108
- midnightblue: "#191970",
109
- mintcream: "#f5fffa",
110
- mistyrose: "#ffe4e1",
111
- moccasin: "#ffe4b5",
112
- navajowhite: "#ffdead",
113
- navy: "#000080",
114
- oldlace: "#fdf5e6",
115
- olive: "#808000",
116
- olivedrab: "#6b8e23",
117
- orange: "#ffa500",
118
- orangered: "#ff4500",
119
- orchid: "#da70d6",
120
- palegoldenrod: "#eee8aa",
121
- palegreen: "#98fb98",
122
- paleturquoise: "#afeeee",
123
- palevioletred: "#db7093",
124
- papayawhip: "#ffefd5",
125
- peachpuff: "#ffdab9",
126
- peru: "#cd853f",
127
- pink: "#ffc0cb",
128
- plum: "#dda0dd",
129
- powderblue: "#b0e0e6",
130
- purple: "#800080",
131
- rebeccapurple: "#663399",
132
- rosybrown: "#bc8f8f",
133
- royalblue: "#4169e1",
134
- saddlebrown: "#8b4513",
135
- salmon: "#fa8072",
136
- sandybrown: "#f4a460",
137
- seagreen: "#2e8b57",
138
- seashell: "#fff5ee",
139
- sienna: "#a0522d",
140
- silver: "#c0c0c0",
141
- skyblue: "#87ceeb",
142
- slateblue: "#6a5acd",
143
- slategray: "#708090",
144
- slategrey: "#708090",
145
- snow: "#fffafa",
146
- springgreen: "#00ff7f",
147
- steelblue: "#4682b4",
148
- tan: "#d2b48c",
149
- teal: "#008080",
150
- thistle: "#d8bfd8",
151
- tomato: "#ff6347",
152
- turquoise: "#40e0d0",
153
- violet: "#ee82ee",
154
- wheat: "#f5deb3",
155
- whitesmoke: "#f5f5f5",
156
- yellowgreen: "#9acd32"
157
- };
158
- var debugLogger = createDebugLogger("COLOR_UTILS");
159
- var INK_SUPPORTED_NAMES = /* @__PURE__ */ new Set([
160
- "black",
161
- "red",
162
- "green",
163
- "yellow",
164
- "blue",
165
- "cyan",
166
- "magenta",
167
- "white",
168
- "gray",
169
- "grey",
170
- "blackbright",
171
- "redbright",
172
- "greenbright",
173
- "yellowbright",
174
- "bluebright",
175
- "cyanbright",
176
- "magentabright",
177
- "whitebright"
178
- ]);
179
- function resolveColor(colorValue) {
180
- const lowerColor = colorValue.toLowerCase();
181
- if (lowerColor.startsWith("#")) {
182
- if (/^#[0-9A-Fa-f]{3}([0-9A-Fa-f]{3})?$/.test(colorValue)) {
183
- return lowerColor;
184
- } else {
185
- return void 0;
186
- }
187
- } else if (INK_SUPPORTED_NAMES.has(lowerColor)) {
188
- return lowerColor;
189
- } else if (CSS_NAME_TO_HEX_MAP[lowerColor]) {
190
- return CSS_NAME_TO_HEX_MAP[lowerColor];
191
- }
192
- debugLogger.warn(
193
- `[ColorUtils] Could not resolve color "${colorValue}" to an Ink-compatible format.`
194
- );
195
- return void 0;
196
- }
197
- __name(resolveColor, "resolveColor");
198
-
199
- // packages/cli/src/ui/themes/extended-tokens.ts
200
- init_esbuild_shims();
201
- function deriveExtendedColors(colors) {
202
- return {
203
- text: { muted: colors.Comment, placeholder: colors.Comment },
204
- ui: {
205
- separator: colors.Gray,
206
- rule: colors.Gray,
207
- brand: colors.AccentBlue,
208
- brandSoft: colors.LightBlue
209
- },
210
- activity: {
211
- info: colors.AccentBlue,
212
- read: colors.AccentCyan,
213
- write: colors.AccentPurple,
214
- execute: colors.AccentYellow,
215
- success: colors.AccentGreen
216
- }
217
- };
218
- }
219
- __name(deriveExtendedColors, "deriveExtendedColors");
220
-
221
- // packages/cli/src/ui/themes/theme.ts
222
- var lightTheme = {
223
- type: "light",
224
- Background: "#FAFAFA",
225
- Foreground: "",
226
- LightBlue: "#89BDCD",
227
- AccentBlue: "#3B82F6",
228
- AccentPurple: "#8B5CF6",
229
- AccentCyan: "#06B6D4",
230
- AccentGreen: "#3CA84B",
231
- AccentYellow: "#D5A40A",
232
- AccentRed: "#DD4C4C",
233
- AccentYellowDim: "#8B7000",
234
- AccentRedDim: "#993333",
235
- DiffAdded: "#C6EAD8",
236
- DiffRemoved: "#FFCCCC",
237
- Comment: "#008000",
238
- Gray: "#97a0b0",
239
- GradientColors: ["#4796E4", "#847ACE", "#C3677F"]
240
- };
241
- var darkTheme = {
242
- type: "dark",
243
- Background: "#1E1E2E",
244
- Foreground: "",
245
- LightBlue: "#ADD8E6",
246
- AccentBlue: "#89B4FA",
247
- AccentPurple: "#CBA6F7",
248
- AccentCyan: "#89DCEB",
249
- AccentGreen: "#A6E3A1",
250
- AccentYellow: "#F9E2AF",
251
- AccentRed: "#F38BA8",
252
- AccentYellowDim: "#8B7530",
253
- AccentRedDim: "#8B3A4A",
254
- DiffAdded: "#28350B",
255
- DiffRemoved: "#430000",
256
- Comment: "#6C7086",
257
- Gray: "#6C7086",
258
- GradientColors: ["#4796E4", "#847ACE", "#C3677F"]
259
- };
260
- var ansiTheme = {
261
- type: "ansi",
262
- Background: "black",
263
- Foreground: "white",
264
- LightBlue: "blue",
265
- AccentBlue: "blue",
266
- AccentPurple: "magenta",
267
- AccentCyan: "cyan",
268
- AccentGreen: "green",
269
- AccentYellow: "yellow",
270
- AccentRed: "red",
271
- AccentYellowDim: "yellow",
272
- AccentRedDim: "red",
273
- DiffAdded: "green",
274
- DiffRemoved: "red",
275
- Comment: "gray",
276
- Gray: "gray"
277
- };
278
- var Theme = class _Theme {
279
- /**
280
- * Creates a new Theme instance.
281
- * @param name The name of the theme.
282
- * @param rawMappings The raw CSSProperties mappings from a react-syntax-highlighter theme object.
283
- */
284
- constructor(name, type, rawMappings, colors, semanticColors, extendedColors) {
285
- this.name = name;
286
- this.type = type;
287
- this.colors = colors;
288
- this.semanticColors = semanticColors ?? {
289
- text: {
290
- primary: this.colors.Foreground,
291
- secondary: this.colors.Gray,
292
- link: this.colors.AccentBlue,
293
- accent: this.colors.AccentPurple,
294
- code: this.colors.LightBlue
295
- },
296
- background: {
297
- primary: this.colors.Background,
298
- diff: {
299
- added: this.colors.DiffAdded,
300
- removed: this.colors.DiffRemoved
301
- }
302
- },
303
- border: {
304
- default: this.colors.Gray,
305
- focused: this.colors.AccentBlue
306
- },
307
- ui: {
308
- comment: this.colors.Gray,
309
- symbol: this.colors.AccentCyan,
310
- gradient: this.colors.GradientColors
311
- },
312
- status: {
313
- error: this.colors.AccentRed,
314
- success: this.colors.AccentGreen,
315
- warning: this.colors.AccentYellow,
316
- errorDim: this.colors.AccentRedDim,
317
- warningDim: this.colors.AccentYellowDim
318
- }
319
- };
320
- this.extendedColors = extendedColors ?? deriveExtendedColors(this.colors);
321
- this._colorMap = Object.freeze(this._buildColorMap(rawMappings));
322
- const rawDefaultColor = rawMappings["hljs"]?.color;
323
- this.defaultColor = (rawDefaultColor ? _Theme._resolveColor(rawDefaultColor) : void 0) ?? "";
324
- }
325
- static {
326
- __name(this, "Theme");
327
- }
328
- /**
329
- * The default foreground color for text when no specific highlight rule applies.
330
- * This is an Ink-compatible color string (hex or name).
331
- */
332
- defaultColor;
333
- /**
334
- * Stores the mapping from highlight.js class names (e.g., 'hljs-keyword')
335
- * to Ink-compatible color strings (hex or name).
336
- */
337
- _colorMap;
338
- semanticColors;
339
- extendedColors;
340
- /**
341
- * Gets the Ink-compatible color string for a given highlight.js class name.
342
- * @param hljsClass The highlight.js class name (e.g., 'hljs-keyword', 'hljs-string').
343
- * @returns The corresponding Ink color string (hex or name) if it exists.
344
- */
345
- getInkColor(hljsClass) {
346
- return this._colorMap[hljsClass];
347
- }
348
- /**
349
- * Resolves a CSS color value (name or hex) into an Ink-compatible color string.
350
- * @param colorValue The raw color string (e.g., 'blue', '#ff0000', 'darkkhaki').
351
- * @returns An Ink-compatible color string (hex or name), or undefined if not resolvable.
352
- */
353
- static _resolveColor(colorValue) {
354
- return resolveColor(colorValue);
355
- }
356
- /**
357
- * Builds the internal map from highlight.js class names to Ink-compatible color strings.
358
- * This method is protected and primarily intended for use by the constructor.
359
- * @param hljsTheme The raw CSSProperties mappings from a react-syntax-highlighter theme object.
360
- * @returns An Ink-compatible theme map (Record<string, string>).
361
- */
362
- _buildColorMap(hljsTheme) {
363
- const inkTheme = {};
364
- for (const key in hljsTheme) {
365
- if (!key.startsWith("hljs-") && key !== "hljs") {
366
- continue;
367
- }
368
- const style = hljsTheme[key];
369
- if (style?.color) {
370
- const resolvedColor = _Theme._resolveColor(style.color);
371
- if (resolvedColor !== void 0) {
372
- inkTheme[key] = resolvedColor;
373
- }
374
- }
375
- }
376
- return inkTheme;
377
- }
378
- };
379
- function createCustomTheme(customTheme) {
380
- const colors = {
381
- type: "custom",
382
- Background: customTheme.background?.primary ?? customTheme.Background ?? "",
383
- Foreground: customTheme.text?.primary ?? customTheme.Foreground ?? "",
384
- LightBlue: customTheme.text?.code ?? customTheme.LightBlue ?? "",
385
- AccentBlue: customTheme.text?.link ?? customTheme.AccentBlue ?? "",
386
- AccentPurple: customTheme.text?.accent ?? customTheme.AccentPurple ?? "",
387
- AccentCyan: customTheme.text?.link ?? customTheme.AccentCyan ?? "",
388
- AccentGreen: customTheme.status?.success ?? customTheme.AccentGreen ?? "",
389
- AccentYellow: customTheme.status?.warning ?? customTheme.AccentYellow ?? "",
390
- AccentRed: customTheme.status?.error ?? customTheme.AccentRed ?? "",
391
- AccentYellowDim: customTheme.status?.warningDim ?? customTheme.AccentYellowDim ?? "",
392
- AccentRedDim: customTheme.status?.errorDim ?? customTheme.AccentRedDim ?? "",
393
- DiffAdded: customTheme.background?.diff?.added ?? customTheme.DiffAdded ?? "",
394
- DiffRemoved: customTheme.background?.diff?.removed ?? customTheme.DiffRemoved ?? "",
395
- Comment: customTheme.ui?.comment ?? customTheme.Comment ?? "",
396
- Gray: customTheme.text?.secondary ?? customTheme.Gray ?? "",
397
- GradientColors: customTheme.ui?.gradient ?? customTheme.GradientColors
398
- };
399
- const rawMappings = {
400
- hljs: {
401
- display: "block",
402
- overflowX: "auto",
403
- padding: "0.5em",
404
- background: colors.Background,
405
- color: colors.Foreground
406
- },
407
- "hljs-keyword": {
408
- color: colors.AccentBlue
409
- },
410
- "hljs-literal": {
411
- color: colors.AccentBlue
412
- },
413
- "hljs-symbol": {
414
- color: colors.AccentBlue
415
- },
416
- "hljs-name": {
417
- color: colors.AccentBlue
418
- },
419
- "hljs-link": {
420
- color: colors.AccentBlue,
421
- textDecoration: "underline"
422
- },
423
- "hljs-built_in": {
424
- color: colors.AccentCyan
425
- },
426
- "hljs-type": {
427
- color: colors.AccentCyan
428
- },
429
- "hljs-number": {
430
- color: colors.AccentGreen
431
- },
432
- "hljs-class": {
433
- color: colors.AccentGreen
434
- },
435
- "hljs-string": {
436
- color: colors.AccentYellow
437
- },
438
- "hljs-meta-string": {
439
- color: colors.AccentYellow
440
- },
441
- "hljs-regexp": {
442
- color: colors.AccentRed
443
- },
444
- "hljs-template-tag": {
445
- color: colors.AccentRed
446
- },
447
- "hljs-subst": {
448
- color: colors.Foreground
449
- },
450
- "hljs-function": {
451
- color: colors.Foreground
452
- },
453
- "hljs-title": {
454
- color: colors.Foreground
455
- },
456
- "hljs-params": {
457
- color: colors.Foreground
458
- },
459
- "hljs-formula": {
460
- color: colors.Foreground
461
- },
462
- "hljs-comment": {
463
- color: colors.Comment,
464
- fontStyle: "italic"
465
- },
466
- "hljs-quote": {
467
- color: colors.Comment,
468
- fontStyle: "italic"
469
- },
470
- "hljs-doctag": {
471
- color: colors.Comment
472
- },
473
- "hljs-meta": {
474
- color: colors.Gray
475
- },
476
- "hljs-meta-keyword": {
477
- color: colors.Gray
478
- },
479
- "hljs-tag": {
480
- color: colors.Gray
481
- },
482
- "hljs-variable": {
483
- color: colors.AccentPurple
484
- },
485
- "hljs-template-variable": {
486
- color: colors.AccentPurple
487
- },
488
- "hljs-attr": {
489
- color: colors.LightBlue
490
- },
491
- "hljs-attribute": {
492
- color: colors.LightBlue
493
- },
494
- "hljs-builtin-name": {
495
- color: colors.LightBlue
496
- },
497
- "hljs-section": {
498
- color: colors.AccentYellow
499
- },
500
- "hljs-emphasis": {
501
- fontStyle: "italic"
502
- },
503
- "hljs-strong": {
504
- fontWeight: "bold"
505
- },
506
- "hljs-bullet": {
507
- color: colors.AccentYellow
508
- },
509
- "hljs-selector-tag": {
510
- color: colors.AccentYellow
511
- },
512
- "hljs-selector-id": {
513
- color: colors.AccentYellow
514
- },
515
- "hljs-selector-class": {
516
- color: colors.AccentYellow
517
- },
518
- "hljs-selector-attr": {
519
- color: colors.AccentYellow
520
- },
521
- "hljs-selector-pseudo": {
522
- color: colors.AccentYellow
523
- },
524
- "hljs-addition": {
525
- backgroundColor: colors.AccentGreen,
526
- display: "inline-block",
527
- width: "100%"
528
- },
529
- "hljs-deletion": {
530
- backgroundColor: colors.AccentRed,
531
- display: "inline-block",
532
- width: "100%"
533
- }
534
- };
535
- const semanticColors = {
536
- text: {
537
- primary: customTheme.text?.primary ?? colors.Foreground,
538
- secondary: customTheme.text?.secondary ?? colors.Gray,
539
- link: customTheme.text?.link ?? colors.AccentBlue,
540
- accent: customTheme.text?.accent ?? colors.AccentPurple,
541
- code: customTheme.text?.code ?? colors.LightBlue
542
- },
543
- background: {
544
- primary: customTheme.background?.primary ?? colors.Background,
545
- diff: {
546
- added: customTheme.background?.diff?.added ?? colors.DiffAdded,
547
- removed: customTheme.background?.diff?.removed ?? colors.DiffRemoved
548
- }
549
- },
550
- border: {
551
- default: customTheme.border?.default ?? colors.Gray,
552
- focused: customTheme.border?.focused ?? colors.AccentBlue
553
- },
554
- ui: {
555
- comment: customTheme.ui?.comment ?? colors.Comment,
556
- symbol: customTheme.ui?.symbol ?? colors.Gray,
557
- gradient: customTheme.ui?.gradient ?? colors.GradientColors
558
- },
559
- status: {
560
- error: customTheme.status?.error ?? colors.AccentRed,
561
- success: customTheme.status?.success ?? colors.AccentGreen,
562
- warning: customTheme.status?.warning ?? colors.AccentYellow,
563
- errorDim: customTheme.status?.errorDim ?? colors.AccentRedDim,
564
- warningDim: customTheme.status?.warningDim ?? colors.AccentYellowDim
565
- }
566
- };
567
- return new Theme(
568
- customTheme.name,
569
- "custom",
570
- rawMappings,
571
- colors,
572
- semanticColors
573
- );
574
- }
575
- __name(createCustomTheme, "createCustomTheme");
576
- function validateCustomTheme(customTheme) {
577
- if (customTheme.name && !isValidThemeName(customTheme.name)) {
578
- return {
579
- isValid: false,
580
- error: `Invalid theme name: ${customTheme.name}`
581
- };
582
- }
583
- return {
584
- isValid: true
585
- };
586
- }
587
- __name(validateCustomTheme, "validateCustomTheme");
588
- function isValidThemeName(name) {
589
- return name.trim().length > 0 && name.trim().length <= 50;
590
- }
591
- __name(isValidThemeName, "isValidThemeName");
592
-
593
- // packages/cli/src/ui/themes/o1-code-dark.ts
594
- init_esbuild_shims();
595
- var o1codeDarkColors = {
596
- type: "dark",
597
- Background: "#0a1220",
598
- Foreground: "#e6ecf5",
599
- LightBlue: "#8fb2ff",
600
- AccentBlue: "#6e9bff",
601
- AccentPurple: "#a48bff",
602
- AccentCyan: "#3fc7d6",
603
- AccentGreen: "#3fd07f",
604
- AccentYellow: "#ffa347",
605
- AccentRed: "#ff6b6b",
606
- AccentYellowDim: "#8a5a2b",
607
- AccentRedDim: "#8a3d45",
608
- DiffAdded: "#123624",
609
- DiffRemoved: "#3b1a20",
610
- Comment: "#8593aa",
611
- Gray: "#95a5be",
612
- GradientColors: ["#6e9bff", "#8fb2ff"]
613
- };
614
- var O1CodeDark = new Theme(
615
- "O1-Code Dark",
616
- "dark",
617
- {
618
- hljs: {
619
- display: "block",
620
- overflowX: "auto",
621
- padding: "0.5em",
622
- background: o1codeDarkColors.Background,
623
- color: o1codeDarkColors.Foreground
624
- },
625
- "hljs-keyword": {
626
- color: o1codeDarkColors.AccentYellow
627
- },
628
- "hljs-literal": {
629
- color: o1codeDarkColors.AccentPurple
630
- },
631
- "hljs-symbol": {
632
- color: o1codeDarkColors.AccentCyan
633
- },
634
- "hljs-name": {
635
- color: o1codeDarkColors.LightBlue
636
- },
637
- "hljs-link": {
638
- color: o1codeDarkColors.AccentBlue
639
- },
640
- "hljs-function .hljs-keyword": {
641
- color: o1codeDarkColors.AccentYellow
642
- },
643
- "hljs-subst": {
644
- color: o1codeDarkColors.Foreground
645
- },
646
- "hljs-string": {
647
- color: o1codeDarkColors.AccentGreen
648
- },
649
- "hljs-title": {
650
- color: o1codeDarkColors.AccentYellow
651
- },
652
- "hljs-type": {
653
- color: o1codeDarkColors.AccentBlue
654
- },
655
- "hljs-attribute": {
656
- color: o1codeDarkColors.AccentYellow
657
- },
658
- "hljs-bullet": {
659
- color: o1codeDarkColors.AccentYellow
660
- },
661
- "hljs-addition": {
662
- color: o1codeDarkColors.AccentGreen
663
- },
664
- "hljs-variable": {
665
- color: o1codeDarkColors.Foreground
666
- },
667
- "hljs-template-tag": {
668
- color: o1codeDarkColors.AccentYellow
669
- },
670
- "hljs-template-variable": {
671
- color: o1codeDarkColors.AccentYellow
672
- },
673
- "hljs-comment": {
674
- color: o1codeDarkColors.Comment,
675
- fontStyle: "italic"
676
- },
677
- "hljs-quote": {
678
- color: o1codeDarkColors.AccentCyan,
679
- fontStyle: "italic"
680
- },
681
- "hljs-deletion": {
682
- color: o1codeDarkColors.AccentRed
683
- },
684
- "hljs-meta": {
685
- color: o1codeDarkColors.AccentYellow
686
- },
687
- "hljs-doctag": {
688
- fontWeight: "bold"
689
- },
690
- "hljs-strong": {
691
- fontWeight: "bold"
692
- },
693
- "hljs-emphasis": {
694
- fontStyle: "italic"
695
- }
696
- },
697
- o1codeDarkColors,
698
- {
699
- text: {
700
- // The terminal's own foreground: stays readable if background detection
701
- // fails and this default theme lands on a light terminal.
702
- primary: "",
703
- secondary: "#95a5be",
704
- link: "#6e9bff",
705
- accent: "#a48bff",
706
- code: "#3fc7d6"
707
- },
708
- background: {
709
- primary: "#0a1220",
710
- diff: { added: "#123624", removed: "#3b1a20" }
711
- },
712
- border: { default: "#46598a", focused: "#6e9bff" },
713
- ui: {
714
- comment: "#8593aa",
715
- symbol: "#95a5be",
716
- gradient: o1codeDarkColors.GradientColors
717
- },
718
- status: {
719
- error: "#ff6b6b",
720
- success: "#3fd07f",
721
- warning: "#ffa347",
722
- errorDim: "#8a3d45",
723
- warningDim: "#8a5a2b"
724
- }
725
- },
726
- {
727
- text: { muted: "#8593aa", placeholder: "#7a879e" },
728
- ui: {
729
- separator: "#52679c",
730
- rule: "#46598a",
731
- brand: "#6e9bff",
732
- brandSoft: "#8fb2ff"
733
- },
734
- activity: {
735
- info: "#6e9bff",
736
- read: "#3fc7d6",
737
- write: "#a48bff",
738
- execute: "#ffa347",
739
- success: "#3fd07f"
740
- }
741
- }
742
- );
743
-
744
- // packages/cli/src/ui/themes/o1-code-light.ts
745
- init_esbuild_shims();
746
- var o1codeLightColors = {
747
- type: "light",
748
- Background: "#f7f9fc",
749
- Foreground: "#162033",
750
- LightBlue: "#2f5fdb",
751
- AccentBlue: "#2b5bd7",
752
- AccentPurple: "#6547c9",
753
- AccentCyan: "#0a6d78",
754
- AccentGreen: "#157a44",
755
- AccentYellow: "#9a5200",
756
- AccentRed: "#c02d2d",
757
- AccentYellowDim: "#86683a",
758
- AccentRedDim: "#a04848",
759
- DiffAdded: "#dcf2e4",
760
- DiffRemoved: "#f9dddd",
761
- Comment: "#56637b",
762
- Gray: "#46546d",
763
- GradientColors: ["#2b5bd7", "#2f5fdb"]
764
- };
765
- var O1CodeLight = new Theme(
766
- "O1-Code Light",
767
- "light",
768
- {
769
- hljs: {
770
- display: "block",
771
- overflowX: "auto",
772
- padding: "0.5em",
773
- background: o1codeLightColors.Background,
774
- color: o1codeLightColors.Foreground
775
- },
776
- "hljs-comment": {
777
- color: o1codeLightColors.Comment,
778
- fontStyle: "italic"
779
- },
780
- "hljs-quote": {
781
- color: o1codeLightColors.AccentCyan,
782
- fontStyle: "italic"
783
- },
784
- "hljs-string": {
785
- color: o1codeLightColors.AccentGreen
786
- },
787
- "hljs-constant": {
788
- color: o1codeLightColors.AccentCyan
789
- },
790
- "hljs-number": {
791
- color: o1codeLightColors.AccentPurple
792
- },
793
- "hljs-keyword": {
794
- color: o1codeLightColors.AccentYellow
795
- },
796
- "hljs-selector-tag": {
797
- color: o1codeLightColors.AccentYellow
798
- },
799
- "hljs-attribute": {
800
- color: o1codeLightColors.AccentYellow
801
- },
802
- "hljs-variable": {
803
- color: o1codeLightColors.Foreground
804
- },
805
- "hljs-variable.language": {
806
- color: o1codeLightColors.LightBlue,
807
- fontStyle: "italic"
808
- },
809
- "hljs-title": {
810
- color: o1codeLightColors.AccentBlue
811
- },
812
- "hljs-section": {
813
- color: o1codeLightColors.AccentGreen,
814
- fontWeight: "bold"
815
- },
816
- "hljs-type": {
817
- color: o1codeLightColors.LightBlue
818
- },
819
- "hljs-class .hljs-title": {
820
- color: o1codeLightColors.AccentBlue
821
- },
822
- "hljs-tag": {
823
- color: o1codeLightColors.LightBlue
824
- },
825
- "hljs-name": {
826
- color: o1codeLightColors.AccentBlue
827
- },
828
- "hljs-builtin-name": {
829
- color: o1codeLightColors.AccentYellow
830
- },
831
- "hljs-meta": {
832
- color: o1codeLightColors.AccentYellow
833
- },
834
- "hljs-symbol": {
835
- color: o1codeLightColors.AccentRed
836
- },
837
- "hljs-bullet": {
838
- color: o1codeLightColors.AccentYellow
839
- },
840
- "hljs-regexp": {
841
- color: o1codeLightColors.AccentCyan
842
- },
843
- "hljs-link": {
844
- color: o1codeLightColors.LightBlue
845
- },
846
- "hljs-deletion": {
847
- color: o1codeLightColors.AccentRed
848
- },
849
- "hljs-addition": {
850
- color: o1codeLightColors.AccentGreen
851
- },
852
- "hljs-emphasis": {
853
- fontStyle: "italic"
854
- },
855
- "hljs-strong": {
856
- fontWeight: "bold"
857
- },
858
- "hljs-literal": {
859
- color: o1codeLightColors.AccentCyan
860
- },
861
- "hljs-built_in": {
862
- color: o1codeLightColors.AccentRed
863
- },
864
- "hljs-doctag": {
865
- color: o1codeLightColors.AccentRed
866
- },
867
- "hljs-template-variable": {
868
- color: o1codeLightColors.AccentCyan
869
- },
870
- "hljs-selector-id": {
871
- color: o1codeLightColors.AccentRed
872
- }
873
- },
874
- o1codeLightColors,
875
- {
876
- text: {
877
- primary: "#162033",
878
- secondary: "#46546d",
879
- link: "#2b5bd7",
880
- accent: "#6547c9",
881
- code: "#0a6d78"
882
- },
883
- background: {
884
- primary: "#f7f9fc",
885
- diff: { added: "#dcf2e4", removed: "#f9dddd" }
886
- },
887
- border: { default: "#a3b4d2", focused: "#2b5bd7" },
888
- ui: {
889
- comment: "#56637b",
890
- symbol: "#46546d",
891
- gradient: o1codeLightColors.GradientColors
892
- },
893
- status: {
894
- error: "#c02d2d",
895
- success: "#157a44",
896
- warning: "#9a5200",
897
- errorDim: "#a04848",
898
- warningDim: "#86683a"
899
- }
900
- },
901
- {
902
- text: { muted: "#56637b", placeholder: "#65728a" },
903
- ui: {
904
- separator: "#9fadca",
905
- rule: "#a3b4d2",
906
- brand: "#2b5bd7",
907
- brandSoft: "#2f5fdb"
908
- },
909
- activity: {
910
- info: "#2b5bd7",
911
- read: "#0a6d78",
912
- write: "#6547c9",
913
- execute: "#9a5200",
914
- success: "#157a44"
915
- }
916
- }
917
- );
918
-
919
- export {
920
- resolveColor,
921
- lightTheme,
922
- darkTheme,
923
- ansiTheme,
924
- Theme,
925
- createCustomTheme,
926
- validateCustomTheme,
927
- O1CodeDark,
928
- O1CodeLight
929
- };
930
- /**
931
- * @license
932
- * Copyright 2025 Google LLC
933
- * SPDX-License-Identifier: Apache-2.0
934
- */
935
- /**
936
- * @license
937
- * Copyright 2026 o1-code contributors
938
- * SPDX-License-Identifier: Apache-2.0
939
- */
940
- /**
941
- * @license
942
- * Copyright 2025 Google LLC
943
- * Modified by the o1-code project; see NOTICE.
944
- * SPDX-License-Identifier: Apache-2.0
945
- */