@qwen-code/qwen-code 0.22.2 → 0.22.3-nightly.20260829.e5cb60ad48
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/computer-use/SKILL.md +3 -3
- package/bundled/qc-helper/docs/configuration/settings.md +37 -36
- package/bundled/qc-helper/docs/features/channels/dws.md +2 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +34 -3
- package/bundled/qc-helper/docs/features/code-review.md +3 -3
- package/bundled/qc-helper/docs/features/computer-use.md +2 -2
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +1 -1
- package/bundled/review/SKILL.md +81 -31
- package/bundled/review/references/persistence.md +7 -3
- package/bundled/review/references/posting.md +10 -4
- package/chunks/{MaxSizedBox-X5FZSNAJ.js → MaxSizedBox-JK4LFKJ3.js} +36 -37
- package/chunks/{StandaloneSessionPicker-AVLI6VJP.js → StandaloneSessionPicker-UA2MQCCS.js} +54 -55
- package/chunks/{acpAgent-MXEAN54C.js → acpAgent-ZKIVHQKW.js} +276 -191
- package/chunks/{agent-PJIPDWHB.js → agent-Z3Q5C3RX.js} +27 -28
- package/chunks/{agent-headless-B4JVD7UK.js → agent-headless-BIVZ3KYZ.js} +27 -28
- package/chunks/{anthropicContentGenerator-HGMBACVE.js → anthropicContentGenerator-YVTB6QX7.js} +43 -47
- package/chunks/{artifact-tool-5YT4QF7Y.js → artifact-tool-XSMPHZBT.js} +9 -1
- package/chunks/{askUserQuestion-4SWJY65V.js → askUserQuestion-66I3U2QX.js} +29 -5
- package/chunks/{bridge-FKZTVIS3.js → bridge-KDQTHAR7.js} +40 -41
- package/chunks/{channel-management-service-X4AZ6IXX.js → channel-management-service-HQ6KDS7C.js} +6 -6
- package/chunks/{channel-settings-store-4UFCLBBG.js → channel-settings-store-X4WWBVYW.js} +50 -46
- package/chunks/{channel-worker-group-27HMGD5S.js → channel-worker-group-6NA6BBZV.js} +5 -5
- package/chunks/{channel-worker-manager-QEGX646Z.js → channel-worker-manager-NEZ2J6RK.js} +5 -5
- package/chunks/{channel-worker-supervisor-UEW2WWCC.js → channel-worker-supervisor-FKU7DIHJ.js} +4 -4
- package/chunks/{chunk-V2NDP3I4.js → chunk-2AEHQRY2.js} +1 -1
- package/chunks/{chunk-EOGELB3H.js → chunk-2SXSLSQE.js} +1 -1
- package/chunks/chunk-36LGBEM6.js +130 -0
- package/chunks/{chunk-2K6ORIHJ.js → chunk-3CAI35FS.js} +11 -11
- package/chunks/{chunk-H2WDGQ6D.js → chunk-3JXM2CVW.js} +1 -1
- package/chunks/{chunk-JSHHYW6T.js → chunk-3WJLDA3X.js} +3 -3
- package/chunks/{chunk-HVEYF6VT.js → chunk-3WK3QDNV.js} +1 -1
- package/chunks/{chunk-5XBFCMWD.js → chunk-3XKLXHGK.js} +17 -9
- package/chunks/{chunk-SFPGAQUL.js → chunk-42IDLQWS.js} +24 -18
- package/chunks/{chunk-KEKZFOL6.js → chunk-44LKG3IY.js} +1 -1
- package/chunks/{chunk-43GGFFLY.js → chunk-4K7KNVWH.js} +1 -1
- package/chunks/{chunk-F6FV3C5K.js → chunk-4NDLQAY2.js} +24 -272
- package/chunks/{chunk-VVW4ZNFY.js → chunk-4QHPPXK2.js} +15 -7
- package/chunks/chunk-4VQBQLIZ.js +293 -0
- package/chunks/{chunk-ZFKOCECU.js → chunk-5CALJAH7.js} +2 -2
- package/chunks/{chunk-F7TNAPZ4.js → chunk-5SBVOOA2.js} +5 -5
- package/chunks/{chunk-IK5BW3CS.js → chunk-5ZJL3AIV.js} +2 -2
- package/chunks/{chunk-OIVXBW3W.js → chunk-62GQFYID.js} +1 -1
- package/chunks/{chunk-BRVWYMKV.js → chunk-6MBXY6WM.js} +1 -1
- package/chunks/{chunk-77RG5SFQ.js → chunk-6XOIV7MI.js} +1 -1
- package/chunks/{chunk-KGJGEEVR.js → chunk-7FA2II6K.js} +10 -1
- package/chunks/chunk-7GUOXWPY.js +2597 -0
- package/chunks/chunk-7J6OTNGO.js +424 -0
- package/chunks/{chunk-DIMEPKCW.js → chunk-7S226YTK.js} +1 -1
- package/chunks/{chunk-XRSOI3DL.js → chunk-A3LWD5MK.js} +1 -1
- package/chunks/{chunk-FBSSIAAQ.js → chunk-AMLXTTJJ.js} +7 -7
- package/chunks/{chunk-Z7FLBQPR.js → chunk-ARF6IJHM.js} +7 -7
- package/chunks/{chunk-4CDSK5AZ.js → chunk-AYFA7MZV.js} +2 -2
- package/chunks/{chunk-4JWNNLPT.js → chunk-B42A5ZHA.js} +3 -3
- package/chunks/{chunk-3JGZSIDA.js → chunk-B466ZSHZ.js} +1 -1
- package/chunks/{chunk-L6BZRIUL.js → chunk-B5PHIJGI.js} +182 -4
- package/chunks/{chunk-KUX5D6DK.js → chunk-BFYGL2XL.js} +11383 -11020
- package/chunks/{chunk-W5MJJ2V7.js → chunk-BIJEBAAQ.js} +1 -1
- package/chunks/{chunk-3I6UTTDX.js → chunk-BKWNKLZB.js} +19 -19
- package/chunks/{chunk-3FDFA4MZ.js → chunk-BOWFGCEU.js} +1 -1
- package/chunks/{chunk-F5SZP77N.js → chunk-BP5PTNCU.js} +79 -71
- package/chunks/{chunk-3AFMQUTI.js → chunk-C2X7KY45.js} +1 -1
- package/chunks/{chunk-FDY5RMGH.js → chunk-CFJY4DGX.js} +1 -1
- package/chunks/{chunk-LDP5OD6N.js → chunk-CLWO3B77.js} +2 -2
- package/chunks/{chunk-L6YT5H34.js → chunk-CVUBULIX.js} +4 -4
- package/chunks/{chunk-JU4EEXC7.js → chunk-CWQZUDB7.js} +2 -2
- package/chunks/chunk-DJBQCO2E.js +842 -0
- package/chunks/{chunk-4J657AJR.js → chunk-DJECZIJX.js} +40 -40
- package/chunks/{chunk-RUGNCYNO.js → chunk-DMLVSW7L.js} +532 -22
- package/chunks/{chunk-4FTKQNWJ.js → chunk-DYXFD5RO.js} +181 -2
- package/chunks/{chunk-PDMJ3KGS.js → chunk-EB6QRGHM.js} +1 -1
- package/chunks/{chunk-TGWAQ5RB.js → chunk-ECE3UYVO.js} +4704 -5894
- package/chunks/{chunk-5O72BNDD.js → chunk-F5RB4S23.js} +7 -7
- package/chunks/{chunk-IJKTMLBE.js → chunk-FIKYKQOO.js} +1 -1
- package/chunks/{chunk-BNMF3K5X.js → chunk-FKET6VOO.js} +52 -36
- package/chunks/{chunk-Z7TGYN5F.js → chunk-FROAFEFB.js} +2 -2
- package/chunks/{chunk-MZS7GEC7.js → chunk-FTF2YIZ5.js} +1 -1
- package/chunks/{chunk-Z7VOMGDC.js → chunk-FTJMWDND.js} +0 -24
- package/chunks/{chunk-43UYNAWX.js → chunk-G6FECKTJ.js} +2 -2
- package/chunks/{chunk-7UYV53BC.js → chunk-GIHXH2KO.js} +1 -1
- package/chunks/{chunk-V4QXXQJ2.js → chunk-H4LCV44K.js} +2 -2
- package/chunks/{chunk-LXIBMVRN.js → chunk-H5WQZTAW.js} +13 -7
- package/chunks/{chunk-Z4X5MTRT.js → chunk-HCOBAG2L.js} +2 -4
- package/chunks/{chunk-RJC5EIKY.js → chunk-HHQJANFM.js} +3 -3
- package/chunks/{chunk-7JPW6IYH.js → chunk-HVC3PNVC.js} +1 -1
- package/chunks/{chunk-TRZTNIQ6.js → chunk-I6LYRJPB.js} +2 -2
- package/chunks/{chunk-E55H6BZ7.js → chunk-ICURCKIU.js} +1335 -119
- package/chunks/{chunk-66KDY3LV.js → chunk-IJMEPQ5N.js} +2 -2
- package/chunks/{chunk-4HV6HH33.js → chunk-ISKH4QX3.js} +9 -9
- package/chunks/{chunk-6CGL7E7G.js → chunk-IZDKYNKN.js} +2 -2
- package/chunks/{chunk-A7YP63XN.js → chunk-J7SS77YW.js} +5 -5
- package/chunks/{chunk-XDFHY4R3.js → chunk-JCMS65DJ.js} +2 -2
- package/chunks/{chunk-6LFJEACX.js → chunk-JHDPOPQG.js} +7 -7
- package/chunks/{chunk-WKK5BQNP.js → chunk-JHYH6PYQ.js} +43 -420
- package/chunks/{chunk-PFCQ62V4.js → chunk-JWDMKJG5.js} +6 -6
- package/chunks/{chunk-6IUNAPLR.js → chunk-K5KXUXWC.js} +1 -1
- package/chunks/{chunk-Y6LSMB6J.js → chunk-K6CTN5TU.js} +1 -1
- package/chunks/{chunk-G34IR3D6.js → chunk-KEIMKAM4.js} +26 -109
- package/chunks/{chunk-JHS74YAB.js → chunk-KID24ZFN.js} +1 -1
- package/chunks/{chunk-EFUM7RVY.js → chunk-KJO2LBUK.js} +942 -16
- package/chunks/{chunk-B7CDU2SL.js → chunk-KYWTPLBJ.js} +17 -20
- package/chunks/chunk-LGO7DEXL.js +1186 -0
- package/chunks/{chunk-P2SU6ZTI.js → chunk-LUEHOUHM.js} +1 -1
- package/chunks/{chunk-P5GGM4KS.js → chunk-MAQ2W4IF.js} +3 -3
- package/chunks/{chunk-RIEFGNTP.js → chunk-MVDPFLWM.js} +207 -43
- package/chunks/{chunk-5PA6UEYA.js → chunk-MZCJWS5Y.js} +1 -1
- package/chunks/{chunk-BGXZBI5B.js → chunk-N4X7G4J2.js} +2 -1
- package/chunks/{chunk-BBWV7ONL.js → chunk-NEBSNUMX.js} +6 -6
- package/chunks/{chunk-3SGB2UHX.js → chunk-NENQE7VH.js} +23 -11
- package/chunks/{chunk-SJ3ZUWFK.js → chunk-NHDNYMBU.js} +4 -4
- package/chunks/{chunk-K2NQPH5D.js → chunk-OJEMXKA4.js} +3 -3
- package/chunks/{chunk-QP4C6WCE.js → chunk-PI6HYGBE.js} +2 -2
- package/chunks/{chunk-OIP7C4FE.js → chunk-PO6YCWIQ.js} +4 -4
- package/chunks/{chunk-SAH4BD2J.js → chunk-PQEISIKS.js} +67 -0
- package/chunks/{chunk-4MQEPP3Y.js → chunk-PQZBDDNG.js} +5 -119
- package/chunks/{chunk-SMPR7SPO.js → chunk-QJNDUTOL.js} +45 -239
- package/chunks/{chunk-L2M46FP5.js → chunk-QYMAKPY5.js} +5 -5
- package/chunks/{chunk-JVPFTDBK.js → chunk-RFIDDFAL.js} +1 -1
- package/chunks/{chunk-JSC3H3TD.js → chunk-RZKOA4JE.js} +14 -6
- package/chunks/{chunk-CPGJJJLU.js → chunk-SEDFP3ZI.js} +1 -1
- package/chunks/chunk-SEONHUS3.js +275 -0
- package/chunks/{chunk-ZGXYO7DY.js → chunk-SS4MRMKE.js} +122 -13
- package/chunks/{chunk-T32W2JHI.js → chunk-SS5SDCD3.js} +2 -2
- package/chunks/{chunk-MIIVI25Q.js → chunk-ST5V3ZOC.js} +2 -2
- package/chunks/{chunk-4K7NQDCG.js → chunk-T4EFG2P5.js} +18 -9
- package/chunks/{chunk-TWSKM647.js → chunk-T7KMERIX.js} +1 -1
- package/chunks/{chunk-BAJKAAOY.js → chunk-TGJ2PKCW.js} +4315 -1386
- package/chunks/{chunk-6LFTG244.js → chunk-TU6WVK67.js} +15 -5
- package/chunks/{chunk-T3WXYEZ4.js → chunk-U54AYGEC.js} +38 -5
- package/chunks/{chunk-CSMI4FP5.js → chunk-UAOTD2BN.js} +1 -1
- package/chunks/{chunk-CCBZDVUA.js → chunk-UI4DXRZW.js} +33 -20
- package/chunks/{chunk-JCQD3INC.js → chunk-URE3QBBB.js} +1 -1
- package/chunks/chunk-UVY67MSH.js +205 -0
- package/chunks/{chunk-Y3QL45LS.js → chunk-V4264FEG.js} +8 -8
- package/chunks/{chunk-R4PMVSR5.js → chunk-VBCPNIQD.js} +18 -20
- package/chunks/{chunk-Q26AYA62.js → chunk-VKCJPNGU.js} +2 -2
- package/chunks/{chunk-IOPCFOTF.js → chunk-VKIGT4OG.js} +2 -2
- package/chunks/{chunk-3DXFGHAJ.js → chunk-VNMZLAVG.js} +1 -1
- package/chunks/{chunk-FY76G3G5.js → chunk-W3CY4QIO.js} +4 -4
- package/chunks/{chunk-O2UN57NX.js → chunk-W4XG7IZ4.js} +19 -2
- package/chunks/{chunk-C6K43ZDE.js → chunk-W7HH77GN.js} +5 -5
- package/chunks/{chunk-2NYCN6F2.js → chunk-WD3WSEW3.js} +43 -26
- package/chunks/chunk-WLEYH7CD.js +332 -0
- package/chunks/{chunk-PKAYJDB3.js → chunk-WNPDGUJO.js} +21 -2
- package/chunks/{chunk-IZIVM7LZ.js → chunk-WXEA74YB.js} +1 -1
- package/chunks/{chunk-YRLW2MSX.js → chunk-XBVNNDPK.js} +11 -4
- package/chunks/{chunk-HVQ3B7FF.js → chunk-Y5S7LBOZ.js} +43 -6
- package/chunks/{chunk-AGR5UROZ.js → chunk-YN44TEOZ.js} +17 -29
- package/chunks/{chunk-DZWPESIF.js → chunk-Z44FUM77.js} +3 -3
- package/chunks/{chunk-XDLEZ5HX.js → chunk-ZZUKP7HV.js} +1 -1
- package/chunks/{config-utils-BBOCOGZW.js → config-utils-NOCNFTQP.js} +42 -41
- package/chunks/{contextCommand-EET67MQ2.js → contextCommand-DH2NOQBI.js} +39 -40
- package/chunks/{core-runtime-677KFX6Q.js → core-runtime-OLW4OXMV.js} +43 -44
- package/chunks/{create-sub-session-JKZAYZX7.js → create-sub-session-ZCGPQTIE.js} +37 -38
- package/chunks/{daemon-MJQUO7RA.js → daemon-3GNHB3M2.js} +495 -7
- package/chunks/{daemon-git-worktree-guard-6MVAAZZZ.js → daemon-git-worktree-guard-SHIU7MPJ.js} +36 -37
- package/chunks/{daemon-status-provider-RFKZOK3S.js → daemon-status-provider-WECDBDF7.js} +45 -46
- package/chunks/{daemon-trust-policy-DRZPFB4Q.js → daemon-trust-policy-MX4OYXF3.js} +44 -45
- package/chunks/{daemon-trust-policy-monitor-B5U6TQX5.js → daemon-trust-policy-monitor-73WXIKNL.js} +44 -45
- package/chunks/{deferred-core-runtime-BBVIOP24.js → deferred-core-runtime-BKS7O3D6.js} +36 -37
- package/chunks/{dist-DJBNNPLN.js → dist-4WXLCBDR.js} +1 -1
- package/chunks/{dist-TJUDJTCB.js → dist-5VXFRTWU.js} +280 -48
- package/chunks/{dist-QODVOVWI.js → dist-6BPYWHVD.js} +31 -30
- package/chunks/{dist-ZBVOXSKF.js → dist-GFN5DCBX.js} +74 -65
- package/chunks/{dist-SATKXKUR.js → dist-HZNT6GQS.js} +1 -1
- package/chunks/{dist-ILDBUWDB.js → dist-LVZCXVPF.js} +1 -1
- package/chunks/{dist-7CKN54NL.js → dist-N6W6E753.js} +71 -64
- package/chunks/{dist-4Q7NTUNB.js → dist-NSV4NBPK.js} +31 -14
- package/chunks/{dist-UQUFZDIY.js → dist-SWQMYP2Q.js} +18 -16
- package/chunks/{earlyInputCapture-2JOMMNQ4.js → earlyInputCapture-5NNZSVL7.js} +36 -37
- package/chunks/{edit-BSV6YRVW.js → edit-IGHPT4I2.js} +27 -28
- package/chunks/{enter-worktree-MQXFFPKM.js → enter-worktree-35QCAAFP.js} +3 -3
- package/chunks/{enterPlanMode-PKNF35FE.js → enterPlanMode-LVTPJSAA.js} +32 -33
- package/chunks/{environment-MOZMPUHR.js → environment-HC2PPYDO.js} +40 -41
- package/chunks/{errors-DMPQVYJL.js → errors-VCWSG25A.js} +39 -40
- package/chunks/{exit-worktree-L344UY7K.js → exit-worktree-XQD6D543.js} +3 -3
- package/chunks/{exitPlanMode-UE4FGCY4.js → exitPlanMode-RHI2K2O7.js} +27 -28
- package/chunks/{fast-path-773PV7PU.js → fast-path-IQNCJOPE.js} +4 -4
- package/chunks/{fast-path-settings-XMFBYFUH.js → fast-path-settings-XH426LUU.js} +3 -3
- package/chunks/{glob-CZHOWUEA.js → glob-EANAXPNR.js} +27 -28
- package/chunks/{goal-tools-YZQJXTGH.js → goal-tools-PTD3MBA7.js} +2 -1
- package/chunks/{grep-5GPICQBU.js → grep-3REG7TO6.js} +4 -2
- package/chunks/{handleAutoUpdate-SGXKTQM6.js → handleAutoUpdate-PVVFLDQ4.js} +41 -42
- package/chunks/{i18n-B42HKHKH.js → i18n-VOKX5QIF.js} +38 -39
- package/chunks/{image-gen-HAYOEQ4O.js → image-gen-J6FDGUZP.js} +4 -6
- package/chunks/{initializer-FB66WYR3.js → initializer-SZVVTGZL.js} +44 -45
- package/chunks/{installationInfo-Y7AULNMX.js → installationInfo-R22453J5.js} +37 -38
- package/chunks/{list-2HWGSVRA.js → list-LK5M5W2N.js} +47 -48
- package/chunks/{gemini-IP4FJAP5.js → llm-6RQJUVIS.js} +89 -85
- package/chunks/{geminiContentGenerator-PUNEBWJW.js → llm-content-generator-Q7JJDSJR.js} +25 -25
- package/chunks/{loadedSettingsAdapter-7Y7IEI6T.js → loadedSettingsAdapter-KF2ZPSPG.js} +44 -45
- package/chunks/{loggingContentGenerator-2GGZNGLG.js → loggingContentGenerator-SBCIJG2J.js} +307 -27
- package/chunks/{managed-npm-update-5TEV2E3J.js → managed-npm-update-UG324XFY.js} +37 -38
- package/chunks/{mcp-QGG5NMJJ.js → mcp-PUSCFGS5.js} +44 -45
- package/chunks/{monitor-FI7PY36Z.js → monitor-RJW5AP64.js} +27 -28
- package/chunks/{nonInteractiveCli-4LO2TL72.js → nonInteractiveCli-OIXN4WSR.js} +82 -81
- package/chunks/{notebook-edit-TPGMGBST.js → notebook-edit-5MWEIMS2.js} +27 -28
- package/chunks/{open-with-auth-4UI3KHUR.js → open-with-auth-YN3QZHVM.js} +1 -1
- package/chunks/{openaiContentGenerator-SUCYANUZ.js → openaiContentGenerator-AGTNYSCJ.js} +13 -15
- package/chunks/{pidfile-JMF2CLMY.js → pidfile-LTA6NT3P.js} +36 -37
- package/chunks/process-registry-OAEG6WGC.js +662 -0
- package/chunks/{processUtils-IQZBYWSB.js → processUtils-GY3Q66CJ.js} +2 -2
- package/chunks/{prompt-terminal-ledger-DCZO6S7C.js → prompt-terminal-ledger-3QS6TCMF.js} +37 -38
- package/chunks/{qwenContentGenerator-J4TXFGJT.js → qwenContentGenerator-NU6PCDA7.js} +31 -32
- package/chunks/{qwenOAuth2-RF33DNZW.js → qwenOAuth2-OF5WRBQT.js} +4 -6
- package/chunks/{read-file-QE2B5FTX.js → read-file-DTQL5V62.js} +5 -5
- package/chunks/{record-artifact-RZGZBENU.js → record-artifact-VW23GS4F.js} +2 -2
- package/chunks/{report-findings-Q3SYKKW5.js → report-findings-AO5VYFLR.js} +7 -3
- package/chunks/{resumeHistoryUtils-CZ4JRDVW.js → resumeHistoryUtils-PZ4BER55.js} +40 -41
- package/chunks/{ripGrep-R6B6HWPX.js → ripGrep-A2FGBZGY.js} +7 -7
- package/chunks/{run-qwen-serve-TPHZMSXJ.js → run-qwen-serve-AESOSKFC.js} +271 -86
- package/chunks/{runtime-TTIGSBM4.js → runtime-YQHSEKG4.js} +49 -50
- package/chunks/{scheduled-tasks-QB4ZVUQS.js → scheduled-tasks-XG6KK6NY.js} +42 -43
- package/chunks/{scheduler-YRUG22M7.js → scheduler-I4WKXWRZ.js} +38 -39
- package/chunks/{sdk-exporters-http-KCJ4ZFG7.js → sdk-exporters-http-TTU2CHBU.js} +1 -1
- package/chunks/{sdk-impl-HLSEDAEP.js → sdk-impl-UUMVYMAL.js} +10 -4
- package/chunks/{send-message-Y5I6NYAM.js → send-message-AJ4OCUBV.js} +18 -2
- package/chunks/{serve-MXXCDAQN.js → serve-MQDTVC7X.js} +44 -45
- package/chunks/{server-DFUSSSHI.js → server-L5ETIKEW.js} +4153 -3351
- package/chunks/{session-3TEHNENZ.js → session-LKKXRUJM.js} +87 -86
- package/chunks/session-pr-refresh-5OWA6MC2.js +365 -0
- package/chunks/{settings-VOZYKLTT.js → settings-S6KG7JST.js} +43 -44
- package/chunks/{shell-6RTKZVMI.js → shell-JEQE5AHC.js} +27 -28
- package/chunks/{skill-FEOKFX26.js → skill-QEGMZXKI.js} +58 -14
- package/chunks/{skill-settings-VA4XVYVL.js → skill-settings-EVY7QF4H.js} +44 -45
- package/chunks/{spawnChannel-F6WVP723.js → spawnChannel-AQP72WPN.js} +38 -39
- package/chunks/{standalone-update-RGILUQVK.js → standalone-update-JUJA4BKV.js} +39 -40
- package/chunks/{startInteractiveUI-WHJPFOGH.js → startInteractiveUI-5ZMSJZ3J.js} +408 -338
- package/chunks/{stdioHelpers-7A2EE64Z.js → stdioHelpers-AY6XCDY2.js} +3 -1
- package/chunks/{task-create-TMSV7RD5.js → task-create-QN4LYRSE.js} +3 -3
- package/chunks/{task-list-W55RBFRX.js → task-list-JPLGK45U.js} +2 -2
- package/chunks/{task-update-N536I4GQ.js → task-update-IWEOJFV2.js} +3 -3
- package/chunks/{team-create-QYSWCYCL.js → team-create-ZEGP7KVD.js} +27 -28
- package/chunks/{team-delete-FJRFX33M.js → team-delete-RZVVSGCY.js} +2 -2
- package/chunks/{team-plan-approval-P7DAD644.js → team-plan-approval-SXWT2WZN.js} +27 -28
- package/chunks/{terminal-image-renderer-SMQE46UJ.js → terminal-image-renderer-42B6N55E.js} +36 -37
- package/chunks/{theme-manager-RFO5WWFF.js → theme-manager-DDYUBC25.js} +36 -37
- package/chunks/{tool-search-F2EMIAPV.js → tool-search-GDDBA4X4.js} +9 -9
- package/chunks/{total-session-admission-HTVTP4BS.js → total-session-admission-6MYP4GBA.js} +40 -41
- package/chunks/{trustedFolders-7OCNMUQE.js → trustedFolders-LPEIY3GE.js} +38 -39
- package/chunks/{types-WYCFCEHR.js → types-HKLPXZB3.js} +1 -3
- package/chunks/{update-relaunch-4GF3OXMB.js → update-relaunch-BOIIZNT3.js} +6 -6
- package/chunks/{updateCheck-7QBDXZRT.js → updateCheck-KSVHYJYE.js} +40 -41
- package/chunks/{useAutoAcceptIndicator-UI4SNL2O.js → useAutoAcceptIndicator-43D2A4ZN.js} +46 -47
- package/chunks/{validateNonInterActiveAuth-BPPA563H.js → validateNonInterActiveAuth-WSD4SOIM.js} +79 -78
- package/chunks/{version-ANP4TS6O.js → version-B4CM7RNG.js} +1 -1
- package/chunks/{web-fetch-QJADSAH3.js → web-fetch-MOHILUZL.js} +8 -10
- package/chunks/{web-search-7TTQKEKM.js → web-search-G4HIMY2V.js} +5 -7
- package/chunks/{web-shell-static-A6QMUNNV.js → web-shell-static-HNB4FDOE.js} +2 -2
- package/chunks/{workflow-5XN6XSOT.js → workflow-H3PCYU5F.js} +50 -60
- package/chunks/{workspace-providers-status-PDFZWL5Q.js → workspace-providers-status-AAX7VWMT.js} +48 -49
- package/chunks/{workspace-registration-store-XKVW2YVH.js → workspace-registration-store-YTHZ6SL4.js} +1 -1
- package/chunks/{workspace-registry-23R7XRB5.js → workspace-registry-URHGBL4U.js} +40 -41
- package/chunks/{workspace-service-MUYO2QIC.js → workspace-service-XJMSLRCU.js} +49 -53
- package/chunks/{workspace-skills-status-IKECTOOQ.js → workspace-skills-status-JGEDANNT.js} +47 -48
- package/chunks/{workspace-trust-reconciler-KLGOB53D.js → workspace-trust-reconciler-ZHI5TDYB.js} +48 -49
- package/chunks/{write-file-GGRBB5TZ.js → write-file-5O4S63L6.js} +29 -30
- package/chunks/{zoom-image-6ASG6J4C.js → zoom-image-N2IBUVXE.js} +5 -5
- package/cli.js +128 -91
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-uS-vtfs3.js → abnfDiagram-VCTEODGH-OJQpqC9m.js} +1 -1
- package/web-shell/assets/{arc-BSTnk5pu.js → arc-BxH0YR17.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DCMyiqzy.js → architectureDiagram-5GKGNRK7-CxyWiGfF.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-C7_gt0r1.js → blockDiagram-NRAW4CY4-DukXbJQ7.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BeQg2L8B.js → c4Diagram-UCG6FXSJ-DvS1T6pK.js} +1 -1
- package/web-shell/assets/channel-Dbbg7P-u.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DnV9bKBe.js → chunk-2Q5K7J3B-qvqfJ7VZ.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-rT1GAcT7.js → chunk-5VM5RSS4-BJ3kJYte.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-BcgSxqGA.js → chunk-F27PBJKO-BYPVESil.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Bw1ZhyZq.js → chunk-G27WJ6UU-B4UYFElk.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-D4iDw-96.js → chunk-JWPE2WC7-8zGKVNUU.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D3MB3GTZ.js → chunk-LCL6LL3I-CbaHONpI.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Cep2ndrS.js → chunk-POPQ4Y6H-f8kAjzlF.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-BuahMHJc.js → chunk-SVP7TREG-Dm8ahq7K.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BdujIvJY.js → chunk-XXDRQBXY-yrcLzv8z.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-cDYs8iT0.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-cDYs8iT0.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CGLLUbF8.js → cose-bilkent-JH36ORCC-DN1C22IH.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-D6kDsRSh.js → cynefin-OW5HDTMX-B2oF7XD_.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CCy78qZx.js → cynefinDiagram-5FMLGOSQ-DGgIKpiM.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-D5gJuJsf.js → dagre-3AP2YEHR-BHKawzoP.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-ZwEZ5W__.js → diagram-S7CK7UJ4-6UgKqreR.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-B036APjv.js → diagram-UQ7AKVKN-BXJbPJ6F.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-BfDJ57Fq.js → diagram-VSXAHHWV-DVnYFPkS.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-Wha0p5rT.js → diagram-VX7I27RA-CjBoC0Rq.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-L20bz2K1.js → diagram-Z3DM3KII-KZdUceQT.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-D1ZM0Cp7.js → ebnfDiagram-PWID7BFC-5UekGScM.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CMtA19v8.js → erDiagram-SSCWMZ5O-TRWexoj1.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-D96m326S.js → flowDiagram-A5DVABFB-Di5bhBVo.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BuHiYG2o.js → ganttDiagram-EL5Y4UJY-DpJUJ8Dp.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Ck3NmkSw.js → gitGraphDiagram-WWUBYQGX-b08xIx2C.js} +1 -1
- package/web-shell/assets/index-BvDpDHTN.css +36 -0
- package/web-shell/assets/index-Cg60lhnI.js +1913 -0
- package/web-shell/assets/{index-CBGz4Qjl.js → index-n6dFH09O.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-B6DAOyXe.js → infoDiagram-RXCK75RN-Cz14FAt7.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-Bpg-joFo.js → ishikawaDiagram-5VMMS53U-7nxp2bIU.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BclrHzGa.js → journeyDiagram-EYS64GPL-CjL47fk0.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-5gJzNTYG.js → kanban-definition-3QL26DDD-CWFl-mHs.js} +1 -1
- package/web-shell/assets/{layout-CEz_1L8z.js → layout-BUP1BcwB.js} +1 -1
- package/web-shell/assets/{linear-CBjTq9Hc.js → linear-CqbwqSbW.js} +1 -1
- package/web-shell/assets/{mermaid.core-Dzhbxx_I.js → mermaid.core-C_50HLol.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DQdVqlBF.js → mindmap-definition-FBJOCRG2-DbyD_AoU.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-D1JZlYXL.js → pegDiagram-XKGWAZYB-VozWyqyY.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-BmkpYL0w.js → pieDiagram-E7YTZNPT-O7EKamBL.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DRvD6co5.js → quadrantDiagram-AXDQQJYC-DOmPZxHg.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-CEdjDuoo.js → railroadDiagram-O6MQD6OU-ElyfC2zE.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BCHG-ie8.js → requirementDiagram-EFPCY7ZU-DbnqPbzR.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-C9cZMnye.js → sankeyDiagram-P5KCCOFB-yPWliSHr.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DYHRV4zL.js → sequenceDiagram-WJ2MYXX4-BImQFomC.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DlK21aye.js → sizeCapture-X5ZJPWSS-DEvqeEHo.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BrmZssvk.js → stateDiagram-HBIQ2CUA-BbLtiF9u.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DGtlzdpx.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-D9xfcayR.js → swimlanes-XN3QIQJK-RFewDF6v.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CITCVFdx.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-D4gdDL_d.js → timeline-definition-24CTP7MA-DF4L3-UR.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DdhIExjI.js → vennDiagram-4TSXK5OY-BtlSJXaA.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C9RS_Zof.js → wardleyDiagram-VM6X3IG4-C8ogG8Fh.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-orRgmxWk.js → xychartDiagram-S5SC5T6Z-C5QVfsGQ.js} +1 -1
- package/web-shell/index.html +3 -3
- package/chunks/chunk-7DJCPZE3.js +0 -945
- package/chunks/chunk-J2OSJFP3.js +0 -202
- package/chunks/chunk-K2OJUPOE.js +0 -78
- package/chunks/chunk-P3QQPMQA.js +0 -19
- package/chunks/chunk-T26EAKDL.js +0 -13
- package/chunks/process-registry-PMJOA5CO.js +0 -172
- package/web-shell/assets/channel-CENAhErJ.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CM6FArGH.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CM6FArGH.js +0 -1
- package/web-shell/assets/index-8hXIpvo4.js +0 -1865
- package/web-shell/assets/index-DclEv91i.css +0 -5
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-B2Q7XDaE.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DpZPOSbX.js +0 -8
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
recomputeMcpGating
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MAQ2W4IF.js";
|
|
6
6
|
import {
|
|
7
7
|
classifyApiError,
|
|
8
8
|
fireSessionDeleteHook
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
normalizePartList,
|
|
18
18
|
parseExtensionRef,
|
|
19
19
|
parseMcpServerRef
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PO6YCWIQ.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailableCommands,
|
|
23
23
|
getSlashCommandFirstToken,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
isSlashCommand,
|
|
27
27
|
recordDaemonSessionModel,
|
|
28
28
|
restoreSessionModelThenAuthenticate
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BP5PTNCU.js";
|
|
30
30
|
import {
|
|
31
31
|
SessionIdConflictError,
|
|
32
32
|
appEvents,
|
|
@@ -34,32 +34,32 @@ import {
|
|
|
34
34
|
cleanupReviewWorktreeLeases,
|
|
35
35
|
loadCliConfig,
|
|
36
36
|
normalizeDisabledToolList
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TGJ2PKCW.js";
|
|
38
38
|
import "./chunk-NYX53SV4.js";
|
|
39
39
|
import {
|
|
40
40
|
collectContextData,
|
|
41
41
|
formatContextUsageText
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YN44TEOZ.js";
|
|
43
43
|
import {
|
|
44
44
|
getCommandSubcommandNames
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FIKYKQOO.js";
|
|
46
46
|
import {
|
|
47
47
|
getEffectiveSupportedModes
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-OJEMXKA4.js";
|
|
49
|
+
import "./chunk-CFJY4DGX.js";
|
|
50
50
|
import "./chunk-4WGODMVR.js";
|
|
51
51
|
import "./chunk-3SH53ANB.js";
|
|
52
52
|
import {
|
|
53
53
|
isGoalStatusKind
|
|
54
54
|
} from "./chunk-EKTCKZV5.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-PI6HYGBE.js";
|
|
56
56
|
import "./chunk-YAF2MQZ6.js";
|
|
57
57
|
import "./chunk-QFCDF5PL.js";
|
|
58
58
|
import {
|
|
59
59
|
startNonInteractiveOpenAILogHousekeeping
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-3WJLDA3X.js";
|
|
61
61
|
import "./chunk-KW7NOTN6.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-W7HH77GN.js";
|
|
63
63
|
import "./chunk-6H67XLET.js";
|
|
64
64
|
import {
|
|
65
65
|
beginAcpBootstrapConfigProfiling,
|
|
@@ -67,9 +67,9 @@ import {
|
|
|
67
67
|
endAcpBootstrapConfigProfiling,
|
|
68
68
|
markAcpStartup
|
|
69
69
|
} from "./chunk-5JTIYALA.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-J7SS77YW.js";
|
|
71
|
+
import "./chunk-CVUBULIX.js";
|
|
72
|
+
import "./chunk-UAOTD2BN.js";
|
|
73
73
|
import {
|
|
74
74
|
computeCpuPercent
|
|
75
75
|
} from "./chunk-LBOVL47Y.js";
|
|
@@ -85,7 +85,6 @@ import {
|
|
|
85
85
|
createWorkspaceMemoryExtractionErrorLogger,
|
|
86
86
|
executeGeneration,
|
|
87
87
|
formatWorkspaceMemoryForgetSummary,
|
|
88
|
-
isCompatibleLiveSessionSource,
|
|
89
88
|
isValidServerName,
|
|
90
89
|
projectAcpToolResultUpdate,
|
|
91
90
|
redactMcpServerSecrets,
|
|
@@ -94,7 +93,7 @@ import {
|
|
|
94
93
|
shouldSuppressRememberErrorDetails,
|
|
95
94
|
workspaceMemoryFailureCode,
|
|
96
95
|
workspaceMemoryFailureDiagnostics
|
|
97
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-PQZBDDNG.js";
|
|
98
97
|
import {
|
|
99
98
|
BaseEmitter,
|
|
100
99
|
HistoryReplayer,
|
|
@@ -105,13 +104,17 @@ import {
|
|
|
105
104
|
hasFullSessionContext,
|
|
106
105
|
observeAcpToolResultProjection,
|
|
107
106
|
observeAcpToolResultWire
|
|
108
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-NENQE7VH.js";
|
|
109
108
|
import "./chunk-BFPESSTR.js";
|
|
110
109
|
import "./chunk-E7REAOTN.js";
|
|
111
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-ZZUKP7HV.js";
|
|
112
111
|
import "./chunk-2MIN6GRR.js";
|
|
113
112
|
import "./chunk-QHTIBUWB.js";
|
|
114
113
|
import "./chunk-TXASDT2M.js";
|
|
114
|
+
import {
|
|
115
|
+
isCompatibleLiveSessionSource
|
|
116
|
+
} from "./chunk-36LGBEM6.js";
|
|
117
|
+
import "./chunk-4VQBQLIZ.js";
|
|
115
118
|
import {
|
|
116
119
|
DAEMON_OWNED_STANDALONE_CREATION_KEY,
|
|
117
120
|
SESSION_SOURCE_META_KEY,
|
|
@@ -122,9 +125,9 @@ import {
|
|
|
122
125
|
buildToolWriteOriginMeta,
|
|
123
126
|
getConversationDirectoryName,
|
|
124
127
|
isSameConversationPath
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import "./chunk-UXEO7E3V.js";
|
|
128
|
+
} from "./chunk-U54AYGEC.js";
|
|
127
129
|
import "./chunk-RXFQM6FQ.js";
|
|
130
|
+
import "./chunk-UXEO7E3V.js";
|
|
128
131
|
import {
|
|
129
132
|
normalizeChannelDeliveryText
|
|
130
133
|
} from "./chunk-4CMJKUND.js";
|
|
@@ -138,19 +141,19 @@ import {
|
|
|
138
141
|
buildPermissionSettings,
|
|
139
142
|
normalizePermissionRules,
|
|
140
143
|
readPermissionRuleSet
|
|
141
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-44LKG3IY.js";
|
|
142
145
|
import {
|
|
143
146
|
MAX_AUDIO_BYTES,
|
|
144
147
|
sanitizeVoiceErrorMessage,
|
|
145
148
|
transcribeVoiceAudio
|
|
146
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-URE3QBBB.js";
|
|
147
150
|
import {
|
|
148
151
|
readVoiceModel
|
|
149
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-A3LWD5MK.js";
|
|
150
153
|
import "./chunk-YTDVNSUQ.js";
|
|
151
|
-
import "./chunk-
|
|
152
|
-
import "./chunk-
|
|
153
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-HHQJANFM.js";
|
|
155
|
+
import "./chunk-IZDKYNKN.js";
|
|
156
|
+
import "./chunk-SS4MRMKE.js";
|
|
154
157
|
import "./chunk-7U5G6JXI.js";
|
|
155
158
|
import "./chunk-WCCLLK7X.js";
|
|
156
159
|
import {
|
|
@@ -160,7 +163,7 @@ import {
|
|
|
160
163
|
buildModelReasoningConfigOption,
|
|
161
164
|
buildModelReasoningConfigPreview,
|
|
162
165
|
getModelConfiguration
|
|
163
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-T4EFG2P5.js";
|
|
164
167
|
import {
|
|
165
168
|
ACP_ROUTE_ID_PREFIX,
|
|
166
169
|
buildAcpModelOptions,
|
|
@@ -169,23 +172,23 @@ import {
|
|
|
169
172
|
parseAcpModelOption,
|
|
170
173
|
resolveAcpModelOption,
|
|
171
174
|
sanitizeProviderBaseUrl
|
|
172
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-VKCJPNGU.js";
|
|
173
176
|
import {
|
|
174
177
|
mapSkillConfigToStatus
|
|
175
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-N4X7G4J2.js";
|
|
176
179
|
import {
|
|
177
180
|
resolveSkillSettings
|
|
178
|
-
} from "./chunk-
|
|
179
|
-
import "./chunk-
|
|
180
|
-
import "./chunk-
|
|
181
|
+
} from "./chunk-HCOBAG2L.js";
|
|
182
|
+
import "./chunk-AMLXTTJJ.js";
|
|
183
|
+
import "./chunk-JWDMKJG5.js";
|
|
181
184
|
import "./chunk-57OAHC2Y.js";
|
|
182
|
-
import "./chunk-
|
|
183
|
-
import "./chunk-
|
|
184
|
-
import "./chunk-
|
|
185
|
+
import "./chunk-Y5S7LBOZ.js";
|
|
186
|
+
import "./chunk-3XKLXHGK.js";
|
|
187
|
+
import "./chunk-HVC3PNVC.js";
|
|
185
188
|
import "./chunk-V6WHFGST.js";
|
|
186
189
|
import {
|
|
187
190
|
createLoadedSettingsAdapter
|
|
188
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-SEDFP3ZI.js";
|
|
189
192
|
import {
|
|
190
193
|
ndJsonStream
|
|
191
194
|
} from "./chunk-H72BQNM3.js";
|
|
@@ -196,8 +199,8 @@ import {
|
|
|
196
199
|
SERVE_STATUS_EXT_METHODS,
|
|
197
200
|
STATUS_SCHEMA_VERSION,
|
|
198
201
|
mapDomainErrorToErrorKind
|
|
199
|
-
} from "./chunk-
|
|
200
|
-
import "./chunk-
|
|
202
|
+
} from "./chunk-KID24ZFN.js";
|
|
203
|
+
import "./chunk-FTF2YIZ5.js";
|
|
201
204
|
import {
|
|
202
205
|
ACTIVE_WORK_CLOSE_IF_UNHELD_PARAM,
|
|
203
206
|
ACTIVE_WORK_HEARTBEAT_META_KEY,
|
|
@@ -241,9 +244,9 @@ import {
|
|
|
241
244
|
import "./chunk-6PLDPT2C.js";
|
|
242
245
|
import "./chunk-FYJ7W2PI.js";
|
|
243
246
|
import "./chunk-STUJ7IMZ.js";
|
|
244
|
-
import "./chunk-JVPFTDBK.js";
|
|
245
|
-
import "./chunk-ALMR3E6Q.js";
|
|
246
247
|
import "./chunk-GYTKQYDB.js";
|
|
248
|
+
import "./chunk-RFIDDFAL.js";
|
|
249
|
+
import "./chunk-ALMR3E6Q.js";
|
|
247
250
|
import "./chunk-RKFGE7JH.js";
|
|
248
251
|
import "./chunk-UDG5EZJI.js";
|
|
249
252
|
import {
|
|
@@ -260,7 +263,7 @@ import "./chunk-7EQQR46F.js";
|
|
|
260
263
|
import {
|
|
261
264
|
ACP_EVENT_LOOP_STALL_RESTART_MS,
|
|
262
265
|
CHANNEL_PROMPT_META_KEY
|
|
263
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-ICURCKIU.js";
|
|
264
267
|
import {
|
|
265
268
|
AgentSideConnection,
|
|
266
269
|
PROTOCOL_VERSION,
|
|
@@ -269,7 +272,7 @@ import {
|
|
|
269
272
|
import {
|
|
270
273
|
assembleMcpServers,
|
|
271
274
|
loadMcpApprovals
|
|
272
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-F5RB4S23.js";
|
|
273
276
|
import {
|
|
274
277
|
getOutputLanguageFilePath,
|
|
275
278
|
getPersistScopeForModelSelection,
|
|
@@ -278,9 +281,9 @@ import {
|
|
|
278
281
|
resolveOutputLanguageOrPreserveAuto,
|
|
279
282
|
updateOutputLanguageFile,
|
|
280
283
|
writeOutputLanguageAndRegisterPath
|
|
281
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-5SBVOOA2.js";
|
|
282
285
|
import "./chunk-RKUWKYED.js";
|
|
283
|
-
import "./chunk-
|
|
286
|
+
import "./chunk-RZKOA4JE.js";
|
|
284
287
|
import "./chunk-GOXKNSDZ.js";
|
|
285
288
|
import {
|
|
286
289
|
getSystemDefaultsPath,
|
|
@@ -289,7 +292,7 @@ import {
|
|
|
289
292
|
import {
|
|
290
293
|
getCurrentLanguage,
|
|
291
294
|
setLanguageAsync
|
|
292
|
-
} from "./chunk-
|
|
295
|
+
} from "./chunk-CLWO3B77.js";
|
|
293
296
|
import {
|
|
294
297
|
SUPPORTED_LANGUAGES
|
|
295
298
|
} from "./chunk-5EJZE3FP.js";
|
|
@@ -297,19 +300,19 @@ import {
|
|
|
297
300
|
findEnvFiles,
|
|
298
301
|
preResolveHomeEnvOverrides,
|
|
299
302
|
reloadEnvironment
|
|
300
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-5ZJL3AIV.js";
|
|
301
304
|
import {
|
|
302
305
|
ENV_ACP_REPEATED_TOOL_FAILURE_GUARD,
|
|
303
306
|
QWEN_CODE_SERVE_ENV
|
|
304
|
-
} from "./chunk-
|
|
305
|
-
import "./chunk-
|
|
306
|
-
import "./chunk-
|
|
307
|
+
} from "./chunk-MZCJWS5Y.js";
|
|
308
|
+
import "./chunk-2AEHQRY2.js";
|
|
309
|
+
import "./chunk-GIHXH2KO.js";
|
|
307
310
|
import "./chunk-W3N5XAZ6.js";
|
|
308
311
|
import {
|
|
309
312
|
isFolderTrustEnabled,
|
|
310
313
|
isWorkspaceTrusted,
|
|
311
314
|
loadTrustedFolders
|
|
312
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-H4LCV44K.js";
|
|
313
316
|
import "./chunk-NPQ5ZKRP.js";
|
|
314
317
|
import "./chunk-MR3PXB6E.js";
|
|
315
318
|
import {
|
|
@@ -339,8 +342,8 @@ import {
|
|
|
339
342
|
resolveBaseUrl,
|
|
340
343
|
runManagedRememberByAgent,
|
|
341
344
|
subagentGenerator
|
|
342
|
-
} from "./chunk-
|
|
343
|
-
import "./chunk-
|
|
345
|
+
} from "./chunk-BFYGL2XL.js";
|
|
346
|
+
import "./chunk-VNMZLAVG.js";
|
|
344
347
|
import "./chunk-XFSFZCM5.js";
|
|
345
348
|
import "./chunk-2EAZ43JQ.js";
|
|
346
349
|
import "./chunk-NF5J2WFA.js";
|
|
@@ -348,21 +351,21 @@ import {
|
|
|
348
351
|
CreateSubSessionTool
|
|
349
352
|
} from "./chunk-CQH5KTKC.js";
|
|
350
353
|
import "./chunk-LJZSMWOH.js";
|
|
351
|
-
import "./chunk-
|
|
352
|
-
import "./chunk-
|
|
353
|
-
import "./chunk-
|
|
354
|
+
import "./chunk-TU6WVK67.js";
|
|
355
|
+
import "./chunk-WNPDGUJO.js";
|
|
356
|
+
import "./chunk-K5KXUXWC.js";
|
|
354
357
|
import {
|
|
355
358
|
restoreWorktreeContext
|
|
356
|
-
} from "./chunk-
|
|
357
|
-
import "./chunk-
|
|
359
|
+
} from "./chunk-62GQFYID.js";
|
|
360
|
+
import "./chunk-AYFA7MZV.js";
|
|
358
361
|
import "./chunk-XQFT3QUF.js";
|
|
359
362
|
import "./chunk-VTHREBQM.js";
|
|
360
363
|
import "./chunk-ZPJWUGCS.js";
|
|
361
364
|
import {
|
|
362
365
|
clearCachedCredentialFile,
|
|
363
366
|
qwenOAuth2Events
|
|
364
|
-
} from "./chunk-
|
|
365
|
-
import "./chunk-
|
|
367
|
+
} from "./chunk-3JXM2CVW.js";
|
|
368
|
+
import "./chunk-ST5V3ZOC.js";
|
|
366
369
|
import {
|
|
367
370
|
APPROVAL_MODE_INFO,
|
|
368
371
|
BranchPointInvalidError,
|
|
@@ -380,7 +383,6 @@ import {
|
|
|
380
383
|
MessageDisplayDispatcher,
|
|
381
384
|
PLAN_MODE_ENTRY_SIBLING_SKIP_MESSAGE,
|
|
382
385
|
POOLED_TRANSPORTS_DEFAULT,
|
|
383
|
-
SESSION_ARTIFACT_PERSISTENCE_VERSION,
|
|
384
386
|
SESSION_TITLE_MAX_LENGTH,
|
|
385
387
|
SESSION_TRANSCRIPT_MAX_LIMIT,
|
|
386
388
|
SESSION_TRANSCRIPT_MAX_PAGE_BYTES,
|
|
@@ -397,6 +399,7 @@ import {
|
|
|
397
399
|
TURN_RESULT_TEXT_MAX_CHARS,
|
|
398
400
|
abortGoalForStopHookCap,
|
|
399
401
|
acquireSleepInhibitor,
|
|
402
|
+
ambientGoalToolResultProvenance,
|
|
400
403
|
applyAutoModeDecision,
|
|
401
404
|
approxBase64Bytes,
|
|
402
405
|
bridgeToolResultImages,
|
|
@@ -431,12 +434,10 @@ import {
|
|
|
431
434
|
formatStopHookBlockingCapWarning,
|
|
432
435
|
generateToolUseId,
|
|
433
436
|
getActiveGoal,
|
|
434
|
-
getArenaSystemReminder,
|
|
435
437
|
getAutoModePermissionDeniedReason,
|
|
436
438
|
getEffectivePermissionForConfirmation,
|
|
437
439
|
getFunctionCallFingerprint,
|
|
438
440
|
getMCPDiscoveryState,
|
|
439
|
-
getPlanModeSystemReminder,
|
|
440
441
|
getProviderToolCallId,
|
|
441
442
|
getScopedEnvContents,
|
|
442
443
|
getStopHookContinuationReason,
|
|
@@ -454,8 +455,6 @@ import {
|
|
|
454
455
|
mcpServerRequiresOAuth,
|
|
455
456
|
needsConfirmation,
|
|
456
457
|
normalizeDerivedBranchTitle,
|
|
457
|
-
normalizeEventPayload,
|
|
458
|
-
normalizeSnapshotPayload,
|
|
459
458
|
normalizeTurnResultError,
|
|
460
459
|
observeToolResultBoundary,
|
|
461
460
|
persistPermissionOutcome,
|
|
@@ -479,7 +478,7 @@ import {
|
|
|
479
478
|
updateSetting,
|
|
480
479
|
validatePlanModeShellApproval,
|
|
481
480
|
validatePlanModeShellContext
|
|
482
|
-
} from "./chunk-
|
|
481
|
+
} from "./chunk-ECE3UYVO.js";
|
|
483
482
|
import "./chunk-GOFAQQZA.js";
|
|
484
483
|
import "./chunk-5M6IDOMF.js";
|
|
485
484
|
import "./chunk-TWPJO254.js";
|
|
@@ -487,15 +486,20 @@ import {
|
|
|
487
486
|
external_exports
|
|
488
487
|
} from "./chunk-CQ35AJ4Z.js";
|
|
489
488
|
import "./chunk-EKSCLBBF.js";
|
|
490
|
-
import "./chunk-
|
|
491
|
-
import "./chunk-
|
|
492
|
-
import "./chunk-
|
|
489
|
+
import "./chunk-LUEHOUHM.js";
|
|
490
|
+
import "./chunk-WXEA74YB.js";
|
|
491
|
+
import "./chunk-42IDLQWS.js";
|
|
493
492
|
import {
|
|
494
493
|
parsePositiveIntegerEnv
|
|
495
494
|
} from "./chunk-6PVPNMXU.js";
|
|
496
495
|
import {
|
|
497
496
|
RUNTIME_SNAPSHOT_PREFIX
|
|
498
497
|
} from "./chunk-JB4JIVTJ.js";
|
|
498
|
+
import {
|
|
499
|
+
SESSION_ARTIFACT_PERSISTENCE_VERSION,
|
|
500
|
+
normalizeEventPayload,
|
|
501
|
+
normalizeSnapshotPayload
|
|
502
|
+
} from "./chunk-DJBQCO2E.js";
|
|
499
503
|
import "./chunk-IRH27ZC2.js";
|
|
500
504
|
import "./chunk-QHWCP53L.js";
|
|
501
505
|
import "./chunk-D5LUXLUH.js";
|
|
@@ -503,19 +507,30 @@ import {
|
|
|
503
507
|
promptIdContext,
|
|
504
508
|
todoWorkChainContext
|
|
505
509
|
} from "./chunk-O6GEWCJA.js";
|
|
506
|
-
import
|
|
507
|
-
|
|
510
|
+
import {
|
|
511
|
+
getArenaSystemReminder,
|
|
512
|
+
getPlanModeSystemReminder
|
|
513
|
+
} from "./chunk-LGO7DEXL.js";
|
|
514
|
+
import "./chunk-2SXSLSQE.js";
|
|
508
515
|
import "./chunk-CPBF7KYF.js";
|
|
509
|
-
import
|
|
516
|
+
import {
|
|
517
|
+
AgentOutputMessageCapture,
|
|
518
|
+
addAgentInputMessageAttributes,
|
|
519
|
+
addToolArgumentsAttributes,
|
|
520
|
+
addToolCallResultAttributes,
|
|
521
|
+
registerAcpEventLoopLagGauge,
|
|
522
|
+
startEventLoopLagMonitor
|
|
523
|
+
} from "./chunk-KJO2LBUK.js";
|
|
510
524
|
import {
|
|
511
525
|
HookEventName,
|
|
512
526
|
createHookOutput
|
|
513
527
|
} from "./chunk-TTX2JUE6.js";
|
|
514
|
-
import "./chunk-
|
|
515
|
-
import "./chunk-
|
|
528
|
+
import "./chunk-4K7KNVWH.js";
|
|
529
|
+
import "./chunk-QJNDUTOL.js";
|
|
530
|
+
import "./chunk-UVY67MSH.js";
|
|
516
531
|
import "./chunk-JWALNCLT.js";
|
|
517
532
|
import "./chunk-NIFYWDYN.js";
|
|
518
|
-
import "./chunk-
|
|
533
|
+
import "./chunk-C2X7KY45.js";
|
|
519
534
|
import {
|
|
520
535
|
GoalConflictError,
|
|
521
536
|
GoalInvalidTransitionError,
|
|
@@ -524,50 +539,41 @@ import {
|
|
|
524
539
|
goalTurnContext,
|
|
525
540
|
parseGoalControlRequest,
|
|
526
541
|
parseGoalSnapshotV2,
|
|
527
|
-
parseGoalStateCause
|
|
542
|
+
parseGoalStateCause
|
|
543
|
+
} from "./chunk-JHYH6PYQ.js";
|
|
544
|
+
import {
|
|
528
545
|
wrapUserPromptSubmitContext
|
|
529
|
-
} from "./chunk-
|
|
546
|
+
} from "./chunk-7J6OTNGO.js";
|
|
530
547
|
import {
|
|
531
548
|
APPROVAL_MODES
|
|
532
549
|
} from "./chunk-V5J4J5TP.js";
|
|
533
550
|
import "./chunk-MLXTMF7H.js";
|
|
534
551
|
import "./chunk-NAVJD2PQ.js";
|
|
535
|
-
import "./chunk-
|
|
536
|
-
import "./chunk-
|
|
552
|
+
import "./chunk-B466ZSHZ.js";
|
|
553
|
+
import "./chunk-4QHPPXK2.js";
|
|
537
554
|
import "./chunk-QHMLYMMS.js";
|
|
538
|
-
import {
|
|
539
|
-
AgentOutputMessageCapture,
|
|
540
|
-
addAgentInputMessageAttributes,
|
|
541
|
-
addToolArgumentsAttributes,
|
|
542
|
-
addToolCallResultAttributes,
|
|
543
|
-
registerAcpEventLoopLagGauge,
|
|
544
|
-
startEventLoopLagMonitor
|
|
545
|
-
} from "./chunk-7DJCPZE3.js";
|
|
546
|
-
import "./chunk-P3QQPMQA.js";
|
|
547
555
|
import {
|
|
548
556
|
addDaemonRequestAttribute,
|
|
549
557
|
extractDaemonTraceContext,
|
|
550
558
|
withDaemonSpan
|
|
551
|
-
} from "./chunk-
|
|
559
|
+
} from "./chunk-3WK3QDNV.js";
|
|
552
560
|
import "./chunk-VNOVK4I7.js";
|
|
553
|
-
import "./chunk-
|
|
554
|
-
import "./chunk-
|
|
561
|
+
import "./chunk-PQEISIKS.js";
|
|
562
|
+
import "./chunk-EB6QRGHM.js";
|
|
555
563
|
import {
|
|
556
564
|
runWithRuntimeContentGenerator
|
|
557
565
|
} from "./chunk-CMHFCLBU.js";
|
|
558
566
|
import "./chunk-S6LOFUVP.js";
|
|
567
|
+
import {
|
|
568
|
+
getToolCallPreparations
|
|
569
|
+
} from "./chunk-CFKIH3D3.js";
|
|
559
570
|
import {
|
|
560
571
|
REASONING_EFFORT_TIERS,
|
|
561
572
|
applyReasoningEffort
|
|
562
573
|
} from "./chunk-2LD5U7Q3.js";
|
|
563
574
|
import "./chunk-DJ2GSRLV.js";
|
|
564
|
-
import "./chunk-
|
|
565
|
-
import "./chunk-
|
|
566
|
-
import {
|
|
567
|
-
getToolCallPreparations
|
|
568
|
-
} from "./chunk-CFKIH3D3.js";
|
|
569
|
-
import "./chunk-4FTKQNWJ.js";
|
|
570
|
-
import "./chunk-Y3QL45LS.js";
|
|
575
|
+
import "./chunk-DYXFD5RO.js";
|
|
576
|
+
import "./chunk-V4264FEG.js";
|
|
571
577
|
import {
|
|
572
578
|
ConversationFinishedEvent,
|
|
573
579
|
DiscoveredMCPTool,
|
|
@@ -598,13 +604,13 @@ import {
|
|
|
598
604
|
shouldRunVisionBridge,
|
|
599
605
|
splitImageParts,
|
|
600
606
|
uiTelemetryService
|
|
601
|
-
} from "./chunk-
|
|
602
|
-
import "./chunk-
|
|
607
|
+
} from "./chunk-QYMAKPY5.js";
|
|
608
|
+
import "./chunk-XBVNNDPK.js";
|
|
603
609
|
import "./chunk-VGC4I5JJ.js";
|
|
604
610
|
import {
|
|
605
|
-
|
|
611
|
+
getAllMemoryFilenames,
|
|
606
612
|
getSpecificMimeType
|
|
607
|
-
} from "./chunk-
|
|
613
|
+
} from "./chunk-BKWNKLZB.js";
|
|
608
614
|
import {
|
|
609
615
|
getAutoMemoryRoot,
|
|
610
616
|
getUserAutoMemoryRoot
|
|
@@ -621,7 +627,7 @@ import "./chunk-6DIGWMGT.js";
|
|
|
621
627
|
import {
|
|
622
628
|
hasVertexProjectConfigured,
|
|
623
629
|
preloadContentGenerator
|
|
624
|
-
} from "./chunk-
|
|
630
|
+
} from "./chunk-ARF6IJHM.js";
|
|
625
631
|
import "./chunk-XZA32HII.js";
|
|
626
632
|
import "./chunk-23RFD54N.js";
|
|
627
633
|
import {
|
|
@@ -638,7 +644,7 @@ import {
|
|
|
638
644
|
startToolExecutionSpan,
|
|
639
645
|
startToolSpan,
|
|
640
646
|
withInteractionSpan
|
|
641
|
-
} from "./chunk-
|
|
647
|
+
} from "./chunk-B5PHIJGI.js";
|
|
642
648
|
import "./chunk-74TONY4F.js";
|
|
643
649
|
import "./chunk-XF63PKEN.js";
|
|
644
650
|
import {
|
|
@@ -665,14 +671,15 @@ import {
|
|
|
665
671
|
isSubpath,
|
|
666
672
|
sessionIdContext
|
|
667
673
|
} from "./chunk-UHQFIS7N.js";
|
|
668
|
-
import "./chunk-
|
|
674
|
+
import "./chunk-BIJEBAAQ.js";
|
|
675
|
+
import "./chunk-WLEYH7CD.js";
|
|
669
676
|
import {
|
|
670
677
|
runExitCleanup
|
|
671
|
-
} from "./chunk-
|
|
678
|
+
} from "./chunk-K6CTN5TU.js";
|
|
672
679
|
import {
|
|
673
680
|
writeStderrLine,
|
|
674
681
|
writeStderrLineSafe
|
|
675
|
-
} from "./chunk-
|
|
682
|
+
} from "./chunk-7FA2II6K.js";
|
|
676
683
|
import "./chunk-75DOP5OR.js";
|
|
677
684
|
import "./chunk-DMTGGOSA.js";
|
|
678
685
|
import "./chunk-YQ3U5MUC.js";
|
|
@@ -1050,9 +1057,6 @@ function inactiveExtensionSkillRefs(config) {
|
|
|
1050
1057
|
if (extension.isActive) continue;
|
|
1051
1058
|
for (const skill of extension.skills ?? []) {
|
|
1052
1059
|
refs.add(extensionSkillRef(extension.name, skill.name));
|
|
1053
|
-
if (extension.displayName) {
|
|
1054
|
-
refs.add(extensionSkillRef(extension.displayName, skill.name));
|
|
1055
|
-
}
|
|
1056
1060
|
}
|
|
1057
1061
|
}
|
|
1058
1062
|
return refs;
|
|
@@ -3871,13 +3875,13 @@ async function registerCreateSubSessionTool(config) {
|
|
|
3871
3875
|
ToolNames.CREATE_SUB_SESSION,
|
|
3872
3876
|
async () => new CreateSubSessionTool(config)
|
|
3873
3877
|
);
|
|
3874
|
-
await config.
|
|
3878
|
+
await config.getLlmClient().setTools();
|
|
3875
3879
|
return;
|
|
3876
3880
|
}
|
|
3877
3881
|
toolRegistry.registerTool(new CreateSubSessionTool(config));
|
|
3878
3882
|
toolRegistry.revealDeferredTool(ToolNames.CREATE_SUB_SESSION);
|
|
3879
3883
|
toolRegistry.pinDeferredToolReveal(ToolNames.CREATE_SUB_SESSION);
|
|
3880
|
-
await config.
|
|
3884
|
+
await config.getLlmClient().setTools();
|
|
3881
3885
|
}
|
|
3882
3886
|
__name(registerCreateSubSessionTool, "registerCreateSubSessionTool");
|
|
3883
3887
|
var STANDALONE_SLASH_COMMAND_POLICY = Object.freeze({
|
|
@@ -4211,6 +4215,7 @@ var Session = class {
|
|
|
4211
4215
|
controller: new AbortController(),
|
|
4212
4216
|
origin: "runtime",
|
|
4213
4217
|
continuationContext: input.continuationContext,
|
|
4218
|
+
...input.objectiveUpdated ? { objectiveUpdated: input.objectiveUpdated } : {},
|
|
4214
4219
|
...input.windDown ? { windDown: true } : {},
|
|
4215
4220
|
...input.verifierFeedback ? { verifierFeedback: input.verifierFeedback } : {},
|
|
4216
4221
|
modelStarted: false
|
|
@@ -4413,6 +4418,24 @@ var Session = class {
|
|
|
4413
4418
|
void this.#drainGoalQueue();
|
|
4414
4419
|
}
|
|
4415
4420
|
}
|
|
4421
|
+
/**
|
|
4422
|
+
* Confirms the continuation's prompt reached the model.
|
|
4423
|
+
*
|
|
4424
|
+
* `startGoalTurn` resolves at enqueue time, so the runtime cannot tell a
|
|
4425
|
+
* delivered turn from a queued one when it settles; `#settleGoalTurn`'s
|
|
4426
|
+
* degraded-persistence fallback settles a model-started turn through
|
|
4427
|
+
* `releaseTurn`, and only this confirmation keeps that turn's objective
|
|
4428
|
+
* announcement from rolling back and re-firing on the next continuation.
|
|
4429
|
+
*/
|
|
4430
|
+
#markGoalTurnDelivered(turnKey) {
|
|
4431
|
+
try {
|
|
4432
|
+
this.config.getGoalRuntime().markTurnDelivered(turnKey);
|
|
4433
|
+
} catch (error) {
|
|
4434
|
+
debugLogger6.debug(
|
|
4435
|
+
`Failed to confirm ACP Goal turn delivery: ${error instanceof Error ? error.message : String(error)}`
|
|
4436
|
+
);
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4416
4439
|
async #settleGoalTurn(turn, result, failed) {
|
|
4417
4440
|
try {
|
|
4418
4441
|
const runtime = await this.config.getGoalRuntimeReady();
|
|
@@ -5044,11 +5067,11 @@ var Session = class {
|
|
|
5044
5067
|
await this.#syncLiveToolDeclarations();
|
|
5045
5068
|
}
|
|
5046
5069
|
async #syncLiveToolDeclarations() {
|
|
5047
|
-
const
|
|
5048
|
-
if (!
|
|
5070
|
+
const llmClient = this.config.getLlmClient();
|
|
5071
|
+
if (!llmClient) {
|
|
5049
5072
|
throw new Error("The Live backend model client is unavailable.");
|
|
5050
5073
|
}
|
|
5051
|
-
await
|
|
5074
|
+
await llmClient.setTools();
|
|
5052
5075
|
}
|
|
5053
5076
|
async setLiveConversationActive(active) {
|
|
5054
5077
|
if (this.liveConversationActive === active) return;
|
|
@@ -5065,7 +5088,7 @@ var Session = class {
|
|
|
5065
5088
|
this.liveEndInstructionPending = true;
|
|
5066
5089
|
this.config.setLiveAppendSystemPrompt(LIVE_BACKEND_END_INSTRUCTIONS);
|
|
5067
5090
|
}
|
|
5068
|
-
await this.config.
|
|
5091
|
+
await this.config.getLlmClient()?.refreshSystemInstruction();
|
|
5069
5092
|
}
|
|
5070
5093
|
async appendLiveConversationTranscript(entries, model) {
|
|
5071
5094
|
if (this.liveConversationActive !== true) {
|
|
@@ -5103,7 +5126,7 @@ var Session = class {
|
|
|
5103
5126
|
if (this.liveConversationActive || !this.liveEndInstructionPending) return;
|
|
5104
5127
|
this.liveEndInstructionPending = false;
|
|
5105
5128
|
this.config.setLiveAppendSystemPrompt(void 0);
|
|
5106
|
-
await this.config.
|
|
5129
|
+
await this.config.getLlmClient()?.refreshSystemInstruction();
|
|
5107
5130
|
}
|
|
5108
5131
|
getId() {
|
|
5109
5132
|
return this.sessionId;
|
|
@@ -5555,7 +5578,7 @@ var Session = class {
|
|
|
5555
5578
|
"Cannot rewind while a prompt is running"
|
|
5556
5579
|
);
|
|
5557
5580
|
}
|
|
5558
|
-
const chat = this.config.
|
|
5581
|
+
const chat = this.config.getLlmClient().getChat();
|
|
5559
5582
|
const apiHistory = chat.getHistoryShallow();
|
|
5560
5583
|
const apiTruncateIndex = this.#computeApiTruncationIndexForUserTurn(
|
|
5561
5584
|
apiHistory,
|
|
@@ -5591,7 +5614,7 @@ var Session = class {
|
|
|
5591
5614
|
return { targetTurnIndex, apiTruncateIndex };
|
|
5592
5615
|
}
|
|
5593
5616
|
captureHistorySnapshot() {
|
|
5594
|
-
return this.config.
|
|
5617
|
+
return this.config.getLlmClient().getChat().getHistoryShallow();
|
|
5595
5618
|
}
|
|
5596
5619
|
getRewindableUserTurnCount() {
|
|
5597
5620
|
const apiHistory = this.captureHistorySnapshot();
|
|
@@ -5613,7 +5636,7 @@ var Session = class {
|
|
|
5613
5636
|
"Cannot restore history while a prompt is running"
|
|
5614
5637
|
);
|
|
5615
5638
|
}
|
|
5616
|
-
this.config.
|
|
5639
|
+
this.config.getLlmClient().getChat().setHistory(structuredClone(history));
|
|
5617
5640
|
this.activeTodoPlanRevision = void 0;
|
|
5618
5641
|
this.#clearTodoStopGuardTrustAndDrainAutomaticQueues();
|
|
5619
5642
|
}
|
|
@@ -6040,8 +6063,8 @@ var Session = class {
|
|
|
6040
6063
|
* authoritatively. Powers `qwen/control/session/continue`.
|
|
6041
6064
|
*/
|
|
6042
6065
|
async continueLastTurn() {
|
|
6043
|
-
const
|
|
6044
|
-
if (!
|
|
6066
|
+
const llmClient = this.config.getLlmClient();
|
|
6067
|
+
if (!llmClient || !llmClient.isInitialized()) {
|
|
6045
6068
|
return { accepted: false, interruption: "none" };
|
|
6046
6069
|
}
|
|
6047
6070
|
const chat = this.#getCurrentChat();
|
|
@@ -6090,7 +6113,7 @@ var Session = class {
|
|
|
6090
6113
|
}
|
|
6091
6114
|
if (this.settings.merged.ui?.enableFollowupSuggestions === false) return;
|
|
6092
6115
|
if (this.config.getApprovalMode() === "plan" /* PLAN */) return;
|
|
6093
|
-
const chat = this.config.
|
|
6116
|
+
const chat = this.config.getLlmClient()?.getChat();
|
|
6094
6117
|
if (!chat) return;
|
|
6095
6118
|
const ac = new AbortController();
|
|
6096
6119
|
this.followupAbort = ac;
|
|
@@ -6421,7 +6444,7 @@ var Session = class {
|
|
|
6421
6444
|
}
|
|
6422
6445
|
if (isFreshUserTurn) {
|
|
6423
6446
|
managedMemoryRecallStarted = true;
|
|
6424
|
-
this.config.
|
|
6447
|
+
this.config.getLlmClient().beginManagedAutoMemoryRecall(promptText, pendingSend.signal);
|
|
6425
6448
|
}
|
|
6426
6449
|
if (!continuesCurrentWorkChain && !this.todoStopGuard.enabled) {
|
|
6427
6450
|
this.#resetTodoStopGuardBackgroundLineage();
|
|
@@ -6449,7 +6472,7 @@ var Session = class {
|
|
|
6449
6472
|
}
|
|
6450
6473
|
const systemReminders = await this.#buildInitialSystemReminders();
|
|
6451
6474
|
if (isFreshUserTurn) {
|
|
6452
|
-
const memory = await this.config.
|
|
6475
|
+
const memory = await this.config.getLlmClient().consumeManagedAutoMemoryRecall("initial");
|
|
6453
6476
|
if (memory?.prompt) {
|
|
6454
6477
|
systemReminders.unshift({ text: memory.prompt });
|
|
6455
6478
|
}
|
|
@@ -6630,7 +6653,12 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
6630
6653
|
let channelDeliveryResponseBlock;
|
|
6631
6654
|
let channelDeliveryCheckpoint = 0;
|
|
6632
6655
|
try {
|
|
6633
|
-
if (goalTurn)
|
|
6656
|
+
if (goalTurn) {
|
|
6657
|
+
goalTurn.modelStarted = true;
|
|
6658
|
+
if (goalTurn.origin === "runtime") {
|
|
6659
|
+
this.#markGoalTurnDelivered(goalTurn.turnKey);
|
|
6660
|
+
}
|
|
6661
|
+
}
|
|
6634
6662
|
const sendResult = await this.#sendMessageStreamWithAutoCompression(
|
|
6635
6663
|
promptId,
|
|
6636
6664
|
nextMessage?.parts ?? [],
|
|
@@ -6897,7 +6925,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
6897
6925
|
}
|
|
6898
6926
|
).finally(() => {
|
|
6899
6927
|
if (managedMemoryRecallStarted) {
|
|
6900
|
-
this.config.
|
|
6928
|
+
this.config.getLlmClient().finishManagedAutoMemoryRecall();
|
|
6901
6929
|
}
|
|
6902
6930
|
});
|
|
6903
6931
|
}
|
|
@@ -7792,7 +7820,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7792
7820
|
}
|
|
7793
7821
|
}
|
|
7794
7822
|
#getCurrentChat() {
|
|
7795
|
-
return this.config.
|
|
7823
|
+
return this.config.getLlmClient().getChat();
|
|
7796
7824
|
}
|
|
7797
7825
|
async #runWithFullTurnModel(modelOverride, fn) {
|
|
7798
7826
|
if (!modelOverride?.endsWith("\0")) {
|
|
@@ -7804,9 +7832,9 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7804
7832
|
/**
|
|
7805
7833
|
* Create the MessageDisplay hook dispatcher for one model call's streamed
|
|
7806
7834
|
* reply, or null when the hook isn't registered (the common case — keeps
|
|
7807
|
-
* the streaming loops zero-cost). The ACP surface consumes
|
|
7835
|
+
* the streaming loops zero-cost). The ACP surface consumes LlmChat's
|
|
7808
7836
|
* raw stream directly rather than going through
|
|
7809
|
-
*
|
|
7837
|
+
* LlmClient.sendMessageStream, so it has to fire this hook itself —
|
|
7810
7838
|
* with the same contract as the terminal UI path in client.ts: debounced
|
|
7811
7839
|
* cumulative text, one message_id per model call, and an is_final firing
|
|
7812
7840
|
* on every non-aborted exit (delivered by awaiting `finish()` in a
|
|
@@ -7832,7 +7860,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7832
7860
|
* was cancelled or the session token limit was exceeded.
|
|
7833
7861
|
*/
|
|
7834
7862
|
async #sendMessageStreamWithAutoCompression(promptId, message, abortSignal, options = {}) {
|
|
7835
|
-
const
|
|
7863
|
+
const llmClient = this.config.getLlmClient();
|
|
7836
7864
|
if (options.prepareBeforeCompression) {
|
|
7837
7865
|
const decision = await options.prepareBeforeCompression();
|
|
7838
7866
|
if (decision.kind === "stop") {
|
|
@@ -7851,7 +7879,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7851
7879
|
let compressionFailed = false;
|
|
7852
7880
|
if (!options.skipCompression && !(options.getModelOverride?.() ?? options.modelOverride)) {
|
|
7853
7881
|
try {
|
|
7854
|
-
const compressed = await
|
|
7882
|
+
const compressed = await llmClient.tryCompressChat(
|
|
7855
7883
|
promptId,
|
|
7856
7884
|
false,
|
|
7857
7885
|
abortSignal
|
|
@@ -7930,7 +7958,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7930
7958
|
return { responseStream: null, stopReason: "cancelled" };
|
|
7931
7959
|
}
|
|
7932
7960
|
if (message[0]?.functionResponse) {
|
|
7933
|
-
const memory = await
|
|
7961
|
+
const memory = await llmClient.consumeManagedAutoMemoryRecall("tool_result");
|
|
7934
7962
|
if (memory?.prompt) {
|
|
7935
7963
|
message = insertAfterFunctionResponses(message, [
|
|
7936
7964
|
{ text: memory.prompt }
|
|
@@ -8549,11 +8577,13 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
8549
8577
|
* `_meta.source='cron'`, streams the model response, and handles tool calls.
|
|
8550
8578
|
*/
|
|
8551
8579
|
async #executeCronPrompt(item) {
|
|
8552
|
-
return
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8580
|
+
return goalTurnContext.exit(
|
|
8581
|
+
() => runWithInvocationContext(
|
|
8582
|
+
void 0,
|
|
8583
|
+
() => sessionIdContext.run(
|
|
8584
|
+
this.config.getSessionId(),
|
|
8585
|
+
() => this.#executeCronPromptInner(item)
|
|
8586
|
+
)
|
|
8557
8587
|
)
|
|
8558
8588
|
);
|
|
8559
8589
|
}
|
|
@@ -9117,11 +9147,13 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
9117
9147
|
this.currentShellNotificationActive = item.kind === "shell";
|
|
9118
9148
|
this.#activeWorkChanged();
|
|
9119
9149
|
try {
|
|
9120
|
-
await
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9150
|
+
await goalTurnContext.exit(
|
|
9151
|
+
() => runWithInvocationContext(
|
|
9152
|
+
void 0,
|
|
9153
|
+
() => sessionIdContext.run(
|
|
9154
|
+
this.config.getSessionId(),
|
|
9155
|
+
() => this.#executeBackgroundNotificationPromptInner(item)
|
|
9156
|
+
)
|
|
9125
9157
|
)
|
|
9126
9158
|
);
|
|
9127
9159
|
} finally {
|
|
@@ -9778,11 +9810,16 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
9778
9810
|
if (record.skipPersistence === true || this.#shouldSkipRestoredAskUserQuestionPersistence(record.callId)) {
|
|
9779
9811
|
return;
|
|
9780
9812
|
}
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9813
|
+
const goalProvenance = ambientGoalToolResultProvenance(record.toolName);
|
|
9814
|
+
this.config.getChatRecordingService()?.recordToolResult(
|
|
9815
|
+
finalized[index].responseParts,
|
|
9816
|
+
{
|
|
9817
|
+
...record.metadata,
|
|
9818
|
+
persistedOutputFiles: finalized[index].persistedOutputFiles,
|
|
9819
|
+
artifacts: finalized[index].artifacts
|
|
9820
|
+
},
|
|
9821
|
+
...goalProvenance ? [goalProvenance] : []
|
|
9822
|
+
);
|
|
9786
9823
|
});
|
|
9787
9824
|
return {
|
|
9788
9825
|
...result,
|
|
@@ -10266,9 +10303,14 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
10266
10303
|
/**
|
|
10267
10304
|
* Assemble the per-turn system reminders the model needs to see at the
|
|
10268
10305
|
* start of a user query or cron fire. Mirrors the subagent/plan/arena
|
|
10269
|
-
* branches in `
|
|
10306
|
+
* branches in `LlmClient.sendMessageStream` (`client.ts:848-878`) —
|
|
10270
10307
|
* the ACP path bypasses that code, so without this helper plan mode is
|
|
10271
10308
|
* silently inert and subagent/arena sessions lose context.
|
|
10309
|
+
*
|
|
10310
|
+
* Scope note: the `relevantAutoMemory` reminder is intentionally NOT
|
|
10311
|
+
* included here. Managed auto-memory requires a prefetch pipeline that
|
|
10312
|
+
* lives in `LlmClient`, and porting it into the ACP path is tracked
|
|
10313
|
+
* separately as part of the broader middleware-alignment work.
|
|
10272
10314
|
*/
|
|
10273
10315
|
async #buildInitialSystemReminders() {
|
|
10274
10316
|
const reminders = [];
|
|
@@ -10729,7 +10771,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
10729
10771
|
if (!autoModeAllowed && !requiresUserInteraction && shouldRunAutoModeForCall(approvalMode, policyToolName)) {
|
|
10730
10772
|
const denialState = this.config.getAutoModeDenialState();
|
|
10731
10773
|
const fallback = shouldFallback(denialState);
|
|
10732
|
-
const messages = this.config.
|
|
10774
|
+
const messages = this.config.getLlmClient?.()?.getHistoryTail(MAX_TRANSCRIPT_MESSAGES, false) ?? [];
|
|
10733
10775
|
const decision = await evaluateAutoMode({
|
|
10734
10776
|
ctx: pmCtx,
|
|
10735
10777
|
pmForcedAsk,
|
|
@@ -11812,7 +11854,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
11812
11854
|
});
|
|
11813
11855
|
} finally {
|
|
11814
11856
|
if (terminalStatus && terminalStatus !== "cancelled") {
|
|
11815
|
-
this.config.
|
|
11857
|
+
this.config.getLlmClient().recordCompletedToolCall(toolName, args);
|
|
11816
11858
|
}
|
|
11817
11859
|
if (terminalStatus === "cancelled") {
|
|
11818
11860
|
endToolSpan(toolSpan, { success: false, cancelled: true });
|
|
@@ -14867,7 +14909,7 @@ function readScopeSettings(settings, scope) {
|
|
|
14867
14909
|
}
|
|
14868
14910
|
__name(readScopeSettings, "readScopeSettings");
|
|
14869
14911
|
async function resolvePreferredMemoryFile(dir, fallbackFilename) {
|
|
14870
|
-
for (const filename of
|
|
14912
|
+
for (const filename of getAllMemoryFilenames()) {
|
|
14871
14913
|
const filePath = path6.join(dir, filename);
|
|
14872
14914
|
try {
|
|
14873
14915
|
await fs3.access(filePath);
|
|
@@ -14879,7 +14921,7 @@ async function resolvePreferredMemoryFile(dir, fallbackFilename) {
|
|
|
14879
14921
|
}
|
|
14880
14922
|
__name(resolvePreferredMemoryFile, "resolvePreferredMemoryFile");
|
|
14881
14923
|
async function resolveQwenMemoryPaths(params) {
|
|
14882
|
-
const fallbackFilename =
|
|
14924
|
+
const fallbackFilename = getAllMemoryFilenames()[0] ?? "QWEN.md";
|
|
14883
14925
|
const userMemoryFile = await resolvePreferredMemoryFile(
|
|
14884
14926
|
Storage.getGlobalQwenDir(),
|
|
14885
14927
|
fallbackFilename
|
|
@@ -15103,7 +15145,7 @@ async function runAcpAgent(config, settings, argv, options) {
|
|
|
15103
15145
|
beginAcpBootstrapConfigProfiling();
|
|
15104
15146
|
try {
|
|
15105
15147
|
await config.initialize({
|
|
15106
|
-
|
|
15148
|
+
skipLlmInitialization: true,
|
|
15107
15149
|
// Bootstrap skips MCP discovery — each session runs its own
|
|
15108
15150
|
// pool-routed discovery, so bootstrap-level spawns would be
|
|
15109
15151
|
// redundant subprocess leaks (W119).
|
|
@@ -15884,9 +15926,9 @@ var QwenAgent = class {
|
|
|
15884
15926
|
const registry = config.getToolRegistry();
|
|
15885
15927
|
if (operation === "discover") {
|
|
15886
15928
|
await registry?.discoverToolsForServer(serverName);
|
|
15887
|
-
const
|
|
15888
|
-
if (
|
|
15889
|
-
await
|
|
15929
|
+
const llmClient = config.getLlmClient?.();
|
|
15930
|
+
if (llmClient?.isInitialized?.()) {
|
|
15931
|
+
await llmClient.setTools?.();
|
|
15890
15932
|
}
|
|
15891
15933
|
} else if (operation === "disable") {
|
|
15892
15934
|
await registry?.disableMcpServer(serverName);
|
|
@@ -15956,7 +15998,7 @@ var QwenAgent = class {
|
|
|
15956
15998
|
config.setMcpTransportPool(this.mcpPool);
|
|
15957
15999
|
try {
|
|
15958
16000
|
await config.initialize({
|
|
15959
|
-
|
|
16001
|
+
skipLlmInitialization: true,
|
|
15960
16002
|
skipFileCheckpointing: true,
|
|
15961
16003
|
skipHooks: true,
|
|
15962
16004
|
skipSkillManager: true,
|
|
@@ -16072,9 +16114,9 @@ var QwenAgent = class {
|
|
|
16072
16114
|
}
|
|
16073
16115
|
await Promise.all(
|
|
16074
16116
|
this.getLiveMcpConfigs(serverName).map(async (config) => {
|
|
16075
|
-
const
|
|
16076
|
-
if (
|
|
16077
|
-
await
|
|
16117
|
+
const llmClient = config.getLlmClient?.();
|
|
16118
|
+
if (llmClient?.isInitialized?.()) {
|
|
16119
|
+
await llmClient.setTools?.();
|
|
16078
16120
|
}
|
|
16079
16121
|
})
|
|
16080
16122
|
);
|
|
@@ -16483,7 +16525,7 @@ var QwenAgent = class {
|
|
|
16483
16525
|
}
|
|
16484
16526
|
this.clientCapabilities = args.clientCapabilities;
|
|
16485
16527
|
const authMethods = buildAuthMethods();
|
|
16486
|
-
const version = "0.22.
|
|
16528
|
+
const version = "0.22.3-nightly.20260829.e5cb60ad48";
|
|
16487
16529
|
const response = {
|
|
16488
16530
|
protocolVersion: PROTOCOL_VERSION,
|
|
16489
16531
|
agentInfo: {
|
|
@@ -17381,15 +17423,17 @@ var QwenAgent = class {
|
|
|
17381
17423
|
break;
|
|
17382
17424
|
}
|
|
17383
17425
|
case "reasoning_effort": {
|
|
17426
|
+
const generation = session.getConfig().getContentGeneratorConfig();
|
|
17427
|
+
const thinkingMandatory = generation.thinkingMandatory === true;
|
|
17384
17428
|
const modelReasoning = this.getModelReasoningConfiguration(
|
|
17385
17429
|
session.getConfig()
|
|
17386
17430
|
);
|
|
17387
17431
|
if (modelReasoning) {
|
|
17388
17432
|
const effortValues = modelReasoning.toggleOnly ? void 0 : modelReasoning.efforts;
|
|
17389
|
-
const selected = value === REASONING_EFFORT_NONE ? REASONING_EFFORT_NONE : modelReasoning.toggleOnly ? value === REASONING_EFFORT_DEFAULT ? REASONING_EFFORT_DEFAULT : void 0 : effortValues?.find((effort2) => effort2 === value);
|
|
17433
|
+
const selected = value === REASONING_EFFORT_NONE && !thinkingMandatory ? REASONING_EFFORT_NONE : modelReasoning.toggleOnly ? value === REASONING_EFFORT_DEFAULT ? REASONING_EFFORT_DEFAULT : void 0 : effortValues?.find((effort2) => effort2 === value);
|
|
17390
17434
|
if (!selected) {
|
|
17391
17435
|
const choices = [
|
|
17392
|
-
REASONING_EFFORT_NONE,
|
|
17436
|
+
...thinkingMandatory ? [] : [REASONING_EFFORT_NONE],
|
|
17393
17437
|
...effortValues ?? [REASONING_EFFORT_DEFAULT]
|
|
17394
17438
|
];
|
|
17395
17439
|
throw RequestError.invalidParams(
|
|
@@ -17397,7 +17441,17 @@ var QwenAgent = class {
|
|
|
17397
17441
|
`Unknown reasoning effort: ${value}. Choose one of: ${choices.join(", ")}`
|
|
17398
17442
|
);
|
|
17399
17443
|
}
|
|
17400
|
-
|
|
17444
|
+
if (!modelReasoning.toggleOnly) {
|
|
17445
|
+
for (const source of ["extra_body", "samplingParams"]) {
|
|
17446
|
+
const layer = generation[source];
|
|
17447
|
+
if (!layer) continue;
|
|
17448
|
+
const next = { ...layer };
|
|
17449
|
+
delete next["enable_thinking"];
|
|
17450
|
+
delete next["reasoning_effort"];
|
|
17451
|
+
delete next["thinking_budget"];
|
|
17452
|
+
generation[source] = next;
|
|
17453
|
+
}
|
|
17454
|
+
}
|
|
17401
17455
|
if (selected === REASONING_EFFORT_NONE) {
|
|
17402
17456
|
generation.reasoning = false;
|
|
17403
17457
|
} else if (selected === REASONING_EFFORT_DEFAULT) {
|
|
@@ -18281,18 +18335,17 @@ var QwenAgent = class {
|
|
|
18281
18335
|
for (const extension of config.getExtensions()) {
|
|
18282
18336
|
if (extension.isActive) continue;
|
|
18283
18337
|
for (const skill of extension.skills ?? []) {
|
|
18284
|
-
const extensionName = extension.
|
|
18338
|
+
const extensionName = extension.name;
|
|
18285
18339
|
const key = `extension:${extensionName}:${skill.name}`;
|
|
18286
|
-
if (skillsByKey.has(
|
|
18287
|
-
continue;
|
|
18288
|
-
}
|
|
18340
|
+
if (skillsByKey.has(key)) continue;
|
|
18289
18341
|
skillsByKey.set(
|
|
18290
18342
|
key,
|
|
18291
18343
|
mapSkillConfigToStatus(
|
|
18292
18344
|
{
|
|
18293
18345
|
...skill,
|
|
18294
18346
|
level: "extension",
|
|
18295
|
-
extensionName
|
|
18347
|
+
extensionName,
|
|
18348
|
+
extensionDisplayName: extension.displayName
|
|
18296
18349
|
},
|
|
18297
18350
|
disablements,
|
|
18298
18351
|
{ disabled: true }
|
|
@@ -18351,7 +18404,13 @@ var QwenAgent = class {
|
|
|
18351
18404
|
providers.set(authType, provider);
|
|
18352
18405
|
}
|
|
18353
18406
|
const isCurrent = currentAuth === model.authType && currentAcpModelId === modelId;
|
|
18354
|
-
const configOptions = model.isRuntimeModel || modelId.startsWith(ACP_ROUTE_ID_PREFIX) ? void 0 : buildModelReasoningConfigPreview(model.id
|
|
18407
|
+
const configOptions = model.isRuntimeModel || modelId.startsWith(ACP_ROUTE_ID_PREFIX) ? void 0 : buildModelReasoningConfigPreview(model.id, {
|
|
18408
|
+
thinkingMandatory: config.getResolvedModelConfig?.(
|
|
18409
|
+
model.authType,
|
|
18410
|
+
model.id,
|
|
18411
|
+
model.registryBaseUrl ?? model.baseUrl
|
|
18412
|
+
)?.generationConfig.thinkingMandatory === true
|
|
18413
|
+
});
|
|
18355
18414
|
const providerModel = {
|
|
18356
18415
|
modelId,
|
|
18357
18416
|
baseModelId: parseAcpBaseModelId(effectiveModelId),
|
|
@@ -20049,9 +20108,9 @@ var QwenAgent = class {
|
|
|
20049
20108
|
});
|
|
20050
20109
|
await Promise.all(
|
|
20051
20110
|
this.getLiveMcpConfigs(serverName).map(async (liveConfig) => {
|
|
20052
|
-
const
|
|
20053
|
-
if (
|
|
20054
|
-
await
|
|
20111
|
+
const llmClient = liveConfig.getLlmClient?.();
|
|
20112
|
+
if (llmClient?.isInitialized?.()) {
|
|
20113
|
+
await llmClient.setTools?.();
|
|
20055
20114
|
}
|
|
20056
20115
|
})
|
|
20057
20116
|
);
|
|
@@ -21065,7 +21124,7 @@ var QwenAgent = class {
|
|
|
21065
21124
|
);
|
|
21066
21125
|
}
|
|
21067
21126
|
try {
|
|
21068
|
-
await config.
|
|
21127
|
+
await config.getLlmClient()?.addWorkingDirectoryChangedContext(
|
|
21069
21128
|
settledPreviousCwd,
|
|
21070
21129
|
canonicalPath
|
|
21071
21130
|
);
|
|
@@ -21243,7 +21302,7 @@ var QwenAgent = class {
|
|
|
21243
21302
|
);
|
|
21244
21303
|
}
|
|
21245
21304
|
await cfg.refreshHierarchicalMemory();
|
|
21246
|
-
await cfg.
|
|
21305
|
+
await cfg.getLlmClient()?.refreshSystemInstruction();
|
|
21247
21306
|
})
|
|
21248
21307
|
);
|
|
21249
21308
|
const failedCount = results.filter(
|
|
@@ -21409,7 +21468,7 @@ var QwenAgent = class {
|
|
|
21409
21468
|
}
|
|
21410
21469
|
let hasHistory = false;
|
|
21411
21470
|
try {
|
|
21412
|
-
hasHistory = (config.
|
|
21471
|
+
hasHistory = (config.getLlmClient().getHistoryShallow() ?? []).length > 0;
|
|
21413
21472
|
} catch (error) {
|
|
21414
21473
|
debugLogger9.debug("Failed to read history before /fork:", error);
|
|
21415
21474
|
}
|
|
@@ -21442,7 +21501,7 @@ var QwenAgent = class {
|
|
|
21442
21501
|
);
|
|
21443
21502
|
}
|
|
21444
21503
|
try {
|
|
21445
|
-
config.
|
|
21504
|
+
config.getLlmClient().addHistory({
|
|
21446
21505
|
role: "user",
|
|
21447
21506
|
parts: [
|
|
21448
21507
|
{
|
|
@@ -21474,9 +21533,9 @@ var QwenAgent = class {
|
|
|
21474
21533
|
}
|
|
21475
21534
|
const session = this.sessionOrThrow(sessionId);
|
|
21476
21535
|
const config = session.getConfig();
|
|
21477
|
-
const
|
|
21536
|
+
const llmClient = config.getLlmClient();
|
|
21478
21537
|
const outputText = typeof params["output"] === "string" ? params["output"] : "";
|
|
21479
|
-
|
|
21538
|
+
llmClient.addHistory({
|
|
21480
21539
|
role: "user",
|
|
21481
21540
|
parts: [
|
|
21482
21541
|
{
|
|
@@ -21882,7 +21941,7 @@ ${outputText}
|
|
|
21882
21941
|
);
|
|
21883
21942
|
}
|
|
21884
21943
|
await runRefresh(
|
|
21885
|
-
async () => await config.
|
|
21944
|
+
async () => await config.getLlmClient()?.refreshSystemInstruction()
|
|
21886
21945
|
);
|
|
21887
21946
|
await runRefresh(
|
|
21888
21947
|
async () => await session.sendAvailableCommandsUpdate()
|
|
@@ -22605,7 +22664,7 @@ ${outputText}
|
|
|
22605
22664
|
);
|
|
22606
22665
|
}
|
|
22607
22666
|
try {
|
|
22608
|
-
await config.
|
|
22667
|
+
await config.getLlmClient()?.refreshSystemInstruction();
|
|
22609
22668
|
} catch (err) {
|
|
22610
22669
|
debugLogger9.warn(
|
|
22611
22670
|
`reload: refreshSystemInstruction failed for session ${id}: ${err}`
|
|
@@ -23083,10 +23142,10 @@ ${outputText}
|
|
|
23083
23142
|
async createAndStoreSession(config, settings, sessionData, options = {}) {
|
|
23084
23143
|
this.assertManagedSessionAdmission();
|
|
23085
23144
|
const sessionId = normalizeSessionIdForLookup(config.getSessionId());
|
|
23086
|
-
const
|
|
23087
|
-
const needsInitialize = !
|
|
23145
|
+
const llmClient = config.getLlmClient();
|
|
23146
|
+
const needsInitialize = !llmClient.isInitialized();
|
|
23088
23147
|
if (needsInitialize && options.deferWorkspaceActivation !== true) {
|
|
23089
|
-
await
|
|
23148
|
+
await llmClient.initialize();
|
|
23090
23149
|
}
|
|
23091
23150
|
this.assertManagedSessionAdmission();
|
|
23092
23151
|
if (this.sessions.has(sessionId)) {
|
|
@@ -23299,11 +23358,29 @@ ${outputText}
|
|
|
23299
23358
|
currentValue: currentModelId,
|
|
23300
23359
|
options: configModelOptions
|
|
23301
23360
|
};
|
|
23302
|
-
const
|
|
23361
|
+
const generation = config.getContentGeneratorConfig();
|
|
23362
|
+
const modelReasoning = this.getModelReasoningConfiguration(
|
|
23363
|
+
config,
|
|
23364
|
+
currentModelId
|
|
23365
|
+
);
|
|
23303
23366
|
const currentModelEffort = config.getReasoningEffort?.();
|
|
23367
|
+
const reasoningOverride = config.getReasoningEffortOverride?.();
|
|
23368
|
+
const reasoningOverrideValue = reasoningOverride ? generation[reasoningOverride.source]?.[reasoningOverride.field] : void 0;
|
|
23369
|
+
const normalizedEffortOverride = reasoningOverride?.field === "reasoning_effort" && typeof reasoningOverrideValue === "string" ? reasoningOverrideValue === "minimal" ? "low" : REASONING_EFFORT_TIERS.find(
|
|
23370
|
+
(effort) => effort === reasoningOverrideValue
|
|
23371
|
+
) : void 0;
|
|
23372
|
+
const normalizedBudgetOverride = reasoningOverride?.field === "thinking_budget" && typeof reasoningOverrideValue === "number" && Number.isFinite(reasoningOverrideValue) && reasoningOverrideValue >= 0 && reasoningOverrideValue <= 262144 ? reasoningOverrideValue <= 4096 ? "low" : reasoningOverrideValue <= 16384 ? "medium" : "xhigh" : void 0;
|
|
23373
|
+
const normalizedOverrideEffort = normalizedEffortOverride ?? normalizedBudgetOverride;
|
|
23374
|
+
const overrideDisablesReasoning = reasoningOverride?.field === "enable_thinking" && reasoningOverrideValue === false || reasoningOverride?.field === "reasoning_effort" && reasoningOverrideValue === REASONING_EFFORT_NONE;
|
|
23375
|
+
const mandatoryUsesDefaultEffort = generation.thinkingMandatory === true && (overrideDisablesReasoning || generation.reasoning === false && reasoningOverride?.field === "reasoning_effort");
|
|
23376
|
+
const effectiveModelEffort = modelReasoning && !modelReasoning.toggleOnly ? mandatoryUsesDefaultEffort ? modelReasoning.defaultEffort : normalizedOverrideEffort ? modelReasoning.efforts.find(
|
|
23377
|
+
(effort) => effort === normalizedOverrideEffort
|
|
23378
|
+
) ?? modelReasoning.defaultEffort : currentModelEffort : currentModelEffort;
|
|
23379
|
+
const reasoningEnabled = generation.reasoning !== false && (!reasoningOverride || !overrideDisablesReasoning);
|
|
23304
23380
|
const reasoningEffortConfigOption = (modelReasoning ? buildModelReasoningConfigOption(rawCurrentModelId, {
|
|
23305
|
-
enabled:
|
|
23306
|
-
effort:
|
|
23381
|
+
enabled: reasoningEnabled,
|
|
23382
|
+
effort: effectiveModelEffort,
|
|
23383
|
+
thinkingMandatory: generation.thinkingMandatory === true
|
|
23307
23384
|
}) : void 0) ?? {
|
|
23308
23385
|
id: "reasoning_effort",
|
|
23309
23386
|
name: "Reasoning effort",
|
|
@@ -23326,13 +23403,21 @@ ${outputText}
|
|
|
23326
23403
|
};
|
|
23327
23404
|
return [modeConfigOption, modelConfigOption, reasoningEffortConfigOption];
|
|
23328
23405
|
}
|
|
23329
|
-
getModelReasoningConfiguration(config) {
|
|
23330
|
-
if (config.getActiveRuntimeModelSnapshot?.()
|
|
23406
|
+
getModelReasoningConfiguration(config, currentAcpModelId) {
|
|
23407
|
+
if (config.getActiveRuntimeModelSnapshot?.()) {
|
|
23408
|
+
return void 0;
|
|
23409
|
+
}
|
|
23410
|
+
const completeModelId = currentAcpModelId ?? getCurrentAcpModelId(
|
|
23411
|
+
this.buildSelectableModelOptions(config),
|
|
23412
|
+
(config.getModel() || "").trim(),
|
|
23413
|
+
config.getAuthType?.(),
|
|
23414
|
+
config.getCurrentModelRegistryBaseUrl?.()
|
|
23415
|
+
);
|
|
23416
|
+
if (completeModelId.startsWith(ACP_ROUTE_ID_PREFIX)) {
|
|
23331
23417
|
return void 0;
|
|
23332
23418
|
}
|
|
23333
23419
|
const reasoning = getModelConfiguration(config.getModel())?.reasoning;
|
|
23334
|
-
|
|
23335
|
-
return reasoning?.thinking && (reasoning.toggleOnly || !currentEffort || reasoning.efforts.includes(currentEffort)) ? reasoning : void 0;
|
|
23420
|
+
return reasoning?.thinking ? reasoning : void 0;
|
|
23336
23421
|
}
|
|
23337
23422
|
buildSelectableModelOptions(config) {
|
|
23338
23423
|
const currentAuthType = config.getAuthType();
|