@organizaone/o1-code 0.25.0 → 0.27.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/settings.md +3 -2
- package/bundled/qc-helper/docs/configuration/trusted-folders.md +1 -1
- package/bundled/qc-helper/docs/features/auto-mode.md +10 -0
- package/bundled/qc-helper/docs/features/hooks.md +3 -3
- package/chunks/{MaxSizedBox-SX7L43GF.js → MaxSizedBox-KRTRIJEA.js} +47 -46
- package/chunks/{StandaloneSessionPicker-V6A3S6MF.js → StandaloneSessionPicker-57TP44KF.js} +65 -65
- package/chunks/{acp-subagent-executor-52MZCRRP.js → acp-subagent-executor-7764VWKH.js} +50 -49
- package/chunks/{acpAgent-IQDDNOET.js → acpAgent-TQRW6SNF.js} +178 -111
- package/chunks/{agent-O6PLYNPF.js → agent-P7LNA44U.js} +32 -31
- package/chunks/{agent-headless-P2WT7VGJ.js → agent-headless-FC25Z4YM.js} +32 -31
- package/chunks/{all-providers-WWSVGE7P.js → all-providers-IMJ6QB2I.js} +3 -3
- package/chunks/{anthropicContentGenerator-FLIKRMH6.js → anthropicContentGenerator-V2MYNWJ3.js} +73 -16
- package/chunks/{artifact-tool-6QDGNGTO.js → artifact-tool-2YUI7TMU.js} +3 -2
- package/chunks/{askUserQuestion-NWK5LQIZ.js → askUserQuestion-CJCXE4MK.js} +2 -2
- package/chunks/{bridge-RVD5UN3S.js → bridge-LELJ7HU5.js} +50 -49
- 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-62CDOJKZ.js → chunk-2EQYAHKO.js} +2 -2
- package/chunks/{chunk-KU6I333M.js → chunk-2GK6MYTP.js} +5 -5
- package/chunks/{chunk-OZFPMAHJ.js → chunk-2J7VJ3WC.js} +2 -2
- package/chunks/{chunk-S7SIWFBW.js → chunk-3IRUUZTV.js} +65 -50
- package/chunks/{chunk-CCGIWTGK.js → chunk-3ONAZUCS.js} +1 -1
- package/chunks/{chunk-ZUZXFA5O.js → chunk-3Q4HEGB4.js} +2 -2
- package/chunks/{chunk-KWP7CAXY.js → chunk-42N5UTUK.js} +3 -3
- package/chunks/{chunk-7TZUSRNH.js → chunk-4INACGIR.js} +1 -1
- package/chunks/{chunk-7H3GMHNV.js → chunk-4UZ3FFYZ.js} +2 -2
- package/chunks/{chunk-7H3GWNGJ.js → chunk-4WIYGAME.js} +1 -1
- package/chunks/{chunk-SPLQKNEP.js → chunk-53HMO7K2.js} +1 -1
- package/chunks/{chunk-3W635FXS.js → chunk-56HGN3XV.js} +1 -1
- package/chunks/{chunk-RUDVLHPQ.js → chunk-5DFZNI3G.js} +8 -8
- package/chunks/{chunk-X427DWFD.js → chunk-5LIDCGQZ.js} +1 -1
- package/chunks/{chunk-KJBZVVEC.js → chunk-5N5IZTS4.js} +13 -10
- package/chunks/{chunk-O6GD6SFV.js → chunk-5ONKDCZM.js} +4 -0
- package/chunks/{chunk-KMGKWFHR.js → chunk-5P7NQWE6.js} +26 -21
- package/chunks/{chunk-AEGEUWVC.js → chunk-5PE7PZL7.js} +2 -2
- package/chunks/{chunk-ZE5EC3FJ.js → chunk-5QMNIJZ2.js} +4 -4
- package/chunks/{chunk-SH5HEA4E.js → chunk-6A3PCAAJ.js} +5 -5
- package/chunks/{chunk-74GVXLB4.js → chunk-6LRWLIIP.js} +4 -4
- package/chunks/{chunk-PCKTU3X5.js → chunk-6VHB4YQZ.js} +1 -1
- package/chunks/{chunk-CD4C4ADN.js → chunk-6VT5UW66.js} +3 -3
- package/chunks/{chunk-GNJ6CIDW.js → chunk-7UDEBIOM.js} +5 -5
- package/chunks/{chunk-NJ75V6UO.js → chunk-7XELAF5M.js} +2 -2
- package/chunks/{chunk-AJDAOH4D.js → chunk-A5ZAKF2B.js} +4 -4
- package/chunks/{chunk-M7ZHP7VU.js → chunk-AEVV2DGL.js} +9 -6
- package/chunks/{chunk-Q2PDOVTR.js → chunk-AXXXWTIX.js} +1 -1
- package/chunks/{chunk-2KBKQCET.js → chunk-BBHBNCB5.js} +2 -2
- package/chunks/{chunk-TYGBYVRJ.js → chunk-BNSYZYXR.js} +44 -13
- package/chunks/{chunk-XHFAV57Y.js → chunk-C3UOC4LM.js} +1 -1
- package/chunks/{chunk-RXNYXW2A.js → chunk-CBLW5IOQ.js} +11 -10
- package/chunks/{chunk-44NOS72H.js → chunk-CDHOAM2E.js} +2 -2
- package/chunks/{chunk-OI7IVUEO.js → chunk-D6APUHI5.js} +11 -96
- package/chunks/{chunk-P4XQQFCZ.js → chunk-DKBLEAGB.js} +2 -2
- package/chunks/{chunk-BZCAZORI.js → chunk-DQGAJLPJ.js} +12 -12
- package/chunks/{chunk-RP55RX65.js → chunk-DV2KGLEW.js} +1 -1
- package/chunks/{chunk-H7Z2QHT6.js → chunk-EE265U33.js} +4 -4
- package/chunks/{chunk-UYRSN6YI.js → chunk-EEJGIKBZ.js} +3 -3
- package/chunks/{chunk-AEUQXQFZ.js → chunk-ESGMIMHJ.js} +2 -2
- package/chunks/{chunk-E66W34L5.js → chunk-EVYREOIG.js} +79 -54
- package/chunks/{chunk-OQ35ZKIB.js → chunk-FX3MQOWG.js} +26 -13
- package/chunks/{chunk-7YEY47HZ.js → chunk-FZSAZTOI.js} +2 -2
- package/chunks/{chunk-XHETKALB.js → chunk-GVZFZZPK.js} +10 -10
- package/chunks/{chunk-PZNY2JJJ.js → chunk-H65DRJN2.js} +1 -1
- package/chunks/{chunk-IDXC5R27.js → chunk-HHXRZCTN.js} +1 -1
- package/chunks/{chunk-B5GTZ6E6.js → chunk-HJYSTI5W.js} +8 -2
- package/chunks/{chunk-KDUC6UGX.js → chunk-HKDI4HXA.js} +2 -2
- package/chunks/{chunk-ESU7M5WY.js → chunk-HRBXDIBC.js} +1 -1
- package/chunks/{chunk-7Y53G2LA.js → chunk-HTH6D3WU.js} +7 -7
- package/chunks/{chunk-QKYD3YLE.js → chunk-IASFPTGI.js} +6 -6
- package/chunks/{chunk-ODNOCYH7.js → chunk-IHW6SWYM.js} +1 -1
- package/chunks/{chunk-RXOKJEB4.js → chunk-IKGD36IH.js} +20 -19
- package/chunks/{chunk-3GX2JF2F.js → chunk-IUMWWTUV.js} +4 -4
- package/chunks/{chunk-RIG4A6YO.js → chunk-J6UKVQX6.js} +4 -4
- package/chunks/{chunk-MMIJMF43.js → chunk-JPCQCUTS.js} +3 -3
- package/chunks/{chunk-6JK2YX3M.js → chunk-K7C5JCE7.js} +1 -1
- package/chunks/{chunk-XGP4RGF4.js → chunk-K7JOSPO4.js} +1 -1
- package/chunks/{chunk-R77APYHJ.js → chunk-KFN7QGTC.js} +2 -2
- package/chunks/{chunk-YVLUG6HM.js → chunk-KIHOIJMQ.js} +2 -2
- package/chunks/{chunk-ON5CGP6B.js → chunk-KP6VAFGI.js} +1 -1
- package/chunks/{chunk-UAN7WQIF.js → chunk-KRTC55S6.js} +4 -4
- package/chunks/{chunk-OBBP2ZN7.js → chunk-KSO7FXQU.js} +7 -7
- package/chunks/{chunk-CL6WD3KD.js → chunk-LBX7KU43.js} +2 -2
- package/chunks/{chunk-JTIB6W5A.js → chunk-LHP2IJ7A.js} +1 -1
- package/chunks/{chunk-2DIUCC6N.js → chunk-LP74MLBE.js} +2 -2
- package/chunks/{chunk-3LGQKO4S.js → chunk-LYWFQGEQ.js} +6 -6
- package/chunks/{chunk-QSHFGJIL.js → chunk-MNLPYHDS.js} +60 -12
- package/chunks/{chunk-IV2ZUCOX.js → chunk-MNLVE24R.js} +3 -3
- package/chunks/{chunk-UYG4HVPV.js → chunk-MWYTSG52.js} +87 -7
- package/chunks/{chunk-WZ3DCPKN.js → chunk-N5TOXL3M.js} +2 -2
- package/chunks/{chunk-ULLCJNT5.js → chunk-N5XZKWJE.js} +1 -1
- package/chunks/{chunk-V4QKOYNB.js → chunk-NRDEPGVR.js} +5 -5
- package/chunks/{chunk-AFLYEJ7J.js → chunk-NWZDA6PN.js} +22 -0
- package/chunks/{chunk-5HHYWAT2.js → chunk-OHPK6LGA.js} +5 -5
- package/chunks/{chunk-P7BCOR5S.js → chunk-OILOGMTY.js} +8 -8
- package/chunks/{chunk-QJLOQHNR.js → chunk-OKSSY3ER.js} +1 -1
- package/chunks/{chunk-4CSMD2N2.js → chunk-OLUQJYZT.js} +9 -11
- package/chunks/{chunk-LK26AJMU.js → chunk-OR4LJOK3.js} +2 -2
- package/chunks/{chunk-S4ASMRKL.js → chunk-OSCUGEQY.js} +3 -3
- package/chunks/{chunk-BGIED5LF.js → chunk-OZKJJI3M.js} +4 -4
- package/chunks/{chunk-JVRNE7NT.js → chunk-PJOCOZLX.js} +262 -73
- package/chunks/{chunk-JUPK7JWP.js → chunk-PMKHXJAS.js} +1 -1
- package/chunks/{chunk-VAAETI4E.js → chunk-POWVKJJ5.js} +1 -1
- package/chunks/{chunk-MG37E6PW.js → chunk-PQGBLD36.js} +7 -4
- package/chunks/{chunk-GJ7VXZXF.js → chunk-PVJDGMEJ.js} +4 -4
- package/chunks/{chunk-LZAXDVE3.js → chunk-PXOBO32R.js} +3 -3
- package/chunks/{chunk-3FYT76B7.js → chunk-PYQSQFGU.js} +1 -1
- package/chunks/{chunk-HFVCWMFQ.js → chunk-QHMLRTHD.js} +8 -5
- package/chunks/{chunk-6KVIR254.js → chunk-QIFODGLE.js} +1 -1
- package/chunks/{chunk-2KYJA6BK.js → chunk-QYXH4QO6.js} +1 -1
- package/chunks/{chunk-4KOM3B7Q.js → chunk-R2MRYCHR.js} +5 -5
- package/chunks/{chunk-DF73UBWX.js → chunk-RHP5L25J.js} +3 -3
- package/chunks/{chunk-YAWHSZ4N.js → chunk-RM54W4ER.js} +1 -1
- package/chunks/{chunk-FRITN2AG.js → chunk-RSFKGHXZ.js} +75 -3
- package/chunks/{chunk-PK2LRZWK.js → chunk-S5TFGSM3.js} +23 -10
- package/chunks/{chunk-5DYWST3G.js → chunk-SR7O2YDD.js} +122404 -120964
- package/chunks/{chunk-TOWDGX4R.js → chunk-TJ7Q4T4P.js} +1 -1
- package/chunks/{chunk-4MFP7T32.js → chunk-UAIMOPVZ.js} +1 -1
- package/chunks/{chunk-UUUIRL5U.js → chunk-UCSYEHMM.js} +1 -1
- package/chunks/chunk-UMHRQJOE.js +101 -0
- package/chunks/{chunk-6CW53FOJ.js → chunk-VBDYNBGQ.js} +33 -0
- package/chunks/{chunk-GY3JWX4O.js → chunk-VJ5BVYSX.js} +1 -1
- package/chunks/{chunk-BNJ3IJB7.js → chunk-VLTW32Z7.js} +5 -1
- package/chunks/{chunk-GR257V6A.js → chunk-VM3UK3TM.js} +1 -1
- package/chunks/{chunk-NRCLJUSY.js → chunk-VQURYS66.js} +1 -1
- package/chunks/{chunk-PGFXYKSJ.js → chunk-W7OUXB6F.js} +8 -8
- package/chunks/{chunk-IMYLADNE.js → chunk-WKC6U3JJ.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-ZS5CRCES.js → chunk-WRF5CAXN.js} +1 -1
- package/chunks/{chunk-SELDIVLD.js → chunk-WTFO7IQM.js} +3 -3
- package/chunks/{chunk-KZW5RTF3.js → chunk-WXIXWH7M.js} +3 -3
- package/chunks/{chunk-S5JHP5C5.js → chunk-X2Z2Y7GS.js} +17 -17
- package/chunks/{chunk-SBM747MY.js → chunk-X4LDF6O3.js} +139 -8
- package/chunks/{chunk-2VV2BC4Y.js → chunk-X5MCTTTU.js} +1 -1
- package/chunks/{chunk-MPN67YNU.js → chunk-XBC4ZFXH.js} +9 -9
- package/chunks/{chunk-72EBG4FJ.js → chunk-XFIAS7A6.js} +5 -1
- package/chunks/{chunk-IA7N7U2C.js → chunk-YAUL5ZQW.js} +6 -6
- package/chunks/{chunk-JUKBFMZ5.js → chunk-YCR4JZUC.js} +3 -3
- package/chunks/{chunk-KX6OMS75.js → chunk-YRYQC7GO.js} +1 -1
- package/chunks/{chunk-RLV4EZSY.js → chunk-Z4HXY45F.js} +1 -1
- package/chunks/{chunk-KDPUC3CO.js → chunk-ZGCZQZ24.js} +23 -7
- package/chunks/{chunk-KEPNWFUD.js → chunk-ZSYQ3RBP.js} +1 -1
- package/chunks/{chunk-2KF67MR3.js → chunk-ZX7J6RLA.js} +1 -1
- package/chunks/{chunk-PKIF4YYA.js → chunk-ZYNZSU4I.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-IBUIGPDN.js} +50 -49
- package/chunks/{contextCommand-RKQX2A2Q.js → contextCommand-6EFJ3QJU.js} +49 -48
- package/chunks/convert-image-4MPD5TZ5.js +1 -1
- package/chunks/{core-runtime-GGSTSFTA.js → core-runtime-2IRY3OGU.js} +47 -46
- package/chunks/{create-sub-session-UEQ23VBD.js → create-sub-session-7RBPOM63.js} +2 -2
- package/chunks/{create-sub-session-5OVGZIQZ.js → create-sub-session-YPMC7OTH.js} +48 -47
- 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-O5PEMNIJ.js} +51 -50
- package/chunks/{daemon-status-provider-PB2RABB3.js → daemon-status-provider-HV3XFWXG.js} +55 -54
- package/chunks/{daemon-trust-policy-VKBYIHIA.js → daemon-trust-policy-NJGWWUJF.js} +55 -55
- package/chunks/{daemon-trust-policy-monitor-QFZLQW7N.js → daemon-trust-policy-monitor-XDGGMLUX.js} +55 -55
- package/chunks/{deferred-core-runtime-OPWIBNWK.js → deferred-core-runtime-QJEIQQRV.js} +47 -46
- 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-DAMGKYG4.js} +34 -33
- package/chunks/{en-ZRJL6ZFP.js → en-FVPIFYM3.js} +1 -0
- package/chunks/{enter-worktree-FIO6VPWS.js → enter-worktree-DXCRT554.js} +6 -5
- package/chunks/{enterPlanMode-HZIALG5T.js → enterPlanMode-ZVG6QCWE.js} +32 -31
- package/chunks/{environment-TM5YFH77.js → environment-N7R6TMQF.js} +51 -49
- package/chunks/{errors-75WEKSIY.js → errors-4MXYEHDC.js} +49 -48
- 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-YKY2TRGU.js} +34 -33
- package/chunks/{execution-worker-BR2UBKVZ.js → execution-worker-65BZHXUO.js} +38 -37
- package/chunks/{exit-worktree-3UU4SS47.js → exit-worktree-7YT7VWTK.js} +6 -5
- package/chunks/{exitPlanMode-46FWANRT.js → exitPlanMode-3ONQQHEA.js} +32 -31
- package/chunks/extract-audio-AYEXZ2KS.js +1 -1
- package/chunks/extract-keyframes-UQVW7UH6.js +1 -1
- package/chunks/{fast-path-FB2AYQT2.js → fast-path-OL4RWGDQ.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-MGGMRN3K.js} +49 -48
- package/chunks/{gateway-content-generator-BPZXVQWC.js → gateway-content-generator-E7VLZDUR.js} +8 -4
- package/chunks/{gateway-models-5JPME6AP.js → gateway-models-NFDZZXWP.js} +6 -6
- package/chunks/{glob-QZSWKHOW.js → glob-OIDBOW4G.js} +32 -31
- package/chunks/{goal-tools-LZLIELOL.js → goal-tools-DMZIYTZT.js} +32 -31
- package/chunks/{grep-5HGH34M6.js → grep-YVEFUZQF.js} +4 -4
- package/chunks/{handleAutoUpdate-UZIU3KK4.js → handleAutoUpdate-I3HSNEZY.js} +50 -49
- package/chunks/{i18n-UVPXLFMF.js → i18n-6BLWGPIF.js} +48 -47
- package/chunks/{image-gen-D4WPSZB4.js → image-gen-A5LWAWV5.js} +3 -3
- package/chunks/{initializer-Q4DUD7GF.js → initializer-3NT4PSG5.js} +55 -55
- package/chunks/{installationInfo-DWIXOKSE.js → installationInfo-YFS4WR5Z.js} +47 -46
- package/chunks/{list-TUO4ATZ7.js → list-WSW25XV4.js} +57 -57
- package/chunks/{list-agents-T2EHYFCL.js → list-agents-YJZPHUQG.js} +17 -6
- package/chunks/{llm-MMOAP23Q.js → llm-DHEJE335.js} +89 -88
- package/chunks/{llm-content-generator-7NOJCUX2.js → llm-content-generator-LCRFLNVM.js} +5 -5
- package/chunks/{loadedSettingsAdapter-LONKNEI2.js → loadedSettingsAdapter-LZEJHSTQ.js} +55 -55
- package/chunks/{local-execution-environment-W6RR5CM2.js → local-execution-environment-ZPGY5MSH.js} +38 -37
- package/chunks/{loggingContentGenerator-BTD3KTLK.js → loggingContentGenerator-OLR57SV6.js} +34 -33
- 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-KRSAJ37W.js} +47 -46
- package/chunks/{mcp-XBVFA4NK.js → mcp-BQGQ7QLI.js} +55 -55
- package/chunks/{model-call-collection-HQF2N6XF.js → model-call-collection-TVSEFAQV.js} +2 -2
- package/chunks/{model-configuration-BBZJMCHB.js → model-configuration-GJFGTJ5Y.js} +56 -56
- package/chunks/{modelConfigUtils-UFJV3ZJS.js → modelConfigUtils-6CWVK6HU.js} +49 -48
- package/chunks/{monitor-4DJ5VKXK.js → monitor-2T7KABJD.js} +41 -39
- package/chunks/{nonInteractiveCli-IIJI63XP.js → nonInteractiveCli-K4JM4ENC.js} +87 -87
- package/chunks/{nonInteractiveToolExecutor-MET7I2DQ.js → nonInteractiveToolExecutor-5GOEPWYO.js} +33 -32
- package/chunks/{notebook-edit-EOFZ4EKN.js → notebook-edit-DAENEK5S.js} +33 -32
- package/chunks/ocr-image-UTGQDI5V.js +1 -1
- package/chunks/{omni-MLLL6UUM.js → omni-H42BCXPX.js} +13 -13
- package/chunks/{openaiContentGenerator-FUN5S2AD.js → openaiContentGenerator-EH2MHLQR.js} +135 -20
- package/chunks/{openaiResponsesContentGenerator-TIRM5XJN.js → openaiResponsesContentGenerator-RQROUO3C.js} +487 -385
- package/chunks/{processUtils-WPVNEHRF.js → processUtils-FAIS7M3Y.js} +2 -2
- package/chunks/{prompt-terminal-ledger-PQYRGDN6.js → prompt-terminal-ledger-7N4QXMSN.js} +48 -47
- package/chunks/{pt-2EWDZAFN.js → pt-NR7K5X64.js} +1 -0
- package/chunks/{reactive-degrade-RAVGIKCJ.js → reactive-degrade-SUQLWXQ6.js} +12 -12
- package/chunks/{read-file-BTMZPG5O.js → read-file-XE7ME3BR.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-6XCNP6XF.js} +8 -6
- package/chunks/report-findings-S6QO46V2.js +1 -1
- package/chunks/{request-shutdown-4LPYJZTK.js → request-shutdown-6M76E2KV.js} +7 -5
- package/chunks/{resumeHistoryUtils-RSU25WYV.js → resumeHistoryUtils-DUYOO4BU.js} +51 -50
- package/chunks/{ripGrep-N425H66N.js → ripGrep-3LGQ4SE4.js} +8 -8
- package/chunks/{run-o1-code-serve-FGCE7K7C.js → run-o1-code-serve-GDYUXK5W.js} +38 -39
- package/chunks/{runtime-shell-policy-ZAYLMR65.js → runtime-shell-policy-IRZDQMDW.js} +1 -1
- package/chunks/{sandboxConfig-AZSEWZCT.js → sandboxConfig-UOOGX443.js} +49 -49
- package/chunks/{scheduled-tasks-ZUCWMR44.js → scheduled-tasks-J3BZWWMO.js} +53 -52
- package/chunks/{scheduler-ZRZBVAWJ.js → scheduler-EPXMQ35M.js} +49 -48
- package/chunks/{send-message-CD2AOPQD.js → send-message-B2HM2LKH.js} +11 -8
- package/chunks/{serve-V2C4I5RF.js → serve-UUAH4RD4.js} +55 -55
- package/chunks/{server-HPF2IP2F.js → server-JDRC2EN6.js} +88 -93
- package/chunks/{session-ZOBQ7E3F.js → session-M6GUKX2G.js} +88 -88
- package/chunks/{session-7VBZLPP7.js → session-Q2LHHXY4.js} +1 -1
- package/chunks/{session-attachments-root-5LVSTHJX.js → session-attachments-root-CCIAH6U6.js} +47 -46
- package/chunks/{session-pr-refresh-B3GHMCV5.js → session-pr-refresh-GTIOMUNU.js} +52 -51
- package/chunks/{settings-4EWIU2CS.js → settings-SBWV33ZU.js} +55 -55
- package/chunks/{shell-PEPAVCLP.js → shell-J4HQKVRT.js} +32 -31
- package/chunks/{skill-KYZIZDCI.js → skill-KI27WO4D.js} +5 -5
- package/chunks/{skill-settings-FMPMQYFV.js → skill-settings-AYZSCDA2.js} +55 -55
- package/chunks/{spawnChannel-TW6GZJXJ.js → spawnChannel-XXWTNIFF.js} +49 -48
- package/chunks/{standalone-update-SV7MBAIU.js → standalone-update-F7SJN6QH.js} +49 -48
- package/chunks/{startInteractiveUI-MDF4JJD5.js → startInteractiveUI-QBRDQBKB.js} +323 -138
- package/chunks/{supervisor-runner-XJAZN7YG.js → supervisor-runner-YREQDAAR.js} +2 -2
- package/chunks/syntheticOutput-KZMNOKOG.js +1 -1
- package/chunks/{task-create-W3R3G7FM.js → task-create-AJSUW4SS.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-X65AWLX3.js} +11 -8
- package/chunks/{team-create-O66TUESF.js → team-create-AWX3WCOX.js} +32 -31
- package/chunks/{team-delete-RL37ORM3.js → team-delete-FZRNXQEK.js} +4 -3
- package/chunks/{team-plan-approval-667K2B3B.js → team-plan-approval-XADKQBWB.js} +32 -31
- package/chunks/{terminal-image-renderer-PMVAADQU.js → terminal-image-renderer-3IULS2LY.js} +47 -46
- package/chunks/{theme-manager-PHZIRE2I.js → theme-manager-S2SNBVMH.js} +47 -46
- package/chunks/todoWrite-ARTSGNNA.js +1 -1
- package/chunks/{tool-call-ZR564L2K.js → tool-call-BERI4DIZ.js} +8 -6
- package/chunks/{tool-result-media-PXJEED5J.js → tool-result-media-SU4PKTY5.js} +13 -13
- package/chunks/{tool-search-5GZKW7RO.js → tool-search-YVDXMR22.js} +14 -9
- package/chunks/{total-session-admission-WTPY7HAP.js → total-session-admission-JXG2Y7T7.js} +50 -49
- package/chunks/transcribe-audio-WOITX4I2.js +1 -1
- package/chunks/{trustedFolders-JOAYZVGA.js → trustedFolders-7IPBJUC7.js} +50 -48
- package/chunks/understand-video-segments-YFCIFF7P.js +1 -1
- package/chunks/{update-relaunch-3WTWA6Y3.js → update-relaunch-NN2CBTSS.js} +5 -5
- package/chunks/{updateCheck-3EBFSQYZ.js → updateCheck-FJQDYAG6.js} +49 -48
- package/chunks/{upload-config-GAXSQ3UL.js → upload-config-YCM5FBRA.js} +9 -9
- package/chunks/{useAutoAcceptIndicator-KDDP4EGH.js → useAutoAcceptIndicator-LFIUN7PN.js} +57 -57
- package/chunks/{validateNonInterActiveAuth-SMUVFO2L.js → validateNonInterActiveAuth-JOX24GXO.js} +84 -84
- package/chunks/{version-LOJWIDPQ.js → version-JFJPSBUT.js} +1 -1
- package/chunks/{web-fetch-XIUI6SSS.js → web-fetch-K5XFX4U5.js} +37 -21
- package/chunks/{web-search-53FZUSEO.js → web-search-DJOLXUKE.js} +10 -10
- package/chunks/{workflow-V26XKAXG.js → workflow-DDRDQXO3.js} +35 -33
- package/chunks/{workspace-providers-status-E4V3ZW7E.js → workspace-providers-status-NYUD74M7.js} +61 -61
- package/chunks/{workspace-registration-store-2YYKRGZQ.js → workspace-registration-store-YH4N3DDV.js} +2 -2
- package/chunks/{workspace-registry-EFTIIC5P.js → workspace-registry-WNJX32P3.js} +50 -49
- package/chunks/{workspace-runtime-coordinator-LCEDKI3V.js → workspace-runtime-coordinator-7CBX333P.js} +51 -50
- package/chunks/{workspace-service-EJHV4F5K.js → workspace-service-M3HENJTA.js} +60 -60
- package/chunks/{workspace-skills-status-DGOQVL5O.js → workspace-skills-status-DMRJPYZD.js} +58 -58
- package/chunks/{workspace-trust-reconciler-L7QJK4OH.js → workspace-trust-reconciler-TWROHM3Q.js} +58 -58
- package/chunks/{write-file-OA3YWX4Z.js → write-file-NPDFTBGT.js} +34 -33
- package/chunks/{zoom-image-2FAU5GG7.js → zoom-image-JIHUP4HA.js} +4 -4
- package/cli-entry.js +19 -2
- package/cli.js +16 -16
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/en.js +2 -0
- package/locales/pt.js +2 -0
- package/package.json +2 -2
- package/release-notes.json +46 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-BHe02xuM.js → abnfDiagram-VCTEODGH-CmJn1PDE.js} +1 -1
- package/web-shell/assets/{arc-B5VovhrP.js → arc-BmZjGB_w.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-ByvXrzMN.js → architectureDiagram-5GKGNRK7-DX-36I_j.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CS0RXmiX.js → blockDiagram-NRAW4CY4-DxTx3zwB.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-WPcIgAxw.js → c4Diagram-UCG6FXSJ-rXvYjVVs.js} +1 -1
- package/web-shell/assets/channel-DhUh1Prc.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-Bj1gOQC9.js → chunk-2Q5K7J3B-DBgDB2KW.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-C3R9A3P3.js → chunk-5VM5RSS4-CoxrLXwk.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-CvmqvEHu.js → chunk-F27PBJKO-DC5NQEjf.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-C_If25TG.js → chunk-G27WJ6UU-Cf3GRKgO.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-BvDHAb7t.js → chunk-JWPE2WC7-DxsEZUOD.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-lMoppd_e.js → chunk-LCL6LL3I-CEQc9n40.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-C-dB9zRU.js → chunk-POPQ4Y6H-DsiSLluJ.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-Bq7Iu-7R.js → chunk-SVP7TREG-CxvHOpi6.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-Dh3H4DSX.js → chunk-XXDRQBXY-CGvG4BqT.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-u9x7IqO_.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-u9x7IqO_.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CSCSbMtg.js → cose-bilkent-JH36ORCC-wq1CwvXH.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-RRLTsTaE.js → cynefin-OW5HDTMX-CCzVtrpa.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-C65LN46e.js → cynefinDiagram-5FMLGOSQ-CrsY22No.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BdovI5E9.js → dagre-3AP2YEHR-Bt0t_pl2.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-C__1sM3W.js → diagram-S7CK7UJ4-CgFmr50g.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CPmRM5zO.js → diagram-UQ7AKVKN-F5rdharJ.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-DqhwLyY5.js → diagram-VSXAHHWV-CLtQI9Us.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-D2vw9R7V.js → diagram-VX7I27RA-Bvcc0y0l.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-DiNJsGCW.js → diagram-Z3DM3KII-B0Zv86Nw.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-DzQJrp__.js → ebnfDiagram-PWID7BFC-Ue6Kp4zy.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-BatwnmvO.js → erDiagram-SSCWMZ5O-EP13tHtp.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-BhzHirl4.js → flowDiagram-A5DVABFB-DKQhXSAb.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-C_xchuB7.js → ganttDiagram-EL5Y4UJY-DOM1GL3N.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DNlzQUEd.js → gitGraphDiagram-WWUBYQGX-BXWWwMVj.js} +1 -1
- package/web-shell/assets/{index-D3-F421W.js → index-B-JFgxf_.js} +1 -1
- package/web-shell/assets/{index-CEoLVNsR.js → index-BySRifK6.js} +3 -3
- package/web-shell/assets/{infoDiagram-RXCK75RN-BqwTMueq.js → infoDiagram-RXCK75RN-C_0yC8Ij.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DtO4tLwV.js → ishikawaDiagram-5VMMS53U-Cb2loNBZ.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-CFSU0yqx.js → journeyDiagram-EYS64GPL-RPQBx8RB.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-Co3XYypK.js → kanban-definition-3QL26DDD-BclR2dqV.js} +1 -1
- package/web-shell/assets/{layout-nWXTib3H.js → layout-SQVyFkqM.js} +1 -1
- package/web-shell/assets/{linear-D-XaGQzj.js → linear-DWbtI-Pa.js} +1 -1
- package/web-shell/assets/{mermaid.core-iNkpLd37.js → mermaid.core-Bm1cOFEw.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-ugnDSQpM.js → mindmap-definition-FBJOCRG2-j9RYxk62.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-DFsc7FgE.js → pegDiagram-XKGWAZYB-B6GhUCAI.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-fcQtkfjw.js → pieDiagram-E7YTZNPT-D7co7Zdb.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Dx7rAH6a.js → quadrantDiagram-AXDQQJYC-WLfkJYEi.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-0nnlkbZ1.js → railroadDiagram-O6MQD6OU-CH6JUyt5.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-B-04HJA0.js → requirementDiagram-EFPCY7ZU-dqpSnQop.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CLsEV75E.js → sankeyDiagram-P5KCCOFB-Bjm20XGX.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Cejvbn9H.js → sequenceDiagram-WJ2MYXX4-CE1HvQ3r.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DZ3R_cCz.js → sizeCapture-X5ZJPWSS-D-jc__e7.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BZEDmn1B.js → stateDiagram-HBIQ2CUA-D4oPWH6C.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Cj2MLX5C.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-3SAiHcQZ.js → swimlanes-XN3QIQJK-CxwnXXV2.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Ke9hgQpA.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BvRpsN9o.js → timeline-definition-24CTP7MA-BF9F9CDF.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-B_run13a.js → vennDiagram-4TSXK5OY-CkDMgOFv.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-86ZF0DQ5.js → wardleyDiagram-VM6X3IG4-DJ2f-coT.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CoxU4Yje.js → xychartDiagram-S5SC5T6Z-tfnnRI2D.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
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
resolveWorkflowSizeGuidelineSetting,
|
|
42
42
|
toModelVisibleSubagentResult,
|
|
43
43
|
tryWithWorkflowTaskMutation
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-SR7O2YDD.js";
|
|
45
45
|
import {
|
|
46
46
|
GitWorktreeService,
|
|
47
47
|
generateAgentWorktreeSlug,
|
|
48
48
|
writeWorktreeSessionMarker
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WKUCYQM7.js";
|
|
50
50
|
import {
|
|
51
51
|
parsePositiveIntegerEnv
|
|
52
52
|
} from "./chunk-DS3COGEF.js";
|
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
} from "./chunk-Z2IHOXIK.js";
|
|
56
56
|
import {
|
|
57
57
|
SUBAGENT_PLAN_LIFECYCLE_TOOLS
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MWYTSG52.js";
|
|
59
59
|
import {
|
|
60
60
|
createAbortController,
|
|
61
61
|
createChildAbortController
|
|
62
62
|
} from "./chunk-O4IWNFDK.js";
|
|
63
63
|
import {
|
|
64
64
|
runWithAgentContext
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3ONAZUCS.js";
|
|
66
66
|
import {
|
|
67
67
|
WorkflowRunEvent,
|
|
68
68
|
WorkflowSizeWarningEvent,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
read,
|
|
72
72
|
uiTelemetryService,
|
|
73
73
|
writeLine
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-MNLPYHDS.js";
|
|
75
75
|
import {
|
|
76
76
|
SyntheticOutputTool
|
|
77
77
|
} from "./chunk-IMLPJ76O.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
import {
|
|
83
83
|
REASONING_EFFORT_TIERS,
|
|
84
84
|
normalizeReasoningEffort
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-XFIAS7A6.js";
|
|
86
86
|
import {
|
|
87
87
|
stripAnsiAndControl
|
|
88
88
|
} from "./chunk-FKI7XUZK.js";
|
|
@@ -995,7 +995,7 @@ function terminalDispatchError(workflowAgentId, mode) {
|
|
|
995
995
|
}
|
|
996
996
|
__name(terminalDispatchError, "terminalDispatchError");
|
|
997
997
|
async function runSingleDispatch(config, prompt, opts, attemptSignal, emitter, workflowAgentId, agentIdentity, onTokens, subagentBounds) {
|
|
998
|
-
const { AgentHeadless, ContextState } = await import("./agent-headless-
|
|
998
|
+
const { AgentHeadless, ContextState } = await import("./agent-headless-FC25Z4YM.js");
|
|
999
999
|
const ctx = new ContextState();
|
|
1000
1000
|
ctx.set("task_prompt", prompt);
|
|
1001
1001
|
debugLogger.debug(`[workflow] Dispatch ${workflowAgentId}`);
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
} from "./chunk-KD7GIK2D.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CDHOAM2E.js";
|
|
12
12
|
import {
|
|
13
13
|
So,
|
|
14
14
|
extractZipArchive
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SR7O2YDD.js";
|
|
16
16
|
import {
|
|
17
17
|
createDebugLogger
|
|
18
18
|
} from "./chunk-UK2KIU2V.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
createPatchSmart,
|
|
9
9
|
detectLineEnding,
|
|
10
10
|
getDiffStat
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SR7O2YDD.js";
|
|
12
12
|
import {
|
|
13
13
|
FileOperationEvent,
|
|
14
14
|
logFileOperation
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MNLPYHDS.js";
|
|
16
16
|
import {
|
|
17
17
|
findCellIndex,
|
|
18
18
|
getCellDisplayId,
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CDHOAM2E.js";
|
|
6
6
|
import {
|
|
7
7
|
computeThresholds,
|
|
8
8
|
estimateContextTextTokens,
|
|
9
9
|
formatContextFileDisplayPath,
|
|
10
10
|
getMainSessionBaseSystemPrompt,
|
|
11
11
|
stripTerminalControlSequences
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SR7O2YDD.js";
|
|
13
13
|
import {
|
|
14
14
|
qualifySkillName
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DV2KGLEW.js";
|
|
16
16
|
import {
|
|
17
17
|
isMediaPolicyToolHiddenFromModel
|
|
18
18
|
} from "./chunk-CI2ZHR5C.js";
|
|
19
19
|
import {
|
|
20
20
|
DiscoveredMCPTool,
|
|
21
21
|
uiTelemetryService
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MNLPYHDS.js";
|
|
23
23
|
import {
|
|
24
24
|
buildAvailableSkillsReminder,
|
|
25
25
|
getStartupContextLength
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-26G2BFFM.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveSlimmingConfig
|
|
29
29
|
} from "./chunk-HAZNBQPI.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-SYMYKLO4.js";
|
|
33
33
|
import {
|
|
34
34
|
DEFAULT_TOKEN_LIMIT
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XFIAS7A6.js";
|
|
36
36
|
import {
|
|
37
37
|
isSubpath
|
|
38
38
|
} from "./chunk-3X2X4BF3.js";
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
} from "./chunk-EPSJPAHV.js";
|
|
134
134
|
import {
|
|
135
135
|
defaultModalities
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-XFIAS7A6.js";
|
|
137
137
|
import {
|
|
138
138
|
atomicWriteFile,
|
|
139
139
|
atomicWriteFileSync
|
|
@@ -5815,7 +5815,7 @@ var FULL_OUTPUT_DIGEST_LABEL = "Full output sha256: ";
|
|
|
5815
5815
|
var TOOL_OUTPUT_TRUNCATED_PREFIX = "Tool output was too large and has been truncated";
|
|
5816
5816
|
var COMBINED_PASS_TOLERANCE_FACTOR = 2;
|
|
5817
5817
|
var TRUNCATION_FALLBACK_ENVELOPE_SLACK = 500;
|
|
5818
|
-
async function truncateAndSaveToFile(content, fileName, projectTempDir, threshold, truncateLines, keep = "both", previewChars = threshold, exclusive = false) {
|
|
5818
|
+
async function truncateAndSaveToFile(content, fileName, projectTempDir, threshold, truncateLines, keep = "both", previewChars = threshold, exclusive = false, persistenceConfig) {
|
|
5819
5819
|
if (content.length <= threshold && !Number.isFinite(truncateLines)) {
|
|
5820
5820
|
return { content };
|
|
5821
5821
|
}
|
|
@@ -5879,16 +5879,43 @@ async function truncateAndSaveToFile(content, fileName, projectTempDir, threshol
|
|
|
5879
5879
|
const truncatedContent = keep === "head" ? beginning.join("\n") + sep : keep === "tail" ? sep + end.join("\n") : beginning.join("\n") + sep + end.join("\n");
|
|
5880
5880
|
const safeFileName = `${path9.basename(fileName)}.output`;
|
|
5881
5881
|
const outputFile = path9.join(projectTempDir, safeFileName);
|
|
5882
|
-
const
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5882
|
+
const removalNote = sep ? " The marker '... [CONTENT TRUNCATED] ...' indicates where content was removed." : "";
|
|
5883
|
+
const keptPart = keep === "head" ? "the beginning" : keep === "tail" ? "the end" : "the beginning and end";
|
|
5884
|
+
const description = `The truncated output below shows ${keptPart} of the content.${removalNote}`;
|
|
5885
|
+
const fullOutputDigest = crypto.createHash("sha256").update(content).digest("hex");
|
|
5886
|
+
const envelope = /* @__PURE__ */ __name((header, hint) => `${TOOL_OUTPUT_TRUNCATED_PREFIX}.
|
|
5887
|
+
${header}
|
|
5888
|
+
Total characters: ${content.length}; total lines: ${lines.length}.
|
|
5889
|
+
${FULL_OUTPUT_DIGEST_LABEL}${fullOutputDigest}
|
|
5890
|
+
${hint ? `${hint}
|
|
5891
|
+
` : ""}${description}
|
|
5886
5892
|
|
|
5887
5893
|
Truncated part of the output:
|
|
5888
|
-
${truncatedContent}
|
|
5894
|
+
${truncatedContent}`, "envelope");
|
|
5895
|
+
const wrappedMessage = envelope(
|
|
5896
|
+
`The full output has been saved to: ${outputFile}`,
|
|
5897
|
+
pagingHint(lines.length === 1)
|
|
5898
|
+
);
|
|
5889
5899
|
if (wrappedMessage.length >= content.length) {
|
|
5890
5900
|
return { content };
|
|
5891
5901
|
}
|
|
5902
|
+
const byteSize = Buffer.byteLength(content, "utf-8");
|
|
5903
|
+
if (persistenceConfig) {
|
|
5904
|
+
const tooLarge = byteSize > MAX_FILE_SIZE_BYTES;
|
|
5905
|
+
const sessionBytes = persistenceConfig.getToolResultBytesWritten?.() ?? 0;
|
|
5906
|
+
if (tooLarge || sessionBytes + byteSize > MAX_SESSION_BYTES) {
|
|
5907
|
+
const reason = tooLarge ? `it exceeds the ${MAX_FILE_SIZE_BYTES} byte per-file limit` : "the session disk budget is exhausted";
|
|
5908
|
+
debugLogger6.warn(
|
|
5909
|
+
`Skipping spill of ${byteSize} bytes to ${outputFile}: ${reason}`
|
|
5910
|
+
);
|
|
5911
|
+
return {
|
|
5912
|
+
content: envelope(
|
|
5913
|
+
`[Note: The full output could not be saved: ${reason}]`
|
|
5914
|
+
)
|
|
5915
|
+
};
|
|
5916
|
+
}
|
|
5917
|
+
persistenceConfig.trackToolResultBytes?.(byteSize);
|
|
5918
|
+
}
|
|
5892
5919
|
try {
|
|
5893
5920
|
await fs7.mkdir(projectTempDir, { recursive: true });
|
|
5894
5921
|
await fs7.writeFile(outputFile, content, {
|
|
@@ -5900,17 +5927,30 @@ ${truncatedContent}`;
|
|
|
5900
5927
|
outputFile
|
|
5901
5928
|
};
|
|
5902
5929
|
} catch (error) {
|
|
5930
|
+
persistenceConfig?.trackToolResultBytes?.(-byteSize);
|
|
5903
5931
|
debugLogger6.warn(
|
|
5904
5932
|
`Failed to save truncated output to ${outputFile}:`,
|
|
5905
5933
|
error
|
|
5906
5934
|
);
|
|
5907
5935
|
return {
|
|
5908
|
-
content:
|
|
5909
|
-
[Note: Could not save full output to file]`
|
|
5936
|
+
content: envelope("[Note: Could not save full output to file]")
|
|
5910
5937
|
};
|
|
5911
5938
|
}
|
|
5912
5939
|
}
|
|
5913
5940
|
__name(truncateAndSaveToFile, "truncateAndSaveToFile");
|
|
5941
|
+
function pagingHint(singleLine) {
|
|
5942
|
+
const base = `To read the complete output, use the ${ReadFileTool.Name} tool with the absolute file path above; page through it with offset (zero-based line) and limit (line count).`;
|
|
5943
|
+
return singleLine ? `${base} The saved output is a single line, so line offsets cannot reach its middle: read a byte range with a shell command, or parse the file.` : base;
|
|
5944
|
+
}
|
|
5945
|
+
__name(pagingHint, "pagingHint");
|
|
5946
|
+
function countLines(content) {
|
|
5947
|
+
let count = 1;
|
|
5948
|
+
for (let index = content.indexOf("\n"); index !== -1; index = content.indexOf("\n", index + 1)) {
|
|
5949
|
+
count++;
|
|
5950
|
+
}
|
|
5951
|
+
return count;
|
|
5952
|
+
}
|
|
5953
|
+
__name(countLines, "countLines");
|
|
5914
5954
|
async function truncateToolOutput(config, toolName, content, limits, promptId) {
|
|
5915
5955
|
const threshold = limits?.threshold ?? config.getTruncateToolOutputThreshold();
|
|
5916
5956
|
const lines = limits?.lines ?? config.getTruncateToolOutputLines();
|
|
@@ -5933,7 +5973,8 @@ async function truncateToolOutput(config, toolName, content, limits, promptId) {
|
|
|
5933
5973
|
lines,
|
|
5934
5974
|
keep,
|
|
5935
5975
|
previewChars,
|
|
5936
|
-
outputDirectory !== void 0
|
|
5976
|
+
outputDirectory !== void 0,
|
|
5977
|
+
config
|
|
5937
5978
|
);
|
|
5938
5979
|
if (result.outputFile) {
|
|
5939
5980
|
try {
|
|
@@ -5992,7 +6033,8 @@ async function truncateLlmContent(config, toolName, content, limits, promptId) {
|
|
|
5992
6033
|
}
|
|
5993
6034
|
__name(truncateLlmContent, "truncateLlmContent");
|
|
5994
6035
|
function isAlreadyTruncated(content) {
|
|
5995
|
-
return content.includes("... [CONTENT TRUNCATED] ...") || content.startsWith("<persisted-output>")
|
|
6036
|
+
return content.includes("... [CONTENT TRUNCATED] ...") || content.startsWith("<persisted-output>") || // A small preview budget drops the marker, leaving only the sentinel.
|
|
6037
|
+
content.startsWith(TOOL_OUTPUT_TRUNCATED_PREFIX);
|
|
5996
6038
|
}
|
|
5997
6039
|
__name(isAlreadyTruncated, "isAlreadyTruncated");
|
|
5998
6040
|
function generatePreview(content) {
|
|
@@ -6105,8 +6147,9 @@ function buildStub(content, byteSize, filePathOrNote) {
|
|
|
6105
6147
|
return `<persisted-output>
|
|
6106
6148
|
Output too large (${sizeKb} KB). Full output saved to: ${filePathOrNote}
|
|
6107
6149
|
${FULL_OUTPUT_DIGEST_LABEL}${fullDigest}
|
|
6150
|
+
Total characters: ${content.length}; total lines: ${countLines(content)}.
|
|
6108
6151
|
Note: this file may be cleaned up after 24 hours.
|
|
6109
|
-
|
|
6152
|
+
${pagingHint(!content.includes("\n"))}
|
|
6110
6153
|
|
|
6111
6154
|
Preview (up to ${PREVIEW_SIZE_CHARS} chars):
|
|
6112
6155
|
${preview}
|
|
@@ -6114,6 +6157,7 @@ ${preview}
|
|
|
6114
6157
|
}
|
|
6115
6158
|
return `Output too large (${sizeKb} KB). ${filePathOrNote}
|
|
6116
6159
|
${FULL_OUTPUT_DIGEST_LABEL}${fullDigest}
|
|
6160
|
+
Total characters: ${content.length}; total lines: ${countLines(content)}.
|
|
6117
6161
|
|
|
6118
6162
|
Preview (up to ${PREVIEW_SIZE_CHARS} chars):
|
|
6119
6163
|
${preview}`;
|
|
@@ -6529,6 +6573,10 @@ var DiscoveredMCPToolInvocation = class _DiscoveredMCPToolInvocation extends Bas
|
|
|
6529
6573
|
}
|
|
6530
6574
|
static MAX_RECONNECT_RETRIES = 3;
|
|
6531
6575
|
static UNSAFE_REPLAY_ERROR_MESSAGE = "MCP tool execution may have completed before the connection failed. Automatic replay was skipped because the call could not be verified as safe to replay. Do not retry automatically; verify the outcome before trying again.";
|
|
6576
|
+
/** Where this tool really comes from; see {@link ToolInvocation.mcpIdentity}. */
|
|
6577
|
+
get mcpIdentity() {
|
|
6578
|
+
return { serverName: this.serverName, serverToolName: this.serverToolName };
|
|
6579
|
+
}
|
|
6532
6580
|
/**
|
|
6533
6581
|
* MCP tool default permission based on trust:
|
|
6534
6582
|
* - trust: true in a trusted folder → 'allow' (server explicitly trusted by user config)
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
initializeI18n,
|
|
9
9
|
resolveLanguageSetting,
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CDHOAM2E.js";
|
|
12
12
|
import {
|
|
13
13
|
IdeClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SR7O2YDD.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthEvent,
|
|
17
17
|
IdeConnectionEvent,
|
|
18
18
|
logAuth,
|
|
19
19
|
logIdeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MNLPYHDS.js";
|
|
21
21
|
import {
|
|
22
22
|
getErrorMessage
|
|
23
23
|
} from "./chunk-JAQAGKIV.js";
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
require_shell_quote
|
|
5
|
-
} from "./chunk-WZCKDUBO.js";
|
|
6
3
|
import {
|
|
7
4
|
getCurrentAgentId,
|
|
8
5
|
isTopLevelSession,
|
|
9
6
|
spawnBlockReason
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3ONAZUCS.js";
|
|
11
8
|
import {
|
|
12
9
|
getTeammateContext,
|
|
13
10
|
isTeammate
|
|
14
11
|
} from "./chunk-FOZEB37P.js";
|
|
15
12
|
import {
|
|
13
|
+
generateLegacyMcpToolName,
|
|
16
14
|
normalizeMcpToolName,
|
|
17
15
|
sanitizeToolNameForProvider
|
|
18
16
|
} from "./chunk-23AFREUQ.js";
|
|
17
|
+
import {
|
|
18
|
+
require_shell_quote
|
|
19
|
+
} from "./chunk-WZCKDUBO.js";
|
|
19
20
|
import {
|
|
20
21
|
ToolNames
|
|
21
22
|
} from "./chunk-SYMYKLO4.js";
|
|
@@ -2176,12 +2177,19 @@ function parseRule(raw) {
|
|
|
2176
2177
|
};
|
|
2177
2178
|
}
|
|
2178
2179
|
__name(parseRule, "parseRule");
|
|
2179
|
-
function
|
|
2180
|
+
function warnDroppedPermissionRule(raw, kind) {
|
|
2181
|
+
console.warn(
|
|
2182
|
+
`[permissions] ignoring malformed ${kind ? `${kind} ` : ""}rule (unbalanced parentheses): ${raw} \u2014 it matches nothing, so it has no effect. Balance the parentheses to make it apply.`
|
|
2183
|
+
);
|
|
2184
|
+
}
|
|
2185
|
+
__name(warnDroppedPermissionRule, "warnDroppedPermissionRule");
|
|
2186
|
+
function parseRules(raws, kind) {
|
|
2180
2187
|
return raws.filter((r) => r && r.trim()).map(parseRule).map((r) => {
|
|
2181
2188
|
if (r.invalid) {
|
|
2182
2189
|
debugLogger.warn(
|
|
2183
2190
|
`Ignoring malformed rule (unbalanced parentheses): ${r.raw}`
|
|
2184
2191
|
);
|
|
2192
|
+
warnDroppedPermissionRule(r.raw, kind);
|
|
2185
2193
|
}
|
|
2186
2194
|
return r;
|
|
2187
2195
|
});
|
|
@@ -2755,11 +2763,80 @@ function matchesMcpPattern(pattern, toolName) {
|
|
|
2755
2763
|
return false;
|
|
2756
2764
|
}
|
|
2757
2765
|
__name(matchesMcpPattern, "matchesMcpPattern");
|
|
2766
|
+
var McpGrantStrength = {
|
|
2767
|
+
NONE: 0,
|
|
2768
|
+
/** Through a sanitized or historical spelling, which other keys can share. */
|
|
2769
|
+
LOSSY: 1,
|
|
2770
|
+
/** Through the server key exactly as configured. */
|
|
2771
|
+
SERVER: 2,
|
|
2772
|
+
/** The tool's registered or raw full name. */
|
|
2773
|
+
EXACT: 3,
|
|
2774
|
+
/** A prefix that names no server boundary: deliberately broad. */
|
|
2775
|
+
COARSE: 4
|
|
2776
|
+
};
|
|
2777
|
+
function mcpSegmentSpellings(segment) {
|
|
2778
|
+
return [
|
|
2779
|
+
segment,
|
|
2780
|
+
segment.replace(/[^A-Za-z0-9_.-]/g, "_"),
|
|
2781
|
+
segment.replace(/[^A-Za-z0-9_-]/g, "_")
|
|
2782
|
+
];
|
|
2783
|
+
}
|
|
2784
|
+
__name(mcpSegmentSpellings, "mcpSegmentSpellings");
|
|
2785
|
+
function mcpGrantStrength(pattern, registeredName, identity) {
|
|
2786
|
+
const { serverName, serverToolName } = identity;
|
|
2787
|
+
const rawName = `mcp__${serverName}__${serverToolName}`;
|
|
2788
|
+
const serverSpellings = mcpSegmentSpellings(serverName);
|
|
2789
|
+
if (!pattern.endsWith("*")) {
|
|
2790
|
+
if (pattern === registeredName || pattern === rawName) {
|
|
2791
|
+
return McpGrantStrength.EXACT;
|
|
2792
|
+
}
|
|
2793
|
+
if (pattern === `mcp__${serverName}`) {
|
|
2794
|
+
return McpGrantStrength.SERVER;
|
|
2795
|
+
}
|
|
2796
|
+
return pattern === generateLegacyMcpToolName(rawName) || serverSpellings.some((server) => pattern === `mcp__${server}`) ? McpGrantStrength.LOSSY : McpGrantStrength.NONE;
|
|
2797
|
+
}
|
|
2798
|
+
const prefix = pattern.slice(0, -1);
|
|
2799
|
+
if (!prefix.startsWith("mcp__")) {
|
|
2800
|
+
return prefix !== "" && "mcp__".startsWith(prefix) ? McpGrantStrength.COARSE : McpGrantStrength.NONE;
|
|
2801
|
+
}
|
|
2802
|
+
const body = prefix.slice("mcp__".length);
|
|
2803
|
+
if (!body.includes("__")) {
|
|
2804
|
+
return serverSpellings.some((server) => `${server}__`.startsWith(body)) ? McpGrantStrength.COARSE : McpGrantStrength.NONE;
|
|
2805
|
+
}
|
|
2806
|
+
const registeredBoundary = `mcp__${serverSpellings[2]}__`;
|
|
2807
|
+
const toolSpellings = [
|
|
2808
|
+
...mcpSegmentSpellings(serverToolName),
|
|
2809
|
+
// Keeps a prefix that reaches into a hash or truncation suffix.
|
|
2810
|
+
...registeredName.startsWith(registeredBoundary) ? [registeredName.slice(registeredBoundary.length)] : []
|
|
2811
|
+
];
|
|
2812
|
+
let strength = McpGrantStrength.NONE;
|
|
2813
|
+
serverSpellings.forEach((server, index) => {
|
|
2814
|
+
const boundary = `${server}__`;
|
|
2815
|
+
if (!body.startsWith(boundary)) return;
|
|
2816
|
+
const toolPrefix = body.slice(boundary.length);
|
|
2817
|
+
if (toolSpellings.some((spelling) => spelling.startsWith(toolPrefix))) {
|
|
2818
|
+
strength = Math.max(
|
|
2819
|
+
strength,
|
|
2820
|
+
index === 0 ? McpGrantStrength.SERVER : McpGrantStrength.LOSSY
|
|
2821
|
+
);
|
|
2822
|
+
}
|
|
2823
|
+
});
|
|
2824
|
+
return strength;
|
|
2825
|
+
}
|
|
2826
|
+
__name(mcpGrantStrength, "mcpGrantStrength");
|
|
2827
|
+
function isMcpGrantContested(pattern, registeredName, identity, registeredTools) {
|
|
2828
|
+
const own = mcpGrantStrength(pattern, registeredName, identity);
|
|
2829
|
+
if (own === McpGrantStrength.COARSE) return false;
|
|
2830
|
+
return registeredTools.some(
|
|
2831
|
+
(other) => other.serverName !== identity.serverName && mcpGrantStrength(pattern, other.name, other) >= own
|
|
2832
|
+
);
|
|
2833
|
+
}
|
|
2834
|
+
__name(isMcpGrantContested, "isMcpGrantContested");
|
|
2758
2835
|
function matchesToolPattern(pattern, toolName) {
|
|
2759
2836
|
return toolName.startsWith("mcp__") ? matchesMcpPattern(pattern, toolName) : pattern === toolName;
|
|
2760
2837
|
}
|
|
2761
2838
|
__name(matchesToolPattern, "matchesToolPattern");
|
|
2762
|
-
function matchesRule(rule, toolName, command, filePath, domain, pathContext, specifier, toolParams, toolAliases, pathMatchMode = "lexical") {
|
|
2839
|
+
function matchesRule(rule, toolName, command, filePath, domain, pathContext, specifier, toolParams, toolAliases, pathMatchMode = "lexical", mcp) {
|
|
2763
2840
|
const canonicalCtxToolName = resolveToolName(toolName);
|
|
2764
2841
|
if (rule.invalid) {
|
|
2765
2842
|
return false;
|
|
@@ -2768,7 +2845,8 @@ function matchesRule(rule, toolName, command, filePath, domain, pathContext, spe
|
|
|
2768
2845
|
const matchesLegacyExactName = !rule.toolName.endsWith("*") && rule.toolName.split("__").length >= 3 && (toolAliases ?? []).some(
|
|
2769
2846
|
(alias) => rule.toolName === resolveToolName(alias)
|
|
2770
2847
|
);
|
|
2771
|
-
const
|
|
2848
|
+
const matchesIdentity = mcp !== void 0 && mcpGrantStrength(rule.toolName, canonicalCtxToolName, mcp.identity) !== McpGrantStrength.NONE;
|
|
2849
|
+
const matchesMcpName = mcp?.grant ? matchesIdentity : matchesMcpPattern(rule.toolName, canonicalCtxToolName) || matchesLegacyExactName || matchesIdentity;
|
|
2772
2850
|
if (!matchesMcpName) {
|
|
2773
2851
|
return false;
|
|
2774
2852
|
}
|
|
@@ -3052,12 +3130,14 @@ export {
|
|
|
3052
3130
|
getToolNameAliases,
|
|
3053
3131
|
toolMatchesRuleToolName,
|
|
3054
3132
|
parseRule,
|
|
3133
|
+
warnDroppedPermissionRule,
|
|
3055
3134
|
parseRules,
|
|
3056
3135
|
getRuleDisplayName,
|
|
3057
3136
|
buildPermissionRules,
|
|
3058
3137
|
buildHumanReadableRuleLabel,
|
|
3059
3138
|
splitCompoundCommandSegments,
|
|
3060
3139
|
splitCompoundCommand,
|
|
3140
|
+
isMcpGrantContested,
|
|
3061
3141
|
matchesToolPattern,
|
|
3062
3142
|
matchesRule,
|
|
3063
3143
|
SUBAGENT_PLAN_LIFECYCLE_TOOLS,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
isTranscribableVoiceModel,
|
|
6
6
|
readVoiceLanguage,
|
|
7
7
|
resolveVoiceTransport
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OKSSY3ER.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePath
|
|
11
11
|
} from "./chunk-TESN7CJW.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveSavedModelApiKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EE265U33.js";
|
|
15
15
|
import {
|
|
16
16
|
createDebugLogger
|
|
17
17
|
} from "./chunk-UK2KIU2V.js";
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
} from "./chunk-PJF3WRYZ.js";
|
|
7
7
|
import {
|
|
8
8
|
t
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CDHOAM2E.js";
|
|
10
10
|
import {
|
|
11
11
|
isCompressionFailureStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SR7O2YDD.js";
|
|
13
13
|
import {
|
|
14
14
|
skillRestrictionNames
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DV2KGLEW.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchGitDiff
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WKUCYQM7.js";
|
|
19
19
|
import {
|
|
20
20
|
findProviderByCredentials,
|
|
21
21
|
resolveMetadataKey
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EE265U33.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esbuild_shims
|
|
25
25
|
} from "./chunk-S2467S6L.js";
|
|
@@ -269,6 +269,14 @@ function classifyRetryError(error, context = {}) {
|
|
|
269
269
|
...common
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
+
if (providerCode === void 0 && providerFields.providerType === void 0 && details.providerType === void 0 && (providerMessage === void 0 || EMPTY_BODY_MESSAGE_RE.test(providerMessage)) && isEmptyBodyError(error)) {
|
|
273
|
+
return {
|
|
274
|
+
kind,
|
|
275
|
+
diagnosis: "retryable",
|
|
276
|
+
reason: "empty-body-4xx",
|
|
277
|
+
...common
|
|
278
|
+
};
|
|
279
|
+
}
|
|
272
280
|
return {
|
|
273
281
|
kind,
|
|
274
282
|
diagnosis: "fail-fast",
|
|
@@ -365,6 +373,20 @@ function hasNetworkFailureCause(error) {
|
|
|
365
373
|
return false;
|
|
366
374
|
}
|
|
367
375
|
__name(hasNetworkFailureCause, "hasNetworkFailureCause");
|
|
376
|
+
var EMPTY_BODY_MESSAGE_RE = /status code \(no body\)/i;
|
|
377
|
+
function isEmptyBodyError(error) {
|
|
378
|
+
let current = error;
|
|
379
|
+
for (let depth = 0; depth <= MAX_TRANSPORT_CAUSE_DEPTH; depth++) {
|
|
380
|
+
if (typeof current !== "object" || current === null) return false;
|
|
381
|
+
const message = current.message;
|
|
382
|
+
if (typeof message === "string" && EMPTY_BODY_MESSAGE_RE.test(message)) {
|
|
383
|
+
return true;
|
|
384
|
+
}
|
|
385
|
+
current = current instanceof Error ? current.cause : void 0;
|
|
386
|
+
}
|
|
387
|
+
return false;
|
|
388
|
+
}
|
|
389
|
+
__name(isEmptyBodyError, "isEmptyBodyError");
|
|
368
390
|
var TRANSPORT_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
369
391
|
"EAI_AGAIN",
|
|
370
392
|
"ECONNABORTED",
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
} from "./chunk-QYJB4I22.js";
|
|
7
7
|
import {
|
|
8
8
|
DASHSCOPE_REGIONAL_HOSTS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KRTC55S6.js";
|
|
10
10
|
import {
|
|
11
11
|
BaseDeclarativeTool,
|
|
12
12
|
BaseToolInvocation
|
|
13
13
|
} from "./chunk-JOFGX5ZA.js";
|
|
14
14
|
import {
|
|
15
15
|
buildOutboundFetch
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HRBXDIBC.js";
|
|
17
17
|
import {
|
|
18
18
|
delay
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NWZDA6PN.js";
|
|
20
20
|
import {
|
|
21
21
|
ToolDisplayNames,
|
|
22
22
|
ToolNames
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
findProviderByCredentials,
|
|
31
31
|
resolveModelApiKey,
|
|
32
32
|
resolveRequestTimeout
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-EE265U33.js";
|
|
34
34
|
import {
|
|
35
35
|
getDefaultApiKeyEnvVar
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-W7OUXB6F.js";
|
|
37
37
|
import {
|
|
38
38
|
buildRuntimeFetchOptions,
|
|
39
39
|
preloadRuntimeFetchModule
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
appEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3IRUUZTV.js";
|
|
6
6
|
import {
|
|
7
7
|
loadUndici
|
|
8
8
|
} from "./chunk-AZMVJ5C3.js";
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
CUSTOM_SANDBOX_IMAGE_ENV_VAR,
|
|
11
11
|
HOST_UPDATE_RELAUNCH_ENV_VAR,
|
|
12
12
|
SKIP_UPDATE_CHECK_ENV_VAR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z4HXY45F.js";
|
|
14
14
|
import {
|
|
15
15
|
IdeClient
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SR7O2YDD.js";
|
|
17
17
|
import {
|
|
18
18
|
initializeTelemetry
|
|
19
19
|
} from "./chunk-EB4VOVOS.js";
|
|
20
20
|
import {
|
|
21
21
|
getAllProviderBaseUrls
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EE265U33.js";
|
|
23
23
|
import {
|
|
24
24
|
recordStartupEvent
|
|
25
25
|
} from "./chunk-YQLAMZOT.js";
|
|
@@ -233,9 +233,9 @@ function startPostRenderPrefetches(config, settings, options = {}) {
|
|
|
233
233
|
{ updateEventEmitter },
|
|
234
234
|
{ t }
|
|
235
235
|
] = await Promise.all([
|
|
236
|
-
import("./updateCheck-
|
|
236
|
+
import("./updateCheck-FJQDYAG6.js"),
|
|
237
237
|
import("./updateEventEmitter-7FFRBWJB.js"),
|
|
238
|
-
import("./i18n-
|
|
238
|
+
import("./i18n-6BLWGPIF.js")
|
|
239
239
|
]);
|
|
240
240
|
const updateCheckSkippedMessage = /* @__PURE__ */ __name((error) => t("Update check skipped ({{reason}}) \u2014 run /update to retry.", {
|
|
241
241
|
reason: describeUpdateCheckFailure(error)
|
|
@@ -288,7 +288,7 @@ ${t(
|
|
|
288
288
|
state: "connecting"
|
|
289
289
|
});
|
|
290
290
|
try {
|
|
291
|
-
const { connectIdeForStartup } = await import("./initializer-
|
|
291
|
+
const { connectIdeForStartup } = await import("./initializer-3NT4PSG5.js");
|
|
292
292
|
await withTimeout(
|
|
293
293
|
connectIdeForStartup(config),
|
|
294
294
|
"ide_connect",
|
|
@@ -312,7 +312,7 @@ ${t(
|
|
|
312
312
|
}
|
|
313
313
|
if (config.isInteractive()) {
|
|
314
314
|
runDeferredTask("background_housekeeping", async () => {
|
|
315
|
-
const { startBackgroundHousekeeping } = await import("./scheduler-
|
|
315
|
+
const { startBackgroundHousekeeping } = await import("./scheduler-EPXMQ35M.js");
|
|
316
316
|
startBackgroundHousekeeping(config, settings);
|
|
317
317
|
});
|
|
318
318
|
}
|