@qwen-code/qwen-code 0.23.3-nightly.20260910.c46cb85cf2 → 0.23.3
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/goal-draft/SKILL.md +2 -2
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +20 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +6 -5
- package/bundled/qc-helper/docs/features/goals.md +2 -2
- package/bundled/qc-helper/docs/features/hooks.md +13 -14
- package/bundled/qc-helper/docs/qwen-serve.md +3 -7
- package/chunks/{MaxSizedBox-UZW24XUX.js → MaxSizedBox-D4LW7RZZ.js} +15 -15
- package/chunks/{StandaloneSessionPicker-IDK7NAZL.js → StandaloneSessionPicker-ALTTRWUP.js} +33 -33
- package/chunks/{acp-startup-profiler-ARO4II44.js → acp-startup-profiler-KEU6VAYR.js} +2 -2
- package/chunks/{acp-subagent-executor-7TLJGISS.js → acp-subagent-executor-LEUN3N7N.js} +15 -15
- package/chunks/{acpAgent-YRCNNIIU.js → acpAgent-BBSW7XZG.js} +68 -258
- package/chunks/{agent-SGU5EE7U.js → agent-SQ6OY3QD.js} +9 -9
- package/chunks/{agent-headless-JVYBLNLT.js → agent-headless-RI2THRQ7.js} +9 -9
- package/chunks/{anthropicContentGenerator-SGIR5IKF.js → anthropicContentGenerator-JSKMKS6V.js} +2 -2
- package/chunks/{bridge-YF6NYRPZ.js → bridge-DAFMI72L.js} +17 -17
- package/chunks/{ca-MX3WCEEG.js → ca-KC2AISNS.js} +1 -1
- package/chunks/{channel-management-service-E4HTMU7T.js → channel-management-service-OWDXVL7R.js} +5 -5
- package/chunks/{channel-settings-store-FZ5VKHQD.js → channel-settings-store-4I6JONT7.js} +25 -25
- package/chunks/{channel-worker-group-X6WH4XWF.js → channel-worker-group-F2ZZMLNS.js} +6 -6
- package/chunks/{channel-worker-manager-SICFJDPJ.js → channel-worker-manager-2SZLJJSJ.js} +6 -6
- package/chunks/{channel-worker-supervisor-HSFAKML6.js → channel-worker-supervisor-ZFNWMG6D.js} +4 -4
- package/chunks/{chunk-NVIBH7WS.js → chunk-2ALXPGB4.js} +1 -1
- package/chunks/{chunk-UBEYS536.js → chunk-2PJRI3EH.js} +3 -3
- package/chunks/{chunk-GP47UR3M.js → chunk-2ZN3O5FT.js} +6 -6
- package/chunks/{chunk-BI3WSRQE.js → chunk-3BTSSIJO.js} +3 -3
- package/chunks/{chunk-PIGUW2U2.js → chunk-3KQBQ6FM.js} +2 -14
- package/chunks/{chunk-RJZTX2OF.js → chunk-3UXUOFO6.js} +6 -6
- package/chunks/{chunk-HL2DQG3Y.js → chunk-3XLK2QMY.js} +10 -10
- package/chunks/{chunk-L3DTX6U4.js → chunk-4ALNJDHL.js} +1 -3
- package/chunks/{chunk-KHIBLKNK.js → chunk-53GWJOLP.js} +1 -1
- package/chunks/{chunk-LIR7YS2O.js → chunk-5KI7ZDTB.js} +4 -4
- package/chunks/{chunk-ZT6EPPBY.js → chunk-6JACAGYH.js} +1 -1
- package/chunks/{chunk-DMX7RF6E.js → chunk-6W4HBUA2.js} +1 -1
- package/chunks/{chunk-CSHX5ZC4.js → chunk-76RGWKLS.js} +1 -1
- package/chunks/{chunk-J5PYQVD2.js → chunk-7APZIRH3.js} +2 -2
- package/chunks/{chunk-OOLSYRZ7.js → chunk-7BXXIQG4.js} +4 -4
- package/chunks/{chunk-WY4N6KS7.js → chunk-7ICHPMBQ.js} +3 -3
- package/chunks/{chunk-KZ2CU2LH.js → chunk-7Q2AXRDJ.js} +1 -1
- package/chunks/{chunk-C4NLHK7X.js → chunk-7QYWGTHB.js} +128 -33
- package/chunks/{chunk-7XM6KEVW.js → chunk-AC6KDLH3.js} +1 -1
- package/chunks/{chunk-GDWE23OR.js → chunk-ALMR3E6Q.js} +3 -3
- package/chunks/{chunk-B6BDT4RX.js → chunk-AXTFYDXT.js} +1 -1
- package/chunks/{chunk-6EDWSKN4.js → chunk-BV6Q5HMY.js} +2 -2
- package/chunks/{chunk-3VPFA6L2.js → chunk-BWAMMKIS.js} +2 -2
- package/chunks/{chunk-IFHJIEMN.js → chunk-BWQLXU37.js} +10 -10
- package/chunks/{chunk-F2RKL5I2.js → chunk-BZM5U74J.js} +3 -3
- package/chunks/{chunk-JOMCZWX7.js → chunk-CUEXOHQH.js} +15 -9
- package/chunks/{chunk-CAAMI77K.js → chunk-CXTPVBFA.js} +1 -1
- package/chunks/{chunk-ATH66AEU.js → chunk-DAWWT2ID.js} +16 -16
- package/chunks/{chunk-MXOALJIL.js → chunk-DT75RKNH.js} +1 -1
- package/chunks/{chunk-BHR6IN2X.js → chunk-DYFOSJHU.js} +30 -30
- package/chunks/{chunk-KVBNJ4K2.js → chunk-E7LB57MB.js} +2 -2
- package/chunks/{chunk-XDQUDARC.js → chunk-EDMXGXAK.js} +7 -4
- package/chunks/{chunk-KFGPNCCY.js → chunk-EVTNACMT.js} +4 -4
- package/chunks/{chunk-TP2DUOB6.js → chunk-F42YYSCK.js} +2 -2
- package/chunks/{chunk-UGS62IR2.js → chunk-GCDXVPFK.js} +3 -3
- package/chunks/{chunk-SAWPURIU.js → chunk-GOXQL4YH.js} +2 -2
- package/chunks/{chunk-SXEE6PND.js → chunk-GSILBZLN.js} +2 -2
- package/chunks/{chunk-BTWGOKHU.js → chunk-HBQ2NXOU.js} +2 -2
- package/chunks/{chunk-34ZYDM3F.js → chunk-HBU7EKY4.js} +1 -1
- package/chunks/{chunk-T4JVQR7Z.js → chunk-HGAELO7B.js} +2 -2
- package/chunks/{chunk-ZHECLGA6.js → chunk-HNLMYDQE.js} +4 -2
- package/chunks/{chunk-PMS4FVLY.js → chunk-IL5M5NYD.js} +5 -5
- package/chunks/{chunk-HZTXKVSV.js → chunk-IV7GDNKC.js} +1 -1
- package/chunks/{chunk-5FFAUU4T.js → chunk-J3TJH52D.js} +1 -1
- package/chunks/{chunk-JDEW3V5B.js → chunk-JYKWOREU.js} +1 -1
- package/chunks/{chunk-E5GQNSJY.js → chunk-KFZYGSJN.js} +3 -3
- package/chunks/{chunk-ZUQVZTWG.js → chunk-KOKPXIAN.js} +3 -3
- package/chunks/{chunk-Q6HXLBZF.js → chunk-LDVNJZGH.js} +6 -6
- package/chunks/{chunk-VHKOULAI.js → chunk-MF6E7FSA.js} +2 -2
- package/chunks/{chunk-F45SKYIQ.js → chunk-MHAADZOZ.js} +3 -3
- package/chunks/{chunk-72BGC7RT.js → chunk-MLQNSPRZ.js} +4 -4
- package/chunks/{chunk-L2KF7HUE.js → chunk-MSNHNAQZ.js} +1 -1
- package/chunks/{chunk-JV5YASQA.js → chunk-N7VWZDWW.js} +55 -155
- package/chunks/{chunk-Q2XLNLAV.js → chunk-NE624IVP.js} +1 -1
- package/chunks/{chunk-CGKEUUYG.js → chunk-NFYEQRLG.js} +1 -1
- package/chunks/{chunk-FGRDUDCI.js → chunk-NHCZJQE4.js} +5 -5
- package/chunks/{chunk-TWC3FHUI.js → chunk-NHJKAR6E.js} +3 -3
- package/chunks/{chunk-VTBPMLRO.js → chunk-NJQTG2G3.js} +9 -9
- package/chunks/{chunk-LEGNDA46.js → chunk-NLNQNBZ2.js} +1 -1
- package/chunks/{chunk-QPWZX4ZV.js → chunk-NMCDMLHL.js} +12 -12
- package/chunks/{chunk-WS7MOFK6.js → chunk-NMRCXKQ5.js} +3 -3
- package/chunks/{chunk-YIU5PEAT.js → chunk-NOAG7N22.js} +1 -1
- package/chunks/{chunk-C75BXMPM.js → chunk-NOO4QFXM.js} +3 -1
- package/chunks/{chunk-B2TGBZXY.js → chunk-NRXWJXJ4.js} +2 -2
- package/chunks/{chunk-J2RNOJRV.js → chunk-OLTN767L.js} +2 -2
- package/chunks/{chunk-AWMJRE5N.js → chunk-OX7IZ2G5.js} +4 -4
- package/chunks/{chunk-O3MKRN2I.js → chunk-POC3YMHG.js} +1 -1
- package/chunks/{chunk-YKK2XXHF.js → chunk-PSPAM24S.js} +0 -4
- package/chunks/{chunk-YS2ZJSOA.js → chunk-Q2LVVIKF.js} +11 -28
- package/chunks/{chunk-AW2SIT3B.js → chunk-Q5BD56BW.js} +2 -2
- package/chunks/{chunk-LAP7X6EC.js → chunk-QMUYLYT5.js} +1 -1
- package/chunks/{chunk-ONGZNOIP.js → chunk-R4Q2PEFV.js} +1 -1
- package/chunks/{chunk-FRVV5SSD.js → chunk-RLLRJJDR.js} +2 -2
- package/chunks/{chunk-6EOMQPTS.js → chunk-RWVD5RRY.js} +3 -3
- package/chunks/{chunk-FYZ5NZ3V.js → chunk-RZHU3K6M.js} +20 -2
- package/chunks/{chunk-CUK6F5UF.js → chunk-S6Q6Q4P2.js} +1 -1
- package/chunks/{chunk-SNZWDV67.js → chunk-SBRX4BDI.js} +1 -1
- package/chunks/{chunk-5ZJ3KK5J.js → chunk-SODMFNAR.js} +4 -4
- package/chunks/{chunk-VID4BW52.js → chunk-SSGAAWLY.js} +28 -28
- package/chunks/{chunk-LY2GK2PR.js → chunk-SYLECP23.js} +4 -4
- package/chunks/{chunk-BQOP3K76.js → chunk-TWUKBNWM.js} +1 -1
- package/chunks/{chunk-5FKZ7KFQ.js → chunk-UKZ45TJL.js} +3 -3
- package/chunks/{chunk-7XVQNDFB.js → chunk-V2P3DOQR.js} +1 -1
- package/chunks/{chunk-WXFK4MH7.js → chunk-VG3Q2NC4.js} +5 -25
- package/chunks/{chunk-74JEYK2C.js → chunk-VZUCTJ2P.js} +9 -9
- package/chunks/{chunk-VLZOU6UH.js → chunk-W5FIP7FC.js} +3 -3
- package/chunks/{chunk-6NONRGYX.js → chunk-X6K77VHC.js} +1 -1
- package/chunks/{chunk-FGV2QEAO.js → chunk-X7UJKOHZ.js} +6 -4
- package/chunks/{chunk-7ZVIGDZF.js → chunk-XBZTAGB7.js} +1 -1
- package/chunks/{chunk-6UK77U7D.js → chunk-XGYHNWL3.js} +3 -3
- package/chunks/{chunk-ZGQIIGNQ.js → chunk-YBUMTY7B.js} +1 -1
- package/chunks/{chunk-JEMDIKGQ.js → chunk-YQHLFCPU.js} +1 -1
- package/chunks/{chunk-7ZKDPTYO.js → chunk-Z3GF56ME.js} +2 -2
- package/chunks/{chunk-IOUBOANU.js → chunk-ZU47FBOC.js} +1 -1
- package/chunks/{config-utils-S5LFS4RN.js → config-utils-L6KLDYIV.js} +19 -19
- package/chunks/{contextCommand-XXKZMMSQ.js → contextCommand-UYEH7NIU.js} +17 -17
- package/chunks/{core-runtime-YGUA42AZ.js → core-runtime-NVHT3Z3V.js} +15 -15
- package/chunks/{create-sub-session-SEK6KCYR.js → create-sub-session-YWASE5VH.js} +15 -15
- package/chunks/{daemon-git-worktree-guard-3AWINPPX.js → daemon-git-worktree-guard-FOW4RQSK.js} +15 -15
- package/chunks/{daemon-status-provider-RTKHKUFJ.js → daemon-status-provider-O5KQZYMP.js} +21 -21
- package/chunks/{daemon-trust-policy-6YQOC7B6.js → daemon-trust-policy-3ATXEON7.js} +21 -21
- package/chunks/{daemon-trust-policy-monitor-EN5L23GS.js → daemon-trust-policy-monitor-7MCNDNEC.js} +21 -21
- package/chunks/{de-OOLZAU2U.js → de-UU2YTO37.js} +1 -1
- package/chunks/{deferred-core-runtime-JPLQRVZO.js → deferred-core-runtime-JK5IXL5K.js} +15 -15
- package/chunks/{dist-JCXKXRH6.js → dist-AHJYPSJL.js} +5 -2
- package/chunks/{dist-3BJVSJ7D.js → dist-AIKC5E5P.js} +630 -9
- package/chunks/{dist-HX2LG76F.js → dist-F2DVGTL3.js} +29 -9
- package/chunks/{dist-J7PDFK53.js → dist-GWNQVPZT.js} +27 -8
- package/chunks/{dist-65Q3TRLH.js → dist-H6G3K26N.js} +34 -14
- package/chunks/{dist-SBK33YLC.js → dist-KJGRVIGJ.js} +33 -2
- package/chunks/{dist-WMFHZG3R.js → dist-KLZ7XGEQ.js} +4 -1
- package/chunks/{dist-LHGMHIDK.js → dist-ZA52JXAS.js} +5 -1
- package/chunks/{dist-QPTIRE3U.js → dist-ZXTZTE54.js} +11 -3
- package/chunks/{edit-QXJZIWRQ.js → edit-SY35KYIE.js} +9 -9
- package/chunks/{en-7BZ2OZKH.js → en-CAJHTIQT.js} +1 -1
- package/chunks/{enterPlanMode-2ITCVQ5N.js → enterPlanMode-HXX6KQJR.js} +9 -9
- package/chunks/{environment-URPO5ORZ.js → environment-DKXHG4HB.js} +17 -17
- package/chunks/{errors-TDUYLEKI.js → errors-ADY7LQJJ.js} +17 -17
- package/chunks/{exitPlanMode-RA7KMUEW.js → exitPlanMode-HSK2CQI6.js} +9 -9
- package/chunks/{fast-path-Q2JYP64P.js → fast-path-U636VWN2.js} +3 -3
- package/chunks/{fast-path-settings-GTHZLVSS.js → fast-path-settings-V7MI7EZJ.js} +1 -1
- package/chunks/{fr-JJWM2HUS.js → fr-HKNWVXRJ.js} +1 -1
- package/chunks/{glob-VHSV4BKE.js → glob-GUGGTH5L.js} +9 -9
- package/chunks/{goal-tools-5FIE56CK.js → goal-tools-PXYRSQGX.js} +11 -15
- package/chunks/{handleAutoUpdate-7FZFLKNZ.js → handleAutoUpdate-5KHS4HIN.js} +18 -18
- package/chunks/{i18n-NTFQDWKR.js → i18n-KSGKMUPT.js} +16 -16
- package/chunks/{image-gen-TF3IQWSH.js → image-gen-OCCR2WWU.js} +4 -4
- package/chunks/{initializer-LB3T635H.js → initializer-YYT5XEZF.js} +21 -21
- package/chunks/{installationInfo-KRO433ZG.js → installationInfo-UNSBPYW2.js} +15 -15
- package/chunks/{ja-L67TXFDJ.js → ja-GJS5RZGU.js} +1 -1
- package/chunks/{list-NEP3WPZ7.js → list-YL6LDQKQ.js} +24 -24
- package/chunks/{llm-AZEJEIAD.js → llm-XGGLBGPH.js} +57 -57
- package/chunks/{llm-content-generator-KWXFHBR3.js → llm-content-generator-ZHQQT5W7.js} +3 -3
- package/chunks/{loadedSettingsAdapter-NZORJLSD.js → loadedSettingsAdapter-3DXLASK7.js} +21 -21
- package/chunks/{loggingContentGenerator-NGHVU6AK.js → loggingContentGenerator-V72OCCJO.js} +10 -10
- package/chunks/{managed-npm-update-3LHNBEAG.js → managed-npm-update-HV5LPZH2.js} +15 -15
- package/chunks/{mcp-4SWJKDX7.js → mcp-IYVSIW6O.js} +21 -21
- package/chunks/{monitor-V5EFBZC7.js → monitor-TLBNM4MV.js} +9 -9
- package/chunks/{nonInteractiveCli-5UFUBUAT.js → nonInteractiveCli-LSJSQ2W4.js} +57 -57
- package/chunks/{notebook-edit-ATV46KWD.js → notebook-edit-OSPOLZP6.js} +9 -9
- package/chunks/{openaiContentGenerator-BKTO5QJK.js → openaiContentGenerator-BE4S5TRD.js} +6 -6
- package/chunks/{pidfile-JAIOWPI3.js → pidfile-H32FEPWA.js} +15 -15
- package/chunks/{processUtils-TCQH3LVD.js → processUtils-SSLIPDEA.js} +2 -2
- package/chunks/{prompt-terminal-ledger-BYXHEUHX.js → prompt-terminal-ledger-I5SLL6UF.js} +16 -16
- package/chunks/{pt-77SBDL4B.js → pt-FXMYXEUV.js} +1 -1
- package/chunks/{qwenContentGenerator-K5TJK75P.js → qwenContentGenerator-TMQC623Z.js} +11 -11
- package/chunks/{qwenOAuth2-NOXRK323.js → qwenOAuth2-3ZRQHHTC.js} +4 -4
- package/chunks/{read-file-DL7GNZD5.js → read-file-T2QAIZE2.js} +2 -2
- package/chunks/{resumeHistoryUtils-OYKXZ4YO.js → resumeHistoryUtils-QLKDH5GY.js} +19 -19
- package/chunks/{ripGrep-EOUMIU4K.js → ripGrep-YGWL7KCV.js} +3 -3
- package/chunks/{ru-UYWHKWF2.js → ru-RMHURE5U.js} +1 -1
- package/chunks/{run-qwen-serve-PPTGWC5B.js → run-qwen-serve-26KZDECC.js} +89 -231
- package/chunks/{runtime-5RO22P2N.js → runtime-BMEIVDDG.js} +26 -26
- package/chunks/{scheduled-tasks-YGERFWLZ.js → scheduled-tasks-NCFPP6VQ.js} +19 -19
- package/chunks/{scheduler-S6WU6M3C.js → scheduler-47TVMUVN.js} +17 -17
- package/chunks/{serve-HT4WOCWS.js → serve-KL3G6LQQ.js} +22 -22
- package/chunks/{server-SWXVPRCS.js → server-LBPYXZ5G.js} +55 -66
- package/chunks/{session-6DSFUOMO.js → session-YG6742LO.js} +58 -58
- package/chunks/{session-attachments-root-SOZCTQWW.js → session-attachments-root-OUBQDYC4.js} +15 -15
- package/chunks/{session-pr-refresh-F7XUBQBH.js → session-pr-refresh-EKGMYNAW.js} +18 -18
- package/chunks/{settings-SWQH36PO.js → settings-DDNHJX2L.js} +20 -20
- package/chunks/{shell-XUQL6EYV.js → shell-KUCXWITU.js} +9 -9
- package/chunks/{skill-HNRDD54C.js → skill-JQLKPNWZ.js} +2 -2
- package/chunks/{skill-settings-JU72PCII.js → skill-settings-XERQCUXZ.js} +20 -20
- package/chunks/{spawnChannel-7ZVM3GBU.js → spawnChannel-GQ45QFGB.js} +15 -15
- package/chunks/{standalone-update-64JQY2LX.js → standalone-update-PRF3ILGZ.js} +17 -17
- package/chunks/{start-opentui-ui-RSLBXESU.js → start-opentui-ui-JDSOZE3N.js} +62 -67
- package/chunks/{startInteractiveUI-ZDPHD7XE.js → startInteractiveUI-RRW3JVHN.js} +69 -85
- package/chunks/{team-create-U52VYSNO.js → team-create-5DRLOLOE.js} +9 -9
- package/chunks/{team-plan-approval-IQ4ADQIK.js → team-plan-approval-MWSGAL5T.js} +9 -9
- package/chunks/{terminal-image-renderer-ZEMF7LB2.js → terminal-image-renderer-H7PD4FQW.js} +15 -15
- package/chunks/{theme-manager-DK2S2SOX.js → theme-manager-7AV73D6R.js} +15 -15
- package/chunks/{tool-search-6U4OQG7K.js → tool-search-UGYTBLUV.js} +2 -6
- package/chunks/{total-session-admission-BOARHBZU.js → total-session-admission-JIHSTJ5S.js} +17 -17
- package/chunks/{trustedFolders-GKQZXZSV.js → trustedFolders-5VCBXFOP.js} +16 -16
- package/chunks/{update-relaunch-GLACF7PX.js → update-relaunch-4LF3APCV.js} +5 -5
- package/chunks/{updateCheck-NLBSZB4Q.js → updateCheck-4T3WUE5F.js} +17 -17
- package/chunks/{useAutoAcceptIndicator-3X3BYU7H.js → useAutoAcceptIndicator-UMGB64Z6.js} +23 -23
- package/chunks/{validateNonInterActiveAuth-NE3JLOIR.js → validateNonInterActiveAuth-GFJ72U2C.js} +54 -54
- package/chunks/{version-6H5YAT4N.js → version-EAAZN4T2.js} +1 -1
- package/chunks/{web-fetch-RWSO7TTN.js → web-fetch-VRU3A2NI.js} +5 -5
- package/chunks/{web-search-DADI3LV5.js → web-search-NEGYQNDJ.js} +319 -376
- package/chunks/{workflow-LPGCZCIT.js → workflow-UHPFALVZ.js} +10 -10
- package/chunks/{workspace-providers-status-QBRBEFTO.js → workspace-providers-status-AEYISSU2.js} +23 -23
- package/chunks/{workspace-registration-store-WUKTMJPW.js → workspace-registration-store-A7RGKW62.js} +1 -1
- package/chunks/{workspace-registry-CJV7KVGF.js → workspace-registry-C2NGE6SD.js} +17 -17
- package/chunks/{workspace-runtime-coordinator-7LYMFMFF.js → workspace-runtime-coordinator-QKMZ24YF.js} +18 -20
- package/chunks/{workspace-service-HWXZSA4J.js → workspace-service-RQTTAGGC.js} +24 -24
- package/chunks/{workspace-skills-status-D6QXUWCC.js → workspace-skills-status-5HWZU3HX.js} +21 -21
- package/chunks/{workspace-trust-reconciler-VZX7G7CZ.js → workspace-trust-reconciler-KFWATZUU.js} +23 -23
- package/chunks/{write-file-KKHV26YV.js → write-file-DPVB2SBQ.js} +10 -10
- package/chunks/{zh-J2GLI64H.js → zh-S5V3Z5CR.js} +1 -1
- package/chunks/{zh-TW-TBAICUJQ.js → zh-TW-2K2WRFPY.js} +1 -1
- package/chunks/{zoom-image-OG7X7KAA.js → zoom-image-S7AWLAPC.js} +2 -2
- package/cli.js +13 -13
- package/export-transcript-document.js +1 -1
- package/locales/ca.js +2 -2
- package/locales/de.js +2 -2
- package/locales/en.js +2 -2
- package/locales/fr.js +2 -2
- package/locales/ja.js +2 -2
- package/locales/pt.js +2 -2
- package/locales/ru.js +2 -2
- package/locales/zh-TW.js +2 -2
- package/locales/zh.js +2 -2
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-NT0lTLRG.js → abnfDiagram-VCTEODGH-nU24rpIE.js} +1 -1
- package/web-shell/assets/{arc-DDqnIMMx.js → arc-D1hTu8QI.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DfYghE3W.js → architectureDiagram-5GKGNRK7-B_fgkKe7.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-DlqJIx5c.js → blockDiagram-NRAW4CY4-C3pddUNg.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-CinqLGU4.js → c4Diagram-UCG6FXSJ-kEFoC1ei.js} +1 -1
- package/web-shell/assets/channel-Blod4z1X.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-CsjJX5M7.js → chunk-2Q5K7J3B-DbT9wS7j.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-CaVb2tdH.js → chunk-5VM5RSS4-CNbULt6O.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-CRyErlzW.js → chunk-F27PBJKO-CbQRy4Tb.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-7I79DZCf.js → chunk-G27WJ6UU-CVbXTxYk.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-Dz4cac5F.js → chunk-JWPE2WC7-D89c_BXy.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-Ls24Derb.js → chunk-LCL6LL3I-B7-I_9KB.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-JzYe4qx7.js → chunk-POPQ4Y6H-DcLQFzS4.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-BxDwesA-.js → chunk-SVP7TREG-DyBb2Axj.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-CW4hjgWc.js → chunk-XXDRQBXY-BIA0eb5B.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-D6hFDMqb.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-D6hFDMqb.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DxikE9iF.js → cose-bilkent-JH36ORCC-Db2FYN85.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-CvVsIkVN.js → cynefin-OW5HDTMX-i4GwmBVy.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CDHkk3wq.js → cynefinDiagram-5FMLGOSQ-LENf_IUy.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BgLdkVLT.js → dagre-3AP2YEHR-CF9XVrD9.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DP43cGhe.js → diagram-S7CK7UJ4-DD5PJfSm.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-BWrZYhoT.js → diagram-UQ7AKVKN-CjD_sBMj.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-B80wjH_n.js → diagram-VSXAHHWV-U5WwMqyA.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-DPpKmDsY.js → diagram-VX7I27RA-BujpHJJf.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-kaEBNbNU.js → diagram-Z3DM3KII-3ZLtKEXo.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-1-qbEZvk.js → ebnfDiagram-PWID7BFC-BGpiquRm.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CrK2gMkV.js → erDiagram-SSCWMZ5O-D0besu_U.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-Dic2xofW.js → flowDiagram-A5DVABFB-9DwDuIyr.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DJko8vT7.js → ganttDiagram-EL5Y4UJY-CNlsAeNr.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DxsQ-bHT.js → gitGraphDiagram-WWUBYQGX-C_pPFiTR.js} +1 -1
- package/web-shell/assets/{index-t7VBrUeD.js → index-BYWs4JWq.js} +1 -1
- package/web-shell/assets/{index-DY8CxdBr.js → index-D3YS6KuJ.js} +152 -152
- package/web-shell/assets/{infoDiagram-RXCK75RN-DcRUJbNi.js → infoDiagram-RXCK75RN-Bpai64Ll.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CUPw-2_e.js → ishikawaDiagram-5VMMS53U-ktpJFq4r.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-yOHhZxkW.js → journeyDiagram-EYS64GPL-iz_DKgFX.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-CFUGBbqz.js → kanban-definition-3QL26DDD-m_gG00Yt.js} +1 -1
- package/web-shell/assets/{layout-BoilNfBU.js → layout-qEvKgnvU.js} +1 -1
- package/web-shell/assets/{linear-DOuHaPrl.js → linear-C6lklGdq.js} +1 -1
- package/web-shell/assets/{mermaid.core-1G1fXWda.js → mermaid.core-DSCYB_2P.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-B8BhkrOX.js → mindmap-definition-FBJOCRG2-DRQbT8w-.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-CipC5K1D.js → pegDiagram-XKGWAZYB-BhD0q0i6.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-CHBDFDUJ.js → pieDiagram-E7YTZNPT-BvIGQCSd.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-_iiBkoZO.js → quadrantDiagram-AXDQQJYC-BDQtfpU-.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-Cx1peHDi.js → railroadDiagram-O6MQD6OU-E1g2KIFK.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CBRiPbdQ.js → requirementDiagram-EFPCY7ZU-CuerYJOe.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-TT6GcHaZ.js → sankeyDiagram-P5KCCOFB-CqWyCZGA.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-CWP42PNb.js → sequenceDiagram-WJ2MYXX4-B-YWb8x4.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-Bp94roEG.js → sizeCapture-X5ZJPWSS-BB7YY4Tl.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-0ftrzTAy.js → stateDiagram-HBIQ2CUA-C8LDpNHS.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-C4CbdvGa.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-D-FsenYJ.js → swimlanes-XN3QIQJK-D94vOoxZ.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN--QNSIOC8.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-Ctvrj28y.js → timeline-definition-24CTP7MA-C9C8uEYm.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-5DZncjOt.js → vennDiagram-4TSXK5OY-CYzMHbVW.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-jZjYwPY7.js → wardleyDiagram-VM6X3IG4-G9nhtLES.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-Ci6Q2C2_.js → xychartDiagram-S5SC5T6Z-ruD2Wjhg.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/assets/channel-BHGoSkEv.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-E47Xnn15.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-E47Xnn15.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-PgAST0dK.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BcWcB5bj.js +0 -8
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
recomputeMcpGating
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7ICHPMBQ.js";
|
|
6
6
|
import {
|
|
7
7
|
PeerMessaging,
|
|
8
8
|
classifyApiError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DT75RKNH.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizePartList
|
|
12
12
|
} from "./chunk-5IENVM7Z.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
matchMcpServerByRef,
|
|
23
23
|
parseExtensionRef,
|
|
24
24
|
parseMcpServerRef
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MLQNSPRZ.js";
|
|
26
26
|
import {
|
|
27
27
|
getAvailableCommands,
|
|
28
28
|
getSlashCommandFirstToken,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
pLimit,
|
|
33
33
|
recordDaemonSessionModel,
|
|
34
34
|
restoreSessionModelThenAuthenticate
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-SSGAAWLY.js";
|
|
36
36
|
import {
|
|
37
37
|
SessionIdConflictError,
|
|
38
38
|
appEvents,
|
|
@@ -42,41 +42,41 @@ import {
|
|
|
42
42
|
loadCliConfig,
|
|
43
43
|
normalizeDisabledToolList,
|
|
44
44
|
parseApprovalModeValue
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-DYFOSJHU.js";
|
|
46
46
|
import "./chunk-NYX53SV4.js";
|
|
47
47
|
import {
|
|
48
48
|
collectContextData,
|
|
49
49
|
formatContextUsageText
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-W5FIP7FC.js";
|
|
51
51
|
import {
|
|
52
52
|
getCommandSubcommandNames
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7Q2AXRDJ.js";
|
|
54
54
|
import {
|
|
55
55
|
getEffectiveSupportedModes
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-BWAMMKIS.js";
|
|
57
|
+
import "./chunk-S6Q6Q4P2.js";
|
|
58
58
|
import "./chunk-4WGODMVR.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-QMUYLYT5.js";
|
|
60
60
|
import {
|
|
61
61
|
isGoalStatusKind
|
|
62
62
|
} from "./chunk-EKTCKZV5.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-GOXQL4YH.js";
|
|
64
64
|
import "./chunk-2XRE4KE4.js";
|
|
65
65
|
import {
|
|
66
66
|
startNonInteractiveOpenAILogHousekeeping
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-MHAADZOZ.js";
|
|
68
68
|
import "./chunk-KW7NOTN6.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-EVTNACMT.js";
|
|
70
70
|
import "./chunk-6H67XLET.js";
|
|
71
71
|
import {
|
|
72
72
|
beginAcpBootstrapConfigProfiling,
|
|
73
73
|
buildAndFreezeAcpStartupProfile,
|
|
74
74
|
endAcpBootstrapConfigProfiling,
|
|
75
75
|
markAcpStartup
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
76
|
+
} from "./chunk-J3TJH52D.js";
|
|
77
|
+
import "./chunk-SYLECP23.js";
|
|
78
|
+
import "./chunk-GCDXVPFK.js";
|
|
79
|
+
import "./chunk-AC6KDLH3.js";
|
|
80
80
|
import "./chunk-YAF2MQZ6.js";
|
|
81
81
|
import {
|
|
82
82
|
computeCpuPercent
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
shouldSuppressRememberErrorDetails,
|
|
103
103
|
workspaceMemoryFailureCode,
|
|
104
104
|
workspaceMemoryFailureDiagnostics
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-KOKPXIAN.js";
|
|
106
106
|
import {
|
|
107
107
|
BaseEmitter,
|
|
108
108
|
HistoryReplayer,
|
|
@@ -113,11 +113,11 @@ import {
|
|
|
113
113
|
hasFullSessionContext,
|
|
114
114
|
observeAcpToolResultProjection,
|
|
115
115
|
observeAcpToolResultWire
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-3XLK2QMY.js";
|
|
117
117
|
import "./chunk-M3JGHRMQ.js";
|
|
118
118
|
import "./chunk-VFFQAOPR.js";
|
|
119
119
|
import "./chunk-47ECGEJC.js";
|
|
120
|
-
import "./chunk-
|
|
120
|
+
import "./chunk-6JACAGYH.js";
|
|
121
121
|
import "./chunk-2MIN6GRR.js";
|
|
122
122
|
import "./chunk-QHTIBUWB.js";
|
|
123
123
|
import "./chunk-TXASDT2M.js";
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
normalizeChannelDeliveryText,
|
|
144
144
|
scheduledTaskRunSessionName,
|
|
145
145
|
scheduledTaskRunSourceId
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-Z3GF56ME.js";
|
|
147
147
|
import {
|
|
148
148
|
normalizeSessionIdForLookup,
|
|
149
149
|
parseCallerSuppliedSessionId
|
|
@@ -154,15 +154,15 @@ import {
|
|
|
154
154
|
buildPermissionSettings,
|
|
155
155
|
normalizePermissionRules,
|
|
156
156
|
readPermissionRuleSet
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-XBZTAGB7.js";
|
|
158
158
|
import {
|
|
159
159
|
MAX_AUDIO_BYTES,
|
|
160
160
|
sanitizeVoiceErrorMessage,
|
|
161
161
|
transcribeVoiceAudio
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-2ALXPGB4.js";
|
|
163
163
|
import {
|
|
164
164
|
readVoiceModel
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-NE624IVP.js";
|
|
166
166
|
import "./chunk-Y53DG2HA.js";
|
|
167
167
|
import {
|
|
168
168
|
mapSkillConfigToStatus
|
|
@@ -171,13 +171,13 @@ import "./chunk-FCQJLMA2.js";
|
|
|
171
171
|
import "./chunk-DMEUXLSS.js";
|
|
172
172
|
import {
|
|
173
173
|
createLoadedSettingsAdapter
|
|
174
|
-
} from "./chunk-
|
|
175
|
-
import "./chunk-
|
|
176
|
-
import "./chunk-
|
|
174
|
+
} from "./chunk-TWUKBNWM.js";
|
|
175
|
+
import "./chunk-RWVD5RRY.js";
|
|
176
|
+
import "./chunk-HBQ2NXOU.js";
|
|
177
177
|
import "./chunk-JS73NNWF.js";
|
|
178
178
|
import {
|
|
179
179
|
SCHEDULED_TASK_RUN_SOURCE_TYPE
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-3KQBQ6FM.js";
|
|
181
181
|
import "./chunk-7U5G6JXI.js";
|
|
182
182
|
import "./chunk-WCCLLK7X.js";
|
|
183
183
|
import "./chunk-OCPBI7J5.js";
|
|
@@ -200,7 +200,7 @@ import {
|
|
|
200
200
|
isReasoningSelectionSupported,
|
|
201
201
|
parseReasoningSelection,
|
|
202
202
|
resolvePersistedReasoningConfigState
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-BV6Q5HMY.js";
|
|
204
204
|
import {
|
|
205
205
|
ACP_ROUTE_ID_PREFIX,
|
|
206
206
|
buildAcpModelOptions,
|
|
@@ -209,7 +209,7 @@ import {
|
|
|
209
209
|
parseAcpModelOption,
|
|
210
210
|
resolveAcpModelOption,
|
|
211
211
|
sanitizeProviderBaseUrl
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-MF6E7FSA.js";
|
|
213
213
|
import {
|
|
214
214
|
ACP_PREFLIGHT_KINDS,
|
|
215
215
|
IDLE_HOOK_EVENTS,
|
|
@@ -221,12 +221,12 @@ import {
|
|
|
221
221
|
import {
|
|
222
222
|
resolveSkillSettings
|
|
223
223
|
} from "./chunk-HWVUSYSN.js";
|
|
224
|
-
import "./chunk-
|
|
225
|
-
import "./chunk-
|
|
224
|
+
import "./chunk-NHCZJQE4.js";
|
|
225
|
+
import "./chunk-SODMFNAR.js";
|
|
226
226
|
import "./chunk-57OAHC2Y.js";
|
|
227
|
-
import "./chunk-
|
|
228
|
-
import "./chunk-
|
|
229
|
-
import "./chunk-
|
|
227
|
+
import "./chunk-RZHU3K6M.js";
|
|
228
|
+
import "./chunk-CUEXOHQH.js";
|
|
229
|
+
import "./chunk-76RGWKLS.js";
|
|
230
230
|
import "./chunk-V6WHFGST.js";
|
|
231
231
|
import {
|
|
232
232
|
ACTIVE_WORK_CLOSE_IF_UNHELD_PARAM,
|
|
@@ -246,7 +246,6 @@ import {
|
|
|
246
246
|
DAEMON_PERMISSION_CANCEL_REASON_META_KEY,
|
|
247
247
|
DAEMON_PROMPT_DISPLAY_TEXT_META_KEY,
|
|
248
248
|
DAEMON_RESTORE_ASK_USER_QUESTION_META_KEY,
|
|
249
|
-
DAEMON_SUBMITTED_PROMPT_META_KEY,
|
|
250
249
|
DAEMON_SUPPRESS_RESTORE_ASK_USER_QUESTION_META_KEY,
|
|
251
250
|
DAEMON_SUPPRESS_WORKTREE_CONTEXT_RESTORE_META_KEY,
|
|
252
251
|
LOAD_REPLAY_BULK_MODE,
|
|
@@ -262,21 +261,20 @@ import {
|
|
|
262
261
|
REQUESTED_SESSION_ID_META_KEY,
|
|
263
262
|
SESSION_INITIALIZATION_DEADLINE_META_KEY,
|
|
264
263
|
SESSION_INITIALIZATION_TIMEOUT_ERROR_KIND,
|
|
265
|
-
SUBMITTED_PROMPT_META_KEY,
|
|
266
264
|
TODO_STOP_GUARD_CONTINUATION_CLAIM_METHOD,
|
|
267
265
|
TODO_STOP_GUARD_QUEUE_RELEASE_METHOD,
|
|
268
266
|
WORKTREE_MCP_DEFER_META_KEY,
|
|
269
267
|
clampActiveWorkIntervalMs,
|
|
270
268
|
isValidTrustedModelPrompt
|
|
271
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-PSPAM24S.js";
|
|
272
270
|
import {
|
|
273
271
|
NOT_CURRENTLY_GENERATING_CANCEL_MESSAGE,
|
|
274
272
|
isNotCurrentlyGeneratingCancelError
|
|
275
273
|
} from "./chunk-FAWTMDX7.js";
|
|
276
274
|
import "./chunk-FYJ7W2PI.js";
|
|
277
275
|
import "./chunk-STUJ7IMZ.js";
|
|
278
|
-
import "./chunk-
|
|
279
|
-
import "./chunk-
|
|
276
|
+
import "./chunk-NLNQNBZ2.js";
|
|
277
|
+
import "./chunk-ALMR3E6Q.js";
|
|
280
278
|
import "./chunk-GYTKQYDB.js";
|
|
281
279
|
import "./chunk-RKFGE7JH.js";
|
|
282
280
|
import "./chunk-CJ3DHN5I.js";
|
|
@@ -292,11 +290,11 @@ import {
|
|
|
292
290
|
isValidExternalToolGuardDenialReason
|
|
293
291
|
} from "./chunk-3VUENPWF.js";
|
|
294
292
|
import "./chunk-NFXXBWSE.js";
|
|
295
|
-
import "./chunk-
|
|
293
|
+
import "./chunk-X6K77VHC.js";
|
|
296
294
|
import {
|
|
297
295
|
ACP_EVENT_LOOP_STALL_RESTART_MS,
|
|
298
296
|
CHANNEL_PROMPT_META_KEY
|
|
299
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-7QYWGTHB.js";
|
|
300
298
|
import {
|
|
301
299
|
AgentSideConnection,
|
|
302
300
|
PROTOCOL_VERSION,
|
|
@@ -305,7 +303,7 @@ import {
|
|
|
305
303
|
import {
|
|
306
304
|
assembleMcpServers,
|
|
307
305
|
loadMcpApprovals
|
|
308
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-2ZN3O5FT.js";
|
|
309
307
|
import {
|
|
310
308
|
deleteNestedPropertySafe,
|
|
311
309
|
getOutputLanguageFilePath,
|
|
@@ -317,14 +315,14 @@ import {
|
|
|
317
315
|
settingExistsInScope,
|
|
318
316
|
updateOutputLanguageFile,
|
|
319
317
|
writeOutputLanguageAndRegisterPath
|
|
320
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-7BXXIQG4.js";
|
|
321
319
|
import "./chunk-RKUWKYED.js";
|
|
322
|
-
import "./chunk-
|
|
320
|
+
import "./chunk-ZU47FBOC.js";
|
|
323
321
|
import {
|
|
324
322
|
findEnvFiles,
|
|
325
323
|
preResolveHomeEnvOverrides,
|
|
326
324
|
reloadEnvironment
|
|
327
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-NOAG7N22.js";
|
|
328
326
|
import "./chunk-N6VQ37ZZ.js";
|
|
329
327
|
import "./chunk-BW4333PP.js";
|
|
330
328
|
import {
|
|
@@ -339,19 +337,19 @@ import {
|
|
|
339
337
|
import {
|
|
340
338
|
getCurrentLanguage,
|
|
341
339
|
setLanguageAsync
|
|
342
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-VZUCTJ2P.js";
|
|
343
341
|
import {
|
|
344
342
|
SUPPORTED_LANGUAGES
|
|
345
343
|
} from "./chunk-5EJZE3FP.js";
|
|
346
344
|
import "./chunk-XFSFZCM5.js";
|
|
347
345
|
import "./chunk-2EAZ43JQ.js";
|
|
348
346
|
import "./chunk-NF5J2WFA.js";
|
|
349
|
-
import "./chunk-
|
|
347
|
+
import "./chunk-R4Q2PEFV.js";
|
|
350
348
|
import "./chunk-W3N5XAZ6.js";
|
|
351
349
|
import {
|
|
352
350
|
isWorkspaceTrusted,
|
|
353
351
|
loadTrustedFolders
|
|
354
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-53GWJOLP.js";
|
|
355
353
|
import "./chunk-NPQ5ZKRP.js";
|
|
356
354
|
import "./chunk-MR3PXB6E.js";
|
|
357
355
|
import {
|
|
@@ -381,7 +379,7 @@ import {
|
|
|
381
379
|
readManyFiles,
|
|
382
380
|
runManagedRememberByAgent,
|
|
383
381
|
subagentGenerator
|
|
384
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-BZM5U74J.js";
|
|
385
383
|
import {
|
|
386
384
|
buildToolWriteOriginMeta
|
|
387
385
|
} from "./chunk-GELRJXE2.js";
|
|
@@ -399,12 +397,12 @@ import {
|
|
|
399
397
|
CreateSubSessionTool
|
|
400
398
|
} from "./chunk-Y2MYW47X.js";
|
|
401
399
|
import "./chunk-LJZSMWOH.js";
|
|
402
|
-
import "./chunk-
|
|
400
|
+
import "./chunk-F42YYSCK.js";
|
|
403
401
|
import "./chunk-NUQVB25K.js";
|
|
404
402
|
import {
|
|
405
403
|
restoreWorktreeContext
|
|
406
404
|
} from "./chunk-ZKZHSB5W.js";
|
|
407
|
-
import "./chunk-
|
|
405
|
+
import "./chunk-MSNHNAQZ.js";
|
|
408
406
|
import "./chunk-DJXSOEFB.js";
|
|
409
407
|
import "./chunk-ZKYR7QS4.js";
|
|
410
408
|
import "./chunk-532WHF4F.js";
|
|
@@ -419,8 +417,8 @@ import {
|
|
|
419
417
|
listWorkflowSnapshots,
|
|
420
418
|
resolveSavedWorkflowScript,
|
|
421
419
|
toSnapshot
|
|
422
|
-
} from "./chunk-
|
|
423
|
-
import "./chunk-
|
|
420
|
+
} from "./chunk-UKZ45TJL.js";
|
|
421
|
+
import "./chunk-RLLRJJDR.js";
|
|
424
422
|
import {
|
|
425
423
|
APPROVAL_MODE_INFO,
|
|
426
424
|
BranchPointInvalidError,
|
|
@@ -465,7 +463,6 @@ import {
|
|
|
465
463
|
acquireSleepInhibitor,
|
|
466
464
|
ambientGoalToolResultProvenance,
|
|
467
465
|
applyAutoModeDecision,
|
|
468
|
-
applyPendingGoalProposal,
|
|
469
466
|
approxBase64Bytes,
|
|
470
467
|
bridgeToolResultImages,
|
|
471
468
|
buildBackgroundEntryLabel,
|
|
@@ -497,8 +494,6 @@ import {
|
|
|
497
494
|
firePostToolUseHook,
|
|
498
495
|
firePreToolUseHook,
|
|
499
496
|
formatDenialStateLog,
|
|
500
|
-
formatProposeGoalRecoveryFailed,
|
|
501
|
-
formatProposeGoalRecoveryNotStarted,
|
|
502
497
|
formatStopHookBlockingCapWarning,
|
|
503
498
|
generateToolUseId,
|
|
504
499
|
getAutoModeActionFingerprint,
|
|
@@ -559,7 +554,7 @@ import {
|
|
|
559
554
|
updateSetting,
|
|
560
555
|
validatePlanModeShellApproval,
|
|
561
556
|
validatePlanModeShellContext
|
|
562
|
-
} from "./chunk-
|
|
557
|
+
} from "./chunk-N7VWZDWW.js";
|
|
563
558
|
import "./chunk-GOFAQQZA.js";
|
|
564
559
|
import "./chunk-TWPJO254.js";
|
|
565
560
|
import {
|
|
@@ -601,7 +596,7 @@ import {
|
|
|
601
596
|
import "./chunk-DTNV6UZY.js";
|
|
602
597
|
import "./chunk-QJNDUTOL.js";
|
|
603
598
|
import "./chunk-JXNIF2O5.js";
|
|
604
|
-
import "./chunk-
|
|
599
|
+
import "./chunk-NFYEQRLG.js";
|
|
605
600
|
import {
|
|
606
601
|
SessionSourceError,
|
|
607
602
|
SessionSourceService
|
|
@@ -627,7 +622,7 @@ import {
|
|
|
627
622
|
} from "./chunk-LILGKQ4B.js";
|
|
628
623
|
import "./chunk-3CZ2BQV6.js";
|
|
629
624
|
import "./chunk-SAH4BD2J.js";
|
|
630
|
-
import "./chunk-
|
|
625
|
+
import "./chunk-CXTPVBFA.js";
|
|
631
626
|
import {
|
|
632
627
|
runWithRuntimeContentGenerator
|
|
633
628
|
} from "./chunk-U7O65WKL.js";
|
|
@@ -648,10 +643,10 @@ import "./chunk-K2OJUPOE.js";
|
|
|
648
643
|
import {
|
|
649
644
|
clearCachedCredentialFile,
|
|
650
645
|
qwenOAuth2Events
|
|
651
|
-
} from "./chunk-
|
|
646
|
+
} from "./chunk-AXTFYDXT.js";
|
|
652
647
|
import "./chunk-NAVJD2PQ.js";
|
|
653
|
-
import "./chunk-
|
|
654
|
-
import "./chunk-
|
|
648
|
+
import "./chunk-YBUMTY7B.js";
|
|
649
|
+
import "./chunk-HNLMYDQE.js";
|
|
655
650
|
import "./chunk-QHMLYMMS.js";
|
|
656
651
|
import "./chunk-VNOVK4I7.js";
|
|
657
652
|
import {
|
|
@@ -659,8 +654,8 @@ import {
|
|
|
659
654
|
} from "./chunk-CFKIH3D3.js";
|
|
660
655
|
import "./chunk-JL6APGBX.js";
|
|
661
656
|
import "./chunk-DJ2GSRLV.js";
|
|
662
|
-
import "./chunk-
|
|
663
|
-
import "./chunk-
|
|
657
|
+
import "./chunk-4ALNJDHL.js";
|
|
658
|
+
import "./chunk-NOO4QFXM.js";
|
|
664
659
|
import "./chunk-KFFCDLKV.js";
|
|
665
660
|
import {
|
|
666
661
|
addDaemonRequestAttribute,
|
|
@@ -692,7 +687,7 @@ import {
|
|
|
692
687
|
shouldRunVisionBridge,
|
|
693
688
|
splitImageParts,
|
|
694
689
|
uiTelemetryService
|
|
695
|
-
} from "./chunk-
|
|
690
|
+
} from "./chunk-HBU7EKY4.js";
|
|
696
691
|
import {
|
|
697
692
|
INVOCATION_CONTEXT_META_KEY,
|
|
698
693
|
PRIVATE_ACP_CAPABILITY_ENV,
|
|
@@ -726,7 +721,7 @@ import "./chunk-TIGXX4PA.js";
|
|
|
726
721
|
import {
|
|
727
722
|
hasVertexProjectConfigured,
|
|
728
723
|
preloadContentGenerator
|
|
729
|
-
} from "./chunk-
|
|
724
|
+
} from "./chunk-3UXUOFO6.js";
|
|
730
725
|
import "./chunk-XFFRI3WM.js";
|
|
731
726
|
import {
|
|
732
727
|
AuthType
|
|
@@ -764,12 +759,12 @@ import {
|
|
|
764
759
|
} from "./chunk-ZAFYHRVY.js";
|
|
765
760
|
import "./chunk-TBWQLLFO.js";
|
|
766
761
|
import "./chunk-V5U2NZNJ.js";
|
|
767
|
-
import "./chunk-
|
|
762
|
+
import "./chunk-6W4HBUA2.js";
|
|
768
763
|
import "./chunk-TPKQIA7G.js";
|
|
769
764
|
import {
|
|
770
765
|
registerCleanup,
|
|
771
766
|
runExitCleanup
|
|
772
|
-
} from "./chunk-
|
|
767
|
+
} from "./chunk-JYKWOREU.js";
|
|
773
768
|
import {
|
|
774
769
|
writeStderrLine,
|
|
775
770
|
writeStderrLineSafe
|
|
@@ -2159,12 +2154,6 @@ function buildPermissionRequestContent(confirmation) {
|
|
|
2159
2154
|
}
|
|
2160
2155
|
});
|
|
2161
2156
|
}
|
|
2162
|
-
if (confirmation.type === "info" && confirmation.renderPromptAsPlainText) {
|
|
2163
|
-
content.push({
|
|
2164
|
-
type: "content",
|
|
2165
|
-
content: { type: "text", text: confirmation.prompt }
|
|
2166
|
-
});
|
|
2167
|
-
}
|
|
2168
2157
|
return content;
|
|
2169
2158
|
}
|
|
2170
2159
|
__name(buildPermissionRequestContent, "buildPermissionRequestContent");
|
|
@@ -3300,7 +3289,6 @@ var MAX_RETAINED_SESSION_ROUTE_COUNTS = 8;
|
|
|
3300
3289
|
var USER_CANCEL_ABORT_REASON = "qwen:user-cancel";
|
|
3301
3290
|
var NEW_PROMPT_ABORT_REASON = "qwen:new-prompt";
|
|
3302
3291
|
var SESSION_DISPOSE_ABORT_REASON = "qwen:session-dispose";
|
|
3303
|
-
var GOAL_HELD_RECOVERY_COMMANDS = "Run:\n/goal pause\nThen, when ready:\n/goal resume";
|
|
3304
3292
|
var DAEMON_RETRY_META_KEY = "qwen.daemon.retry";
|
|
3305
3293
|
var DAEMON_CONTINUE_META_KEY = "qwen.daemon.continueLastTurn";
|
|
3306
3294
|
var MAX_DAEMON_ATTACHMENT_REFERENCES = 256;
|
|
@@ -4195,7 +4183,6 @@ var Session = class {
|
|
|
4195
4183
|
__name(this, "Session");
|
|
4196
4184
|
}
|
|
4197
4185
|
pendingPrompt = null;
|
|
4198
|
-
activeGoalProposalTurn;
|
|
4199
4186
|
/**
|
|
4200
4187
|
* Tracks the completion of the current prompt so that the next prompt
|
|
4201
4188
|
* can await it. This prevents a new prompt from reading chat history
|
|
@@ -4290,7 +4277,6 @@ var Session = class {
|
|
|
4290
4277
|
backgroundNotificationAcceptances = /* @__PURE__ */ new Map();
|
|
4291
4278
|
activeNotificationAcceptances = /* @__PURE__ */ new Set();
|
|
4292
4279
|
goalQueue = [];
|
|
4293
|
-
heldGoalProposal;
|
|
4294
4280
|
goalProcessing = false;
|
|
4295
4281
|
activeGoalTurn;
|
|
4296
4282
|
goalHostUnbind;
|
|
@@ -4400,9 +4386,6 @@ var Session = class {
|
|
|
4400
4386
|
this.goalRuntimeUnsubscribe = runtime.subscribe((snapshot, cause) => {
|
|
4401
4387
|
const previousGoal = this.lastGoalSnapshot?.goal ?? null;
|
|
4402
4388
|
this.lastGoalSnapshot = snapshot;
|
|
4403
|
-
if (this.heldGoalProposal && (snapshot.goal?.goalId !== this.heldGoalProposal.goalId || snapshot.goal.revision !== this.heldGoalProposal.revision || snapshot.goal.status !== "active" || cause === "resume")) {
|
|
4404
|
-
this.heldGoalProposal = void 0;
|
|
4405
|
-
}
|
|
4406
4389
|
void this.#queueGoalState(snapshot, cause, previousGoal).catch(
|
|
4407
4390
|
(error) => debugLogger6.warn(
|
|
4408
4391
|
`Failed to emit ACP Goal state: ${error instanceof Error ? error.message : String(error)}`
|
|
@@ -4588,10 +4571,6 @@ var Session = class {
|
|
|
4588
4571
|
if (this.disposed || this.closing || this.goalProcessing || this.pendingPrompt || this.pendingPromptCompletion || this.cronProcessing || this.cronAbortController || this.notificationProcessing || this.notificationAbortController || this.#isAutomaticWorkHeld()) {
|
|
4589
4572
|
return;
|
|
4590
4573
|
}
|
|
4591
|
-
const next = this.goalQueue[0];
|
|
4592
|
-
if (this.heldGoalProposal && next?.permit.goalId === this.heldGoalProposal.goalId && next.permit.revision === this.heldGoalProposal.revision) {
|
|
4593
|
-
return;
|
|
4594
|
-
}
|
|
4595
4574
|
const turn = this.goalQueue.shift();
|
|
4596
4575
|
if (!turn) return;
|
|
4597
4576
|
this.goalProcessing = true;
|
|
@@ -6189,17 +6168,7 @@ var Session = class {
|
|
|
6189
6168
|
if (!goalTurn) {
|
|
6190
6169
|
try {
|
|
6191
6170
|
const runtime = this.config.getGoalRuntime();
|
|
6192
|
-
|
|
6193
|
-
const heldGoalMatches = this.heldGoalProposal?.goalId === activeGoal?.goalId && this.heldGoalProposal?.revision === activeGoal?.revision;
|
|
6194
|
-
if (activeGoal?.status === "active" && heldGoalMatches) {
|
|
6195
|
-
for (const queued of this.goalQueue.splice(0)) {
|
|
6196
|
-
queued.controller.abort(NEW_PROMPT_ABORT_REASON);
|
|
6197
|
-
await runtime.releaseTurn(queued.turnKey, { requeue: false });
|
|
6198
|
-
}
|
|
6199
|
-
await this.messageEmitter.emitAgentMessage(
|
|
6200
|
-
`Automatic Goal execution is still held. ${GOAL_HELD_RECOVERY_COMMANDS}`
|
|
6201
|
-
);
|
|
6202
|
-
} else if (activeGoal?.status === "active") {
|
|
6171
|
+
if (runtime.getSnapshot().goal?.status === "active") {
|
|
6203
6172
|
reservedGoalRuntime = runtime;
|
|
6204
6173
|
reservedGoalTurnKey = `goal-user:${randomUUID()}`;
|
|
6205
6174
|
runtime.beginTurn(reservedGoalTurnKey);
|
|
@@ -6377,11 +6346,6 @@ var Session = class {
|
|
|
6377
6346
|
}
|
|
6378
6347
|
} : result;
|
|
6379
6348
|
promptResult = completedResult;
|
|
6380
|
-
const proposalTurn = responseCapture.goalProposalTurn;
|
|
6381
|
-
if (proposalTurn) {
|
|
6382
|
-
proposalTurn.completedNormally = completedResult.stopReason === "end_turn" && !pendingSend.signal.aborted && proposalTurn.settlementBlocked !== true;
|
|
6383
|
-
}
|
|
6384
|
-
await this.#settleGoalProposal(responseCapture);
|
|
6385
6349
|
releasePendingSend();
|
|
6386
6350
|
void this.#drainCronQueue();
|
|
6387
6351
|
void this.#drainNotificationQueue();
|
|
@@ -6409,23 +6373,6 @@ var Session = class {
|
|
|
6409
6373
|
rejectedByLoopProtection = isLoopDetectedTurnError(error);
|
|
6410
6374
|
throw error;
|
|
6411
6375
|
} finally {
|
|
6412
|
-
const proposalTurn = responseCapture.goalProposalTurn;
|
|
6413
|
-
if (proposalTurn) {
|
|
6414
|
-
this.config.takePendingGoalProposal(proposalTurn.turnKey);
|
|
6415
|
-
if (this.activeGoalProposalTurn === proposalTurn) {
|
|
6416
|
-
this.activeGoalProposalTurn = void 0;
|
|
6417
|
-
}
|
|
6418
|
-
}
|
|
6419
|
-
if (this.config.getGoalProposalHostSupported() && this.config.setGoalProposalTurnKey(void 0)) {
|
|
6420
|
-
try {
|
|
6421
|
-
await this.config.getLlmClient().setTools();
|
|
6422
|
-
} catch (error) {
|
|
6423
|
-
debugLogger6.warn(
|
|
6424
|
-
"Failed to refresh Goal proposal availability",
|
|
6425
|
-
error
|
|
6426
|
-
);
|
|
6427
|
-
}
|
|
6428
|
-
}
|
|
6429
6376
|
const stillOwnsPendingPrompt = this.pendingPrompt === pendingSend;
|
|
6430
6377
|
releasePendingSend();
|
|
6431
6378
|
const shouldDrainAutomaticQueues = (
|
|
@@ -6607,70 +6554,6 @@ var Session = class {
|
|
|
6607
6554
|
), "execute");
|
|
6608
6555
|
return goalTurn ? goalTurnContext.run(goalTurn.permit, execute) : goalTurnContext.exit(execute);
|
|
6609
6556
|
}
|
|
6610
|
-
async #settleGoalProposal(capture) {
|
|
6611
|
-
const turn = capture.goalProposalTurn;
|
|
6612
|
-
if (!turn) return;
|
|
6613
|
-
const proposal = this.config.takePendingGoalProposal(turn.turnKey);
|
|
6614
|
-
if (!proposal) return;
|
|
6615
|
-
const ownsTurn = /* @__PURE__ */ __name(() => turn.completedNormally && !turn.controller.signal.aborted && this.pendingPrompt === turn.controller && this.activeGoalProposalTurn === turn && !this.disposed && !this.closing, "ownsTurn");
|
|
6616
|
-
if (!ownsTurn()) {
|
|
6617
|
-
if (!this.disposed && !this.closing) {
|
|
6618
|
-
await this.messageEmitter.emitAgentMessage(
|
|
6619
|
-
formatProposeGoalRecoveryNotStarted(proposal.objective)
|
|
6620
|
-
);
|
|
6621
|
-
}
|
|
6622
|
-
return;
|
|
6623
|
-
}
|
|
6624
|
-
try {
|
|
6625
|
-
const runtime = await this.config.getGoalRuntimeReady();
|
|
6626
|
-
if (!ownsTurn()) {
|
|
6627
|
-
if (!this.disposed && !this.closing) {
|
|
6628
|
-
await this.messageEmitter.emitAgentMessage(
|
|
6629
|
-
formatProposeGoalRecoveryNotStarted(proposal.objective)
|
|
6630
|
-
);
|
|
6631
|
-
}
|
|
6632
|
-
return;
|
|
6633
|
-
}
|
|
6634
|
-
const result = await applyPendingGoalProposal(runtime, proposal);
|
|
6635
|
-
if (result.applied && (!ownsTurn() || proposal.approvalSignal?.aborted)) {
|
|
6636
|
-
try {
|
|
6637
|
-
await runtime.dispatch({
|
|
6638
|
-
action: "pause",
|
|
6639
|
-
expectedGoalId: result.goal.goalId,
|
|
6640
|
-
expectedRevision: result.goal.revision,
|
|
6641
|
-
reason: this.closing || this.disposed ? GOAL_PAUSE_REASON_SESSION_DISPOSED : GOAL_PAUSE_REASON_USER_INTERRUPT
|
|
6642
|
-
});
|
|
6643
|
-
} catch (error) {
|
|
6644
|
-
const current = runtime.getSnapshot().goal;
|
|
6645
|
-
if (current?.goalId === result.goal.goalId && current.revision === result.goal.revision && current.status === "active") {
|
|
6646
|
-
this.heldGoalProposal = {
|
|
6647
|
-
goalId: current.goalId,
|
|
6648
|
-
revision: current.revision
|
|
6649
|
-
};
|
|
6650
|
-
debugLogger6.warn(
|
|
6651
|
-
"Failed to pause the cancelled Goal proposal",
|
|
6652
|
-
error
|
|
6653
|
-
);
|
|
6654
|
-
await this.messageEmitter.emitAgentMessage(
|
|
6655
|
-
`The Goal was created, but its cancellation could not be saved. Automatic execution is held in this session. ${GOAL_HELD_RECOVERY_COMMANDS}`
|
|
6656
|
-
);
|
|
6657
|
-
}
|
|
6658
|
-
}
|
|
6659
|
-
} else if (!result.applied) {
|
|
6660
|
-
debugLogger6.debug(
|
|
6661
|
-
`Dropping an approved Goal proposal: ${result.reason}`
|
|
6662
|
-
);
|
|
6663
|
-
await this.messageEmitter.emitAgentMessage(
|
|
6664
|
-
result.kind === "changed" ? result.reason : formatProposeGoalRecoveryFailed(proposal.objective)
|
|
6665
|
-
);
|
|
6666
|
-
}
|
|
6667
|
-
} catch (error) {
|
|
6668
|
-
debugLogger6.warn("Failed to apply an approved Goal proposal", error);
|
|
6669
|
-
await this.messageEmitter.emitAgentMessage(
|
|
6670
|
-
formatProposeGoalRecoveryFailed(proposal.objective)
|
|
6671
|
-
);
|
|
6672
|
-
}
|
|
6673
|
-
}
|
|
6674
6557
|
async #executePromptInner(params, pendingSend, responseCapture, modelPrompt, rejectOnLoopDetected = false, goalTurn, channelTurn = false) {
|
|
6675
6558
|
let managedMemoryRecallStarted = false;
|
|
6676
6559
|
return Storage.runWithRuntimeBaseDir(
|
|
@@ -6683,19 +6566,6 @@ var Session = class {
|
|
|
6683
6566
|
}
|
|
6684
6567
|
this.turn += 1;
|
|
6685
6568
|
const promptId = this.config.getSessionId() + "########" + this.turn;
|
|
6686
|
-
if (!goalTurn && !channelTurn && params._meta?.["qwen.goalProposalApproval"] === true) {
|
|
6687
|
-
responseCapture.goalProposalTurn = {
|
|
6688
|
-
turnKey: promptId,
|
|
6689
|
-
controller: pendingSend,
|
|
6690
|
-
completedNormally: false
|
|
6691
|
-
};
|
|
6692
|
-
this.activeGoalProposalTurn = responseCapture.goalProposalTurn;
|
|
6693
|
-
}
|
|
6694
|
-
if (this.config.getGoalProposalHostSupported() && this.config.setGoalProposalTurnKey(
|
|
6695
|
-
responseCapture.goalProposalTurn?.turnKey
|
|
6696
|
-
)) {
|
|
6697
|
-
await this.config.getLlmClient().setTools();
|
|
6698
|
-
}
|
|
6699
6569
|
const daemonPromptId = getInvocationContext()?.promptId;
|
|
6700
6570
|
const promptMetadata = params._meta;
|
|
6701
6571
|
const continuesCurrentWorkChain = params.retry === true || promptMetadata?.[DAEMON_RETRY_META_KEY] === true || promptMetadata?.[DAEMON_CONTINUE_META_KEY] === true || promptMetadata?.[DAEMON_RESTORE_ASK_USER_QUESTION_META_KEY] === true;
|
|
@@ -6713,8 +6583,6 @@ var Session = class {
|
|
|
6713
6583
|
const promptText = params.prompt.filter((block) => block.type === "text").map((block) => block.type === "text" ? block.text : "").join(" ");
|
|
6714
6584
|
const promptDisplayTextValue = promptMetadata?.[DAEMON_PROMPT_DISPLAY_TEXT_META_KEY];
|
|
6715
6585
|
const promptDisplayText = typeof promptDisplayTextValue === "string" ? promptDisplayTextValue : void 0;
|
|
6716
|
-
const declaredSubmission = promptMetadata?.[DAEMON_SUBMITTED_PROMPT_META_KEY];
|
|
6717
|
-
const submittedPrompt = typeof declaredSubmission === "string" ? declaredSubmission : "";
|
|
6718
6586
|
const modelPromptBlocks = modelPrompt === void 0 ? params.prompt : [{ type: "text", text: modelPrompt }];
|
|
6719
6587
|
logUserPrompt(
|
|
6720
6588
|
this.config,
|
|
@@ -6897,15 +6765,13 @@ var Session = class {
|
|
|
6897
6765
|
const messageBus = this.config.getMessageBus?.();
|
|
6898
6766
|
const isRuntimeContinuation = goalTurn?.origin === "runtime";
|
|
6899
6767
|
const isFreshUserTurn = !isRetry && !isContinue && !isRestoreAskUserQuestion && !isRuntimeContinuation;
|
|
6900
|
-
const isUserSubmissionTurn = isFreshUserTurn && !channelTurn;
|
|
6901
6768
|
if (!isContinue && !isRestoreAskUserQuestion && !isRuntimeContinuation && hooksEnabled && messageBus && this.config.hasHooksForEvent?.("UserPromptSubmit")) {
|
|
6902
6769
|
const response = await messageBus.request(
|
|
6903
6770
|
{
|
|
6904
6771
|
type: "hook-execution-request" /* HOOK_EXECUTION_REQUEST */,
|
|
6905
6772
|
eventName: "UserPromptSubmit",
|
|
6906
6773
|
input: {
|
|
6907
|
-
prompt: promptText
|
|
6908
|
-
...isUserSubmissionTurn && submittedPrompt.trim().length > 0 ? { submitted_prompt: submittedPrompt } : {}
|
|
6774
|
+
prompt: promptText
|
|
6909
6775
|
},
|
|
6910
6776
|
signal: pendingSend.signal
|
|
6911
6777
|
},
|
|
@@ -7431,11 +7297,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7431
7297
|
modelOverride = model;
|
|
7432
7298
|
return true;
|
|
7433
7299
|
}, "onFullTurnModel");
|
|
7434
|
-
const blockGoalProposalSettlement = /* @__PURE__ */ __name(() => {
|
|
7435
|
-
if (responseCapture?.goalProposalTurn) {
|
|
7436
|
-
responseCapture.goalProposalTurn.settlementBlocked = true;
|
|
7437
|
-
}
|
|
7438
|
-
}, "blockGoalProposalSettlement");
|
|
7439
7300
|
let midTurnContinuationCount = 0;
|
|
7440
7301
|
while (true) {
|
|
7441
7302
|
if (this.pendingPrompt && this.pendingPrompt !== pendingSend) {
|
|
@@ -7449,7 +7310,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7449
7310
|
this.#clearTodoStopGuardTrustAndDrainAutomaticQueues();
|
|
7450
7311
|
}
|
|
7451
7312
|
if (this.todoStopGuardQueuedPromptPriority) {
|
|
7452
|
-
blockGoalProposalSettlement();
|
|
7453
7313
|
return { stopReason: "end_turn" };
|
|
7454
7314
|
}
|
|
7455
7315
|
if (this.todoStopGuard.needsStopInspection) {
|
|
@@ -7463,7 +7323,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7463
7323
|
pendingSend.signal
|
|
7464
7324
|
);
|
|
7465
7325
|
if (claim === "queued") {
|
|
7466
|
-
blockGoalProposalSettlement();
|
|
7467
7326
|
this.#preserveUnsentMessageHistory(
|
|
7468
7327
|
{ role: "user", parts: drained.parts },
|
|
7469
7328
|
true
|
|
@@ -7475,7 +7334,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7475
7334
|
}
|
|
7476
7335
|
}
|
|
7477
7336
|
this.todoStopGuard.acceptMidTurnUserInput();
|
|
7478
|
-
blockGoalProposalSettlement();
|
|
7479
7337
|
const continuation2 = await this.#runStopContinuation(
|
|
7480
7338
|
pendingSend,
|
|
7481
7339
|
promptId + "_mid_turn_" + ++midTurnContinuationCount,
|
|
@@ -7503,7 +7361,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7503
7361
|
pendingSend.signal
|
|
7504
7362
|
);
|
|
7505
7363
|
if (claim === "queued") {
|
|
7506
|
-
blockGoalProposalSettlement();
|
|
7507
7364
|
return { stopReason: "end_turn" };
|
|
7508
7365
|
}
|
|
7509
7366
|
if (claim === "unavailable") {
|
|
@@ -7553,7 +7410,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7553
7410
|
pendingSend.signal
|
|
7554
7411
|
);
|
|
7555
7412
|
if (claim === "queued") {
|
|
7556
|
-
blockGoalProposalSettlement();
|
|
7557
7413
|
this.#preserveUnsentMessageHistory(
|
|
7558
7414
|
{ role: "user", parts: drained.parts },
|
|
7559
7415
|
true
|
|
@@ -7565,7 +7421,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7565
7421
|
}
|
|
7566
7422
|
}
|
|
7567
7423
|
this.todoStopGuard.acceptMidTurnUserInput();
|
|
7568
|
-
blockGoalProposalSettlement();
|
|
7569
7424
|
const continuation2 = await this.#runStopContinuation(
|
|
7570
7425
|
pendingSend,
|
|
7571
7426
|
promptId + "_mid_turn_" + ++midTurnContinuationCount,
|
|
@@ -7593,7 +7448,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7593
7448
|
pendingSend.signal
|
|
7594
7449
|
);
|
|
7595
7450
|
if (claim === "queued") {
|
|
7596
|
-
blockGoalProposalSettlement();
|
|
7597
7451
|
return { stopReason: "end_turn" };
|
|
7598
7452
|
}
|
|
7599
7453
|
if (claim === "unavailable") {
|
|
@@ -7623,10 +7477,7 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7623
7477
|
const guardContinuation = guardDecision?.kind === "continue" ? guardDecision : null;
|
|
7624
7478
|
if (guardDecision?.kind === "exhausted") {
|
|
7625
7479
|
await this.#emitTodoStopGuardExhausted(guardDecision);
|
|
7626
|
-
if (!externalReason) {
|
|
7627
|
-
blockGoalProposalSettlement();
|
|
7628
|
-
return { stopReason: "end_turn" };
|
|
7629
|
-
}
|
|
7480
|
+
if (!externalReason) return { stopReason: "end_turn" };
|
|
7630
7481
|
}
|
|
7631
7482
|
if (externalReason && stopHookIterationCount >= stopHookBlockingCap) {
|
|
7632
7483
|
const warning = formatStopHookBlockingCapWarning(
|
|
@@ -7641,7 +7492,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7641
7492
|
await this.#pauseGoalForStopHookCap();
|
|
7642
7493
|
}
|
|
7643
7494
|
this.todoStopGuard.suspend();
|
|
7644
|
-
blockGoalProposalSettlement();
|
|
7645
7495
|
await this.messageEmitter.emitAgentMessage(warning);
|
|
7646
7496
|
debugLogger6.warn(warning);
|
|
7647
7497
|
return { stopReason: "end_turn" };
|
|
@@ -7714,12 +7564,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7714
7564
|
true
|
|
7715
7565
|
);
|
|
7716
7566
|
}, "preservePendingMessage");
|
|
7717
|
-
const blockGoalProposalSettlement = /* @__PURE__ */ __name(() => {
|
|
7718
|
-
const proposalTurn = options.responseCapture?.goalProposalTurn;
|
|
7719
|
-
if (proposalTurn) {
|
|
7720
|
-
proposalTurn.settlementBlocked = true;
|
|
7721
|
-
}
|
|
7722
|
-
}, "blockGoalProposalSettlement");
|
|
7723
7567
|
while (nextMessage !== null) {
|
|
7724
7568
|
if (this.pendingPrompt && this.pendingPrompt !== pendingSend) {
|
|
7725
7569
|
preservePendingMessage(nextMessage);
|
|
@@ -7826,7 +7670,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7826
7670
|
nextGuardContinuation = void 0;
|
|
7827
7671
|
if (!options.externalParts) {
|
|
7828
7672
|
preserveGuardOnSkippedSend = true;
|
|
7829
|
-
blockGoalProposalSettlement();
|
|
7830
7673
|
return { kind: "stop", stopReason: "end_turn" };
|
|
7831
7674
|
}
|
|
7832
7675
|
if (!initialSend && nextMessage) {
|
|
@@ -7845,7 +7688,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7845
7688
|
guardForThisSend = void 0;
|
|
7846
7689
|
nextGuardContinuation = void 0;
|
|
7847
7690
|
preserveGuardOnSkippedSend = true;
|
|
7848
|
-
blockGoalProposalSettlement();
|
|
7849
7691
|
if (initialSend) {
|
|
7850
7692
|
supersededAutomaticContinuation = true;
|
|
7851
7693
|
}
|
|
@@ -7903,7 +7745,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
7903
7745
|
guardForThisSend = void 0;
|
|
7904
7746
|
nextGuardContinuation = void 0;
|
|
7905
7747
|
preserveGuardOnSkippedSend = true;
|
|
7906
|
-
blockGoalProposalSettlement();
|
|
7907
7748
|
if (initialSend) {
|
|
7908
7749
|
supersededAutomaticContinuation = true;
|
|
7909
7750
|
}
|
|
@@ -9081,10 +8922,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
9081
8922
|
* timed-out drain is still recorded exactly once.
|
|
9082
8923
|
*/
|
|
9083
8924
|
async #buildMidTurnParts(messages, abortSignal, options = {}) {
|
|
9084
|
-
const proposalTurn = this.activeGoalProposalTurn;
|
|
9085
|
-
if (messages.length > 0 && proposalTurn?.controller.signal === abortSignal) {
|
|
9086
|
-
proposalTurn.settlementBlocked = true;
|
|
9087
|
-
}
|
|
9088
8925
|
const parts = [];
|
|
9089
8926
|
for (const message of messages) {
|
|
9090
8927
|
const displayText = message.kind === "text" ? message.message : message.displayText;
|
|
@@ -11670,19 +11507,6 @@ ${this.pendingRecoveredAgentsNotice}
|
|
|
11670
11507
|
return await runInToolSpanContext(toolSpan, async () => {
|
|
11671
11508
|
const entryCancellation = cancelBeforeExecutionIfAborted(toolName);
|
|
11672
11509
|
if (entryCancellation) return entryCancellation;
|
|
11673
|
-
if (policyToolName === ToolNames.PROPOSE_GOAL && (this.activeGoalProposalTurn?.turnKey !== promptId || this.activeGoalProposalTurn.controller.signal.aborted)) {
|
|
11674
|
-
return earlyErrorResponse(
|
|
11675
|
-
new Error(
|
|
11676
|
-
"The Goal was not set: this turn cannot own a Goal approval. Hand the user a `/goal set <objective>` line instead."
|
|
11677
|
-
),
|
|
11678
|
-
toolName,
|
|
11679
|
-
{
|
|
11680
|
-
status: "error",
|
|
11681
|
-
errorType: "execution_denied" /* EXECUTION_DENIED */,
|
|
11682
|
-
executionStatus: "not_started"
|
|
11683
|
-
}
|
|
11684
|
-
);
|
|
11685
|
-
}
|
|
11686
11510
|
const isTrustedLiveScreenContextTool = tool === this.liveScreenContextTool;
|
|
11687
11511
|
const isTrustedLiveTaskTool = this.liveTaskTools.includes(
|
|
11688
11512
|
tool
|
|
@@ -18258,7 +18082,7 @@ var QwenAgent = class _QwenAgent {
|
|
|
18258
18082
|
}
|
|
18259
18083
|
this.clientCapabilities = args.clientCapabilities;
|
|
18260
18084
|
const authMethods = buildAuthMethods();
|
|
18261
|
-
const version = "0.23.3
|
|
18085
|
+
const version = "0.23.3";
|
|
18262
18086
|
const response = {
|
|
18263
18087
|
protocolVersion: PROTOCOL_VERSION,
|
|
18264
18088
|
agentInfo: {
|
|
@@ -19341,24 +19165,13 @@ var QwenAgent = class _QwenAgent {
|
|
|
19341
19165
|
const suppliedContext = meta[INVOCATION_CONTEXT_META_KEY];
|
|
19342
19166
|
const suppliedModelPrompt = meta[DAEMON_MODEL_PROMPT_META_KEY];
|
|
19343
19167
|
const suppliedPromptDisplayText = meta[DAEMON_PROMPT_DISPLAY_TEXT_META_KEY];
|
|
19344
|
-
const submittedPrompt = this.privateParentState === "trusted" ? meta[DAEMON_SUBMITTED_PROMPT_META_KEY] : meta[SUBMITTED_PROMPT_META_KEY];
|
|
19345
19168
|
const suppliedChannelPrompt = meta[CHANNEL_PROMPT_META_KEY];
|
|
19346
|
-
const suppliedGoalProposalApproval = meta["qwen.goalProposalApproval"];
|
|
19347
19169
|
const suppliedChannelDelivery = meta[DAEMON_CHANNEL_DELIVERY_META_KEY];
|
|
19348
19170
|
delete meta[INVOCATION_CONTEXT_META_KEY];
|
|
19349
19171
|
delete meta[DAEMON_MODEL_PROMPT_META_KEY];
|
|
19350
19172
|
delete meta[PRIVATE_PARENT_CAPABILITY_META_KEY];
|
|
19351
19173
|
delete meta[DAEMON_PROMPT_DISPLAY_TEXT_META_KEY];
|
|
19352
|
-
delete meta[SUBMITTED_PROMPT_META_KEY];
|
|
19353
|
-
delete meta[DAEMON_SUBMITTED_PROMPT_META_KEY];
|
|
19354
|
-
if (typeof submittedPrompt === "string" && suppliedChannelPrompt !== true) {
|
|
19355
|
-
meta[DAEMON_SUBMITTED_PROMPT_META_KEY] = submittedPrompt;
|
|
19356
|
-
}
|
|
19357
19174
|
delete meta[CHANNEL_PROMPT_META_KEY];
|
|
19358
|
-
delete meta["qwen.goalProposalApproval"];
|
|
19359
|
-
if (this.privateParentState === "trusted" && suppliedGoalProposalApproval === true) {
|
|
19360
|
-
meta["qwen.goalProposalApproval"] = true;
|
|
19361
|
-
}
|
|
19362
19175
|
delete meta[DAEMON_CHANNEL_DELIVERY_META_KEY];
|
|
19363
19176
|
if (this.privateParentState === "trusted" && typeof suppliedPromptDisplayText === "string") {
|
|
19364
19177
|
meta[DAEMON_PROMPT_DISPLAY_TEXT_META_KEY] = suppliedPromptDisplayText;
|
|
@@ -25718,9 +25531,6 @@ ${outputText}
|
|
|
25718
25531
|
if (sessionSource) {
|
|
25719
25532
|
config.setSessionSource(sessionSource.sourceType, sessionSource.sourceId);
|
|
25720
25533
|
}
|
|
25721
|
-
if (this.clientCapabilities?._meta?.["qwen.goalProposals"] === true) {
|
|
25722
|
-
config.setGoalProposalHostSupported(true);
|
|
25723
|
-
}
|
|
25724
25534
|
if (chatRecording !== false) {
|
|
25725
25535
|
this.initializingConfigs.add(config);
|
|
25726
25536
|
}
|