@organizaone/o1-code 0.25.0 → 0.26.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 +5 -0
- package/bundled/qc-helper/docs/configuration/trusted-folders.md +1 -1
- package/bundled/qc-helper/docs/features/hooks.md +3 -3
- package/chunks/{MaxSizedBox-SX7L43GF.js → MaxSizedBox-BT4NRHBZ.js} +45 -44
- package/chunks/{StandaloneSessionPicker-V6A3S6MF.js → StandaloneSessionPicker-AB5L4OIP.js} +60 -60
- package/chunks/{acp-subagent-executor-52MZCRRP.js → acp-subagent-executor-J6YQDFIY.js} +48 -47
- package/chunks/{acpAgent-IQDDNOET.js → acpAgent-UNNKQA2R.js} +106 -96
- package/chunks/{agent-O6PLYNPF.js → agent-4JVSTPOZ.js} +31 -30
- package/chunks/{agent-headless-P2WT7VGJ.js → agent-headless-SQ3YMNWD.js} +31 -30
- package/chunks/{all-providers-WWSVGE7P.js → all-providers-A35HOOOY.js} +3 -3
- package/chunks/{anthropicContentGenerator-FLIKRMH6.js → anthropicContentGenerator-X6IMIHOI.js} +73 -16
- package/chunks/artifact-tool-6QDGNGTO.js +1 -1
- package/chunks/{askUserQuestion-NWK5LQIZ.js → askUserQuestion-YPA2ZZLO.js} +2 -2
- package/chunks/{bridge-RVD5UN3S.js → bridge-RP3BQEM7.js} +48 -47
- package/chunks/{bwrap-execution-623BHVNE.js → bwrap-execution-TXZNOKYR.js} +5 -5
- package/chunks/caption-audio-OLLSPHW7.js +1 -1
- package/chunks/caption-image-ARAQIU6W.js +1 -1
- package/chunks/{chunk-C6GZRQ6A.js → chunk-26G2BFFM.js} +11 -2
- package/chunks/{chunk-XHETKALB.js → chunk-2B5MRPGZ.js} +10 -10
- package/chunks/{chunk-62CDOJKZ.js → chunk-2EQYAHKO.js} +2 -2
- package/chunks/{chunk-5HHYWAT2.js → chunk-2SKOHXQM.js} +5 -5
- package/chunks/{chunk-KZW5RTF3.js → chunk-3GPZEENL.js} +3 -3
- package/chunks/{chunk-2DIUCC6N.js → chunk-3GZRVIU2.js} +2 -2
- package/chunks/{chunk-LK26AJMU.js → chunk-3H6ZRETK.js} +1 -1
- package/chunks/{chunk-KX6OMS75.js → chunk-3NWXBIE2.js} +1 -1
- package/chunks/{chunk-CCGIWTGK.js → chunk-3ONAZUCS.js} +1 -1
- package/chunks/{chunk-GNJ6CIDW.js → chunk-3UIMC3MD.js} +5 -5
- package/chunks/{chunk-DF73UBWX.js → chunk-3UZT6L3M.js} +3 -3
- package/chunks/{chunk-RLV4EZSY.js → chunk-4UZHVDN6.js} +1 -1
- package/chunks/{chunk-7H3GWNGJ.js → chunk-4WIYGAME.js} +1 -1
- package/chunks/{chunk-SPLQKNEP.js → chunk-53HMO7K2.js} +1 -1
- package/chunks/{chunk-X427DWFD.js → chunk-5LIDCGQZ.js} +1 -1
- package/chunks/{chunk-AEGEUWVC.js → chunk-5PE7PZL7.js} +2 -2
- package/chunks/{chunk-UYRSN6YI.js → chunk-5UTAX2O6.js} +3 -3
- package/chunks/{chunk-3FYT76B7.js → chunk-6HLOPCFZ.js} +1 -1
- package/chunks/{chunk-TOWDGX4R.js → chunk-6TAZUYYH.js} +1 -1
- package/chunks/{chunk-S4ASMRKL.js → chunk-6VXX63QU.js} +3 -3
- package/chunks/{chunk-UYG4HVPV.js → chunk-6XC7AQHT.js} +4 -4
- package/chunks/{chunk-ZE5EC3FJ.js → chunk-73UYQDL3.js} +4 -4
- package/chunks/{chunk-RXOKJEB4.js → chunk-76FPHNLE.js} +14 -14
- package/chunks/{chunk-WZ3DCPKN.js → chunk-A2MUOMJH.js} +1 -1
- package/chunks/{chunk-RIG4A6YO.js → chunk-A3XVGA3W.js} +4 -4
- package/chunks/{chunk-AJDAOH4D.js → chunk-A5ZAKF2B.js} +4 -4
- package/chunks/{chunk-PK2LRZWK.js → chunk-AOJFG2LZ.js} +22 -9
- package/chunks/{chunk-4KOM3B7Q.js → chunk-ASR3UKPL.js} +5 -5
- package/chunks/{chunk-7H3GMHNV.js → chunk-B5DA6HBM.js} +2 -2
- package/chunks/{chunk-74GVXLB4.js → chunk-B6U27UHQ.js} +4 -4
- package/chunks/{chunk-HFVCWMFQ.js → chunk-B7QLJKM6.js} +4 -4
- package/chunks/{chunk-6JK2YX3M.js → chunk-BBBU4UJL.js} +1 -1
- package/chunks/{chunk-2KYJA6BK.js → chunk-BNX26EYK.js} +1 -1
- package/chunks/{chunk-RXNYXW2A.js → chunk-BQKZFSFW.js} +11 -10
- package/chunks/{chunk-2KBKQCET.js → chunk-BWF5HABA.js} +2 -2
- package/chunks/{chunk-R77APYHJ.js → chunk-CQPBRNKG.js} +2 -2
- package/chunks/{chunk-OI7IVUEO.js → chunk-D6APUHI5.js} +11 -96
- package/chunks/{chunk-ZUZXFA5O.js → chunk-DFRZXARB.js} +1 -1
- package/chunks/{chunk-IMYLADNE.js → chunk-EJHVUZDO.js} +1 -1
- package/chunks/{chunk-6KVIR254.js → chunk-F3762QZG.js} +1 -1
- package/chunks/{chunk-UUUIRL5U.js → chunk-FGV2OPGK.js} +1 -1
- package/chunks/{chunk-P7BCOR5S.js → chunk-FVH27ARU.js} +8 -8
- package/chunks/{chunk-2KF67MR3.js → chunk-G6PZ7ZRF.js} +1 -1
- package/chunks/{chunk-YAWHSZ4N.js → chunk-GLXNABTW.js} +1 -1
- package/chunks/{chunk-QKYD3YLE.js → chunk-GOPTB5FL.js} +6 -6
- package/chunks/{chunk-PZNY2JJJ.js → chunk-H65DRJN2.js} +1 -1
- package/chunks/{chunk-BZCAZORI.js → chunk-HASGT63Y.js} +11 -11
- package/chunks/{chunk-B5GTZ6E6.js → chunk-HJYSTI5W.js} +8 -2
- package/chunks/{chunk-ODNOCYH7.js → chunk-HKWXDV5S.js} +1 -1
- package/chunks/{chunk-BGIED5LF.js → chunk-HNHCMHHY.js} +4 -4
- package/chunks/{chunk-ESU7M5WY.js → chunk-HRBXDIBC.js} +1 -1
- package/chunks/{chunk-2VV2BC4Y.js → chunk-IDL5E3SK.js} +1 -1
- package/chunks/{chunk-QSHFGJIL.js → chunk-IDOFNXOM.js} +1 -1
- package/chunks/{chunk-MMIJMF43.js → chunk-INUPQ3V2.js} +3 -3
- package/chunks/{chunk-3LGQKO4S.js → chunk-ITHF4F4L.js} +5 -5
- package/chunks/{chunk-SH5HEA4E.js → chunk-ITXHD6QG.js} +4 -4
- package/chunks/{chunk-3GX2JF2F.js → chunk-IUMWWTUV.js} +4 -4
- package/chunks/{chunk-7YEY47HZ.js → chunk-JDMI736Y.js} +2 -2
- package/chunks/{chunk-JTIB6W5A.js → chunk-JKBN3WM5.js} +1 -1
- package/chunks/{chunk-JUKBFMZ5.js → chunk-JMMAXVTG.js} +3 -3
- package/chunks/{chunk-7Y53G2LA.js → chunk-JYZMO5E7.js} +6 -6
- package/chunks/{chunk-KDPUC3CO.js → chunk-K5Y3DMKT.js} +3 -3
- package/chunks/{chunk-XGP4RGF4.js → chunk-K7JOSPO4.js} +1 -1
- package/chunks/{chunk-PCKTU3X5.js → chunk-KPRGWI4Y.js} +1 -1
- package/chunks/{chunk-NJ75V6UO.js → chunk-KRE356Z5.js} +2 -2
- package/chunks/{chunk-YVLUG6HM.js → chunk-LDKVV42E.js} +2 -2
- package/chunks/{chunk-V4QKOYNB.js → chunk-LGFB7Z2H.js} +4 -4
- package/chunks/{chunk-IV2ZUCOX.js → chunk-LU2TTE5Y.js} +2 -2
- package/chunks/{chunk-E66W34L5.js → chunk-M5BPWICM.js} +47 -46
- package/chunks/{chunk-JUPK7JWP.js → chunk-MEPWN6XC.js} +1 -1
- package/chunks/{chunk-KMGKWFHR.js → chunk-MSBLDE7B.js} +26 -21
- package/chunks/{chunk-IDXC5R27.js → chunk-NUUQWXXC.js} +1 -1
- package/chunks/{chunk-AFLYEJ7J.js → chunk-NWZDA6PN.js} +22 -0
- package/chunks/{chunk-CD4C4ADN.js → chunk-O53S3WDY.js} +3 -3
- package/chunks/{chunk-XHFAV57Y.js → chunk-O7BIOEV2.js} +1 -1
- package/chunks/{chunk-4CSMD2N2.js → chunk-OLUQJYZT.js} +9 -11
- package/chunks/{chunk-GY3JWX4O.js → chunk-OWWR2OAO.js} +1 -1
- package/chunks/{chunk-MG37E6PW.js → chunk-P5EIXSKJ.js} +7 -4
- package/chunks/{chunk-5DYWST3G.js → chunk-PUBPS6I4.js} +329 -169
- package/chunks/{chunk-AEUQXQFZ.js → chunk-QIGHINXO.js} +2 -2
- package/chunks/{chunk-SELDIVLD.js → chunk-QRDZ4FN6.js} +3 -3
- package/chunks/{chunk-KWP7CAXY.js → chunk-QU2DEIX4.js} +3 -3
- package/chunks/{chunk-VAAETI4E.js → chunk-RLV563CG.js} +1 -1
- package/chunks/{chunk-FRITN2AG.js → chunk-RSFKGHXZ.js} +75 -3
- package/chunks/{chunk-NRCLJUSY.js → chunk-S2HJR2FT.js} +1 -1
- package/chunks/{chunk-Q2PDOVTR.js → chunk-SF7RCEDN.js} +1 -1
- package/chunks/{chunk-RUDVLHPQ.js → chunk-SJGCHKHG.js} +7 -7
- package/chunks/{chunk-3W635FXS.js → chunk-SJSBSQJI.js} +1 -1
- package/chunks/{chunk-S5JHP5C5.js → chunk-SQZJGTAP.js} +15 -15
- package/chunks/{chunk-CL6WD3KD.js → chunk-SU4W42KU.js} +1 -1
- package/chunks/{chunk-UAN7WQIF.js → chunk-T4X6ZODK.js} +4 -4
- package/chunks/{chunk-OZFPMAHJ.js → chunk-U7EB32Z2.js} +2 -2
- package/chunks/{chunk-P4XQQFCZ.js → chunk-UA6BRUXW.js} +2 -2
- package/chunks/{chunk-4MFP7T32.js → chunk-UAIMOPVZ.js} +1 -1
- package/chunks/{chunk-OBBP2ZN7.js → chunk-UDUKUEW5.js} +7 -7
- package/chunks/{chunk-MPN67YNU.js → chunk-UKUBYF44.js} +8 -8
- package/chunks/chunk-UMHRQJOE.js +101 -0
- package/chunks/{chunk-S7SIWFBW.js → chunk-UOG4OHEQ.js} +47 -48
- package/chunks/{chunk-PGFXYKSJ.js → chunk-USSMX7ZA.js} +8 -8
- package/chunks/{chunk-M7ZHP7VU.js → chunk-UW4ZP77X.js} +1 -3
- package/chunks/{chunk-KU6I333M.js → chunk-UXFP67XM.js} +3 -3
- package/chunks/{chunk-ZS5CRCES.js → chunk-VMWSMIAG.js} +1 -1
- package/chunks/{chunk-KDUC6UGX.js → chunk-WIDNRAGK.js} +2 -2
- package/chunks/{chunk-RP55RX65.js → chunk-WIQEF7ON.js} +1 -1
- package/chunks/{chunk-GM7RKZZ4.js → chunk-WKUCYQM7.js} +3 -3
- package/chunks/{chunk-GCCIW37K.js → chunk-WQU5EWE3.js} +1 -1
- package/chunks/{chunk-SBM747MY.js → chunk-X4LDF6O3.js} +139 -8
- package/chunks/{chunk-72EBG4FJ.js → chunk-XFIAS7A6.js} +5 -1
- package/chunks/{chunk-OQ35ZKIB.js → chunk-Y24XITI5.js} +4 -4
- package/chunks/{chunk-LZAXDVE3.js → chunk-YMESB5YT.js} +3 -3
- package/chunks/{chunk-TYGBYVRJ.js → chunk-YRW7SOH4.js} +4 -4
- package/chunks/{chunk-GJ7VXZXF.js → chunk-YXIMD7AK.js} +4 -4
- package/chunks/{chunk-H7Z2QHT6.js → chunk-ZME3GEAN.js} +4 -4
- package/chunks/{chunk-KJBZVVEC.js → chunk-ZQ7TCAOB.js} +12 -9
- package/chunks/{chunk-KEPNWFUD.js → chunk-ZSYQ3RBP.js} +1 -1
- package/chunks/{chunk-PKIF4YYA.js → chunk-ZYNZSU4I.js} +3 -3
- package/chunks/{chunk-IA7N7U2C.js → chunk-ZZYIXQMV.js} +3 -3
- package/chunks/clip-audio-5ZTGLERU.js +1 -1
- package/chunks/clip-image-HLDAHQPL.js +1 -1
- package/chunks/clip-video-NXRDICLV.js +1 -1
- package/chunks/{codex-subagent-executor-IH3LMUV4.js → codex-subagent-executor-ME2J5ZAK.js} +48 -47
- package/chunks/{contextCommand-RKQX2A2Q.js → contextCommand-G3DP2V3O.js} +46 -45
- package/chunks/convert-image-4MPD5TZ5.js +1 -1
- package/chunks/{core-runtime-GGSTSFTA.js → core-runtime-GHUSNSJC.js} +45 -44
- package/chunks/create-sub-session-UEQ23VBD.js +1 -1
- package/chunks/{create-sub-session-5OVGZIQZ.js → create-sub-session-ZVGBSQEO.js} +46 -45
- package/chunks/cron-create-WPK3NNT4.js +1 -1
- package/chunks/cron-delete-6V6MDQ6Z.js +1 -1
- package/chunks/cron-list-TPJEL73F.js +1 -1
- package/chunks/{daemon-git-worktree-guard-PWH5UXXA.js → daemon-git-worktree-guard-JSMTW3IM.js} +49 -48
- package/chunks/{daemon-status-provider-PB2RABB3.js → daemon-status-provider-C5NDII62.js} +53 -52
- package/chunks/{daemon-trust-policy-VKBYIHIA.js → daemon-trust-policy-22D6WDDX.js} +52 -52
- package/chunks/{daemon-trust-policy-monitor-QFZLQW7N.js → daemon-trust-policy-monitor-RLYT7BZS.js} +52 -52
- package/chunks/{deferred-core-runtime-OPWIBNWK.js → deferred-core-runtime-KWFERRTL.js} +45 -44
- package/chunks/{display-image-Y35PSJXX.js → display-image-VWFOL6K5.js} +5 -2
- package/chunks/downsample-audio-IGOEKKHD.js +1 -1
- package/chunks/downsample-image-FUPJVVNL.js +1 -1
- package/chunks/downscale-video-XZNDYVK4.js +1 -1
- package/chunks/{edit-EI2QZFML.js → edit-XYXDIK5B.js} +33 -32
- package/chunks/{enter-worktree-FIO6VPWS.js → enter-worktree-DXCRT554.js} +6 -5
- package/chunks/{enterPlanMode-HZIALG5T.js → enterPlanMode-VQQZ2UW6.js} +31 -30
- package/chunks/{environment-TM5YFH77.js → environment-EBFJ4TH2.js} +49 -47
- package/chunks/{errors-75WEKSIY.js → errors-3B4RPL2I.js} +47 -46
- package/chunks/exec-36YD62RP.js +1 -1
- package/chunks/{execution-sandbox-config-ZTU7YXTL.js → execution-sandbox-config-2S5NIDLB.js} +6 -6
- package/chunks/{execution-sandbox-settings-UNFOGWSM.js → execution-sandbox-settings-GWMZH2SF.js} +1 -2
- package/chunks/{execution-tool-IEMS4OMY.js → execution-tool-JVQOMMTE.js} +33 -32
- package/chunks/{execution-worker-BR2UBKVZ.js → execution-worker-JMNHLRNL.js} +37 -36
- package/chunks/{exit-worktree-3UU4SS47.js → exit-worktree-7YT7VWTK.js} +6 -5
- package/chunks/{exitPlanMode-46FWANRT.js → exitPlanMode-7MZNYWO4.js} +31 -30
- package/chunks/extract-audio-AYEXZ2KS.js +1 -1
- package/chunks/extract-keyframes-UQVW7UH6.js +1 -1
- package/chunks/{fast-path-FB2AYQT2.js → fast-path-NJVM56IM.js} +4 -5
- package/chunks/{fast-path-settings-BT63K4L7.js → fast-path-settings-VXBBCMD4.js} +3 -4
- package/chunks/{foreground-runner-5OQ7IKWR.js → foreground-runner-LQEPDOLD.js} +47 -46
- package/chunks/{gateway-content-generator-BPZXVQWC.js → gateway-content-generator-E7VLZDUR.js} +8 -4
- package/chunks/{gateway-models-5JPME6AP.js → gateway-models-2M6TFLX3.js} +6 -6
- package/chunks/{glob-QZSWKHOW.js → glob-LPOYT76M.js} +31 -30
- package/chunks/{goal-tools-LZLIELOL.js → goal-tools-RUTV37TK.js} +31 -30
- package/chunks/{grep-5HGH34M6.js → grep-YVEFUZQF.js} +4 -4
- package/chunks/{handleAutoUpdate-UZIU3KK4.js → handleAutoUpdate-FYNNYADV.js} +47 -46
- package/chunks/{i18n-UVPXLFMF.js → i18n-QOCTCT72.js} +45 -44
- package/chunks/{image-gen-D4WPSZB4.js → image-gen-A5LWAWV5.js} +3 -3
- package/chunks/{initializer-Q4DUD7GF.js → initializer-VMXV3BW6.js} +52 -52
- package/chunks/{installationInfo-DWIXOKSE.js → installationInfo-ZMTB5KY4.js} +45 -44
- package/chunks/{list-TUO4ATZ7.js → list-HWTHYFDH.js} +54 -54
- package/chunks/{list-agents-T2EHYFCL.js → list-agents-QNCQCPBU.js} +5 -4
- package/chunks/{llm-MMOAP23Q.js → llm-BSHLCKRC.js} +85 -84
- package/chunks/{llm-content-generator-7NOJCUX2.js → llm-content-generator-FOOFF7NM.js} +5 -5
- package/chunks/{loadedSettingsAdapter-LONKNEI2.js → loadedSettingsAdapter-DVQC5LYU.js} +52 -52
- package/chunks/{local-execution-environment-W6RR5CM2.js → local-execution-environment-NIQC5LCT.js} +37 -36
- package/chunks/{loggingContentGenerator-BTD3KTLK.js → loggingContentGenerator-KMXV7FXR.js} +32 -31
- package/chunks/loop-wakeup-RC454BL4.js +1 -1
- package/chunks/ls-SSSPTK7X.js +1 -1
- package/chunks/lsp-ZHD2YAJ5.js +1 -1
- package/chunks/{managed-npm-update-6QDOTNQW.js → managed-npm-update-6NXTMHIC.js} +45 -44
- package/chunks/{mcp-XBVFA4NK.js → mcp-B6BEFRFC.js} +52 -52
- package/chunks/{model-call-collection-HQF2N6XF.js → model-call-collection-JGJ4TLCJ.js} +2 -2
- package/chunks/{model-configuration-BBZJMCHB.js → model-configuration-HSAVOFVS.js} +53 -53
- package/chunks/{modelConfigUtils-UFJV3ZJS.js → modelConfigUtils-E7WNOMPL.js} +47 -46
- package/chunks/{monitor-4DJ5VKXK.js → monitor-X5SXPGKJ.js} +38 -37
- package/chunks/{nonInteractiveCli-IIJI63XP.js → nonInteractiveCli-ALN7VTV2.js} +79 -79
- package/chunks/{nonInteractiveToolExecutor-MET7I2DQ.js → nonInteractiveToolExecutor-EP57MOQU.js} +32 -31
- package/chunks/{notebook-edit-EOFZ4EKN.js → notebook-edit-6AJJRXJE.js} +32 -31
- package/chunks/ocr-image-UTGQDI5V.js +1 -1
- package/chunks/{omni-MLLL6UUM.js → omni-X2QDE2SC.js} +13 -13
- package/chunks/{openaiContentGenerator-FUN5S2AD.js → openaiContentGenerator-DGFUUNP4.js} +16 -13
- package/chunks/{openaiResponsesContentGenerator-TIRM5XJN.js → openaiResponsesContentGenerator-QBWIVIZ3.js} +7 -7
- package/chunks/{processUtils-WPVNEHRF.js → processUtils-RAKPTGL4.js} +2 -2
- package/chunks/{prompt-terminal-ledger-PQYRGDN6.js → prompt-terminal-ledger-LNMBMLKZ.js} +46 -45
- package/chunks/{reactive-degrade-RAVGIKCJ.js → reactive-degrade-2R225XZN.js} +12 -12
- package/chunks/{read-file-BTMZPG5O.js → read-file-PVJ2UFNR.js} +4 -4
- package/chunks/read-mcp-resource-4NSQ2WFB.js +1 -1
- package/chunks/recall-media-memory-tool-7NAM2ZGH.js +1 -1
- package/chunks/record-artifact-NO2DU63L.js +1 -1
- package/chunks/{record-source-4K4EQAX7.js → record-source-ZEVZHGGT.js} +8 -6
- package/chunks/report-findings-S6QO46V2.js +1 -1
- package/chunks/{request-shutdown-4LPYJZTK.js → request-shutdown-WWNRWY6N.js} +7 -5
- package/chunks/{resumeHistoryUtils-RSU25WYV.js → resumeHistoryUtils-7JVBU7F6.js} +46 -45
- package/chunks/{ripGrep-N425H66N.js → ripGrep-SGVDEPUA.js} +8 -8
- package/chunks/{run-o1-code-serve-FGCE7K7C.js → run-o1-code-serve-6YBADDNM.js} +38 -39
- package/chunks/{runtime-shell-policy-ZAYLMR65.js → runtime-shell-policy-IRZDQMDW.js} +1 -1
- package/chunks/{sandboxConfig-AZSEWZCT.js → sandboxConfig-XSRSA444.js} +47 -47
- package/chunks/{scheduled-tasks-ZUCWMR44.js → scheduled-tasks-I2ERGMGX.js} +51 -50
- package/chunks/{scheduler-ZRZBVAWJ.js → scheduler-DOUZC3BT.js} +47 -46
- package/chunks/{send-message-CD2AOPQD.js → send-message-ZCE2ZSEV.js} +11 -8
- package/chunks/{serve-V2C4I5RF.js → serve-TWF224E6.js} +52 -52
- package/chunks/{server-HPF2IP2F.js → server-QM5WDSMX.js} +81 -81
- package/chunks/{session-ZOBQ7E3F.js → session-UAA3BUYD.js} +80 -80
- package/chunks/{session-7VBZLPP7.js → session-YILUXNUN.js} +1 -1
- package/chunks/{session-attachments-root-5LVSTHJX.js → session-attachments-root-7SV6ROO3.js} +45 -44
- package/chunks/{session-pr-refresh-B3GHMCV5.js → session-pr-refresh-ZQEMZUOC.js} +50 -49
- package/chunks/{settings-4EWIU2CS.js → settings-I5BT5XJA.js} +52 -52
- package/chunks/{shell-PEPAVCLP.js → shell-CXFG4D26.js} +31 -30
- package/chunks/{skill-KYZIZDCI.js → skill-XAI4BN7B.js} +5 -5
- package/chunks/{skill-settings-FMPMQYFV.js → skill-settings-I6V36IWY.js} +52 -52
- package/chunks/{spawnChannel-TW6GZJXJ.js → spawnChannel-A3JN3SKE.js} +47 -46
- package/chunks/{standalone-update-SV7MBAIU.js → standalone-update-665KNR5K.js} +46 -45
- package/chunks/{startInteractiveUI-MDF4JJD5.js → startInteractiveUI-3SDDBRSS.js} +89 -89
- package/chunks/{supervisor-runner-XJAZN7YG.js → supervisor-runner-GJZ5FZ2L.js} +2 -2
- package/chunks/syntheticOutput-KZMNOKOG.js +1 -1
- package/chunks/{task-create-W3R3G7FM.js → task-create-7KKOP2J2.js} +11 -8
- package/chunks/{task-list-ABYOHJDS.js → task-list-J7ECJCOE.js} +4 -3
- package/chunks/task-stop-6L7G4RYB.js +1 -1
- package/chunks/{task-update-JQOO6HUS.js → task-update-RDNOVBEQ.js} +11 -8
- package/chunks/{team-create-O66TUESF.js → team-create-B3GZHAVJ.js} +31 -30
- package/chunks/{team-delete-RL37ORM3.js → team-delete-FZRNXQEK.js} +4 -3
- package/chunks/{team-plan-approval-667K2B3B.js → team-plan-approval-AA23AXBX.js} +31 -30
- package/chunks/{terminal-image-renderer-PMVAADQU.js → terminal-image-renderer-645UO3CY.js} +45 -44
- package/chunks/{theme-manager-PHZIRE2I.js → theme-manager-Z724NWSU.js} +45 -44
- package/chunks/todoWrite-ARTSGNNA.js +1 -1
- package/chunks/{tool-call-ZR564L2K.js → tool-call-BUCHKNUE.js} +8 -6
- package/chunks/{tool-result-media-PXJEED5J.js → tool-result-media-F3GNEFYA.js} +13 -13
- package/chunks/{tool-search-5GZKW7RO.js → tool-search-ORCJKBH7.js} +10 -8
- package/chunks/{total-session-admission-WTPY7HAP.js → total-session-admission-FVSADUS4.js} +48 -47
- package/chunks/transcribe-audio-WOITX4I2.js +1 -1
- package/chunks/{trustedFolders-JOAYZVGA.js → trustedFolders-53SWJNQM.js} +48 -46
- package/chunks/understand-video-segments-YFCIFF7P.js +1 -1
- package/chunks/{update-relaunch-3WTWA6Y3.js → update-relaunch-TO7RIC2Z.js} +5 -5
- package/chunks/{updateCheck-3EBFSQYZ.js → updateCheck-ZO65M4E7.js} +45 -44
- package/chunks/{upload-config-GAXSQ3UL.js → upload-config-GPGQJLHV.js} +9 -9
- package/chunks/{useAutoAcceptIndicator-KDDP4EGH.js → useAutoAcceptIndicator-XSYAN4MD.js} +54 -54
- package/chunks/{validateNonInterActiveAuth-SMUVFO2L.js → validateNonInterActiveAuth-KYRPPB7L.js} +77 -77
- package/chunks/{version-LOJWIDPQ.js → version-QWEY3XDL.js} +1 -1
- package/chunks/{web-fetch-XIUI6SSS.js → web-fetch-QKY4VT64.js} +5 -5
- package/chunks/{web-search-53FZUSEO.js → web-search-AMRNCSP6.js} +10 -10
- package/chunks/{workflow-V26XKAXG.js → workflow-QBLEKR24.js} +32 -31
- package/chunks/{workspace-providers-status-E4V3ZW7E.js → workspace-providers-status-CH7DJDKT.js} +58 -58
- package/chunks/{workspace-registration-store-2YYKRGZQ.js → workspace-registration-store-HU2UBVSE.js} +2 -2
- package/chunks/{workspace-registry-EFTIIC5P.js → workspace-registry-PKZFC4K6.js} +48 -47
- package/chunks/{workspace-runtime-coordinator-LCEDKI3V.js → workspace-runtime-coordinator-HLMOBHFQ.js} +49 -48
- package/chunks/{workspace-service-EJHV4F5K.js → workspace-service-CD6JZZGR.js} +56 -56
- package/chunks/{workspace-skills-status-DGOQVL5O.js → workspace-skills-status-ECZGFEYZ.js} +55 -55
- package/chunks/{workspace-trust-reconciler-L7QJK4OH.js → workspace-trust-reconciler-NADYMCWA.js} +55 -55
- package/chunks/{write-file-OA3YWX4Z.js → write-file-4QSLWQJN.js} +33 -32
- package/chunks/{zoom-image-2FAU5GG7.js → zoom-image-FGAGFWD3.js} +4 -4
- package/cli-entry.js +19 -2
- package/cli.js +15 -15
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/package.json +2 -2
- package/release-notes.json +22 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-BHe02xuM.js → abnfDiagram-VCTEODGH-CXGkTYKR.js} +1 -1
- package/web-shell/assets/{arc-B5VovhrP.js → arc-Bgtf2wGs.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-ByvXrzMN.js → architectureDiagram-5GKGNRK7-CdAnFxID.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CS0RXmiX.js → blockDiagram-NRAW4CY4-BetLLPQA.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-WPcIgAxw.js → c4Diagram-UCG6FXSJ-BVEDlbNL.js} +1 -1
- package/web-shell/assets/channel-qApIjhnO.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-Bj1gOQC9.js → chunk-2Q5K7J3B-Bu_XLqIX.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-C3R9A3P3.js → chunk-5VM5RSS4-CuIm-L87.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-CvmqvEHu.js → chunk-F27PBJKO-zdnqrtCA.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-C_If25TG.js → chunk-G27WJ6UU-DA0j2ueI.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-BvDHAb7t.js → chunk-JWPE2WC7-BYP9xsTl.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-lMoppd_e.js → chunk-LCL6LL3I-CqZfx1I5.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-C-dB9zRU.js → chunk-POPQ4Y6H-BEYiYIxG.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-Bq7Iu-7R.js → chunk-SVP7TREG-Df7kB2kI.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-Dh3H4DSX.js → chunk-XXDRQBXY-DSVwWamu.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DEyyr5tF.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DEyyr5tF.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CSCSbMtg.js → cose-bilkent-JH36ORCC-3y3UQaAQ.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-RRLTsTaE.js → cynefin-OW5HDTMX-D5boSC-y.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-C65LN46e.js → cynefinDiagram-5FMLGOSQ-D06h0zad.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BdovI5E9.js → dagre-3AP2YEHR-B5PC4pJb.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-C__1sM3W.js → diagram-S7CK7UJ4-CQkjaeF5.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CPmRM5zO.js → diagram-UQ7AKVKN-Dp4B8BsM.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-DqhwLyY5.js → diagram-VSXAHHWV-1WUz-IlV.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-D2vw9R7V.js → diagram-VX7I27RA-CVOE8dqI.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-DiNJsGCW.js → diagram-Z3DM3KII-3gYRwIVB.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-DzQJrp__.js → ebnfDiagram-PWID7BFC-tVjIWybZ.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-BatwnmvO.js → erDiagram-SSCWMZ5O-DKQv6Y6l.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-BhzHirl4.js → flowDiagram-A5DVABFB-C1aZT9uy.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-C_xchuB7.js → ganttDiagram-EL5Y4UJY-BKVpaHRR.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DNlzQUEd.js → gitGraphDiagram-WWUBYQGX-BZOhM9h_.js} +1 -1
- package/web-shell/assets/{index-D3-F421W.js → index-CB3Jrunr.js} +1 -1
- package/web-shell/assets/{index-CEoLVNsR.js → index-Do4y2b4t.js} +3 -3
- package/web-shell/assets/{infoDiagram-RXCK75RN-BqwTMueq.js → infoDiagram-RXCK75RN-D1uBMMVt.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DtO4tLwV.js → ishikawaDiagram-5VMMS53U-CEucsPqw.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-CFSU0yqx.js → journeyDiagram-EYS64GPL-DZzzYLoO.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-Co3XYypK.js → kanban-definition-3QL26DDD-C9BYwkVP.js} +1 -1
- package/web-shell/assets/{layout-nWXTib3H.js → layout-CsgRL45r.js} +1 -1
- package/web-shell/assets/{linear-D-XaGQzj.js → linear-BUq0-ZDw.js} +1 -1
- package/web-shell/assets/{mermaid.core-iNkpLd37.js → mermaid.core-D3JSOWCq.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-ugnDSQpM.js → mindmap-definition-FBJOCRG2-BLHYT_f0.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-DFsc7FgE.js → pegDiagram-XKGWAZYB-B2QHW9UX.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-fcQtkfjw.js → pieDiagram-E7YTZNPT-4QDrwUVJ.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Dx7rAH6a.js → quadrantDiagram-AXDQQJYC-CHkz8icI.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-0nnlkbZ1.js → railroadDiagram-O6MQD6OU-Y1UZxdd7.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-B-04HJA0.js → requirementDiagram-EFPCY7ZU-B2STIEs-.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CLsEV75E.js → sankeyDiagram-P5KCCOFB-QX0whSnt.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Cejvbn9H.js → sequenceDiagram-WJ2MYXX4-JSPBV6Z9.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DZ3R_cCz.js → sizeCapture-X5ZJPWSS-BHR85hzV.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BZEDmn1B.js → stateDiagram-HBIQ2CUA-5yqdcEJk.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BHsx9uG6.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-3SAiHcQZ.js → swimlanes-XN3QIQJK-DtaoSfgY.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-AVscCGHh.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BvRpsN9o.js → timeline-definition-24CTP7MA-Di2q68WC.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-B_run13a.js → vennDiagram-4TSXK5OY-BiIN5IkG.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-86ZF0DQ5.js → wardleyDiagram-VM6X3IG4-Cjx_SM3A.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CoxU4Yje.js → xychartDiagram-S5SC5T6Z-VAFMpQ3K.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/chunks/chunk-YCZIOHKD.js +0 -86
- package/web-shell/assets/channel-CBQoqDm3.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CiD27im_.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CiD27im_.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Bl6xZ4cy.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DbPmOu0B.js +0 -8
- package/chunks/{container-execution-environment-XBTXQ5YE.js → container-execution-environment-WILZRYKO.js} +3 -3
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
listTasks,
|
|
25
25
|
onTasksUpdated,
|
|
26
26
|
unassignTeammateTasks
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5LIDCGQZ.js";
|
|
28
28
|
import {
|
|
29
29
|
CronScheduler,
|
|
30
30
|
DEFAULT_RECURRING_MAX_AGE_DAYS,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
sendStructuredMessage,
|
|
40
40
|
wrapConfirmWithBadge,
|
|
41
41
|
writeMessage
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4WIYGAME.js";
|
|
43
43
|
import {
|
|
44
44
|
AgentOutputMessageCapture,
|
|
45
45
|
DEFAULT_OTLP_ENDPOINT,
|
|
@@ -99,10 +99,10 @@ import {
|
|
|
99
99
|
stringify,
|
|
100
100
|
validateGoalProposalReason,
|
|
101
101
|
validateSkillName
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-WIQEF7ON.js";
|
|
103
103
|
import {
|
|
104
104
|
canUseRipgrep
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-A5ZAKF2B.js";
|
|
106
106
|
import {
|
|
107
107
|
AGENT_WORKTREE_SLUG_PATTERN,
|
|
108
108
|
GitWorktreeService,
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
worktreeHasWork,
|
|
117
117
|
writeRuntimeStatus,
|
|
118
118
|
writeWorktreeSessionMarker
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-WKUCYQM7.js";
|
|
120
120
|
import {
|
|
121
121
|
hasVerifiableInode,
|
|
122
122
|
openSyncNoFollow
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
deriveSessionName,
|
|
150
150
|
patchSessionRecord,
|
|
151
151
|
unregisterSession
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-ZSYQ3RBP.js";
|
|
153
153
|
import {
|
|
154
154
|
LEADER_NAME,
|
|
155
155
|
MAX_TEAMMATES,
|
|
@@ -158,11 +158,13 @@ import {
|
|
|
158
158
|
findMemberByName,
|
|
159
159
|
formatAgentId,
|
|
160
160
|
generateUniqueTeammateName,
|
|
161
|
-
readLocalBootId,
|
|
162
|
-
readPidNamespaceId,
|
|
163
161
|
sanitizeName,
|
|
164
162
|
writeTeamFile
|
|
165
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-D6APUHI5.js";
|
|
164
|
+
import {
|
|
165
|
+
readLocalBootId,
|
|
166
|
+
readPidNamespaceId
|
|
167
|
+
} from "./chunk-UMHRQJOE.js";
|
|
166
168
|
import {
|
|
167
169
|
buildModelIdContext,
|
|
168
170
|
resolveModelId
|
|
@@ -176,7 +178,7 @@ import {
|
|
|
176
178
|
} from "./chunk-SYMKXR42.js";
|
|
177
179
|
import {
|
|
178
180
|
normalizeImageGenerationBaseUrl
|
|
179
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-UAIMOPVZ.js";
|
|
180
182
|
import {
|
|
181
183
|
restoreSessionSources
|
|
182
184
|
} from "./chunk-CDYMT4OZ.js";
|
|
@@ -195,7 +197,7 @@ import {
|
|
|
195
197
|
getShellPagerEnv,
|
|
196
198
|
isSignalTermination,
|
|
197
199
|
normalizePathEnvForWindows
|
|
198
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-IUMWWTUV.js";
|
|
199
201
|
import {
|
|
200
202
|
stripAnsi
|
|
201
203
|
} from "./chunk-WU3R2YUE.js";
|
|
@@ -203,24 +205,6 @@ import {
|
|
|
203
205
|
escapeJsonTagCharacters,
|
|
204
206
|
formatMemoryUsage
|
|
205
207
|
} from "./chunk-M7AWQAB7.js";
|
|
206
|
-
import {
|
|
207
|
-
SHELL_SELF_KILL_REJECTION,
|
|
208
|
-
buildShellExecWarnings,
|
|
209
|
-
classifyAwkCommandSafety,
|
|
210
|
-
classifySedCommandSafety,
|
|
211
|
-
detectSelfKillCommand,
|
|
212
|
-
escapeShellArg,
|
|
213
|
-
getCommandRoot,
|
|
214
|
-
getCommandRoots,
|
|
215
|
-
getShellConfiguration,
|
|
216
|
-
hasShellPatternExpansion,
|
|
217
|
-
hasShellSubstitution,
|
|
218
|
-
isShellCommandReadOnly,
|
|
219
|
-
normalizeMonitorCommand,
|
|
220
|
-
shouldDefaultToNodePty,
|
|
221
|
-
splitCommands,
|
|
222
|
-
stripShellWrapper
|
|
223
|
-
} from "./chunk-SBM747MY.js";
|
|
224
208
|
import {
|
|
225
209
|
resolveBundleDir
|
|
226
210
|
} from "./chunk-Z2IHOXIK.js";
|
|
@@ -236,13 +220,13 @@ import {
|
|
|
236
220
|
admitShellSandbox,
|
|
237
221
|
assertShellSandboxCwd,
|
|
238
222
|
probeShellSandbox
|
|
239
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-K7JOSPO4.js";
|
|
240
224
|
import {
|
|
241
225
|
resolveNetworkTarget
|
|
242
226
|
} from "./chunk-HPQNI3OQ.js";
|
|
243
227
|
import {
|
|
244
228
|
isOmniDeliveryActive
|
|
245
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-JKBN3WM5.js";
|
|
246
230
|
import {
|
|
247
231
|
MediaResourceRegistry,
|
|
248
232
|
evaluateMediaPolicyToolCall,
|
|
@@ -256,7 +240,7 @@ import {
|
|
|
256
240
|
DEFERRED_TOOL_CALL_CANCELLATION_PREFIX,
|
|
257
241
|
DEFERRED_TOOL_CALL_REFUSAL_PREFIX,
|
|
258
242
|
resolveDeferredToolCall
|
|
259
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-F3762QZG.js";
|
|
260
244
|
import {
|
|
261
245
|
EXCLUDED_TOOLS_FOR_SUBAGENTS,
|
|
262
246
|
READ_ONLY_INSPECTION_TOOLS,
|
|
@@ -285,13 +269,10 @@ import {
|
|
|
285
269
|
splitCompoundCommand,
|
|
286
270
|
splitCompoundCommandSegments,
|
|
287
271
|
toolMatchesRuleToolName
|
|
288
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-6XC7AQHT.js";
|
|
289
273
|
import {
|
|
290
274
|
APPROVAL_MODES
|
|
291
275
|
} from "./chunk-KQAVEXYD.js";
|
|
292
|
-
import {
|
|
293
|
-
require_shell_quote
|
|
294
|
-
} from "./chunk-WZCKDUBO.js";
|
|
295
276
|
import {
|
|
296
277
|
AskUserQuestionTool,
|
|
297
278
|
TrustedUserAnswers,
|
|
@@ -307,7 +288,7 @@ import {
|
|
|
307
288
|
resolveInteractionMode,
|
|
308
289
|
resolveMainSessionOutputStyle,
|
|
309
290
|
withDisplayModePrompt
|
|
310
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-UW4ZP77X.js";
|
|
311
292
|
import {
|
|
312
293
|
NO_EXEC_CONFIG,
|
|
313
294
|
findGitRoot,
|
|
@@ -333,7 +314,7 @@ import {
|
|
|
333
314
|
import {
|
|
334
315
|
DashScopeOpenAICompatibleProvider,
|
|
335
316
|
selectDashScopeThinkingKnob
|
|
336
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-T4X6ZODK.js";
|
|
337
318
|
import {
|
|
338
319
|
InvalidStreamError,
|
|
339
320
|
getToolCallPreparations,
|
|
@@ -361,7 +342,7 @@ import {
|
|
|
361
342
|
runWithAgentDisallowedTools,
|
|
362
343
|
runWithRuntimeContentGenerator,
|
|
363
344
|
spawnBlockReason
|
|
364
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-3ONAZUCS.js";
|
|
365
346
|
import {
|
|
366
347
|
getTeammateContext,
|
|
367
348
|
isTeammate,
|
|
@@ -459,7 +440,7 @@ import {
|
|
|
459
440
|
updateMCPServerStatus,
|
|
460
441
|
writeLine,
|
|
461
442
|
writeLineSync
|
|
462
|
-
} from "./chunk-
|
|
443
|
+
} from "./chunk-IDOFNXOM.js";
|
|
463
444
|
import {
|
|
464
445
|
Mutex
|
|
465
446
|
} from "./chunk-242JUBPM.js";
|
|
@@ -554,13 +535,37 @@ import {
|
|
|
554
535
|
stripSystemReminderBlocks,
|
|
555
536
|
validateForkToolList,
|
|
556
537
|
wrapSystemReminder
|
|
557
|
-
} from "./chunk-
|
|
538
|
+
} from "./chunk-26G2BFFM.js";
|
|
558
539
|
import {
|
|
559
540
|
EXPLICIT_TRUST_HINT,
|
|
560
541
|
clearLoadedSkillTracking,
|
|
561
542
|
collectAvailableSkillEntries,
|
|
562
543
|
renderAvailableSkillsBlock
|
|
563
544
|
} from "./chunk-GVJCUUWW.js";
|
|
545
|
+
import {
|
|
546
|
+
SHELL_SELF_KILL_REJECTION,
|
|
547
|
+
buildShellExecWarnings,
|
|
548
|
+
classifyAwkCommandSafety,
|
|
549
|
+
classifySedCommandSafety,
|
|
550
|
+
decodeAnsiCString,
|
|
551
|
+
detectSelfKillCommand,
|
|
552
|
+
escapeShellArg,
|
|
553
|
+
getCommandRoot,
|
|
554
|
+
getCommandRoots,
|
|
555
|
+
getExecutableBasename,
|
|
556
|
+
getShellConfiguration,
|
|
557
|
+
getShellDisplayName,
|
|
558
|
+
hasShellPatternExpansion,
|
|
559
|
+
hasShellSubstitution,
|
|
560
|
+
isShellCommandReadOnly,
|
|
561
|
+
normalizeMonitorCommand,
|
|
562
|
+
shouldDefaultToNodePty,
|
|
563
|
+
splitCommands,
|
|
564
|
+
stripShellWrapper
|
|
565
|
+
} from "./chunk-X4LDF6O3.js";
|
|
566
|
+
import {
|
|
567
|
+
require_shell_quote
|
|
568
|
+
} from "./chunk-WZCKDUBO.js";
|
|
564
569
|
import {
|
|
565
570
|
DEFAULT_O1CODE_CUSTOM_IGNORE_FILE_NAMES,
|
|
566
571
|
O1CodeIgnoreParser,
|
|
@@ -615,7 +620,7 @@ import {
|
|
|
615
620
|
resolveReasoningCapabilities,
|
|
616
621
|
resolveReasoningForModel,
|
|
617
622
|
validateReasoningCapabilities
|
|
618
|
-
} from "./chunk-
|
|
623
|
+
} from "./chunk-B5DA6HBM.js";
|
|
619
624
|
import {
|
|
620
625
|
ResponsesHttpError,
|
|
621
626
|
classifyRetryError,
|
|
@@ -624,7 +629,7 @@ import {
|
|
|
624
629
|
isRetryableUpstreamError,
|
|
625
630
|
isUnattendedMode,
|
|
626
631
|
retryWithBackoff
|
|
627
|
-
} from "./chunk-
|
|
632
|
+
} from "./chunk-NWZDA6PN.js";
|
|
628
633
|
import {
|
|
629
634
|
DEFAULT_IMAGE_TOKEN_ESTIMATE,
|
|
630
635
|
TOKEN_TO_CHAR_RATIO,
|
|
@@ -700,7 +705,7 @@ import {
|
|
|
700
705
|
resolveProviderProtocol,
|
|
701
706
|
resolveSavedModelApiKey,
|
|
702
707
|
stripRuntimeSnapshotPrefix
|
|
703
|
-
} from "./chunk-
|
|
708
|
+
} from "./chunk-ZME3GEAN.js";
|
|
704
709
|
import {
|
|
705
710
|
DEFAULT_TOKEN_LIMIT,
|
|
706
711
|
OUTPUT_TOKEN_CEILING,
|
|
@@ -717,7 +722,7 @@ import {
|
|
|
717
722
|
reasoningEffortsForCapability,
|
|
718
723
|
setGeneratorReasoningEffort,
|
|
719
724
|
tokenLimit
|
|
720
|
-
} from "./chunk-
|
|
725
|
+
} from "./chunk-XFIAS7A6.js";
|
|
721
726
|
import {
|
|
722
727
|
createGatewayIndependentRequest,
|
|
723
728
|
gatewayIndependentInput
|
|
@@ -768,7 +773,7 @@ import {
|
|
|
768
773
|
createContentGenerator,
|
|
769
774
|
resetPreloadedContentGenerator,
|
|
770
775
|
resolveContentGeneratorConfigWithSources
|
|
771
|
-
} from "./chunk-
|
|
776
|
+
} from "./chunk-USSMX7ZA.js";
|
|
772
777
|
import {
|
|
773
778
|
DEFAULT_O1CODE_MODEL
|
|
774
779
|
} from "./chunk-LEXKU5FI.js";
|
|
@@ -32526,6 +32531,14 @@ var CONTEXT_LENGTH_PATTERNS = [
|
|
|
32526
32531
|
/\bprompt\s+(?:is\s+)?too long\b/i,
|
|
32527
32532
|
/\binput\s+(?:token\s+)?(?:count\s+|length\s+)?(?:is\s+)?too long\b/i,
|
|
32528
32533
|
/\brange of input length should be\b/i,
|
|
32534
|
+
// Hugging Face TGI: "`inputs` tokens + `max_new_tokens` must be <= 32768.
|
|
32535
|
+
// Given: 40000 `inputs` tokens and 1000 `max_new_tokens`" and "`inputs`
|
|
32536
|
+
// must have less than 32768 tokens. Given: 40000".
|
|
32537
|
+
/\binputs`?\s+tokens\s*\+\s*`?max_new_tokens`?\s+must be\s*<=/i,
|
|
32538
|
+
/\binputs`?\s+must have less than\s+\d[\d,]*\s+tokens\b/i,
|
|
32539
|
+
// llama.cpp: "request (279935 tokens) exceeds the available context size
|
|
32540
|
+
// (262144 tokens), try increasing it".
|
|
32541
|
+
/\bexceeds the available context size\b/i,
|
|
32529
32542
|
/\btoo many tokens\b/i,
|
|
32530
32543
|
// "exceeds the model's context window", "exceed context limit" (Anthropic's
|
|
32531
32544
|
// input + max_tokens refusal), Codex's ContextWindowExceeded.
|
|
@@ -32580,6 +32593,33 @@ function parseTokenCounts(text) {
|
|
|
32580
32593
|
limitTokens: parseInteger(rangeMatch[1])
|
|
32581
32594
|
};
|
|
32582
32595
|
}
|
|
32596
|
+
const tgiTotalMatch = text.match(
|
|
32597
|
+
/must be\s*<=\s*(\d[\d,]{0,31})\.?\s*Given:\s*(\d[\d,]{0,31})\s*`?inputs`?\s+tokens/i
|
|
32598
|
+
);
|
|
32599
|
+
if (tgiTotalMatch) {
|
|
32600
|
+
return {
|
|
32601
|
+
actualTokens: parseInteger(tgiTotalMatch[2]),
|
|
32602
|
+
limitTokens: parseInteger(tgiTotalMatch[1])
|
|
32603
|
+
};
|
|
32604
|
+
}
|
|
32605
|
+
const tgiInputMatch = text.match(
|
|
32606
|
+
/must have less than\s+(\d[\d,]{0,31})\s+tokens\.?\s*Given:\s*(\d[\d,]{0,31})/i
|
|
32607
|
+
);
|
|
32608
|
+
if (tgiInputMatch) {
|
|
32609
|
+
return {
|
|
32610
|
+
actualTokens: parseInteger(tgiInputMatch[2]),
|
|
32611
|
+
limitTokens: parseInteger(tgiInputMatch[1])
|
|
32612
|
+
};
|
|
32613
|
+
}
|
|
32614
|
+
const llamaCppMatch = text.match(
|
|
32615
|
+
/\(\s*(\d[\d,]*)\s*tokens?\s*\)\s*exceeds the available context size\s*\(\s*(\d[\d,]*)\s*tokens?\s*\)/i
|
|
32616
|
+
);
|
|
32617
|
+
if (llamaCppMatch) {
|
|
32618
|
+
return {
|
|
32619
|
+
actualTokens: parseInteger(llamaCppMatch[1]),
|
|
32620
|
+
limitTokens: parseInteger(llamaCppMatch[2])
|
|
32621
|
+
};
|
|
32622
|
+
}
|
|
32583
32623
|
return {};
|
|
32584
32624
|
}
|
|
32585
32625
|
__name(parseTokenCounts, "parseTokenCounts");
|
|
@@ -34831,7 +34871,7 @@ var LlmChat = class {
|
|
|
34831
34871
|
const degradeAttempt = omniMediaDegradeAttempts++;
|
|
34832
34872
|
let degradeOutcome;
|
|
34833
34873
|
try {
|
|
34834
|
-
const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-
|
|
34874
|
+
const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-2R225XZN.js");
|
|
34835
34875
|
degradeOutcome = await degradeOmniMediaAfterServerReject(
|
|
34836
34876
|
self2.config,
|
|
34837
34877
|
self2.history,
|
|
@@ -41094,6 +41134,16 @@ function tokenize2(command) {
|
|
|
41094
41134
|
escaped = true;
|
|
41095
41135
|
continue;
|
|
41096
41136
|
}
|
|
41137
|
+
if (ch === "$" && command[i + 1] === "'" && !inSingle && !inDouble && // The second `$` of `$$` (the PID) cannot open `$'…'`.
|
|
41138
|
+
command[i - 1] !== "$") {
|
|
41139
|
+
let end = i + 2;
|
|
41140
|
+
while (end < command.length && command[end] !== "'") {
|
|
41141
|
+
end += command[end] === "\\" ? 2 : 1;
|
|
41142
|
+
}
|
|
41143
|
+
current += decodeAnsiCString(command.slice(i + 2, end));
|
|
41144
|
+
i = end;
|
|
41145
|
+
continue;
|
|
41146
|
+
}
|
|
41097
41147
|
if (ch === "'" && !inDouble) {
|
|
41098
41148
|
inSingle = !inSingle;
|
|
41099
41149
|
continue;
|
|
@@ -44984,6 +45034,7 @@ var BackgroundShellRegistry = class {
|
|
|
44984
45034
|
entry.outputOffset = 0;
|
|
44985
45035
|
entry.notified = false;
|
|
44986
45036
|
entry.todoWorkChainId ??= todoWorkChainContext.getStore();
|
|
45037
|
+
entry.sourceTurnId = getInvocationContext()?.promptId ?? promptIdContext.getStore();
|
|
44987
45038
|
this.entries.set(entry.shellId, entry);
|
|
44988
45039
|
this.writeStatusFile(entry);
|
|
44989
45040
|
this.fireRegister(entry);
|
|
@@ -45178,7 +45229,8 @@ var BackgroundShellRegistry = class {
|
|
|
45178
45229
|
shellId: entry.shellId,
|
|
45179
45230
|
status: entry.status,
|
|
45180
45231
|
exitCode: entry.exitCode,
|
|
45181
|
-
todoWorkChainId: entry.todoWorkChainId
|
|
45232
|
+
todoWorkChainId: entry.todoWorkChainId,
|
|
45233
|
+
sourceTurnId: entry.sourceTurnId
|
|
45182
45234
|
};
|
|
45183
45235
|
try {
|
|
45184
45236
|
this.notificationCallback(displayText, xmlParts.join("\n"), meta4);
|
|
@@ -45390,13 +45442,35 @@ function hasShellVariableReference(value) {
|
|
|
45390
45442
|
return value.includes("`") || /\$(?:[A-Za-z_][A-Za-z0-9_]*|\{|\(|\d|[#?@$!*])/u.test(value);
|
|
45391
45443
|
}
|
|
45392
45444
|
__name(hasShellVariableReference, "hasShellVariableReference");
|
|
45445
|
+
var SED_REGEX_FLAGS = "su";
|
|
45446
|
+
function hasBracketCharacterEscape(pattern) {
|
|
45447
|
+
let inClass = false;
|
|
45448
|
+
for (let i = 0; i < pattern.length; i++) {
|
|
45449
|
+
const char = pattern[i];
|
|
45450
|
+
if (inClass) {
|
|
45451
|
+
if (char === "]") {
|
|
45452
|
+
inClass = false;
|
|
45453
|
+
} else if (char === "\\" && /[ntrfvadoxc]/u.test(pattern[i + 1] ?? "")) {
|
|
45454
|
+
return true;
|
|
45455
|
+
}
|
|
45456
|
+
continue;
|
|
45457
|
+
}
|
|
45458
|
+
if (char === "\\") {
|
|
45459
|
+
i++;
|
|
45460
|
+
} else if (char === "[") {
|
|
45461
|
+
inClass = true;
|
|
45462
|
+
}
|
|
45463
|
+
}
|
|
45464
|
+
return false;
|
|
45465
|
+
}
|
|
45466
|
+
__name(hasBracketCharacterEscape, "hasBracketCharacterEscape");
|
|
45393
45467
|
function canCompileSedPattern(sedInfo) {
|
|
45394
45468
|
try {
|
|
45395
45469
|
const jsPattern = toJavascriptPattern(sedInfo);
|
|
45396
|
-
if (hasPosixBracketExpression(jsPattern) || hasLeadingBracketLiteral(jsPattern) || hasSedJavascriptDivergentEscape(jsPattern)) {
|
|
45470
|
+
if (hasPosixBracketExpression(jsPattern) || hasLeadingBracketLiteral(jsPattern) || hasSedJavascriptDivergentEscape(jsPattern) || hasBracketCharacterEscape(unescapeSedDelimiter(sedInfo.pattern))) {
|
|
45397
45471
|
return false;
|
|
45398
45472
|
}
|
|
45399
|
-
new RegExp(jsPattern);
|
|
45473
|
+
new RegExp(jsPattern, SED_REGEX_FLAGS);
|
|
45400
45474
|
if (hasReplacementBackrefBeyondCaptures(
|
|
45401
45475
|
sedInfo.replacement,
|
|
45402
45476
|
countCapturingGroups(jsPattern)
|
|
@@ -45418,7 +45492,7 @@ function hasLeadingBracketLiteral(pattern) {
|
|
|
45418
45492
|
}
|
|
45419
45493
|
__name(hasLeadingBracketLiteral, "hasLeadingBracketLiteral");
|
|
45420
45494
|
function hasSedJavascriptDivergentEscape(pattern) {
|
|
45421
|
-
return /\\[<>
|
|
45495
|
+
return /\\[<>dDwWsSpPu]/u.test(pattern);
|
|
45422
45496
|
}
|
|
45423
45497
|
__name(hasSedJavascriptDivergentEscape, "hasSedJavascriptDivergentEscape");
|
|
45424
45498
|
function hasReplacementBackrefBeyondCaptures(replacement, captureCount) {
|
|
@@ -45639,7 +45713,7 @@ function applySedSubstitution(content, sedInfo) {
|
|
|
45639
45713
|
const occurrence = getOccurrence(sedInfo.flags);
|
|
45640
45714
|
const replaceAll = sedInfo.flags.includes("g");
|
|
45641
45715
|
try {
|
|
45642
|
-
const globalRegex = new RegExp(jsPattern, "g");
|
|
45716
|
+
const globalRegex = new RegExp(jsPattern, SED_REGEX_FLAGS + "g");
|
|
45643
45717
|
const parts2 = content.split(/(\n)/);
|
|
45644
45718
|
const processableParts = content.endsWith("\n") ? parts2.slice(0, -1) : parts2;
|
|
45645
45719
|
return processableParts.map((part, index) => {
|
|
@@ -45659,7 +45733,24 @@ __name(applySedSubstitution, "applySedSubstitution");
|
|
|
45659
45733
|
function toJavascriptPattern(sedInfo) {
|
|
45660
45734
|
const pattern = unescapeSedDelimiter(sedInfo.pattern);
|
|
45661
45735
|
if (sedInfo.extendedRegex) {
|
|
45662
|
-
|
|
45736
|
+
let extended2 = "";
|
|
45737
|
+
let inClass = false;
|
|
45738
|
+
for (let i = 0; i < pattern.length; i++) {
|
|
45739
|
+
const char = pattern[i];
|
|
45740
|
+
if (inClass) {
|
|
45741
|
+
extended2 += char === "\\" ? "\\\\" : char;
|
|
45742
|
+
if (char === "]") inClass = false;
|
|
45743
|
+
continue;
|
|
45744
|
+
}
|
|
45745
|
+
if (char === "\\" && i + 1 < pattern.length) {
|
|
45746
|
+
extended2 += char + pattern[i + 1];
|
|
45747
|
+
i++;
|
|
45748
|
+
continue;
|
|
45749
|
+
}
|
|
45750
|
+
if (char === "[") inClass = true;
|
|
45751
|
+
extended2 += char;
|
|
45752
|
+
}
|
|
45753
|
+
return extended2;
|
|
45663
45754
|
}
|
|
45664
45755
|
let jsPattern = "";
|
|
45665
45756
|
let inCharacterClass = false;
|
|
@@ -48772,30 +48863,6 @@ Generated with ${BRAND.displayName}`;
|
|
|
48772
48863
|
return command;
|
|
48773
48864
|
}
|
|
48774
48865
|
};
|
|
48775
|
-
function getExecutableBasename(executable) {
|
|
48776
|
-
return path20.basename(path20.win32.basename(executable));
|
|
48777
|
-
}
|
|
48778
|
-
__name(getExecutableBasename, "getExecutableBasename");
|
|
48779
|
-
function getShellDisplayName({
|
|
48780
|
-
executable,
|
|
48781
|
-
shell
|
|
48782
|
-
}) {
|
|
48783
|
-
switch (shell) {
|
|
48784
|
-
case "cmd":
|
|
48785
|
-
return "cmd.exe";
|
|
48786
|
-
case "powershell": {
|
|
48787
|
-
const basename24 = getExecutableBasename(executable).toLowerCase();
|
|
48788
|
-
return basename24 === "pwsh.exe" ? "pwsh.exe" : "powershell.exe";
|
|
48789
|
-
}
|
|
48790
|
-
case "bash":
|
|
48791
|
-
return "bash";
|
|
48792
|
-
default: {
|
|
48793
|
-
const _exhaustive = shell;
|
|
48794
|
-
return _exhaustive;
|
|
48795
|
-
}
|
|
48796
|
-
}
|
|
48797
|
-
}
|
|
48798
|
-
__name(getShellDisplayName, "getShellDisplayName");
|
|
48799
48866
|
function getShellExecutionWrapper(shellConfiguration = getShellConfiguration()) {
|
|
48800
48867
|
const executable = getShellDisplayName(shellConfiguration);
|
|
48801
48868
|
return `${executable} ${shellConfiguration.argsPrefix.join(" ")} <command>`;
|
|
@@ -77593,7 +77660,7 @@ var CoreToolScheduler = class _CoreToolScheduler {
|
|
|
77593
77660
|
const notices = [];
|
|
77594
77661
|
let omniProcessed = responseParts;
|
|
77595
77662
|
if (this.config.isOmniEnabled?.()) {
|
|
77596
|
-
const { processToolResultOmniMedia } = await import("./tool-result-media-
|
|
77663
|
+
const { processToolResultOmniMedia } = await import("./tool-result-media-F3GNEFYA.js");
|
|
77597
77664
|
omniProcessed = await processToolResultOmniMedia(
|
|
77598
77665
|
responseParts,
|
|
77599
77666
|
this.config,
|
|
@@ -80766,7 +80833,7 @@ ${body}
|
|
|
80766
80833
|
artifacts: toolResult.artifacts
|
|
80767
80834
|
} : void 0;
|
|
80768
80835
|
if (policyArtifacts && policyArtifacts.executionOrigin.kind !== "fixed_policy" && scheduledCall.tool.mediaPolicyDescriptor) {
|
|
80769
|
-
const { collectModelPolicyCall } = await import("./model-call-collection-
|
|
80836
|
+
const { collectModelPolicyCall } = await import("./model-call-collection-JGJ4TLCJ.js");
|
|
80770
80837
|
await collectModelPolicyCall({
|
|
80771
80838
|
config: this.config,
|
|
80772
80839
|
batch: policyArtifacts,
|
|
@@ -81686,23 +81753,10 @@ var ContextState = class {
|
|
|
81686
81753
|
};
|
|
81687
81754
|
function templateString(template, context2) {
|
|
81688
81755
|
const placeholderRegex = /\$\{([a-zA-Z_]\w*)\}/g;
|
|
81689
|
-
const requiredKeys = new Set(
|
|
81690
|
-
Array.from(template.matchAll(placeholderRegex), (match) => match[1])
|
|
81691
|
-
);
|
|
81692
81756
|
const contextKeys = new Set(context2.get_keys());
|
|
81693
|
-
const missingKeys = Array.from(requiredKeys).filter(
|
|
81694
|
-
(key) => !contextKeys.has(key)
|
|
81695
|
-
);
|
|
81696
|
-
if (missingKeys.length > 0) {
|
|
81697
|
-
throw new Error(
|
|
81698
|
-
`Missing context values for the following keys: ${missingKeys.join(
|
|
81699
|
-
", "
|
|
81700
|
-
)}`
|
|
81701
|
-
);
|
|
81702
|
-
}
|
|
81703
81757
|
return template.replace(
|
|
81704
81758
|
placeholderRegex,
|
|
81705
|
-
(
|
|
81759
|
+
(match, key) => contextKeys.has(key) ? String(context2.get(key)) : match
|
|
81706
81760
|
);
|
|
81707
81761
|
}
|
|
81708
81762
|
__name(templateString, "templateString");
|
|
@@ -81712,6 +81766,7 @@ var AgentHeadless = class _AgentHeadless {
|
|
|
81712
81766
|
}
|
|
81713
81767
|
core;
|
|
81714
81768
|
finalText = "";
|
|
81769
|
+
lastError;
|
|
81715
81770
|
terminateMode = "ERROR" /* ERROR */;
|
|
81716
81771
|
// Which loop detector fired when terminateMode is LOOP_DETECTED.
|
|
81717
81772
|
loopType = null;
|
|
@@ -81783,6 +81838,7 @@ var AgentHeadless = class _AgentHeadless {
|
|
|
81783
81838
|
}
|
|
81784
81839
|
this.executing = true;
|
|
81785
81840
|
this.finalText = "";
|
|
81841
|
+
this.lastError = void 0;
|
|
81786
81842
|
this.terminateMode = "ERROR" /* ERROR */;
|
|
81787
81843
|
this.loopType = null;
|
|
81788
81844
|
const resetStats = options2.resetStats !== false;
|
|
@@ -81894,6 +81950,7 @@ var AgentHeadless = class _AgentHeadless {
|
|
|
81894
81950
|
} catch (error62) {
|
|
81895
81951
|
debugLogger33.error("Error during subagent execution:", error62);
|
|
81896
81952
|
this.terminateMode = "ERROR" /* ERROR */;
|
|
81953
|
+
this.lastError = (error62 instanceof Error ? error62.message : String(error62)).replace(/\s+/g, " ").trim().slice(0, 500);
|
|
81897
81954
|
this.core.eventEmitter?.emit("error" /* ERROR */, {
|
|
81898
81955
|
subagentId: this.core.subagentId,
|
|
81899
81956
|
error: error62 instanceof Error ? error62.message : String(error62),
|
|
@@ -81971,6 +82028,9 @@ var AgentHeadless = class _AgentHeadless {
|
|
|
81971
82028
|
getTerminateMode() {
|
|
81972
82029
|
return this.terminateMode;
|
|
81973
82030
|
}
|
|
82031
|
+
getLastError() {
|
|
82032
|
+
return this.lastError;
|
|
82033
|
+
}
|
|
81974
82034
|
/**
|
|
81975
82035
|
* Sets a callback that the reasoning loop calls between tool rounds
|
|
81976
82036
|
* to drain external messages (e.g. from SendMessage tool).
|
|
@@ -84834,6 +84894,17 @@ function stripAnalysisOutsideSummary(text) {
|
|
|
84834
84894
|
}
|
|
84835
84895
|
}
|
|
84836
84896
|
__name(stripAnalysisOutsideSummary, "stripAnalysisOutsideSummary");
|
|
84897
|
+
var TERMINAL_REASON_HINTS = {
|
|
84898
|
+
["TIMEOUT" /* TIMEOUT */]: "It ran out of its time limit.",
|
|
84899
|
+
["MAX_TURNS" /* MAX_TURNS */]: "It reached its turn limit.",
|
|
84900
|
+
["LOOP_DETECTED" /* LOOP_DETECTED */]: "It was stopped for repeating itself.",
|
|
84901
|
+
["SHUTDOWN" /* SHUTDOWN */]: "Its session was shut down."
|
|
84902
|
+
};
|
|
84903
|
+
function subagentTerminalReason(terminateMode, lastError) {
|
|
84904
|
+
const detail = lastError ? ` Error: ${lastError}` : TERMINAL_REASON_HINTS[terminateMode] ? ` ${TERMINAL_REASON_HINTS[terminateMode]}` : "";
|
|
84905
|
+
return `Subagent did not complete (terminate mode: ${terminateMode}).${detail}`;
|
|
84906
|
+
}
|
|
84907
|
+
__name(subagentTerminalReason, "subagentTerminalReason");
|
|
84837
84908
|
function toModelVisibleSubagentResult(text, terminateMode = "GOAL" /* GOAL */) {
|
|
84838
84909
|
if (terminateMode !== "GOAL" /* GOAL */) {
|
|
84839
84910
|
return text;
|
|
@@ -88249,8 +88320,14 @@ output_file: ${jsonlPath} (for review after the completion notification, not for
|
|
|
88249
88320
|
);
|
|
88250
88321
|
const wtSuffix = await cleanupAfterExecution() + (subagentConfig.executor !== void 0 ? EXTERNAL_USAGE_NOTICE : "");
|
|
88251
88322
|
if (terminateMode === "ERROR" /* ERROR */) {
|
|
88323
|
+
const reason = subagentTerminalReason(
|
|
88324
|
+
terminateMode,
|
|
88325
|
+
subagent.getLastError?.()
|
|
88326
|
+
);
|
|
88252
88327
|
return {
|
|
88253
|
-
llmContent: (finalText
|
|
88328
|
+
llmContent: (finalText ? `${reason} Partial result follows:
|
|
88329
|
+
|
|
88330
|
+
${finalText}` : reason) + wtSuffix,
|
|
88254
88331
|
returnDisplay: this.currentDisplay
|
|
88255
88332
|
};
|
|
88256
88333
|
}
|
|
@@ -88261,6 +88338,20 @@ output_file: ${jsonlPath} (for review after the completion notification, not for
|
|
|
88261
88338
|
{
|
|
88262
88339
|
text: `Agent was cancelled by the user. Partial result follows:
|
|
88263
88340
|
|
|
88341
|
+
${partial2}${wtSuffix}`
|
|
88342
|
+
}
|
|
88343
|
+
],
|
|
88344
|
+
returnDisplay: this.currentDisplay
|
|
88345
|
+
};
|
|
88346
|
+
}
|
|
88347
|
+
if (terminateMode !== "GOAL" /* GOAL */) {
|
|
88348
|
+
const reason = subagentTerminalReason(terminateMode);
|
|
88349
|
+
const partial2 = finalText || "(no partial result captured)";
|
|
88350
|
+
return {
|
|
88351
|
+
llmContent: [
|
|
88352
|
+
{
|
|
88353
|
+
text: `${reason} Partial result follows:
|
|
88354
|
+
|
|
88264
88355
|
${partial2}${wtSuffix}`
|
|
88265
88356
|
}
|
|
88266
88357
|
],
|
|
@@ -101081,12 +101172,14 @@ var LlmClient = class _LlmClient {
|
|
|
101081
101172
|
}
|
|
101082
101173
|
this.cachedGitStatus = void 0;
|
|
101083
101174
|
await this.refreshSystemInstruction();
|
|
101175
|
+
const gitStatus = this.getCachedGitStatus();
|
|
101084
101176
|
this.getChat().addHistory({
|
|
101085
101177
|
role: "user",
|
|
101086
101178
|
parts: [
|
|
101087
101179
|
{
|
|
101088
101180
|
text: `The session's working directory has changed from ${oldDir} to ${newDir} via /cd. The startup directory context above is stale. All tool calls and relative paths now resolve from ${newDir}.`
|
|
101089
|
-
}
|
|
101181
|
+
},
|
|
101182
|
+
...gitStatus ? [{ text: wrapSystemReminder(gitStatus) }] : []
|
|
101090
101183
|
]
|
|
101091
101184
|
});
|
|
101092
101185
|
await this.addDirectoryContext();
|
|
@@ -101115,7 +101208,6 @@ var LlmClient = class _LlmClient {
|
|
|
101115
101208
|
this.config.setStaticSystemPrefix(assembleSystemPrompt(stableLayers));
|
|
101116
101209
|
return assembleSystemPrompt({
|
|
101117
101210
|
...stableLayers,
|
|
101118
|
-
gitStatus: this.getCachedGitStatus(),
|
|
101119
101211
|
autoMemory: this.config.getAutoMemoryPrompt()
|
|
101120
101212
|
});
|
|
101121
101213
|
}
|
|
@@ -101130,7 +101222,9 @@ var LlmClient = class _LlmClient {
|
|
|
101130
101222
|
}
|
|
101131
101223
|
const remaining = currentHistory.slice(startupLength);
|
|
101132
101224
|
const [[startupContext], snapshotEntries] = await getInitialChatHistory(
|
|
101133
|
-
this.config
|
|
101225
|
+
this.config,
|
|
101226
|
+
void 0,
|
|
101227
|
+
{ gitStatus: this.getCachedGitStatus() }
|
|
101134
101228
|
);
|
|
101135
101229
|
this.seedSkillReminderDedupFromSnapshot(snapshotEntries);
|
|
101136
101230
|
await this.seedAgentReminderDedupFromCurrent();
|
|
@@ -101163,7 +101257,9 @@ var LlmClient = class _LlmClient {
|
|
|
101163
101257
|
return;
|
|
101164
101258
|
}
|
|
101165
101259
|
const [[startupContext], snapshotEntries] = await getInitialChatHistory(
|
|
101166
|
-
this.config
|
|
101260
|
+
this.config,
|
|
101261
|
+
void 0,
|
|
101262
|
+
{ gitStatus: this.getCachedGitStatus() }
|
|
101167
101263
|
);
|
|
101168
101264
|
this.seedSkillReminderDedupFromSnapshot(snapshotEntries);
|
|
101169
101265
|
await this.seedAgentReminderDedupFromCurrent();
|
|
@@ -101671,7 +101767,9 @@ var LlmClient = class _LlmClient {
|
|
|
101671
101767
|
deferredReminderCount = deferredTools?.length ?? 0;
|
|
101672
101768
|
[history, snapshotEntries] = await profiler.time(
|
|
101673
101769
|
"initial_chat_history",
|
|
101674
|
-
() => getInitialChatHistory(this.config, extraHistory
|
|
101770
|
+
() => getInitialChatHistory(this.config, extraHistory, {
|
|
101771
|
+
gitStatus: this.getCachedGitStatus()
|
|
101772
|
+
})
|
|
101675
101773
|
);
|
|
101676
101774
|
profiler.timeSync("skill_reminder_seed", () => {
|
|
101677
101775
|
this.seedSkillReminderDedupFromSnapshot(snapshotEntries);
|
|
@@ -126293,19 +126391,51 @@ function applyListingAppResourceUi(tools, resources) {
|
|
|
126293
126391
|
});
|
|
126294
126392
|
}
|
|
126295
126393
|
__name(applyListingAppResourceUi, "applyListingAppResourceUi");
|
|
126394
|
+
var MCP_MAX_TOOL_LIST_PAGES = 100;
|
|
126296
126395
|
async function discoverToolsWithMetadata(mcpServerName, mcpServerConfig, mcpClient, cliConfig, opts) {
|
|
126297
126396
|
try {
|
|
126298
126397
|
const { mcpToTool } = await import("./node-5A2VFKYD.js");
|
|
126299
126398
|
const listedTools = [];
|
|
126300
126399
|
let didListTools = false;
|
|
126301
|
-
|
|
126302
|
-
|
|
126400
|
+
let hadDuplicateToolNames = false;
|
|
126401
|
+
const listToolsPage = /* @__PURE__ */ __name(async (params) => (
|
|
126402
|
+
// Clients without getProtocolEra (tests and the genai adapter) keep
|
|
126403
|
+
// the typed helper. Modern sessions use it only when `tools` is
|
|
126404
|
+
// declared; otherwise the v2 helper returns [] without a wire request.
|
|
126405
|
+
typeof mcpClient.getProtocolEra !== "function" || canUseModernTypedHelper(mcpClient, "tools") ? await mcpClient.listTools(params) : await mcpClient.request(
|
|
126303
126406
|
{ method: "tools/list", params: params ?? {} },
|
|
126304
126407
|
ListToolsResultSchema2
|
|
126305
|
-
)
|
|
126408
|
+
)
|
|
126409
|
+
), "listToolsPage");
|
|
126410
|
+
const listTools = /* @__PURE__ */ __name(async (params) => {
|
|
126411
|
+
const allTools = [];
|
|
126412
|
+
const seenCursors = /* @__PURE__ */ new Set();
|
|
126413
|
+
let cursor = params?.cursor;
|
|
126414
|
+
let result = await listToolsPage(cursor ? { cursor } : void 0);
|
|
126415
|
+
allTools.push(...result.tools);
|
|
126416
|
+
while (result.nextCursor && !seenCursors.has(result.nextCursor) && seenCursors.size < MCP_MAX_TOOL_LIST_PAGES) {
|
|
126417
|
+
cursor = result.nextCursor;
|
|
126418
|
+
seenCursors.add(cursor);
|
|
126419
|
+
result = await listToolsPage({ cursor });
|
|
126420
|
+
allTools.push(...result.tools);
|
|
126421
|
+
}
|
|
126422
|
+
const nameCounts = /* @__PURE__ */ new Map();
|
|
126423
|
+
for (const listed of allTools) {
|
|
126424
|
+
nameCounts.set(listed.name, (nameCounts.get(listed.name) ?? 0) + 1);
|
|
126425
|
+
}
|
|
126426
|
+
const duplicated = [...nameCounts].filter(([, count]) => count > 1).map(([name]) => name);
|
|
126427
|
+
if (duplicated.length > 0) {
|
|
126428
|
+
hadDuplicateToolNames = true;
|
|
126429
|
+
debugLogger72.warn(
|
|
126430
|
+
`MCP server '${mcpServerName}' lists these tool names more than once; they are not offered: ${duplicated.join(", ")}`
|
|
126431
|
+
);
|
|
126432
|
+
}
|
|
126306
126433
|
didListTools = true;
|
|
126307
|
-
listedTools.
|
|
126308
|
-
|
|
126434
|
+
listedTools.length = 0;
|
|
126435
|
+
listedTools.push(
|
|
126436
|
+
...allTools.filter((listed) => nameCounts.get(listed.name) === 1)
|
|
126437
|
+
);
|
|
126438
|
+
return { ...result, tools: [...listedTools], nextCursor: void 0 };
|
|
126309
126439
|
}, "listTools");
|
|
126310
126440
|
const discoveryClient = { listTools };
|
|
126311
126441
|
const mcpCallableTool = mcpToTool(discoveryClient, {
|
|
@@ -126337,7 +126467,7 @@ async function discoverToolsWithMetadata(mcpServerName, mcpServerConfig, mcpClie
|
|
|
126337
126467
|
const mcpTimeout = mcpServerConfig.timeout ?? MCP_DEFAULT_TIMEOUT_MSEC;
|
|
126338
126468
|
const applyConfigFilters = opts?.applyConfigFilters ?? true;
|
|
126339
126469
|
const discoveredTools = [];
|
|
126340
|
-
let hadVisibilityFilteredTools =
|
|
126470
|
+
let hadVisibilityFilteredTools = hadDuplicateToolNames;
|
|
126341
126471
|
for (const funcDecl of tool.functionDeclarations) {
|
|
126342
126472
|
try {
|
|
126343
126473
|
if (!funcDecl.name) {
|
|
@@ -136284,6 +136414,7 @@ var MonitorRegistry = class {
|
|
|
136284
136414
|
entry.outputOffset = 0;
|
|
136285
136415
|
entry.notified = false;
|
|
136286
136416
|
entry.todoWorkChainId ??= todoWorkChainContext.getStore();
|
|
136417
|
+
entry.sourceTurnId = getInvocationContext()?.promptId ?? promptIdContext.getStore();
|
|
136287
136418
|
this.monitors.set(entry.monitorId, entry);
|
|
136288
136419
|
debugLogger83.info(`Registered monitor: ${entry.monitorId}`);
|
|
136289
136420
|
this.resetIdleTimer(entry);
|
|
@@ -136546,7 +136677,8 @@ var MonitorRegistry = class {
|
|
|
136546
136677
|
eventCount: entry.eventCount,
|
|
136547
136678
|
toolUseId: entry.toolUseId,
|
|
136548
136679
|
ownerAgentId: entry.ownerAgentId,
|
|
136549
|
-
todoWorkChainId: entry.todoWorkChainId
|
|
136680
|
+
todoWorkChainId: entry.todoWorkChainId,
|
|
136681
|
+
sourceTurnId: entry.sourceTurnId
|
|
136550
136682
|
};
|
|
136551
136683
|
this.dispatchNotification(entry, displayLine, xmlParts.join("\n"), meta4);
|
|
136552
136684
|
}
|
|
@@ -136584,7 +136716,8 @@ var MonitorRegistry = class {
|
|
|
136584
136716
|
eventCount: entry.eventCount,
|
|
136585
136717
|
toolUseId: entry.toolUseId,
|
|
136586
136718
|
ownerAgentId: entry.ownerAgentId,
|
|
136587
|
-
todoWorkChainId: entry.todoWorkChainId
|
|
136719
|
+
todoWorkChainId: entry.todoWorkChainId,
|
|
136720
|
+
sourceTurnId: entry.sourceTurnId
|
|
136588
136721
|
};
|
|
136589
136722
|
this.dispatchNotification(entry, displayLine, xmlParts.join("\n"), meta4);
|
|
136590
136723
|
}
|
|
@@ -137371,7 +137504,8 @@ var WorkflowRunRegistry = class {
|
|
|
137371
137504
|
const meta4 = {
|
|
137372
137505
|
runId: entry.runId,
|
|
137373
137506
|
status: entry.status,
|
|
137374
|
-
todoWorkChainId: entry.todoWorkChainId
|
|
137507
|
+
todoWorkChainId: entry.todoWorkChainId,
|
|
137508
|
+
sourceTurnId: entry.sourceTurnId
|
|
137375
137509
|
};
|
|
137376
137510
|
try {
|
|
137377
137511
|
runOutsideAgentContext(
|
|
@@ -137473,6 +137607,7 @@ var WorkflowRunRegistry = class {
|
|
|
137473
137607
|
entry.notified = false;
|
|
137474
137608
|
entry.isBackgrounded = registration.isBackgrounded ?? false;
|
|
137475
137609
|
entry.todoWorkChainId ??= todoWorkChainContext.getStore();
|
|
137610
|
+
entry.sourceTurnId = getInvocationContext()?.promptId ?? promptIdContext.getStore();
|
|
137476
137611
|
entry.currentPhase = null;
|
|
137477
137612
|
entry.phases = [];
|
|
137478
137613
|
entry.phaseVisits = [];
|
|
@@ -142804,7 +142939,7 @@ var import_toml = __toESM(require_toml(), 1);
|
|
|
142804
142939
|
function convertTomlToMarkdown(tomlContent) {
|
|
142805
142940
|
let parsed;
|
|
142806
142941
|
try {
|
|
142807
|
-
parsed = import_toml.default.parse(tomlContent);
|
|
142942
|
+
parsed = import_toml.default.parse(tomlContent.replace(/^\uFEFF/, ""));
|
|
142808
142943
|
} catch (error62) {
|
|
142809
142944
|
throw new Error(
|
|
142810
142945
|
`Failed to parse TOML: ${error62 instanceof Error ? error62.message : String(error62)}`
|
|
@@ -144847,6 +144982,7 @@ function createExtensionGitClient(simpleGit, {
|
|
|
144847
144982
|
allowEnvironment: [
|
|
144848
144983
|
"GIT_CONFIG_NOSYSTEM",
|
|
144849
144984
|
"GIT_CONFIG_GLOBAL",
|
|
144985
|
+
"GIT_TERMINAL_PROMPT",
|
|
144850
144986
|
...authentication ? ["GIT_CONFIG_COUNT", "GIT_CONFIG_KEY_0", "GIT_CONFIG_VALUE_0"] : []
|
|
144851
144987
|
]
|
|
144852
144988
|
} : {}
|
|
@@ -144858,7 +144994,10 @@ function createExtensionGitClient(simpleGit, {
|
|
|
144858
144994
|
// Windows special-cases the POSIX spelling in its compat layer, while
|
|
144859
144995
|
// os.devNull's win32 value ('\\\\.\\nul') is rejected as
|
|
144860
144996
|
// "fatal: unable to access '\\.\nul': Invalid argument".
|
|
144861
|
-
GIT_CONFIG_GLOBAL: "/dev/null"
|
|
144997
|
+
GIT_CONFIG_GLOBAL: "/dev/null",
|
|
144998
|
+
// The global config is gone, and the credential helper with it: a source
|
|
144999
|
+
// that needs credentials must fail, not wait on a prompt nobody sees.
|
|
145000
|
+
GIT_TERMINAL_PROMPT: "0"
|
|
144862
145001
|
};
|
|
144863
145002
|
for (const key of [
|
|
144864
145003
|
"PATH",
|
|
@@ -164342,7 +164481,7 @@ var Config = class _Config {
|
|
|
164342
164481
|
await this.proxyDispatcherReady;
|
|
164343
164482
|
options2?.signal?.throwIfAborted();
|
|
164344
164483
|
if (this.isOmniEnabled()) {
|
|
164345
|
-
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-
|
|
164484
|
+
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-GPGQJLHV.js");
|
|
164346
164485
|
this.omniUploadConfig = normalizeDedicatedOmniUploadConfig({
|
|
164347
164486
|
baseUrl: this.omniUploadBaseUrl,
|
|
164348
164487
|
apiKeyEnv: this.omniUploadApiKeyEnv,
|
|
@@ -165504,6 +165643,11 @@ var Config = class _Config {
|
|
|
165504
165643
|
(displayPath) => `Extension rule ${displayPath} has no \`paths:\` and was skipped. An extension's rules must be conditional: a baseline one would be sent with every request, which is the cost a rule exists to avoid. Add \`paths:\` to it, or move the content into the extension's context file.`
|
|
165505
165644
|
);
|
|
165506
165645
|
const extra = memoryContextWarning ? [...ruleWarnings, memoryContextWarning] : ruleWarnings;
|
|
165646
|
+
if (this.hasProjectHooksWithheldByTrust()) {
|
|
165647
|
+
extra.push(
|
|
165648
|
+
`Project hooks in the workspace settings were not loaded: this folder is not explicitly trusted. ${EXPLICIT_TRUST_HINT}`
|
|
165649
|
+
);
|
|
165650
|
+
}
|
|
165507
165651
|
return extra.length > 0 ? [...this.warnings, ...extra] : this.warnings;
|
|
165508
165652
|
}
|
|
165509
165653
|
getDebugLogger() {
|
|
@@ -168256,7 +168400,7 @@ var Config = class _Config {
|
|
|
168256
168400
|
return this.omniPolicyTools;
|
|
168257
168401
|
}
|
|
168258
168402
|
async loadOmniMediaReader() {
|
|
168259
|
-
return import("./omni-
|
|
168403
|
+
return import("./omni-X2QDE2SC.js");
|
|
168260
168404
|
}
|
|
168261
168405
|
/** Normalized `omni.processing` view. Undefined until tool warmup
|
|
168262
168406
|
* completes (or when omni is disabled). */
|
|
@@ -168997,16 +169141,31 @@ var Config = class _Config {
|
|
|
168997
169141
|
}
|
|
168998
169142
|
/**
|
|
168999
169143
|
* Get project-level hooks configuration.
|
|
169000
|
-
* Returns hooks from workspace settings, only in trusted folders.
|
|
169144
|
+
* Returns hooks from workspace settings, only in explicitly trusted folders.
|
|
169001
169145
|
* Used by HookRegistry to load project-specific hooks with proper source attribution.
|
|
169002
169146
|
*/
|
|
169003
169147
|
getProjectHooks() {
|
|
169004
169148
|
if (this.getBareMode() || this.isSafeMode()) {
|
|
169005
169149
|
return void 0;
|
|
169006
169150
|
}
|
|
169007
|
-
if (!this.
|
|
169151
|
+
if (!this.isExplicitlyTrustedFolder()) {
|
|
169008
169152
|
return void 0;
|
|
169009
169153
|
}
|
|
169154
|
+
return this.readProjectHooks();
|
|
169155
|
+
}
|
|
169156
|
+
/**
|
|
169157
|
+
* Whether the workspace configured hooks that are not loaded because the
|
|
169158
|
+
* folder is not explicitly trusted. Feeds the startup warning, so hooks do
|
|
169159
|
+
* not stop silently.
|
|
169160
|
+
*/
|
|
169161
|
+
hasProjectHooksWithheldByTrust() {
|
|
169162
|
+
if (this.getBareMode() || this.isSafeMode() || this.getDisableAllHooks() || this.isExplicitlyTrustedFolder()) {
|
|
169163
|
+
return false;
|
|
169164
|
+
}
|
|
169165
|
+
const hooks = this.readProjectHooks();
|
|
169166
|
+
return hooks !== void 0 && Object.keys(hooks).length > 0;
|
|
169167
|
+
}
|
|
169168
|
+
readProjectHooks() {
|
|
169010
169169
|
const hooks = this.projectHooks ?? (this.hasScopedHooks() ? void 0 : this.hooks);
|
|
169011
169170
|
return hooks;
|
|
169012
169171
|
}
|
|
@@ -169940,7 +170099,7 @@ var Config = class _Config {
|
|
|
169940
170099
|
async registerWorkflowTool(registry2) {
|
|
169941
170100
|
if (registry2.getAllToolNames().includes(ToolNames.WORKFLOW)) return true;
|
|
169942
170101
|
await this.registerLazyTool(registry2, ToolNames.WORKFLOW, async () => {
|
|
169943
|
-
const { WorkflowTool } = await import("./workflow-
|
|
170102
|
+
const { WorkflowTool } = await import("./workflow-QBLEKR24.js");
|
|
169944
170103
|
return new WorkflowTool(this);
|
|
169945
170104
|
});
|
|
169946
170105
|
return registry2.getAllToolNames().includes(ToolNames.WORKFLOW);
|
|
@@ -169962,7 +170121,7 @@ var Config = class _Config {
|
|
|
169962
170121
|
}
|
|
169963
170122
|
if (status === "disabled") return;
|
|
169964
170123
|
const factory = /* @__PURE__ */ __name(async () => {
|
|
169965
|
-
const { ImageGenTool } = await import("./image-gen-
|
|
170124
|
+
const { ImageGenTool } = await import("./image-gen-A5LWAWV5.js");
|
|
169966
170125
|
return new ImageGenTool(this);
|
|
169967
170126
|
}, "factory");
|
|
169968
170127
|
if (status === "deferred") {
|
|
@@ -169989,7 +170148,7 @@ var Config = class _Config {
|
|
|
169989
170148
|
return;
|
|
169990
170149
|
}
|
|
169991
170150
|
const factory = /* @__PURE__ */ __name(async () => {
|
|
169992
|
-
const { RecordSourceTool } = await import("./record-source-
|
|
170151
|
+
const { RecordSourceTool } = await import("./record-source-ZEVZHGGT.js");
|
|
169993
170152
|
return new RecordSourceTool(this);
|
|
169994
170153
|
}, "factory");
|
|
169995
170154
|
if (status === "deferred") {
|
|
@@ -170020,16 +170179,16 @@ var Config = class _Config {
|
|
|
170020
170179
|
const registerGoalWorkerTools = /* @__PURE__ */ __name(async () => {
|
|
170021
170180
|
if (options2?.forSubAgent) return;
|
|
170022
170181
|
await registerLazy(ToolNames.GET_GOAL, async () => {
|
|
170023
|
-
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-
|
|
170182
|
+
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-RUTV37TK.js");
|
|
170024
170183
|
return new GetGoalTool2(this);
|
|
170025
170184
|
});
|
|
170026
170185
|
await registerLazy(ToolNames.UPDATE_GOAL, async () => {
|
|
170027
|
-
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-
|
|
170186
|
+
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-RUTV37TK.js");
|
|
170028
170187
|
return new UpdateGoalTool2(this);
|
|
170029
170188
|
});
|
|
170030
170189
|
if (this.getModelProposedGoals() !== "disabled" && (resolveInteractionMode(this) === "interactive" || this.goalProposalHostSupported)) {
|
|
170031
170190
|
await registerLazy(ToolNames.PROPOSE_GOAL, async () => {
|
|
170032
|
-
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-
|
|
170191
|
+
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-RUTV37TK.js");
|
|
170033
170192
|
return new ProposeGoalTool2(this);
|
|
170034
170193
|
});
|
|
170035
170194
|
}
|
|
@@ -170049,16 +170208,16 @@ var Config = class _Config {
|
|
|
170049
170208
|
});
|
|
170050
170209
|
}
|
|
170051
170210
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
170052
|
-
const { WebFetchTool } = await import("./web-fetch-
|
|
170211
|
+
const { WebFetchTool } = await import("./web-fetch-QKY4VT64.js");
|
|
170053
170212
|
return new WebFetchTool(this);
|
|
170054
170213
|
});
|
|
170055
170214
|
const hasExplicitWebSearchBackend = !!this.webSearchSettings?.model?.trim() || !!this.webSearchSettings?.baseUrl;
|
|
170056
170215
|
if (!this.getBareMode() && !this.isSafeMode() && this.webSearchSettings?.enabled !== false && (this.webSearchSettings?.enabled === true || !hasExplicitWebSearchBackend)) {
|
|
170057
|
-
const { evaluateWebSearchGate } = await import("./web-search-
|
|
170216
|
+
const { evaluateWebSearchGate } = await import("./web-search-AMRNCSP6.js");
|
|
170058
170217
|
const gate = evaluateWebSearchGate(this);
|
|
170059
170218
|
if (gate.ok) {
|
|
170060
170219
|
await registerLazy(ToolNames.WEB_SEARCH, async () => {
|
|
170061
|
-
const { WebSearchTool } = await import("./web-search-
|
|
170220
|
+
const { WebSearchTool } = await import("./web-search-AMRNCSP6.js");
|
|
170062
170221
|
return new WebSearchTool(this);
|
|
170063
170222
|
});
|
|
170064
170223
|
} else if (!gate.silent && !this.webSearchNoticeEmitted && !options2?.forSubAgent) {
|
|
@@ -170075,8 +170234,8 @@ var Config = class _Config {
|
|
|
170075
170234
|
);
|
|
170076
170235
|
}
|
|
170077
170236
|
const [{ createExecutionTools }, { wrapExecutionTool }] = await Promise.all([
|
|
170078
|
-
import("./local-execution-environment-
|
|
170079
|
-
import("./execution-tool-
|
|
170237
|
+
import("./local-execution-environment-NIQC5LCT.js"),
|
|
170238
|
+
import("./execution-tool-JVQOMMTE.js")
|
|
170080
170239
|
]);
|
|
170081
170240
|
for (const [name, tool] of createExecutionTools(this)) {
|
|
170082
170241
|
if (environment.toolNames && !environment.toolNames.has(name)) continue;
|
|
@@ -170087,11 +170246,11 @@ var Config = class _Config {
|
|
|
170087
170246
|
);
|
|
170088
170247
|
}
|
|
170089
170248
|
await registerLazy(ToolNames.TOOL_CALL, async () => {
|
|
170090
|
-
const { ToolCallTool } = await import("./tool-call-
|
|
170249
|
+
const { ToolCallTool } = await import("./tool-call-BUCHKNUE.js");
|
|
170091
170250
|
return new ToolCallTool(registry2);
|
|
170092
170251
|
});
|
|
170093
170252
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
170094
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
170253
|
+
const { ToolSearchTool } = await import("./tool-search-ORCJKBH7.js");
|
|
170095
170254
|
return new ToolSearchTool(this);
|
|
170096
170255
|
});
|
|
170097
170256
|
if (this.executionEnvironment && !options2?.forSubAgent) {
|
|
@@ -170103,7 +170262,7 @@ var Config = class _Config {
|
|
|
170103
170262
|
}
|
|
170104
170263
|
if (this.shellExecutionSandbox) {
|
|
170105
170264
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
170106
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
170265
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CXFG4D26.js");
|
|
170107
170266
|
return new ShellTool2(this);
|
|
170108
170267
|
});
|
|
170109
170268
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -170111,27 +170270,27 @@ var Config = class _Config {
|
|
|
170111
170270
|
return new TaskStopTool(this);
|
|
170112
170271
|
});
|
|
170113
170272
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
170114
|
-
const { ReadFileTool } = await import("./read-file-
|
|
170273
|
+
const { ReadFileTool } = await import("./read-file-PVJ2UFNR.js");
|
|
170115
170274
|
return new ReadFileTool(this);
|
|
170116
170275
|
});
|
|
170117
170276
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
170118
|
-
const { WriteFileTool } = await import("./write-file-
|
|
170277
|
+
const { WriteFileTool } = await import("./write-file-4QSLWQJN.js");
|
|
170119
170278
|
return new WriteFileTool(this);
|
|
170120
170279
|
});
|
|
170121
170280
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
170122
|
-
const { EditTool } = await import("./edit-
|
|
170281
|
+
const { EditTool } = await import("./edit-XYXDIK5B.js");
|
|
170123
170282
|
return new EditTool(this);
|
|
170124
170283
|
});
|
|
170125
170284
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
170126
|
-
const { MonitorTool } = await import("./monitor-
|
|
170285
|
+
const { MonitorTool } = await import("./monitor-X5SXPGKJ.js");
|
|
170127
170286
|
return new MonitorTool(this);
|
|
170128
170287
|
});
|
|
170129
170288
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
170130
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
170289
|
+
const { AgentTool: AgentTool2 } = await import("./agent-4JVSTPOZ.js");
|
|
170131
170290
|
return new AgentTool2(this);
|
|
170132
170291
|
});
|
|
170133
170292
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
170134
|
-
const { GlobTool } = await import("./glob-
|
|
170293
|
+
const { GlobTool } = await import("./glob-LPOYT76M.js");
|
|
170135
170294
|
return new GlobTool(this);
|
|
170136
170295
|
});
|
|
170137
170296
|
await registerLazy(ToolNames.LS, async () => {
|
|
@@ -170140,7 +170299,7 @@ var Config = class _Config {
|
|
|
170140
170299
|
});
|
|
170141
170300
|
if (resolveInteractionMode(this) !== "headless") {
|
|
170142
170301
|
await registerLazy(ToolNames.ASK_USER_QUESTION, async () => {
|
|
170143
|
-
const { AskUserQuestionTool: AskUserQuestionTool2 } = await import("./askUserQuestion-
|
|
170302
|
+
const { AskUserQuestionTool: AskUserQuestionTool2 } = await import("./askUserQuestion-YPA2ZZLO.js");
|
|
170144
170303
|
return new AskUserQuestionTool2(this);
|
|
170145
170304
|
});
|
|
170146
170305
|
}
|
|
@@ -170150,19 +170309,19 @@ var Config = class _Config {
|
|
|
170150
170309
|
}
|
|
170151
170310
|
if (this.getBareMode()) {
|
|
170152
170311
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
170153
|
-
const { ReadFileTool } = await import("./read-file-
|
|
170312
|
+
const { ReadFileTool } = await import("./read-file-PVJ2UFNR.js");
|
|
170154
170313
|
return new ReadFileTool(this);
|
|
170155
170314
|
});
|
|
170156
170315
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
170157
|
-
const { EditTool } = await import("./edit-
|
|
170316
|
+
const { EditTool } = await import("./edit-XYXDIK5B.js");
|
|
170158
170317
|
return new EditTool(this);
|
|
170159
170318
|
});
|
|
170160
170319
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
170161
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
170320
|
+
const { NotebookEditTool } = await import("./notebook-edit-6AJJRXJE.js");
|
|
170162
170321
|
return new NotebookEditTool(this);
|
|
170163
170322
|
});
|
|
170164
170323
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
170165
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
170324
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CXFG4D26.js");
|
|
170166
170325
|
return new ShellTool2(this);
|
|
170167
170326
|
});
|
|
170168
170327
|
await registerGoalWorkerTools();
|
|
@@ -170177,11 +170336,11 @@ var Config = class _Config {
|
|
|
170177
170336
|
await registerExecIfEnabled();
|
|
170178
170337
|
await registerGoalWorkerTools();
|
|
170179
170338
|
await registerLazy(ToolNames.TOOL_CALL, async () => {
|
|
170180
|
-
const { ToolCallTool } = await import("./tool-call-
|
|
170339
|
+
const { ToolCallTool } = await import("./tool-call-BUCHKNUE.js");
|
|
170181
170340
|
return new ToolCallTool(registry2);
|
|
170182
170341
|
});
|
|
170183
170342
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
170184
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
170343
|
+
const { ToolSearchTool } = await import("./tool-search-ORCJKBH7.js");
|
|
170185
170344
|
return new ToolSearchTool(this);
|
|
170186
170345
|
});
|
|
170187
170346
|
await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
|
|
@@ -170189,11 +170348,11 @@ var Config = class _Config {
|
|
|
170189
170348
|
return new ReadMcpResourceTool(this);
|
|
170190
170349
|
});
|
|
170191
170350
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
170192
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
170351
|
+
const { AgentTool: AgentTool2 } = await import("./agent-4JVSTPOZ.js");
|
|
170193
170352
|
return new AgentTool2(this);
|
|
170194
170353
|
});
|
|
170195
170354
|
await registerLazy(ToolNames.LIST_AGENTS, async () => {
|
|
170196
|
-
const { ListAgentsTool } = await import("./list-agents-
|
|
170355
|
+
const { ListAgentsTool } = await import("./list-agents-QNCQCPBU.js");
|
|
170197
170356
|
return new ListAgentsTool(this);
|
|
170198
170357
|
});
|
|
170199
170358
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -170201,11 +170360,11 @@ var Config = class _Config {
|
|
|
170201
170360
|
return new TaskStopTool(this);
|
|
170202
170361
|
});
|
|
170203
170362
|
await registerLazy(ToolNames.SEND_MESSAGE, async () => {
|
|
170204
|
-
const { SendMessageTool } = await import("./send-message-
|
|
170363
|
+
const { SendMessageTool } = await import("./send-message-ZCE2ZSEV.js");
|
|
170205
170364
|
return new SendMessageTool(this);
|
|
170206
170365
|
});
|
|
170207
170366
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
170208
|
-
const { SkillTool } = await import("./skill-
|
|
170367
|
+
const { SkillTool } = await import("./skill-XAI4BN7B.js");
|
|
170209
170368
|
return new SkillTool(this);
|
|
170210
170369
|
});
|
|
170211
170370
|
if (this.isLsToolEnabled()) {
|
|
@@ -170215,11 +170374,11 @@ var Config = class _Config {
|
|
|
170215
170374
|
});
|
|
170216
170375
|
}
|
|
170217
170376
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
170218
|
-
const { ReadFileTool } = await import("./read-file-
|
|
170377
|
+
const { ReadFileTool } = await import("./read-file-PVJ2UFNR.js");
|
|
170219
170378
|
return new ReadFileTool(this);
|
|
170220
170379
|
});
|
|
170221
170380
|
await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
|
|
170222
|
-
const { ZoomImageTool } = await import("./zoom-image-
|
|
170381
|
+
const { ZoomImageTool } = await import("./zoom-image-FGAGFWD3.js");
|
|
170223
170382
|
return new ZoomImageTool(this);
|
|
170224
170383
|
});
|
|
170225
170384
|
if (this.getUseRipgrep()) {
|
|
@@ -170234,7 +170393,7 @@ var Config = class _Config {
|
|
|
170234
170393
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
170235
170394
|
if (useRipgrep) {
|
|
170236
170395
|
await registerLazy(ToolNames.GREP, async () => {
|
|
170237
|
-
const { RipGrepTool } = await import("./ripGrep-
|
|
170396
|
+
const { RipGrepTool } = await import("./ripGrep-SGVDEPUA.js");
|
|
170238
170397
|
return new RipGrepTool(this);
|
|
170239
170398
|
});
|
|
170240
170399
|
} else {
|
|
@@ -170247,7 +170406,7 @@ var Config = class _Config {
|
|
|
170247
170406
|
)
|
|
170248
170407
|
);
|
|
170249
170408
|
await registerLazy(ToolNames.GREP, async () => {
|
|
170250
|
-
const { GrepTool } = await import("./grep-
|
|
170409
|
+
const { GrepTool } = await import("./grep-YVEFUZQF.js");
|
|
170251
170410
|
return new GrepTool(this);
|
|
170252
170411
|
});
|
|
170253
170412
|
}
|
|
@@ -170255,28 +170414,28 @@ var Config = class _Config {
|
|
|
170255
170414
|
recordStartupEvent("config_initialize_ripgrep_probe_start");
|
|
170256
170415
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
170257
170416
|
await registerLazy(ToolNames.GREP, async () => {
|
|
170258
|
-
const { GrepTool } = await import("./grep-
|
|
170417
|
+
const { GrepTool } = await import("./grep-YVEFUZQF.js");
|
|
170259
170418
|
return new GrepTool(this);
|
|
170260
170419
|
});
|
|
170261
170420
|
}
|
|
170262
170421
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
170263
|
-
const { GlobTool } = await import("./glob-
|
|
170422
|
+
const { GlobTool } = await import("./glob-LPOYT76M.js");
|
|
170264
170423
|
return new GlobTool(this);
|
|
170265
170424
|
});
|
|
170266
170425
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
170267
|
-
const { EditTool } = await import("./edit-
|
|
170426
|
+
const { EditTool } = await import("./edit-XYXDIK5B.js");
|
|
170268
170427
|
return new EditTool(this);
|
|
170269
170428
|
});
|
|
170270
170429
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
170271
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
170430
|
+
const { NotebookEditTool } = await import("./notebook-edit-6AJJRXJE.js");
|
|
170272
170431
|
return new NotebookEditTool(this);
|
|
170273
170432
|
});
|
|
170274
170433
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
170275
|
-
const { WriteFileTool } = await import("./write-file-
|
|
170434
|
+
const { WriteFileTool } = await import("./write-file-4QSLWQJN.js");
|
|
170276
170435
|
return new WriteFileTool(this);
|
|
170277
170436
|
});
|
|
170278
170437
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
170279
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
170438
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CXFG4D26.js");
|
|
170280
170439
|
return new ShellTool2(this);
|
|
170281
170440
|
});
|
|
170282
170441
|
await registerLazy(ToolNames.REPORT_FINDINGS, async () => {
|
|
@@ -170286,33 +170445,33 @@ var Config = class _Config {
|
|
|
170286
170445
|
const supportsUserInteraction = resolveInteractionMode(this) !== "headless";
|
|
170287
170446
|
if (supportsUserInteraction) {
|
|
170288
170447
|
await registerLazy(ToolNames.ASK_USER_QUESTION, async () => {
|
|
170289
|
-
const { AskUserQuestionTool: AskUserQuestionTool2 } = await import("./askUserQuestion-
|
|
170448
|
+
const { AskUserQuestionTool: AskUserQuestionTool2 } = await import("./askUserQuestion-YPA2ZZLO.js");
|
|
170290
170449
|
return new AskUserQuestionTool2(this);
|
|
170291
170450
|
});
|
|
170292
170451
|
}
|
|
170293
170452
|
if (!this.sdkMode && (supportsUserInteraction || options2?.forSubAgent)) {
|
|
170294
170453
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
170295
|
-
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-
|
|
170454
|
+
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-7MZNYWO4.js");
|
|
170296
170455
|
return new ExitPlanModeTool2(this);
|
|
170297
170456
|
});
|
|
170298
170457
|
}
|
|
170299
170458
|
if (!this.sdkMode && supportsUserInteraction) {
|
|
170300
170459
|
await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
|
|
170301
|
-
const { EnterPlanModeTool } = await import("./enterPlanMode-
|
|
170460
|
+
const { EnterPlanModeTool } = await import("./enterPlanMode-VQQZ2UW6.js");
|
|
170302
170461
|
return new EnterPlanModeTool(this);
|
|
170303
170462
|
});
|
|
170304
170463
|
}
|
|
170305
170464
|
await registerLazy(ToolNames.ENTER_WORKTREE, async () => {
|
|
170306
|
-
const { EnterWorktreeTool } = await import("./enter-worktree-
|
|
170465
|
+
const { EnterWorktreeTool } = await import("./enter-worktree-DXCRT554.js");
|
|
170307
170466
|
return new EnterWorktreeTool(this);
|
|
170308
170467
|
});
|
|
170309
170468
|
await registerLazy(ToolNames.EXIT_WORKTREE, async () => {
|
|
170310
|
-
const { ExitWorktreeTool } = await import("./exit-worktree-
|
|
170469
|
+
const { ExitWorktreeTool } = await import("./exit-worktree-7YT7VWTK.js");
|
|
170311
170470
|
return new ExitWorktreeTool(this);
|
|
170312
170471
|
});
|
|
170313
170472
|
if (resolveInteractionMode(this) === "interactive" && !this.sdkMode && !this.getScreenReader() && !options2?.forSubAgent) {
|
|
170314
170473
|
await registerLazy(ToolNames.DISPLAY_IMAGE, async () => {
|
|
170315
|
-
const { DisplayImageTool } = await import("./display-image-
|
|
170474
|
+
const { DisplayImageTool } = await import("./display-image-VWFOL6K5.js");
|
|
170316
170475
|
return new DisplayImageTool(this);
|
|
170317
170476
|
});
|
|
170318
170477
|
}
|
|
@@ -170365,33 +170524,33 @@ var Config = class _Config {
|
|
|
170365
170524
|
}
|
|
170366
170525
|
if (this.isAgentTeamEnabled()) {
|
|
170367
170526
|
await registerLazy(ToolNames.TEAM_CREATE, async () => {
|
|
170368
|
-
const { TeamCreateTool } = await import("./team-create-
|
|
170527
|
+
const { TeamCreateTool } = await import("./team-create-B3GZHAVJ.js");
|
|
170369
170528
|
return new TeamCreateTool(this);
|
|
170370
170529
|
});
|
|
170371
170530
|
await registerLazy(ToolNames.TEAM_DELETE, async () => {
|
|
170372
|
-
const { TeamDeleteTool } = await import("./team-delete-
|
|
170531
|
+
const { TeamDeleteTool } = await import("./team-delete-FZRNXQEK.js");
|
|
170373
170532
|
return new TeamDeleteTool(this);
|
|
170374
170533
|
});
|
|
170375
170534
|
await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
|
|
170376
|
-
const { TeamPlanApprovalTool } = await import("./team-plan-approval-
|
|
170535
|
+
const { TeamPlanApprovalTool } = await import("./team-plan-approval-AA23AXBX.js");
|
|
170377
170536
|
return new TeamPlanApprovalTool(this);
|
|
170378
170537
|
});
|
|
170379
170538
|
if (!options2?.forSubAgent) {
|
|
170380
170539
|
await registerLazy(ToolNames.REQUEST_SHUTDOWN, async () => {
|
|
170381
|
-
const { RequestShutdownTool } = await import("./request-shutdown-
|
|
170540
|
+
const { RequestShutdownTool } = await import("./request-shutdown-WWNRWY6N.js");
|
|
170382
170541
|
return new RequestShutdownTool(this);
|
|
170383
170542
|
});
|
|
170384
170543
|
}
|
|
170385
170544
|
await registerLazy(ToolNames.TASK_CREATE, async () => {
|
|
170386
|
-
const { TaskCreateTool } = await import("./task-create-
|
|
170545
|
+
const { TaskCreateTool } = await import("./task-create-7KKOP2J2.js");
|
|
170387
170546
|
return new TaskCreateTool(this);
|
|
170388
170547
|
});
|
|
170389
170548
|
await registerLazy(ToolNames.TASK_UPDATE, async () => {
|
|
170390
|
-
const { TaskUpdateTool } = await import("./task-update-
|
|
170549
|
+
const { TaskUpdateTool } = await import("./task-update-RDNOVBEQ.js");
|
|
170391
170550
|
return new TaskUpdateTool(this);
|
|
170392
170551
|
});
|
|
170393
170552
|
await registerLazy(ToolNames.TASK_LIST, async () => {
|
|
170394
|
-
const { TaskListTool } = await import("./task-list-
|
|
170553
|
+
const { TaskListTool } = await import("./task-list-J7ECJCOE.js");
|
|
170395
170554
|
return new TaskListTool(this);
|
|
170396
170555
|
});
|
|
170397
170556
|
}
|
|
@@ -170469,7 +170628,7 @@ var Config = class _Config {
|
|
|
170469
170628
|
}
|
|
170470
170629
|
}
|
|
170471
170630
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
170472
|
-
const { MonitorTool } = await import("./monitor-
|
|
170631
|
+
const { MonitorTool } = await import("./monitor-X5SXPGKJ.js");
|
|
170473
170632
|
return new MonitorTool(this);
|
|
170474
170633
|
});
|
|
170475
170634
|
if (this.pendingMcpBudgetCallback) {
|
|
@@ -171333,6 +171492,7 @@ export {
|
|
|
171333
171492
|
ToolMode,
|
|
171334
171493
|
isCodeModeToolCallAllowed,
|
|
171335
171494
|
getOptInToolNotFoundMessage,
|
|
171495
|
+
TOOL_CANCELLED_BEFORE_COMPLETION_MESSAGE,
|
|
171336
171496
|
TRUNCATION_EDIT_REJECTION,
|
|
171337
171497
|
convertToFunctionResponse,
|
|
171338
171498
|
convertToFunctionErrorResponse,
|