@organizaone/o1-code 0.21.7 → 0.21.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{MaxSizedBox-KSMVEOUG.js → MaxSizedBox-FJ6C2KZK.js} +26 -27
- package/chunks/{StandaloneSessionPicker-WBGTMJDM.js → StandaloneSessionPicker-CWXWHXGS.js} +41 -42
- package/chunks/{acp-subagent-executor-7NJVMZZY.js → acp-subagent-executor-FNXCNLE4.js} +24 -24
- package/chunks/{acpAgent-B2GHZBGB.js → acpAgent-SV63EP4F.js} +109 -110
- package/chunks/{agent-TH4FMIEQ.js → agent-7YR4AKUE.js} +13 -13
- package/chunks/{agent-headless-S7SDHOOR.js → agent-headless-PA5EHZLH.js} +13 -13
- package/chunks/{all-providers-VN6R4EOW.js → all-providers-IRY4MO56.js} +3 -3
- package/chunks/{anthropicContentGenerator-SJCJCLLS.js → anthropicContentGenerator-BK3JPNMQ.js} +7 -7
- package/chunks/{bridge-XC5DHEQ2.js → bridge-X4L7QZHF.js} +25 -25
- package/chunks/{build-MAJLYX7D.js → build-U7CYF476.js} +3 -1
- package/chunks/{chunk-AWMOHE2Z.js → chunk-2AS35LME.js} +4 -4
- package/chunks/{chunk-R6QCRZTF.js → chunk-2J5KVLHY.js} +22 -2
- package/chunks/{chunk-2GBUKUFR.js → chunk-2VBHBRZZ.js} +5 -5
- package/chunks/{chunk-JQAQ6BCR.js → chunk-37HZ4W24.js} +1 -1
- package/chunks/{chunk-JJRS5WW2.js → chunk-3DOSV7VB.js} +2 -2
- package/chunks/{chunk-R7SPXY4A.js → chunk-3MYKJC6P.js} +1 -1
- package/chunks/{chunk-IE4RH3YW.js → chunk-4ABCTDVK.js} +1 -1
- package/chunks/{chunk-N2D4M5H7.js → chunk-5GSWMIDF.js} +2 -2
- package/chunks/{chunk-W2B55HZP.js → chunk-5RHVEZCT.js} +2 -2
- package/chunks/{chunk-V5NPRDZP.js → chunk-5YWGYTY5.js} +4 -4
- package/chunks/{chunk-7UVSBCBO.js → chunk-6G2QCKHE.js} +40 -42
- package/chunks/{chunk-54JQMCRJ.js → chunk-77C6SJX6.js} +1 -1
- package/chunks/{chunk-KQH2ZTLC.js → chunk-7EZKXBZF.js} +24897 -31464
- package/chunks/{chunk-P7RO4QSF.js → chunk-7HN3RHKV.js} +998 -87
- package/chunks/{chunk-LJG2GEUH.js → chunk-A4PPT6FK.js} +2 -2
- package/chunks/{chunk-R66FHOGT.js → chunk-A5M4PU7C.js} +1 -1
- package/chunks/{chunk-3VJZ4EGX.js → chunk-A6QLPS5V.js} +3 -3
- package/chunks/{chunk-NUSDLSOD.js → chunk-AAJUSHR6.js} +1 -1
- package/chunks/{chunk-HIMOZPLA.js → chunk-AAW2TG66.js} +1 -0
- package/chunks/{chunk-H73LIQA3.js → chunk-AIPLJV3Z.js} +8 -8
- package/chunks/{chunk-7DQWDZUQ.js → chunk-AZMVJ5C3.js} +1 -1
- package/chunks/{chunk-YYMSSOUH.js → chunk-AZW3MOGG.js} +1 -1
- package/chunks/{chunk-JNTC73DK.js → chunk-BDB73PON.js} +344 -251
- package/chunks/{chunk-6CE7A7XV.js → chunk-CHKOOGOG.js} +8 -8
- package/chunks/{chunk-XYA43OKS.js → chunk-CRZLYMW5.js} +1 -1
- package/chunks/{chunk-SCDW5FBL.js → chunk-CZFWZRC5.js} +1 -1
- package/chunks/{chunk-DOARTD2M.js → chunk-D45V5VQP.js} +1 -1
- package/chunks/{chunk-TJYFNI7A.js → chunk-DPMMO2N7.js} +1 -1
- package/chunks/{chunk-TJQTTY4F.js → chunk-DQORDG4A.js} +2 -2
- package/chunks/{chunk-NU7LOATP.js → chunk-DTJG43NT.js} +4 -4
- package/chunks/{chunk-R5HO4EJV.js → chunk-E2NTOSGU.js} +1 -1
- package/chunks/{chunk-NBMN763T.js → chunk-EI3BQUUV.js} +3 -3
- package/chunks/{chunk-RVRJZT5M.js → chunk-EVIGOLAL.js} +1 -1
- package/chunks/{chunk-SJXR2EXI.js → chunk-F6E5OEF4.js} +1 -1
- package/chunks/{chunk-XRY6XLJD.js → chunk-FGRVF6H3.js} +1350 -168
- package/chunks/{chunk-6NBAY4AG.js → chunk-FLQMNGAF.js} +3 -3
- package/chunks/{chunk-AM6SU4HK.js → chunk-G3IKG3HV.js} +2 -2
- package/chunks/{chunk-7TFQ4MBE.js → chunk-GC2ERDQL.js} +3 -3
- package/chunks/{chunk-TC2TJAOF.js → chunk-GM2WNDZ5.js} +1 -1
- package/chunks/{chunk-JM6J5ASY.js → chunk-GVCGYCCE.js} +2 -2
- package/chunks/{chunk-RUHXHJDO.js → chunk-HEELTUTL.js} +1 -1
- package/chunks/{chunk-PMYQMKUC.js → chunk-IHOWB2BG.js} +6 -6
- package/chunks/{chunk-V3XZTGJW.js → chunk-ILSK2K5P.js} +1 -1
- package/chunks/{chunk-QYSP7E7N.js → chunk-JB5RH2RR.js} +2 -2
- package/chunks/{chunk-EOZZ7CZT.js → chunk-JD2XBV4H.js} +7 -7
- package/chunks/{chunk-N3P6HTB2.js → chunk-JS723QZ3.js} +4 -4
- package/chunks/{chunk-IZWMLSJK.js → chunk-KAKF4XJG.js} +4 -4
- package/chunks/{chunk-XMWIH4MM.js → chunk-KBL56IWK.js} +1 -1
- package/chunks/{chunk-ECDA4WRP.js → chunk-KEKBYXC3.js} +4 -4
- package/chunks/{chunk-JY2XL5ZF.js → chunk-LPQZYMAP.js} +2 -2
- package/chunks/{chunk-PC65ZVRU.js → chunk-M7UZ3MU6.js} +2 -2
- package/chunks/{chunk-7SWY3CW2.js → chunk-MSWEGIQG.js} +1 -1
- package/chunks/{chunk-5NQPR6ZR.js → chunk-NCGQPRHQ.js} +12 -12
- package/chunks/{chunk-VZTF4OOG.js → chunk-NHTNE6KQ.js} +1 -1
- package/chunks/{chunk-EWPNBHJ5.js → chunk-NLU5GWN2.js} +2 -2
- package/chunks/{chunk-HVQQIKDI.js → chunk-NUF3FLRS.js} +1 -1
- package/chunks/{chunk-KXLKGWX4.js → chunk-NXEXWZLN.js} +6 -6
- package/chunks/{chunk-K2SSUCN3.js → chunk-OCLOTHK2.js} +1 -1
- package/chunks/{chunk-6VF7EU56.js → chunk-P4JFO6QK.js} +5 -2
- package/chunks/{chunk-D6FL5RTE.js → chunk-P6NZWNQV.js} +4 -4
- package/chunks/{chunk-PRNMGVOU.js → chunk-PAUZVMDC.js} +2 -2
- package/chunks/{chunk-HCKSE3DQ.js → chunk-PC7DSMKL.js} +1 -1
- package/chunks/{chunk-35MAUYQX.js → chunk-PKKMIKJY.js} +4 -4
- package/chunks/{chunk-FYIXVVSS.js → chunk-PN3OU2HT.js} +7 -7
- package/chunks/{chunk-IEKYDNVM.js → chunk-PTOAGZBC.js} +3 -3
- package/chunks/{chunk-UFBWN6GO.js → chunk-Q76KPZ6F.js} +7 -7
- package/chunks/{chunk-I376VKOZ.js → chunk-QAJJA76Y.js} +2 -2
- package/chunks/{chunk-MRTHM5GF.js → chunk-R5AMOGLJ.js} +13 -4
- package/chunks/{chunk-T5C5LMFJ.js → chunk-RGQ47LIC.js} +11 -11
- package/chunks/{chunk-3HKTHY6V.js → chunk-RWOFJXCI.js} +37 -37
- package/chunks/{chunk-CCKT3LRB.js → chunk-S4PWRZB6.js} +2 -2
- package/chunks/{chunk-KMWAEX43.js → chunk-S6F7ZE4T.js} +5898 -931
- package/chunks/{chunk-HDGYCLNB.js → chunk-S6HB6BVJ.js} +1 -1
- package/chunks/{chunk-ESBIRQCE.js → chunk-S7L7UWX7.js} +1 -1
- package/chunks/{chunk-JOBZWTVK.js → chunk-SLH747HE.js} +2 -2
- package/chunks/{chunk-OJF7X35J.js → chunk-SLXNWEFC.js} +5 -5
- package/chunks/{chunk-HH62GKKA.js → chunk-SMJRDORP.js} +1 -1
- package/chunks/{chunk-E4ETMOCY.js → chunk-T224WOVX.js} +2 -2
- package/chunks/{chunk-CBZAVLXA.js → chunk-UKFESCEI.js} +2 -2
- package/chunks/{chunk-UPG4HSDF.js → chunk-UMI446BY.js} +1 -1
- package/chunks/{chunk-R2LEWAYI.js → chunk-UTWS2ZCR.js} +1 -1
- package/chunks/{chunk-RY6YWQNA.js → chunk-UU3BV6SB.js} +1 -1
- package/chunks/{chunk-EYUVZKAI.js → chunk-VFN6U5I2.js} +2 -2
- package/chunks/{chunk-M75MHHKK.js → chunk-VHHVDB5F.js} +1 -1
- package/chunks/{chunk-6BN2BUXV.js → chunk-VY2R32ZP.js} +5 -5
- package/chunks/{chunk-EZKRQYVY.js → chunk-WMH3SYFF.js} +3 -3
- package/chunks/{chunk-E7EWK6XV.js → chunk-WOEB2UQY.js} +3 -3
- package/chunks/{chunk-GD7S43QP.js → chunk-XDUTL6ZZ.js} +4 -4
- package/chunks/{chunk-FQVQT4TX.js → chunk-XT3S375S.js} +5 -5
- package/chunks/{chunk-JEA3U65O.js → chunk-XV4KEHP2.js} +2 -2
- package/chunks/{chunk-W7NMNNKN.js → chunk-YA7ULYER.js} +12 -12
- package/chunks/{chunk-5CQHXP4X.js → chunk-YKVRRLWF.js} +3 -3
- package/chunks/{chunk-JYDVXBGK.js → chunk-Z7UCHNEI.js} +3 -3
- package/chunks/{chunk-37YWUOWY.js → chunk-ZCX6KV2Q.js} +552 -553
- package/chunks/{codex-subagent-executor-WMH54RGD.js → codex-subagent-executor-BAF5CFEM.js} +24 -24
- package/chunks/{contextCommand-VC2Q2P3K.js → contextCommand-IVSOHLW5.js} +23 -23
- package/chunks/{core-runtime-BO4A6L7N.js → core-runtime-5UV3KSLE.js} +22 -22
- package/chunks/{create-sub-session-B3RRZWZX.js → create-sub-session-OAMGFOTT.js} +23 -23
- package/chunks/{daemon-git-worktree-guard-FG4LCHET.js → daemon-git-worktree-guard-5CT5ACGZ.js} +22 -22
- package/chunks/{daemon-status-provider-JMSXKGL2.js → daemon-status-provider-4O5GUQXO.js} +30 -30
- package/chunks/{daemon-trust-policy-B3G5SW6N.js → daemon-trust-policy-ZTONW2EF.js} +27 -27
- package/chunks/{daemon-trust-policy-monitor-2CA65WGV.js → daemon-trust-policy-monitor-AH3MSX6S.js} +27 -27
- package/chunks/{deferred-core-runtime-3RDIX523.js → deferred-core-runtime-EZELEJEB.js} +22 -22
- package/chunks/{edit-L5GTDREM.js → edit-5E7R4FGC.js} +15 -15
- package/chunks/{enterPlanMode-U3GDJRHW.js → enterPlanMode-2ZA3VKE5.js} +13 -13
- package/chunks/{environment-I7WX5X5M.js → environment-PZC2VS6I.js} +24 -24
- package/chunks/{errors-VRJJMYRX.js → errors-PCDU7EH5.js} +24 -24
- package/chunks/{execution-tool-ZP54ULEB.js → execution-tool-VOKPN4R3.js} +15 -15
- package/chunks/{execution-worker-KVOEQMMI.js → execution-worker-IBFJY6CH.js} +18 -18
- package/chunks/{exitPlanMode-E2WUKN3H.js → exitPlanMode-3KEJ5X4V.js} +13 -13
- package/chunks/{fast-path-XC37ILCB.js → fast-path-SWIIYG2P.js} +2 -2
- package/chunks/{foreground-runner-DP6XQSZM.js → foreground-runner-SQ4PZZRO.js} +77 -40
- package/chunks/{glob-C7LO5FXS.js → glob-OESTKXLC.js} +13 -13
- package/chunks/{goal-tools-3AWUWDA2.js → goal-tools-BOLGH57J.js} +13 -13
- package/chunks/{handleAutoUpdate-DQ4TG2MS.js → handleAutoUpdate-Q4PZA3AF.js} +25 -25
- package/chunks/{i18n-5CVW67JG.js → i18n-NREBC77M.js} +22 -22
- package/chunks/{image-gen-27Q5XGGZ.js → image-gen-KX5VPAGI.js} +3 -3
- package/chunks/{initializer-H76QQXH4.js → initializer-AZDTSPLB.js} +28 -29
- package/chunks/{installationInfo-FHGRGQBH.js → installationInfo-MIBZV3CK.js} +22 -22
- package/chunks/{list-YUF62GHJ.js → list-G3F6YMX3.js} +29 -29
- package/chunks/{llm-ADULBBKO.js → llm-2ZTGYBSH.js} +58 -58
- package/chunks/{llm-content-generator-6U5TYIES.js → llm-content-generator-J7URYLZ7.js} +5 -5
- package/chunks/{loadedSettingsAdapter-EYPSWKNO.js → loadedSettingsAdapter-T5K3RK6B.js} +27 -27
- package/chunks/{local-execution-environment-OJVVXTIM.js → local-execution-environment-VZZ6GAFG.js} +18 -18
- package/chunks/{loggingContentGenerator-FBAGMYJO.js → loggingContentGenerator-3TU53NDQ.js} +15 -15
- package/chunks/{managed-npm-update-ODTVQ62K.js → managed-npm-update-SZ7V4ZXK.js} +22 -22
- package/chunks/{mcp-B5XE2ZPU.js → mcp-JOYX3TT5.js} +27 -27
- package/chunks/{model-call-collection-MVGLDLNL.js → model-call-collection-YABIWR5B.js} +1 -1
- package/chunks/{model-configuration-5FSAEZFG.js → model-configuration-CJKGPW2E.js} +28 -28
- package/chunks/{modelConfigUtils-WXI3RUVN.js → modelConfigUtils-EZMPC47D.js} +24 -24
- package/chunks/{monitor-YSKEJ67F.js → monitor-SG5LYTI4.js} +13 -13
- package/chunks/{nonInteractiveCli-Y4VQGPU3.js → nonInteractiveCli-KKENBKF7.js} +58 -59
- package/chunks/{nonInteractiveToolExecutor-S6DZNQYH.js → nonInteractiveToolExecutor-4CS4TEMJ.js} +14 -14
- package/chunks/{notebook-edit-B7RQZI4A.js → notebook-edit-57PXAYZN.js} +14 -14
- package/chunks/{omni-WXNOAMT7.js → omni-FUNBK2BA.js} +12 -12
- package/chunks/{openai-44SFHTR2.js → openai-XJV7KGB7.js} +11 -3
- package/chunks/{openaiContentGenerator-7LKIXBKH.js → openaiContentGenerator-VSMKP2PK.js} +11 -11
- package/chunks/{openaiResponsesContentGenerator-BCQ4GRCZ.js → openaiResponsesContentGenerator-HKMETP6V.js} +7 -7
- package/chunks/{processUtils-UOUOWKIO.js → processUtils-QMGAKTAD.js} +2 -2
- package/chunks/{prompt-terminal-ledger-GCAC6CVW.js → prompt-terminal-ledger-26V5OPOY.js} +23 -23
- package/chunks/{pty-host-process-Y4BPXZFM.js → pty-host-process-UP752FWV.js} +1 -1
- package/chunks/{reactive-degrade-DAD2GNTE.js → reactive-degrade-J7RMY47P.js} +11 -11
- package/chunks/{read-file-4M25AWZW.js → read-file-NOSU4AB6.js} +2 -2
- package/chunks/{resumeHistoryUtils-A2ZIPK72.js → resumeHistoryUtils-KQDIT4GG.js} +27 -28
- package/chunks/{ripGrep-ULG5YOFZ.js → ripGrep-X5XFME7P.js} +2 -2
- package/chunks/{run-o1-code-serve-J3KMS2EV.js → run-o1-code-serve-LBX526TI.js} +43 -43
- package/chunks/{sandboxConfig-37E2NZVJ.js → sandboxConfig-XSQ3WWPO.js} +22 -22
- package/chunks/{scheduled-tasks-VYOEL3HD.js → scheduled-tasks-2C2BJKKF.js} +28 -28
- package/chunks/{scheduler-JOUK3FZE.js → scheduler-MYI7M6ZV.js} +24 -24
- package/chunks/{serve-26KUEPHX.js → serve-I4442E26.js} +27 -27
- package/chunks/{server-PTOFCXOE.js → server-QYP5Y5X7.js} +134 -134
- package/chunks/{session-2Q2UN3P6.js → session-OIFZMGIG.js} +59 -60
- package/chunks/{session-YDZJ2DIQ.js → session-OYM3OHGL.js} +2 -2
- package/chunks/{session-attachments-root-N5HYHFBJ.js → session-attachments-root-MRIKLMKD.js} +22 -22
- package/chunks/{session-pr-refresh-JFJZC4R2.js → session-pr-refresh-6GHYSKLU.js} +27 -27
- package/chunks/{settings-AL3WSHXU.js → settings-CTNVOXKI.js} +26 -26
- package/chunks/{shell-PIDQ3F7H.js → shell-PYQDIUC3.js} +13 -13
- package/chunks/{skill-KBAFPZTY.js → skill-6PVIODCP.js} +2 -2
- package/chunks/{skill-settings-XKAM252R.js → skill-settings-TJTEFJ2P.js} +26 -26
- package/chunks/{spawnChannel-43MBG5JQ.js → spawnChannel-73QZTEZU.js} +23 -23
- package/chunks/{standalone-update-PKNAEETO.js → standalone-update-I7B4HYFF.js} +24 -24
- package/chunks/{startInteractiveUI-UJC4FAPU.js → startInteractiveUI-2IHBYFXY.js} +229 -177
- package/chunks/{supervisor-runner-YD27MXSJ.js → supervisor-runner-MDQEC376.js} +2 -2
- package/chunks/{team-create-GMWVLBIQ.js → team-create-NUDDVJB3.js} +13 -13
- package/chunks/{team-plan-approval-UCQJ57EP.js → team-plan-approval-HSZUKHPE.js} +13 -13
- package/chunks/{terminal-image-renderer-P55NEO7K.js → terminal-image-renderer-HWTISMNL.js} +22 -22
- package/chunks/{theme-manager-QTT6RX5N.js → theme-manager-MROOV6VP.js} +23 -24
- package/chunks/{tool-result-media-YP4IHM2C.js → tool-result-media-MX55ROPV.js} +12 -12
- package/chunks/{tool-search-G2ORH5ZP.js → tool-search-AQFQKLVO.js} +2 -2
- package/chunks/{total-session-admission-PIGPEE7I.js → total-session-admission-KVWPGZPG.js} +25 -25
- package/chunks/{trustedFolders-F3R55CXV.js → trustedFolders-QJG5VHDQ.js} +23 -23
- package/chunks/{undici-I7LHD7IT.js → undici-M5SHDWIM.js} +659 -230
- package/chunks/{update-relaunch-ZKMM7F7X.js → update-relaunch-2JR5JPF2.js} +5 -5
- package/chunks/{updateCheck-J3VNU2IK.js → updateCheck-YMZA57UC.js} +22 -22
- package/chunks/{upload-config-47HNQCBS.js → upload-config-FAYLOGRK.js} +9 -9
- package/chunks/{useAutoAcceptIndicator-7CHZOIWY.js → useAutoAcceptIndicator-YP5XVQYG.js} +30 -30
- package/chunks/{validateNonInterActiveAuth-IKMKA66V.js → validateNonInterActiveAuth-4EB6LXQY.js} +56 -57
- package/chunks/{version-3U5P6SJG.js → version-ZN2GS3CQ.js} +1 -1
- package/chunks/{web-fetch-4VJCYGQW.js → web-fetch-ICZ3KY5Z.js} +3 -3
- package/chunks/{web-search-K6CE33DM.js → web-search-UTZSXUV5.js} +10 -10
- package/chunks/{web-shell-static-OOIIII74.js → web-shell-static-LITKZKQN.js} +2 -2
- package/chunks/{workflow-7CZKMVZN.js → workflow-X6BKVUYT.js} +14 -14
- package/chunks/{workspace-providers-status-6KD3IGK5.js → workspace-providers-status-4BAUYRPL.js} +32 -32
- package/chunks/{workspace-registration-store-MDPW7CEZ.js → workspace-registration-store-6LZKX2RB.js} +1 -1
- package/chunks/{workspace-registry-WGBHXPDQ.js → workspace-registry-M3HEVDT5.js} +25 -25
- package/chunks/{workspace-runtime-coordinator-Z3HOGU45.js → workspace-runtime-coordinator-4VTVVFTK.js} +25 -25
- package/chunks/{workspace-service-JLH4B5SW.js → workspace-service-QMGQB3OE.js} +29 -29
- package/chunks/{workspace-skills-status-DK7QZDFR.js → workspace-skills-status-ZY3N5ZUH.js} +28 -28
- package/chunks/{workspace-trust-reconciler-7ZJMFTAS.js → workspace-trust-reconciler-BFW5OR5C.js} +30 -30
- package/chunks/{write-file-CLOS6ZQS.js → write-file-KLEVHL3D.js} +15 -15
- package/chunks/{zoom-image-U3KNRND3.js → zoom-image-PXWPZ35Z.js} +2 -2
- package/cli.js +16 -16
- package/examples/mcp-server/example.ts +4 -4
- package/examples/mcp-server/package.json +2 -2
- package/examples/starter/example.ts +4 -4
- package/examples/starter/package.json +2 -2
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +136 -199
- package/package.json +2 -2
- package/release-notes.json +13 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-C8eqGoOq.js → abnfDiagram-VCTEODGH-CyS097jd.js} +1 -1
- package/web-shell/assets/{arc-CoUm8dfZ.js → arc-C5ag-p3N.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-TpllHxSp.js → architectureDiagram-5GKGNRK7-BdMkuHkQ.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-WEyyYhux.js → blockDiagram-NRAW4CY4-C3UYLyTT.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-CtPTXMOO.js → c4Diagram-UCG6FXSJ-DFtJftTV.js} +1 -1
- package/web-shell/assets/channel-oDZ5nd9A.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-Ds196WJl.js → chunk-2Q5K7J3B-C2aFjqep.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-sKeSdrrt.js → chunk-5VM5RSS4-tYH7pzRt.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-LHNSMQOB.js → chunk-F27PBJKO-DwY_ngVY.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-CZvAc4j3.js → chunk-G27WJ6UU-CW5E-aG-.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-Dphlp9Xg.js → chunk-JWPE2WC7-UhCqXW5N.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-CMPXpFS5.js → chunk-LCL6LL3I-KnzQ1zLY.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-CGWcjLpZ.js → chunk-POPQ4Y6H-DDzG7AYc.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-CE4Pe9fb.js → chunk-SVP7TREG-DsNsZgNu.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BtIM7Aj_.js → chunk-XXDRQBXY-DsN_-dPN.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DqPncmiN.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DqPncmiN.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DG8UnitR.js → cose-bilkent-JH36ORCC-DFcKfzfA.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-wSfFFOGS.js → cynefin-OW5HDTMX-ByKijDw9.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CCo9QoOk.js → cynefinDiagram-5FMLGOSQ-B4kGwEej.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BCMIHNF9.js → dagre-3AP2YEHR-CRV8UYTU.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DdqeWJG1.js → diagram-S7CK7UJ4-DKTiyERa.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CFZzixOJ.js → diagram-UQ7AKVKN-D5mn_Nku.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-Q3zbYC-V.js → diagram-VSXAHHWV-Dh_rhvjS.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-LAng4oE6.js → diagram-VX7I27RA-hUvldCLj.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-DP8kMQos.js → diagram-Z3DM3KII-w_Fbc1_z.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-C8p0vrLb.js → ebnfDiagram-PWID7BFC-DiNETIFd.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-BsVb4lXS.js → erDiagram-SSCWMZ5O-C4AcmrAq.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-DPojesgF.js → flowDiagram-A5DVABFB-D9mOOdFA.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BwIOKSIg.js → ganttDiagram-EL5Y4UJY-CN6niq6J.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-2ufnLs3X.js → gitGraphDiagram-WWUBYQGX-D5AoFWfE.js} +1 -1
- package/web-shell/assets/{index-DUXz2aHf.js → index-CS8CwW9f.js} +516 -485
- package/web-shell/assets/{index-CJrdSS1J.js → index-DOw9K3Bq.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-CBJzq9Eg.js → infoDiagram-RXCK75RN-BMmTZffy.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CCRdDcqz.js → ishikawaDiagram-5VMMS53U-DEKpvoPS.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BNEHCVRP.js → journeyDiagram-EYS64GPL-DlCviwKj.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-C4_Fz7Af.js → kanban-definition-3QL26DDD-BkVlPyRx.js} +1 -1
- package/web-shell/assets/{layout-DJCbyo7j.js → layout-CJPeVll6.js} +1 -1
- package/web-shell/assets/{linear-BT7vD4rS.js → linear-B09bulGi.js} +1 -1
- package/web-shell/assets/mermaid.core-CiMLBEnS.js +312 -0
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-CWyPLmaT.js → mindmap-definition-FBJOCRG2-VMATJEz6.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-C26bsO8L.js → pegDiagram-XKGWAZYB-BBteqi33.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-YbicVSIw.js → pieDiagram-E7YTZNPT-CfYDtWH-.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Bfb9tuq4.js → quadrantDiagram-AXDQQJYC-B4NTRdT0.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-BWq89Gp-.js → railroadDiagram-O6MQD6OU-DpvXXjTt.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CbimERt9.js → requirementDiagram-EFPCY7ZU-Uj9T6A6X.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-2eUcs1CY.js → sankeyDiagram-P5KCCOFB-PjVo1Bfo.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DlTCWm8V.js → sequenceDiagram-WJ2MYXX4-CW2KqqvI.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-B8238B5f.js → sizeCapture-X5ZJPWSS-BSxJAFlW.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-Dd2jd_kW.js → stateDiagram-HBIQ2CUA-Cx2NCYF1.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BGcfdFqB.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-D7DY2esd.js → swimlanes-XN3QIQJK-BqbjLLi8.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DHmBybUx.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-CgGRayzz.js → timeline-definition-24CTP7MA-Dua9VLHV.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-aF-kYD6H.js → vennDiagram-4TSXK5OY-C8PCMTKz.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-BcTegb-P.js → wardleyDiagram-VM6X3IG4-Bcs1T3GE.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-Cbp7US-v.js → xychartDiagram-S5SC5T6Z-CkNyXMHd.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/chunks/chunk-YQQ7QFC5.js +0 -945
- package/web-shell/assets/channel-Cq574eJp.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DZow5usR.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DZow5usR.js +0 -1
- package/web-shell/assets/mermaid.core-Cqv8h1sX.js +0 -312
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-qZPDJzMf.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-B1OVWrqB.js +0 -8
package/chunks/chunk-YQQ7QFC5.js
DELETED
|
@@ -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
|
-
*/
|