@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
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
TUI_CHAT_RECORDING_FAILURE_MESSAGE,
|
|
8
8
|
reportChatRecordingFailureToAdapter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N5XZKWJE.js";
|
|
10
10
|
import {
|
|
11
11
|
StreamJsonOutputAdapter
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PVJDGMEJ.js";
|
|
13
13
|
import {
|
|
14
14
|
startPostRenderPrefetches
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OILOGMTY.js";
|
|
16
16
|
import {
|
|
17
17
|
AboutBox,
|
|
18
18
|
BaseSelectionList,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
useUIActions,
|
|
116
116
|
useUIState,
|
|
117
117
|
useVirtualViewport
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-IKGD36IH.js";
|
|
119
119
|
import {
|
|
120
120
|
CATEGORY_LABELS,
|
|
121
121
|
ICON,
|
|
@@ -137,25 +137,25 @@ import {
|
|
|
137
137
|
showsToolLabel,
|
|
138
138
|
useStreamingContext,
|
|
139
139
|
waitForGoalRuntime
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-YAUL5ZQW.js";
|
|
141
141
|
import {
|
|
142
142
|
stopAndGetCapturedInput
|
|
143
143
|
} from "./chunk-VFLUNXD6.js";
|
|
144
144
|
import {
|
|
145
145
|
useAutoAcceptIndicator
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-OR4LJOK3.js";
|
|
147
147
|
import {
|
|
148
148
|
KeypressProvider,
|
|
149
149
|
useFocus,
|
|
150
150
|
useKeypress,
|
|
151
151
|
useKeypressContext
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-2J7VJ3WC.js";
|
|
153
153
|
import {
|
|
154
154
|
MAX_ACCEPTED_BACKLOG,
|
|
155
155
|
PeerMessaging,
|
|
156
156
|
classifyApiError,
|
|
157
157
|
fireSessionDeleteHook
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-6VT5UW66.js";
|
|
159
159
|
import {
|
|
160
160
|
MAX_SUGGESTIONS_TO_SHOW,
|
|
161
161
|
SESSION_MENTION_PREFIX,
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
normalizeDescription,
|
|
169
169
|
normalizePartList,
|
|
170
170
|
resolveAtCommandQuery
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-5DFZNI3G.js";
|
|
172
172
|
import {
|
|
173
173
|
BuiltinCommandLoader,
|
|
174
174
|
BundledSkillLoader,
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
resolveOutputStyleChoice,
|
|
226
226
|
serializeUserPromptExpansionPrompt,
|
|
227
227
|
supportsMatchers
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-EVYREOIG.js";
|
|
229
229
|
import {
|
|
230
230
|
EXTENSION_RELOAD_FAILED_REASON,
|
|
231
231
|
ExtensionRefreshState,
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
cleanupReviewWorktreeLeases,
|
|
234
234
|
loadHierarchicalMemory,
|
|
235
235
|
openRemoteSession
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-3IRUUZTV.js";
|
|
237
237
|
import {
|
|
238
238
|
BRAND,
|
|
239
239
|
MAX_EXTENSION_OWNER_LABEL_WIDTH,
|
|
@@ -243,14 +243,14 @@ import {
|
|
|
243
243
|
getEffectiveSupportedModes,
|
|
244
244
|
repoDocUrl,
|
|
245
245
|
skillOriginLabel
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-NRDEPGVR.js";
|
|
247
247
|
import {
|
|
248
248
|
contextUsageLabel,
|
|
249
249
|
formatDuration,
|
|
250
250
|
formatPercentageUsed,
|
|
251
251
|
formatRelativeTime,
|
|
252
252
|
formatTokenCount
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-VM3UK3TM.js";
|
|
254
254
|
import {
|
|
255
255
|
disableKittyProtocol,
|
|
256
256
|
isKittyProtocolEnabled,
|
|
@@ -269,10 +269,10 @@ import {
|
|
|
269
269
|
oscKittyNotify,
|
|
270
270
|
saveClipboardImage,
|
|
271
271
|
writeOsc52
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-PMKHXJAS.js";
|
|
273
273
|
import {
|
|
274
274
|
sanitizeDisplayText
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-LYWFQGEQ.js";
|
|
276
276
|
import "./chunk-AHKE26WU.js";
|
|
277
277
|
import "./chunk-UMIHM32I.js";
|
|
278
278
|
import {
|
|
@@ -309,15 +309,15 @@ import {
|
|
|
309
309
|
import {
|
|
310
310
|
require_react
|
|
311
311
|
} from "./chunk-2KK65OQ6.js";
|
|
312
|
-
import "./chunk-
|
|
312
|
+
import "./chunk-KP6VAFGI.js";
|
|
313
313
|
import {
|
|
314
314
|
handleAutoUpdate,
|
|
315
315
|
setUpdateHandler
|
|
316
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-3Q4HEGB4.js";
|
|
317
317
|
import {
|
|
318
318
|
isHistoryItemVisibleAfterRestore
|
|
319
319
|
} from "./chunk-64WBFX5X.js";
|
|
320
|
-
import "./chunk-
|
|
320
|
+
import "./chunk-LBX7KU43.js";
|
|
321
321
|
import "./chunk-AZMVJ5C3.js";
|
|
322
322
|
import {
|
|
323
323
|
updateEventEmitter
|
|
@@ -328,31 +328,31 @@ import {
|
|
|
328
328
|
collectInlineImages,
|
|
329
329
|
getInlineImageData
|
|
330
330
|
} from "./chunk-KIN34HCU.js";
|
|
331
|
-
import "./chunk-
|
|
331
|
+
import "./chunk-MNLVE24R.js";
|
|
332
332
|
import {
|
|
333
333
|
requestConsentInteractive,
|
|
334
334
|
requestConsentOrFail
|
|
335
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-6A3PCAAJ.js";
|
|
336
336
|
import "./chunk-XZ3MQL2U.js";
|
|
337
337
|
import {
|
|
338
338
|
getErrorMessage as getErrorMessage2
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-OSCUGEQY.js";
|
|
340
340
|
import {
|
|
341
341
|
relaunchApp,
|
|
342
342
|
relaunchForUpdate
|
|
343
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-Z4HXY45F.js";
|
|
344
344
|
import "./chunk-XG36NMOI.js";
|
|
345
|
-
import "./chunk-
|
|
346
|
-
import "./chunk-
|
|
347
|
-
import "./chunk-
|
|
345
|
+
import "./chunk-53HMO7K2.js";
|
|
346
|
+
import "./chunk-H65DRJN2.js";
|
|
347
|
+
import "./chunk-WXIXWH7M.js";
|
|
348
348
|
import "./chunk-LXUIOY3M.js";
|
|
349
349
|
import {
|
|
350
350
|
openDashScopeAsrRealtimeStream,
|
|
351
351
|
openVoiceStream,
|
|
352
352
|
openVoiceStreamWithRetry
|
|
353
353
|
} from "./chunk-MTSHGY6F.js";
|
|
354
|
-
import "./chunk-
|
|
355
|
-
import "./chunk-
|
|
354
|
+
import "./chunk-S5TFGSM3.js";
|
|
355
|
+
import "./chunk-4INACGIR.js";
|
|
356
356
|
import {
|
|
357
357
|
cpLen,
|
|
358
358
|
cpSlice,
|
|
@@ -376,41 +376,41 @@ import {
|
|
|
376
376
|
isStreamingVoiceModel,
|
|
377
377
|
resolveVoiceStreamConfig,
|
|
378
378
|
transcribeVoiceAudio
|
|
379
|
-
} from "./chunk-
|
|
379
|
+
} from "./chunk-N5TOXL3M.js";
|
|
380
380
|
import {
|
|
381
381
|
formatUnsupportedVoiceModelMessage,
|
|
382
382
|
isSelectableVoiceModel
|
|
383
|
-
} from "./chunk-
|
|
383
|
+
} from "./chunk-OKSSY3ER.js";
|
|
384
384
|
import "./chunk-TESN7CJW.js";
|
|
385
385
|
import {
|
|
386
386
|
REASONING_EFFORT_DEFAULT,
|
|
387
387
|
getReasoningEffortsForConfig,
|
|
388
388
|
getReasoningForDisplay
|
|
389
|
-
} from "./chunk-
|
|
389
|
+
} from "./chunk-YCR4JZUC.js";
|
|
390
390
|
import {
|
|
391
391
|
buildHigherDisabled,
|
|
392
392
|
computeWorkspaceSkillListUpdates,
|
|
393
393
|
skillSettingStrings
|
|
394
|
-
} from "./chunk-
|
|
394
|
+
} from "./chunk-X5MCTTTU.js";
|
|
395
395
|
import "./chunk-W2R46PFD.js";
|
|
396
396
|
import {
|
|
397
397
|
createLoadedSettingsAdapter,
|
|
398
398
|
getRawModelProviders
|
|
399
|
-
} from "./chunk-
|
|
399
|
+
} from "./chunk-5QMNIJZ2.js";
|
|
400
400
|
import {
|
|
401
401
|
getExtendedSystemInfo
|
|
402
|
-
} from "./chunk-
|
|
403
|
-
import "./chunk-
|
|
402
|
+
} from "./chunk-PXOBO32R.js";
|
|
403
|
+
import "./chunk-7XELAF5M.js";
|
|
404
404
|
import "./chunk-QTAUA6ED.js";
|
|
405
405
|
import "./chunk-LPCPB2S5.js";
|
|
406
406
|
import "./chunk-LD2T7YET.js";
|
|
407
407
|
import "./chunk-O7MSLRFZ.js";
|
|
408
408
|
import "./chunk-W3YES77O.js";
|
|
409
|
-
import "./chunk-
|
|
410
|
-
import "./chunk-
|
|
409
|
+
import "./chunk-PYQSQFGU.js";
|
|
410
|
+
import "./chunk-7UDEBIOM.js";
|
|
411
411
|
import {
|
|
412
412
|
isInlineModelOverrideAllowed
|
|
413
|
-
} from "./chunk-
|
|
413
|
+
} from "./chunk-K7C5JCE7.js";
|
|
414
414
|
import {
|
|
415
415
|
formatUpdateInstructions,
|
|
416
416
|
getInstallationInfo
|
|
@@ -437,7 +437,7 @@ import {
|
|
|
437
437
|
} from "./chunk-7HN3RHKV.js";
|
|
438
438
|
import {
|
|
439
439
|
loadMcpApprovals
|
|
440
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-5N5IZTS4.js";
|
|
441
441
|
import {
|
|
442
442
|
CORRUPTED_SUFFIX,
|
|
443
443
|
SettingScope,
|
|
@@ -460,7 +460,7 @@ import {
|
|
|
460
460
|
settingExistsInScope,
|
|
461
461
|
validateSettingValue,
|
|
462
462
|
writeOutputLanguageAndRegisterPath
|
|
463
|
-
} from "./chunk-
|
|
463
|
+
} from "./chunk-DQGAJLPJ.js";
|
|
464
464
|
import {
|
|
465
465
|
LOGO_ANIMATIONS,
|
|
466
466
|
LOGO_FRAME_MS,
|
|
@@ -470,7 +470,7 @@ import {
|
|
|
470
470
|
pickLogoAnimation,
|
|
471
471
|
renderLogoRows,
|
|
472
472
|
restFrame
|
|
473
|
-
} from "./chunk-
|
|
473
|
+
} from "./chunk-2GK6MYTP.js";
|
|
474
474
|
import "./chunk-EDRKBK4B.js";
|
|
475
475
|
import "./chunk-2JJLDP4A.js";
|
|
476
476
|
import {
|
|
@@ -478,26 +478,25 @@ import {
|
|
|
478
478
|
localizeToolDisplayName,
|
|
479
479
|
t,
|
|
480
480
|
ta
|
|
481
|
-
} from "./chunk-
|
|
481
|
+
} from "./chunk-CDHOAM2E.js";
|
|
482
482
|
import "./chunk-Q2V34OV7.js";
|
|
483
|
-
import "./chunk-
|
|
483
|
+
import "./chunk-DKBLEAGB.js";
|
|
484
484
|
import "./chunk-Z4T563RX.js";
|
|
485
485
|
import {
|
|
486
486
|
formatVersionLabel,
|
|
487
487
|
getCliVersion
|
|
488
|
-
} from "./chunk-
|
|
488
|
+
} from "./chunk-RM54W4ER.js";
|
|
489
489
|
import "./chunk-Y75AMWDB.js";
|
|
490
|
-
import "./chunk-FRITN2AG.js";
|
|
491
|
-
import "./chunk-F4S6U26O.js";
|
|
492
490
|
import {
|
|
493
491
|
isWorkspaceTrusted,
|
|
494
492
|
loadTrustedFolders
|
|
495
|
-
} from "./chunk-
|
|
493
|
+
} from "./chunk-PQGBLD36.js";
|
|
496
494
|
import "./chunk-BHXBXELA.js";
|
|
497
495
|
import "./chunk-MXCWSDSC.js";
|
|
498
496
|
import {
|
|
499
497
|
require_strip_json_comments
|
|
500
|
-
} from "./chunk-
|
|
498
|
+
} from "./chunk-RSFKGHXZ.js";
|
|
499
|
+
import "./chunk-F4S6U26O.js";
|
|
501
500
|
import {
|
|
502
501
|
AsyncFzf,
|
|
503
502
|
AutonomousLoopTickResolver,
|
|
@@ -538,22 +537,22 @@ import {
|
|
|
538
537
|
subagentGenerator,
|
|
539
538
|
supportsHyperlinks,
|
|
540
539
|
wrapForMultiplexer
|
|
541
|
-
} from "./chunk-
|
|
540
|
+
} from "./chunk-5P7NQWE6.js";
|
|
542
541
|
import "./chunk-MYMATZAY.js";
|
|
543
542
|
import "./chunk-6IFQXZTP.js";
|
|
544
543
|
import "./chunk-CJ7JDQEG.js";
|
|
545
544
|
import "./chunk-CS4CELQI.js";
|
|
546
545
|
import "./chunk-FMWE3YMM.js";
|
|
547
|
-
import "./chunk-
|
|
548
|
-
import "./chunk-
|
|
546
|
+
import "./chunk-VLTW32Z7.js";
|
|
547
|
+
import "./chunk-ESGMIMHJ.js";
|
|
549
548
|
import "./chunk-Z563JBRI.js";
|
|
550
549
|
import {
|
|
551
550
|
clearWorktreeSession,
|
|
552
551
|
isSessionRuntimeActive,
|
|
553
552
|
readWorktreeSession,
|
|
554
553
|
restoreWorktreeContext
|
|
555
|
-
} from "./chunk-
|
|
556
|
-
import "./chunk-
|
|
554
|
+
} from "./chunk-HJYSTI5W.js";
|
|
555
|
+
import "./chunk-JPCQCUTS.js";
|
|
557
556
|
import "./chunk-4JDEAIW5.js";
|
|
558
557
|
import {
|
|
559
558
|
PEER_ADMISSION_LIMITS,
|
|
@@ -561,9 +560,9 @@ import {
|
|
|
561
560
|
describeDropReason,
|
|
562
561
|
describeHoldCause,
|
|
563
562
|
parseHeldExpiry
|
|
564
|
-
} from "./chunk-
|
|
565
|
-
import "./chunk-
|
|
566
|
-
import "./chunk-
|
|
563
|
+
} from "./chunk-5PE7PZL7.js";
|
|
564
|
+
import "./chunk-OHPK6LGA.js";
|
|
565
|
+
import "./chunk-42N5UTUK.js";
|
|
567
566
|
import "./chunk-NWCDFCWK.js";
|
|
568
567
|
import "./chunk-ZMZRVR62.js";
|
|
569
568
|
import "./chunk-A7JWEUTB.js";
|
|
@@ -572,21 +571,21 @@ import {
|
|
|
572
571
|
isToolHiddenBehindToolSearch,
|
|
573
572
|
resolveWorkflowAuthoringSurface,
|
|
574
573
|
toolSearchBridgeSentence
|
|
575
|
-
} from "./chunk-
|
|
576
|
-
import "./chunk-
|
|
577
|
-
import "./chunk-
|
|
578
|
-
import "./chunk-
|
|
574
|
+
} from "./chunk-KSO7FXQU.js";
|
|
575
|
+
import "./chunk-VQURYS66.js";
|
|
576
|
+
import "./chunk-6VHB4YQZ.js";
|
|
577
|
+
import "./chunk-6LRWLIIP.js";
|
|
579
578
|
import "./chunk-F3FKDGHN.js";
|
|
580
|
-
import "./chunk-
|
|
579
|
+
import "./chunk-ZX7J6RLA.js";
|
|
581
580
|
import "./chunk-UBWL27PO.js";
|
|
582
581
|
import "./chunk-UW4Q5E5P.js";
|
|
583
582
|
import "./chunk-DM6W2QYB.js";
|
|
584
583
|
import "./chunk-UAACCQBD.js";
|
|
585
584
|
import "./chunk-VEGSKFFR.js";
|
|
586
|
-
import "./chunk-
|
|
585
|
+
import "./chunk-AXXXWTIX.js";
|
|
587
586
|
import {
|
|
588
587
|
checkProviderKey
|
|
589
|
-
} from "./chunk-
|
|
588
|
+
} from "./chunk-2EQYAHKO.js";
|
|
590
589
|
import "./chunk-2QYMJSSC.js";
|
|
591
590
|
import {
|
|
592
591
|
ConditionalRulesRegistry,
|
|
@@ -649,13 +648,13 @@ import {
|
|
|
649
648
|
saveWorkflowScript,
|
|
650
649
|
updateSetting,
|
|
651
650
|
validateWorkflowName
|
|
652
|
-
} from "./chunk-
|
|
651
|
+
} from "./chunk-SR7O2YDD.js";
|
|
653
652
|
import "./chunk-WXTAP6NR.js";
|
|
654
653
|
import "./chunk-BZOAEOYF.js";
|
|
655
654
|
import "./chunk-BIDB75DA.js";
|
|
656
655
|
import "./chunk-GYGA6V6B.js";
|
|
657
656
|
import "./chunk-EYWIFUPJ.js";
|
|
658
|
-
import "./chunk-
|
|
657
|
+
import "./chunk-5LIDCGQZ.js";
|
|
659
658
|
import "./chunk-THO5UG52.js";
|
|
660
659
|
import {
|
|
661
660
|
parseCron
|
|
@@ -665,14 +664,14 @@ import {
|
|
|
665
664
|
readCronTasks,
|
|
666
665
|
taskHasLegacyCondition
|
|
667
666
|
} from "./chunk-EP7GGUVV.js";
|
|
668
|
-
import "./chunk-
|
|
667
|
+
import "./chunk-4WIYGAME.js";
|
|
669
668
|
import {
|
|
670
669
|
GOAL_PAUSE_REASON_USER_INTERRUPT,
|
|
671
670
|
elapsedActiveTime,
|
|
672
671
|
goalPauseReasonForFailure,
|
|
673
672
|
goalRequiresExactPermit
|
|
674
|
-
} from "./chunk-
|
|
675
|
-
import "./chunk-
|
|
673
|
+
} from "./chunk-DV2KGLEW.js";
|
|
674
|
+
import "./chunk-A5ZAKF2B.js";
|
|
676
675
|
import {
|
|
677
676
|
GitWorktreeService,
|
|
678
677
|
fetchGitDiff,
|
|
@@ -682,7 +681,7 @@ import {
|
|
|
682
681
|
resolveBranchName,
|
|
683
682
|
watchRepoBranch,
|
|
684
683
|
writeRuntimeStatus
|
|
685
|
-
} from "./chunk-
|
|
684
|
+
} from "./chunk-WKUCYQM7.js";
|
|
686
685
|
import "./chunk-DJOP5LOE.js";
|
|
687
686
|
import {
|
|
688
687
|
openBrowserSecurely,
|
|
@@ -691,8 +690,9 @@ import {
|
|
|
691
690
|
import {
|
|
692
691
|
flattenPeerLabel,
|
|
693
692
|
registerSession
|
|
694
|
-
} from "./chunk-
|
|
695
|
-
import "./chunk-
|
|
693
|
+
} from "./chunk-ZSYQ3RBP.js";
|
|
694
|
+
import "./chunk-D6APUHI5.js";
|
|
695
|
+
import "./chunk-UMHRQJOE.js";
|
|
696
696
|
import {
|
|
697
697
|
resolveModelId
|
|
698
698
|
} from "./chunk-QYJB4I22.js";
|
|
@@ -700,23 +700,20 @@ import {
|
|
|
700
700
|
glob
|
|
701
701
|
} from "./chunk-4ESI3MQ5.js";
|
|
702
702
|
import "./chunk-SYMKXR42.js";
|
|
703
|
-
import "./chunk-
|
|
703
|
+
import "./chunk-UAIMOPVZ.js";
|
|
704
704
|
import "./chunk-CDYMT4OZ.js";
|
|
705
705
|
import "./chunk-TC7UXK4M.js";
|
|
706
706
|
import "./chunk-DS3COGEF.js";
|
|
707
707
|
import {
|
|
708
708
|
ShellExecutionService,
|
|
709
709
|
isSignalTermination
|
|
710
|
-
} from "./chunk-
|
|
710
|
+
} from "./chunk-IUMWWTUV.js";
|
|
711
711
|
import {
|
|
712
712
|
stripAnsi
|
|
713
713
|
} from "./chunk-WU3R2YUE.js";
|
|
714
714
|
import {
|
|
715
715
|
formatMemoryUsage
|
|
716
716
|
} from "./chunk-M7AWQAB7.js";
|
|
717
|
-
import {
|
|
718
|
-
escapeShellArg
|
|
719
|
-
} from "./chunk-SBM747MY.js";
|
|
720
717
|
import {
|
|
721
718
|
resolveBundleDir
|
|
722
719
|
} from "./chunk-Z2IHOXIK.js";
|
|
@@ -724,25 +721,24 @@ import {
|
|
|
724
721
|
promptIdContext
|
|
725
722
|
} from "./chunk-5JTXPGNQ.js";
|
|
726
723
|
import "./chunk-5QSLFAMR.js";
|
|
727
|
-
import "./chunk-
|
|
724
|
+
import "./chunk-K7JOSPO4.js";
|
|
728
725
|
import "./chunk-HPQNI3OQ.js";
|
|
729
|
-
import "./chunk-
|
|
726
|
+
import "./chunk-LHP2IJ7A.js";
|
|
730
727
|
import "./chunk-CI2ZHR5C.js";
|
|
731
|
-
import "./chunk-
|
|
728
|
+
import "./chunk-56HGN3XV.js";
|
|
732
729
|
import "./chunk-4LCUE7BN.js";
|
|
733
730
|
import "./chunk-RIN7SNJN.js";
|
|
734
731
|
import "./chunk-4J6KRUQB.js";
|
|
735
|
-
import "./chunk-
|
|
732
|
+
import "./chunk-QIFODGLE.js";
|
|
736
733
|
import {
|
|
737
734
|
parseRule
|
|
738
|
-
} from "./chunk-
|
|
735
|
+
} from "./chunk-MWYTSG52.js";
|
|
739
736
|
import {
|
|
740
737
|
APPROVAL_MODES
|
|
741
738
|
} from "./chunk-KQAVEXYD.js";
|
|
742
|
-
import "./chunk-WZCKDUBO.js";
|
|
743
739
|
import {
|
|
744
740
|
BUILT_IN_OUTPUT_STYLES
|
|
745
|
-
} from "./chunk-
|
|
741
|
+
} from "./chunk-AEVV2DGL.js";
|
|
746
742
|
import {
|
|
747
743
|
NO_EXEC_CONFIG,
|
|
748
744
|
getGitBranch
|
|
@@ -753,15 +749,15 @@ import "./chunk-ETGSZYWP.js";
|
|
|
753
749
|
import "./chunk-RCZHQZJJ.js";
|
|
754
750
|
import "./chunk-6YS3YH6O.js";
|
|
755
751
|
import "./chunk-AVCUVYSA.js";
|
|
756
|
-
import "./chunk-
|
|
752
|
+
import "./chunk-VBDYNBGQ.js";
|
|
757
753
|
import "./chunk-HX6AICAX.js";
|
|
758
|
-
import "./chunk-
|
|
754
|
+
import "./chunk-KRTC55S6.js";
|
|
759
755
|
import "./chunk-65B6QBMP.js";
|
|
760
756
|
import "./chunk-O4IWNFDK.js";
|
|
761
757
|
import "./chunk-WMJL2XAM.js";
|
|
762
758
|
import {
|
|
763
759
|
runOutsideAgentContext
|
|
764
|
-
} from "./chunk-
|
|
760
|
+
} from "./chunk-3ONAZUCS.js";
|
|
765
761
|
import "./chunk-FOZEB37P.js";
|
|
766
762
|
import {
|
|
767
763
|
ApiCancelEvent,
|
|
@@ -801,7 +797,7 @@ import {
|
|
|
801
797
|
runVisionBridge,
|
|
802
798
|
shouldRunVisionBridge,
|
|
803
799
|
splitImageParts
|
|
804
|
-
} from "./chunk-
|
|
800
|
+
} from "./chunk-MNLPYHDS.js";
|
|
805
801
|
import "./chunk-242JUBPM.js";
|
|
806
802
|
import {
|
|
807
803
|
AUTO_MEMORY_INDEX_FILENAME,
|
|
@@ -831,8 +827,12 @@ import "./chunk-23AFREUQ.js";
|
|
|
831
827
|
import "./chunk-IMLPJ76O.js";
|
|
832
828
|
import {
|
|
833
829
|
getStartupContextLength
|
|
834
|
-
} from "./chunk-
|
|
830
|
+
} from "./chunk-26G2BFFM.js";
|
|
835
831
|
import "./chunk-GVJCUUWW.js";
|
|
832
|
+
import {
|
|
833
|
+
escapeShellArg
|
|
834
|
+
} from "./chunk-X4LDF6O3.js";
|
|
835
|
+
import "./chunk-WZCKDUBO.js";
|
|
836
836
|
import "./chunk-JSFADKTB.js";
|
|
837
837
|
import "./chunk-OHAUN3Q5.js";
|
|
838
838
|
import {
|
|
@@ -844,21 +844,21 @@ import {
|
|
|
844
844
|
import {
|
|
845
845
|
isShellProgressData
|
|
846
846
|
} from "./chunk-JOFGX5ZA.js";
|
|
847
|
-
import "./chunk-NO2WYQWE.js";
|
|
848
847
|
import "./chunk-V44Y3PCO.js";
|
|
848
|
+
import "./chunk-NO2WYQWE.js";
|
|
849
849
|
import "./chunk-BQAZCJF7.js";
|
|
850
|
-
import "./chunk-
|
|
850
|
+
import "./chunk-HRBXDIBC.js";
|
|
851
851
|
import "./chunk-CP63SY5N.js";
|
|
852
852
|
import "./chunk-WDBSTICZ.js";
|
|
853
853
|
import {
|
|
854
854
|
resolveReasoningForModel
|
|
855
|
-
} from "./chunk-
|
|
855
|
+
} from "./chunk-4UZ3FFYZ.js";
|
|
856
856
|
import {
|
|
857
857
|
fetchKeyInfo,
|
|
858
858
|
onLowRateLimit
|
|
859
|
-
} from "./chunk-
|
|
859
|
+
} from "./chunk-WQU5EWE3.js";
|
|
860
860
|
import "./chunk-EYKEQPKF.js";
|
|
861
|
-
import "./chunk-
|
|
861
|
+
import "./chunk-NWZDA6PN.js";
|
|
862
862
|
import "./chunk-HAZNBQPI.js";
|
|
863
863
|
import {
|
|
864
864
|
ToolDisplayNames,
|
|
@@ -896,14 +896,14 @@ import {
|
|
|
896
896
|
resolveSavedModelApiKey,
|
|
897
897
|
shouldShowStep,
|
|
898
898
|
withdrawExportedCredential
|
|
899
|
-
} from "./chunk-
|
|
899
|
+
} from "./chunk-EE265U33.js";
|
|
900
900
|
import {
|
|
901
901
|
DEFAULT_TOKEN_LIMIT,
|
|
902
902
|
REASONING_EFFORT_TIERS,
|
|
903
903
|
clampReasoningEffort,
|
|
904
904
|
parseModelReasoningCapabilities,
|
|
905
905
|
reasoningEffortsForCapability
|
|
906
|
-
} from "./chunk-
|
|
906
|
+
} from "./chunk-XFIAS7A6.js";
|
|
907
907
|
import {
|
|
908
908
|
registerGatewayTransferConfirmation,
|
|
909
909
|
switchWithGatewayAccountSelection
|
|
@@ -920,16 +920,16 @@ import {
|
|
|
920
920
|
} from "./chunk-VYRPAY75.js";
|
|
921
921
|
import "./chunk-S7GOFMLU.js";
|
|
922
922
|
import "./chunk-RC67CA5Z.js";
|
|
923
|
-
import "./chunk-
|
|
923
|
+
import "./chunk-WRF5CAXN.js";
|
|
924
924
|
import "./chunk-HHIX6THS.js";
|
|
925
925
|
import {
|
|
926
926
|
DEFAULT_COMMAND_OPTIONS,
|
|
927
927
|
TOP_LEVEL_GLOBAL_OPTIONS
|
|
928
|
-
} from "./chunk-
|
|
928
|
+
} from "./chunk-5ONKDCZM.js";
|
|
929
929
|
import {
|
|
930
930
|
registerCleanup,
|
|
931
931
|
runExitCleanup
|
|
932
|
-
} from "./chunk-
|
|
932
|
+
} from "./chunk-UCSYEHMM.js";
|
|
933
933
|
import {
|
|
934
934
|
finalizeStartupProfile,
|
|
935
935
|
profileCheckpoint
|
|
@@ -960,7 +960,7 @@ import {
|
|
|
960
960
|
} from "./chunk-EPJAMNLS.js";
|
|
961
961
|
import {
|
|
962
962
|
MAINLINE_CODER_MODEL
|
|
963
|
-
} from "./chunk-
|
|
963
|
+
} from "./chunk-W7OUXB6F.js";
|
|
964
964
|
import "./chunk-LEXKU5FI.js";
|
|
965
965
|
import {
|
|
966
966
|
ORGANIZAONE_ENV_KEY,
|
|
@@ -26732,6 +26732,7 @@ var DEFAULT_STATE = {
|
|
|
26732
26732
|
selectedIndex: 0,
|
|
26733
26733
|
dialogMode: "closed",
|
|
26734
26734
|
dialogOpen: false,
|
|
26735
|
+
autoOpened: false,
|
|
26735
26736
|
pillFocused: false,
|
|
26736
26737
|
livePanelFocused: false,
|
|
26737
26738
|
livePanelSelectedIndex: 0
|
|
@@ -26747,6 +26748,7 @@ var DEFAULT_ACTIONS = {
|
|
|
26747
26748
|
enterDetail: noop,
|
|
26748
26749
|
exitDetail: noop,
|
|
26749
26750
|
enterDetailFromPanel: noop,
|
|
26751
|
+
acknowledgeAutoOpen: noop,
|
|
26750
26752
|
cancelSelected: noop,
|
|
26751
26753
|
resumeSelected: /* @__PURE__ */ __name(async () => {
|
|
26752
26754
|
}, "resumeSelected"),
|
|
@@ -26771,6 +26773,7 @@ function BackgroundTaskViewProvider({
|
|
|
26771
26773
|
const { entries } = useBackgroundTaskView(config ?? null);
|
|
26772
26774
|
const [rawSelectedIndex, setRawSelectedIndex] = (0, import_react86.useState)(0);
|
|
26773
26775
|
const [dialogMode, setDialogMode] = (0, import_react86.useState)("closed");
|
|
26776
|
+
const [autoOpened, setAutoOpened] = (0, import_react86.useState)(false);
|
|
26774
26777
|
const [pillFocused, setPillFocused] = (0, import_react86.useState)(false);
|
|
26775
26778
|
const [livePanelFocused, setLivePanelFocusedRaw] = (0, import_react86.useState)(false);
|
|
26776
26779
|
const [livePanelSelectedIndex, setLivePanelSelectedIndex] = (0, import_react86.useState)(0);
|
|
@@ -26787,6 +26790,32 @@ function BackgroundTaskViewProvider({
|
|
|
26787
26790
|
(0, import_react86.useEffect)(() => {
|
|
26788
26791
|
if (livePanelFocused && !hasAgentEntries) setLivePanelFocusedRaw(false);
|
|
26789
26792
|
}, [livePanelFocused, hasAgentEntries]);
|
|
26793
|
+
const surfacedApprovalIdsRef = (0, import_react86.useRef)(/* @__PURE__ */ new Set());
|
|
26794
|
+
const parkedHeadIds = entries.map(
|
|
26795
|
+
(entry) => entry.kind === "workflow" ? entry.pendingApprovals[0]?.approvalId ?? "" : ""
|
|
26796
|
+
).join("|");
|
|
26797
|
+
const closedParkedHeadIdsRef = (0, import_react86.useRef)(null);
|
|
26798
|
+
(0, import_react86.useEffect)(() => {
|
|
26799
|
+
if (dialogMode !== "closed") return;
|
|
26800
|
+
if (closedParkedHeadIdsRef.current !== null) {
|
|
26801
|
+
if (closedParkedHeadIdsRef.current === parkedHeadIds) return;
|
|
26802
|
+
closedParkedHeadIdsRef.current = null;
|
|
26803
|
+
}
|
|
26804
|
+
const index = entries.findIndex(
|
|
26805
|
+
(entry2) => entry2.kind === "workflow" && !!entry2.pendingApprovals[0] && !surfacedApprovalIdsRef.current.has(
|
|
26806
|
+
entry2.pendingApprovals[0].approvalId
|
|
26807
|
+
)
|
|
26808
|
+
);
|
|
26809
|
+
const entry = entries[index];
|
|
26810
|
+
if (entry?.kind !== "workflow") return;
|
|
26811
|
+
const approval = entry.pendingApprovals[0];
|
|
26812
|
+
if (!approval) return;
|
|
26813
|
+
surfacedApprovalIdsRef.current.add(approval.approvalId);
|
|
26814
|
+
setRawSelectedIndex(index);
|
|
26815
|
+
setPillFocused(false);
|
|
26816
|
+
setAutoOpened(true);
|
|
26817
|
+
setDialogMode("list");
|
|
26818
|
+
}, [entries, dialogMode, parkedHeadIds]);
|
|
26790
26819
|
const selectedIndex = entries.length === 0 ? 0 : Math.min(Math.max(0, rawSelectedIndex), entries.length - 1);
|
|
26791
26820
|
const moveSelectionUp = (0, import_react86.useCallback)(() => {
|
|
26792
26821
|
if (selectedIndex <= 0) return false;
|
|
@@ -26800,18 +26829,26 @@ function BackgroundTaskViewProvider({
|
|
|
26800
26829
|
return true;
|
|
26801
26830
|
}, [entries.length, selectedIndex]);
|
|
26802
26831
|
const openDialog = (0, import_react86.useCallback)(() => {
|
|
26832
|
+
setAutoOpened(false);
|
|
26803
26833
|
setDialogMode("list");
|
|
26804
26834
|
setPillFocused(false);
|
|
26805
26835
|
}, []);
|
|
26806
26836
|
const closeDialog = (0, import_react86.useCallback)(() => {
|
|
26837
|
+
if (autoOpened) return;
|
|
26838
|
+
closedParkedHeadIdsRef.current = parkedHeadIds;
|
|
26807
26839
|
setDialogMode("closed");
|
|
26840
|
+
}, [autoOpened, parkedHeadIds]);
|
|
26841
|
+
const acknowledgeAutoOpen = (0, import_react86.useCallback)(() => {
|
|
26842
|
+
setAutoOpened(false);
|
|
26808
26843
|
}, []);
|
|
26809
26844
|
const enterDetail = (0, import_react86.useCallback)(() => {
|
|
26810
26845
|
if (entries.length === 0) return;
|
|
26846
|
+
setAutoOpened(false);
|
|
26811
26847
|
setDialogMode("detail");
|
|
26812
26848
|
}, [entries.length]);
|
|
26813
26849
|
const enterDetailFromPanel = (0, import_react86.useCallback)(() => {
|
|
26814
26850
|
if (entries.length === 0) return;
|
|
26851
|
+
setAutoOpened(false);
|
|
26815
26852
|
setDialogMode("detail-from-panel");
|
|
26816
26853
|
}, [entries.length]);
|
|
26817
26854
|
const exitDetail = (0, import_react86.useCallback)(() => {
|
|
@@ -26886,6 +26923,7 @@ function BackgroundTaskViewProvider({
|
|
|
26886
26923
|
selectedIndex,
|
|
26887
26924
|
dialogMode,
|
|
26888
26925
|
dialogOpen,
|
|
26926
|
+
autoOpened,
|
|
26889
26927
|
pillFocused,
|
|
26890
26928
|
livePanelFocused,
|
|
26891
26929
|
livePanelSelectedIndex
|
|
@@ -26895,6 +26933,7 @@ function BackgroundTaskViewProvider({
|
|
|
26895
26933
|
selectedIndex,
|
|
26896
26934
|
dialogMode,
|
|
26897
26935
|
dialogOpen,
|
|
26936
|
+
autoOpened,
|
|
26898
26937
|
pillFocused,
|
|
26899
26938
|
livePanelFocused,
|
|
26900
26939
|
livePanelSelectedIndex
|
|
@@ -26909,6 +26948,7 @@ function BackgroundTaskViewProvider({
|
|
|
26909
26948
|
enterDetail,
|
|
26910
26949
|
enterDetailFromPanel,
|
|
26911
26950
|
exitDetail,
|
|
26951
|
+
acknowledgeAutoOpen,
|
|
26912
26952
|
cancelSelected,
|
|
26913
26953
|
resumeSelected,
|
|
26914
26954
|
toggleSelectedWorkflowPause,
|
|
@@ -26925,6 +26965,7 @@ function BackgroundTaskViewProvider({
|
|
|
26925
26965
|
enterDetail,
|
|
26926
26966
|
enterDetailFromPanel,
|
|
26927
26967
|
exitDetail,
|
|
26968
|
+
acknowledgeAutoOpen,
|
|
26928
26969
|
cancelSelected,
|
|
26929
26970
|
resumeSelected,
|
|
26930
26971
|
toggleSelectedWorkflowPause,
|
|
@@ -28405,7 +28446,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
|
|
|
28405
28446
|
availableTerminalHeight,
|
|
28406
28447
|
terminalWidth
|
|
28407
28448
|
}) => {
|
|
28408
|
-
const { entries, selectedIndex, dialogOpen, dialogMode } = useBackgroundTaskViewState();
|
|
28449
|
+
const { entries, selectedIndex, dialogOpen, dialogMode, autoOpened } = useBackgroundTaskViewState();
|
|
28409
28450
|
const isDetailMode = dialogMode === "detail" || dialogMode === "detail-from-panel";
|
|
28410
28451
|
const {
|
|
28411
28452
|
moveSelectionUp,
|
|
@@ -28414,6 +28455,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
|
|
|
28414
28455
|
openDialog,
|
|
28415
28456
|
enterDetail,
|
|
28416
28457
|
exitDetail,
|
|
28458
|
+
acknowledgeAutoOpen,
|
|
28417
28459
|
cancelSelected,
|
|
28418
28460
|
resumeSelected,
|
|
28419
28461
|
toggleSelectedWorkflowPause,
|
|
@@ -28621,6 +28663,12 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
|
|
|
28621
28663
|
(key) => {
|
|
28622
28664
|
if (!dialogOpen) return;
|
|
28623
28665
|
if (saveActive) return;
|
|
28666
|
+
if (autoOpened) {
|
|
28667
|
+
if ((key.name === "up" || key.name === "down") && !key.ctrl && !key.meta && !key.shift) {
|
|
28668
|
+
acknowledgeAutoOpen();
|
|
28669
|
+
}
|
|
28670
|
+
return;
|
|
28671
|
+
}
|
|
28624
28672
|
if (approvalActive && !approvalUsesQuestionDialog) {
|
|
28625
28673
|
if (key.name === "left") {
|
|
28626
28674
|
setReviewingApproval(null);
|
|
@@ -28762,6 +28810,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
|
|
|
28762
28810
|
const selectedEntryKey = selectedEntry ? entryId(selectedEntry) : null;
|
|
28763
28811
|
const selectedWorkflowPauseHint = workflowPauseHint(selectedEntry);
|
|
28764
28812
|
const showCancelConfirmHint = pendingCancelEntryId !== null && pendingCancelEntryId === selectedEntryKey;
|
|
28813
|
+
const autoOpenNotice = autoOpened ? t("A workflow needs approval \xB7 press \u2191 or \u2193 to continue") : void 0;
|
|
28765
28814
|
const hints = [];
|
|
28766
28815
|
if (approvalActive) {
|
|
28767
28816
|
hints.push(t("Approve or deny the request above"));
|
|
@@ -28875,11 +28924,11 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
|
|
|
28875
28924
|
width: terminalWidth,
|
|
28876
28925
|
height: availableTerminalHeight,
|
|
28877
28926
|
actionHints,
|
|
28878
|
-
footerMessage: showCancelConfirmHint ? t(
|
|
28927
|
+
footerMessage: autoOpenNotice ?? (showCancelConfirmHint ? t(
|
|
28879
28928
|
"Press x again to stop; this ends the blocking turn. Esc cancels."
|
|
28880
28929
|
) : pauseRejected?.entryKey === selectedEntryKey ? t(
|
|
28881
28930
|
"Pause/resume was rejected; the workflow state changed. Try again."
|
|
28882
|
-
) : void 0,
|
|
28931
|
+
) : void 0),
|
|
28883
28932
|
renderOtherDetail: (entry, height, width) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(DetailBody, { entry, maxHeight: height, maxWidth: width })
|
|
28884
28933
|
}
|
|
28885
28934
|
);
|
|
@@ -28943,7 +28992,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
|
|
|
28943
28992
|
isActive: saveActive,
|
|
28944
28993
|
onClose: () => setSaveActive(false)
|
|
28945
28994
|
}
|
|
28946
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Box_default, { marginTop: 1, paddingX: 1, children: pauseRejected && pauseRejected.entryKey === selectedEntryKey ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.status.warning, children: t(
|
|
28995
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Box_default, { marginTop: 1, paddingX: 1, children: autoOpenNotice ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.status.warning, wrap: "truncate-end", children: autoOpenNotice }) : pauseRejected && pauseRejected.entryKey === selectedEntryKey ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.status.warning, children: t(
|
|
28947
28996
|
"Pause/resume was rejected; the workflow state changed. Try again."
|
|
28948
28997
|
) }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.text.secondary, children: hints.join(" \xB7 ") }) })
|
|
28949
28998
|
]
|
|
@@ -44015,6 +44064,51 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
44015
44064
|
}, [pendingHistoryItemRef, setPendingAssistantItems, setPendingHistoryItem]);
|
|
44016
44065
|
const [pendingThoughtItem, pendingThoughtItemRef, setPendingThoughtItem] = useStateAndRef(null);
|
|
44017
44066
|
const thoughtStartTimeRef = (0, import_react156.useRef)(null);
|
|
44067
|
+
const thoughtGroupIdRef = (0, import_react156.useRef)(void 0);
|
|
44068
|
+
const lastThoughtGroupIdRef = (0, import_react156.useRef)(0);
|
|
44069
|
+
const commitPendingThought = (0, import_react156.useCallback)(
|
|
44070
|
+
(userMessageTimestamp, keepStaged = false) => {
|
|
44071
|
+
const pendingThought = pendingThoughtItemRef.current;
|
|
44072
|
+
const isThought = /* @__PURE__ */ __name((item) => item.type === "gemini_thought" || item.type === "gemini_thought_content", "isThought");
|
|
44073
|
+
const groupId = pendingThought && isThought(pendingThought) ? pendingThought.thoughtGroupId : void 0;
|
|
44074
|
+
if (groupId !== void 0) {
|
|
44075
|
+
setPendingAssistantItems(
|
|
44076
|
+
(items) => items.map(
|
|
44077
|
+
(item) => isThought(item) && item.thoughtGroupId === groupId ? { ...item, isStreaming: false } : item
|
|
44078
|
+
)
|
|
44079
|
+
);
|
|
44080
|
+
}
|
|
44081
|
+
const stageThought = keepStaged && pendingAssistantItemsRef.current.length > 0;
|
|
44082
|
+
if (!keepStaged) {
|
|
44083
|
+
commitPendingAssistantItems(userMessageTimestamp);
|
|
44084
|
+
}
|
|
44085
|
+
if (pendingThought) {
|
|
44086
|
+
const item = { ...pendingThought };
|
|
44087
|
+
if (isThought(item) && item.thoughtGroupId !== void 0) {
|
|
44088
|
+
item.isStreaming = false;
|
|
44089
|
+
}
|
|
44090
|
+
if (item.type === "gemini_thought" && thoughtStartTimeRef.current) {
|
|
44091
|
+
item.durationMs = Date.now() - thoughtStartTimeRef.current;
|
|
44092
|
+
}
|
|
44093
|
+
if (stageThought) {
|
|
44094
|
+
setPendingAssistantItems((items) => [...items, item]);
|
|
44095
|
+
} else {
|
|
44096
|
+
addItem(item, userMessageTimestamp);
|
|
44097
|
+
}
|
|
44098
|
+
}
|
|
44099
|
+
setPendingThoughtItem(null);
|
|
44100
|
+
thoughtStartTimeRef.current = null;
|
|
44101
|
+
thoughtGroupIdRef.current = void 0;
|
|
44102
|
+
},
|
|
44103
|
+
[
|
|
44104
|
+
addItem,
|
|
44105
|
+
commitPendingAssistantItems,
|
|
44106
|
+
pendingAssistantItemsRef,
|
|
44107
|
+
pendingThoughtItemRef,
|
|
44108
|
+
setPendingAssistantItems,
|
|
44109
|
+
setPendingThoughtItem
|
|
44110
|
+
]
|
|
44111
|
+
);
|
|
44018
44112
|
const [
|
|
44019
44113
|
pendingRetryErrorItem,
|
|
44020
44114
|
pendingRetryErrorItemRef,
|
|
@@ -44316,6 +44410,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
44316
44410
|
loopWakeupsCancelled > 0 ? loopWakeupsCancelled : void 0
|
|
44317
44411
|
);
|
|
44318
44412
|
logApiCancel(config, cancellationEvent);
|
|
44413
|
+
commitPendingThought(Date.now());
|
|
44319
44414
|
if (pendingHistoryItemRef.current) {
|
|
44320
44415
|
commitItemInOrder(pendingHistoryItemRef.current, Date.now());
|
|
44321
44416
|
}
|
|
@@ -44362,6 +44457,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
44362
44457
|
streamingState,
|
|
44363
44458
|
addItem,
|
|
44364
44459
|
commitItemInOrder,
|
|
44460
|
+
commitPendingThought,
|
|
44365
44461
|
setPendingHistoryItem,
|
|
44366
44462
|
onCancelSubmit,
|
|
44367
44463
|
pendingHistoryItemRef,
|
|
@@ -44787,6 +44883,18 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
44787
44883
|
if (startingNewThought) {
|
|
44788
44884
|
thoughtStartTimeRef.current = Date.now();
|
|
44789
44885
|
newThoughtBuffer = description;
|
|
44886
|
+
thoughtGroupIdRef.current = void 0;
|
|
44887
|
+
if (pendingAssistantItemsRef.current.length > 0) {
|
|
44888
|
+
for (const item of historyRef.current) {
|
|
44889
|
+
if ((item.type === "gemini_thought" || item.type === "gemini_thought_content") && item.thoughtGroupId !== void 0) {
|
|
44890
|
+
lastThoughtGroupIdRef.current = Math.min(
|
|
44891
|
+
lastThoughtGroupIdRef.current,
|
|
44892
|
+
item.thoughtGroupId
|
|
44893
|
+
);
|
|
44894
|
+
}
|
|
44895
|
+
}
|
|
44896
|
+
thoughtGroupIdRef.current = --lastThoughtGroupIdRef.current;
|
|
44897
|
+
}
|
|
44790
44898
|
}
|
|
44791
44899
|
mergeThought({
|
|
44792
44900
|
...eventValue,
|
|
@@ -44794,14 +44902,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
44794
44902
|
});
|
|
44795
44903
|
let pendingThoughtType = startingNewThought ? "gemini_thought" : pendingThoughtItemRef.current?.type === "gemini_thought_content" ? "gemini_thought_content" : "gemini_thought";
|
|
44796
44904
|
const getThoughtDurationMs = /* @__PURE__ */ __name(() => thoughtStartTimeRef.current ? Date.now() - thoughtStartTimeRef.current : 0, "getThoughtDurationMs");
|
|
44797
|
-
const buildThoughtItem = /* @__PURE__ */ __name((type, text) =>
|
|
44905
|
+
const buildThoughtItem = /* @__PURE__ */ __name((type, text) => ({
|
|
44798
44906
|
type,
|
|
44799
44907
|
text,
|
|
44800
|
-
durationMs: getThoughtDurationMs()
|
|
44801
|
-
|
|
44802
|
-
|
|
44803
|
-
text
|
|
44804
|
-
}, "buildThoughtItem");
|
|
44908
|
+
...type === "gemini_thought" ? { durationMs: getThoughtDurationMs() } : {},
|
|
44909
|
+
...thoughtGroupIdRef.current !== void 0 ? { thoughtGroupId: thoughtGroupIdRef.current, isStreaming: true } : {}
|
|
44910
|
+
}), "buildThoughtItem");
|
|
44805
44911
|
let splitPoint = findLastSafeSplitPoint(
|
|
44806
44912
|
newThoughtBuffer,
|
|
44807
44913
|
STREAM_PENDING_ITEM_MAX_CHARS
|
|
@@ -44812,10 +44918,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
44812
44918
|
newThoughtBuffer,
|
|
44813
44919
|
safeSplitPoint
|
|
44814
44920
|
);
|
|
44815
|
-
|
|
44816
|
-
|
|
44817
|
-
|
|
44818
|
-
|
|
44921
|
+
const splitItem = buildThoughtItem(pendingThoughtType, beforeText);
|
|
44922
|
+
if (pendingAssistantItemsRef.current.length > 0) {
|
|
44923
|
+
setPendingAssistantItems((items) => [...items, splitItem]);
|
|
44924
|
+
} else {
|
|
44925
|
+
addItem(splitItem, userMessageTimestamp);
|
|
44926
|
+
}
|
|
44819
44927
|
pendingThoughtType = "gemini_thought_content";
|
|
44820
44928
|
newThoughtBuffer = afterText;
|
|
44821
44929
|
splitPoint = findLastSafeSplitPoint(
|
|
@@ -44828,21 +44936,14 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
44828
44936
|
);
|
|
44829
44937
|
return newThoughtBuffer;
|
|
44830
44938
|
},
|
|
44831
|
-
[
|
|
44832
|
-
|
|
44833
|
-
|
|
44834
|
-
|
|
44835
|
-
|
|
44836
|
-
|
|
44837
|
-
|
|
44838
|
-
|
|
44839
|
-
}
|
|
44840
|
-
addItem(item, userMessageTimestamp);
|
|
44841
|
-
}
|
|
44842
|
-
setPendingThoughtItem(null);
|
|
44843
|
-
thoughtStartTimeRef.current = null;
|
|
44844
|
-
},
|
|
44845
|
-
[addItem, pendingThoughtItemRef, setPendingThoughtItem]
|
|
44939
|
+
[
|
|
44940
|
+
addItem,
|
|
44941
|
+
mergeThought,
|
|
44942
|
+
pendingAssistantItemsRef,
|
|
44943
|
+
pendingThoughtItemRef,
|
|
44944
|
+
setPendingAssistantItems,
|
|
44945
|
+
setPendingThoughtItem
|
|
44946
|
+
]
|
|
44846
44947
|
);
|
|
44847
44948
|
const handleUserCancelledEvent = (0, import_react156.useCallback)(
|
|
44848
44949
|
(userMessageTimestamp) => {
|
|
@@ -45238,16 +45339,25 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45238
45339
|
thoughtDescriptions.push(queuedThought.value.description);
|
|
45239
45340
|
}
|
|
45240
45341
|
}
|
|
45342
|
+
const description = thoughtDescriptions.join("");
|
|
45343
|
+
if (!turnCancelledRef.current && description.trim().length > 0 && stagePendingAssistantItem()) {
|
|
45344
|
+
llmMessageBuffer = "";
|
|
45345
|
+
}
|
|
45241
45346
|
thoughtBuffer = handleThoughtEvent(
|
|
45242
45347
|
{
|
|
45243
45348
|
subject,
|
|
45244
|
-
description
|
|
45349
|
+
description
|
|
45245
45350
|
},
|
|
45246
45351
|
thoughtBuffer,
|
|
45247
45352
|
userMessageTimestamp
|
|
45248
45353
|
);
|
|
45249
45354
|
}
|
|
45250
45355
|
}, "flushBufferedStreamEvents");
|
|
45356
|
+
const sealPendingThought = /* @__PURE__ */ __name(() => {
|
|
45357
|
+
commitPendingThought(userMessageTimestamp);
|
|
45358
|
+
thoughtBuffer = "";
|
|
45359
|
+
setThought(null);
|
|
45360
|
+
}, "sealPendingThought");
|
|
45251
45361
|
const scheduleBufferedStreamFlush = /* @__PURE__ */ __name(() => {
|
|
45252
45362
|
if (flushTimer) {
|
|
45253
45363
|
return;
|
|
@@ -45280,7 +45390,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45280
45390
|
case "content" /* Content */: {
|
|
45281
45391
|
if (pendingThoughtItemRef.current || bufferedEvents.some((e) => e.kind === "thought")) {
|
|
45282
45392
|
flushBufferedStreamEvents();
|
|
45283
|
-
commitPendingThought(userMessageTimestamp);
|
|
45393
|
+
commitPendingThought(userMessageTimestamp, true);
|
|
45284
45394
|
thoughtBuffer = "";
|
|
45285
45395
|
}
|
|
45286
45396
|
setThought((prev) => prev ? null : prev);
|
|
@@ -45304,7 +45414,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45304
45414
|
}
|
|
45305
45415
|
case "tool_call_request" /* ToolCallRequest */:
|
|
45306
45416
|
flushBufferedStreamEvents();
|
|
45307
|
-
commitPendingThought(userMessageTimestamp);
|
|
45417
|
+
commitPendingThought(userMessageTimestamp, true);
|
|
45308
45418
|
thoughtBuffer = "";
|
|
45309
45419
|
setThought((prev) => prev ? null : prev);
|
|
45310
45420
|
if (event.value.goalContext && turnAdmission) {
|
|
@@ -45337,6 +45447,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45337
45447
|
break;
|
|
45338
45448
|
case "chat_compressed" /* ChatCompressed */:
|
|
45339
45449
|
flushBufferedStreamEvents();
|
|
45450
|
+
sealPendingThought();
|
|
45340
45451
|
handleChatCompressionEvent(event.value, userMessageTimestamp);
|
|
45341
45452
|
llmMessageBuffer = "";
|
|
45342
45453
|
assistantOutputStarted = false;
|
|
@@ -45347,6 +45458,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45347
45458
|
break;
|
|
45348
45459
|
case "max_session_turns" /* MaxSessionTurns */:
|
|
45349
45460
|
flushBufferedStreamEvents();
|
|
45461
|
+
sealPendingThought();
|
|
45350
45462
|
if (pendingHistoryItemRef.current) {
|
|
45351
45463
|
commitItemInOrder(
|
|
45352
45464
|
pendingHistoryItemRef.current,
|
|
@@ -45360,6 +45472,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45360
45472
|
break;
|
|
45361
45473
|
case "session_token_limit_exceeded" /* SessionTokenLimitExceeded */:
|
|
45362
45474
|
flushBufferedStreamEvents();
|
|
45475
|
+
sealPendingThought();
|
|
45363
45476
|
if (pendingHistoryItemRef.current) {
|
|
45364
45477
|
commitItemInOrder(
|
|
45365
45478
|
pendingHistoryItemRef.current,
|
|
@@ -45393,11 +45506,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45393
45506
|
break;
|
|
45394
45507
|
case "citation" /* Citation */:
|
|
45395
45508
|
flushBufferedStreamEvents();
|
|
45396
|
-
handleCitationEvent(event.value, userMessageTimestamp);
|
|
45397
45509
|
if (showCitations(settings)) {
|
|
45510
|
+
sealPendingThought();
|
|
45398
45511
|
llmMessageBuffer = "";
|
|
45399
45512
|
assistantOutputStarted = false;
|
|
45400
45513
|
}
|
|
45514
|
+
handleCitationEvent(event.value, userMessageTimestamp);
|
|
45401
45515
|
break;
|
|
45402
45516
|
case "loop_detected" /* LoopDetected */:
|
|
45403
45517
|
flushBufferedStreamEvents();
|
|
@@ -45406,11 +45520,11 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45406
45520
|
case "retry" /* Retry */:
|
|
45407
45521
|
if (!event.isContinuation) {
|
|
45408
45522
|
discardBufferedStreamEvents();
|
|
45523
|
+
commitPendingThought(userMessageTimestamp, true);
|
|
45409
45524
|
setPendingAssistantItems([]);
|
|
45410
45525
|
if (pendingHistoryItemRef.current) {
|
|
45411
45526
|
setPendingHistoryItem(null);
|
|
45412
45527
|
}
|
|
45413
|
-
commitPendingThought(userMessageTimestamp);
|
|
45414
45528
|
thoughtBuffer = "";
|
|
45415
45529
|
setThought(null);
|
|
45416
45530
|
llmMessageBuffer = "";
|
|
@@ -45428,11 +45542,11 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45428
45542
|
break;
|
|
45429
45543
|
case "model_fallback" /* ModelFallback */: {
|
|
45430
45544
|
discardBufferedStreamEvents();
|
|
45545
|
+
commitPendingThought(userMessageTimestamp, true);
|
|
45431
45546
|
setPendingAssistantItems([]);
|
|
45432
45547
|
if (pendingHistoryItemRef.current) {
|
|
45433
45548
|
setPendingHistoryItem(null);
|
|
45434
45549
|
}
|
|
45435
|
-
commitPendingThought(userMessageTimestamp);
|
|
45436
45550
|
thoughtBuffer = "";
|
|
45437
45551
|
setThought(null);
|
|
45438
45552
|
llmMessageBuffer = "";
|
|
@@ -45453,6 +45567,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45453
45567
|
}
|
|
45454
45568
|
case "hook_system_message" /* HookSystemMessage */:
|
|
45455
45569
|
flushBufferedStreamEvents();
|
|
45570
|
+
sealPendingThought();
|
|
45456
45571
|
if (pendingHistoryItemRef.current) {
|
|
45457
45572
|
commitItemInOrder(
|
|
45458
45573
|
pendingHistoryItemRef.current,
|
|
@@ -45472,6 +45587,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45472
45587
|
break;
|
|
45473
45588
|
case "goal_settlement_failed" /* GoalSettlementFailed */:
|
|
45474
45589
|
flushBufferedStreamEvents();
|
|
45590
|
+
sealPendingThought();
|
|
45475
45591
|
if (pendingHistoryItemRef.current) {
|
|
45476
45592
|
commitItemInOrder(
|
|
45477
45593
|
pendingHistoryItemRef.current,
|
|
@@ -45488,6 +45604,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45488
45604
|
break;
|
|
45489
45605
|
case "user_prompt_submit_blocked" /* UserPromptSubmitBlocked */:
|
|
45490
45606
|
flushBufferedStreamEvents();
|
|
45607
|
+
sealPendingThought();
|
|
45491
45608
|
userPromptBlocked = true;
|
|
45492
45609
|
handleUserPromptSubmitBlockedEvent(
|
|
45493
45610
|
event.value,
|
|
@@ -45498,6 +45615,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45498
45615
|
break;
|
|
45499
45616
|
case "stop_hook_loop" /* StopHookLoop */:
|
|
45500
45617
|
flushBufferedStreamEvents();
|
|
45618
|
+
sealPendingThought();
|
|
45501
45619
|
handleStopHookLoopEvent(event.value, userMessageTimestamp);
|
|
45502
45620
|
llmMessageBuffer = "";
|
|
45503
45621
|
assistantOutputStarted = false;
|
|
@@ -45505,6 +45623,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45505
45623
|
case "goal_state" /* GoalState */:
|
|
45506
45624
|
if (event.cause && shouldDisplayGoalStateCause(event.cause)) {
|
|
45507
45625
|
flushBufferedStreamEvents();
|
|
45626
|
+
sealPendingThought();
|
|
45508
45627
|
if (pendingHistoryItemRef.current) {
|
|
45509
45628
|
commitItemInOrder(
|
|
45510
45629
|
pendingHistoryItemRef.current,
|
|
@@ -45532,11 +45651,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45532
45651
|
}
|
|
45533
45652
|
} finally {
|
|
45534
45653
|
flushBufferedStreamEvents();
|
|
45535
|
-
commitPendingThought(userMessageTimestamp);
|
|
45654
|
+
commitPendingThought(userMessageTimestamp, true);
|
|
45536
45655
|
discardBufferedStreamEvents();
|
|
45537
45656
|
flushBufferedStreamEventsRef.current.delete(flushBufferedStreamEvents);
|
|
45538
45657
|
dualOutput?.finalizeAssistantMessage();
|
|
45539
45658
|
}
|
|
45659
|
+
commitPendingAssistantItems(userMessageTimestamp);
|
|
45540
45660
|
if (toolCallRequests.length > 0 && !signal.aborted && !loopDetectedRef.current) {
|
|
45541
45661
|
const executableToolCallRequests = [];
|
|
45542
45662
|
const duplicateResponses = [];
|
|
@@ -45682,6 +45802,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
45682
45802
|
clearRetryCountdown,
|
|
45683
45803
|
setThought,
|
|
45684
45804
|
commitPendingThought,
|
|
45805
|
+
commitPendingAssistantItems,
|
|
45685
45806
|
pendingHistoryItemRef,
|
|
45686
45807
|
pendingAssistantItemsRef,
|
|
45687
45808
|
pendingThoughtItemRef,
|
|
@@ -46687,9 +46808,72 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
46687
46808
|
);
|
|
46688
46809
|
const dedupedCallIds = dedupedTools.map((tc) => tc.request.callId);
|
|
46689
46810
|
if (dedupedCallIds.length > 0) {
|
|
46690
|
-
|
|
46691
|
-
|
|
46811
|
+
const synthesizedRepairCallIds = llmClient?.getSynthesizedRepairCallIds() ?? /* @__PURE__ */ new Set();
|
|
46812
|
+
const replaceableTools = dedupedTools.filter(
|
|
46813
|
+
(tc) => synthesizedRepairCallIds.has(tc.request.callId)
|
|
46692
46814
|
);
|
|
46815
|
+
const replacedCallIds = /* @__PURE__ */ new Set();
|
|
46816
|
+
let sessionChangedDuringFinalize = false;
|
|
46817
|
+
if (llmClient && replaceableTools.length > 0) {
|
|
46818
|
+
const sessionIdAtCompletion = config.getSessionId();
|
|
46819
|
+
const finalizedReplaceable = await finalizeToolResponses(
|
|
46820
|
+
config,
|
|
46821
|
+
replaceableTools.map(({ request, response }) => ({
|
|
46822
|
+
callId: request.callId,
|
|
46823
|
+
toolName: request.name,
|
|
46824
|
+
responseParts: response.responseParts,
|
|
46825
|
+
persistedOutputFiles: response.persistedOutputFiles,
|
|
46826
|
+
artifacts: response.artifacts
|
|
46827
|
+
})),
|
|
46828
|
+
new Map(
|
|
46829
|
+
replaceableTools.flatMap(
|
|
46830
|
+
({ request }) => request.prompt_id ? [[request.callId, request.prompt_id]] : []
|
|
46831
|
+
)
|
|
46832
|
+
)
|
|
46833
|
+
);
|
|
46834
|
+
if (config.getSessionId() === sessionIdAtCompletion) {
|
|
46835
|
+
finalizedReplaceable.forEach((entry, index) => {
|
|
46836
|
+
const { request, response, status } = replaceableTools[index];
|
|
46837
|
+
if (!llmClient.replaceSynthesizedToolResponse(
|
|
46838
|
+
entry.callId,
|
|
46839
|
+
entry.responseParts
|
|
46840
|
+
)) {
|
|
46841
|
+
return;
|
|
46842
|
+
}
|
|
46843
|
+
replacedCallIds.add(entry.callId);
|
|
46844
|
+
dualOutput?.emitToolResult(request, response);
|
|
46845
|
+
config.getChatRecordingService?.()?.recordToolResult?.(
|
|
46846
|
+
entry.responseParts,
|
|
46847
|
+
{
|
|
46848
|
+
callId: entry.callId,
|
|
46849
|
+
status,
|
|
46850
|
+
resultDisplay: response.resultDisplay,
|
|
46851
|
+
persistedOutputFiles: entry.persistedOutputFiles,
|
|
46852
|
+
artifacts: entry.artifacts,
|
|
46853
|
+
error: response.error,
|
|
46854
|
+
errorType: response.errorType,
|
|
46855
|
+
executionStatus: response.executionStatus
|
|
46856
|
+
},
|
|
46857
|
+
goalToolResultProvenance(request)
|
|
46858
|
+
);
|
|
46859
|
+
});
|
|
46860
|
+
} else {
|
|
46861
|
+
sessionChangedDuringFinalize = true;
|
|
46862
|
+
}
|
|
46863
|
+
}
|
|
46864
|
+
if (replacedCallIds.size > 0) {
|
|
46865
|
+
debugLogger37.warn(
|
|
46866
|
+
`[REPAIR] Replaced synthesized placeholder(s) with late real tool result(s) for callId(s): ${[...replacedCallIds].join(", ")}`
|
|
46867
|
+
);
|
|
46868
|
+
}
|
|
46869
|
+
const droppedCallIds = dedupedCallIds.filter(
|
|
46870
|
+
(callId) => !replacedCallIds.has(callId)
|
|
46871
|
+
);
|
|
46872
|
+
if (droppedCallIds.length > 0) {
|
|
46873
|
+
debugLogger37.warn(
|
|
46874
|
+
`[REPAIR] Dropping ${droppedCallIds.length} late tool result(s) whose callId already has a functionResponse in history: ${droppedCallIds.join(", ")}` + (sessionChangedDuringFinalize ? ` (the session changed while finalizing, so no placeholder was replaced)` : ``)
|
|
46875
|
+
);
|
|
46876
|
+
}
|
|
46693
46877
|
for (const tc of dedupedTools) {
|
|
46694
46878
|
if (tc.request.isClientInitiated) continue;
|
|
46695
46879
|
if (tc.status === "cancelled") continue;
|
|
@@ -47536,9 +47720,10 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
|
|
|
47536
47720
|
}, [handleCompletedTools]);
|
|
47537
47721
|
const pendingHistoryItems = (0, import_react156.useMemo)(
|
|
47538
47722
|
() => [
|
|
47539
|
-
// Reasoning renders
|
|
47540
|
-
|
|
47723
|
+
// Reasoning renders below the output staged before it and above the
|
|
47724
|
+
// answer still streaming.
|
|
47541
47725
|
...pendingAssistantItems,
|
|
47726
|
+
pendingThoughtItem,
|
|
47542
47727
|
pendingHistoryItem,
|
|
47543
47728
|
pendingRetryErrorItem,
|
|
47544
47729
|
pendingRetryCountdownItem,
|