@organizaone/o1-code 0.11.3 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/features/commands.md +1 -0
- package/chunks/{MaxSizedBox-4YD6N3PU.js → MaxSizedBox-JTZPQAQ5.js} +66 -66
- package/chunks/{StandaloneSessionPicker-I5FMAIU2.js → StandaloneSessionPicker-VFQEG54H.js} +88 -88
- package/chunks/{acp-subagent-executor-PRFEPDLD.js → acp-subagent-executor-QEOKYURZ.js} +70 -70
- package/chunks/{acpAgent-2SVJNE5B.js → acpAgent-5MQXC2XU.js} +229 -227
- package/chunks/{agent-QONNC6CU.js → agent-FKFYDUVP.js} +42 -42
- package/chunks/{agent-headless-5HHGBH6Z.js → agent-headless-TVPFCEOP.js} +42 -42
- package/chunks/all-providers-CAKB5HCH.js +73 -0
- package/chunks/{anthropicContentGenerator-2VK5J36U.js → anthropicContentGenerator-K2ELMX7W.js} +121 -73
- package/chunks/{bridge-376JROPC.js → bridge-33WHGPXZ.js} +71 -71
- package/chunks/{bwrap-execution-UZAMPG6F.js → bwrap-execution-FIGUBZCN.js} +6 -6
- package/chunks/{caption-audio-HGDJVVJZ.js → caption-audio-EK6K45W3.js} +8 -8
- package/chunks/{caption-image-ATZSXV7W.js → caption-image-WDXLQK6T.js} +6 -6
- package/chunks/{chunk-KRZBFGAT.js → chunk-32XL2YY2.js} +2345 -4252
- package/chunks/{chunk-MLHBCLEP.js → chunk-3EPSY3X7.js} +9 -9
- package/chunks/{chunk-GCAERMSL.js → chunk-3T72AXG7.js} +6 -6
- package/chunks/{chunk-ZG7HDQQN.js → chunk-3YUQQOUL.js} +13 -13
- package/chunks/{chunk-3DUYZD3L.js → chunk-46JJPOUF.js} +3 -3
- package/chunks/{chunk-7LLX5ROK.js → chunk-4G6OUQPH.js} +3 -3
- package/chunks/{chunk-QCONHGJR.js → chunk-4OUIZHHJ.js} +4 -4
- package/chunks/{chunk-QYUMJTBP.js → chunk-4SJO2I35.js} +1 -1
- package/chunks/{chunk-EB5V6K5E.js → chunk-4X3MIKOZ.js} +5 -5
- package/chunks/{chunk-HCE5HUQG.js → chunk-55BVGW3L.js} +4 -4
- package/chunks/{chunk-OJP3SONV.js → chunk-5AIPNJAB.js} +5 -5
- package/chunks/{chunk-ADBRWAV5.js → chunk-5NNMFA5J.js} +1 -1
- package/chunks/{chunk-UWV7KBPN.js → chunk-5OGI74MG.js} +2 -2
- package/chunks/{chunk-RZGFYBL5.js → chunk-5ZO4TG64.js} +4 -4
- package/chunks/{chunk-R3QYIDIU.js → chunk-62SWENB6.js} +2 -2
- package/chunks/{chunk-3KUQCZUE.js → chunk-65JWVPGE.js} +1 -1
- package/chunks/{chunk-REDO4D2W.js → chunk-65NGV7DR.js} +11 -11
- package/chunks/{chunk-HK7AV2JH.js → chunk-6O3ZQGW7.js} +1 -1
- package/chunks/{chunk-PLGVOOCJ.js → chunk-6WTLQ4BD.js} +1 -1
- package/chunks/{chunk-H2U6QRJX.js → chunk-72EBG4FJ.js} +3 -471
- package/chunks/{chunk-4OI2JVHJ.js → chunk-776VI66O.js} +2 -2
- package/chunks/{chunk-NWG5SKCQ.js → chunk-7JEEDCZF.js} +3 -3
- package/chunks/{chunk-VJFA7HHP.js → chunk-7LQNUREG.js} +1 -1
- package/chunks/chunk-7TK6OY2J.js +53 -0
- package/chunks/{chunk-5MX4BYWK.js → chunk-ADPTJZ7L.js} +3 -3
- package/chunks/{chunk-A4JNI44O.js → chunk-AKIPIOIW.js} +62 -36
- package/chunks/{chunk-IYLIZY56.js → chunk-BF6VCZFG.js} +4 -4
- package/chunks/{chunk-ZBV6TO3P.js → chunk-C7LS4YW3.js} +1 -1
- package/chunks/{chunk-W4SBUUTI.js → chunk-D56JIPBA.js} +3 -3
- package/chunks/{chunk-OKDNVNDE.js → chunk-DBPKYUKM.js} +5 -5
- package/chunks/{chunk-LBM7FFM5.js → chunk-DNJPSAMC.js} +1 -1
- package/chunks/{chunk-W6TGDESU.js → chunk-DOG2T422.js} +2 -2
- package/chunks/{chunk-J4QU4MC5.js → chunk-DOWMMDKU.js} +9 -9
- package/chunks/{chunk-VKBMJSAR.js → chunk-EMXZMR7F.js} +321 -109
- package/chunks/{chunk-653CF7X7.js → chunk-EO3GEEN5.js} +3 -3
- package/chunks/{chunk-RS2LNQEC.js → chunk-EVC2HZ5T.js} +3 -39
- package/chunks/{chunk-MIWMCUU5.js → chunk-EVIJNKSX.js} +17 -8
- package/chunks/{chunk-YR3UI5PL.js → chunk-EWBEXGRC.js} +10 -10
- package/chunks/{chunk-ALRR6EQ5.js → chunk-EXTCLF42.js} +2 -2
- package/chunks/{chunk-QE2GKG2B.js → chunk-F36DMAAF.js} +5 -5
- package/chunks/{chunk-C4WTDBKV.js → chunk-FEQM3UVX.js} +8 -8
- package/chunks/{chunk-V75J4GJ2.js → chunk-FJAZPBX2.js} +1 -1
- package/chunks/{chunk-QKTYOXBW.js → chunk-FJB4BIQY.js} +1 -1
- package/chunks/{chunk-QHENJTME.js → chunk-FL43SLBB.js} +36 -36
- package/chunks/{chunk-VPGICF4V.js → chunk-FOGGBV5D.js} +3 -3
- package/chunks/{chunk-JQPMOOCH.js → chunk-FXR7OHQM.js} +1 -1
- package/chunks/{chunk-DVRWYOU6.js → chunk-GQ2KSD3A.js} +1 -1
- package/chunks/{chunk-BLFBP3N2.js → chunk-GSMPZG6N.js} +1 -1
- package/chunks/{chunk-LK74HWZ4.js → chunk-H4FGPXI3.js} +63 -63
- package/chunks/{chunk-WDCHA7NA.js → chunk-H4K55KOQ.js} +5 -5
- package/chunks/{chunk-JHZM32LS.js → chunk-IKYYF5PP.js} +388 -620
- package/chunks/{chunk-SIZ4LTNU.js → chunk-J2WSYRAJ.js} +28 -28
- package/chunks/{chunk-LEBY6RZT.js → chunk-J33WTLCX.js} +5 -5
- package/chunks/{chunk-7M4NSLWM.js → chunk-JOBZWTVK.js} +1 -1
- package/chunks/{chunk-W4COM34L.js → chunk-K3RGDBVU.js} +3 -3
- package/chunks/{chunk-PQZRAMZG.js → chunk-KCBAWQGT.js} +19 -19
- package/chunks/{chunk-SAGRWAPN.js → chunk-KD2QZWRE.js} +12 -10
- package/chunks/{chunk-ZUQTYSNU.js → chunk-KEBHJIGX.js} +4 -4
- package/chunks/{chunk-AAXKDAOY.js → chunk-KYFNPY5G.js} +1 -1
- package/chunks/{chunk-HVOUAFTO.js → chunk-M2HUTNAI.js} +7 -7
- package/chunks/{chunk-QIRU74SA.js → chunk-MKBG6C2K.js} +1 -1
- package/chunks/{chunk-YPWPIBDR.js → chunk-MMVLDNOK.js} +5 -5
- package/chunks/{chunk-AQFTTYP6.js → chunk-MRR2UVN6.js} +4 -4
- package/chunks/{chunk-4O37MUA4.js → chunk-NIOE4OJE.js} +1 -1
- package/chunks/{chunk-AJSSTPJK.js → chunk-NLDWAN5E.js} +1 -1
- package/chunks/{chunk-OJSW65PQ.js → chunk-NOL6NAWN.js} +1 -1
- package/chunks/{chunk-EXG47R4V.js → chunk-NPGATJZA.js} +2 -2
- package/chunks/{chunk-XHYWPHWN.js → chunk-NQTVSCZM.js} +1 -1
- package/chunks/chunk-NTDRNHKB.js +484 -0
- package/chunks/{chunk-L7JLMUG3.js → chunk-NTHY5RR5.js} +2 -2
- package/chunks/{chunk-EIJNDD2V.js → chunk-O43YWGHK.js} +1 -1
- package/chunks/{chunk-6IAGZKHT.js → chunk-OF7SHQ7M.js} +3 -3
- package/chunks/{chunk-GXHNABHV.js → chunk-OP553VGL.js} +8 -8
- package/chunks/{chunk-L6MGGTHA.js → chunk-OS6CVNKI.js} +1 -1
- package/chunks/{chunk-7LFCBMVX.js → chunk-P4F73WS7.js} +1 -1
- package/chunks/{chunk-DG6LRVVN.js → chunk-PD4HVHCC.js} +1 -1
- package/chunks/{chunk-JZ4ZEW3K.js → chunk-Q5CQXESD.js} +1 -1
- package/chunks/{chunk-TK7HNIQM.js → chunk-QFMADEHM.js} +1 -1
- package/chunks/{chunk-U7C4TQUX.js → chunk-QFUVHWOM.js} +1 -1
- package/chunks/{chunk-WS7DJM5N.js → chunk-QJQOFPJ5.js} +18 -18
- package/chunks/{chunk-EFN3RELD.js → chunk-QNHUPN6K.js} +3 -3
- package/chunks/{chunk-O5F6BGMF.js → chunk-RE37G7GK.js} +7 -7
- package/chunks/{chunk-OKR7R26W.js → chunk-RRYTDYCK.js} +4 -4
- package/chunks/{chunk-BIP774WW.js → chunk-RS2CMJTM.js} +1 -1
- package/chunks/{chunk-3YG4OBGV.js → chunk-S5H5TQN4.js} +1 -1
- package/chunks/{chunk-W7NTX5RO.js → chunk-S5QFGJXY.js} +7 -7
- package/chunks/{chunk-ER3EHNTV.js → chunk-SPTU3FVH.js} +4 -4
- package/chunks/chunk-TC2TJAOF.js +1365 -0
- package/chunks/{chunk-HUMRTP2R.js → chunk-TFFOK3SJ.js} +1 -1
- package/chunks/{chunk-OD2XVV6S.js → chunk-TJRZBOWB.js} +6 -6
- package/chunks/chunk-TL23ZRID.js +327 -0
- package/chunks/{chunk-QMCDBQRJ.js → chunk-TP3M5WJ2.js} +1 -1
- package/chunks/chunk-TPHHBX2V.js +372 -0
- package/chunks/{chunk-FVO4TXS5.js → chunk-TXTBBSFN.js} +6 -6
- package/chunks/{chunk-WQ6CX6N3.js → chunk-U5W3UVUJ.js} +15 -15
- package/chunks/{chunk-FYQO4Y3N.js → chunk-UEBG3R2E.js} +19 -19
- package/chunks/{chunk-N7NBYHMJ.js → chunk-UNY7AZRV.js} +1 -1
- package/chunks/{chunk-UDWKKKF3.js → chunk-VBCZ36HL.js} +16 -12
- package/chunks/{chunk-DMVMQMWZ.js → chunk-VCQ6UT2V.js} +86 -86
- package/chunks/{chunk-5V3EOW36.js → chunk-VGJTZHV4.js} +28 -28
- package/chunks/{chunk-XOVXSDNN.js → chunk-VPFTCMMK.js} +1 -1
- package/chunks/{chunk-7H7YR3TX.js → chunk-VSGHHI2A.js} +1 -1
- package/chunks/{chunk-FQO3QDB5.js → chunk-VT3TJFQR.js} +1 -1
- package/chunks/{chunk-6LLJK4YT.js → chunk-VWSBLBKL.js} +2 -2
- package/chunks/{chunk-4FUKWWA7.js → chunk-W52IXLWZ.js} +2 -2
- package/chunks/{chunk-7I52LFBI.js → chunk-W7TFIXSV.js} +8 -6
- package/chunks/chunk-WBPIFM2X.js +2008 -0
- package/chunks/{chunk-AIQC2WHG.js → chunk-WDHSE635.js} +4 -4
- package/chunks/{chunk-M2EBVYXC.js → chunk-WK44MSGW.js} +1 -1
- package/chunks/{chunk-IKXBBMRT.js → chunk-WSEWAUUB.js} +1 -1
- package/chunks/{chunk-FJHDFJVI.js → chunk-WSHOWMUB.js} +1 -1
- package/chunks/{chunk-VBJH6XAM.js → chunk-WVGCMQD5.js} +1 -1
- package/chunks/{chunk-OAGT2TNR.js → chunk-XD6GHBUY.js} +9 -9
- package/chunks/{chunk-6D6Z2RPR.js → chunk-XDTO4IJ3.js} +2 -2
- package/chunks/{chunk-4AJNXOC5.js → chunk-XRY5FMOE.js} +2 -2
- package/chunks/{chunk-Z5UCVPGO.js → chunk-YII34AZ7.js} +13 -13
- package/chunks/{chunk-BSLKB37V.js → chunk-ZGPPP7FC.js} +30 -30
- package/chunks/{chunk-ZQBNP2ZQ.js → chunk-ZRO2FPEP.js} +4 -4
- package/chunks/{chunk-4RA6DVZM.js → chunk-ZUP2FFM5.js} +4 -4
- package/chunks/{codex-subagent-executor-BDV2OYSK.js → codex-subagent-executor-6GZ7UBTB.js} +70 -70
- package/chunks/{contextCommand-4XBRYOBZ.js → contextCommand-RK4SGQXM.js} +69 -69
- package/chunks/{core-runtime-IYMVEYKI.js → core-runtime-Z3MAZ6W4.js} +78 -78
- package/chunks/{create-sub-session-EAHSPBXY.js → create-sub-session-KWT7I6XG.js} +72 -72
- package/chunks/{daemon-git-worktree-guard-JPOH2ZV5.js → daemon-git-worktree-guard-RVYAPX2W.js} +68 -68
- package/chunks/{daemon-status-provider-GOJGNJ2Y.js → daemon-status-provider-7Q4AQLU7.js} +76 -76
- package/chunks/{daemon-trust-policy-X5QLCVP2.js → daemon-trust-policy-K6KAYOII.js} +74 -74
- package/chunks/{daemon-trust-policy-monitor-GOMIMXAS.js → daemon-trust-policy-monitor-L2HR4KDO.js} +74 -74
- package/chunks/{deferred-core-runtime-MFMRVOPT.js → deferred-core-runtime-B3GYIW7X.js} +66 -66
- package/chunks/{display-image-U6HZKF3G.js → display-image-ETU7QIAC.js} +2 -2
- package/chunks/{edit-N5WDGSAZ.js → edit-DHFV3SJW.js} +44 -44
- package/chunks/{en-C4TIYTOH.js → en-PCBCZAUA.js} +29 -2
- package/chunks/{enter-worktree-A2WD27HQ.js → enter-worktree-OZOIH6KH.js} +4 -4
- package/chunks/{enterPlanMode-52GAH43E.js → enterPlanMode-FHBSHN7T.js} +42 -42
- package/chunks/{environment-RXHNLDLZ.js → environment-SJ2O6HRJ.js} +69 -69
- package/chunks/{errors-D65OPVWO.js → errors-SLII5WDL.js} +69 -69
- package/chunks/{execution-sandbox-config-YE2XOT56.js → execution-sandbox-config-EYZYM2IC.js} +7 -7
- package/chunks/{execution-tool-RK3OB5IY.js → execution-tool-VRA7QCXP.js} +45 -45
- package/chunks/{execution-worker-R7E5B7CA.js → execution-worker-LT2EFVHR.js} +50 -50
- package/chunks/{exit-worktree-S7KUQ4HO.js → exit-worktree-W5TC4B4C.js} +4 -4
- package/chunks/{exitPlanMode-SRLMLRK5.js → exitPlanMode-XQ75FETK.js} +42 -42
- package/chunks/{fast-path-KOMJMO2I.js → fast-path-NQQ53WED.js} +2 -2
- package/chunks/{glob-MD6DOICU.js → glob-7SQOB5CX.js} +42 -42
- package/chunks/{goal-tools-FLJYRSX6.js → goal-tools-4GR2BFFX.js} +42 -42
- package/chunks/{handleAutoUpdate-LX4OGPKI.js → handleAutoUpdate-OLVCIBDN.js} +70 -70
- package/chunks/{i18n-CSJNAMVB.js → i18n-NXRBYDXM.js} +68 -68
- package/chunks/{image-gen-GRJ73O3N.js → image-gen-Q4E7L7EV.js} +3 -6
- package/chunks/{initializer-UN73MGL2.js → initializer-NGPV43CI.js} +74 -74
- package/chunks/{installationInfo-DOO2EVLV.js → installationInfo-U5NUDGQV.js} +66 -66
- package/chunks/{keychain-token-storage-NDVFNJI5.js → keychain-token-storage-SJOKJDWV.js} +2 -1
- package/chunks/{list-UMP3UXDE.js → list-WUD2DUO4.js} +77 -77
- package/chunks/{llm-4AHGUE2C.js → llm-3GFPNXO6.js} +142 -142
- package/chunks/{llm-content-generator-I62R6Q4I.js → llm-content-generator-5CTS3JEL.js} +8 -6
- package/chunks/{loadedSettingsAdapter-KHAGVCPO.js → loadedSettingsAdapter-45PMLPYE.js} +74 -74
- package/chunks/{local-execution-environment-DOKSKTNZ.js → local-execution-environment-XJ5Y5J5E.js} +50 -50
- package/chunks/{loggingContentGenerator-53CAIYCN.js → loggingContentGenerator-BJHOK6Q7.js} +69 -69
- package/chunks/{managed-npm-update-KTATRLFZ.js → managed-npm-update-TCLLJP27.js} +66 -66
- package/chunks/{mcp-7GPEHQCC.js → mcp-LJGCW5XK.js} +74 -74
- package/chunks/{memory-side-query-EHR7FGIB.js → memory-side-query-BSVTSKCB.js} +7 -7
- package/chunks/{model-call-collection-J33XHZPS.js → model-call-collection-GCSBAMPN.js} +7 -7
- package/chunks/{model-configuration-BK2FWMLQ.js → model-configuration-N6EASNX6.js} +75 -75
- package/chunks/{modelConfigUtils-RHOU5ENH.js → modelConfigUtils-4O46TEAJ.js} +68 -68
- package/chunks/{monitor-WXQOHZKP.js → monitor-OOKJVU73.js} +42 -42
- package/chunks/{nonInteractiveCli-332KOMYW.js → nonInteractiveCli-6H3CIYOC.js} +113 -113
- package/chunks/{nonInteractiveToolExecutor-ULCR2RA7.js → nonInteractiveToolExecutor-MWOHBQ3G.js} +43 -43
- package/chunks/{notebook-edit-HOKY5D6F.js → notebook-edit-CG5ZTY7N.js} +43 -43
- package/chunks/{ocr-image-ZJCSAMSQ.js → ocr-image-O6ECQNUE.js} +6 -6
- package/chunks/{omni-O37J5JI3.js → omni-MWVCLGTK.js} +40 -42
- package/chunks/{openaiContentGenerator-62C5JSNE.js → openaiContentGenerator-XDEGXNI6.js} +62 -59
- package/chunks/{openaiResponsesContentGenerator-JSS3U575.js → openaiResponsesContentGenerator-KVV57AK6.js} +40 -24
- package/chunks/{processUtils-Y66KDZSB.js → processUtils-7C3HIK43.js} +2 -2
- package/chunks/{prompt-terminal-ledger-MXYMD7UN.js → prompt-terminal-ledger-R4EB443Y.js} +67 -67
- package/chunks/{pt-TCLIZMUA.js → pt-3QNK7RYA.js} +29 -2
- package/chunks/{reactive-degrade-X2JSVX5V.js → reactive-degrade-6JECKK6A.js} +25 -23
- package/chunks/{read-file-UDFSKNBI.js → read-file-2V6MBYCS.js} +12 -11
- package/chunks/{recall-media-memory-tool-GAR6JWON.js → recall-media-memory-tool-WIFEB2OG.js} +5 -5
- package/chunks/{record-artifact-PL2T5AJY.js → record-artifact-IVE6QT4D.js} +3 -3
- package/chunks/{record-source-ANENC5K7.js → record-source-U53PRXYX.js} +5 -5
- package/chunks/{report-findings-RFO53756.js → report-findings-W75NCFXY.js} +4 -4
- package/chunks/{request-shutdown-LRWCJOEG.js → request-shutdown-E5QAHOAD.js} +4 -4
- package/chunks/{resumeHistoryUtils-ABWHIQME.js → resumeHistoryUtils-OA7LAAZ7.js} +72 -72
- package/chunks/{ripGrep-RMGB52RM.js → ripGrep-KR5EE3HU.js} +14 -13
- package/chunks/{run-o1-code-serve-KVOUMETW.js → run-o1-code-serve-RJHXITCF.js} +59 -59
- package/chunks/{runtime-shell-policy-Y3TGAQLT.js → runtime-shell-policy-Z53GWNM7.js} +1 -1
- package/chunks/{sandboxConfig-6UNSTBMJ.js → sandboxConfig-Q5GADSBO.js} +66 -66
- package/chunks/{scheduled-tasks-SHFPXK6P.js → scheduled-tasks-6FXAE77O.js} +75 -75
- package/chunks/{scheduler-N5K2SUQE.js → scheduler-W5XJHCSY.js} +68 -68
- package/chunks/{sdk-exporters-grpc-J2ILXEUS.js → sdk-exporters-grpc-FZO3Y43M.js} +2 -2
- package/chunks/{sdk-exporters-http-HGBOA62S.js → sdk-exporters-http-WYXH2KE4.js} +14 -14
- package/chunks/{sdk-impl-G2NWB5MF.js → sdk-impl-5PWLMFPQ.js} +20 -20
- package/chunks/{send-message-QOWWQKZJ.js → send-message-OSS7K7GE.js} +4 -4
- package/chunks/{serve-RQIMY7MC.js → serve-PRXYYEOA.js} +74 -74
- package/chunks/{server-AA4LTEQ2.js → server-UBJ5BVPH.js} +260 -260
- package/chunks/{session-4627GZ4S.js → session-62TX2TX2.js} +122 -122
- package/chunks/session-WTJAKLQE.js +34 -0
- package/chunks/{session-attachments-root-Y4BXBBHX.js → session-attachments-root-FW2TX3FF.js} +66 -66
- package/chunks/{session-pr-refresh-XXIT42IO.js → session-pr-refresh-R2Y6QHL7.js} +75 -75
- package/chunks/{settings-CHJS242C.js → settings-HJODN63R.js} +74 -74
- package/chunks/{shell-PDZIKVVS.js → shell-P3L2UMOI.js} +42 -42
- package/chunks/{skill-QOPISSJO.js → skill-3PV7IPAH.js} +14 -13
- package/chunks/{skill-settings-SSXT3JNN.js → skill-settings-TSXFLSXL.js} +74 -74
- package/chunks/{spawnChannel-MPL2AUYX.js → spawnChannel-VV2PWHJ2.js} +69 -69
- package/chunks/{standalone-update-ACWQFW36.js → standalone-update-4BRRDDO4.js} +69 -69
- package/chunks/{startInteractiveUI-PKMNIOMH.js → startInteractiveUI-KUDCHKGV.js} +446 -354
- package/chunks/{task-create-2BHPJUF3.js → task-create-WLFSUWNH.js} +5 -5
- package/chunks/{task-update-NGKKBFU5.js → task-update-STSLD6C5.js} +5 -5
- package/chunks/{team-create-PDT7MW4F.js → team-create-DXTHTZKI.js} +42 -42
- package/chunks/{team-plan-approval-4CFTZI2I.js → team-plan-approval-22HFWRXC.js} +42 -42
- package/chunks/{terminal-image-renderer-C65IVJHI.js → terminal-image-renderer-YBRDENRT.js} +66 -66
- package/chunks/{theme-manager-5FF3ROXZ.js → theme-manager-3GMAH5RD.js} +66 -66
- package/chunks/{tool-call-GVZHLCX6.js → tool-call-2R6GT3ZZ.js} +5 -5
- package/chunks/{tool-result-media-YFEIOZDR.js → tool-result-media-TPGTYKAD.js} +21 -23
- package/chunks/{tool-search-WNOVTFBP.js → tool-search-JYV3OQ6L.js} +19 -18
- package/chunks/{total-session-admission-Q6NUZVLI.js → total-session-admission-A27OSZFH.js} +71 -71
- package/chunks/{transcribe-audio-J3OVKT5D.js → transcribe-audio-R6YC24KU.js} +3 -3
- package/chunks/{trustedFolders-SFZUU4GO.js → trustedFolders-OVHIYR7G.js} +68 -68
- package/chunks/{understand-video-segments-OMAJP6Q7.js → understand-video-segments-2WK4T6PO.js} +8 -8
- package/chunks/{update-relaunch-ICPN37DV.js → update-relaunch-NJNXJ7YF.js} +5 -5
- package/chunks/{updateCheck-PRCH4Y2X.js → updateCheck-XCRLLMAH.js} +69 -69
- package/chunks/{upload-config-JG34DU4J.js → upload-config-QSD3T2AU.js} +10 -8
- package/chunks/{useAutoAcceptIndicator-FZVG3NNO.js → useAutoAcceptIndicator-PJMRWE6O.js} +77 -77
- package/chunks/{validateNonInterActiveAuth-XRY2O6CQ.js → validateNonInterActiveAuth-SD677WKS.js} +110 -110
- package/chunks/{version-IU45BCJE.js → version-FD6BAJ7Z.js} +1 -1
- package/chunks/{web-fetch-WO3GHRIO.js → web-fetch-4RUI7Y7U.js} +14 -16
- package/chunks/{web-search-4GJLGZQM.js → web-search-ROO2Y3AU.js} +12 -13
- package/chunks/web-shell-static-OOIIII74.js +1 -1
- package/chunks/{workflow-UG4V5VWR.js → workflow-OTLXZKSM.js} +45 -45
- package/chunks/{workspace-providers-status-IM5IUQXM.js → workspace-providers-status-E7XZW55K.js} +80 -80
- package/chunks/{workspace-registration-store-O36O7FTL.js → workspace-registration-store-NTRX2N6W.js} +1 -1
- package/chunks/{workspace-registry-TOE2NYGH.js → workspace-registry-OKP2RI5C.js} +71 -71
- package/chunks/{workspace-runtime-coordinator-LS7MYSDY.js → workspace-runtime-coordinator-774UWQBB.js} +72 -72
- package/chunks/{workspace-service-FL63YNEM.js → workspace-service-C3BQFCAC.js} +80 -80
- package/chunks/{workspace-skills-status-IXHCVUXS.js → workspace-skills-status-GJFMBOCP.js} +77 -77
- package/chunks/{workspace-trust-reconciler-WTJ52TKZ.js → workspace-trust-reconciler-3V6TVY5S.js} +80 -80
- package/chunks/{write-file-VTHULBGP.js → write-file-CE74OWAB.js} +45 -45
- package/chunks/{zh-KRQU675V.js → zh-GBDJHFG4.js} +1 -0
- package/chunks/{zh-TW-K657U7LC.js → zh-TW-WWN26WO4.js} +1 -0
- package/chunks/{zoom-image-TJNJJATC.js → zoom-image-EK6GNK4H.js} +12 -11
- package/cli.js +14 -14
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/en.js +46 -2
- package/locales/pt.js +46 -2
- package/locales/zh-TW.js +2 -0
- package/locales/zh.js +2 -0
- package/package.json +2 -2
- package/release-notes.json +13 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-anMh0rnI.js → abnfDiagram-VCTEODGH-B1-jzC8p.js} +1 -1
- package/web-shell/assets/{arc-sPYpPSws.js → arc-CSOZi0KQ.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-BKh0KCFR.js → architectureDiagram-5GKGNRK7-CPkIznhq.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CUfywffW.js → blockDiagram-NRAW4CY4-B4CmWPlm.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-CM2pLl5w.js → c4Diagram-UCG6FXSJ-CfbSKaAp.js} +1 -1
- package/web-shell/assets/channel-DtvUnSzo.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-n9OTAsCE.js → chunk-2Q5K7J3B-DeXG-4SQ.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-CC3dLmo9.js → chunk-5VM5RSS4-C8diV_rJ.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-pIte4woe.js → chunk-F27PBJKO-Dfz0hM4f.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Bd4q9Va0.js → chunk-G27WJ6UU-BE_M2PYM.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-C1ornOGN.js → chunk-JWPE2WC7-CLsWUvS5.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-w09p9W09.js → chunk-LCL6LL3I-DeyqYZUf.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-CHY7aAx4.js → chunk-POPQ4Y6H-C-6z-5n3.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-DKqS6ObW.js → chunk-SVP7TREG-DdwfG0ad.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DWqNHE5T.js → chunk-XXDRQBXY-X9aD75Ws.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-B4Ulnn_s.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-B4Ulnn_s.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CTuORHW-.js → cose-bilkent-JH36ORCC-DNp5iXJM.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-D38bIRGV.js → cynefin-OW5HDTMX-DhhzkPLD.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-zojG5SHE.js → cynefinDiagram-5FMLGOSQ-5eATS_mD.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-B_mgdgxG.js → dagre-3AP2YEHR-DXUm0J5e.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-Boe4tqaP.js → diagram-S7CK7UJ4-DNrRshkn.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DEFdgAk5.js → diagram-UQ7AKVKN-DS2yugJl.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-lg-aIy2H.js → diagram-VSXAHHWV-Ds2io9aQ.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-B8GfIB8O.js → diagram-VX7I27RA-CGa-K6oj.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-B9d7kR6t.js → diagram-Z3DM3KII-BW68o26L.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-BbKPC4Lq.js → ebnfDiagram-PWID7BFC-BC4P1K1r.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CRAgoOe5.js → erDiagram-SSCWMZ5O-CLs5DpAu.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-Ur3ln_JM.js → flowDiagram-A5DVABFB-D76URsL1.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-C9BN2b5E.js → ganttDiagram-EL5Y4UJY-xVE4LPqO.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-CRfkh-0v.js → gitGraphDiagram-WWUBYQGX-CIRl0tk3.js} +1 -1
- package/web-shell/assets/{index-DiA0wMqK.js → index-Bv4OUm3o.js} +1 -1
- package/web-shell/assets/{index-CeQlCdwD.js → index-KZq_3onf.js} +3 -3
- package/web-shell/assets/{infoDiagram-RXCK75RN-DK1-ESA4.js → infoDiagram-RXCK75RN-CBnubrlE.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-kxpIDlCX.js → ishikawaDiagram-5VMMS53U-qK-V6061.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-DQ9EbXpv.js → journeyDiagram-EYS64GPL-UUJYez4X.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-UYveUTce.js → kanban-definition-3QL26DDD-BCcGvRtp.js} +1 -1
- package/web-shell/assets/{layout-BPonaHzT.js → layout-CSFWOY9q.js} +1 -1
- package/web-shell/assets/{linear-C-eJXPTS.js → linear-WUzB_hII.js} +1 -1
- package/web-shell/assets/{mermaid.core-BX1Kz_A0.js → mermaid.core-eLc_GDkM.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-B6QyHOu0.js → mindmap-definition-FBJOCRG2-BfzdSe6H.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-Caflqhs8.js → pegDiagram-XKGWAZYB-B1kr5DxT.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-6zzkWzNt.js → pieDiagram-E7YTZNPT-CPFq2ZOW.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-BVL3cBz2.js → quadrantDiagram-AXDQQJYC-DuZmXZaP.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-DqBEO3-Z.js → railroadDiagram-O6MQD6OU-DCjBx5S1.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CBFGB-6Q.js → requirementDiagram-EFPCY7ZU-DISKvzR7.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DOpW98KL.js → sankeyDiagram-P5KCCOFB-BugqzyC1.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-CVtDqArI.js → sequenceDiagram-WJ2MYXX4-DLQyc2mn.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DQjMKuHP.js → sizeCapture-X5ZJPWSS-CDbelLiH.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-D4n_VP2j.js → stateDiagram-HBIQ2CUA-Bw4uH6Y6.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-UrUNUyaU.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-Dvr4Gk5J.js → swimlanes-XN3QIQJK-BT-heLFQ.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-E8v9mXaE.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DXsPhzEF.js → timeline-definition-24CTP7MA-ORqZ_woY.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-aA8X42UU.js → vennDiagram-4TSXK5OY-AgffOwo5.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CuOx8tlj.js → wardleyDiagram-VM6X3IG4-CcqvB4mV.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-DIc2TzVm.js → xychartDiagram-S5SC5T6Z-BQBX00-a.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/chunks/chunk-7USF7X6U.js +0 -584
- package/chunks/chunk-ALIO4STD.js +0 -340
- package/chunks/chunk-KTOCX7IM.js +0 -27
- package/chunks/chunk-MWFHMYVA.js +0 -93
- package/chunks/chunk-PFRCGQAE.js +0 -48
- package/chunks/chunk-VIAJ74X3.js +0 -410
- package/web-shell/assets/channel-DRltBDks.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-Bs6uTgrQ.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-Bs6uTgrQ.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Cy-H3uc5.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BmzgGPpR.js +0 -8
- package/chunks/{chunk-BWRP5ZMP.js → chunk-DQZYZDIL.js} +3 -3
- package/chunks/{chunk-KV5QCRFB.js → chunk-IC57EPC7.js} +3 -3
- package/chunks/{chunk-YJLJUKJ7.js → chunk-IZSIFV6S.js} +3 -3
- package/chunks/{chunk-H5L5E5NI.js → chunk-ROO6F2BT.js} +3 -3
- package/chunks/{chunk-MDU4BZLN.js → chunk-YSZCVSC3.js} +0 -0
- package/chunks/{clip-audio-G2SG55MB.js → clip-audio-BJ42NS5B.js} +4 -4
- package/chunks/{clip-image-I3IFRW4Z.js → clip-image-FDBAIKGB.js} +3 -3
- package/chunks/{clip-video-XISLKGWO.js → clip-video-6KVC2IFL.js} +4 -4
- package/chunks/{convert-image-TXAOAPLS.js → convert-image-AYXBZ3TH.js} +3 -3
- package/chunks/{downsample-audio-SBMOSASE.js → downsample-audio-HSPMS25U.js} +4 -4
- package/chunks/{downsample-image-S5ZKCZEM.js → downsample-image-BFBX343I.js} +3 -3
- package/chunks/{downscale-video-LFLD2MYN.js → downscale-video-GQ5ZMJRX.js} +4 -4
- package/chunks/{extract-audio-TY277NLN.js → extract-audio-3LB2Q736.js} +4 -4
- package/chunks/{extract-keyframes-CXPABWEU.js → extract-keyframes-6ZP65BJF.js} +4 -4
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
ALL_PROVIDERS
|
|
5
|
+
} from "./chunk-IKYYF5PP.js";
|
|
6
|
+
import {
|
|
7
|
+
REASONING_EFFORT_TIERS,
|
|
8
|
+
clampReasoningEffort,
|
|
9
|
+
getGptReasoningCapabilities,
|
|
10
|
+
normalize,
|
|
11
|
+
parseModelReasoningCapabilities
|
|
12
|
+
} from "./chunk-72EBG4FJ.js";
|
|
13
|
+
import {
|
|
14
|
+
createDebugLogger
|
|
15
|
+
} from "./chunk-UK2KIU2V.js";
|
|
16
|
+
import {
|
|
17
|
+
init_esbuild_shims
|
|
18
|
+
} from "./chunk-S2467S6L.js";
|
|
19
|
+
import {
|
|
20
|
+
__name
|
|
21
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
22
|
+
|
|
23
|
+
// packages/core/src/core/reasoning-overrides.ts
|
|
24
|
+
init_esbuild_shims();
|
|
25
|
+
|
|
26
|
+
// packages/core/src/core/openaiContentGenerator/provider/openrouter.ts
|
|
27
|
+
init_esbuild_shims();
|
|
28
|
+
function isOpenRouterHostname(contentGeneratorConfig) {
|
|
29
|
+
const baseUrl = contentGeneratorConfig.baseUrl ?? "";
|
|
30
|
+
if (!baseUrl) return false;
|
|
31
|
+
try {
|
|
32
|
+
const hostname = new URL(baseUrl).hostname.toLowerCase();
|
|
33
|
+
return hostname === "openrouter.ai" || hostname.endsWith(".openrouter.ai");
|
|
34
|
+
} catch {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
__name(isOpenRouterHostname, "isOpenRouterHostname");
|
|
39
|
+
|
|
40
|
+
// packages/core/src/core/anthropic-reasoning.ts
|
|
41
|
+
init_esbuild_shims();
|
|
42
|
+
var CLAUDE_MODEL_FAMILIES = [
|
|
43
|
+
"opus",
|
|
44
|
+
"sonnet",
|
|
45
|
+
"haiku",
|
|
46
|
+
"fable",
|
|
47
|
+
"mythos"
|
|
48
|
+
];
|
|
49
|
+
function parseClaudeModelVersion(model) {
|
|
50
|
+
const match = model.toLowerCase().match(
|
|
51
|
+
new RegExp(
|
|
52
|
+
`claude-(${CLAUDE_MODEL_FAMILIES.join(
|
|
53
|
+
"|"
|
|
54
|
+
)})-(\\d+)(?:[-.](\\d{1,2})(?!\\d))?`
|
|
55
|
+
)
|
|
56
|
+
);
|
|
57
|
+
if (!match) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
family: match[1],
|
|
62
|
+
major: Number.parseInt(match[2], 10),
|
|
63
|
+
minor: match[3] ? Number.parseInt(match[3], 10) : 0
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
__name(parseClaudeModelVersion, "parseClaudeModelVersion");
|
|
67
|
+
function anthropicSupportedEffortTiers(model) {
|
|
68
|
+
const tiers = ["low", "medium", "high"];
|
|
69
|
+
const parsed = parseClaudeModelVersion(model);
|
|
70
|
+
if (!parsed) {
|
|
71
|
+
return tiers;
|
|
72
|
+
}
|
|
73
|
+
const { family, major, minor } = parsed;
|
|
74
|
+
const atLeast = /* @__PURE__ */ __name((maj, min) => major > maj || major === maj && minor >= min, "atLeast");
|
|
75
|
+
if (major >= 5 || family === "opus" && atLeast(4, 7)) {
|
|
76
|
+
tiers.push("xhigh");
|
|
77
|
+
}
|
|
78
|
+
if (major >= 5 || (family === "opus" || family === "sonnet") && atLeast(4, 6)) {
|
|
79
|
+
tiers.push("max");
|
|
80
|
+
}
|
|
81
|
+
return tiers;
|
|
82
|
+
}
|
|
83
|
+
__name(anthropicSupportedEffortTiers, "anthropicSupportedEffortTiers");
|
|
84
|
+
|
|
85
|
+
// packages/core/src/core/reasoning-overrides.ts
|
|
86
|
+
var REASONING_PROFILES = [
|
|
87
|
+
"openai-effort",
|
|
88
|
+
"openai-reasoning",
|
|
89
|
+
"deepseek-openai",
|
|
90
|
+
"dashscope-effort",
|
|
91
|
+
"dashscope-thinking",
|
|
92
|
+
"chat-template-thinking",
|
|
93
|
+
"anthropic-manual",
|
|
94
|
+
"anthropic-adaptive",
|
|
95
|
+
"deepseek-anthropic",
|
|
96
|
+
"gemini"
|
|
97
|
+
];
|
|
98
|
+
function invalidReasoning(route) {
|
|
99
|
+
throw new Error(
|
|
100
|
+
`Model "${route.model}" capabilities.reasoning: invalid profile, efforts or defaultEffort`
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
__name(invalidReasoning, "invalidReasoning");
|
|
104
|
+
function validateReasoningDeclaration(route, declaration) {
|
|
105
|
+
if (declaration === void 0) return void 0;
|
|
106
|
+
if (!declaration || typeof declaration !== "object" || Array.isArray(declaration))
|
|
107
|
+
return invalidReasoning(route);
|
|
108
|
+
const input = declaration;
|
|
109
|
+
if (input.profile === void 0 && ("thinking" in input || "disableField" in input))
|
|
110
|
+
return parseModelReasoningCapabilities(input);
|
|
111
|
+
if (!Object.keys(input).length || Object.keys(input).some(
|
|
112
|
+
(key) => ![
|
|
113
|
+
"profile",
|
|
114
|
+
"efforts",
|
|
115
|
+
"defaultEffort",
|
|
116
|
+
"thinking",
|
|
117
|
+
"toggleOnly",
|
|
118
|
+
"canDisable",
|
|
119
|
+
"disableField"
|
|
120
|
+
].includes(key)
|
|
121
|
+
))
|
|
122
|
+
return invalidReasoning(route);
|
|
123
|
+
if (input.profile !== void 0 && !REASONING_PROFILES.includes(input.profile) || input.thinking !== void 0 && input.thinking !== true || input.toggleOnly !== void 0 && typeof input.toggleOnly !== "boolean" || input.canDisable !== void 0 && input.canDisable !== false)
|
|
124
|
+
return invalidReasoning(route);
|
|
125
|
+
if (input.efforts !== void 0 && (!Array.isArray(input.efforts) || !input.efforts.length || input.efforts.some((tier) => !REASONING_EFFORT_TIERS.includes(tier)) || new Set(input.efforts).size !== input.efforts.length))
|
|
126
|
+
return invalidReasoning(route);
|
|
127
|
+
if (input.defaultEffort !== void 0 && (!REASONING_EFFORT_TIERS.includes(input.defaultEffort) || input.efforts && !input.efforts.includes(input.defaultEffort)))
|
|
128
|
+
return invalidReasoning(route);
|
|
129
|
+
return input;
|
|
130
|
+
}
|
|
131
|
+
__name(validateReasoningDeclaration, "validateReasoningDeclaration");
|
|
132
|
+
function resolveReasoningCapabilities(route, declaration) {
|
|
133
|
+
try {
|
|
134
|
+
return validateReasoningCapabilities(route, declaration);
|
|
135
|
+
} catch {
|
|
136
|
+
return void 0;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
__name(resolveReasoningCapabilities, "resolveReasoningCapabilities");
|
|
140
|
+
function validateReasoningCapabilities(route, declaration) {
|
|
141
|
+
const input = validateReasoningDeclaration(route, declaration);
|
|
142
|
+
if (!input) return void 0;
|
|
143
|
+
if (input.profile === void 0 && "thinking" in input)
|
|
144
|
+
return parseModelReasoningCapabilities(input);
|
|
145
|
+
const model = normalize(route.model);
|
|
146
|
+
const provider = ALL_PROVIDERS.find(
|
|
147
|
+
(candidate) => typeof candidate.baseUrl === "string" ? candidate.baseUrl === route.baseUrl : candidate.baseUrl?.some((option) => option.url === route.baseUrl)
|
|
148
|
+
);
|
|
149
|
+
const known = (provider?.models?.find((candidate) => candidate.id === route.model) ?? provider?.models?.find((candidate) => candidate.id === model))?.capabilities?.reasoning;
|
|
150
|
+
const inherited = parseModelReasoningCapabilities(known);
|
|
151
|
+
if (!input.profile && inherited?.toggleOnly) {
|
|
152
|
+
if (input.efforts || input.defaultEffort) return invalidReasoning(route);
|
|
153
|
+
return parseModelReasoningCapabilities({ ...inherited, ...input });
|
|
154
|
+
}
|
|
155
|
+
const gpt = getGptReasoningCapabilities(route.model);
|
|
156
|
+
const claude = route.authType === "anthropic" ? parseClaudeModelVersion(route.model) : void 0;
|
|
157
|
+
if (!inherited && !gpt && !claude && !input.profile)
|
|
158
|
+
return invalidReasoning(route);
|
|
159
|
+
const auth = route.authType;
|
|
160
|
+
let host = "";
|
|
161
|
+
try {
|
|
162
|
+
host = new URL(route.baseUrl ?? "").hostname.toLowerCase();
|
|
163
|
+
} catch {
|
|
164
|
+
host = "";
|
|
165
|
+
}
|
|
166
|
+
const dashscope = /(^|\.)(dashscope(?:-intl|-us)?\.aliyuncs\.com|alicloudapi\.com)$/.test(
|
|
167
|
+
host
|
|
168
|
+
) || /^token-plan\..+\.maas\.aliyuncs\.com$/.test(host);
|
|
169
|
+
const profile = input.profile ?? (auth === "gemini" || auth === "vertex-ai" ? "gemini" : auth === "openai-responses" ? "openai-reasoning" : auth === "openai" && isOpenRouterHostname(route) ? "openai-reasoning" : auth === "anthropic" ? model.includes("deepseek") ? "deepseek-anthropic" : claude && (claude.major > 4 || claude.major === 4 && claude.minor >= 6) ? "anthropic-adaptive" : "anthropic-manual" : model.startsWith("qwen") ? dashscope ? inherited?.disableField === "reasoning_effort" ? "dashscope-effort" : "dashscope-thinking" : "chat-template-thinking" : inherited?.disableField === "thinking" ? "deepseek-openai" : "openai-effort");
|
|
170
|
+
const protocol = profile === "gemini" ? "gemini" : profile.startsWith("anthropic-") || profile === "deepseek-anthropic" ? "anthropic" : "openai";
|
|
171
|
+
if (auth === "openai-responses" && profile !== "openai-reasoning" || auth && protocol !== (auth === "vertex-ai" ? "gemini" : auth === "openai-responses" ? "openai" : auth))
|
|
172
|
+
return invalidReasoning(route);
|
|
173
|
+
const toggleOnly = profile === "dashscope-thinking" || profile === "chat-template-thinking";
|
|
174
|
+
const disableField = !input.profile && inherited?.disableField || (toggleOnly ? "enable_thinking" : profile === "openai-effort" || profile === "dashscope-effort" ? "reasoning_effort" : "thinking");
|
|
175
|
+
const inheritedEfforts = inherited && !inherited.toggleOnly ? inherited.efforts : gpt?.efforts ?? (claude ? anthropicSupportedEffortTiers(route.model) : void 0);
|
|
176
|
+
const efforts = input.efforts ?? inheritedEfforts;
|
|
177
|
+
const inheritedDefault = inherited && !inherited.toggleOnly ? inherited.defaultEffort : gpt?.defaultEffort;
|
|
178
|
+
const defaultEffort = input.defaultEffort ?? (inheritedDefault && efforts ? clampReasoningEffort(inheritedDefault, efforts) : void 0);
|
|
179
|
+
if (toggleOnly && (input.efforts !== void 0 || input.defaultEffort !== void 0) || !toggleOnly && (!efforts || !defaultEffort) || profile === "gemini" && efforts?.some((tier) => tier === "xhigh" || tier === "max"))
|
|
180
|
+
return invalidReasoning(route);
|
|
181
|
+
const result = {
|
|
182
|
+
...input,
|
|
183
|
+
thinking: true,
|
|
184
|
+
profile,
|
|
185
|
+
toggleOnly,
|
|
186
|
+
disableField,
|
|
187
|
+
...toggleOnly ? {} : { efforts, defaultEffort },
|
|
188
|
+
...route.thinkingMandatory || inherited?.canDisable === false || gpt?.thinkingMandatory ? { canDisable: false } : {}
|
|
189
|
+
};
|
|
190
|
+
const parsed = parseModelReasoningCapabilities(result);
|
|
191
|
+
if (!parsed) return invalidReasoning(route);
|
|
192
|
+
return {
|
|
193
|
+
...parsed,
|
|
194
|
+
profile,
|
|
195
|
+
...gpt && input.defaultEffort === void 0 ? { defaultEnabled: gpt.defaultEnabled } : {}
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
__name(validateReasoningCapabilities, "validateReasoningCapabilities");
|
|
199
|
+
function captureReasoningSnapshot(models) {
|
|
200
|
+
return Object.freeze(
|
|
201
|
+
models.map(
|
|
202
|
+
(model) => Object.freeze({
|
|
203
|
+
id: model.id,
|
|
204
|
+
authType: model.authType,
|
|
205
|
+
baseUrl: model.baseUrl,
|
|
206
|
+
registryBaseUrl: model.registryBaseUrl,
|
|
207
|
+
reasoning: model.capabilities?.reasoning && typeof model.capabilities.reasoning === "object" ? Object.freeze({
|
|
208
|
+
...structuredClone(model.capabilities.reasoning),
|
|
209
|
+
..."efforts" in model.capabilities.reasoning && Array.isArray(model.capabilities.reasoning.efforts) ? {
|
|
210
|
+
efforts: Object.freeze([
|
|
211
|
+
...model.capabilities.reasoning.efforts
|
|
212
|
+
])
|
|
213
|
+
} : {}
|
|
214
|
+
}) : model.capabilities?.reasoning
|
|
215
|
+
})
|
|
216
|
+
)
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
__name(captureReasoningSnapshot, "captureReasoningSnapshot");
|
|
220
|
+
function resolveReasoningForModel(config, generation, model = generation.model, strict = false) {
|
|
221
|
+
let declaration;
|
|
222
|
+
if (generation.reasoningSnapshot) {
|
|
223
|
+
const rows = generation.reasoningSnapshot.filter(
|
|
224
|
+
(row2) => row2.authType === generation.authType && row2.id === model
|
|
225
|
+
);
|
|
226
|
+
const row = generation.reasoningRouteBaseUrl === null && model === generation.model ? rows.find((row2) => row2.registryBaseUrl === void 0) : typeof generation.reasoningRouteBaseUrl === "string" && model === generation.model ? rows.find(
|
|
227
|
+
(row2) => row2.registryBaseUrl === generation.reasoningRouteBaseUrl
|
|
228
|
+
) : rows.find((row2) => row2.registryBaseUrl === generation.baseUrl) ?? rows.find(
|
|
229
|
+
(row2) => row2.registryBaseUrl === void 0 && row2.baseUrl === generation.baseUrl
|
|
230
|
+
);
|
|
231
|
+
declaration = row?.reasoning;
|
|
232
|
+
} else {
|
|
233
|
+
declaration = generation.authType ? config?.getResolvedModelConfig?.(
|
|
234
|
+
generation.authType,
|
|
235
|
+
model,
|
|
236
|
+
generation.baseUrl
|
|
237
|
+
)?.capabilities?.reasoning : void 0;
|
|
238
|
+
}
|
|
239
|
+
return (strict ? validateReasoningCapabilities : resolveReasoningCapabilities)(
|
|
240
|
+
{
|
|
241
|
+
...generation,
|
|
242
|
+
model,
|
|
243
|
+
thinkingMandatory: model === generation.model ? generation.thinkingMandatory : void 0
|
|
244
|
+
},
|
|
245
|
+
declaration
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
__name(resolveReasoningForModel, "resolveReasoningForModel");
|
|
249
|
+
function getEffectiveReasoning(generation, resolved) {
|
|
250
|
+
if (!resolved) return generation.reasoning;
|
|
251
|
+
if (generation.reasoning === false && resolved.canDisable !== false)
|
|
252
|
+
return false;
|
|
253
|
+
const selected = generation.reasoning || void 0;
|
|
254
|
+
if (!selected && resolved.defaultEnabled === false && resolved.canDisable !== false)
|
|
255
|
+
return false;
|
|
256
|
+
if (resolved.toggleOnly)
|
|
257
|
+
return selected ?? (resolved.profile ? {} : void 0);
|
|
258
|
+
const effort = selected?.effort ?? resolved.defaultEffort;
|
|
259
|
+
return effort ? {
|
|
260
|
+
...selected,
|
|
261
|
+
effort: resolved.profile && REASONING_EFFORT_TIERS.includes(effort) ? clampReasoningEffort(effort, resolved.efforts) : effort
|
|
262
|
+
} : selected;
|
|
263
|
+
}
|
|
264
|
+
__name(getEffectiveReasoning, "getEffectiveReasoning");
|
|
265
|
+
|
|
266
|
+
// packages/core/src/core/outbound-dynamic-headers.ts
|
|
267
|
+
init_esbuild_shims();
|
|
268
|
+
var debugLogger = createDebugLogger("OUTBOUND_CORRELATION");
|
|
269
|
+
var PLACEHOLDERS = [{ token: "${session_id}", resolve: /* @__PURE__ */ __name((config) => config.getSessionId(), "resolve") }];
|
|
270
|
+
var SESSION_ID_PLACEHOLDER_PATTERN = /\$(?:session_id|O1CODE_SESSION_ID)(?!\w)|\$\{(?:session_id|O1CODE_SESSION_ID)\}/gi;
|
|
271
|
+
var warnedGateOff = /* @__PURE__ */ new Set();
|
|
272
|
+
function warnIfDynamicHeadersDisabled(customHeaders, config) {
|
|
273
|
+
try {
|
|
274
|
+
const names = Object.entries(customHeaders ?? {}).filter(
|
|
275
|
+
([, value]) => typeof value === "string" && hasDynamicPlaceholder(value)
|
|
276
|
+
).map(([name]) => name);
|
|
277
|
+
if (names.length === 0) return;
|
|
278
|
+
if (config.getOutboundAllowDynamicHeaderValues()) return;
|
|
279
|
+
const key = names.slice().sort().join(",");
|
|
280
|
+
if (warnedGateOff.has(key)) return;
|
|
281
|
+
warnedGateOff.add(key);
|
|
282
|
+
console.warn(
|
|
283
|
+
`customHeaders ${names.join(", ")} contain a runtime placeholder, but outboundCorrelation.allowDynamicHeaderValues is not enabled \u2014 the header(s) will not be sent. Set it to true in settings.json to allow the value to be filled in per request.`
|
|
284
|
+
);
|
|
285
|
+
} catch {
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
__name(warnIfDynamicHeadersDisabled, "warnIfDynamicHeadersDisabled");
|
|
289
|
+
function hasDynamicPlaceholder(value) {
|
|
290
|
+
return value.search(SESSION_ID_PLACEHOLDER_PATTERN) !== -1;
|
|
291
|
+
}
|
|
292
|
+
__name(hasDynamicPlaceholder, "hasDynamicPlaceholder");
|
|
293
|
+
function resolveDynamicHeaderValue(value, config) {
|
|
294
|
+
if (typeof value !== "string") return void 0;
|
|
295
|
+
if (!hasDynamicPlaceholder(value)) return value;
|
|
296
|
+
try {
|
|
297
|
+
if (!config.getOutboundAllowDynamicHeaderValues()) {
|
|
298
|
+
debugLogger.warn(
|
|
299
|
+
`Dropping a customHeaders value containing a runtime placeholder: outboundCorrelation.allowDynamicHeaderValues is not enabled.`
|
|
300
|
+
);
|
|
301
|
+
return void 0;
|
|
302
|
+
}
|
|
303
|
+
let expanded = value.replace(
|
|
304
|
+
SESSION_ID_PLACEHOLDER_PATTERN,
|
|
305
|
+
"${session_id}"
|
|
306
|
+
);
|
|
307
|
+
for (const { token, resolve } of PLACEHOLDERS) {
|
|
308
|
+
if (!expanded.includes(token)) continue;
|
|
309
|
+
const resolved = resolve(config);
|
|
310
|
+
if (!resolved) return void 0;
|
|
311
|
+
expanded = expanded.split(token).join(resolved);
|
|
312
|
+
}
|
|
313
|
+
return expanded;
|
|
314
|
+
} catch (error) {
|
|
315
|
+
debugLogger.warn(
|
|
316
|
+
`Unable to expand a customHeaders placeholder: ${error instanceof Error ? error.message : String(error)}`
|
|
317
|
+
);
|
|
318
|
+
return void 0;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
__name(resolveDynamicHeaderValue, "resolveDynamicHeaderValue");
|
|
322
|
+
function applyDynamicHeaderValues(headers, config) {
|
|
323
|
+
const pending = [];
|
|
324
|
+
headers.forEach((value, key) => {
|
|
325
|
+
if (hasDynamicPlaceholder(value)) pending.push([key, value]);
|
|
326
|
+
});
|
|
327
|
+
for (const [key, value] of pending) {
|
|
328
|
+
const resolved = resolveDynamicHeaderValue(value, config);
|
|
329
|
+
if (resolved === void 0) {
|
|
330
|
+
headers.delete(key);
|
|
331
|
+
} else {
|
|
332
|
+
headers.set(key, resolved);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
__name(applyDynamicHeaderValues, "applyDynamicHeaderValues");
|
|
337
|
+
function expandDynamicHeaders(customHeaders, config) {
|
|
338
|
+
if (!customHeaders) return {};
|
|
339
|
+
const expanded = {};
|
|
340
|
+
for (const [key, value] of Object.entries(customHeaders)) {
|
|
341
|
+
if (typeof value !== "string" || !hasDynamicPlaceholder(value)) continue;
|
|
342
|
+
const resolved = resolveDynamicHeaderValue(value, config);
|
|
343
|
+
if (resolved !== void 0) expanded[key] = resolved;
|
|
344
|
+
}
|
|
345
|
+
return expanded;
|
|
346
|
+
}
|
|
347
|
+
__name(expandDynamicHeaders, "expandDynamicHeaders");
|
|
348
|
+
|
|
349
|
+
export {
|
|
350
|
+
isOpenRouterHostname,
|
|
351
|
+
parseClaudeModelVersion,
|
|
352
|
+
anthropicSupportedEffortTiers,
|
|
353
|
+
resolveReasoningCapabilities,
|
|
354
|
+
validateReasoningCapabilities,
|
|
355
|
+
captureReasoningSnapshot,
|
|
356
|
+
resolveReasoningForModel,
|
|
357
|
+
getEffectiveReasoning,
|
|
358
|
+
warnIfDynamicHeadersDisabled,
|
|
359
|
+
hasDynamicPlaceholder,
|
|
360
|
+
applyDynamicHeaderValues,
|
|
361
|
+
expandDynamicHeaders
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* @license
|
|
365
|
+
* Copyright 2025 Qwen
|
|
366
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
367
|
+
*/
|
|
368
|
+
/**
|
|
369
|
+
* @license
|
|
370
|
+
* Copyright 2026 Qwen Team
|
|
371
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
372
|
+
*/
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
buildScheduledTaskRunPrompt,
|
|
5
5
|
scheduledTaskRunSessionName,
|
|
6
6
|
scheduledTaskRunSourceId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NPGATJZA.js";
|
|
8
|
+
import {
|
|
9
|
+
createSessionOrganizationService
|
|
10
|
+
} from "./chunk-FJB4BIQY.js";
|
|
8
11
|
import {
|
|
9
12
|
parseCallerSuppliedSessionId
|
|
10
13
|
} from "./chunk-KQCQCJBL.js";
|
|
11
|
-
import {
|
|
12
|
-
createSessionOrganizationService
|
|
13
|
-
} from "./chunk-QKTYOXBW.js";
|
|
14
14
|
import {
|
|
15
15
|
isInternalWorkspaceRuntime
|
|
16
16
|
} from "./chunk-H4HNRIFK.js";
|
|
17
17
|
import {
|
|
18
18
|
SCHEDULED_TASK_RUN_SOURCE_TYPE
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FL43SLBB.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionNotFoundError
|
|
22
22
|
} from "./chunk-HLQLPLTQ.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
SessionService,
|
|
31
31
|
stripTerminalControlSequences
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-32XL2YY2.js";
|
|
33
33
|
import {
|
|
34
34
|
MAX_JOBS,
|
|
35
35
|
nextDurableFireMs
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
customDeepMerge,
|
|
5
|
+
getSettingsSchema
|
|
6
|
+
} from "./chunk-M2HUTNAI.js";
|
|
3
7
|
import {
|
|
4
8
|
DEFAULT_DARK_THEME_NAME,
|
|
5
9
|
DEFAULT_LIGHT_THEME_NAME
|
|
6
10
|
} from "./chunk-EDRKBK4B.js";
|
|
7
11
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
getHomeEnvFallbackVars,
|
|
13
|
+
loadEnvironment,
|
|
14
|
+
preResolveHomeEnvOverrides
|
|
15
|
+
} from "./chunk-5AIPNJAB.js";
|
|
11
16
|
import {
|
|
12
17
|
CONSOLIDATED_DISABLE_KEYS,
|
|
13
18
|
V1_INDICATOR_KEYS,
|
|
@@ -15,22 +20,17 @@ import {
|
|
|
15
20
|
V1_TO_V2_PRESERVE_DISABLE_MAP,
|
|
16
21
|
V2_CONTAINER_KEYS
|
|
17
22
|
} from "./chunk-2JJLDP4A.js";
|
|
23
|
+
import {
|
|
24
|
+
ENV_CORRUPTED_PATH,
|
|
25
|
+
ENV_WAS_RECOVERED
|
|
26
|
+
} from "./chunk-7N5GDAXK.js";
|
|
18
27
|
import {
|
|
19
28
|
t
|
|
20
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KEBHJIGX.js";
|
|
21
30
|
import {
|
|
22
31
|
SUPPORTED_LANGUAGES,
|
|
23
32
|
getLanguageNameFromLocale
|
|
24
33
|
} from "./chunk-Q2V34OV7.js";
|
|
25
|
-
import {
|
|
26
|
-
getHomeEnvFallbackVars,
|
|
27
|
-
loadEnvironment,
|
|
28
|
-
preResolveHomeEnvOverrides
|
|
29
|
-
} from "./chunk-OJP3SONV.js";
|
|
30
|
-
import {
|
|
31
|
-
ENV_CORRUPTED_PATH,
|
|
32
|
-
ENV_WAS_RECOVERED
|
|
33
|
-
} from "./chunk-7N5GDAXK.js";
|
|
34
34
|
import {
|
|
35
35
|
parseExecutionSandboxSettings,
|
|
36
36
|
readBareModeOperatorSettings,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
isWorkspaceTrusted,
|
|
47
47
|
updateSettingsFilePreservingFormat
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5ZO4TG64.js";
|
|
49
49
|
import {
|
|
50
50
|
require_strip_json_comments
|
|
51
51
|
} from "./chunk-YCZIOHKD.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
exportSavedCredentials,
|
|
57
57
|
stripRuntimeSnapshotPrefix
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-IKYYF5PP.js";
|
|
59
59
|
import {
|
|
60
60
|
createDebugLogger
|
|
61
61
|
} from "./chunk-UK2KIU2V.js";
|
|
@@ -2,37 +2,37 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
appEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VCQ6UT2V.js";
|
|
6
|
+
import {
|
|
7
|
+
loadUndici
|
|
8
|
+
} from "./chunk-7DQWDZUQ.js";
|
|
6
9
|
import {
|
|
7
10
|
CUSTOM_SANDBOX_IMAGE_ENV_VAR,
|
|
8
11
|
HOST_UPDATE_RELAUNCH_ENV_VAR,
|
|
9
12
|
SKIP_UPDATE_CHECK_ENV_VAR,
|
|
10
13
|
requestUpdateOnExit
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
loadUndici
|
|
14
|
-
} from "./chunk-7DQWDZUQ.js";
|
|
14
|
+
} from "./chunk-GSMPZG6N.js";
|
|
15
15
|
import {
|
|
16
16
|
IdeClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-32XL2YY2.js";
|
|
18
|
+
import {
|
|
19
|
+
initializeTelemetry
|
|
20
|
+
} from "./chunk-SPTU3FVH.js";
|
|
21
|
+
import {
|
|
22
|
+
recordStartupEvent
|
|
23
|
+
} from "./chunk-YQLAMZOT.js";
|
|
18
24
|
import {
|
|
19
25
|
getAllProviderBaseUrls
|
|
20
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IKYYF5PP.js";
|
|
21
27
|
import {
|
|
22
28
|
detectRuntime,
|
|
23
29
|
getOrCreateSharedDispatcher,
|
|
24
30
|
preloadRuntimeFetchModule,
|
|
25
31
|
redactProxyCredentials
|
|
26
32
|
} from "./chunk-HDGYCLNB.js";
|
|
27
|
-
import {
|
|
28
|
-
initializeTelemetry
|
|
29
|
-
} from "./chunk-ER3EHNTV.js";
|
|
30
33
|
import {
|
|
31
34
|
createDebugLogger
|
|
32
35
|
} from "./chunk-UK2KIU2V.js";
|
|
33
|
-
import {
|
|
34
|
-
recordStartupEvent
|
|
35
|
-
} from "./chunk-YQLAMZOT.js";
|
|
36
36
|
import {
|
|
37
37
|
init_esbuild_shims
|
|
38
38
|
} from "./chunk-S2467S6L.js";
|
|
@@ -236,11 +236,11 @@ function startPostRenderPrefetches(config, settings, options = {}) {
|
|
|
236
236
|
{ updateEventEmitter },
|
|
237
237
|
{ t }
|
|
238
238
|
] = await Promise.all([
|
|
239
|
-
import("./updateCheck-
|
|
240
|
-
import("./handleAutoUpdate-
|
|
241
|
-
import("./installationInfo-
|
|
239
|
+
import("./updateCheck-XCRLLMAH.js"),
|
|
240
|
+
import("./handleAutoUpdate-OLVCIBDN.js"),
|
|
241
|
+
import("./installationInfo-U5NUDGQV.js"),
|
|
242
242
|
import("./updateEventEmitter-7FFRBWJB.js"),
|
|
243
|
-
import("./i18n-
|
|
243
|
+
import("./i18n-NXRBYDXM.js")
|
|
244
244
|
]);
|
|
245
245
|
const updateCheckSkippedMessage = /* @__PURE__ */ __name((error) => t("Update check skipped ({{reason}}) \u2014 run /update to retry.", {
|
|
246
246
|
reason: describeUpdateCheckFailure(error)
|
|
@@ -317,7 +317,7 @@ ${t(
|
|
|
317
317
|
state: "connecting"
|
|
318
318
|
});
|
|
319
319
|
try {
|
|
320
|
-
const { connectIdeForStartup } = await import("./initializer-
|
|
320
|
+
const { connectIdeForStartup } = await import("./initializer-NGPV43CI.js");
|
|
321
321
|
await withTimeout(
|
|
322
322
|
connectIdeForStartup(config),
|
|
323
323
|
"ide_connect",
|
|
@@ -341,7 +341,7 @@ ${t(
|
|
|
341
341
|
}
|
|
342
342
|
if (config.isInteractive()) {
|
|
343
343
|
runDeferredTask("background_housekeeping", async () => {
|
|
344
|
-
const { startBackgroundHousekeeping } = await import("./scheduler-
|
|
344
|
+
const { startBackgroundHousekeeping } = await import("./scheduler-W5XJHCSY.js");
|
|
345
345
|
startBackgroundHousekeeping(config, settings);
|
|
346
346
|
});
|
|
347
347
|
}
|
|
@@ -99,7 +99,7 @@ async function probeShellSandbox(policy, signal = new AbortController().signal)
|
|
|
99
99
|
await mkdir(policy.state, { recursive: true, mode: 448 });
|
|
100
100
|
if (realpathSync(policy.state) !== policy.state)
|
|
101
101
|
throw new Error("Sandbox state directory changed after admission.");
|
|
102
|
-
const { executeBwrap } = await import("./bwrap-execution-
|
|
102
|
+
const { executeBwrap } = await import("./bwrap-execution-FIGUBZCN.js");
|
|
103
103
|
const handle = await executeBwrap(
|
|
104
104
|
policy,
|
|
105
105
|
{
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
|
+
buildOutboundFetch,
|
|
4
5
|
o1CodeUserAgent
|
|
5
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TL23ZRID.js";
|
|
6
7
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
getEffectiveReasoning,
|
|
9
|
+
isOpenRouterHostname,
|
|
10
|
+
resolveReasoningForModel
|
|
11
|
+
} from "./chunk-TPHHBX2V.js";
|
|
12
|
+
import {
|
|
13
|
+
OpenAI
|
|
14
|
+
} from "./chunk-KMWAEX43.js";
|
|
9
15
|
import {
|
|
10
16
|
DASHSCOPE_PROXY_BASE_URL,
|
|
11
17
|
DEFAULT_DASHSCOPE_BASE_URL,
|
|
12
18
|
DEFAULT_MAX_RETRIES,
|
|
13
19
|
ORGANIZAONE_CLIENT_HEADERS,
|
|
14
|
-
getEffectiveReasoning,
|
|
15
|
-
isOpenRouterHostname,
|
|
16
20
|
isOrganizaOneBaseUrl,
|
|
17
|
-
|
|
21
|
+
reachesOrganizaOne,
|
|
18
22
|
resolveRequestTimeout
|
|
19
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IKYYF5PP.js";
|
|
20
24
|
import {
|
|
21
25
|
REASONING_EFFORT_TIERS,
|
|
22
26
|
clampReasoningEffort,
|
|
@@ -28,16 +32,13 @@ import {
|
|
|
28
32
|
isTieredEffortWireModel,
|
|
29
33
|
parsePositiveIntegerEnvValue,
|
|
30
34
|
tokenLimit
|
|
31
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-72EBG4FJ.js";
|
|
32
36
|
import {
|
|
33
37
|
buildRuntimeFetchOptions
|
|
34
38
|
} from "./chunk-HDGYCLNB.js";
|
|
35
39
|
import {
|
|
36
40
|
createDebugLogger
|
|
37
41
|
} from "./chunk-UK2KIU2V.js";
|
|
38
|
-
import {
|
|
39
|
-
OpenAI
|
|
40
|
-
} from "./chunk-KMWAEX43.js";
|
|
41
42
|
import {
|
|
42
43
|
init_esbuild_shims
|
|
43
44
|
} from "./chunk-S2467S6L.js";
|
|
@@ -118,7 +119,10 @@ var DefaultOpenAICompatibleProvider = class {
|
|
|
118
119
|
fetch: buildOutboundFetch(
|
|
119
120
|
runtimeOptions?.fetch,
|
|
120
121
|
this.cliConfig,
|
|
121
|
-
this.contentGeneratorConfig.customHeaders
|
|
122
|
+
this.contentGeneratorConfig.customHeaders,
|
|
123
|
+
{
|
|
124
|
+
recordRateLimits: reachesOrganizaOne(this.contentGeneratorConfig)
|
|
125
|
+
}
|
|
122
126
|
)
|
|
123
127
|
});
|
|
124
128
|
}
|