@organizaone/o1-code 0.22.2 → 0.23.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/configuration/model-providers.md +58 -0
- package/chunks/{MaxSizedBox-H6TTYZHO.js → MaxSizedBox-27XXPAQA.js} +66 -60
- package/chunks/{StandaloneSessionPicker-G5FLW7TR.js → StandaloneSessionPicker-7JDLA7AU.js} +87 -81
- package/chunks/{acp-subagent-executor-PFIDAFOD.js → acp-subagent-executor-5C7UDO7D.js} +70 -64
- package/chunks/{acpAgent-4PUZMTSI.js → acpAgent-LZLF6BDI.js} +206 -199
- package/chunks/{agent-XS2VGVGO.js → agent-ZI5SNX4V.js} +49 -44
- package/chunks/{agent-headless-474ZYFSJ.js → agent-headless-NC3BEGWL.js} +49 -44
- package/chunks/{all-providers-67KTP3MN.js → all-providers-HWBWMDS4.js} +7 -5
- package/chunks/{anthropicContentGenerator-RTEGRYPV.js → anthropicContentGenerator-ZVTMFRMJ.js} +45 -31
- package/chunks/{bridge-HPTKSOIC.js → bridge-FXDALV5R.js} +71 -65
- package/chunks/bwrap-execution-A5QZJK2I.js +2 -2
- package/chunks/{chunk-4T3CEDPG.js → chunk-27QMKVHR.js} +11 -11
- package/chunks/{chunk-PUBQDZLP.js → chunk-2NTOADNA.js} +1 -1
- package/chunks/{chunk-ASQLIG2L.js → chunk-2OEBEF5L.js} +13 -13
- package/chunks/{chunk-35IZ2AEV.js → chunk-2ORYKT6E.js} +14 -14
- package/chunks/{chunk-K44D6MLS.js → chunk-3R3BFEXO.js} +398 -337
- package/chunks/{chunk-44YL3A4I.js → chunk-3SIUBEAC.js} +1 -1
- package/chunks/{chunk-YEG2VKSR.js → chunk-4KDMTAGY.js} +13 -13
- package/chunks/{chunk-XA3N5TO5.js → chunk-4KLFLD6W.js} +1 -1
- package/chunks/{chunk-LSY2TNVO.js → chunk-4PTZBGHX.js} +4 -4
- package/chunks/{chunk-OJ2CVNVP.js → chunk-5IGBH2BT.js} +1 -1
- package/chunks/{chunk-NUF3FLRS.js → chunk-5TGVTMA4.js} +4 -4
- package/chunks/{chunk-SLH747HE.js → chunk-5WCEM6DZ.js} +1 -1
- package/chunks/{chunk-LZCNINKB.js → chunk-5YC3SA73.js} +4 -4
- package/chunks/{chunk-3CJZHWKH.js → chunk-5ZVBCI7I.js} +3 -3
- package/chunks/{chunk-ZPJTYCOY.js → chunk-63GQIGT2.js} +2 -2
- package/chunks/{chunk-ROE3Y42D.js → chunk-6JWJ7VIG.js} +4 -4
- package/chunks/{chunk-7FFS7D63.js → chunk-6O7MP53X.js} +4 -4
- package/chunks/{chunk-HEFYYQ5F.js → chunk-6RJBK4RT.js} +7 -7
- package/chunks/{chunk-C6O3NG4T.js → chunk-6SEKLUZU.js} +1 -1
- package/chunks/{chunk-WCPTHHFI.js → chunk-6WR3DWHA.js} +1 -1
- package/chunks/{chunk-FI7LCEJ7.js → chunk-A54HR2DE.js} +77 -77
- package/chunks/{chunk-PFBUKEWV.js → chunk-A6GSNSDY.js} +2 -2
- package/chunks/{chunk-32722SNN.js → chunk-A7JWEUTB.js} +1 -1
- package/chunks/{chunk-AFXPLQYA.js → chunk-AEJFNK44.js} +11 -101
- package/chunks/{chunk-TD2B7LOS.js → chunk-AI5ZWMKL.js} +1 -1
- package/chunks/{chunk-LO6VR36F.js → chunk-AJDAOH4D.js} +1 -1
- package/chunks/{chunk-ARKI4LOD.js → chunk-AP6XDBGI.js} +3 -3
- package/chunks/{chunk-SU6K5JRJ.js → chunk-AXM2QH6N.js} +1 -1
- package/chunks/{chunk-IFJ3RGFY.js → chunk-B4CCJMG6.js} +20 -66
- package/chunks/chunk-B4K3VBFF.js +300 -0
- package/chunks/{chunk-Q6IDKPJW.js → chunk-B5GTZ6E6.js} +1 -1
- package/chunks/{chunk-A55LB5TM.js → chunk-BGAORGSF.js} +1 -1
- package/chunks/{chunk-XGXVMNHI.js → chunk-CFXFYRCP.js} +4 -4
- package/chunks/chunk-CNXTYK25.js +62 -0
- package/chunks/{chunk-FXSQ3EB2.js → chunk-CONWBF63.js} +3 -3
- package/chunks/{chunk-GDOMZBF3.js → chunk-CRJFZOU2.js} +1 -1
- package/chunks/{chunk-OJAGNSHH.js → chunk-EE35GR3R.js} +5 -5
- package/chunks/{chunk-3J63UVMG.js → chunk-ELS2BV24.js} +1 -1
- package/chunks/{chunk-SHOCUW3R.js → chunk-EMSUJGLD.js} +3 -3
- package/chunks/{chunk-BPZ6GQBH.js → chunk-ERL2SJHW.js} +2 -2
- package/chunks/chunk-EYKEQPKF.js +27 -0
- package/chunks/{chunk-Y34E6WY7.js → chunk-F2LYJ3ZD.js} +19 -19
- package/chunks/{chunk-PT32HMCN.js → chunk-F5GPRGLO.js} +1 -1
- package/chunks/{chunk-B4WT73ZC.js → chunk-FLJEZNV4.js} +2 -2
- package/chunks/{chunk-GLKPOCPH.js → chunk-FMN2VSEH.js} +3 -3
- package/chunks/{chunk-EVIGOLAL.js → chunk-G376S7VI.js} +1 -1
- package/chunks/{chunk-JHRVJBV5.js → chunk-GM7RKZZ4.js} +4 -4
- package/chunks/{chunk-KL5NEBVZ.js → chunk-GPDZESAY.js} +5 -5
- package/chunks/{chunk-HLBNALL4.js → chunk-H62ST6JL.js} +1 -1
- package/chunks/{chunk-I3OOIGJI.js → chunk-HFDXNYOL.js} +3 -3
- package/chunks/{chunk-IC57EPC7.js → chunk-HQROPADY.js} +18 -0
- package/chunks/{chunk-2GNKUQNV.js → chunk-ICYAPJ5S.js} +102 -102
- package/chunks/{chunk-DNROOYR3.js → chunk-IN65BYCX.js} +2 -2
- package/chunks/{chunk-3HQMSMNA.js → chunk-ISARFBOT.js} +8 -8
- package/chunks/{chunk-EU7GXSE7.js → chunk-ISRDI3GT.js} +11 -11
- package/chunks/{chunk-73K63OUJ.js → chunk-ISRM33KJ.js} +8 -8
- package/chunks/{chunk-TZ7PFWVT.js → chunk-J3RKZFKI.js} +2 -92
- package/chunks/{chunk-F5JXVZVJ.js → chunk-J6IO5FRE.js} +2 -2
- package/chunks/{chunk-FLIJQ7IC.js → chunk-JJM6IQIE.js} +33 -258
- package/chunks/{chunk-ZUBCKLDM.js → chunk-JKLZSD6Z.js} +16 -12
- package/chunks/{chunk-7O3XB3FJ.js → chunk-JPTQB5NW.js} +38 -38
- package/chunks/{chunk-4ABCTDVK.js → chunk-JVRNE7NT.js} +8 -8
- package/chunks/{chunk-VMLVJOQL.js → chunk-K3UU55BI.js} +2 -2
- package/chunks/{chunk-EOIZZLQD.js → chunk-KFZPMKWE.js} +1 -1
- package/chunks/{chunk-UUAWQAX6.js → chunk-KLG5EXFK.js} +5 -5
- package/chunks/{chunk-6MXIK5CK.js → chunk-KPPSQ5EU.js} +1 -1
- package/chunks/{chunk-63XITVIE.js → chunk-L3X3Z5AT.js} +24 -24
- package/chunks/{chunk-FT7HBT5S.js → chunk-LG6LR2P4.js} +2 -2
- package/chunks/{chunk-2F3GZ6WG.js → chunk-LMFAYXBU.js} +1 -1
- package/chunks/{chunk-54DBAFQ2.js → chunk-LNCMGJ5H.js} +1 -1
- package/chunks/{chunk-5OKLHC2S.js → chunk-LQV2HN6P.js} +1 -1
- package/chunks/{chunk-7MFRXLVG.js → chunk-MNR3HCZD.js} +2 -2
- package/chunks/{chunk-JKXGHDQ2.js → chunk-MRDYGSEU.js} +1 -1
- package/chunks/{chunk-JFKJW3BP.js → chunk-NTQWEEPL.js} +1 -1
- package/chunks/{chunk-7ADYEHKM.js → chunk-OCGMQ7V4.js} +1 -1
- package/chunks/{chunk-YRKUDWZP.js → chunk-OE5CWJEX.js} +2 -2
- package/chunks/{chunk-XZDGZX34.js → chunk-OHUMXUCB.js} +7 -7
- package/chunks/{chunk-IRP7MQRE.js → chunk-PCV2FQHN.js} +11 -11
- package/chunks/{chunk-STL6XNJK.js → chunk-PMPABMDI.js} +9 -9
- package/chunks/{chunk-SKQECA3Y.js → chunk-Q5CTSLWK.js} +1 -1
- package/chunks/{chunk-RBZFW23K.js → chunk-QSRSLLA5.js} +7 -7
- package/chunks/{chunk-PVYRIVM3.js → chunk-QYJB4I22.js} +1 -1
- package/chunks/{chunk-XHQEB4WW.js → chunk-R75USKXV.js} +4 -4
- package/chunks/{chunk-GXHLZHKS.js → chunk-RLIINKKI.js} +1 -1
- package/chunks/{chunk-D24NFPPO.js → chunk-RNWMJNLI.js} +7 -5
- package/chunks/{chunk-DNFPKNWM.js → chunk-RWUZRVUT.js} +2 -2
- package/chunks/{chunk-CQ33RPSY.js → chunk-U4XPMMLI.js} +15 -15
- package/chunks/{chunk-3OLRYJYM.js → chunk-UB5WMNPW.js} +10 -10
- package/chunks/{chunk-6XZZIE7V.js → chunk-UO32G56K.js} +7 -7
- package/chunks/{chunk-SN3M4SEK.js → chunk-UPEEU7KI.js} +51 -49
- package/chunks/{chunk-YXTBS65N.js → chunk-UPMLP2Z5.js} +9 -2
- package/chunks/chunk-V24FMEXL.js +203 -0
- package/chunks/{chunk-TAHFZVR5.js → chunk-VBMWQMDE.js} +8 -8
- package/chunks/chunk-VTIYMCRG.js +128 -0
- package/chunks/{chunk-TYYTQIEZ.js → chunk-W5XYWVXE.js} +1 -1
- package/chunks/chunk-WDBSTICZ.js +106 -0
- package/chunks/{chunk-62T6BNFW.js → chunk-WE6BPBQP.js} +6 -6
- package/chunks/{chunk-SPRNR2PU.js → chunk-WIWIJEJP.js} +2 -2
- package/chunks/{chunk-X2SSZR6M.js → chunk-WSZLSFAL.js} +34 -28
- package/chunks/chunk-WXIQKOFD.js +136 -0
- package/chunks/{chunk-IUDP2ML3.js → chunk-XBUIQQXG.js} +3 -3
- package/chunks/{chunk-GW7QA3HN.js → chunk-XEVNNDMS.js} +3 -3
- package/chunks/{chunk-DGEOQOYK.js → chunk-Y5QVFNPV.js} +6 -6
- package/chunks/{chunk-MVWEGM3N.js → chunk-YASLANLE.js} +1 -1
- package/chunks/{chunk-COBKDL54.js → chunk-YHM4E6YI.js} +3 -3
- package/chunks/{chunk-GM2WNDZ5.js → chunk-YPTR7ZFB.js} +75 -59
- package/chunks/{chunk-EUIN36RL.js → chunk-Z2SHHAO5.js} +1 -1
- package/chunks/{chunk-SHADJNT6.js → chunk-Z563JBRI.js} +1 -1
- package/chunks/{chunk-6N5O34AT.js → chunk-ZAPFSBSC.js} +13 -13
- package/chunks/{chunk-KSQ3A4MU.js → chunk-ZIQ3RCYA.js} +11 -11
- package/chunks/{chunk-LSRS3YN5.js → chunk-ZKYDNULB.js} +1 -1
- package/chunks/{chunk-LWQVH7RG.js → chunk-ZPAYRCCC.js} +3 -3
- package/chunks/{chunk-ZBP2DKL7.js → chunk-ZV2H47SC.js} +5 -5
- package/chunks/{chunk-P3H5PNSO.js → chunk-ZVYEHMGP.js} +1 -1
- package/chunks/{codex-subagent-executor-CVPJBY7H.js → codex-subagent-executor-TUG7UEJG.js} +70 -64
- package/chunks/{contextCommand-VQP42E45.js → contextCommand-VMUEO5SI.js} +68 -62
- package/chunks/{core-runtime-UGTGVETQ.js → core-runtime-CV6DO2BT.js} +72 -66
- package/chunks/{create-sub-session-W7HDHA47.js → create-sub-session-M7EUM75T.js} +69 -63
- package/chunks/{daemon-git-worktree-guard-OYHWZ4DT.js → daemon-git-worktree-guard-2G76FIUG.js} +66 -60
- package/chunks/{daemon-status-provider-BPA4OMKT.js → daemon-status-provider-QOR4L7E5.js} +76 -70
- package/chunks/{daemon-trust-policy-LR3O2LHO.js → daemon-trust-policy-CYFTEH4U.js} +73 -67
- package/chunks/{daemon-trust-policy-monitor-XYJBQS5K.js → daemon-trust-policy-monitor-PFHWELJD.js} +73 -67
- package/chunks/{deferred-core-runtime-2JRX7S37.js → deferred-core-runtime-Z26VVWVX.js} +69 -63
- package/chunks/{edit-C5EXC227.js → edit-LHLIDK3S.js} +51 -46
- package/chunks/{en-QBY42TC3.js → en-MQICGJBA.js} +10 -0
- package/chunks/{enter-worktree-FY6Y6APX.js → enter-worktree-FIO6VPWS.js} +6 -6
- package/chunks/{enterPlanMode-LRUOZ2DX.js → enterPlanMode-IQK2RIT2.js} +51 -46
- package/chunks/{environment-AK5W47CA.js → environment-PYAXVHAN.js} +69 -63
- package/chunks/{errors-V77HGFV3.js → errors-EAJZYSTA.js} +68 -62
- package/chunks/execution-sandbox-config-2RI6A7VE.js +2 -2
- package/chunks/{execution-tool-NK2ST2RX.js → execution-tool-Z6N2XKZI.js} +52 -47
- package/chunks/{execution-worker-QO36YMNT.js → execution-worker-Z6BPII7C.js} +59 -54
- package/chunks/{exit-worktree-Q3ZHCBYN.js → exit-worktree-3UU4SS47.js} +6 -6
- package/chunks/{exitPlanMode-OPS5BP27.js → exitPlanMode-JGOBW34Q.js} +49 -44
- package/chunks/{fast-path-SAXQN2PO.js → fast-path-NS4FKBES.js} +2 -2
- package/chunks/fast-path-settings-FIMIXD3V.js +1 -1
- package/chunks/{foreground-runner-WUF5YIVW.js → foreground-runner-OOEEIVUP.js} +75 -69
- package/chunks/gateway-content-generator-HKBMHBLQ.js +463 -0
- package/chunks/gateway-models-WD5T6UM7.js +134 -0
- package/chunks/gateway-transfer-47WP3EUB.js +27 -0
- package/chunks/{glob-EAIWIACU.js → glob-I3H7VRYE.js} +50 -45
- package/chunks/{goal-tools-IM4K7YYV.js → goal-tools-54MEWICX.js} +49 -44
- package/chunks/{grep-JBR55JCA.js → grep-5HGH34M6.js} +2 -2
- package/chunks/{handleAutoUpdate-XGWLFCZ3.js → handleAutoUpdate-KFKBIB43.js} +72 -66
- package/chunks/{i18n-A3JWISCI.js → i18n-F6DJUIQP.js} +67 -61
- package/chunks/{image-gen-KX5VPAGI.js → image-gen-WGMRL47H.js} +2 -2
- package/chunks/{initializer-WF7GJJSN.js → initializer-5PZXULW4.js} +73 -67
- package/chunks/{installationInfo-UGZLB5DE.js → installationInfo-O3HIX7B2.js} +66 -60
- package/chunks/{list-XL33NYFQ.js → list-DYAKGAST.js} +75 -69
- package/chunks/{llm-5ZIFZWYM.js → llm-YY7F675E.js} +124 -117
- package/chunks/{llm-content-generator-IP6THV2F.js → llm-content-generator-Z75TNGTQ.js} +14 -11
- package/chunks/{loadedSettingsAdapter-BBOBGOFY.js → loadedSettingsAdapter-MRZD4D7D.js} +73 -67
- package/chunks/{local-execution-environment-OHZ6JHBJ.js → local-execution-environment-DP37VPGH.js} +59 -54
- package/chunks/{loggingContentGenerator-ZB6YBQ4A.js → loggingContentGenerator-PWXVR62R.js} +62 -57
- package/chunks/{ls-RZYAZPVC.js → ls-SSSPTK7X.js} +3 -3
- package/chunks/{managed-npm-update-U2LTQRW5.js → managed-npm-update-D42GTYXT.js} +70 -64
- package/chunks/{mcp-7TSDK7XG.js → mcp-3SGMUX76.js} +73 -67
- package/chunks/{memory-side-query-DNXJZB7B.js → memory-side-query-XFFIF7UX.js} +1 -1
- package/chunks/{model-call-collection-Q6XLRBD4.js → model-call-collection-ZLUY4ZPF.js} +2 -2
- package/chunks/{model-configuration-YHPN6XLJ.js → model-configuration-MLC7FUK7.js} +74 -68
- package/chunks/{modelConfigUtils-KXEA5X5L.js → modelConfigUtils-E63K4FIT.js} +68 -62
- package/chunks/{monitor-YUS5UHUB.js → monitor-GXNUEY3P.js} +49 -44
- package/chunks/{nonInteractiveCli-H5OSIGXO.js → nonInteractiveCli-4NO53VRG.js} +113 -107
- package/chunks/{nonInteractiveToolExecutor-KOOCZSZM.js → nonInteractiveToolExecutor-Y7TJUHAX.js} +50 -45
- package/chunks/{notebook-edit-XYZLSPWF.js → notebook-edit-DXAOFD2H.js} +50 -45
- package/chunks/{omni-QS5RRGPB.js → omni-WVNDCU2V.js} +24 -19
- package/chunks/{openaiContentGenerator-37E2A7VN.js → openaiContentGenerator-Z5W2NXTC.js} +46 -39
- package/chunks/{openaiResponsesContentGenerator-PMCEAG55.js → openaiResponsesContentGenerator-7TMC5LLC.js} +20 -14
- package/chunks/{processUtils-CQXO2K7O.js → processUtils-NW3I5Y4Q.js} +2 -2
- package/chunks/{prompt-terminal-ledger-ZRCMVONU.js → prompt-terminal-ledger-LXLGVBXI.js} +67 -61
- package/chunks/{pt-DHKQQO6C.js → pt-EZL4H2AB.js} +10 -0
- package/chunks/{reactive-degrade-ZJ3JVKAL.js → reactive-degrade-JI4TV7MU.js} +18 -13
- package/chunks/{read-file-MOY3AEWH.js → read-file-BROAVJMY.js} +10 -9
- package/chunks/{record-artifact-LAQGMYDN.js → record-artifact-NO2DU63L.js} +3 -3
- package/chunks/record-source-NRW6TYWW.js +1 -1
- package/chunks/{report-findings-OVUUKGUX.js → report-findings-S6QO46V2.js} +4 -4
- package/chunks/request-shutdown-MXKAXR2D.js +1 -1
- package/chunks/{resumeHistoryUtils-HATXAZWB.js → resumeHistoryUtils-FC6B6ELG.js} +72 -66
- package/chunks/{ripGrep-DRZ55VHF.js → ripGrep-L6STRULU.js} +16 -15
- package/chunks/{run-o1-code-serve-QG3EUGCC.js → run-o1-code-serve-CFM6K42B.js} +55 -55
- package/chunks/{sandboxConfig-67KD25RA.js → sandboxConfig-VSWWIAFG.js} +67 -61
- package/chunks/{scheduled-tasks-SUK36YBV.js → scheduled-tasks-EJI5QZHI.js} +74 -68
- package/chunks/{scheduler-VGATQHDI.js → scheduler-QQDWDBAC.js} +68 -62
- package/chunks/{sdk-exporters-grpc-U5H74BEL.js → sdk-exporters-grpc-FX5C3IEA.js} +2 -2
- package/chunks/{sdk-exporters-http-34H6REMF.js → sdk-exporters-http-66WPQ7UY.js} +6 -6
- package/chunks/{sdk-impl-5OTPCVXV.js → sdk-impl-B4WTXTDQ.js} +9 -9
- package/chunks/send-message-KFUNQQFA.js +1 -1
- package/chunks/{serve-4JYKC5U3.js → serve-SHJLGEDC.js} +73 -67
- package/chunks/{server-ID2MQUOZ.js → server-PUNNQEFJ.js} +267 -260
- package/chunks/{session-SBJFEMA7.js → session-22YESIKO.js} +117 -111
- package/chunks/{session-FEM6CGKX.js → session-XCQPLG6U.js} +3 -2
- package/chunks/{session-attachments-root-ILVWUB6H.js → session-attachments-root-25USCQWT.js} +66 -60
- package/chunks/{session-pr-refresh-PMD3YR6L.js → session-pr-refresh-LQAHIWKK.js} +74 -68
- package/chunks/{settings-7BOOCLET.js → settings-LNHRCVW6.js} +72 -66
- package/chunks/{shell-PWH465OV.js → shell-CDFSFLKN.js} +49 -44
- package/chunks/{skill-6CYVI2NR.js → skill-YBEF77DP.js} +21 -20
- package/chunks/{skill-settings-5HIZWK7Y.js → skill-settings-WMMDNW4U.js} +73 -67
- package/chunks/{spawnChannel-OOMVR63F.js → spawnChannel-FZCIKG4Z.js} +69 -63
- package/chunks/{standalone-update-MXJDDVFO.js → standalone-update-ZXELWWF3.js} +68 -62
- package/chunks/{startInteractiveUI-IHLZORH3.js → startInteractiveUI-HOOCMWEC.js} +1229 -1042
- package/chunks/{supervisor-runner-I3KOH7AT.js → supervisor-runner-5ZIXK3IK.js} +3 -3
- package/chunks/task-create-EHGTZMSD.js +2 -2
- package/chunks/task-update-LBXI5OVE.js +2 -2
- package/chunks/{team-create-NNXUJHYM.js → team-create-6ECQJZLF.js} +51 -46
- package/chunks/{team-plan-approval-NGGXGRN5.js → team-plan-approval-DBWFFQFM.js} +49 -44
- package/chunks/{terminal-image-renderer-QPJZUQOY.js → terminal-image-renderer-A6Y2HVBS.js} +66 -60
- package/chunks/{theme-manager-YN3VTWUS.js → theme-manager-OCW6TMNQ.js} +66 -60
- package/chunks/tool-call-V225426S.js +1 -1
- package/chunks/{tool-result-media-ELNVF7HV.js → tool-result-media-XTX26N6J.js} +19 -14
- package/chunks/{tool-search-3MQVPZN2.js → tool-search-HOXIUKWC.js} +19 -18
- package/chunks/{total-session-admission-RQ2GWA4J.js → total-session-admission-WXJ3YEQ5.js} +71 -65
- package/chunks/{trustedFolders-ANMISMAZ.js → trustedFolders-XCMOSOO7.js} +68 -62
- package/chunks/{update-relaunch-ANCIYSER.js → update-relaunch-GVR62LH2.js} +5 -5
- package/chunks/{updateCheck-QGDY5DY2.js → updateCheck-LIM7QN56.js} +71 -65
- package/chunks/{upload-config-V6CJBH2Z.js → upload-config-RMBZH5CN.js} +13 -8
- package/chunks/{useAutoAcceptIndicator-H4PUESJW.js → useAutoAcceptIndicator-UD2RHMEV.js} +76 -70
- package/chunks/{validateNonInterActiveAuth-3D6LYNKP.js → validateNonInterActiveAuth-XWKIVK6H.js} +110 -104
- package/chunks/{version-M7PIODKT.js → version-3I52C43L.js} +1 -1
- package/chunks/{web-fetch-VJSQST7P.js → web-fetch-3HPAIZLZ.js} +15 -14
- package/chunks/{web-search-CVFACVJV.js → web-search-IGWJKQL6.js} +14 -9
- package/chunks/{workflow-O3XZL3Z4.js → workflow-WPYWSNRI.js} +50 -45
- package/chunks/{workspace-providers-status-M47T3M22.js → workspace-providers-status-L47APRS5.js} +79 -73
- package/chunks/{workspace-registration-store-HGSY3RON.js → workspace-registration-store-TAJMFLYS.js} +1 -1
- package/chunks/{workspace-registry-LYEI3DR3.js → workspace-registry-OTHD5ACV.js} +71 -65
- package/chunks/{workspace-runtime-coordinator-OHXZ4IPK.js → workspace-runtime-coordinator-HUTZGMRE.js} +72 -66
- package/chunks/{workspace-service-VII7ZCF7.js → workspace-service-SHVY3QVN.js} +77 -71
- package/chunks/{workspace-skills-status-7GG3A3TL.js → workspace-skills-status-HIYL5CH4.js} +76 -70
- package/chunks/{workspace-trust-reconciler-GGKNXRVC.js → workspace-trust-reconciler-HGE6PGQR.js} +80 -74
- package/chunks/{write-file-K5V3EMTE.js → write-file-PNL2YVFB.js} +52 -47
- package/chunks/{zoom-image-TROZVSMN.js → zoom-image-GUMY7SRT.js} +10 -9
- package/cli.js +17 -17
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/en.js +15 -0
- package/locales/pt.js +15 -0
- package/package.json +2 -2
- package/release-notes.json +9 -0
- package/vendor/o1-connect/README.md +10 -3
- package/vendor/o1-connect/VENDOR.json +6 -2
- package/vendor/o1-connect/lib.mjs +1 -1
- package/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
- package/vendor/tree-sitter/tree-sitter.wasm +0 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-1p6NHpAP.js → abnfDiagram-VCTEODGH-DeVLjecs.js} +1 -1
- package/web-shell/assets/{arc-zZSvt9kN.js → arc-CsL1xVKr.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-C1H1DVM2.js → architectureDiagram-5GKGNRK7-BXLHW1Px.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CLvQiMuT.js → blockDiagram-NRAW4CY4-BNz6-fkt.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-verRTIfv.js → c4Diagram-UCG6FXSJ-Dq_CA8EC.js} +1 -1
- package/web-shell/assets/channel-BUrNVNvF.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-BIX6o24B.js → chunk-2Q5K7J3B-BGf6suil.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-hp0xJxSu.js → chunk-5VM5RSS4-DsXPEjaR.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-BHY8_5WY.js → chunk-F27PBJKO-lefHaak1.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Bq3iuQSE.js → chunk-G27WJ6UU-CqIxZ7qb.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-nl0EYjjD.js → chunk-JWPE2WC7-_f_pqzn8.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-CstAiHwj.js → chunk-LCL6LL3I-CtcdHsE7.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BWSrwMPq.js → chunk-POPQ4Y6H-apS8e2Sc.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-BHoHrDvN.js → chunk-SVP7TREG-ixpYBIkx.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-_raB2Fx7.js → chunk-XXDRQBXY-gqhlBr9W.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-Dp6O5MFZ.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-Dp6O5MFZ.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DzohBTSN.js → cose-bilkent-JH36ORCC-4Lz5-xk7.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-DUuz4IOx.js → cynefin-OW5HDTMX-C-KBQe3G.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CUWRH3bQ.js → cynefinDiagram-5FMLGOSQ-OwEEW2di.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-DccvRFOk.js → dagre-3AP2YEHR-4L0doyTK.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-iGT749Oj.js → diagram-S7CK7UJ4-Bxg6kfGe.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DO-brOdV.js → diagram-UQ7AKVKN-X3fXpkRJ.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-BTxQOmxL.js → diagram-VSXAHHWV-Cp60T99q.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-B4qvwv51.js → diagram-VX7I27RA-CZkcFZji.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-rBgjOTjS.js → diagram-Z3DM3KII-DvNGvUPt.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-pm_yhGF5.js → ebnfDiagram-PWID7BFC-BTV0wWr4.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CYu1ceNm.js → erDiagram-SSCWMZ5O-BKwQQDwu.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-VaNRVW2d.js → flowDiagram-A5DVABFB-B1B0cjRi.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DyvaaUFV.js → ganttDiagram-EL5Y4UJY-Ds-cB5nB.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-ATr3REtt.js → gitGraphDiagram-WWUBYQGX-lZR5ShCY.js} +1 -1
- package/web-shell/assets/{index-C4N7bP4K.js → index-BDW1uRJf.js} +3 -3
- package/web-shell/assets/{index-B3YLpUKu.js → index-DgnOl4qf.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-C94by8Av.js → infoDiagram-RXCK75RN-dX5l7VBF.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DzjDX0-x.js → ishikawaDiagram-5VMMS53U-RkITnya1.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BW955BgY.js → journeyDiagram-EYS64GPL-CH4R48HP.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-BtbAjdCr.js → kanban-definition-3QL26DDD-DsQJ6Dum.js} +1 -1
- package/web-shell/assets/{layout-U3vDc3pe.js → layout-gI8CFFT8.js} +1 -1
- package/web-shell/assets/{linear-B5nTSs6h.js → linear-mjV1EmYH.js} +1 -1
- package/web-shell/assets/{mermaid.core-ezhLxuW5.js → mermaid.core-CQoFt4FL.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-BVcRjZNc.js → mindmap-definition-FBJOCRG2-wwJGhH6c.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BnYXkIZM.js → pegDiagram-XKGWAZYB-ChxojIuq.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-DooJLvL9.js → pieDiagram-E7YTZNPT-BInee6Tc.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-MywT58KI.js → quadrantDiagram-AXDQQJYC-DnM0GPQh.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-kZGgDmOU.js → railroadDiagram-O6MQD6OU-a_kFvhDo.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BTR494PR.js → requirementDiagram-EFPCY7ZU-D9pEqcZQ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DCC0qZFO.js → sankeyDiagram-P5KCCOFB-BgjX-_b2.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DDvDBq18.js → sequenceDiagram-WJ2MYXX4-C4m5zqm7.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-C3GSzMrx.js → sizeCapture-X5ZJPWSS-BqlkCTmX.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-Dr4BXIdu.js → stateDiagram-HBIQ2CUA-wMOBHraJ.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DkdI30zl.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-CTc5retR.js → swimlanes-XN3QIQJK-CC3AGYzj.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-C-7lW4fJ.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DlCHZahl.js → timeline-definition-24CTP7MA-B3pJzxDf.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DSEiDJ6-.js → vennDiagram-4TSXK5OY-BMoB3pI-.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-BSky5BAj.js → wardleyDiagram-VM6X3IG4-NzBWcgfW.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-C-_l5Eqg.js → xychartDiagram-S5SC5T6Z-BU0qpycE.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/vendor/o1-connect/.lintstagedrc.mjs +0 -7
- package/web-shell/assets/channel-BL_seGtn.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CSUKMc0D.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CSUKMc0D.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DPa_JZnG.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-WV4-2ySQ.js +0 -8
- package/chunks/{chunk-IVVMETSX.js → chunk-4VLEDM44.js} +3 -3
- package/chunks/{chunk-M6C3BI2P.js → chunk-AMFFYQUN.js} +0 -0
- package/chunks/{chunk-ROO6F2BT.js → chunk-H5L5E5NI.js} +3 -3
- package/chunks/{chunk-GT2ATHFG.js → chunk-PKIF4YYA.js} +3 -3
- package/chunks/{chunk-INGWSCK5.js → chunk-QNRLAIIG.js} +3 -3
- package/chunks/{container-execution-environment-RKRAWXR3.js → container-execution-environment-XBTXQ5YE.js} +3 -3
- package/chunks/{downsample-image-HDL6LZNC.js → downsample-image-FUPJVVNL.js} +3 -3
|
@@ -0,0 +1,106 @@
|
|
|
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/core/src/core/outbound-dynamic-headers.ts
|
|
14
|
+
init_esbuild_shims();
|
|
15
|
+
var debugLogger = createDebugLogger("OUTBOUND_CORRELATION");
|
|
16
|
+
var PLACEHOLDERS = [{ token: "${session_id}", resolve: /* @__PURE__ */ __name((config) => config.getSessionId(), "resolve") }];
|
|
17
|
+
var SESSION_ID_PLACEHOLDER_PATTERN = /\$(?:session_id|O1CODE_SESSION_ID)(?!\w)|\$\{(?:session_id|O1CODE_SESSION_ID)\}/gi;
|
|
18
|
+
var warnedGateOff = /* @__PURE__ */ new Set();
|
|
19
|
+
function warnIfDynamicHeadersDisabled(customHeaders, config) {
|
|
20
|
+
try {
|
|
21
|
+
const names = Object.entries(customHeaders ?? {}).filter(
|
|
22
|
+
([, value]) => typeof value === "string" && hasDynamicPlaceholder(value)
|
|
23
|
+
).map(([name]) => name);
|
|
24
|
+
if (names.length === 0) return;
|
|
25
|
+
if (config.getOutboundAllowDynamicHeaderValues()) return;
|
|
26
|
+
const key = names.slice().sort().join(",");
|
|
27
|
+
if (warnedGateOff.has(key)) return;
|
|
28
|
+
warnedGateOff.add(key);
|
|
29
|
+
console.warn(
|
|
30
|
+
`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.`
|
|
31
|
+
);
|
|
32
|
+
} catch {
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
__name(warnIfDynamicHeadersDisabled, "warnIfDynamicHeadersDisabled");
|
|
36
|
+
function hasDynamicPlaceholder(value) {
|
|
37
|
+
return value.search(SESSION_ID_PLACEHOLDER_PATTERN) !== -1;
|
|
38
|
+
}
|
|
39
|
+
__name(hasDynamicPlaceholder, "hasDynamicPlaceholder");
|
|
40
|
+
function resolveDynamicHeaderValue(value, config) {
|
|
41
|
+
if (typeof value !== "string") return void 0;
|
|
42
|
+
if (!hasDynamicPlaceholder(value)) return value;
|
|
43
|
+
try {
|
|
44
|
+
if (!config.getOutboundAllowDynamicHeaderValues()) {
|
|
45
|
+
debugLogger.warn(
|
|
46
|
+
`Dropping a customHeaders value containing a runtime placeholder: outboundCorrelation.allowDynamicHeaderValues is not enabled.`
|
|
47
|
+
);
|
|
48
|
+
return void 0;
|
|
49
|
+
}
|
|
50
|
+
let expanded = value.replace(
|
|
51
|
+
SESSION_ID_PLACEHOLDER_PATTERN,
|
|
52
|
+
"${session_id}"
|
|
53
|
+
);
|
|
54
|
+
for (const { token, resolve } of PLACEHOLDERS) {
|
|
55
|
+
if (!expanded.includes(token)) continue;
|
|
56
|
+
const resolved = resolve(config);
|
|
57
|
+
if (!resolved) return void 0;
|
|
58
|
+
expanded = expanded.split(token).join(resolved);
|
|
59
|
+
}
|
|
60
|
+
return expanded;
|
|
61
|
+
} catch (error) {
|
|
62
|
+
debugLogger.warn(
|
|
63
|
+
`Unable to expand a customHeaders placeholder: ${error instanceof Error ? error.message : String(error)}`
|
|
64
|
+
);
|
|
65
|
+
return void 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
__name(resolveDynamicHeaderValue, "resolveDynamicHeaderValue");
|
|
69
|
+
function applyDynamicHeaderValues(headers, config) {
|
|
70
|
+
const pending = [];
|
|
71
|
+
headers.forEach((value, key) => {
|
|
72
|
+
if (hasDynamicPlaceholder(value)) pending.push([key, value]);
|
|
73
|
+
});
|
|
74
|
+
for (const [key, value] of pending) {
|
|
75
|
+
const resolved = resolveDynamicHeaderValue(value, config);
|
|
76
|
+
if (resolved === void 0) {
|
|
77
|
+
headers.delete(key);
|
|
78
|
+
} else {
|
|
79
|
+
headers.set(key, resolved);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
__name(applyDynamicHeaderValues, "applyDynamicHeaderValues");
|
|
84
|
+
function expandDynamicHeaders(customHeaders, config) {
|
|
85
|
+
if (!customHeaders) return {};
|
|
86
|
+
const expanded = {};
|
|
87
|
+
for (const [key, value] of Object.entries(customHeaders)) {
|
|
88
|
+
if (typeof value !== "string" || !hasDynamicPlaceholder(value)) continue;
|
|
89
|
+
const resolved = resolveDynamicHeaderValue(value, config);
|
|
90
|
+
if (resolved !== void 0) expanded[key] = resolved;
|
|
91
|
+
}
|
|
92
|
+
return expanded;
|
|
93
|
+
}
|
|
94
|
+
__name(expandDynamicHeaders, "expandDynamicHeaders");
|
|
95
|
+
|
|
96
|
+
export {
|
|
97
|
+
warnIfDynamicHeadersDisabled,
|
|
98
|
+
hasDynamicPlaceholder,
|
|
99
|
+
applyDynamicHeaderValues,
|
|
100
|
+
expandDynamicHeaders
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @license
|
|
104
|
+
* Copyright 2025 Qwen
|
|
105
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
106
|
+
*/
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
buildScheduledTaskRunPrompt,
|
|
5
5
|
scheduledTaskRunSessionName,
|
|
6
6
|
scheduledTaskRunSourceId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-63GQIGT2.js";
|
|
8
|
+
import {
|
|
9
|
+
createSessionOrganizationService
|
|
10
|
+
} from "./chunk-5IGBH2BT.js";
|
|
8
11
|
import {
|
|
9
12
|
parseCallerSuppliedSessionId
|
|
10
13
|
} from "./chunk-KQCQCJBL.js";
|
|
11
|
-
import {
|
|
12
|
-
createSessionOrganizationService
|
|
13
|
-
} from "./chunk-OJ2CVNVP.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-JPTQB5NW.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-3R3BFEXO.js";
|
|
33
33
|
import {
|
|
34
34
|
MAX_JOBS,
|
|
35
35
|
nextDurableFireMs
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
BaseJsonOutputAdapter,
|
|
5
5
|
extractTextFromBlocks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4PTZBGHX.js";
|
|
7
7
|
import {
|
|
8
8
|
observeHeadlessJsonToolResultWire
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F2LYJ3ZD.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-S2467S6L.js";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
reachesOrganizaOne
|
|
5
|
+
} from "./chunk-VTIYMCRG.js";
|
|
3
6
|
import {
|
|
4
7
|
preloadRuntimeFetchModule
|
|
5
8
|
} from "./chunk-S6HB6BVJ.js";
|
|
@@ -197,17 +200,6 @@ var DEFAULT_MODELS = {
|
|
|
197
200
|
openai: MAINLINE_CODER_MODEL
|
|
198
201
|
};
|
|
199
202
|
|
|
200
|
-
// packages/core/src/utils/auth-type.ts
|
|
201
|
-
init_esbuild_shims();
|
|
202
|
-
var AuthType = /* @__PURE__ */ ((AuthType2) => {
|
|
203
|
-
AuthType2["USE_OPENAI"] = "openai";
|
|
204
|
-
AuthType2["USE_OPENAI_RESPONSES"] = "openai-responses";
|
|
205
|
-
AuthType2["USE_GEMINI"] = "gemini";
|
|
206
|
-
AuthType2["USE_VERTEX_AI"] = "vertex-ai";
|
|
207
|
-
AuthType2["USE_ANTHROPIC"] = "anthropic";
|
|
208
|
-
return AuthType2;
|
|
209
|
-
})(AuthType || {});
|
|
210
|
-
|
|
211
203
|
// packages/core/src/core/contentGenerator.ts
|
|
212
204
|
init_esbuild_shims();
|
|
213
205
|
function setSource(sources, path, source) {
|
|
@@ -393,6 +385,21 @@ function resetPreloadedContentGenerator(generator) {
|
|
|
393
385
|
}
|
|
394
386
|
__name(resetPreloadedContentGenerator, "resetPreloadedContentGenerator");
|
|
395
387
|
async function createContentGenerator(generatorConfig, config) {
|
|
388
|
+
if (generatorConfig.connection === "o1-connect") {
|
|
389
|
+
const session = config.getO1ConnectSession?.();
|
|
390
|
+
if (!session)
|
|
391
|
+
throw new Error(
|
|
392
|
+
"The saved gateway tunnel is not open. Reconnect the provider before using this route."
|
|
393
|
+
);
|
|
394
|
+
if (session) {
|
|
395
|
+
const { o1ConnectBaseUrlFor } = await import("./session-XCQPLG6U.js");
|
|
396
|
+
generatorConfig.baseUrl = o1ConnectBaseUrlFor(
|
|
397
|
+
session,
|
|
398
|
+
generatorConfig.authType
|
|
399
|
+
);
|
|
400
|
+
generatorConfig.apiKey = session.apiKey;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
396
403
|
const validation = validateModelConfig(generatorConfig, false);
|
|
397
404
|
if (!validation.valid) {
|
|
398
405
|
throw new Error(validation.errors.map((e) => e.message).join("\n"));
|
|
@@ -401,27 +408,32 @@ async function createContentGenerator(generatorConfig, config) {
|
|
|
401
408
|
if (!authType) {
|
|
402
409
|
throw new Error("ContentGeneratorConfig must have an authType");
|
|
403
410
|
}
|
|
411
|
+
if (reachesOrganizaOne(generatorConfig) && authType === "openai-responses" /* USE_OPENAI_RESPONSES */ && generatorConfig.model.startsWith("o1gw/")) {
|
|
412
|
+
throw new Error(
|
|
413
|
+
"This gateway account route supports Messages or Chat Completions. Responses cannot be redirected to another account."
|
|
414
|
+
);
|
|
415
|
+
}
|
|
404
416
|
await preloadRuntimeFetchModule();
|
|
405
417
|
let loadBaseGenerator;
|
|
406
418
|
try {
|
|
407
419
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
408
420
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
409
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
421
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-Z5W2NXTC.js");
|
|
410
422
|
return createOpenAIContentGenerator(generatorConfig, config);
|
|
411
423
|
}, "loadBaseGenerator");
|
|
412
424
|
} else if (authType === "openai-responses" /* USE_OPENAI_RESPONSES */) {
|
|
413
425
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
414
|
-
const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-
|
|
426
|
+
const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-7TMC5LLC.js");
|
|
415
427
|
return createOpenAIResponsesContentGenerator(generatorConfig, config);
|
|
416
428
|
}, "loadBaseGenerator");
|
|
417
429
|
} else if (authType === "anthropic" /* USE_ANTHROPIC */) {
|
|
418
430
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
419
|
-
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-
|
|
431
|
+
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-ZVTMFRMJ.js");
|
|
420
432
|
return createAnthropicContentGenerator(generatorConfig, config);
|
|
421
433
|
}, "loadBaseGenerator");
|
|
422
434
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
423
435
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
424
|
-
const { createLlmContentGenerator } = await import("./llm-content-generator-
|
|
436
|
+
const { createLlmContentGenerator } = await import("./llm-content-generator-Z75TNGTQ.js");
|
|
425
437
|
return createLlmContentGenerator(generatorConfig, config);
|
|
426
438
|
}, "loadBaseGenerator");
|
|
427
439
|
} else {
|
|
@@ -436,13 +448,14 @@ async function createContentGenerator(generatorConfig, config) {
|
|
|
436
448
|
try {
|
|
437
449
|
const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
|
|
438
450
|
loadBaseGenerator(),
|
|
439
|
-
import("./loggingContentGenerator-
|
|
451
|
+
import("./loggingContentGenerator-PWXVR62R.js")
|
|
440
452
|
]);
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
config,
|
|
444
|
-
|
|
445
|
-
);
|
|
453
|
+
if (reachesOrganizaOne(generatorConfig)) {
|
|
454
|
+
const { refreshGatewayModels } = await import("./gateway-models-WD5T6UM7.js");
|
|
455
|
+
await refreshGatewayModels(config, generatorConfig);
|
|
456
|
+
}
|
|
457
|
+
const wrapped = reachesOrganizaOne(generatorConfig) ? new (await import("./gateway-content-generator-HKBMHBLQ.js")).GatewayContentGenerator(baseGenerator, config, generatorConfig) : baseGenerator;
|
|
458
|
+
return new LoggingContentGenerator(wrapped, config, generatorConfig);
|
|
446
459
|
} catch (error) {
|
|
447
460
|
throw wrapProviderLoadError(error, authType);
|
|
448
461
|
}
|
|
@@ -459,7 +472,6 @@ export {
|
|
|
459
472
|
PROVIDER_SOURCED_FIELDS,
|
|
460
473
|
AUTH_ENV_MAPPINGS,
|
|
461
474
|
DEFAULT_MODELS,
|
|
462
|
-
AuthType,
|
|
463
475
|
resolveContentGeneratorConfigWithSources,
|
|
464
476
|
hasVertexProjectConfigured,
|
|
465
477
|
preloadContentGenerator,
|
|
@@ -476,9 +488,3 @@ export {
|
|
|
476
488
|
* Copyright 2025 Google LLC
|
|
477
489
|
* SPDX-License-Identifier: Apache-2.0
|
|
478
490
|
*/
|
|
479
|
-
/**
|
|
480
|
-
* @license
|
|
481
|
-
* Copyright 2025 Google LLC
|
|
482
|
-
* Copyright 2026 Qwen Team
|
|
483
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
484
|
-
*/
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-S2467S6L.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
9
|
+
|
|
10
|
+
// packages/core/src/providers/gateway-request.ts
|
|
11
|
+
init_esbuild_shims();
|
|
12
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
13
|
+
import { randomUUID } from "node:crypto";
|
|
14
|
+
var GATEWAY_OPERATION_PURPOSES = [
|
|
15
|
+
"title",
|
|
16
|
+
"summary",
|
|
17
|
+
"compaction",
|
|
18
|
+
"suggestion"
|
|
19
|
+
];
|
|
20
|
+
var gatewayRequestScope = new AsyncLocalStorage();
|
|
21
|
+
var GatewayConversationError = class extends Error {
|
|
22
|
+
constructor(reason, message, details) {
|
|
23
|
+
super(message);
|
|
24
|
+
this.reason = reason;
|
|
25
|
+
this.name = "GatewayConversationError";
|
|
26
|
+
this.status = details?.status;
|
|
27
|
+
this.headers = details?.headers;
|
|
28
|
+
this.providerCode = details?.providerCode;
|
|
29
|
+
}
|
|
30
|
+
static {
|
|
31
|
+
__name(this, "GatewayConversationError");
|
|
32
|
+
}
|
|
33
|
+
code = "gateway_conversation_error";
|
|
34
|
+
status;
|
|
35
|
+
headers;
|
|
36
|
+
providerCode;
|
|
37
|
+
};
|
|
38
|
+
function isGatewayIdentifier(value) {
|
|
39
|
+
return typeof value === "string" && /^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$/.test(value);
|
|
40
|
+
}
|
|
41
|
+
__name(isGatewayIdentifier, "isGatewayIdentifier");
|
|
42
|
+
function createGatewayIndependentRequest(purpose) {
|
|
43
|
+
return { id: randomUUID(), ...purpose ? { purpose } : {} };
|
|
44
|
+
}
|
|
45
|
+
__name(createGatewayIndependentRequest, "createGatewayIndependentRequest");
|
|
46
|
+
function gatewayIndependentInput(contents) {
|
|
47
|
+
if (!contents.some(
|
|
48
|
+
(content) => content.role === "model" || content.parts?.some(
|
|
49
|
+
(part) => part.functionCall || part.functionResponse
|
|
50
|
+
)
|
|
51
|
+
))
|
|
52
|
+
return contents;
|
|
53
|
+
return [
|
|
54
|
+
{
|
|
55
|
+
role: "user",
|
|
56
|
+
parts: [
|
|
57
|
+
{
|
|
58
|
+
text: `Source material for this independent task (JSON):
|
|
59
|
+
${JSON.stringify(contents)}`
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
];
|
|
64
|
+
}
|
|
65
|
+
__name(gatewayIndependentInput, "gatewayIndependentInput");
|
|
66
|
+
function withGatewayRequestHeaders(fetcher) {
|
|
67
|
+
return async (input, init) => {
|
|
68
|
+
const scope = gatewayRequestScope.getStore();
|
|
69
|
+
if (!scope) return fetcher(input, init);
|
|
70
|
+
const body = typeof init?.body === "string" ? JSON.parse(init.body) : void 0;
|
|
71
|
+
if (!body || typeof body !== "object" || !("model" in body) || body.model !== scope.model)
|
|
72
|
+
throw new GatewayConversationError(
|
|
73
|
+
"unsupported",
|
|
74
|
+
"The serialized gateway model differs from the selected route. Remove the model override from generation settings; no fallback request was sent."
|
|
75
|
+
);
|
|
76
|
+
const headers = new Headers(
|
|
77
|
+
input instanceof Request ? input.headers : void 0
|
|
78
|
+
);
|
|
79
|
+
new Headers(init?.headers).forEach((value, key) => headers.set(key, value));
|
|
80
|
+
headers.set("x-o1gw-conversation-id", scope.conversationId);
|
|
81
|
+
headers.delete("x-o1gw-operation-id");
|
|
82
|
+
headers.delete("x-o1gw-operation-purpose");
|
|
83
|
+
headers.delete("x-o1gw-conversation-transfer");
|
|
84
|
+
if (scope.operation) {
|
|
85
|
+
headers.set("x-o1gw-operation-id", scope.operation.id);
|
|
86
|
+
headers.set("x-o1gw-operation-purpose", scope.operation.purpose);
|
|
87
|
+
}
|
|
88
|
+
const nextInit = { ...init, headers, redirect: "error" };
|
|
89
|
+
if (scope.transfer) {
|
|
90
|
+
if (scope.transfer.dispatched)
|
|
91
|
+
throw new GatewayConversationError(
|
|
92
|
+
"uncertain",
|
|
93
|
+
"A transfer request cannot be dispatched twice."
|
|
94
|
+
);
|
|
95
|
+
const { prepareGatewayTransfer } = await import("./gateway-transfer-47WP3EUB.js");
|
|
96
|
+
const preparedInit = await prepareGatewayTransfer(
|
|
97
|
+
fetcher,
|
|
98
|
+
input,
|
|
99
|
+
nextInit,
|
|
100
|
+
scope.transfer.sourceModel
|
|
101
|
+
);
|
|
102
|
+
scope.transfer.dispatched = true;
|
|
103
|
+
return fetcher(input, preparedInit);
|
|
104
|
+
}
|
|
105
|
+
const response = await fetcher(input, nextInit);
|
|
106
|
+
if (response.status === 409 && scope.confirmGroupTransfer && !scope.operation) {
|
|
107
|
+
const responseBody = await response.clone().json().catch(() => null);
|
|
108
|
+
const proposal = responseBody && typeof responseBody === "object" && "conversation_transfer" in responseBody ? responseBody.conversation_transfer : void 0;
|
|
109
|
+
if (proposal && typeof proposal === "object" && "requires_confirmation" in proposal && proposal.requires_confirmation === true && "prepare_endpoint" in proposal && proposal.prepare_endpoint === "/v1/conversations/transfer" && await scope.confirmGroupTransfer(init?.signal ?? void 0)) {
|
|
110
|
+
scope.transfer = { dispatched: true };
|
|
111
|
+
const { prepareGatewayTransfer } = await import("./gateway-transfer-47WP3EUB.js");
|
|
112
|
+
return fetcher(
|
|
113
|
+
input,
|
|
114
|
+
await prepareGatewayTransfer(fetcher, input, nextInit)
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return response;
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
__name(withGatewayRequestHeaders, "withGatewayRequestHeaders");
|
|
122
|
+
|
|
123
|
+
export {
|
|
124
|
+
GATEWAY_OPERATION_PURPOSES,
|
|
125
|
+
gatewayRequestScope,
|
|
126
|
+
GatewayConversationError,
|
|
127
|
+
isGatewayIdentifier,
|
|
128
|
+
createGatewayIndependentRequest,
|
|
129
|
+
gatewayIndependentInput,
|
|
130
|
+
withGatewayRequestHeaders
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* @license
|
|
134
|
+
* Copyright 2026 o1-code contributors
|
|
135
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
136
|
+
*/
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
JsonFormatter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JJM6IQIE.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3R3BFEXO.js";
|
|
9
9
|
import {
|
|
10
10
|
stripAnsiAndControl
|
|
11
11
|
} from "./chunk-FKI7XUZK.js";
|
|
12
12
|
import {
|
|
13
13
|
runExitCleanup
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KFZPMKWE.js";
|
|
15
15
|
import {
|
|
16
16
|
writeStderrLine
|
|
17
17
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
publicProviderBaseUrl
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IN65BYCX.js";
|
|
6
6
|
import {
|
|
7
7
|
getWritableScopes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KLG5EXFK.js";
|
|
9
9
|
import {
|
|
10
10
|
isImageGenerationCapable,
|
|
11
11
|
tryResolveModelProtocol
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AEJFNK44.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-S2467S6L.js";
|
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
} from "./chunk-XZ3MQL2U.js";
|
|
6
6
|
import {
|
|
7
7
|
getErrorMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XBUIQQXG.js";
|
|
9
9
|
import {
|
|
10
10
|
loadSettings
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KLG5EXFK.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentLanguage,
|
|
14
14
|
initializeI18n,
|
|
15
15
|
resolveLanguageSetting,
|
|
16
16
|
t
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-J6IO5FRE.js";
|
|
18
18
|
import {
|
|
19
19
|
isWorkspaceTrusted
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5YC3SA73.js";
|
|
21
21
|
import {
|
|
22
22
|
ExtensionManager,
|
|
23
23
|
getExtensionDescription,
|
|
24
24
|
getExtensionDisplayName,
|
|
25
25
|
require_prompts
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3R3BFEXO.js";
|
|
27
27
|
import {
|
|
28
28
|
stripAnsi
|
|
29
29
|
} from "./chunk-WU3R2YUE.js";
|
|
30
30
|
import {
|
|
31
31
|
redactUrlCredentials
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-W5XYWVXE.js";
|
|
33
33
|
import {
|
|
34
34
|
writeStderrLine,
|
|
35
35
|
writeStdoutLine
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
} from "./chunk-KQCQCJBL.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_OPENAI_LOG_RETENTION_DAYS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZPAYRCCC.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveOpenAILogDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5TGVTMA4.js";
|
|
15
15
|
import {
|
|
16
16
|
FILE_HISTORY_DIR,
|
|
17
17
|
getSubagentsRootDir
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3R3BFEXO.js";
|
|
19
19
|
import {
|
|
20
20
|
createDebugLogger,
|
|
21
21
|
sessionIdContext
|