@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
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
require_main,
|
|
20
20
|
resolveEnvVarsInObject
|
|
21
21
|
} from "./chunk-EYWIFUPJ.js";
|
|
22
|
+
import {
|
|
23
|
+
claimTask,
|
|
24
|
+
listTasks,
|
|
25
|
+
onTasksUpdated,
|
|
26
|
+
unassignTeammateTasks
|
|
27
|
+
} from "./chunk-X427DWFD.js";
|
|
22
28
|
import {
|
|
23
29
|
CronScheduler,
|
|
24
30
|
DEFAULT_RECURRING_MAX_AGE_DAYS,
|
|
@@ -34,71 +40,6 @@ import {
|
|
|
34
40
|
wrapConfirmWithBadge,
|
|
35
41
|
writeMessage
|
|
36
42
|
} from "./chunk-7H3GWNGJ.js";
|
|
37
|
-
import {
|
|
38
|
-
claimTask,
|
|
39
|
-
listTasks,
|
|
40
|
-
onTasksUpdated,
|
|
41
|
-
unassignTeammateTasks
|
|
42
|
-
} from "./chunk-X427DWFD.js";
|
|
43
|
-
import {
|
|
44
|
-
AGENT_WORKTREE_SLUG_PATTERN,
|
|
45
|
-
GitWorktreeService,
|
|
46
|
-
MAX_DIFF_SIZE_BYTES,
|
|
47
|
-
clearRuntimeStatus,
|
|
48
|
-
generateAgentWorktreeSlug,
|
|
49
|
-
gitEnv,
|
|
50
|
-
loadSimpleGit,
|
|
51
|
-
readRuntimeStatus,
|
|
52
|
-
worktreeBranchForSlug,
|
|
53
|
-
worktreeHasWork,
|
|
54
|
-
writeRuntimeStatus,
|
|
55
|
-
writeWorktreeSessionMarker
|
|
56
|
-
} from "./chunk-JHRVJBV5.js";
|
|
57
|
-
import {
|
|
58
|
-
hasVerifiableInode,
|
|
59
|
-
openSyncNoFollow
|
|
60
|
-
} from "./chunk-DJOP5LOE.js";
|
|
61
|
-
import {
|
|
62
|
-
SessionArtifactSnapshotAccumulator,
|
|
63
|
-
aggregateTranscriptRecordFragments,
|
|
64
|
-
deleteArtifactSnapshot,
|
|
65
|
-
getWebPreviewSnapshotId,
|
|
66
|
-
isSessionArtifactRecord,
|
|
67
|
-
isTranscriptConversationRecord,
|
|
68
|
-
isUserPromptSubmitContextPartText,
|
|
69
|
-
openBrowserSecurely,
|
|
70
|
-
prepareTranscriptRecords,
|
|
71
|
-
projectUserTranscriptForDisplay,
|
|
72
|
-
rebuildSessionArtifactSnapshot,
|
|
73
|
-
remapSessionArtifactPayloadForFork,
|
|
74
|
-
retainArtifactSnapshot,
|
|
75
|
-
selectActiveSideArtifactRecordUuids,
|
|
76
|
-
selectTranscriptLeaf,
|
|
77
|
-
shouldAttemptBrowserLaunch,
|
|
78
|
-
stripGeneratedAttachmentTokens,
|
|
79
|
-
validateTranscriptRecord,
|
|
80
|
-
walkTranscriptUuidChain,
|
|
81
|
-
wrapUserPromptSubmitContext
|
|
82
|
-
} from "./chunk-FDNTWDR3.js";
|
|
83
|
-
import {
|
|
84
|
-
SHARED_RECORD_SLOT,
|
|
85
|
-
deriveSessionName,
|
|
86
|
-
patchSessionRecord,
|
|
87
|
-
unregisterSession
|
|
88
|
-
} from "./chunk-KEPNWFUD.js";
|
|
89
|
-
import {
|
|
90
|
-
LEADER_NAME,
|
|
91
|
-
MAX_TEAMMATES,
|
|
92
|
-
assignTeammateColor,
|
|
93
|
-
classifyShutdownResponse,
|
|
94
|
-
findMemberByName,
|
|
95
|
-
formatAgentId,
|
|
96
|
-
generateUniqueTeammateName,
|
|
97
|
-
readLocalBootId,
|
|
98
|
-
readPidNamespaceId,
|
|
99
|
-
sanitizeName,
|
|
100
|
-
writeTeamFile
|
|
101
|
-
} from "./chunk-OI7IVUEO.js";
|
|
102
43
|
import {
|
|
103
44
|
AgentOutputMessageCapture,
|
|
104
45
|
DEFAULT_OTLP_ENDPOINT,
|
|
@@ -158,70 +99,93 @@ import {
|
|
|
158
99
|
stringify,
|
|
159
100
|
validateGoalProposalReason,
|
|
160
101
|
validateSkillName
|
|
161
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-RWUZRVUT.js";
|
|
162
103
|
import {
|
|
163
104
|
canUseRipgrep
|
|
164
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-AJDAOH4D.js";
|
|
165
106
|
import {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
107
|
+
AGENT_WORKTREE_SLUG_PATTERN,
|
|
108
|
+
GitWorktreeService,
|
|
109
|
+
MAX_DIFF_SIZE_BYTES,
|
|
110
|
+
clearRuntimeStatus,
|
|
111
|
+
generateAgentWorktreeSlug,
|
|
112
|
+
gitEnv,
|
|
113
|
+
loadSimpleGit,
|
|
114
|
+
readRuntimeStatus,
|
|
115
|
+
worktreeBranchForSlug,
|
|
116
|
+
worktreeHasWork,
|
|
117
|
+
writeRuntimeStatus,
|
|
118
|
+
writeWorktreeSessionMarker
|
|
119
|
+
} from "./chunk-GM7RKZZ4.js";
|
|
169
120
|
import {
|
|
170
|
-
|
|
171
|
-
|
|
121
|
+
hasVerifiableInode,
|
|
122
|
+
openSyncNoFollow
|
|
123
|
+
} from "./chunk-DJOP5LOE.js";
|
|
172
124
|
import {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
125
|
+
SessionArtifactSnapshotAccumulator,
|
|
126
|
+
aggregateTranscriptRecordFragments,
|
|
127
|
+
deleteArtifactSnapshot,
|
|
128
|
+
getWebPreviewSnapshotId,
|
|
129
|
+
isSessionArtifactRecord,
|
|
130
|
+
isTranscriptConversationRecord,
|
|
131
|
+
isUserPromptSubmitContextPartText,
|
|
132
|
+
openBrowserSecurely,
|
|
133
|
+
prepareTranscriptRecords,
|
|
134
|
+
projectUserTranscriptForDisplay,
|
|
135
|
+
rebuildSessionArtifactSnapshot,
|
|
136
|
+
remapSessionArtifactPayloadForFork,
|
|
137
|
+
retainArtifactSnapshot,
|
|
138
|
+
selectActiveSideArtifactRecordUuids,
|
|
139
|
+
selectTranscriptLeaf,
|
|
140
|
+
shouldAttemptBrowserLaunch,
|
|
141
|
+
stripGeneratedAttachmentTokens,
|
|
142
|
+
validateTranscriptRecord,
|
|
143
|
+
walkTranscriptUuidChain,
|
|
144
|
+
wrapUserPromptSubmitContext
|
|
145
|
+
} from "./chunk-FDNTWDR3.js";
|
|
176
146
|
import {
|
|
177
|
-
|
|
178
|
-
|
|
147
|
+
SHARED_RECORD_SLOT,
|
|
148
|
+
deriveSessionName,
|
|
149
|
+
patchSessionRecord,
|
|
150
|
+
unregisterSession
|
|
151
|
+
} from "./chunk-KEPNWFUD.js";
|
|
152
|
+
import {
|
|
153
|
+
LEADER_NAME,
|
|
154
|
+
MAX_TEAMMATES,
|
|
155
|
+
assignTeammateColor,
|
|
156
|
+
classifyShutdownResponse,
|
|
157
|
+
findMemberByName,
|
|
158
|
+
formatAgentId,
|
|
159
|
+
generateUniqueTeammateName,
|
|
160
|
+
readLocalBootId,
|
|
161
|
+
readPidNamespaceId,
|
|
162
|
+
sanitizeName,
|
|
163
|
+
writeTeamFile
|
|
164
|
+
} from "./chunk-OI7IVUEO.js";
|
|
179
165
|
import {
|
|
180
166
|
buildModelIdContext,
|
|
181
167
|
resolveModelId
|
|
182
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-QYJB4I22.js";
|
|
169
|
+
import {
|
|
170
|
+
glob,
|
|
171
|
+
globSync
|
|
172
|
+
} from "./chunk-4ESI3MQ5.js";
|
|
183
173
|
import {
|
|
184
174
|
isTruthy
|
|
185
175
|
} from "./chunk-SYMKXR42.js";
|
|
186
176
|
import {
|
|
187
177
|
normalizeImageGenerationBaseUrl
|
|
188
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-5WCEM6DZ.js";
|
|
189
179
|
import {
|
|
190
|
-
|
|
191
|
-
} from "./chunk-
|
|
192
|
-
import {
|
|
193
|
-
isOmniDeliveryActive
|
|
194
|
-
} from "./chunk-P3H5PNSO.js";
|
|
195
|
-
import {
|
|
196
|
-
MediaResourceRegistry,
|
|
197
|
-
evaluateMediaPolicyToolCall,
|
|
198
|
-
isMediaPolicyToolHiddenFromModel,
|
|
199
|
-
resolveMediaPolicyModelAccess
|
|
200
|
-
} from "./chunk-CI2ZHR5C.js";
|
|
180
|
+
restoreSessionSources
|
|
181
|
+
} from "./chunk-CDYMT4OZ.js";
|
|
201
182
|
import {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
getArenaSystemReminder,
|
|
206
|
-
getCompressionPrompt,
|
|
207
|
-
getCoreSystemPrompt,
|
|
208
|
-
getCustomSystemPrompt,
|
|
209
|
-
getManualPlanExitSystemReminder,
|
|
210
|
-
getOutputStyleTurnReminder,
|
|
211
|
-
getPlanModeSystemReminder,
|
|
212
|
-
resolveEffectiveOutputStyle,
|
|
213
|
-
resolveInteractionMode,
|
|
214
|
-
resolveMainSessionOutputStyle,
|
|
215
|
-
withDisplayModePrompt
|
|
216
|
-
} from "./chunk-M7ZHP7VU.js";
|
|
183
|
+
CODE_MODE_MAX_MEDIA_BYTES,
|
|
184
|
+
CODE_MODE_MAX_MEDIA_ITEMS
|
|
185
|
+
} from "./chunk-TC7UXK4M.js";
|
|
217
186
|
import {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
getCachedGitBranch,
|
|
221
|
-
getGitBranch,
|
|
222
|
-
getRecentGitStatus,
|
|
223
|
-
isGitRepository
|
|
224
|
-
} from "./chunk-IO32UWHY.js";
|
|
187
|
+
parsePositiveIntegerEnv
|
|
188
|
+
} from "./chunk-DS3COGEF.js";
|
|
225
189
|
import {
|
|
226
190
|
ShellExecutionService,
|
|
227
191
|
executeBwrap,
|
|
@@ -272,6 +236,18 @@ import {
|
|
|
272
236
|
assertShellSandboxCwd,
|
|
273
237
|
probeShellSandbox
|
|
274
238
|
} from "./chunk-3K7BQWZY.js";
|
|
239
|
+
import {
|
|
240
|
+
resolveNetworkTarget
|
|
241
|
+
} from "./chunk-HPQNI3OQ.js";
|
|
242
|
+
import {
|
|
243
|
+
isOmniDeliveryActive
|
|
244
|
+
} from "./chunk-ZVYEHMGP.js";
|
|
245
|
+
import {
|
|
246
|
+
MediaResourceRegistry,
|
|
247
|
+
evaluateMediaPolicyToolCall,
|
|
248
|
+
isMediaPolicyToolHiddenFromModel,
|
|
249
|
+
resolveMediaPolicyModelAccess
|
|
250
|
+
} from "./chunk-CI2ZHR5C.js";
|
|
275
251
|
import {
|
|
276
252
|
require_proper_lockfile
|
|
277
253
|
} from "./chunk-4LCUE7BN.js";
|
|
@@ -315,6 +291,30 @@ import {
|
|
|
315
291
|
import {
|
|
316
292
|
require_shell_quote
|
|
317
293
|
} from "./chunk-WZCKDUBO.js";
|
|
294
|
+
import {
|
|
295
|
+
AskUserQuestionTool,
|
|
296
|
+
TrustedUserAnswers,
|
|
297
|
+
assembleSystemPrompt,
|
|
298
|
+
getArenaSystemReminder,
|
|
299
|
+
getCompressionPrompt,
|
|
300
|
+
getCoreSystemPrompt,
|
|
301
|
+
getCustomSystemPrompt,
|
|
302
|
+
getManualPlanExitSystemReminder,
|
|
303
|
+
getOutputStyleTurnReminder,
|
|
304
|
+
getPlanModeSystemReminder,
|
|
305
|
+
resolveEffectiveOutputStyle,
|
|
306
|
+
resolveInteractionMode,
|
|
307
|
+
resolveMainSessionOutputStyle,
|
|
308
|
+
withDisplayModePrompt
|
|
309
|
+
} from "./chunk-M7ZHP7VU.js";
|
|
310
|
+
import {
|
|
311
|
+
NO_EXEC_CONFIG,
|
|
312
|
+
findGitRoot,
|
|
313
|
+
getCachedGitBranch,
|
|
314
|
+
getGitBranch,
|
|
315
|
+
getRecentGitStatus,
|
|
316
|
+
isGitRepository
|
|
317
|
+
} from "./chunk-IO32UWHY.js";
|
|
318
318
|
import {
|
|
319
319
|
InMemoryImagePayloadStore,
|
|
320
320
|
buildReattachParts,
|
|
@@ -332,7 +332,7 @@ import {
|
|
|
332
332
|
import {
|
|
333
333
|
DashScopeOpenAICompatibleProvider,
|
|
334
334
|
selectDashScopeThinkingKnob
|
|
335
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-JKLZSD6Z.js";
|
|
336
336
|
import {
|
|
337
337
|
InvalidStreamError,
|
|
338
338
|
getToolCallPreparations,
|
|
@@ -366,109 +366,6 @@ import {
|
|
|
366
366
|
isTeammate,
|
|
367
367
|
runWithTeammateIdentity
|
|
368
368
|
} from "./chunk-FOZEB37P.js";
|
|
369
|
-
import {
|
|
370
|
-
BUBBLE_APPROVAL_MODE,
|
|
371
|
-
FORK_AGENT,
|
|
372
|
-
FORK_DEFAULT_MAX_TURNS,
|
|
373
|
-
FORK_PLACEHOLDER_RESULT,
|
|
374
|
-
FORK_SUBAGENT_TYPE,
|
|
375
|
-
SubagentError,
|
|
376
|
-
SubagentErrorCode,
|
|
377
|
-
buildAvailableSkillsReminder,
|
|
378
|
-
buildChangedAgentsReminder,
|
|
379
|
-
buildChangedMcpToolsReminder,
|
|
380
|
-
buildChangedSkillsReminder,
|
|
381
|
-
buildChildMessage,
|
|
382
|
-
buildDeferredToolsReminder,
|
|
383
|
-
buildForkExecutionAllowlist,
|
|
384
|
-
buildForkedMessages,
|
|
385
|
-
buildFunctionResponseParts,
|
|
386
|
-
buildMcpServerInstructionsReminder,
|
|
387
|
-
buildMcpServerInstructionsReminderFromEntries,
|
|
388
|
-
buildPinnedWorktreeNotice,
|
|
389
|
-
buildWorktreeNotice,
|
|
390
|
-
formatDateForContext,
|
|
391
|
-
getDirectoryContextString,
|
|
392
|
-
getInitialChatHistory,
|
|
393
|
-
getStartupContextLength,
|
|
394
|
-
isSystemReminderContent,
|
|
395
|
-
normalizeForkTurns,
|
|
396
|
-
registerForkDisplayImageForCache,
|
|
397
|
-
resolveForkExecutionAllowedTools,
|
|
398
|
-
runInForkContext,
|
|
399
|
-
selectForkHistory,
|
|
400
|
-
stripSystemReminderBlocks,
|
|
401
|
-
validateForkToolList,
|
|
402
|
-
wrapSystemReminder
|
|
403
|
-
} from "./chunk-DNMM4RF7.js";
|
|
404
|
-
import {
|
|
405
|
-
clearLoadedSkillTracking,
|
|
406
|
-
collectAvailableSkillEntries,
|
|
407
|
-
renderAvailableSkillsBlock
|
|
408
|
-
} from "./chunk-2SMHE6PC.js";
|
|
409
|
-
import {
|
|
410
|
-
DEFAULT_O1CODE_CUSTOM_IGNORE_FILE_NAMES,
|
|
411
|
-
O1CodeIgnoreParser,
|
|
412
|
-
formatO1CodeIgnoreFileNames,
|
|
413
|
-
require_ignore
|
|
414
|
-
} from "./chunk-OHAUN3Q5.js";
|
|
415
|
-
import {
|
|
416
|
-
WorkspaceContext,
|
|
417
|
-
isPathWithinRoot
|
|
418
|
-
} from "./chunk-O7QDVXNJ.js";
|
|
419
|
-
import {
|
|
420
|
-
DefaultHookOutput,
|
|
421
|
-
HOOKS_CONFIG_FIELDS,
|
|
422
|
-
HookEventName,
|
|
423
|
-
PermissionRequestHookOutput,
|
|
424
|
-
PostToolBatchHookOutput,
|
|
425
|
-
PostToolUseFailureHookOutput,
|
|
426
|
-
PostToolUseHookOutput,
|
|
427
|
-
PreToolUseHookOutput,
|
|
428
|
-
StopHookOutput,
|
|
429
|
-
UserPromptExpansionHookOutput,
|
|
430
|
-
createHookOutput,
|
|
431
|
-
escapeSystemReminderTags,
|
|
432
|
-
escapeXml,
|
|
433
|
-
escapeXmlElementText,
|
|
434
|
-
getHookKey,
|
|
435
|
-
isBlockingHookOutput,
|
|
436
|
-
isToolArtifactLike
|
|
437
|
-
} from "./chunk-SRFL3HFU.js";
|
|
438
|
-
import {
|
|
439
|
-
getResponsesMessage,
|
|
440
|
-
sameResponsesMessage
|
|
441
|
-
} from "./chunk-BQAZCJF7.js";
|
|
442
|
-
import {
|
|
443
|
-
QUOTA_EXHAUSTED_PREFIX,
|
|
444
|
-
ResponsesHttpError,
|
|
445
|
-
classifyRetryError,
|
|
446
|
-
delay,
|
|
447
|
-
formatQuotaExhaustedMessage,
|
|
448
|
-
getErrorHeader,
|
|
449
|
-
getRateLimitErrorDetails,
|
|
450
|
-
getRateLimitRetryDelayMs,
|
|
451
|
-
isApiError,
|
|
452
|
-
isFallbackEligible,
|
|
453
|
-
isQuotaExhaustedError,
|
|
454
|
-
isRateLimitError,
|
|
455
|
-
isRetryableUpstreamError,
|
|
456
|
-
isStructuredError,
|
|
457
|
-
isUnattendedMode,
|
|
458
|
-
retryWithBackoff
|
|
459
|
-
} from "./chunk-GM2WNDZ5.js";
|
|
460
|
-
import {
|
|
461
|
-
getThoughtSummary
|
|
462
|
-
} from "./chunk-CP63SY5N.js";
|
|
463
|
-
import {
|
|
464
|
-
captureReasoningSnapshot,
|
|
465
|
-
resolveReasoningCapabilities,
|
|
466
|
-
resolveReasoningForModel,
|
|
467
|
-
validateReasoningCapabilities
|
|
468
|
-
} from "./chunk-TZ7PFWVT.js";
|
|
469
|
-
import {
|
|
470
|
-
addDaemonRequestAttribute
|
|
471
|
-
} from "./chunk-2F3GZ6WG.js";
|
|
472
369
|
import {
|
|
473
370
|
ApiRetryEvent,
|
|
474
371
|
COMBINED_PASS_TOLERANCE_FACTOR,
|
|
@@ -561,7 +458,7 @@ import {
|
|
|
561
458
|
updateMCPServerStatus,
|
|
562
459
|
writeLine,
|
|
563
460
|
writeLineSync
|
|
564
|
-
} from "./chunk-
|
|
461
|
+
} from "./chunk-2OEBEF5L.js";
|
|
565
462
|
import {
|
|
566
463
|
Mutex
|
|
567
464
|
} from "./chunk-242JUBPM.js";
|
|
@@ -594,7 +491,7 @@ import {
|
|
|
594
491
|
readTextCursorWindowFromHandle,
|
|
595
492
|
readTextRangeFromHandle,
|
|
596
493
|
setMemoryFilename
|
|
597
|
-
} from "./chunk-
|
|
494
|
+
} from "./chunk-H5L5E5NI.js";
|
|
598
495
|
import {
|
|
599
496
|
extractCodeModeImageContent,
|
|
600
497
|
getCurrentToolCallSource,
|
|
@@ -604,10 +501,7 @@ import {
|
|
|
604
501
|
} from "./chunk-3CMX5LCG.js";
|
|
605
502
|
import {
|
|
606
503
|
runSideQuery
|
|
607
|
-
} from "./chunk-
|
|
608
|
-
import {
|
|
609
|
-
clampInlineMediaPart
|
|
610
|
-
} from "./chunk-SZ26YNBZ.js";
|
|
504
|
+
} from "./chunk-HQROPADY.js";
|
|
611
505
|
import {
|
|
612
506
|
getSystemEncoding
|
|
613
507
|
} from "./chunk-V4XETRAG.js";
|
|
@@ -615,6 +509,9 @@ import {
|
|
|
615
509
|
getInvocationContext,
|
|
616
510
|
runWithInvocationContext
|
|
617
511
|
} from "./chunk-ABTPVII7.js";
|
|
512
|
+
import {
|
|
513
|
+
clampInlineMediaPart
|
|
514
|
+
} from "./chunk-SZ26YNBZ.js";
|
|
618
515
|
import {
|
|
619
516
|
normalizeMcpToolName,
|
|
620
517
|
sanitizeToolNameForProvider
|
|
@@ -622,6 +519,75 @@ import {
|
|
|
622
519
|
import {
|
|
623
520
|
STRUCTURED_OUTPUT_REDACTED_ARGS
|
|
624
521
|
} from "./chunk-IMLPJ76O.js";
|
|
522
|
+
import {
|
|
523
|
+
BUBBLE_APPROVAL_MODE,
|
|
524
|
+
FORK_AGENT,
|
|
525
|
+
FORK_DEFAULT_MAX_TURNS,
|
|
526
|
+
FORK_PLACEHOLDER_RESULT,
|
|
527
|
+
FORK_SUBAGENT_TYPE,
|
|
528
|
+
SubagentError,
|
|
529
|
+
SubagentErrorCode,
|
|
530
|
+
buildAvailableSkillsReminder,
|
|
531
|
+
buildChangedAgentsReminder,
|
|
532
|
+
buildChangedMcpToolsReminder,
|
|
533
|
+
buildChangedSkillsReminder,
|
|
534
|
+
buildChildMessage,
|
|
535
|
+
buildDeferredToolsReminder,
|
|
536
|
+
buildForkExecutionAllowlist,
|
|
537
|
+
buildForkedMessages,
|
|
538
|
+
buildFunctionResponseParts,
|
|
539
|
+
buildMcpServerInstructionsReminder,
|
|
540
|
+
buildMcpServerInstructionsReminderFromEntries,
|
|
541
|
+
buildPinnedWorktreeNotice,
|
|
542
|
+
buildWorktreeNotice,
|
|
543
|
+
formatDateForContext,
|
|
544
|
+
getDirectoryContextString,
|
|
545
|
+
getInitialChatHistory,
|
|
546
|
+
getStartupContextLength,
|
|
547
|
+
isSystemReminderContent,
|
|
548
|
+
normalizeForkTurns,
|
|
549
|
+
registerForkDisplayImageForCache,
|
|
550
|
+
resolveForkExecutionAllowedTools,
|
|
551
|
+
runInForkContext,
|
|
552
|
+
selectForkHistory,
|
|
553
|
+
stripSystemReminderBlocks,
|
|
554
|
+
validateForkToolList,
|
|
555
|
+
wrapSystemReminder
|
|
556
|
+
} from "./chunk-DNMM4RF7.js";
|
|
557
|
+
import {
|
|
558
|
+
clearLoadedSkillTracking,
|
|
559
|
+
collectAvailableSkillEntries,
|
|
560
|
+
renderAvailableSkillsBlock
|
|
561
|
+
} from "./chunk-2SMHE6PC.js";
|
|
562
|
+
import {
|
|
563
|
+
DEFAULT_O1CODE_CUSTOM_IGNORE_FILE_NAMES,
|
|
564
|
+
O1CodeIgnoreParser,
|
|
565
|
+
formatO1CodeIgnoreFileNames,
|
|
566
|
+
require_ignore
|
|
567
|
+
} from "./chunk-OHAUN3Q5.js";
|
|
568
|
+
import {
|
|
569
|
+
WorkspaceContext,
|
|
570
|
+
isPathWithinRoot
|
|
571
|
+
} from "./chunk-O7QDVXNJ.js";
|
|
572
|
+
import {
|
|
573
|
+
DefaultHookOutput,
|
|
574
|
+
HOOKS_CONFIG_FIELDS,
|
|
575
|
+
HookEventName,
|
|
576
|
+
PermissionRequestHookOutput,
|
|
577
|
+
PostToolBatchHookOutput,
|
|
578
|
+
PostToolUseFailureHookOutput,
|
|
579
|
+
PostToolUseHookOutput,
|
|
580
|
+
PreToolUseHookOutput,
|
|
581
|
+
StopHookOutput,
|
|
582
|
+
UserPromptExpansionHookOutput,
|
|
583
|
+
createHookOutput,
|
|
584
|
+
escapeSystemReminderTags,
|
|
585
|
+
escapeXml,
|
|
586
|
+
escapeXmlElementText,
|
|
587
|
+
getHookKey,
|
|
588
|
+
isBlockingHookOutput,
|
|
589
|
+
isToolArtifactLike
|
|
590
|
+
} from "./chunk-SRFL3HFU.js";
|
|
625
591
|
import {
|
|
626
592
|
AgentStatistics,
|
|
627
593
|
BaseDeclarativeTool,
|
|
@@ -635,6 +601,37 @@ import {
|
|
|
635
601
|
require_ajv,
|
|
636
602
|
require_dist
|
|
637
603
|
} from "./chunk-V44Y3PCO.js";
|
|
604
|
+
import {
|
|
605
|
+
getResponsesMessage,
|
|
606
|
+
sameResponsesMessage
|
|
607
|
+
} from "./chunk-BQAZCJF7.js";
|
|
608
|
+
import {
|
|
609
|
+
getThoughtSummary
|
|
610
|
+
} from "./chunk-CP63SY5N.js";
|
|
611
|
+
import {
|
|
612
|
+
captureReasoningSnapshot,
|
|
613
|
+
resolveReasoningCapabilities,
|
|
614
|
+
resolveReasoningForModel,
|
|
615
|
+
validateReasoningCapabilities
|
|
616
|
+
} from "./chunk-J3RKZFKI.js";
|
|
617
|
+
import {
|
|
618
|
+
QUOTA_EXHAUSTED_PREFIX,
|
|
619
|
+
ResponsesHttpError,
|
|
620
|
+
classifyRetryError,
|
|
621
|
+
delay,
|
|
622
|
+
formatQuotaExhaustedMessage,
|
|
623
|
+
getErrorHeader,
|
|
624
|
+
getRateLimitErrorDetails,
|
|
625
|
+
getRateLimitRetryDelayMs,
|
|
626
|
+
isApiError,
|
|
627
|
+
isFallbackEligible,
|
|
628
|
+
isQuotaExhaustedError,
|
|
629
|
+
isRateLimitError,
|
|
630
|
+
isRetryableUpstreamError,
|
|
631
|
+
isStructuredError,
|
|
632
|
+
isUnattendedMode,
|
|
633
|
+
retryWithBackoff
|
|
634
|
+
} from "./chunk-YPTR7ZFB.js";
|
|
638
635
|
import {
|
|
639
636
|
DEFAULT_IMAGE_TOKEN_ESTIMATE,
|
|
640
637
|
TOKEN_TO_CHAR_RATIO,
|
|
@@ -653,6 +650,9 @@ import {
|
|
|
653
650
|
canonicalToolName,
|
|
654
651
|
resolveBuiltinToolName
|
|
655
652
|
} from "./chunk-SYMYKLO4.js";
|
|
653
|
+
import {
|
|
654
|
+
addDaemonRequestAttribute
|
|
655
|
+
} from "./chunk-LMFAYXBU.js";
|
|
656
656
|
import {
|
|
657
657
|
safeJsonStringify
|
|
658
658
|
} from "./chunk-IQEM74QW.js";
|
|
@@ -699,36 +699,20 @@ import {
|
|
|
699
699
|
startToolExecutionSpan,
|
|
700
700
|
startToolSpan,
|
|
701
701
|
truncateSpanError
|
|
702
|
-
} from "./chunk-
|
|
702
|
+
} from "./chunk-W5XYWVXE.js";
|
|
703
703
|
import {
|
|
704
704
|
normalizeContent,
|
|
705
705
|
stripAnsiAndControl,
|
|
706
706
|
stripHtmlComments
|
|
707
707
|
} from "./chunk-FKI7XUZK.js";
|
|
708
708
|
import {
|
|
709
|
-
FileTokenStorage,
|
|
710
|
-
HybridTokenStorage,
|
|
711
|
-
TokenStorageType,
|
|
712
|
-
o1ConnectBaseUrlFor,
|
|
713
|
-
openO1Connect
|
|
714
|
-
} from "./chunk-JKXGHDQ2.js";
|
|
715
|
-
import {
|
|
716
|
-
atomicWriteFile,
|
|
717
|
-
atomicWriteFileSync,
|
|
718
|
-
atomicWriteJSON,
|
|
719
|
-
renameWithRetry
|
|
720
|
-
} from "./chunk-EPJAMNLS.js";
|
|
721
|
-
import {
|
|
722
|
-
BRAND,
|
|
723
709
|
ModelsConfig,
|
|
724
|
-
ORGANIZAONE_ANTHROPIC_BASE_URL,
|
|
725
710
|
isImageGenerationCapable,
|
|
726
|
-
isOrganizaOneBaseUrl,
|
|
727
711
|
resolveModelApiKey,
|
|
728
712
|
resolveProviderProtocol,
|
|
729
713
|
resolveSavedModelApiKey,
|
|
730
714
|
stripRuntimeSnapshotPrefix
|
|
731
|
-
} from "./chunk-
|
|
715
|
+
} from "./chunk-AEJFNK44.js";
|
|
732
716
|
import {
|
|
733
717
|
DEFAULT_TOKEN_LIMIT,
|
|
734
718
|
OUTPUT_TOKEN_CEILING,
|
|
@@ -746,6 +730,33 @@ import {
|
|
|
746
730
|
setGeneratorReasoningEffort,
|
|
747
731
|
tokenLimit
|
|
748
732
|
} from "./chunk-72EBG4FJ.js";
|
|
733
|
+
import {
|
|
734
|
+
GatewayConversationError,
|
|
735
|
+
createGatewayIndependentRequest,
|
|
736
|
+
gatewayIndependentInput
|
|
737
|
+
} from "./chunk-WXIQKOFD.js";
|
|
738
|
+
import {
|
|
739
|
+
require_src
|
|
740
|
+
} from "./chunk-RC67CA5Z.js";
|
|
741
|
+
import {
|
|
742
|
+
resolveAgentShell
|
|
743
|
+
} from "./chunk-AK6T4SJC.js";
|
|
744
|
+
import {
|
|
745
|
+
KeychainTokenStorage
|
|
746
|
+
} from "./chunk-EVC2HZ5T.js";
|
|
747
|
+
import {
|
|
748
|
+
FileTokenStorage,
|
|
749
|
+
HybridTokenStorage,
|
|
750
|
+
TokenStorageType,
|
|
751
|
+
o1ConnectBaseUrlFor,
|
|
752
|
+
openO1Connect
|
|
753
|
+
} from "./chunk-MRDYGSEU.js";
|
|
754
|
+
import {
|
|
755
|
+
atomicWriteFile,
|
|
756
|
+
atomicWriteFileSync,
|
|
757
|
+
atomicWriteJSON,
|
|
758
|
+
renameWithRetry
|
|
759
|
+
} from "./chunk-EPJAMNLS.js";
|
|
749
760
|
import {
|
|
750
761
|
AUTH_ENV_MAPPINGS,
|
|
751
762
|
DEFAULT_MODELS,
|
|
@@ -754,10 +765,16 @@ import {
|
|
|
754
765
|
createContentGenerator,
|
|
755
766
|
resetPreloadedContentGenerator,
|
|
756
767
|
resolveContentGeneratorConfigWithSources
|
|
757
|
-
} from "./chunk-
|
|
768
|
+
} from "./chunk-WSZLSFAL.js";
|
|
758
769
|
import {
|
|
759
770
|
DEFAULT_O1CODE_MODEL
|
|
760
771
|
} from "./chunk-LEXKU5FI.js";
|
|
772
|
+
import {
|
|
773
|
+
BRAND,
|
|
774
|
+
ORGANIZAONE_ANTHROPIC_BASE_URL,
|
|
775
|
+
isOrganizaOneBaseUrl,
|
|
776
|
+
reachesOrganizaOne
|
|
777
|
+
} from "./chunk-VTIYMCRG.js";
|
|
761
778
|
import {
|
|
762
779
|
getOrCreateMcpDispatcher,
|
|
763
780
|
loadUndici,
|
|
@@ -765,15 +782,6 @@ import {
|
|
|
765
782
|
redactProxyError,
|
|
766
783
|
setResolvedProxyUrlForRuntimeFetch
|
|
767
784
|
} from "./chunk-S6HB6BVJ.js";
|
|
768
|
-
import {
|
|
769
|
-
require_src
|
|
770
|
-
} from "./chunk-RC67CA5Z.js";
|
|
771
|
-
import {
|
|
772
|
-
resolveAgentShell
|
|
773
|
-
} from "./chunk-AK6T4SJC.js";
|
|
774
|
-
import {
|
|
775
|
-
KeychainTokenStorage
|
|
776
|
-
} from "./chunk-EVC2HZ5T.js";
|
|
777
785
|
import {
|
|
778
786
|
createDebugLogger,
|
|
779
787
|
isDebugLogFileEnabled,
|
|
@@ -10346,6 +10354,7 @@ function applyResolvedModelConfig(targetConfig, resolvedModel, parentConfig, aut
|
|
|
10346
10354
|
if (!inheritCredentials) targetConfig.customHeaders = void 0;
|
|
10347
10355
|
targetConfig.reasoningRouteBaseUrl = resolvedModel.registryBaseUrl ?? null;
|
|
10348
10356
|
targetConfig.model = resolvedModel.id;
|
|
10357
|
+
targetConfig.connection = resolvedModel.connection;
|
|
10349
10358
|
targetConfig.authType = resolvedModel.authType;
|
|
10350
10359
|
targetConfig.baseUrl = authOverrides.baseUrl ?? resolvedModel.baseUrl ?? (sameProvider ? parentConfig.baseUrl : void 0);
|
|
10351
10360
|
if (resolvedModel.envKey) {
|
|
@@ -10712,14 +10721,17 @@ var BaseLlmClient = class {
|
|
|
10712
10721
|
retryErrorCodes,
|
|
10713
10722
|
model: requestModel
|
|
10714
10723
|
} = await this.resolveForModel(model);
|
|
10724
|
+
const isGateway = reachesOrganizaOne(contentGeneratorConfig);
|
|
10725
|
+
const independent = isGateway ? createGatewayIndependentRequest(options2.gatewayPurpose) : void 0;
|
|
10715
10726
|
const requestContents = slimCompactionInput(
|
|
10716
|
-
contents,
|
|
10727
|
+
isGateway ? gatewayIndependentInput(contents) : contents,
|
|
10717
10728
|
contentGeneratorConfig.modalities
|
|
10718
10729
|
).slimmedHistory;
|
|
10719
10730
|
try {
|
|
10720
10731
|
const apiCall = /* @__PURE__ */ __name(() => contentGenerator.generateContent(
|
|
10721
10732
|
{
|
|
10722
10733
|
model: requestModel,
|
|
10734
|
+
...independent ? { gatewayIndependentRequest: independent } : {},
|
|
10723
10735
|
config: {
|
|
10724
10736
|
...requestConfig,
|
|
10725
10737
|
tools,
|
|
@@ -10829,13 +10841,16 @@ var BaseLlmClient = class {
|
|
|
10829
10841
|
retryErrorCodes,
|
|
10830
10842
|
model: requestModel
|
|
10831
10843
|
} = await this.resolveForModel(model, { failClosed: options2.failClosed });
|
|
10844
|
+
const isGateway = reachesOrganizaOne(contentGeneratorConfig);
|
|
10845
|
+
const independent = isGateway ? createGatewayIndependentRequest(options2.gatewayPurpose) : void 0;
|
|
10832
10846
|
const requestContents = slimCompactionInput(
|
|
10833
|
-
contents,
|
|
10847
|
+
isGateway ? gatewayIndependentInput(contents) : contents,
|
|
10834
10848
|
contentGeneratorConfig.modalities
|
|
10835
10849
|
).slimmedHistory;
|
|
10836
10850
|
try {
|
|
10837
10851
|
const request = {
|
|
10838
10852
|
model: requestModel,
|
|
10853
|
+
...independent ? { gatewayIndependentRequest: independent } : {},
|
|
10839
10854
|
config: requestConfig,
|
|
10840
10855
|
contents: requestContents,
|
|
10841
10856
|
...options2.promptCacheSharing && { promptCacheSharing: true }
|
|
@@ -10980,7 +10995,7 @@ var BaseLlmClient = class {
|
|
|
10980
10995
|
const { contentGenerator, contentGeneratorConfig } = await this.createRuntimeViewForModel(
|
|
10981
10996
|
requested.model,
|
|
10982
10997
|
selector,
|
|
10983
|
-
opts?.failClosed
|
|
10998
|
+
opts?.failClosed === true || requested.model.startsWith("o1gw/") || reachesOrganizaOne(mainGeneratorConfig),
|
|
10984
10999
|
requested.baseUrl
|
|
10985
11000
|
);
|
|
10986
11001
|
const resolvedModel = this.resolveModelAcrossAuthTypes(
|
|
@@ -30160,6 +30175,15 @@ var ChatRecordingService = class {
|
|
|
30160
30175
|
}
|
|
30161
30176
|
}
|
|
30162
30177
|
}
|
|
30178
|
+
async recordGatewayConversation(payload) {
|
|
30179
|
+
await this.appendRecordStrict({
|
|
30180
|
+
...this.createBaseRecord("system"),
|
|
30181
|
+
type: "system",
|
|
30182
|
+
subtype: "gateway_conversation",
|
|
30183
|
+
systemPayload: payload
|
|
30184
|
+
});
|
|
30185
|
+
await this.flush();
|
|
30186
|
+
}
|
|
30163
30187
|
/** Persist the daemon session's current model so load/resume can restore it. */
|
|
30164
30188
|
async recordSessionModel(payload) {
|
|
30165
30189
|
if (!isValidSessionModelPayload(payload)) {
|
|
@@ -31558,6 +31582,12 @@ var ChatCompressionService = class {
|
|
|
31558
31582
|
}
|
|
31559
31583
|
}
|
|
31560
31584
|
const curatedHistory = chat.getHistoryShallow(true);
|
|
31585
|
+
if (curatedHistory.length >= 2 && reachesOrganizaOne(contentGeneratorConfig)) {
|
|
31586
|
+
throw new GatewayConversationError(
|
|
31587
|
+
"unsupported",
|
|
31588
|
+
"This gateway verifies the full conversation history and does not authorize replacing it with a client summary. The history is preserved. Start a new empty conversation with /new when its context is full."
|
|
31589
|
+
);
|
|
31590
|
+
}
|
|
31561
31591
|
if (curatedHistory.length === 0) {
|
|
31562
31592
|
return {
|
|
31563
31593
|
newHistory: null,
|
|
@@ -31717,7 +31747,7 @@ Do not call tools; tool execution is disabled for this request. ` + COMPRESSION_
|
|
|
31717
31747
|
const providerSupportsCacheSharing = supportsCompressionCacheSharing(config2);
|
|
31718
31748
|
const hasProviderTokenCount = (chat.getLastPromptTokenCount?.() ?? 0) > 0 && chat.isLastPromptTokenCountEstimated?.() !== true;
|
|
31719
31749
|
const sharedRequestFits = sharedPromptTokenCount + sharedDirectiveTokenCount + COMPACT_MAX_OUTPUT_TOKENS <= contextLimit;
|
|
31720
|
-
const canShareCache = usesMainModel && providerSupportsCacheSharing && hasProviderTokenCount && sharedRequestFits && // The shared request is built from the UNSLIMMED history. A
|
|
31750
|
+
const canShareCache = !reachesOrganizaOne(config2.getContentGeneratorConfig()) && usesMainModel && providerSupportsCacheSharing && hasProviderTokenCount && sharedRequestFits && // The shared request is built from the UNSLIMMED history. A
|
|
31721
31751
|
// payload-overflow compaction exists because that exact payload was
|
|
31722
31752
|
// just rejected at the gateway's byte limit — re-uploading it would
|
|
31723
31753
|
// 413 again (logging a misleading cache-sharing failure) before the
|
|
@@ -34060,6 +34090,11 @@ var LlmChat = class {
|
|
|
34060
34090
|
* then strips thinking parts from all model turns.
|
|
34061
34091
|
*/
|
|
34062
34092
|
compressFast() {
|
|
34093
|
+
if (reachesOrganizaOne(this.config.getContentGeneratorConfig?.()))
|
|
34094
|
+
throw new GatewayConversationError(
|
|
34095
|
+
"unsupported",
|
|
34096
|
+
"This gateway does not authorize truncating the authenticated history. Keep this conversation and start a new empty one with /new."
|
|
34097
|
+
);
|
|
34063
34098
|
this.adoptTokenCountsForRoute();
|
|
34064
34099
|
const beforeEstimate = estimateContentTokens(this.history);
|
|
34065
34100
|
const projectRoot = this.config.getProjectRoot();
|
|
@@ -34585,6 +34620,7 @@ var LlmChat = class {
|
|
|
34585
34620
|
} catch (error62) {
|
|
34586
34621
|
lastError = error62;
|
|
34587
34622
|
if (params.config?.abortSignal?.aborted) throw error62;
|
|
34623
|
+
if (reachesOrganizaOne(cgConfig)) throw error62;
|
|
34588
34624
|
foldTransportAttemptText();
|
|
34589
34625
|
const classification = classifyRetryError(error62, {
|
|
34590
34626
|
authType: cgConfig?.authType,
|
|
@@ -34604,6 +34640,7 @@ var LlmChat = class {
|
|
|
34604
34640
|
if (error62 instanceof ResponsesHttpError && error62.headers.get("x-should-retry") === "false") {
|
|
34605
34641
|
throw error62;
|
|
34606
34642
|
}
|
|
34643
|
+
if (classification.reason === "gateway-continuity") throw error62;
|
|
34607
34644
|
const isRateLimit = isRateLimitError(error62, extraRetryErrorCodes);
|
|
34608
34645
|
if (isRateLimit) {
|
|
34609
34646
|
const details = getRateLimitErrorDetails(error62);
|
|
@@ -34758,7 +34795,7 @@ var LlmChat = class {
|
|
|
34758
34795
|
const degradeAttempt = omniMediaDegradeAttempts++;
|
|
34759
34796
|
let degradeOutcome;
|
|
34760
34797
|
try {
|
|
34761
|
-
const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-
|
|
34798
|
+
const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-JI4TV7MU.js");
|
|
34762
34799
|
degradeOutcome = await degradeOmniMediaAfterServerReject(
|
|
34763
34800
|
self2.config,
|
|
34764
34801
|
self2.history,
|
|
@@ -35034,7 +35071,7 @@ var LlmChat = class {
|
|
|
35034
35071
|
}
|
|
35035
35072
|
}
|
|
35036
35073
|
}, "streamWithInvalidStreamRetries");
|
|
35037
|
-
if (lastError === null && lastFinishReason === FinishReason.MAX_TOKENS && !maxTokensEscalated && !hasUserMaxTokensOverride) {
|
|
35074
|
+
if (lastError === null && !reachesOrganizaOne(cgConfig) && lastFinishReason === FinishReason.MAX_TOKENS && !maxTokensEscalated && !hasUserMaxTokensOverride) {
|
|
35038
35075
|
maxTokensEscalated = true;
|
|
35039
35076
|
let recoveryFinishReason = lastFinishReason;
|
|
35040
35077
|
let recoveryParams = params;
|
|
@@ -38341,7 +38378,7 @@ __name(computeCharContribution, "computeCharContribution");
|
|
|
38341
38378
|
init_esbuild_shims();
|
|
38342
38379
|
import * as fs36 from "node:fs/promises";
|
|
38343
38380
|
import * as path37 from "node:path";
|
|
38344
|
-
import { randomUUID as
|
|
38381
|
+
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
38345
38382
|
|
|
38346
38383
|
// packages/core/src/memory/store.ts
|
|
38347
38384
|
init_esbuild_shims();
|
|
@@ -38472,6 +38509,7 @@ init_esbuild_shims();
|
|
|
38472
38509
|
|
|
38473
38510
|
// packages/core/src/agents/forkedAgent.ts
|
|
38474
38511
|
init_esbuild_shims();
|
|
38512
|
+
import { randomUUID as randomUUID9 } from "node:crypto";
|
|
38475
38513
|
|
|
38476
38514
|
// packages/core/src/tools/agent/agent.ts
|
|
38477
38515
|
init_esbuild_shims();
|
|
@@ -77492,7 +77530,7 @@ var CoreToolScheduler = class _CoreToolScheduler {
|
|
|
77492
77530
|
const notices = [];
|
|
77493
77531
|
let omniProcessed = responseParts;
|
|
77494
77532
|
if (this.config.isOmniEnabled?.()) {
|
|
77495
|
-
const { processToolResultOmniMedia } = await import("./tool-result-media-
|
|
77533
|
+
const { processToolResultOmniMedia } = await import("./tool-result-media-XTX26N6J.js");
|
|
77496
77534
|
omniProcessed = await processToolResultOmniMedia(
|
|
77497
77535
|
responseParts,
|
|
77498
77536
|
this.config,
|
|
@@ -80665,7 +80703,7 @@ ${body}
|
|
|
80665
80703
|
artifacts: toolResult.artifacts
|
|
80666
80704
|
} : void 0;
|
|
80667
80705
|
if (policyArtifacts && policyArtifacts.executionOrigin.kind !== "fixed_policy" && scheduledCall.tool.mediaPolicyDescriptor) {
|
|
80668
|
-
const { collectModelPolicyCall } = await import("./model-call-collection-
|
|
80706
|
+
const { collectModelPolicyCall } = await import("./model-call-collection-ZLUY4ZPF.js");
|
|
80669
80707
|
await collectModelPolicyCall({
|
|
80670
80708
|
config: this.config,
|
|
80671
80709
|
batch: policyArtifacts,
|
|
@@ -95137,6 +95175,11 @@ function clearCacheSafeParams() {
|
|
|
95137
95175
|
__name(clearCacheSafeParams, "clearCacheSafeParams");
|
|
95138
95176
|
var NO_TOOLS = Object.freeze({ tools: [] });
|
|
95139
95177
|
function createForkedChat(config2, params) {
|
|
95178
|
+
if (reachesOrganizaOne(config2.getContentGeneratorConfig?.()))
|
|
95179
|
+
throw new GatewayConversationError(
|
|
95180
|
+
"unsupported",
|
|
95181
|
+
"This gateway does not authorize cloning a conversation history for a cache-sharing fork. Use an independent task with explicit source material."
|
|
95182
|
+
);
|
|
95140
95183
|
const maxHistoryEntries = 40;
|
|
95141
95184
|
const history = params.history.length > maxHistoryEntries ? params.history.slice(-maxHistoryEntries) : params.history;
|
|
95142
95185
|
const forkedChat = new LlmChat(
|
|
@@ -95310,17 +95353,21 @@ async function runForkedAgent(params) {
|
|
|
95310
95353
|
const filesTouched = /* @__PURE__ */ new Set();
|
|
95311
95354
|
const pendingMutatingPaths = /* @__PURE__ */ new Map();
|
|
95312
95355
|
const filesWritten = /* @__PURE__ */ new Set();
|
|
95313
|
-
const
|
|
95314
|
-
const promptConfig = {
|
|
95315
|
-
systemPrompt: params.systemPrompt,
|
|
95316
|
-
initialMessages
|
|
95317
|
-
};
|
|
95356
|
+
const sourceMessages = params.extraHistory && (params.extraHistory.length > 0 || params.preserveEmptyExtraHistory) ? params.extraHistory : void 0;
|
|
95318
95357
|
const modelSelector = params.model ?? params.config.getFastModel?.() ?? params.config.getModel();
|
|
95319
95358
|
const modelRuntime = await buildForkedModelRuntime(
|
|
95320
95359
|
params.config,
|
|
95321
95360
|
yoloConfig,
|
|
95322
95361
|
modelSelector
|
|
95323
95362
|
);
|
|
95363
|
+
const isGateway = reachesOrganizaOne(
|
|
95364
|
+
modelRuntime.runtimeView?.contentGeneratorConfig ?? params.config.getContentGeneratorConfig?.()
|
|
95365
|
+
);
|
|
95366
|
+
const invocationId = isGateway ? `${params.name}-${randomUUID9()}` : void 0;
|
|
95367
|
+
const promptConfig = {
|
|
95368
|
+
systemPrompt: params.systemPrompt,
|
|
95369
|
+
initialMessages: isGateway && sourceMessages ? gatewayIndependentInput(sourceMessages) : sourceMessages
|
|
95370
|
+
};
|
|
95324
95371
|
const modelConfig = {
|
|
95325
95372
|
model: modelRuntime.model
|
|
95326
95373
|
};
|
|
@@ -95371,14 +95418,19 @@ async function runForkedAgent(params) {
|
|
|
95371
95418
|
toolConfig,
|
|
95372
95419
|
emitter,
|
|
95373
95420
|
void 0,
|
|
95374
|
-
modelRuntime.runtimeView
|
|
95421
|
+
modelRuntime.runtimeView,
|
|
95422
|
+
void 0,
|
|
95423
|
+
invocationId
|
|
95375
95424
|
);
|
|
95376
95425
|
const context2 = new ContextState();
|
|
95377
95426
|
context2.set("task_prompt", params.taskPrompt);
|
|
95378
95427
|
context2.set("hook_context", "");
|
|
95379
|
-
const execute = /* @__PURE__ */ __name(() =>
|
|
95380
|
-
|
|
95381
|
-
|
|
95428
|
+
const execute = /* @__PURE__ */ __name(() => {
|
|
95429
|
+
const run = /* @__PURE__ */ __name(() => runWithForkedModelRuntime(modelRuntime, async () => {
|
|
95430
|
+
await headless.execute(context2, executionController.signal);
|
|
95431
|
+
}), "run");
|
|
95432
|
+
return invocationId ? runWithAgentContext(invocationId, run) : run();
|
|
95433
|
+
}, "execute");
|
|
95382
95434
|
try {
|
|
95383
95435
|
if (params.suppressChatRecording) {
|
|
95384
95436
|
await runWithChatRecordingSuppressed(execute);
|
|
@@ -98653,7 +98705,7 @@ var WRITE_TOOL_NAMES2 = /* @__PURE__ */ new Set([
|
|
|
98653
98705
|
function makeTaskRecord(type, projectRoot, sessionId) {
|
|
98654
98706
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
98655
98707
|
return {
|
|
98656
|
-
id:
|
|
98708
|
+
id: randomUUID10(),
|
|
98657
98709
|
taskType: type,
|
|
98658
98710
|
projectRoot,
|
|
98659
98711
|
sessionId,
|
|
@@ -99763,7 +99815,7 @@ import fsPromises2 from "node:fs/promises";
|
|
|
99763
99815
|
|
|
99764
99816
|
// packages/core/src/core/message-display-dispatcher.ts
|
|
99765
99817
|
init_esbuild_shims();
|
|
99766
|
-
import { randomUUID as
|
|
99818
|
+
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
99767
99819
|
|
|
99768
99820
|
// packages/core/src/core/message-display-buffer.ts
|
|
99769
99821
|
init_esbuild_shims();
|
|
@@ -99811,7 +99863,7 @@ var MessageDisplayDispatcher = class {
|
|
|
99811
99863
|
static {
|
|
99812
99864
|
__name(this, "MessageDisplayDispatcher");
|
|
99813
99865
|
}
|
|
99814
|
-
messageId =
|
|
99866
|
+
messageId = randomUUID11();
|
|
99815
99867
|
state;
|
|
99816
99868
|
/** Newest undelivered mid-stream text, coalesced behind {@link inFlight}. */
|
|
99817
99869
|
pending = null;
|
|
@@ -100632,7 +100684,9 @@ var LlmClient = class _LlmClient {
|
|
|
100632
100684
|
);
|
|
100633
100685
|
}
|
|
100634
100686
|
const deferredTools = this.resolveDeferredToolsForReminder(deferredSummary);
|
|
100635
|
-
const toolDeclarations =
|
|
100687
|
+
const toolDeclarations = reachesOrganizaOne(
|
|
100688
|
+
this.config.getContentGeneratorConfig?.()
|
|
100689
|
+
) ? toolRegistry.getFunctionDeclarations({ includeDeferred: true }) : toolRegistry.getFunctionDeclarations();
|
|
100636
100690
|
const tools = [{ functionDeclarations: toolDeclarations }];
|
|
100637
100691
|
this.getChat().setTools(tools);
|
|
100638
100692
|
this.queueAddedMcpToolsReminder(deferredTools ?? []);
|
|
@@ -101889,6 +101943,8 @@ var LlmClient = class _LlmClient {
|
|
|
101889
101943
|
}
|
|
101890
101944
|
}
|
|
101891
101945
|
async microcompactHistoryBeforeSend(lastCompletionTimestamp, opts) {
|
|
101946
|
+
if (reachesOrganizaOne(this.config.getContentGeneratorConfig?.()))
|
|
101947
|
+
return false;
|
|
101892
101948
|
try {
|
|
101893
101949
|
const projectRoot = this.config.getProjectRoot();
|
|
101894
101950
|
const targetDir = this.config.getTargetDir?.() ?? projectRoot;
|
|
@@ -102638,7 +102694,7 @@ The current date is: ${today}. Note: This is the authoritative current date \u20
|
|
|
102638
102694
|
systemReminders.unshift(userQueryMemory.prompt);
|
|
102639
102695
|
}
|
|
102640
102696
|
if (this.config.isOmniEnabled?.()) {
|
|
102641
|
-
const { runOmniMemorySideQuery, formatOmniMemorySideQueryReminder } = await import("./memory-side-query-
|
|
102697
|
+
const { runOmniMemorySideQuery, formatOmniMemorySideQueryReminder } = await import("./memory-side-query-XFFIF7UX.js");
|
|
102642
102698
|
const omniRecall = await runOmniMemorySideQuery({
|
|
102643
102699
|
config: this.config,
|
|
102644
102700
|
requestParts: requestToSend,
|
|
@@ -103314,13 +103370,15 @@ The current date is: ${today}. Note: This is the authoritative current date \u20
|
|
|
103314
103370
|
contents,
|
|
103315
103371
|
contentGeneratorConfig?.modalities ?? {}
|
|
103316
103372
|
).slimmedHistory;
|
|
103373
|
+
const independent = reachesOrganizaOne(contentGeneratorConfig) ? createGatewayIndependentRequest() : void 0;
|
|
103317
103374
|
const apiCall = /* @__PURE__ */ __name(() => {
|
|
103318
103375
|
currentAttemptModel = requestModel;
|
|
103319
103376
|
return contentGenerator.generateContent(
|
|
103320
103377
|
{
|
|
103321
103378
|
model: requestModel,
|
|
103379
|
+
...independent ? { gatewayIndependentRequest: independent } : {},
|
|
103322
103380
|
config: requestConfig,
|
|
103323
|
-
contents: requestContents
|
|
103381
|
+
contents: independent ? gatewayIndependentInput(requestContents) : requestContents
|
|
103324
103382
|
},
|
|
103325
103383
|
promptId
|
|
103326
103384
|
);
|
|
@@ -134148,7 +134206,7 @@ var import_yaml3 = __toESM(require_dist2(), 1);
|
|
|
134148
134206
|
import * as fs46 from "fs/promises";
|
|
134149
134207
|
import * as path48 from "path";
|
|
134150
134208
|
import * as os10 from "os";
|
|
134151
|
-
import { randomUUID as
|
|
134209
|
+
import { randomUUID as randomUUID12 } from "crypto";
|
|
134152
134210
|
|
|
134153
134211
|
// packages/core/src/subagents/validation.ts
|
|
134154
134212
|
init_esbuild_shims();
|
|
@@ -135315,7 +135373,7 @@ ${config2.systemPrompt}
|
|
|
135315
135373
|
);
|
|
135316
135374
|
const { context: subagentContext, cleanup } = await this.buildSubagentContextOverride(runtimeContext, config2);
|
|
135317
135375
|
disposeSubagentRegistry = cleanup;
|
|
135318
|
-
const subagentId = options2?.subagentId ?? `${config2.name}-${
|
|
135376
|
+
const subagentId = options2?.subagentId ?? `${config2.name}-${randomUUID12().replace(/-/g, "").slice(0, 8)}`;
|
|
135319
135377
|
const hookSystem = runtimeContext.getHookSystem();
|
|
135320
135378
|
const hookRegistry = hookSystem?.getRegistry();
|
|
135321
135379
|
if (config2.hooks && Object.keys(config2.hooks).length > 0) {
|
|
@@ -144461,7 +144519,7 @@ __name(extractZipArchive, "extractZipArchive");
|
|
|
144461
144519
|
init_esbuild_shims();
|
|
144462
144520
|
import * as fs61 from "node:fs/promises";
|
|
144463
144521
|
import * as path63 from "node:path";
|
|
144464
|
-
import { randomUUID as
|
|
144522
|
+
import { randomUUID as randomUUID13 } from "node:crypto";
|
|
144465
144523
|
var EXTENSION_GIT_CREDENTIAL_SELECTOR_FILENAME = ".o1-code-extension-git-credentials.json";
|
|
144466
144524
|
var GIT_CREDENTIAL_SERVICE_NAME = "O1-Code Extension Git Credentials";
|
|
144467
144525
|
var GIT_CREDENTIAL_KEY_PREFIX = "$o1-code:extension-git:v1:";
|
|
@@ -144539,7 +144597,7 @@ async function writeGitCredentialSelector(extensionDir, selector) {
|
|
|
144539
144597
|
__name(writeGitCredentialSelector, "writeGitCredentialSelector");
|
|
144540
144598
|
async function prepareStoredGitCredential(extensionDir, credential) {
|
|
144541
144599
|
const storage = new HybridTokenStorage(GIT_CREDENTIAL_SERVICE_NAME);
|
|
144542
|
-
const secretKey = `${GIT_CREDENTIAL_KEY_PREFIX}${
|
|
144600
|
+
const secretKey = `${GIT_CREDENTIAL_KEY_PREFIX}${randomUUID13()}`;
|
|
144543
144601
|
await storage.setSecret(secretKey, JSON.stringify(credential));
|
|
144544
144602
|
const selector = {
|
|
144545
144603
|
version: 1,
|
|
@@ -146710,7 +146768,7 @@ init_esbuild_shims();
|
|
|
146710
146768
|
var dotenv = __toESM(require_main(), 1);
|
|
146711
146769
|
import * as fs67 from "node:fs/promises";
|
|
146712
146770
|
import * as fsSync3 from "node:fs";
|
|
146713
|
-
import { randomUUID as
|
|
146771
|
+
import { randomUUID as randomUUID15 } from "node:crypto";
|
|
146714
146772
|
import * as path68 from "node:path";
|
|
146715
146773
|
var import_prompts7 = __toESM(require_prompts3(), 1);
|
|
146716
146774
|
var debugLogger98 = createDebugLogger("EXT_SETTINGS");
|
|
@@ -146859,7 +146917,7 @@ async function maybePromptForSettings(extensionConfig, extensionId, requestSetti
|
|
|
146859
146917
|
const envContent = formatEnvContent(nonSensitiveSettings);
|
|
146860
146918
|
await atomicWriteFile(envFilePath, envContent, { noFollow: true });
|
|
146861
146919
|
if (Object.keys(sensitiveSettings).length > 0) {
|
|
146862
|
-
const bundleKey = `${SETTINGS_BUNDLE_PREFIX}${
|
|
146920
|
+
const bundleKey = `${SETTINGS_BUNDLE_PREFIX}${randomUUID15()}`;
|
|
146863
146921
|
await keychain.setSecret(bundleKey, JSON.stringify(sensitiveSettings));
|
|
146864
146922
|
newSelector = {
|
|
146865
146923
|
version: 1,
|
|
@@ -153459,7 +153517,7 @@ var HookRegistry = class {
|
|
|
153459
153517
|
// packages/core/src/hooks/hookRunner.ts
|
|
153460
153518
|
init_esbuild_shims();
|
|
153461
153519
|
import { execFile as execFile8, spawn as spawn6 } from "node:child_process";
|
|
153462
|
-
import { randomUUID as
|
|
153520
|
+
import { randomUUID as randomUUID17 } from "node:crypto";
|
|
153463
153521
|
import { rmSync as rmSync6, writeFileSync as writeFileSync8 } from "node:fs";
|
|
153464
153522
|
import { platform as platform3, tmpdir as tmpdir4 } from "node:os";
|
|
153465
153523
|
import { join as join54 } from "node:path";
|
|
@@ -154556,7 +154614,8 @@ ${processedPrompt}`);
|
|
|
154556
154614
|
try {
|
|
154557
154615
|
let generator = this.config.getContentGenerator();
|
|
154558
154616
|
let requestModel = model;
|
|
154559
|
-
let
|
|
154617
|
+
let generatorConfig = this.config.getContentGeneratorConfig();
|
|
154618
|
+
let reasoningConfig = generatorConfig.reasoning;
|
|
154560
154619
|
if (!generator) {
|
|
154561
154620
|
const error62 = new Error(
|
|
154562
154621
|
"ContentGenerator not available - make sure you are authenticated"
|
|
@@ -154575,6 +154634,7 @@ ${processedPrompt}`);
|
|
|
154575
154634
|
]);
|
|
154576
154635
|
generator = resolved.contentGenerator;
|
|
154577
154636
|
requestModel = resolved.model;
|
|
154637
|
+
generatorConfig = resolved.contentGeneratorConfig;
|
|
154578
154638
|
reasoningConfig = resolved.contentGeneratorConfig.reasoning;
|
|
154579
154639
|
}
|
|
154580
154640
|
const isReasoningModel = this.isReasoningModel(
|
|
@@ -154607,6 +154667,7 @@ ${processedPrompt}`);
|
|
|
154607
154667
|
generator.generateContent(
|
|
154608
154668
|
{
|
|
154609
154669
|
model: requestModel,
|
|
154670
|
+
...reachesOrganizaOne(generatorConfig) ? { gatewayIndependentRequest: createGatewayIndependentRequest() } : {},
|
|
154610
154671
|
contents,
|
|
154611
154672
|
config: requestConfig
|
|
154612
154673
|
},
|
|
@@ -155448,7 +155509,7 @@ __name(terminateSurvivingHookProcessGroup, "terminateSurvivingHookProcessGroup")
|
|
|
155448
155509
|
function createSurvivingHookInputFile(input2) {
|
|
155449
155510
|
const path80 = join54(
|
|
155450
155511
|
tmpdir4(),
|
|
155451
|
-
`o1-code-hook-input-${process.pid}-${
|
|
155512
|
+
`o1-code-hook-input-${process.pid}-${randomUUID17()}.json`
|
|
155452
155513
|
);
|
|
155453
155514
|
writeFileSync8(path80, JSON.stringify(input2), {
|
|
155454
155515
|
encoding: "utf8",
|
|
@@ -158870,7 +158931,7 @@ var HOOK_EVENT_DISPLAY = Object.freeze({
|
|
|
158870
158931
|
|
|
158871
158932
|
// packages/core/src/confirmation-bus/message-bus.ts
|
|
158872
158933
|
init_esbuild_shims();
|
|
158873
|
-
import { randomUUID as
|
|
158934
|
+
import { randomUUID as randomUUID18 } from "node:crypto";
|
|
158874
158935
|
import { EventEmitter as EventEmitter6 } from "node:events";
|
|
158875
158936
|
var debugLogger118 = createDebugLogger("TRUSTED_HOOKS");
|
|
158876
158937
|
var MessageBus = class extends EventEmitter6 {
|
|
@@ -158931,7 +158992,7 @@ var MessageBus = class extends EventEmitter6 {
|
|
|
158931
158992
|
* The correlation ID is generated internally and added to the request
|
|
158932
158993
|
*/
|
|
158933
158994
|
async request(request, responseType, timeoutMs = 6e4, signal) {
|
|
158934
|
-
const correlationId =
|
|
158995
|
+
const correlationId = randomUUID18();
|
|
158935
158996
|
return new Promise((resolve34, reject) => {
|
|
158936
158997
|
if (signal?.aborted) {
|
|
158937
158998
|
reject(new Error("Request aborted"));
|
|
@@ -159063,7 +159124,7 @@ function isSdkMcpServerConfig(config2) {
|
|
|
159063
159124
|
__name(isSdkMcpServerConfig, "isSdkMcpServerConfig");
|
|
159064
159125
|
|
|
159065
159126
|
// packages/core/src/config/config.ts
|
|
159066
|
-
import { createHash as createHash12, randomUUID as
|
|
159127
|
+
import { createHash as createHash12, randomUUID as randomUUID19 } from "node:crypto";
|
|
159067
159128
|
|
|
159068
159129
|
// packages/core/src/memory/memoryDiscovery.ts
|
|
159069
159130
|
init_esbuild_shims();
|
|
@@ -163628,7 +163689,7 @@ var Config = class _Config {
|
|
|
163628
163689
|
Storage.getGlobalO1CodeDir()
|
|
163629
163690
|
);
|
|
163630
163691
|
this.provisionalWorkspace = params.provisionalWorkspace === true;
|
|
163631
|
-
this.sessionId = params.sessionId ??
|
|
163692
|
+
this.sessionId = params.sessionId ?? randomUUID19();
|
|
163632
163693
|
if (!sessionEnvClaimed && process6.env) {
|
|
163633
163694
|
process6.env["O1CODE_SESSION_ID"] = this.sessionId;
|
|
163634
163695
|
sessionEnvClaimed = true;
|
|
@@ -164151,7 +164212,7 @@ var Config = class _Config {
|
|
|
164151
164212
|
await this.proxyDispatcherReady;
|
|
164152
164213
|
options2?.signal?.throwIfAborted();
|
|
164153
164214
|
if (this.isOmniEnabled()) {
|
|
164154
|
-
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-
|
|
164215
|
+
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-RMBZH5CN.js");
|
|
164155
164216
|
this.omniUploadConfig = normalizeDedicatedOmniUploadConfig({
|
|
164156
164217
|
baseUrl: this.omniUploadBaseUrl,
|
|
164157
164218
|
apiKeyEnv: this.omniUploadApiKeyEnv,
|
|
@@ -165341,7 +165402,7 @@ var Config = class _Config {
|
|
|
165341
165402
|
void outgoingChatRecordingService?.flush().catch(() => {
|
|
165342
165403
|
});
|
|
165343
165404
|
const previousSessionId = this.sessionId;
|
|
165344
|
-
const nextSessionId = sessionId ??
|
|
165405
|
+
const nextSessionId = sessionId ?? randomUUID19();
|
|
165345
165406
|
const isSessionTransition = nextSessionId !== previousSessionId;
|
|
165346
165407
|
if (isSessionTransition) {
|
|
165347
165408
|
logSessionEnd(this);
|
|
@@ -168064,7 +168125,7 @@ var Config = class _Config {
|
|
|
168064
168125
|
return this.omniPolicyTools;
|
|
168065
168126
|
}
|
|
168066
168127
|
async loadOmniMediaReader() {
|
|
168067
|
-
return import("./omni-
|
|
168128
|
+
return import("./omni-WVNDCU2V.js");
|
|
168068
168129
|
}
|
|
168069
168130
|
/** Normalized `omni.processing` view. Undefined until tool warmup
|
|
168070
168131
|
* completes (or when omni is disabled). */
|
|
@@ -169673,7 +169734,7 @@ var Config = class _Config {
|
|
|
169673
169734
|
async registerWorkflowTool(registry2) {
|
|
169674
169735
|
if (registry2.getAllToolNames().includes(ToolNames.WORKFLOW)) return true;
|
|
169675
169736
|
await this.registerLazyTool(registry2, ToolNames.WORKFLOW, async () => {
|
|
169676
|
-
const { WorkflowTool } = await import("./workflow-
|
|
169737
|
+
const { WorkflowTool } = await import("./workflow-WPYWSNRI.js");
|
|
169677
169738
|
return new WorkflowTool(this);
|
|
169678
169739
|
});
|
|
169679
169740
|
return registry2.getAllToolNames().includes(ToolNames.WORKFLOW);
|
|
@@ -169695,7 +169756,7 @@ var Config = class _Config {
|
|
|
169695
169756
|
}
|
|
169696
169757
|
if (status === "disabled") return;
|
|
169697
169758
|
const factory = /* @__PURE__ */ __name(async () => {
|
|
169698
|
-
const { ImageGenTool } = await import("./image-gen-
|
|
169759
|
+
const { ImageGenTool } = await import("./image-gen-WGMRL47H.js");
|
|
169699
169760
|
return new ImageGenTool(this);
|
|
169700
169761
|
}, "factory");
|
|
169701
169762
|
if (status === "deferred") {
|
|
@@ -169753,16 +169814,16 @@ var Config = class _Config {
|
|
|
169753
169814
|
const registerGoalWorkerTools = /* @__PURE__ */ __name(async () => {
|
|
169754
169815
|
if (options2?.forSubAgent) return;
|
|
169755
169816
|
await registerLazy(ToolNames.GET_GOAL, async () => {
|
|
169756
|
-
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-
|
|
169817
|
+
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-54MEWICX.js");
|
|
169757
169818
|
return new GetGoalTool2(this);
|
|
169758
169819
|
});
|
|
169759
169820
|
await registerLazy(ToolNames.UPDATE_GOAL, async () => {
|
|
169760
|
-
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-
|
|
169821
|
+
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-54MEWICX.js");
|
|
169761
169822
|
return new UpdateGoalTool2(this);
|
|
169762
169823
|
});
|
|
169763
169824
|
if (this.getModelProposedGoals() !== "disabled" && (resolveInteractionMode(this) === "interactive" || this.goalProposalHostSupported)) {
|
|
169764
169825
|
await registerLazy(ToolNames.PROPOSE_GOAL, async () => {
|
|
169765
|
-
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-
|
|
169826
|
+
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-54MEWICX.js");
|
|
169766
169827
|
return new ProposeGoalTool2(this);
|
|
169767
169828
|
});
|
|
169768
169829
|
}
|
|
@@ -169782,16 +169843,16 @@ var Config = class _Config {
|
|
|
169782
169843
|
});
|
|
169783
169844
|
}
|
|
169784
169845
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
169785
|
-
const { WebFetchTool } = await import("./web-fetch-
|
|
169846
|
+
const { WebFetchTool } = await import("./web-fetch-3HPAIZLZ.js");
|
|
169786
169847
|
return new WebFetchTool(this);
|
|
169787
169848
|
});
|
|
169788
169849
|
const hasExplicitWebSearchBackend = !!this.webSearchSettings?.model?.trim() || !!this.webSearchSettings?.baseUrl;
|
|
169789
169850
|
if (!this.getBareMode() && !this.isSafeMode() && this.webSearchSettings?.enabled !== false && (this.webSearchSettings?.enabled === true || !hasExplicitWebSearchBackend)) {
|
|
169790
|
-
const { evaluateWebSearchGate } = await import("./web-search-
|
|
169851
|
+
const { evaluateWebSearchGate } = await import("./web-search-IGWJKQL6.js");
|
|
169791
169852
|
const gate = evaluateWebSearchGate(this);
|
|
169792
169853
|
if (gate.ok) {
|
|
169793
169854
|
await registerLazy(ToolNames.WEB_SEARCH, async () => {
|
|
169794
|
-
const { WebSearchTool } = await import("./web-search-
|
|
169855
|
+
const { WebSearchTool } = await import("./web-search-IGWJKQL6.js");
|
|
169795
169856
|
return new WebSearchTool(this);
|
|
169796
169857
|
});
|
|
169797
169858
|
} else if (!gate.silent && !this.webSearchNoticeEmitted && !options2?.forSubAgent) {
|
|
@@ -169808,8 +169869,8 @@ var Config = class _Config {
|
|
|
169808
169869
|
);
|
|
169809
169870
|
}
|
|
169810
169871
|
const [{ createExecutionTools }, { wrapExecutionTool }] = await Promise.all([
|
|
169811
|
-
import("./local-execution-environment-
|
|
169812
|
-
import("./execution-tool-
|
|
169872
|
+
import("./local-execution-environment-DP37VPGH.js"),
|
|
169873
|
+
import("./execution-tool-Z6N2XKZI.js")
|
|
169813
169874
|
]);
|
|
169814
169875
|
for (const [name, tool] of createExecutionTools(this)) {
|
|
169815
169876
|
if (environment.toolNames && !environment.toolNames.has(name)) continue;
|
|
@@ -169824,7 +169885,7 @@ var Config = class _Config {
|
|
|
169824
169885
|
return new ToolCallTool(registry2);
|
|
169825
169886
|
});
|
|
169826
169887
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
169827
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
169888
|
+
const { ToolSearchTool } = await import("./tool-search-HOXIUKWC.js");
|
|
169828
169889
|
return new ToolSearchTool(this);
|
|
169829
169890
|
});
|
|
169830
169891
|
if (this.executionEnvironment && !options2?.forSubAgent) {
|
|
@@ -169836,7 +169897,7 @@ var Config = class _Config {
|
|
|
169836
169897
|
}
|
|
169837
169898
|
if (this.shellExecutionSandbox) {
|
|
169838
169899
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
169839
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
169900
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CDFSFLKN.js");
|
|
169840
169901
|
return new ShellTool2(this);
|
|
169841
169902
|
});
|
|
169842
169903
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -169844,31 +169905,31 @@ var Config = class _Config {
|
|
|
169844
169905
|
return new TaskStopTool(this);
|
|
169845
169906
|
});
|
|
169846
169907
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
169847
|
-
const { ReadFileTool } = await import("./read-file-
|
|
169908
|
+
const { ReadFileTool } = await import("./read-file-BROAVJMY.js");
|
|
169848
169909
|
return new ReadFileTool(this);
|
|
169849
169910
|
});
|
|
169850
169911
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
169851
|
-
const { WriteFileTool } = await import("./write-file-
|
|
169912
|
+
const { WriteFileTool } = await import("./write-file-PNL2YVFB.js");
|
|
169852
169913
|
return new WriteFileTool(this);
|
|
169853
169914
|
});
|
|
169854
169915
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
169855
|
-
const { EditTool } = await import("./edit-
|
|
169916
|
+
const { EditTool } = await import("./edit-LHLIDK3S.js");
|
|
169856
169917
|
return new EditTool(this);
|
|
169857
169918
|
});
|
|
169858
169919
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
169859
|
-
const { MonitorTool } = await import("./monitor-
|
|
169920
|
+
const { MonitorTool } = await import("./monitor-GXNUEY3P.js");
|
|
169860
169921
|
return new MonitorTool(this);
|
|
169861
169922
|
});
|
|
169862
169923
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
169863
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
169924
|
+
const { AgentTool: AgentTool2 } = await import("./agent-ZI5SNX4V.js");
|
|
169864
169925
|
return new AgentTool2(this);
|
|
169865
169926
|
});
|
|
169866
169927
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
169867
|
-
const { GlobTool } = await import("./glob-
|
|
169928
|
+
const { GlobTool } = await import("./glob-I3H7VRYE.js");
|
|
169868
169929
|
return new GlobTool(this);
|
|
169869
169930
|
});
|
|
169870
169931
|
await registerLazy(ToolNames.LS, async () => {
|
|
169871
|
-
const { LSTool } = await import("./ls-
|
|
169932
|
+
const { LSTool } = await import("./ls-SSSPTK7X.js");
|
|
169872
169933
|
return new LSTool(this);
|
|
169873
169934
|
});
|
|
169874
169935
|
if (resolveInteractionMode(this) !== "headless") {
|
|
@@ -169883,19 +169944,19 @@ var Config = class _Config {
|
|
|
169883
169944
|
}
|
|
169884
169945
|
if (this.getBareMode()) {
|
|
169885
169946
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
169886
|
-
const { ReadFileTool } = await import("./read-file-
|
|
169947
|
+
const { ReadFileTool } = await import("./read-file-BROAVJMY.js");
|
|
169887
169948
|
return new ReadFileTool(this);
|
|
169888
169949
|
});
|
|
169889
169950
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
169890
|
-
const { EditTool } = await import("./edit-
|
|
169951
|
+
const { EditTool } = await import("./edit-LHLIDK3S.js");
|
|
169891
169952
|
return new EditTool(this);
|
|
169892
169953
|
});
|
|
169893
169954
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
169894
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
169955
|
+
const { NotebookEditTool } = await import("./notebook-edit-DXAOFD2H.js");
|
|
169895
169956
|
return new NotebookEditTool(this);
|
|
169896
169957
|
});
|
|
169897
169958
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
169898
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
169959
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CDFSFLKN.js");
|
|
169899
169960
|
return new ShellTool2(this);
|
|
169900
169961
|
});
|
|
169901
169962
|
await registerGoalWorkerTools();
|
|
@@ -169914,7 +169975,7 @@ var Config = class _Config {
|
|
|
169914
169975
|
return new ToolCallTool(registry2);
|
|
169915
169976
|
});
|
|
169916
169977
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
169917
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
169978
|
+
const { ToolSearchTool } = await import("./tool-search-HOXIUKWC.js");
|
|
169918
169979
|
return new ToolSearchTool(this);
|
|
169919
169980
|
});
|
|
169920
169981
|
await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
|
|
@@ -169922,7 +169983,7 @@ var Config = class _Config {
|
|
|
169922
169983
|
return new ReadMcpResourceTool(this);
|
|
169923
169984
|
});
|
|
169924
169985
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
169925
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
169986
|
+
const { AgentTool: AgentTool2 } = await import("./agent-ZI5SNX4V.js");
|
|
169926
169987
|
return new AgentTool2(this);
|
|
169927
169988
|
});
|
|
169928
169989
|
await registerLazy(ToolNames.LIST_AGENTS, async () => {
|
|
@@ -169938,21 +169999,21 @@ var Config = class _Config {
|
|
|
169938
169999
|
return new SendMessageTool(this);
|
|
169939
170000
|
});
|
|
169940
170001
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
169941
|
-
const { SkillTool } = await import("./skill-
|
|
170002
|
+
const { SkillTool } = await import("./skill-YBEF77DP.js");
|
|
169942
170003
|
return new SkillTool(this);
|
|
169943
170004
|
});
|
|
169944
170005
|
if (this.isLsToolEnabled()) {
|
|
169945
170006
|
await registerLazy(ToolNames.LS, async () => {
|
|
169946
|
-
const { LSTool } = await import("./ls-
|
|
170007
|
+
const { LSTool } = await import("./ls-SSSPTK7X.js");
|
|
169947
170008
|
return new LSTool(this);
|
|
169948
170009
|
});
|
|
169949
170010
|
}
|
|
169950
170011
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
169951
|
-
const { ReadFileTool } = await import("./read-file-
|
|
170012
|
+
const { ReadFileTool } = await import("./read-file-BROAVJMY.js");
|
|
169952
170013
|
return new ReadFileTool(this);
|
|
169953
170014
|
});
|
|
169954
170015
|
await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
|
|
169955
|
-
const { ZoomImageTool } = await import("./zoom-image-
|
|
170016
|
+
const { ZoomImageTool } = await import("./zoom-image-GUMY7SRT.js");
|
|
169956
170017
|
return new ZoomImageTool(this);
|
|
169957
170018
|
});
|
|
169958
170019
|
if (this.getUseRipgrep()) {
|
|
@@ -169967,7 +170028,7 @@ var Config = class _Config {
|
|
|
169967
170028
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
169968
170029
|
if (useRipgrep) {
|
|
169969
170030
|
await registerLazy(ToolNames.GREP, async () => {
|
|
169970
|
-
const { RipGrepTool } = await import("./ripGrep-
|
|
170031
|
+
const { RipGrepTool } = await import("./ripGrep-L6STRULU.js");
|
|
169971
170032
|
return new RipGrepTool(this);
|
|
169972
170033
|
});
|
|
169973
170034
|
} else {
|
|
@@ -169980,7 +170041,7 @@ var Config = class _Config {
|
|
|
169980
170041
|
)
|
|
169981
170042
|
);
|
|
169982
170043
|
await registerLazy(ToolNames.GREP, async () => {
|
|
169983
|
-
const { GrepTool } = await import("./grep-
|
|
170044
|
+
const { GrepTool } = await import("./grep-5HGH34M6.js");
|
|
169984
170045
|
return new GrepTool(this);
|
|
169985
170046
|
});
|
|
169986
170047
|
}
|
|
@@ -169988,32 +170049,32 @@ var Config = class _Config {
|
|
|
169988
170049
|
recordStartupEvent("config_initialize_ripgrep_probe_start");
|
|
169989
170050
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
169990
170051
|
await registerLazy(ToolNames.GREP, async () => {
|
|
169991
|
-
const { GrepTool } = await import("./grep-
|
|
170052
|
+
const { GrepTool } = await import("./grep-5HGH34M6.js");
|
|
169992
170053
|
return new GrepTool(this);
|
|
169993
170054
|
});
|
|
169994
170055
|
}
|
|
169995
170056
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
169996
|
-
const { GlobTool } = await import("./glob-
|
|
170057
|
+
const { GlobTool } = await import("./glob-I3H7VRYE.js");
|
|
169997
170058
|
return new GlobTool(this);
|
|
169998
170059
|
});
|
|
169999
170060
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
170000
|
-
const { EditTool } = await import("./edit-
|
|
170061
|
+
const { EditTool } = await import("./edit-LHLIDK3S.js");
|
|
170001
170062
|
return new EditTool(this);
|
|
170002
170063
|
});
|
|
170003
170064
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
170004
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
170065
|
+
const { NotebookEditTool } = await import("./notebook-edit-DXAOFD2H.js");
|
|
170005
170066
|
return new NotebookEditTool(this);
|
|
170006
170067
|
});
|
|
170007
170068
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
170008
|
-
const { WriteFileTool } = await import("./write-file-
|
|
170069
|
+
const { WriteFileTool } = await import("./write-file-PNL2YVFB.js");
|
|
170009
170070
|
return new WriteFileTool(this);
|
|
170010
170071
|
});
|
|
170011
170072
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
170012
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
170073
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CDFSFLKN.js");
|
|
170013
170074
|
return new ShellTool2(this);
|
|
170014
170075
|
});
|
|
170015
170076
|
await registerLazy(ToolNames.REPORT_FINDINGS, async () => {
|
|
170016
|
-
const { ReportFindingsTool } = await import("./report-findings-
|
|
170077
|
+
const { ReportFindingsTool } = await import("./report-findings-S6QO46V2.js");
|
|
170017
170078
|
return new ReportFindingsTool();
|
|
170018
170079
|
});
|
|
170019
170080
|
const supportsUserInteraction = resolveInteractionMode(this) !== "headless";
|
|
@@ -170025,22 +170086,22 @@ var Config = class _Config {
|
|
|
170025
170086
|
}
|
|
170026
170087
|
if (!this.sdkMode && (supportsUserInteraction || options2?.forSubAgent)) {
|
|
170027
170088
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
170028
|
-
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-
|
|
170089
|
+
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-JGOBW34Q.js");
|
|
170029
170090
|
return new ExitPlanModeTool2(this);
|
|
170030
170091
|
});
|
|
170031
170092
|
}
|
|
170032
170093
|
if (!this.sdkMode && supportsUserInteraction) {
|
|
170033
170094
|
await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
|
|
170034
|
-
const { EnterPlanModeTool } = await import("./enterPlanMode-
|
|
170095
|
+
const { EnterPlanModeTool } = await import("./enterPlanMode-IQK2RIT2.js");
|
|
170035
170096
|
return new EnterPlanModeTool(this);
|
|
170036
170097
|
});
|
|
170037
170098
|
}
|
|
170038
170099
|
await registerLazy(ToolNames.ENTER_WORKTREE, async () => {
|
|
170039
|
-
const { EnterWorktreeTool } = await import("./enter-worktree-
|
|
170100
|
+
const { EnterWorktreeTool } = await import("./enter-worktree-FIO6VPWS.js");
|
|
170040
170101
|
return new EnterWorktreeTool(this);
|
|
170041
170102
|
});
|
|
170042
170103
|
await registerLazy(ToolNames.EXIT_WORKTREE, async () => {
|
|
170043
|
-
const { ExitWorktreeTool } = await import("./exit-worktree-
|
|
170104
|
+
const { ExitWorktreeTool } = await import("./exit-worktree-3UU4SS47.js");
|
|
170044
170105
|
return new ExitWorktreeTool(this);
|
|
170045
170106
|
});
|
|
170046
170107
|
if (resolveInteractionMode(this) === "interactive" && !this.sdkMode && !this.getScreenReader() && !options2?.forSubAgent) {
|
|
@@ -170061,7 +170122,7 @@ var Config = class _Config {
|
|
|
170061
170122
|
}
|
|
170062
170123
|
if (this.isRecordArtifactEnabled()) {
|
|
170063
170124
|
await registerLazy(ToolNames.RECORD_ARTIFACT, async () => {
|
|
170064
|
-
const { RecordArtifactTool } = await import("./record-artifact-
|
|
170125
|
+
const { RecordArtifactTool } = await import("./record-artifact-NO2DU63L.js");
|
|
170065
170126
|
return new RecordArtifactTool(this);
|
|
170066
170127
|
});
|
|
170067
170128
|
}
|
|
@@ -170098,7 +170159,7 @@ var Config = class _Config {
|
|
|
170098
170159
|
}
|
|
170099
170160
|
if (this.isAgentTeamEnabled()) {
|
|
170100
170161
|
await registerLazy(ToolNames.TEAM_CREATE, async () => {
|
|
170101
|
-
const { TeamCreateTool } = await import("./team-create-
|
|
170162
|
+
const { TeamCreateTool } = await import("./team-create-6ECQJZLF.js");
|
|
170102
170163
|
return new TeamCreateTool(this);
|
|
170103
170164
|
});
|
|
170104
170165
|
await registerLazy(ToolNames.TEAM_DELETE, async () => {
|
|
@@ -170106,7 +170167,7 @@ var Config = class _Config {
|
|
|
170106
170167
|
return new TeamDeleteTool(this);
|
|
170107
170168
|
});
|
|
170108
170169
|
await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
|
|
170109
|
-
const { TeamPlanApprovalTool } = await import("./team-plan-approval-
|
|
170170
|
+
const { TeamPlanApprovalTool } = await import("./team-plan-approval-DBWFFQFM.js");
|
|
170110
170171
|
return new TeamPlanApprovalTool(this);
|
|
170111
170172
|
});
|
|
170112
170173
|
if (!options2?.forSubAgent) {
|
|
@@ -170135,7 +170196,7 @@ var Config = class _Config {
|
|
|
170135
170196
|
const omniPolicyToolFactories = [
|
|
170136
170197
|
[
|
|
170137
170198
|
ToolNames.OMNI_DOWNSAMPLE_IMAGE,
|
|
170138
|
-
async () => new (await import("./downsample-image-
|
|
170199
|
+
async () => new (await import("./downsample-image-FUPJVVNL.js")).OmniDownsampleImageTool(this)
|
|
170139
170200
|
],
|
|
170140
170201
|
[
|
|
170141
170202
|
ToolNames.OMNI_DOWNSCALE_VIDEO,
|
|
@@ -170202,7 +170263,7 @@ var Config = class _Config {
|
|
|
170202
170263
|
}
|
|
170203
170264
|
}
|
|
170204
170265
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
170205
|
-
const { MonitorTool } = await import("./monitor-
|
|
170266
|
+
const { MonitorTool } = await import("./monitor-GXNUEY3P.js");
|
|
170206
170267
|
return new MonitorTool(this);
|
|
170207
170268
|
});
|
|
170208
170269
|
if (this.pendingMcpBudgetCallback) {
|