@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
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
import {
|
|
165
165
|
normalizeImageGenerationBaseUrl,
|
|
166
166
|
resolveNetworkTarget
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-NFYEQRLG.js";
|
|
168
168
|
import {
|
|
169
169
|
restoreSessionSources
|
|
170
170
|
} from "./chunk-ELRMZTPF.js";
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
import {
|
|
246
246
|
DashScopeOpenAICompatibleProvider,
|
|
247
247
|
selectDashScopeThinkingKnob
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-CXTPVBFA.js";
|
|
249
249
|
import {
|
|
250
250
|
childLaunchDepth,
|
|
251
251
|
getCurrentAgentDepth,
|
|
@@ -349,7 +349,7 @@ import {
|
|
|
349
349
|
delay,
|
|
350
350
|
isUnattendedMode,
|
|
351
351
|
retryWithBackoff
|
|
352
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-HNLMYDQE.js";
|
|
353
353
|
import {
|
|
354
354
|
isRetryableStreamTransportError
|
|
355
355
|
} from "./chunk-QHMLYMMS.js";
|
|
@@ -378,7 +378,7 @@ import {
|
|
|
378
378
|
isQuotaExhaustedError,
|
|
379
379
|
isRateLimitError,
|
|
380
380
|
isStructuredError
|
|
381
|
-
} from "./chunk-
|
|
381
|
+
} from "./chunk-4ALNJDHL.js";
|
|
382
382
|
import {
|
|
383
383
|
addDaemonRequestAttribute
|
|
384
384
|
} from "./chunk-ZW2EUO2A.js";
|
|
@@ -474,7 +474,7 @@ import {
|
|
|
474
474
|
updateMCPServerStatus,
|
|
475
475
|
writeLine,
|
|
476
476
|
writeLineSync
|
|
477
|
-
} from "./chunk-
|
|
477
|
+
} from "./chunk-HBU7EKY4.js";
|
|
478
478
|
import {
|
|
479
479
|
getInvocationContext,
|
|
480
480
|
runWithInvocationContext
|
|
@@ -544,7 +544,7 @@ import {
|
|
|
544
544
|
createContentGenerator,
|
|
545
545
|
resetPreloadedContentGenerator,
|
|
546
546
|
resolveContentGeneratorConfigWithSources
|
|
547
|
-
} from "./chunk-
|
|
547
|
+
} from "./chunk-3UXUOFO6.js";
|
|
548
548
|
import {
|
|
549
549
|
atomicWriteFile,
|
|
550
550
|
atomicWriteFileSync,
|
|
@@ -69329,7 +69329,7 @@ var CoreToolScheduler = class {
|
|
|
69329
69329
|
}
|
|
69330
69330
|
/** Suggests similar tool names using Levenshtein distance. */
|
|
69331
69331
|
getToolSuggestion(unknownToolName, topN = 3) {
|
|
69332
|
-
const allToolNames = this.toolRegistry.getAllToolNames()
|
|
69332
|
+
const allToolNames = this.toolRegistry.getAllToolNames();
|
|
69333
69333
|
const matches = allToolNames.map((toolName) => ({
|
|
69334
69334
|
name: toolName,
|
|
69335
69335
|
distance: import_fast_levenshtein.default.get(unknownToolName, toolName)
|
|
@@ -90596,11 +90596,8 @@ var LlmClient = class _LlmClient {
|
|
|
90596
90596
|
* continuations keep the proposal parked until their final boundary. An
|
|
90597
90597
|
* aborted turn drops the approval instead of starting a loop the user just
|
|
90598
90598
|
* cancelled; an abort during dispatch pauses the new Goal.
|
|
90599
|
-
* Host-supported sessions settle after classifying their own protective
|
|
90600
|
-
* exits, so core must leave their single-take proposal latch untouched.
|
|
90601
90599
|
*/
|
|
90602
|
-
async settlePendingGoalProposal(turnEnded, signal, loadGoalRuntime, turnKey
|
|
90603
|
-
if (this.config.getGoalProposalHostSupported?.()) return;
|
|
90600
|
+
async settlePendingGoalProposal(turnEnded, signal, loadGoalRuntime, turnKey) {
|
|
90604
90601
|
const take = this.config.takePendingGoalProposal;
|
|
90605
90602
|
if (typeof take !== "function") return;
|
|
90606
90603
|
if (!turnEnded && !signal.aborted) return;
|
|
@@ -90612,12 +90609,11 @@ var LlmClient = class _LlmClient {
|
|
|
90612
90609
|
debugLogger61.debug(
|
|
90613
90610
|
"Dropping an approved Goal proposal: the Goal runtime is unavailable"
|
|
90614
90611
|
);
|
|
90615
|
-
reportFailure(formatProposeGoalRecoveryFailed(proposal.objective));
|
|
90616
90612
|
return;
|
|
90617
90613
|
}
|
|
90618
90614
|
if (signal.aborted) return;
|
|
90619
90615
|
const result = await applyPendingGoalProposal(runtime, proposal);
|
|
90620
|
-
if (
|
|
90616
|
+
if (signal.aborted && result.applied) {
|
|
90621
90617
|
try {
|
|
90622
90618
|
await runtime.dispatch({
|
|
90623
90619
|
action: "pause",
|
|
@@ -90635,9 +90631,6 @@ var LlmClient = class _LlmClient {
|
|
|
90635
90631
|
}
|
|
90636
90632
|
if (!result.applied) {
|
|
90637
90633
|
debugLogger61.debug(`Dropping an approved Goal proposal: ${result.reason}`);
|
|
90638
|
-
reportFailure(
|
|
90639
|
-
result.kind === "changed" ? result.reason : formatProposeGoalRecoveryFailed(proposal.objective)
|
|
90640
|
-
);
|
|
90641
90634
|
}
|
|
90642
90635
|
}
|
|
90643
90636
|
getLastModelMessageText() {
|
|
@@ -92077,13 +92070,6 @@ var LlmClient = class _LlmClient {
|
|
|
92077
92070
|
let goalPermitReleased = false;
|
|
92078
92071
|
let unsubscribeGoalState;
|
|
92079
92072
|
const pendingGoalStateEvents = [];
|
|
92080
|
-
const pendingGoalSettlementMessages = [];
|
|
92081
|
-
const reportGoalSettlementFailure = /* @__PURE__ */ __name((message) => {
|
|
92082
|
-
pendingGoalSettlementMessages.push({
|
|
92083
|
-
type: "goal_settlement_failed" /* GoalSettlementFailed */,
|
|
92084
|
-
value: message
|
|
92085
|
-
});
|
|
92086
|
-
}, "reportGoalSettlementFailure");
|
|
92087
92073
|
let hasEmittedActiveGoalProjection = false;
|
|
92088
92074
|
let lastEmittedActiveGoal;
|
|
92089
92075
|
const closeGoalStateEvents = /* @__PURE__ */ __name(() => {
|
|
@@ -92106,10 +92092,7 @@ var LlmClient = class _LlmClient {
|
|
|
92106
92092
|
});
|
|
92107
92093
|
}, "bindGoalStateEvents");
|
|
92108
92094
|
const takePendingGoalEvents = /* @__PURE__ */ __name(() => {
|
|
92109
|
-
const events =
|
|
92110
|
-
0,
|
|
92111
|
-
pendingGoalSettlementMessages.length
|
|
92112
|
-
);
|
|
92095
|
+
const events = [];
|
|
92113
92096
|
for (const stateEvent of pendingGoalStateEvents.splice(
|
|
92114
92097
|
0,
|
|
92115
92098
|
pendingGoalStateEvents.length
|
|
@@ -92321,8 +92304,7 @@ var LlmClient = class _LlmClient {
|
|
|
92321
92304
|
if (runtime) bindGoalStateEvents(runtime);
|
|
92322
92305
|
return runtime;
|
|
92323
92306
|
},
|
|
92324
|
-
prompt_id
|
|
92325
|
-
reportGoalSettlementFailure
|
|
92307
|
+
prompt_id
|
|
92326
92308
|
);
|
|
92327
92309
|
for (const goalEvent of takePendingGoalEvents()) {
|
|
92328
92310
|
yield goalEvent;
|
|
@@ -93122,8 +93104,7 @@ The current date is: ${today}. Note: This is the authoritative current date \u20
|
|
|
93122
93104
|
true,
|
|
93123
93105
|
signal,
|
|
93124
93106
|
loadGoalRuntime,
|
|
93125
|
-
prompt_id
|
|
93126
|
-
reportGoalSettlementFailure
|
|
93107
|
+
prompt_id
|
|
93127
93108
|
);
|
|
93128
93109
|
for (const goalEvent of takePendingGoalEvents()) {
|
|
93129
93110
|
yield goalEvent;
|
|
@@ -93176,8 +93157,7 @@ The current date is: ${today}. Note: This is the authoritative current date \u20
|
|
|
93176
93157
|
!hasToolCalls,
|
|
93177
93158
|
signal,
|
|
93178
93159
|
loadGoalRuntime,
|
|
93179
|
-
prompt_id
|
|
93180
|
-
reportGoalSettlementFailure
|
|
93160
|
+
prompt_id
|
|
93181
93161
|
);
|
|
93182
93162
|
for (const goalEvent of takePendingGoalEvents()) {
|
|
93183
93163
|
yield goalEvent;
|
|
@@ -93235,8 +93215,7 @@ The current date is: ${today}. Note: This is the authoritative current date \u20
|
|
|
93235
93215
|
true,
|
|
93236
93216
|
signal,
|
|
93237
93217
|
loadGoalRuntime,
|
|
93238
|
-
prompt_id
|
|
93239
|
-
reportGoalSettlementFailure
|
|
93218
|
+
prompt_id
|
|
93240
93219
|
);
|
|
93241
93220
|
for (const goalEvent of takePendingGoalEvents()) {
|
|
93242
93221
|
yield goalEvent;
|
|
@@ -93288,8 +93267,7 @@ The current date is: ${today}. Note: This is the authoritative current date \u20
|
|
|
93288
93267
|
!hasToolCalls,
|
|
93289
93268
|
signal,
|
|
93290
93269
|
loadGoalRuntime,
|
|
93291
|
-
prompt_id
|
|
93292
|
-
reportGoalSettlementFailure
|
|
93270
|
+
prompt_id
|
|
93293
93271
|
);
|
|
93294
93272
|
for (const goalEvent of takePendingGoalEvents()) {
|
|
93295
93273
|
yield goalEvent;
|
|
@@ -93317,8 +93295,7 @@ The current date is: ${today}. Note: This is the authoritative current date \u20
|
|
|
93317
93295
|
turn.pendingToolCalls.length === 0,
|
|
93318
93296
|
signal,
|
|
93319
93297
|
loadGoalRuntime,
|
|
93320
|
-
prompt_id
|
|
93321
|
-
reportGoalSettlementFailure
|
|
93298
|
+
prompt_id
|
|
93322
93299
|
);
|
|
93323
93300
|
for (const goalEvent of takePendingGoalEvents()) {
|
|
93324
93301
|
yield goalEvent;
|
|
@@ -130488,7 +130465,7 @@ var ToolRegistry = class _ToolRegistry {
|
|
|
130488
130465
|
*/
|
|
130489
130466
|
getFunctionDeclarations(options2) {
|
|
130490
130467
|
const includeDeferred = options2?.includeDeferred === true;
|
|
130491
|
-
return Array.from(this.tools.values()).filter(
|
|
130468
|
+
return Array.from(this.tools.values()).filter(
|
|
130492
130469
|
(tool) => includeDeferred || !this.isEffectivelyDeferred(tool) || tool.alwaysLoad || !this.isDeferredAndHidden(tool.name)
|
|
130493
130470
|
).sort(_ToolRegistry.compareToolsByDeclarationName).map((tool) => tool.schema);
|
|
130494
130471
|
}
|
|
@@ -130570,7 +130547,7 @@ var ToolRegistry = class _ToolRegistry {
|
|
|
130570
130547
|
getDeferredToolSummary() {
|
|
130571
130548
|
const summary = [];
|
|
130572
130549
|
this.tools.forEach((tool) => {
|
|
130573
|
-
if (this.isEffectivelyDeferred(tool) && !tool.alwaysLoad &&
|
|
130550
|
+
if (this.isEffectivelyDeferred(tool) && !tool.alwaysLoad && !this.config.getVisibleTools().has(tool.name)) {
|
|
130574
130551
|
summary.push({
|
|
130575
130552
|
name: tool.name,
|
|
130576
130553
|
description: tool.description,
|
|
@@ -130650,15 +130627,12 @@ var ToolRegistry = class _ToolRegistry {
|
|
|
130650
130627
|
const declarations = [];
|
|
130651
130628
|
for (const name of toolNames) {
|
|
130652
130629
|
const tool = this.tools.get(name);
|
|
130653
|
-
if (tool
|
|
130630
|
+
if (tool) {
|
|
130654
130631
|
declarations.push(tool.schema);
|
|
130655
130632
|
}
|
|
130656
130633
|
}
|
|
130657
130634
|
return declarations;
|
|
130658
130635
|
}
|
|
130659
|
-
isToolDeclared(name) {
|
|
130660
|
-
return name !== ToolNames.PROPOSE_GOAL || this.config.isGoalProposalAvailable();
|
|
130661
|
-
}
|
|
130662
130636
|
/**
|
|
130663
130637
|
* Returns an array of all registered and discovered tool names,
|
|
130664
130638
|
* including tools that are registered via factory but not yet loaded.
|
|
@@ -161566,7 +161540,6 @@ var Config = class _Config {
|
|
|
161566
161540
|
goalRuntimeReady;
|
|
161567
161541
|
/** A `propose_goal` approval waiting for its turn to end; see PendingGoalProposal. */
|
|
161568
161542
|
pendingGoalProposal;
|
|
161569
|
-
goalProposalApprovalController;
|
|
161570
161543
|
/**
|
|
161571
161544
|
* A Goal restore held back because the session writer is not accepting
|
|
161572
161545
|
* writes yet. Settled by {@link startPendingGoalRestore} once the
|
|
@@ -161647,8 +161620,6 @@ var Config = class _Config {
|
|
|
161647
161620
|
*/
|
|
161648
161621
|
externalAgentExecutor;
|
|
161649
161622
|
modelProposedGoals;
|
|
161650
|
-
goalProposalHostSupported = false;
|
|
161651
|
-
goalProposalTurnKey;
|
|
161652
161623
|
skipWorkflowUsageWarning = false;
|
|
161653
161624
|
emitToolUseSummaries = true;
|
|
161654
161625
|
chatRecordingEnabled;
|
|
@@ -165257,9 +165228,6 @@ var Config = class _Config {
|
|
|
165257
165228
|
this.manualPlanExitNoticeEventState = noticeEvent;
|
|
165258
165229
|
}
|
|
165259
165230
|
if (mode === "plan" /* PLAN */ && fromMode !== "plan" /* PLAN */) {
|
|
165260
|
-
if (!isDerivedConfig(this)) {
|
|
165261
|
-
this.goalProposalApprovalController?.abort();
|
|
165262
|
-
}
|
|
165263
165231
|
this.prePlanMode = fromMode;
|
|
165264
165232
|
noticeEvent.version++;
|
|
165265
165233
|
noticeEvent.kind = "clear";
|
|
@@ -165876,34 +165844,13 @@ var Config = class _Config {
|
|
|
165876
165844
|
getModelProposedGoals() {
|
|
165877
165845
|
return this.modelProposedGoals;
|
|
165878
165846
|
}
|
|
165879
|
-
setGoalProposalHostSupported(supported) {
|
|
165880
|
-
this.goalProposalHostSupported = supported;
|
|
165881
|
-
}
|
|
165882
|
-
getGoalProposalHostSupported() {
|
|
165883
|
-
return this.goalProposalHostSupported;
|
|
165884
|
-
}
|
|
165885
|
-
setGoalProposalTurnKey(turnKey) {
|
|
165886
|
-
if (this.goalProposalTurnKey === turnKey) return false;
|
|
165887
|
-
this.goalProposalTurnKey = turnKey;
|
|
165888
|
-
return true;
|
|
165889
|
-
}
|
|
165890
|
-
isGoalProposalAvailable() {
|
|
165891
|
-
return resolveInteractionMode(this) === "interactive" || this.goalProposalHostSupported && this.goalProposalTurnKey !== void 0;
|
|
165892
|
-
}
|
|
165893
165847
|
hasPendingGoalProposal() {
|
|
165894
165848
|
return this.pendingGoalProposal !== void 0;
|
|
165895
165849
|
}
|
|
165896
165850
|
/** Parks a `propose_goal` approval until the proposing turn ends. */
|
|
165897
165851
|
setPendingGoalProposal(proposal) {
|
|
165898
165852
|
if (this.pendingGoalProposal) return false;
|
|
165899
|
-
this.
|
|
165900
|
-
if (this.approvalMode === "plan" /* PLAN */) {
|
|
165901
|
-
this.goalProposalApprovalController.abort();
|
|
165902
|
-
}
|
|
165903
|
-
this.pendingGoalProposal = {
|
|
165904
|
-
...proposal,
|
|
165905
|
-
approvalSignal: this.goalProposalApprovalController.signal
|
|
165906
|
-
};
|
|
165853
|
+
this.pendingGoalProposal = proposal;
|
|
165907
165854
|
return true;
|
|
165908
165855
|
}
|
|
165909
165856
|
/** Hands the parked approval to its owning turn, or clears it explicitly. */
|
|
@@ -166576,8 +166523,6 @@ var Config = class _Config {
|
|
|
166576
166523
|
"Goal runtime was replaced before the session writer became available"
|
|
166577
166524
|
)
|
|
166578
166525
|
);
|
|
166579
|
-
this.goalProposalApprovalController?.abort();
|
|
166580
|
-
this.goalProposalApprovalController = void 0;
|
|
166581
166526
|
this.pendingGoalProposal = void 0;
|
|
166582
166527
|
if (!this.chatRecordingService) {
|
|
166583
166528
|
this.goalRuntime = void 0;
|
|
@@ -167036,7 +166981,7 @@ var Config = class _Config {
|
|
|
167036
166981
|
async registerWorkflowTool(registry3) {
|
|
167037
166982
|
if (registry3.getAllToolNames().includes(ToolNames.WORKFLOW)) return true;
|
|
167038
166983
|
await this.registerLazyTool(registry3, ToolNames.WORKFLOW, async () => {
|
|
167039
|
-
const { WorkflowTool } = await import("./workflow-
|
|
166984
|
+
const { WorkflowTool } = await import("./workflow-UHPFALVZ.js");
|
|
167040
166985
|
return new WorkflowTool(this);
|
|
167041
166986
|
});
|
|
167042
166987
|
return registry3.getAllToolNames().includes(ToolNames.WORKFLOW);
|
|
@@ -167058,7 +167003,7 @@ var Config = class _Config {
|
|
|
167058
167003
|
}
|
|
167059
167004
|
if (status === "disabled") return;
|
|
167060
167005
|
const factory = /* @__PURE__ */ __name(async () => {
|
|
167061
|
-
const { ImageGenTool } = await import("./image-gen-
|
|
167006
|
+
const { ImageGenTool } = await import("./image-gen-OCCR2WWU.js");
|
|
167062
167007
|
return new ImageGenTool(this);
|
|
167063
167008
|
}, "factory");
|
|
167064
167009
|
if (status === "deferred") {
|
|
@@ -167116,35 +167061,35 @@ var Config = class _Config {
|
|
|
167116
167061
|
const registerGoalWorkerTools = /* @__PURE__ */ __name(async () => {
|
|
167117
167062
|
if (options2?.forSubAgent) return;
|
|
167118
167063
|
await registerLazy(ToolNames.GET_GOAL, async () => {
|
|
167119
|
-
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-
|
|
167064
|
+
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-PXYRSQGX.js");
|
|
167120
167065
|
return new GetGoalTool2(this);
|
|
167121
167066
|
});
|
|
167122
167067
|
await registerLazy(ToolNames.UPDATE_GOAL, async () => {
|
|
167123
|
-
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-
|
|
167068
|
+
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-PXYRSQGX.js");
|
|
167124
167069
|
return new UpdateGoalTool2(this);
|
|
167125
167070
|
});
|
|
167126
|
-
if (this.getModelProposedGoals() !== "disabled" &&
|
|
167071
|
+
if (this.getModelProposedGoals() !== "disabled" && resolveInteractionMode(this) === "interactive") {
|
|
167127
167072
|
await registerLazy(ToolNames.PROPOSE_GOAL, async () => {
|
|
167128
|
-
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-
|
|
167073
|
+
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-PXYRSQGX.js");
|
|
167129
167074
|
return new ProposeGoalTool2(this);
|
|
167130
167075
|
});
|
|
167131
167076
|
}
|
|
167132
167077
|
}, "registerGoalWorkerTools");
|
|
167133
167078
|
if (this.getBareMode()) {
|
|
167134
167079
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
167135
|
-
const { ReadFileTool } = await import("./read-file-
|
|
167080
|
+
const { ReadFileTool } = await import("./read-file-T2QAIZE2.js");
|
|
167136
167081
|
return new ReadFileTool(this);
|
|
167137
167082
|
});
|
|
167138
167083
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
167139
|
-
const { EditTool } = await import("./edit-
|
|
167084
|
+
const { EditTool } = await import("./edit-SY35KYIE.js");
|
|
167140
167085
|
return new EditTool(this);
|
|
167141
167086
|
});
|
|
167142
167087
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
167143
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
167088
|
+
const { NotebookEditTool } = await import("./notebook-edit-OSPOLZP6.js");
|
|
167144
167089
|
return new NotebookEditTool(this);
|
|
167145
167090
|
});
|
|
167146
167091
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
167147
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
167092
|
+
const { ShellTool: ShellTool2 } = await import("./shell-KUCXWITU.js");
|
|
167148
167093
|
return new ShellTool2(this);
|
|
167149
167094
|
});
|
|
167150
167095
|
await registerGoalWorkerTools();
|
|
@@ -167156,7 +167101,7 @@ var Config = class _Config {
|
|
|
167156
167101
|
}
|
|
167157
167102
|
await registerGoalWorkerTools();
|
|
167158
167103
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
167159
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
167104
|
+
const { ToolSearchTool } = await import("./tool-search-UGYTBLUV.js");
|
|
167160
167105
|
return new ToolSearchTool(this);
|
|
167161
167106
|
});
|
|
167162
167107
|
await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
|
|
@@ -167164,7 +167109,7 @@ var Config = class _Config {
|
|
|
167164
167109
|
return new ReadMcpResourceTool(this);
|
|
167165
167110
|
});
|
|
167166
167111
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
167167
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
167112
|
+
const { AgentTool: AgentTool2 } = await import("./agent-SQ6OY3QD.js");
|
|
167168
167113
|
return new AgentTool2(this);
|
|
167169
167114
|
});
|
|
167170
167115
|
await registerLazy(ToolNames.LIST_AGENTS, async () => {
|
|
@@ -167180,7 +167125,7 @@ var Config = class _Config {
|
|
|
167180
167125
|
return new SendMessageTool(this);
|
|
167181
167126
|
});
|
|
167182
167127
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
167183
|
-
const { SkillTool } = await import("./skill-
|
|
167128
|
+
const { SkillTool } = await import("./skill-JQLKPNWZ.js");
|
|
167184
167129
|
return new SkillTool(this);
|
|
167185
167130
|
});
|
|
167186
167131
|
if (this.isLsToolEnabled()) {
|
|
@@ -167190,11 +167135,11 @@ var Config = class _Config {
|
|
|
167190
167135
|
});
|
|
167191
167136
|
}
|
|
167192
167137
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
167193
|
-
const { ReadFileTool } = await import("./read-file-
|
|
167138
|
+
const { ReadFileTool } = await import("./read-file-T2QAIZE2.js");
|
|
167194
167139
|
return new ReadFileTool(this);
|
|
167195
167140
|
});
|
|
167196
167141
|
await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
|
|
167197
|
-
const { ZoomImageTool } = await import("./zoom-image-
|
|
167142
|
+
const { ZoomImageTool } = await import("./zoom-image-S7AWLAPC.js");
|
|
167198
167143
|
return new ZoomImageTool(this);
|
|
167199
167144
|
});
|
|
167200
167145
|
if (this.getUseRipgrep()) {
|
|
@@ -167209,7 +167154,7 @@ var Config = class _Config {
|
|
|
167209
167154
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
167210
167155
|
if (useRipgrep) {
|
|
167211
167156
|
await registerLazy(ToolNames.GREP, async () => {
|
|
167212
|
-
const { RipGrepTool } = await import("./ripGrep-
|
|
167157
|
+
const { RipGrepTool } = await import("./ripGrep-YGWL7KCV.js");
|
|
167213
167158
|
return new RipGrepTool(this);
|
|
167214
167159
|
});
|
|
167215
167160
|
} else {
|
|
@@ -167235,23 +167180,23 @@ var Config = class _Config {
|
|
|
167235
167180
|
});
|
|
167236
167181
|
}
|
|
167237
167182
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
167238
|
-
const { GlobTool } = await import("./glob-
|
|
167183
|
+
const { GlobTool } = await import("./glob-GUGGTH5L.js");
|
|
167239
167184
|
return new GlobTool(this);
|
|
167240
167185
|
});
|
|
167241
167186
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
167242
|
-
const { EditTool } = await import("./edit-
|
|
167187
|
+
const { EditTool } = await import("./edit-SY35KYIE.js");
|
|
167243
167188
|
return new EditTool(this);
|
|
167244
167189
|
});
|
|
167245
167190
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
167246
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
167191
|
+
const { NotebookEditTool } = await import("./notebook-edit-OSPOLZP6.js");
|
|
167247
167192
|
return new NotebookEditTool(this);
|
|
167248
167193
|
});
|
|
167249
167194
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
167250
|
-
const { WriteFileTool } = await import("./write-file-
|
|
167195
|
+
const { WriteFileTool } = await import("./write-file-DPVB2SBQ.js");
|
|
167251
167196
|
return new WriteFileTool(this);
|
|
167252
167197
|
});
|
|
167253
167198
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
167254
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
167199
|
+
const { ShellTool: ShellTool2 } = await import("./shell-KUCXWITU.js");
|
|
167255
167200
|
return new ShellTool2(this);
|
|
167256
167201
|
});
|
|
167257
167202
|
if (this.isTodoWriteEnabled()) {
|
|
@@ -167273,13 +167218,13 @@ var Config = class _Config {
|
|
|
167273
167218
|
}
|
|
167274
167219
|
if (!this.sdkMode && (supportsUserInteraction || options2?.forSubAgent)) {
|
|
167275
167220
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
167276
|
-
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-
|
|
167221
|
+
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-HSK2CQI6.js");
|
|
167277
167222
|
return new ExitPlanModeTool2(this);
|
|
167278
167223
|
});
|
|
167279
167224
|
}
|
|
167280
167225
|
if (!this.sdkMode && supportsUserInteraction) {
|
|
167281
167226
|
await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
|
|
167282
|
-
const { EnterPlanModeTool } = await import("./enterPlanMode-
|
|
167227
|
+
const { EnterPlanModeTool } = await import("./enterPlanMode-HXX6KQJR.js");
|
|
167283
167228
|
return new EnterPlanModeTool(this);
|
|
167284
167229
|
});
|
|
167285
167230
|
}
|
|
@@ -167292,7 +167237,7 @@ var Config = class _Config {
|
|
|
167292
167237
|
return new ExitWorktreeTool(this);
|
|
167293
167238
|
});
|
|
167294
167239
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
167295
|
-
const { WebFetchTool } = await import("./web-fetch-
|
|
167240
|
+
const { WebFetchTool } = await import("./web-fetch-VRU3A2NI.js");
|
|
167296
167241
|
return new WebFetchTool(this);
|
|
167297
167242
|
});
|
|
167298
167243
|
if (resolveInteractionMode(this) === "interactive" && !this.sdkMode && !this.getScreenReader() && !options2?.forSubAgent) {
|
|
@@ -167303,11 +167248,11 @@ var Config = class _Config {
|
|
|
167303
167248
|
}
|
|
167304
167249
|
const hasExplicitWebSearchBackend = !!this.webSearchSettings?.model?.trim() || !!this.webSearchSettings?.baseUrl;
|
|
167305
167250
|
if (!this.getBareMode() && !this.isSafeMode() && this.webSearchSettings?.enabled !== false && (this.webSearchSettings?.enabled === true || !hasExplicitWebSearchBackend)) {
|
|
167306
|
-
const { evaluateWebSearchGate } = await import("./web-search-
|
|
167251
|
+
const { evaluateWebSearchGate } = await import("./web-search-NEGYQNDJ.js");
|
|
167307
167252
|
const gate = evaluateWebSearchGate(this);
|
|
167308
167253
|
if (gate.ok) {
|
|
167309
167254
|
await registerLazy(ToolNames.WEB_SEARCH, async () => {
|
|
167310
|
-
const { WebSearchTool } = await import("./web-search-
|
|
167255
|
+
const { WebSearchTool } = await import("./web-search-NEGYQNDJ.js");
|
|
167311
167256
|
return new WebSearchTool(this);
|
|
167312
167257
|
});
|
|
167313
167258
|
} else if (!gate.silent && !this.webSearchNoticeEmitted && !options2?.forSubAgent) {
|
|
@@ -167364,7 +167309,7 @@ var Config = class _Config {
|
|
|
167364
167309
|
}
|
|
167365
167310
|
if (this.isAgentTeamEnabled()) {
|
|
167366
167311
|
await registerLazy(ToolNames.TEAM_CREATE, async () => {
|
|
167367
|
-
const { TeamCreateTool } = await import("./team-create-
|
|
167312
|
+
const { TeamCreateTool } = await import("./team-create-5DRLOLOE.js");
|
|
167368
167313
|
return new TeamCreateTool(this);
|
|
167369
167314
|
});
|
|
167370
167315
|
await registerLazy(ToolNames.TEAM_DELETE, async () => {
|
|
@@ -167372,7 +167317,7 @@ var Config = class _Config {
|
|
|
167372
167317
|
return new TeamDeleteTool(this);
|
|
167373
167318
|
});
|
|
167374
167319
|
await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
|
|
167375
|
-
const { TeamPlanApprovalTool } = await import("./team-plan-approval-
|
|
167320
|
+
const { TeamPlanApprovalTool } = await import("./team-plan-approval-MWSGAL5T.js");
|
|
167376
167321
|
return new TeamPlanApprovalTool(this);
|
|
167377
167322
|
});
|
|
167378
167323
|
if (!options2?.forSubAgent) {
|
|
@@ -167398,7 +167343,7 @@ var Config = class _Config {
|
|
|
167398
167343
|
await this.registerWorkflowTool(registry3);
|
|
167399
167344
|
}
|
|
167400
167345
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
167401
|
-
const { MonitorTool } = await import("./monitor-
|
|
167346
|
+
const { MonitorTool } = await import("./monitor-TLBNM4MV.js");
|
|
167402
167347
|
return new MonitorTool(this);
|
|
167403
167348
|
});
|
|
167404
167349
|
if (this.pendingMcpBudgetCallback) {
|
|
@@ -167870,34 +167815,15 @@ function summarizeCatalog(catalog, permit) {
|
|
|
167870
167815
|
}
|
|
167871
167816
|
__name(summarizeCatalog, "summarizeCatalog");
|
|
167872
167817
|
var PROPOSE_GOAL_OBJECTIVE_MAX_CHARACTERS = 1500;
|
|
167873
|
-
var formatProposeGoalRecoveryNotStarted = /* @__PURE__ */ __name((objective) => `The approved Goal was not started because the turn did not finish normally. To start it, run:
|
|
167874
|
-
/goal set ${objective}`, "formatProposeGoalRecoveryNotStarted");
|
|
167875
|
-
var formatProposeGoalRecoveryFailed = /* @__PURE__ */ __name((objective) => `The approved Goal could not be started. Check the Goal status before trying again, or run:
|
|
167876
|
-
/goal set ${objective}`, "formatProposeGoalRecoveryFailed");
|
|
167877
167818
|
async function applyPendingGoalProposal(runtime, proposal) {
|
|
167878
|
-
if (proposal.approvalSignal?.aborted) {
|
|
167879
|
-
return {
|
|
167880
|
-
applied: false,
|
|
167881
|
-
kind: "changed",
|
|
167882
|
-
reason: "The approved Goal was not started because its approval was revoked. Ask for a new draft when you are ready to start."
|
|
167883
|
-
};
|
|
167884
|
-
}
|
|
167885
167819
|
const objective = proposal.objective.trim();
|
|
167886
167820
|
const current = runtime.getSnapshot().goal;
|
|
167887
167821
|
if (current?.status === "active") {
|
|
167888
167822
|
return {
|
|
167889
167823
|
applied: false,
|
|
167890
|
-
kind: "changed",
|
|
167891
167824
|
reason: `A Goal became active (revision ${current.revision}) before the approved proposal could be set.`
|
|
167892
167825
|
};
|
|
167893
167826
|
}
|
|
167894
|
-
if (!matchesReviewedGoal(current, proposal.reviewedGoal)) {
|
|
167895
|
-
return {
|
|
167896
|
-
applied: false,
|
|
167897
|
-
kind: "changed",
|
|
167898
|
-
reason: PROPOSE_GOAL_CHANGED_MESSAGE
|
|
167899
|
-
};
|
|
167900
|
-
}
|
|
167901
167827
|
const request = current ? {
|
|
167902
167828
|
action: "replace",
|
|
167903
167829
|
objective,
|
|
@@ -167910,7 +167836,6 @@ async function applyPendingGoalProposal(runtime, proposal) {
|
|
|
167910
167836
|
if (!goal) {
|
|
167911
167837
|
return {
|
|
167912
167838
|
applied: false,
|
|
167913
|
-
kind: "unavailable",
|
|
167914
167839
|
reason: "The Goal runtime accepted the request but reported no Goal."
|
|
167915
167840
|
};
|
|
167916
167841
|
}
|
|
@@ -167919,11 +167844,8 @@ async function applyPendingGoalProposal(runtime, proposal) {
|
|
|
167919
167844
|
goal
|
|
167920
167845
|
};
|
|
167921
167846
|
} catch (error3) {
|
|
167922
|
-
if (error3 instanceof GoalConflictError || error3 instanceof GoalInvalidTransitionError) {
|
|
167923
|
-
return { applied: false,
|
|
167924
|
-
}
|
|
167925
|
-
if (error3 instanceof GoalPersistenceUnavailableError) {
|
|
167926
|
-
return { applied: false, kind: "unavailable", reason: error3.message };
|
|
167847
|
+
if (error3 instanceof GoalConflictError || error3 instanceof GoalInvalidTransitionError || error3 instanceof GoalPersistenceUnavailableError) {
|
|
167848
|
+
return { applied: false, reason: error3.message };
|
|
167927
167849
|
}
|
|
167928
167850
|
throw error3;
|
|
167929
167851
|
}
|
|
@@ -167935,12 +167857,6 @@ var PROPOSE_GOAL_UNAVAILABLE_MESSAGE = "This session cannot persist Goals, so no
|
|
|
167935
167857
|
var PROPOSE_GOAL_NOT_APPROVED_MESSAGE = "The Goal was not set: the user did not approve it. Do not ask why and do not propose the same or a reworded objective again.";
|
|
167936
167858
|
var PROPOSE_GOAL_NO_TURN_MESSAGE = "The Goal was not set: this call is not attributable to a turn, so its approval could not be bound to one. Hand the user a `/goal set <objective>` line instead.";
|
|
167937
167859
|
var PROPOSE_GOAL_PENDING_MESSAGE = "Another approved Goal proposal is already waiting for this turn to end. Do not propose another one.";
|
|
167938
|
-
var PROPOSE_GOAL_CHANGED_MESSAGE = "The Goal changed after the proposal was shown. The approved proposal was not applied; review the current Goal before proposing again.";
|
|
167939
|
-
function matchesReviewedGoal(current, reviewed) {
|
|
167940
|
-
if (reviewed === void 0) return false;
|
|
167941
|
-
return reviewed === null ? current === null : current?.goalId === reviewed.goalId && current.revision === reviewed.revision;
|
|
167942
|
-
}
|
|
167943
|
-
__name(matchesReviewedGoal, "matchesReviewedGoal");
|
|
167944
167860
|
function activeGoalMessage(revision) {
|
|
167945
167861
|
return `A Goal is already active (revision ${revision}); this tool does not replace a running Goal. Hand the user a \`/goal edit <objective>\` line to tighten it or a \`/goal set <objective>\` line to replace it, and stop.`;
|
|
167946
167862
|
}
|
|
@@ -167961,9 +167877,10 @@ var ProposeGoalInvocation = class extends BaseToolInvocation {
|
|
|
167961
167877
|
__name(this, "ProposeGoalInvocation");
|
|
167962
167878
|
}
|
|
167963
167879
|
approved = false;
|
|
167964
|
-
reviewedGoal;
|
|
167965
167880
|
/**
|
|
167966
|
-
*
|
|
167881
|
+
* The description is the one piece of the confirmation every host shows
|
|
167882
|
+
* (the Web Shell does not forward an `info` prompt), so the objective has
|
|
167883
|
+
* to be in it.
|
|
167967
167884
|
*/
|
|
167968
167885
|
getDescription() {
|
|
167969
167886
|
return `Propose Goal: ${this.params.objective.trim()}`;
|
|
@@ -168029,7 +167946,6 @@ var ProposeGoalInvocation = class extends BaseToolInvocation {
|
|
|
168029
167946
|
throw new StructuredToolError(blocker.message, blocker.type);
|
|
168030
167947
|
}
|
|
168031
167948
|
const current = this.config.getGoalRuntime().getSnapshot().goal;
|
|
168032
|
-
this.reviewedGoal = current ? { goalId: current.goalId, revision: current.revision } : null;
|
|
168033
167949
|
return {
|
|
168034
167950
|
type: "info",
|
|
168035
167951
|
title: "Set this as the session Goal?",
|
|
@@ -168037,7 +167953,6 @@ var ProposeGoalInvocation = class extends BaseToolInvocation {
|
|
|
168037
167953
|
|
|
168038
167954
|
${this.params.objective.trim()}`,
|
|
168039
167955
|
renderPromptAsPlainText: true,
|
|
168040
|
-
hideAlwaysAllow: true,
|
|
168041
167956
|
onConfirm: /* @__PURE__ */ __name(async (outcome) => {
|
|
168042
167957
|
this.approved = outcome !== "cancel" /* Cancel */;
|
|
168043
167958
|
}, "onConfirm")
|
|
@@ -168054,12 +167969,6 @@ ${this.params.objective.trim()}`,
|
|
|
168054
167969
|
if (blocker) return this.errorResult(blocker.message, blocker.type);
|
|
168055
167970
|
const objective = this.params.objective.trim();
|
|
168056
167971
|
const current = this.config.getGoalRuntime().getSnapshot().goal;
|
|
168057
|
-
if (this.reviewedGoal === void 0 || !matchesReviewedGoal(current, this.reviewedGoal)) {
|
|
168058
|
-
return this.errorResult(
|
|
168059
|
-
PROPOSE_GOAL_CHANGED_MESSAGE,
|
|
168060
|
-
"execution_denied" /* EXECUTION_DENIED */
|
|
168061
|
-
);
|
|
168062
|
-
}
|
|
168063
167972
|
const turnKey = promptIdContext.getStore();
|
|
168064
167973
|
if (!turnKey) {
|
|
168065
167974
|
return this.errorResult(
|
|
@@ -168067,11 +167976,7 @@ ${this.params.objective.trim()}`,
|
|
|
168067
167976
|
"execution_denied" /* EXECUTION_DENIED */
|
|
168068
167977
|
);
|
|
168069
167978
|
}
|
|
168070
|
-
if (!this.config.setPendingGoalProposal({
|
|
168071
|
-
objective,
|
|
168072
|
-
turnKey,
|
|
168073
|
-
reviewedGoal: this.reviewedGoal
|
|
168074
|
-
})) {
|
|
167979
|
+
if (!this.config.setPendingGoalProposal({ objective, turnKey })) {
|
|
168075
167980
|
return this.errorResult(
|
|
168076
167981
|
PROPOSE_GOAL_PENDING_MESSAGE,
|
|
168077
167982
|
"execution_denied" /* EXECUTION_DENIED */
|
|
@@ -168135,9 +168040,6 @@ var ProposeGoalTool = class _ProposeGoalTool extends BaseDeclarativeTool {
|
|
|
168135
168040
|
if (params.objective.length > PROPOSE_GOAL_OBJECTIVE_MAX_CHARACTERS) {
|
|
168136
168041
|
return `objective must be at most ${PROPOSE_GOAL_OBJECTIVE_MAX_CHARACTERS} characters.`;
|
|
168137
168042
|
}
|
|
168138
|
-
if (/[\r\n]/.test(params.objective)) {
|
|
168139
|
-
return "objective must be written on one line.";
|
|
168140
|
-
}
|
|
168141
168043
|
return null;
|
|
168142
168044
|
}
|
|
168143
168045
|
createInvocation(params) {
|
|
@@ -168196,8 +168098,6 @@ export {
|
|
|
168196
168098
|
GetGoalTool,
|
|
168197
168099
|
UpdateGoalTool,
|
|
168198
168100
|
PROPOSE_GOAL_OBJECTIVE_MAX_CHARACTERS,
|
|
168199
|
-
formatProposeGoalRecoveryNotStarted,
|
|
168200
|
-
formatProposeGoalRecoveryFailed,
|
|
168201
168101
|
applyPendingGoalProposal,
|
|
168202
168102
|
PROPOSE_GOAL_PLAN_MODE_MESSAGE,
|
|
168203
168103
|
PROPOSE_GOAL_UNTRUSTED_MESSAGE,
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getExtensionManager
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SODMFNAR.js";
|
|
6
6
|
import {
|
|
7
7
|
parseChannelConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RZHU3K6M.js";
|
|
9
9
|
import {
|
|
10
10
|
getPlugin,
|
|
11
11
|
registerPlugin
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CUEXOHQH.js";
|
|
13
13
|
import {
|
|
14
14
|
sanitizeLogText
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7QYWGTHB.js";
|
|
16
16
|
import {
|
|
17
17
|
loadSettings
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7BXXIQG4.js";
|
|
19
19
|
import {
|
|
20
20
|
hashDaemonWorkspace
|
|
21
21
|
} from "./chunk-ZW2EUO2A.js";
|