@qwen-code/qwen-code 0.23.1-preview.2 → 0.23.2-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/computer-use/SKILL.md +189 -116
- package/bundled/goal-draft/SKILL.md +23 -13
- package/bundled/qc-helper/docs/_meta.ts +1 -0
- package/bundled/qc-helper/docs/configuration/model-providers.md +47 -1
- package/bundled/qc-helper/docs/configuration/settings.md +50 -0
- package/bundled/qc-helper/docs/conversations-recovery.md +102 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +1 -1
- package/bundled/qc-helper/docs/features/computer-use.md +9 -7
- package/bundled/qc-helper/docs/features/followup-suggestions.md +2 -2
- package/bundled/qc-helper/docs/features/goals.md +15 -3
- package/bundled/qc-helper/docs/qwen-serve.md +19 -1
- package/chunks/{MaxSizedBox-IYIQ43IZ.js → MaxSizedBox-ZZJT3PJF.js} +20 -20
- package/chunks/{StandaloneSessionPicker-AWB2OHX6.js → StandaloneSessionPicker-DIOSZTMX.js} +38 -38
- package/chunks/{acp-startup-profiler-BAL4LJTN.js → acp-startup-profiler-KEU6VAYR.js} +2 -2
- package/chunks/{acpAgent-ZC57OLS4.js → acpAgent-62JUP5A7.js} +118 -91
- package/chunks/{agent-GEBPAEJS.js → agent-NLPEQQDZ.js} +13 -13
- package/chunks/{agent-headless-63ZEYAJK.js → agent-headless-Y2GR5F2Q.js} +13 -13
- package/chunks/{anthropicContentGenerator-6XDHXIII.js → anthropicContentGenerator-I7LQZH26.js} +30 -7
- package/chunks/{askUserQuestion-3KAYLLMM.js → askUserQuestion-I5W5S3D6.js} +1 -1
- package/chunks/{bridge-MHWO5I5T.js → bridge-Q66BD62H.js} +23 -23
- package/chunks/{channel-management-service-NFRZXQFO.js → channel-management-service-TRTLQTSV.js} +4 -4
- package/chunks/{channel-settings-store-T7PMIHKC.js → channel-settings-store-R5STFWUW.js} +31 -31
- package/chunks/{channel-worker-group-O2BWK5F7.js → channel-worker-group-PIYPVCTF.js} +6 -6
- package/chunks/{channel-worker-manager-4WP7VJOD.js → channel-worker-manager-FQHEDTD2.js} +6 -6
- package/chunks/{channel-worker-supervisor-CCUXD6J5.js → channel-worker-supervisor-XJPZZ3VK.js} +3 -3
- package/chunks/{chunk-ZJ2LM2SI.js → chunk-2OR32P5M.js} +104 -33
- package/chunks/chunk-2Z3T52OC.js +82 -0
- package/chunks/{chunk-5FYGZ7E3.js → chunk-33MLFMCL.js} +2 -2
- package/chunks/{chunk-RH344FKI.js → chunk-3BTHHXXE.js} +1 -1
- package/chunks/{chunk-OFB36ZBA.js → chunk-3LPJ776W.js} +1 -1
- package/chunks/{chunk-TSLRORQR.js → chunk-43CI6YWJ.js} +1467 -1323
- package/chunks/{chunk-LTCI6ZOJ.js → chunk-45ROPFQY.js} +1 -1
- package/chunks/{chunk-W4LL5RZO.js → chunk-4ALNJDHL.js} +52 -13
- package/chunks/{chunk-RRCNEW2A.js → chunk-4BLTSTF6.js} +58 -4
- package/chunks/{chunk-3RMVM33U.js → chunk-4JKLPTV6.js} +5 -5
- package/chunks/{chunk-ZRVFHLLK.js → chunk-5DQ4YTIZ.js} +1 -1
- package/chunks/{chunk-AWDF462I.js → chunk-5GD7LYOH.js} +2 -2
- package/chunks/{chunk-HZS3JRQW.js → chunk-5VZFJTL2.js} +40 -2
- package/chunks/{chunk-537SQ2AI.js → chunk-5WC2ECUK.js} +104 -16
- package/chunks/{chunk-ZT3XUGSU.js → chunk-63ACHB2H.js} +86 -9
- package/chunks/{chunk-3K65MUKD.js → chunk-65I7S4Z3.js} +2 -1
- package/chunks/{chunk-REDVV5NC.js → chunk-6GRDHIVI.js} +7 -7
- package/chunks/{chunk-2LD5U7Q3.js → chunk-6YEOCHSE.js} +29 -1
- package/chunks/{chunk-C4NXRR7T.js → chunk-743XE7N7.js} +2 -2
- package/chunks/{chunk-I7UNCY24.js → chunk-7GZCCHJL.js} +3 -3
- package/chunks/{chunk-XX4MBBFW.js → chunk-7L35FKPF.js} +3 -3
- package/chunks/{chunk-GEV66YGE.js → chunk-7RXOEUFF.js} +1 -1
- package/chunks/{chunk-TXAEXF2B.js → chunk-BL6B2QS2.js} +21 -8
- package/chunks/{chunk-KAZWXVI3.js → chunk-CABDNUJ4.js} +2 -2
- package/chunks/{chunk-R7TKFIQO.js → chunk-CALNF3Z3.js} +1 -1
- package/chunks/{chunk-22QOQKG4.js → chunk-CG2PDIGD.js} +1 -1
- package/chunks/{chunk-MFCWL4LI.js → chunk-CPJRFFPH.js} +451 -396
- package/chunks/{chunk-LD53HMPV.js → chunk-CRZBDVP2.js} +1 -0
- package/chunks/{chunk-RSU3I6UL.js → chunk-DCPRCDSR.js} +1 -1
- package/chunks/{chunk-PLUAIHZO.js → chunk-DTB5BXRG.js} +6 -6
- package/chunks/{chunk-FWH4736Q.js → chunk-EA4NFWVG.js} +3 -3
- package/chunks/{chunk-AX23QSX3.js → chunk-EHTKOO6W.js} +4 -4
- package/chunks/{chunk-37SOBIA3.js → chunk-ERXNTINK.js} +1 -1
- package/chunks/{chunk-EGRFCIXD.js → chunk-EUXF6URV.js} +79 -18
- package/chunks/{chunk-F47DITLZ.js → chunk-FAWTMDX7.js} +14 -0
- package/chunks/{chunk-5JLQWQK6.js → chunk-FV4DM2M4.js} +2 -2
- package/chunks/{chunk-C7M445SS.js → chunk-G5QLLD53.js} +1 -1
- package/chunks/{chunk-5V4B3EWA.js → chunk-GM44O6F7.js} +1 -1
- package/chunks/{chunk-Z6DDPSGJ.js → chunk-GNY7B3CA.js} +1 -1
- package/chunks/{chunk-7PMKXGRP.js → chunk-GXIHBIHC.js} +66 -9
- package/chunks/{chunk-ERMAXPXA.js → chunk-HIXUUCGY.js} +187 -12
- package/chunks/{chunk-EJNYBDYC.js → chunk-HNLMYDQE.js} +1 -1
- package/chunks/{chunk-RCUWMVN3.js → chunk-HZ2HUXX7.js} +1 -1
- package/chunks/{chunk-SHX2HIE7.js → chunk-ISPBBKJN.js} +1 -1
- package/chunks/{chunk-QQGAR64U.js → chunk-IUJLW6ZI.js} +4 -4
- package/chunks/{chunk-IMWCUWQT.js → chunk-J3TJH52D.js} +1 -1
- package/chunks/{chunk-AIMZIXZM.js → chunk-J4ECGDA3.js} +5 -7
- package/chunks/{chunk-HPE4LEWX.js → chunk-JDPBJIKI.js} +1 -1
- package/chunks/{chunk-Y3C5COGI.js → chunk-L6ZME3W7.js} +1 -1
- package/chunks/{chunk-EPZWBYQI.js → chunk-LBKYQ33T.js} +8 -6
- package/chunks/{chunk-KTLT7VCX.js → chunk-LN3WBOKU.js} +2 -2
- package/chunks/{chunk-FXYNIZPW.js → chunk-LUVXLLMS.js} +51 -10
- package/chunks/{chunk-RQNAO42A.js → chunk-M6YLOETP.js} +1 -1
- package/chunks/{chunk-6KYWU726.js → chunk-M73KHGNR.js} +13 -66
- package/chunks/{chunk-ADJD4LZF.js → chunk-MA5OUNN6.js} +1 -1
- package/chunks/{chunk-SI6Q52UI.js → chunk-MMMA36MN.js} +3 -3
- package/chunks/{chunk-QW7BUOSI.js → chunk-MWEF5MUK.js} +20 -3
- package/chunks/{chunk-JOV46WGX.js → chunk-NB3NDQQK.js} +1 -1
- package/chunks/chunk-NOO4QFXM.js +171 -0
- package/chunks/{chunk-UTVIIA7N.js → chunk-NVS4Z6GT.js} +1 -1
- package/chunks/{chunk-VMFPZXRT.js → chunk-ODBNTMZW.js} +43 -31
- package/chunks/{chunk-UKADFFL2.js → chunk-OFVAS4AR.js} +1 -1
- package/chunks/{chunk-WQBR7LN5.js → chunk-OIPUQE3S.js} +1 -1
- package/chunks/{chunk-2C3XDBGL.js → chunk-ORREXWOM.js} +4 -4
- package/chunks/{chunk-RD3VPM4E.js → chunk-PQWM4SX2.js} +2 -2
- package/chunks/{chunk-Z6KFLEG7.js → chunk-PSPAM24S.js} +1 -0
- package/chunks/{chunk-RUMSY4ES.js → chunk-Q2F43WTJ.js} +8 -7
- package/chunks/{chunk-VYCJITND.js → chunk-QJAFSFYA.js} +1 -1
- package/chunks/{chunk-L36LLVA5.js → chunk-QLM7D7W3.js} +3 -3
- package/chunks/{chunk-NUQFUXOG.js → chunk-QTNCGZHQ.js} +2 -0
- package/chunks/{chunk-XNC2TCUO.js → chunk-QXXBW2G4.js} +4 -4
- package/chunks/{chunk-TDHVOZ65.js → chunk-R2266LQ5.js} +2 -2
- package/chunks/{chunk-QJVZLILI.js → chunk-R7OO56VZ.js} +1 -1
- package/chunks/{chunk-LYHYXJJ3.js → chunk-RDV4NLI3.js} +3 -3
- package/chunks/{chunk-733KQL63.js → chunk-RN6V5HKE.js} +3 -3
- package/chunks/{chunk-WLZRMF3C.js → chunk-RX3FYFCN.js} +353 -11
- package/chunks/{chunk-NXWYCSPL.js → chunk-SOA4HKRJ.js} +1 -1
- package/chunks/{chunk-ZNI3V2XA.js → chunk-TK4XHPKW.js} +2 -2
- package/chunks/{chunk-RGAQDQ3Z.js → chunk-UHUT4IDM.js} +18 -9
- package/chunks/{chunk-T7TP5UQL.js → chunk-ULY4ISY2.js} +4 -4
- package/chunks/{chunk-PMGWY6ZP.js → chunk-UULHYZ4W.js} +13 -10
- package/chunks/{chunk-BNWIX6BM.js → chunk-UXDVUFKU.js} +3 -3
- package/chunks/{chunk-HY3DXYZK.js → chunk-UYDQYDW2.js} +1 -1
- package/chunks/{chunk-YLFICBYK.js → chunk-VEQBVJYH.js} +3 -3
- package/chunks/{chunk-3K456UJF.js → chunk-VF6D6EGV.js} +12 -4
- package/chunks/{chunk-KP5QK3FB.js → chunk-VH764G6B.js} +397 -54
- package/chunks/{chunk-IGOIYZBG.js → chunk-VHPG7BH6.js} +2 -2
- package/chunks/{chunk-I67KJGM6.js → chunk-W3ONSAYO.js} +3 -3
- package/chunks/{chunk-SHK2SIR5.js → chunk-W673V2H3.js} +4 -4
- package/chunks/{chunk-C55CR5I4.js → chunk-W7PXLIZJ.js} +6 -6
- package/chunks/{chunk-OHOO527W.js → chunk-WG7BL3FY.js} +52 -2
- package/chunks/{chunk-B5FF3LRF.js → chunk-WIRYFL2L.js} +22 -15
- package/chunks/{chunk-P5Z7VD23.js → chunk-WZ4YULVF.js} +106 -39
- package/chunks/{chunk-WFXD5OZH.js → chunk-WZS3X663.js} +1 -1
- package/chunks/{chunk-HWZOOSEB.js → chunk-XAXTQURR.js} +3 -3
- package/chunks/{chunk-ANVC5CSK.js → chunk-XBLG564H.js} +10 -10
- package/chunks/{chunk-VU7O7CGQ.js → chunk-XDNFODER.js} +1 -1
- package/chunks/{chunk-SD7Y2PMC.js → chunk-XI7RST4D.js} +2 -2
- package/chunks/{chunk-65GHQ4FX.js → chunk-XVTCSVBK.js} +514 -47
- package/chunks/{chunk-4OCYWXKF.js → chunk-Y6ZWXM44.js} +3 -3
- package/chunks/{chunk-7IKXTGZT.js → chunk-YI2YCNSP.js} +1 -1
- package/chunks/{chunk-E4VX6LXB.js → chunk-YZTGGCEE.js} +10 -2
- package/chunks/{chunk-75UQFGFE.js → chunk-ZIPYCXQP.js} +1 -1
- package/chunks/{chunk-AUJOWIT5.js → chunk-ZUNWKOAP.js} +3 -3
- package/chunks/{config-utils-F4CFJ4MW.js → config-utils-37FHWPTP.js} +24 -24
- package/chunks/{contextCommand-OIIGGOMU.js → contextCommand-R4JUBV5N.js} +22 -22
- package/chunks/{core-runtime-JEHLOGMB.js → core-runtime-6U4OXU5C.js} +20 -20
- package/chunks/{create-sub-session-MVFBE5RA.js → create-sub-session-LLUYAGZN.js} +21 -21
- package/chunks/{daemon-LCUELM6E.js → daemon-UI6SQSBV.js} +1 -1
- package/chunks/{daemon-git-worktree-guard-5FTKLJOU.js → daemon-git-worktree-guard-O2UTNFJC.js} +20 -20
- package/chunks/{daemon-status-provider-P6A5MPMW.js → daemon-status-provider-7GMAKSTX.js} +27 -27
- package/chunks/{daemon-trust-policy-ZJ3NFYUO.js → daemon-trust-policy-VNP76VMO.js} +27 -27
- package/chunks/{daemon-trust-policy-monitor-6SDLEW7S.js → daemon-trust-policy-monitor-TD5O3BZA.js} +27 -27
- package/chunks/{deferred-core-runtime-DWOXIU5S.js → deferred-core-runtime-NJM63YJS.js} +20 -20
- package/chunks/{discovery-TUM3ZQ6U.js → discovery-XP4RMDUM.js} +4 -2
- package/chunks/{dist-NXW4DUUX.js → dist-24TCWK5H.js} +1 -1
- package/chunks/{dist-I74QLLQS.js → dist-5I4HLUTO.js} +1 -1
- package/chunks/{dist-XINEKB5A.js → dist-FDISN4AK.js} +1 -1
- package/chunks/{dist-VCAS67N5.js → dist-M4CBX53H.js} +1 -1
- package/chunks/{dist-AI25RVRA.js → dist-NQ2636VT.js} +1 -1
- package/chunks/{dist-3H3WODVS.js → dist-OR2ZQTXZ.js} +1 -1
- package/chunks/{dist-P6YWBITG.js → dist-STAGIFNB.js} +430 -51
- package/chunks/{dist-YNQU4CKC.js → dist-WZTUKIDR.js} +2 -2
- package/chunks/{dist-T4PRA5EZ.js → dist-XJ25G6OH.js} +1 -1
- package/chunks/{edit-WPVXLL3T.js → edit-GL7OA6RV.js} +13 -13
- package/chunks/{enter-worktree-5A6VW6BN.js → enter-worktree-YFTKHXHZ.js} +2 -2
- package/chunks/{enterPlanMode-JSODW7E2.js → enterPlanMode-VC4BCSZE.js} +13 -13
- package/chunks/{environment-5LLJ3I3W.js → environment-BI6IBAZJ.js} +23 -23
- package/chunks/{errors-IQT3YZEP.js → errors-D6G2ZM2R.js} +22 -22
- package/chunks/{exit-worktree-QV7E7KP6.js → exit-worktree-NF2XEMES.js} +3 -3
- package/chunks/{exitPlanMode-DDVFYNW4.js → exitPlanMode-DX446CA6.js} +13 -13
- package/chunks/{fast-path-PAUQQEVU.js → fast-path-MAYDLJIP.js} +3 -3
- package/chunks/{fast-path-settings-ISEJPRYE.js → fast-path-settings-SATXY3PD.js} +3 -3
- package/chunks/{glob-SQ7CTZ7F.js → glob-TVKRFY36.js} +13 -13
- package/chunks/{goal-tools-UWZRCLQB.js → goal-tools-CA6YANRN.js} +13 -13
- package/chunks/{handleAutoUpdate-RUPZZTSG.js → handleAutoUpdate-AW4ZAHON.js} +23 -23
- package/chunks/{i18n-SF5MPWEB.js → i18n-IH5CRAY7.js} +23 -21
- package/chunks/{image-gen-Q3RUTVKR.js → image-gen-XP4NNIYG.js} +4 -4
- package/chunks/{initializer-CK4WPYZG.js → initializer-UBR37ZNM.js} +27 -27
- package/chunks/{installationInfo-IRPQEYRF.js → installationInfo-Y52756EC.js} +20 -20
- package/chunks/{list-E3PS3EBJ.js → list-7V5JDZPO.js} +30 -30
- package/chunks/{llm-JQKBOYAF.js → llm-QDB6JVF5.js} +62 -62
- package/chunks/{llm-content-generator-2QWGBW42.js → llm-content-generator-EO6MZCEO.js} +23 -8
- package/chunks/{loadedSettingsAdapter-DGXGVYZS.js → loadedSettingsAdapter-I3YQKMC4.js} +27 -27
- package/chunks/{loggingContentGenerator-ZYURLJKK.js → loggingContentGenerator-MNXYUGDG.js} +14 -14
- package/chunks/{managed-npm-update-HTHR63EA.js → managed-npm-update-EA3EXPTO.js} +20 -20
- package/chunks/{mcp-I7G2AEWS.js → mcp-QTAJ544Y.js} +27 -27
- package/chunks/{monitor-4R76BCRZ.js → monitor-6FQKQOTP.js} +13 -13
- package/chunks/{nonInteractiveCli-24OQ3VP2.js → nonInteractiveCli-MRCTZL5X.js} +64 -61
- package/chunks/{notebook-edit-PPSH7FEX.js → notebook-edit-BQQCKI7K.js} +13 -13
- package/chunks/{openaiContentGenerator-K7V5EO7F.js → openaiContentGenerator-TTSKXNVH.js} +8 -8
- package/chunks/{pidfile-TGIUY2GG.js → pidfile-KPIS6RIT.js} +20 -20
- package/chunks/{processUtils-3USXUQWX.js → processUtils-ZCASPKK4.js} +2 -2
- package/chunks/{prompt-terminal-ledger-XHVZRXJI.js → prompt-terminal-ledger-D6HM6TV7.js} +21 -21
- package/chunks/{qwenContentGenerator-MPBOQB64.js → qwenContentGenerator-GGZEFLBD.js} +16 -16
- package/chunks/{qwenOAuth2-BS5D2LYV.js → qwenOAuth2-KX6LVYQ3.js} +4 -4
- package/chunks/{read-file-R256LDWQ.js → read-file-VE5GDFLP.js} +2 -2
- package/chunks/{resumeHistoryUtils-S43LTFHD.js → resumeHistoryUtils-HSSGMYDC.js} +23 -23
- package/chunks/{ripGrep-L7HPZ75Y.js → ripGrep-SEJE7AA6.js} +3 -3
- package/chunks/{run-qwen-serve-CTFL5R6U.js → run-qwen-serve-OJYVH7N6.js} +58 -60
- package/chunks/{runtime-FS5TL6P7.js → runtime-KGMQQFJD.js} +32 -32
- package/chunks/{scheduled-tasks-QXPV3Q35.js → scheduled-tasks-7H5HWHYD.js} +25 -25
- package/chunks/{scheduler-EXU5HMVK.js → scheduler-BE42AKDG.js} +22 -22
- package/chunks/{send-message-GQKXGMPI.js → send-message-AWKUDJBH.js} +1 -1
- package/chunks/{serve-ITJC7WNN.js → serve-KZVKYMSL.js} +27 -27
- package/chunks/{server-6JQY3PTU.js → server-PJRALPJQ.js} +1296 -822
- package/chunks/{session-PJDEKXD4.js → session-IHITXU2S.js} +63 -62
- package/chunks/{session-attachments-root-L37ORSST.js → session-attachments-root-GQ2TUI3Y.js} +20 -20
- package/chunks/{session-pr-refresh-WIFD52YL.js → session-pr-refresh-H43LULTE.js} +24 -24
- package/chunks/{settings-LO6J5SAZ.js → settings-RKEQQDFC.js} +26 -26
- package/chunks/{shell-ANAFVYGR.js → shell-6PJ444U5.js} +13 -13
- package/chunks/{skill-SHJWKSPH.js → skill-Q3UP7B5V.js} +2 -2
- package/chunks/{skill-settings-GX3XHZ5Q.js → skill-settings-LZR5YRRW.js} +26 -26
- package/chunks/{spawnChannel-WE42VBKM.js → spawnChannel-WM3DT2BF.js} +20 -20
- package/chunks/{standalone-update-CWDIKJRP.js → standalone-update-E5474IBI.js} +22 -22
- package/chunks/{start-opentui-ui-BBHGFOTF.js → start-opentui-ui-WLWZNQ2I.js} +1991 -986
- package/chunks/{startInteractiveUI-FQX7LUYP.js → startInteractiveUI-FBQSGWGO.js} +1119 -1478
- package/chunks/{team-create-WKTPCH6D.js → team-create-VIGUFUT4.js} +13 -13
- package/chunks/{team-plan-approval-Y23DL7WR.js → team-plan-approval-HQVZA3MD.js} +13 -13
- package/chunks/{terminal-image-renderer-B646HBDW.js → terminal-image-renderer-LUKNCOVM.js} +20 -20
- package/chunks/{theme-manager-BNWESY26.js → theme-manager-LOENKYLY.js} +20 -20
- package/chunks/{tool-search-PVQ5O5Y2.js → tool-search-ZIFAQCE2.js} +2 -2
- package/chunks/{total-session-admission-P5Z43KNW.js → total-session-admission-FUUJH3QH.js} +24 -24
- package/chunks/{trustedFolders-FH2LT2MZ.js → trustedFolders-C76KYROP.js} +21 -21
- package/chunks/{update-relaunch-WOWTKJSN.js → update-relaunch-4G2SRXKX.js} +5 -5
- package/chunks/{updateCheck-3MYFMM35.js → updateCheck-EIZIO7HI.js} +22 -22
- package/chunks/{useAutoAcceptIndicator-Q7ZRRRKO.js → useAutoAcceptIndicator-EAA6KSY4.js} +29 -29
- package/chunks/{validateNonInterActiveAuth-MYEWJX3G.js → validateNonInterActiveAuth-BRX22QCN.js} +59 -58
- package/chunks/{version-RO2FPO76.js → version-E56RU7PR.js} +1 -1
- package/chunks/{web-fetch-QAKY2LUA.js → web-fetch-AAUCD7RM.js} +5 -5
- package/chunks/{web-search-XA5Z4ZCD.js → web-search-HFUQF44Q.js} +18 -7
- package/chunks/{workflow-QFIOCMDM.js → workflow-3MABM53N.js} +15 -15
- package/chunks/{workspace-providers-status-B2UD7RAG.js → workspace-providers-status-2FRLBZ5I.js} +29 -29
- package/chunks/{workspace-registration-store-VZLRTI3Q.js → workspace-registration-store-YL7HLYYI.js} +1 -1
- package/chunks/{workspace-registry-GYOGG6TM.js → workspace-registry-BNRP2ELW.js} +24 -24
- package/chunks/{workspace-runtime-coordinator-7KRXGQ4V.js → workspace-runtime-coordinator-WKGF7VHS.js} +24 -24
- package/chunks/{workspace-service-DJEYGJE4.js → workspace-service-4MYO72MM.js} +31 -31
- package/chunks/{workspace-skills-status-MOKNESUC.js → workspace-skills-status-SU66TJLZ.js} +27 -27
- package/chunks/{workspace-trust-reconciler-AXOSUTQW.js → workspace-trust-reconciler-D5QT7WQB.js} +31 -31
- package/chunks/{write-file-QOYVHAKK.js → write-file-NVPQE2AZ.js} +14 -14
- package/chunks/{zoom-image-UCCLGFNC.js → zoom-image-RJHC66WG.js} +2 -2
- package/cli.js +13 -13
- package/export-transcript-document.js +126 -122
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-CTstZpXw.js → abnfDiagram-VCTEODGH-DHc6plZn.js} +1 -1
- package/web-shell/assets/{arc-DKW0mbPo.js → arc-BQ9m8TDV.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DkMpJ42t.js → architectureDiagram-5GKGNRK7-D5ap3oVB.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-7Cp1_4i3.js → blockDiagram-NRAW4CY4-BIbnyNph.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BfaoSlBK.js → c4Diagram-UCG6FXSJ-BRsdx_iG.js} +1 -1
- package/web-shell/assets/channel-uMMdTrYk.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-_n1qzAio.js → chunk-2Q5K7J3B-3lf1fNlx.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-0cira5ZV.js → chunk-5VM5RSS4-DP8VNRc4.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-DseRXSHC.js → chunk-F27PBJKO-DrohDmZ6.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-BehQWin0.js → chunk-G27WJ6UU-UZ2QhSx6.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-B5ftg1Bb.js → chunk-JWPE2WC7-BIMHVcZK.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D7rnbVdk.js → chunk-LCL6LL3I-izRxdSDd.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-2Bp-Orju.js → chunk-POPQ4Y6H-CXADD4PP.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-CD2goGva.js → chunk-SVP7TREG-B96d8Y_1.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DzQt-Rji.js → chunk-XXDRQBXY-CF2sVQpv.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DcY-26Ig.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DcY-26Ig.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-C-BZXSUn.js → cose-bilkent-JH36ORCC-CT6tXVAS.js} +1 -1
- package/web-shell/assets/csv-CX7rUNeC.svg +1 -0
- package/web-shell/assets/{cynefin-OW5HDTMX-BTcvowe1.js → cynefin-OW5HDTMX-X1NS4vtV.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BoUE6K81.js → cynefinDiagram-5FMLGOSQ-DNsKNOT4.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BHxy9xeB.js → dagre-3AP2YEHR-9-AHKqsb.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DMiJIvDT.js → diagram-S7CK7UJ4-Bjgms7j6.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DXV09Aes.js → diagram-UQ7AKVKN-h6bCprbE.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-CocpRomV.js → diagram-VSXAHHWV-4SbQXVLt.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-DL7nqtb4.js → diagram-VX7I27RA-B5gPCzzB.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-CPZ2Jux_.js → diagram-Z3DM3KII-DFJXIA3A.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-BX-eVNsX.js → ebnfDiagram-PWID7BFC-FwyaU7VY.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CPy_Ir6y.js → erDiagram-SSCWMZ5O-8vJQh2te.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-eknAOte9.js → flowDiagram-A5DVABFB-BzA_1gMN.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-crAxw_t7.js → ganttDiagram-EL5Y4UJY-Co-ABbVX.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-M29pa3Tc.js → gitGraphDiagram-WWUBYQGX-DW_FcyrX.js} +1 -1
- package/web-shell/assets/{index-C9R-iojE.js → index-BbMXfhNG.js} +1 -1
- package/web-shell/assets/{index-B4TLaxWs.js → index-Bu-rZoJ-.js} +462 -454
- package/web-shell/assets/index-CsPwZ1ut.css +36 -0
- package/web-shell/assets/{infoDiagram-RXCK75RN-XqspXdOU.js → infoDiagram-RXCK75RN-BEgfhUFN.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-C5KFS-7j.js → ishikawaDiagram-5VMMS53U-DCsMxQmc.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-Cc57LVRo.js → journeyDiagram-EYS64GPL-DyIEYoHz.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-C81OG-AI.js → kanban-definition-3QL26DDD-CkxjqCNr.js} +1 -1
- package/web-shell/assets/{layout-CFVu37BB.js → layout-BEWc0Al9.js} +1 -1
- package/web-shell/assets/{linear-ChBxdtWf.js → linear-CNuNxirL.js} +1 -1
- package/web-shell/assets/{mermaid.core-CMLfue0w.js → mermaid.core-DZBre674.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DFsvJThp.js → mindmap-definition-FBJOCRG2-CpafFz_F.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BzpRzM4F.js → pegDiagram-XKGWAZYB-DfZqk_dq.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-Cv0Kankl.js → pieDiagram-E7YTZNPT-S0UWXlgC.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Bh2BJ3Ay.js → quadrantDiagram-AXDQQJYC-dd37_Ohj.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-y8rNDdDS.js → railroadDiagram-O6MQD6OU-CH8NJZ7u.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C0m2DKJ_.js → requirementDiagram-EFPCY7ZU-CFdqWYih.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-BzdGnSF4.js → sankeyDiagram-P5KCCOFB-CsddcEGD.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DPzAVmzz.js → sequenceDiagram-WJ2MYXX4-BZ270mGw.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-LcHG28Zh.js → sizeCapture-X5ZJPWSS-CGaS4DBV.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-C1Bzy3IT.js → stateDiagram-HBIQ2CUA-COpIzMu6.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-D6qEVAji.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-Bftk8V64.js → swimlanes-XN3QIQJK-CMF889m3.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-mem5Jj4m.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BfXHcN1A.js → timeline-definition-24CTP7MA-BelnxYz5.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DRSlI9-V.js → vennDiagram-4TSXK5OY-CU-NRqIB.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CaLmqGau.js → wardleyDiagram-VM6X3IG4-CDNKqWh-.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-8lgUT6e8.js → xychartDiagram-S5SC5T6Z-CLqguL5D.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-3UMWOKJC.js +0 -78
- package/chunks/chunk-IQAFKVXS.js +0 -22
- package/web-shell/assets/channel-CQx7VSAp.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-C-Uz8hHk.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-C-Uz8hHk.js +0 -1
- package/web-shell/assets/index-CCrkEbzz.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-LuuL5byY.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-COmnNq8s.js +0 -8
|
@@ -411,18 +411,18 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
411
411
|
try {
|
|
412
412
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
413
413
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
414
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
414
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-TTSKXNVH.js");
|
|
415
415
|
return createOpenAIContentGenerator(generatorConfig, config);
|
|
416
416
|
}, "loadBaseGenerator");
|
|
417
417
|
} else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
|
|
418
|
-
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-
|
|
418
|
+
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-KX6LVYQ3.js");
|
|
419
419
|
try {
|
|
420
420
|
const qwenClient = await getQwenOauthClient(
|
|
421
421
|
config,
|
|
422
422
|
isInitialAuth ? { requireCachedCredentials: true } : void 0
|
|
423
423
|
);
|
|
424
424
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
425
|
-
const { QwenContentGenerator } = await import("./qwenContentGenerator-
|
|
425
|
+
const { QwenContentGenerator } = await import("./qwenContentGenerator-GGZEFLBD.js");
|
|
426
426
|
return new QwenContentGenerator(qwenClient, generatorConfig, config);
|
|
427
427
|
}, "loadBaseGenerator");
|
|
428
428
|
} catch (error) {
|
|
@@ -433,12 +433,12 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
433
433
|
}
|
|
434
434
|
} else if (authType === "anthropic" /* USE_ANTHROPIC */) {
|
|
435
435
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
436
|
-
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-
|
|
436
|
+
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-I7LQZH26.js");
|
|
437
437
|
return createAnthropicContentGenerator(generatorConfig, config);
|
|
438
438
|
}, "loadBaseGenerator");
|
|
439
439
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
440
440
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
441
|
-
const { createLlmContentGenerator } = await import("./llm-content-generator-
|
|
441
|
+
const { createLlmContentGenerator } = await import("./llm-content-generator-EO6MZCEO.js");
|
|
442
442
|
return createLlmContentGenerator(generatorConfig, config);
|
|
443
443
|
}, "loadBaseGenerator");
|
|
444
444
|
} else {
|
|
@@ -453,7 +453,7 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
453
453
|
try {
|
|
454
454
|
const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
|
|
455
455
|
loadBaseGenerator(),
|
|
456
|
-
import("./loggingContentGenerator-
|
|
456
|
+
import("./loggingContentGenerator-MNXYUGDG.js")
|
|
457
457
|
]);
|
|
458
458
|
return new LoggingContentGenerator(
|
|
459
459
|
baseGenerator,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
GIT_COMMIT_INFO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R2266LQ5.js";
|
|
6
6
|
import {
|
|
7
7
|
getCliVersion
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ISPBBKJN.js";
|
|
9
9
|
import {
|
|
10
10
|
IdeClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-43CI6YWJ.js";
|
|
12
12
|
import {
|
|
13
13
|
formatMemoryUsage
|
|
14
14
|
} from "./chunk-CHEIIBT3.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
CLIENT_MCP_OVER_WS_CONFIG_FLAG
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PSPAM24S.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionNotFoundError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FAWTMDX7.js";
|
|
9
9
|
import {
|
|
10
10
|
ChannelWorkerStartupError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CABDNUJ4.js";
|
|
12
12
|
import {
|
|
13
13
|
ChannelWebhookEnqueueError
|
|
14
14
|
} from "./chunk-STUJ7IMZ.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-RKFGE7JH.js";
|
|
18
18
|
import {
|
|
19
19
|
CHANNEL_LOOP_MCP_SERVER_NAME
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XVTCSVBK.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esbuild_shims
|
|
23
23
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
import {
|
|
4
4
|
settleChatRecording,
|
|
5
5
|
subscribeToHeadlessChatRecordingFailures
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CALNF3Z3.js";
|
|
7
7
|
import {
|
|
8
8
|
JsonOutputAdapter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5VZFJTL2.js";
|
|
10
10
|
import {
|
|
11
11
|
StreamJsonOutputAdapter
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4BLTSTF6.js";
|
|
13
13
|
import {
|
|
14
14
|
normalizePartList
|
|
15
15
|
} from "./chunk-5IENVM7Z.js";
|
|
16
16
|
import {
|
|
17
17
|
handleAtCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QXXBW2G4.js";
|
|
19
19
|
import {
|
|
20
20
|
buildInitialSystemReminders,
|
|
21
21
|
buildSystemMessage,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
handleSlashCommand,
|
|
27
27
|
insertAfterFunctionResponses,
|
|
28
28
|
isSlashCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ODBNTMZW.js";
|
|
30
30
|
import {
|
|
31
31
|
RunBudgetEnforcer,
|
|
32
32
|
cleanupReviewWorktreeLeases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WZ4YULVF.js";
|
|
34
34
|
import {
|
|
35
35
|
AlreadyReportedError,
|
|
36
36
|
handleBudgetExceededError,
|
|
@@ -38,20 +38,20 @@ import {
|
|
|
38
38
|
handleError,
|
|
39
39
|
handleMaxTurnsExceededError,
|
|
40
40
|
handleToolError
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VEQBVJYH.js";
|
|
42
42
|
import {
|
|
43
43
|
isInlineModelOverrideAllowed
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-7GZCCHJL.js";
|
|
45
45
|
import {
|
|
46
46
|
buildGoalContinuationParts,
|
|
47
47
|
buildSessionRecoveryPlanFromApiHistory,
|
|
48
48
|
detectAutonomousSentinel,
|
|
49
49
|
detectLoopSentinel,
|
|
50
50
|
executeToolCall
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BL6B2QS2.js";
|
|
52
52
|
import {
|
|
53
53
|
restoreWorktreeContext
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YZTGGCEE.js";
|
|
55
55
|
import {
|
|
56
56
|
GOAL_PAUSE_REASON_HEADLESS_RUN_ENDED,
|
|
57
57
|
GOAL_PAUSE_REASON_USER_INTERRUPT,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
parseAndFormatApiError,
|
|
73
73
|
partitionByConcurrencySafety,
|
|
74
74
|
recordHandledToolCall
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-43CI6YWJ.js";
|
|
76
76
|
import {
|
|
77
77
|
parsePositiveIntegerEnv
|
|
78
78
|
} from "./chunk-6PVPNMXU.js";
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
shouldRunVisionBridge,
|
|
92
92
|
splitImageParts,
|
|
93
93
|
uiTelemetryService
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-OIPUQE3S.js";
|
|
95
95
|
import {
|
|
96
96
|
endInteractionSpan,
|
|
97
97
|
getActiveInteractionSpan,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
} from "./chunk-ZAFYHRVY.js";
|
|
113
113
|
import {
|
|
114
114
|
registerCleanup
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-JDPBJIKI.js";
|
|
116
116
|
import {
|
|
117
117
|
init_esbuild_shims
|
|
118
118
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -193,8 +193,20 @@ function formatGoalState(snapshot, operation) {
|
|
|
193
193
|
}
|
|
194
194
|
const status = goal.status === "usage_limited" ? "usage limited" : goal.status;
|
|
195
195
|
const summary = `Goal ${status}: ${goal.objective}`;
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
const usage = [];
|
|
197
|
+
if (goal.turnCount > 0) {
|
|
198
|
+
usage.push(`${goal.turnCount} ${goal.turnCount === 1 ? "turn" : "turns"}`);
|
|
199
|
+
}
|
|
200
|
+
if (goal.tokensUsed > 0) {
|
|
201
|
+
const used = goal.tokensUsed.toLocaleString("en-US");
|
|
202
|
+
usage.push(
|
|
203
|
+
goal.tokenBudget === void 0 ? `${used} tokens` : `${used} of ${goal.tokenBudget.toLocaleString("en-US")} tokens`
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
const withUsage = usage.length > 0 ? `${summary}
|
|
207
|
+
Usage: ${usage.join(" \xB7 ")}` : summary;
|
|
208
|
+
return goal.status !== "active" && goal.lastReason ? `${withUsage}
|
|
209
|
+
Reason: ${goal.lastReason}` : withUsage;
|
|
198
210
|
}
|
|
199
211
|
__name(formatGoalState, "formatGoalState");
|
|
200
212
|
async function claimUserGoalTurn(runtime, turnKey, signal) {
|
|
@@ -1153,6 +1165,52 @@ ${text}
|
|
|
1153
1165
|
});
|
|
1154
1166
|
return 1;
|
|
1155
1167
|
}, "emitLoopDetectedResult");
|
|
1168
|
+
const emitRetryProgress = /* @__PURE__ */ __name((event, discardedToolCallCount, preserveText) => {
|
|
1169
|
+
if (event.type === "model_fallback" /* ModelFallback */) {
|
|
1170
|
+
process.stderr.write(
|
|
1171
|
+
`Falling back from ${event.fromModel} to ${event.toModel} (${discardedToolCallCount} buffered tool call(s) discarded).
|
|
1172
|
+
`
|
|
1173
|
+
);
|
|
1174
|
+
return;
|
|
1175
|
+
}
|
|
1176
|
+
if (event.type !== "retry" /* Retry */) return;
|
|
1177
|
+
if (!event.retryInfo) {
|
|
1178
|
+
process.stderr.write(
|
|
1179
|
+
`Retrying provider attempt (${discardedToolCallCount} buffered tool call(s) discarded${preserveText ? "; preserving delivered text" : ""}).
|
|
1180
|
+
`
|
|
1181
|
+
);
|
|
1182
|
+
return;
|
|
1183
|
+
}
|
|
1184
|
+
const { attempt, maxRetries, delayMs, message } = event.retryInfo;
|
|
1185
|
+
const delaySeconds = Math.ceil(delayMs / 1e3);
|
|
1186
|
+
process.stderr.write(
|
|
1187
|
+
`Retrying in ${delaySeconds}s (attempt ${attempt}/${maxRetries})${message ? `: ${message}` : ""}
|
|
1188
|
+
`
|
|
1189
|
+
);
|
|
1190
|
+
}, "emitRetryProgress");
|
|
1191
|
+
const discardAbandonedAttempt = /* @__PURE__ */ __name((event, pendingRequests, onDiscardText) => {
|
|
1192
|
+
if (event.type !== "retry" /* Retry */ && event.type !== "model_fallback" /* ModelFallback */) {
|
|
1193
|
+
return;
|
|
1194
|
+
}
|
|
1195
|
+
const discardedToolCalls = pendingRequests.splice(0);
|
|
1196
|
+
const preserveText = event.type === "retry" /* Retry */ && event.isContinuation === true;
|
|
1197
|
+
adapter.restartAttempt(preserveText, discardedToolCalls);
|
|
1198
|
+
if (!preserveText) {
|
|
1199
|
+
onDiscardText?.();
|
|
1200
|
+
}
|
|
1201
|
+
const retryInfo = event.type === "retry" /* Retry */ ? event.retryInfo : void 0;
|
|
1202
|
+
adapter.emitSystemMessage("retry", {
|
|
1203
|
+
reason: event.type === "retry" /* Retry */ ? "retry" : "model_fallback",
|
|
1204
|
+
...retryInfo ? {
|
|
1205
|
+
attempt: retryInfo.attempt,
|
|
1206
|
+
maxRetries: retryInfo.maxRetries,
|
|
1207
|
+
delayMs: retryInfo.delayMs
|
|
1208
|
+
} : {},
|
|
1209
|
+
discardedToolCalls: discardedToolCalls.length,
|
|
1210
|
+
preserveText
|
|
1211
|
+
});
|
|
1212
|
+
emitRetryProgress(event, discardedToolCalls.length, preserveText);
|
|
1213
|
+
}, "discardAbandonedAttempt");
|
|
1156
1214
|
const handledToolCallFingerprints = new Map(
|
|
1157
1215
|
llmClient.getHistoryToolCallFingerprints()
|
|
1158
1216
|
);
|
|
@@ -1558,6 +1616,7 @@ ${text}
|
|
|
1558
1616
|
sendType !== "toolResult" /* ToolResult */
|
|
1559
1617
|
);
|
|
1560
1618
|
const toolCallRequests = [];
|
|
1619
|
+
const attemptPreviewLength = plainTextPreview.length;
|
|
1561
1620
|
const apiStartTime = Date.now();
|
|
1562
1621
|
const responseStream = llmClient.sendMessageStream(
|
|
1563
1622
|
currentMessages[0]?.parts || [],
|
|
@@ -1602,13 +1661,13 @@ ${text}
|
|
|
1602
1661
|
adapter.finalizeAssistantMessage();
|
|
1603
1662
|
await routeAbort();
|
|
1604
1663
|
}
|
|
1664
|
+
discardAbandonedAttempt(event, toolCallRequests, () => {
|
|
1665
|
+
plainTextPreview = plainTextPreview.slice(0, attemptPreviewLength);
|
|
1666
|
+
});
|
|
1605
1667
|
adapter.processEvent(event);
|
|
1606
1668
|
if (event.type === "tool_call_request" /* ToolCallRequest */) {
|
|
1607
1669
|
toolCallRequests.push(event.value);
|
|
1608
1670
|
}
|
|
1609
|
-
if (event.type === "model_fallback" /* ModelFallback */) {
|
|
1610
|
-
toolCallRequests.length = 0;
|
|
1611
|
-
}
|
|
1612
1671
|
if (event.type === "content" /* Content */ && plainTextPreview.length < PLAIN_TEXT_PREVIEW_LIMIT) {
|
|
1613
1672
|
const remaining = PLAIN_TEXT_PREVIEW_LIMIT - plainTextPreview.length;
|
|
1614
1673
|
plainTextPreview += String(event.value).slice(0, remaining);
|
|
@@ -1821,6 +1880,7 @@ ${text}
|
|
|
1821
1880
|
finalizeOneShotMonitors();
|
|
1822
1881
|
await routeAbort();
|
|
1823
1882
|
}
|
|
1883
|
+
discardAbandonedAttempt(event, itemToolCallRequests);
|
|
1824
1884
|
adapter.processEvent(event);
|
|
1825
1885
|
if (event.type === "tool_call_request" /* ToolCallRequest */) {
|
|
1826
1886
|
itemToolCallRequests.push(event.value);
|
|
@@ -2121,6 +2181,7 @@ __name(runNonInteractive, "runNonInteractive");
|
|
|
2121
2181
|
|
|
2122
2182
|
export {
|
|
2123
2183
|
TurnInterruptedError,
|
|
2184
|
+
formatGoalState,
|
|
2124
2185
|
skipHeadlessLoopSentinel,
|
|
2125
2186
|
runNonInteractive
|
|
2126
2187
|
};
|
|
@@ -473,6 +473,19 @@ var CdWhilePromptActiveError = class extends Error {
|
|
|
473
473
|
this.sessionId = sessionId;
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
|
+
var SessionResetPendingError = class extends Error {
|
|
477
|
+
static {
|
|
478
|
+
__name(this, "SessionResetPendingError");
|
|
479
|
+
}
|
|
480
|
+
sessionId;
|
|
481
|
+
constructor(sessionId) {
|
|
482
|
+
super(
|
|
483
|
+
`Session ${sessionId} is mid worktree reset; prompt admission is closed until the reset completes`
|
|
484
|
+
);
|
|
485
|
+
this.name = "SessionResetPendingError";
|
|
486
|
+
this.sessionId = sessionId;
|
|
487
|
+
}
|
|
488
|
+
};
|
|
476
489
|
var McpAuthenticationInProgressError = class extends Error {
|
|
477
490
|
static {
|
|
478
491
|
__name(this, "McpAuthenticationInProgressError");
|
|
@@ -519,6 +532,7 @@ export {
|
|
|
519
532
|
InvalidRewindTargetError,
|
|
520
533
|
BranchWhilePromptActiveError,
|
|
521
534
|
CdWhilePromptActiveError,
|
|
535
|
+
SessionResetPendingError,
|
|
522
536
|
McpAuthenticationInProgressError
|
|
523
537
|
};
|
|
524
538
|
/**
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isPrivateProvenanceEnvKey,
|
|
18
18
|
publishPendingCompileCache,
|
|
19
19
|
reportRejectedLoaderKeys
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QTNCGZHQ.js";
|
|
21
21
|
import {
|
|
22
22
|
buildTrustPrecedenceRules,
|
|
23
23
|
require_strip_json_comments,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
require_main,
|
|
31
31
|
resolveEnvVarsInObject
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-65I7S4Z3.js";
|
|
33
33
|
import {
|
|
34
34
|
init_esbuild_shims
|
|
35
35
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveStreamIdleTimeoutMs,
|
|
8
8
|
resolveStreamMaxLifetimeMs,
|
|
9
9
|
withStreamGuards
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MA5OUNN6.js";
|
|
11
11
|
import {
|
|
12
12
|
OpenAIContentConverter,
|
|
13
13
|
TaggedThinkingParser,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
DashScopeOpenAICompatibleProvider,
|
|
33
33
|
DefaultOpenAICompatibleProvider
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VF6D6EGV.js";
|
|
35
35
|
import {
|
|
36
36
|
getCurrentAgentId
|
|
37
37
|
} from "./chunk-H3Q3RSKZ.js";
|
|
@@ -40,19 +40,20 @@ import {
|
|
|
40
40
|
getToolCallPreparations
|
|
41
41
|
} from "./chunk-CFKIH3D3.js";
|
|
42
42
|
import {
|
|
43
|
-
REASONING_EFFORT_TIERS
|
|
44
|
-
|
|
43
|
+
REASONING_EFFORT_TIERS,
|
|
44
|
+
parseModelReasoningCapabilities
|
|
45
|
+
} from "./chunk-6YEOCHSE.js";
|
|
45
46
|
import {
|
|
46
47
|
createChildAbortController
|
|
47
48
|
} from "./chunk-DJ2GSRLV.js";
|
|
48
49
|
import {
|
|
49
50
|
getRateLimitErrorDetails,
|
|
50
51
|
getTransportCode
|
|
51
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4ALNJDHL.js";
|
|
52
53
|
import {
|
|
53
54
|
ProtocolTagSanitizedEvent,
|
|
54
55
|
logProtocolTagSanitized
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-OIPUQE3S.js";
|
|
56
57
|
import {
|
|
57
58
|
isQwenFamilyWireModel,
|
|
58
59
|
isTieredEffortWireModel
|
|
@@ -1016,6 +1017,26 @@ function asObject(value) {
|
|
|
1016
1017
|
return value;
|
|
1017
1018
|
}
|
|
1018
1019
|
__name(asObject, "asObject");
|
|
1020
|
+
function applyConfiguredReasoningEffort(request, capabilities) {
|
|
1021
|
+
if (!capabilities || capabilities.toggleOnly || !Array.isArray(capabilities.efforts)) {
|
|
1022
|
+
return request;
|
|
1023
|
+
}
|
|
1024
|
+
const loose = request;
|
|
1025
|
+
const reasoning = asObject(loose["reasoning"]);
|
|
1026
|
+
if (!reasoning || !("effort" in reasoning)) return request;
|
|
1027
|
+
const effort = capabilities.efforts.find(
|
|
1028
|
+
(candidate) => candidate === reasoning["effort"]
|
|
1029
|
+
);
|
|
1030
|
+
const { effort: _drop, ...rest } = reasoning;
|
|
1031
|
+
const next = { ...loose };
|
|
1032
|
+
if (Object.keys(rest).length > 0) next["reasoning"] = rest;
|
|
1033
|
+
else delete next["reasoning"];
|
|
1034
|
+
if (effort && next["reasoning_effort"] === void 0) {
|
|
1035
|
+
next["reasoning_effort"] = effort;
|
|
1036
|
+
}
|
|
1037
|
+
return next;
|
|
1038
|
+
}
|
|
1039
|
+
__name(applyConfiguredReasoningEffort, "applyConfiguredReasoningEffort");
|
|
1019
1040
|
function normalizeSchemaType(value) {
|
|
1020
1041
|
if (typeof value !== "string") return void 0;
|
|
1021
1042
|
const normalized = value.toLowerCase();
|
|
@@ -1467,7 +1488,7 @@ var ContentGenerationPipeline = class {
|
|
|
1467
1488
|
request,
|
|
1468
1489
|
context
|
|
1469
1490
|
);
|
|
1470
|
-
|
|
1491
|
+
let baseRequest = {
|
|
1471
1492
|
model: context.model,
|
|
1472
1493
|
messages,
|
|
1473
1494
|
...this.buildGenerateContentConfig(request),
|
|
@@ -1479,6 +1500,26 @@ var ContentGenerationPipeline = class {
|
|
|
1479
1500
|
} else {
|
|
1480
1501
|
baseRequest.stream = false;
|
|
1481
1502
|
}
|
|
1503
|
+
const authType = this.contentGeneratorConfig.authType;
|
|
1504
|
+
const reasoningCapabilities = authType ? parseModelReasoningCapabilities(
|
|
1505
|
+
this.config.cliConfig.getResolvedModelConfig?.(
|
|
1506
|
+
authType,
|
|
1507
|
+
context.model,
|
|
1508
|
+
this.contentGeneratorConfig.baseUrl
|
|
1509
|
+
)?.capabilities.reasoning
|
|
1510
|
+
) : void 0;
|
|
1511
|
+
if (reasoningCapabilities && !("reasoning" in baseRequest) && this.contentGeneratorConfig.reasoning) {
|
|
1512
|
+
baseRequest = {
|
|
1513
|
+
...baseRequest,
|
|
1514
|
+
reasoning: this.contentGeneratorConfig.reasoning
|
|
1515
|
+
};
|
|
1516
|
+
}
|
|
1517
|
+
if (this.contentGeneratorConfig.samplingParams?.["reasoning"] === void 0 && !isOpenRouterHostname(this.contentGeneratorConfig)) {
|
|
1518
|
+
baseRequest = applyConfiguredReasoningEffort(
|
|
1519
|
+
baseRequest,
|
|
1520
|
+
reasoningCapabilities
|
|
1521
|
+
);
|
|
1522
|
+
}
|
|
1482
1523
|
if (request.config?.tools && request.config.tools.length > 0) {
|
|
1483
1524
|
baseRequest.tools = await OpenAIContentConverter.convertLlmToolsToOpenAI(
|
|
1484
1525
|
request.config.tools,
|
|
@@ -1507,7 +1548,7 @@ var ContentGenerationPipeline = class {
|
|
|
1507
1548
|
const isDashScope = DashScopeOpenAICompatibleProvider.isDashScopeProvider(
|
|
1508
1549
|
this.contentGeneratorConfig
|
|
1509
1550
|
);
|
|
1510
|
-
const thinkingMandatory = this.requiresThinking(model);
|
|
1551
|
+
const thinkingMandatory = reasoningCapabilities?.canDisable === false || this.requiresThinking(model);
|
|
1511
1552
|
const reasoningDisabled = request.config?.thinkingConfig?.includeThoughts === false || this.contentGeneratorConfig.reasoning === false;
|
|
1512
1553
|
if (reasoningDisabled) {
|
|
1513
1554
|
const typed2 = providerRequest;
|
|
@@ -1529,13 +1570,22 @@ var ContentGenerationPipeline = class {
|
|
|
1529
1570
|
};
|
|
1530
1571
|
}
|
|
1531
1572
|
}
|
|
1573
|
+
if (!thinkingMandatory) {
|
|
1574
|
+
if (reasoningCapabilities?.disableField === "reasoning_effort") {
|
|
1575
|
+
delete typed2["enable_thinking"];
|
|
1576
|
+
delete typed2["thinking_budget"];
|
|
1577
|
+
typed2["reasoning_effort"] = "none";
|
|
1578
|
+
} else if (reasoningCapabilities?.disableField === "enable_thinking") {
|
|
1579
|
+
typed2["enable_thinking"] = false;
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1532
1582
|
if ("reasoning" in typed2) {
|
|
1533
1583
|
delete typed2["reasoning"];
|
|
1534
1584
|
}
|
|
1535
1585
|
if ("reasoning_effort" in typed2 && typed2["reasoning_effort"] !== "none") {
|
|
1536
1586
|
delete typed2["reasoning_effort"];
|
|
1537
1587
|
}
|
|
1538
|
-
if (isDeepSeekHostname(this.contentGeneratorConfig)) {
|
|
1588
|
+
if (isDeepSeekHostname(this.contentGeneratorConfig) || reasoningCapabilities?.disableField === "thinking") {
|
|
1539
1589
|
typed2["thinking"] = { type: "disabled" };
|
|
1540
1590
|
}
|
|
1541
1591
|
if (!thinkingMandatory && isOpenRouterHostname(this.contentGeneratorConfig)) {
|
|
@@ -1550,6 +1600,13 @@ var ContentGenerationPipeline = class {
|
|
|
1550
1600
|
if (typed2["reasoning_effort"] === "none") {
|
|
1551
1601
|
delete typed2["reasoning_effort"];
|
|
1552
1602
|
}
|
|
1603
|
+
const thinking = asObject(typed2["thinking"]);
|
|
1604
|
+
if (thinking?.["type"] === "disabled") {
|
|
1605
|
+
const remaining = { ...thinking };
|
|
1606
|
+
delete remaining["type"];
|
|
1607
|
+
if (Object.keys(remaining).length > 0) typed2["thinking"] = remaining;
|
|
1608
|
+
else delete typed2["thinking"];
|
|
1609
|
+
}
|
|
1553
1610
|
const chatTemplateKwargs = typed2["chat_template_kwargs"];
|
|
1554
1611
|
if (chatTemplateKwargs?.["enable_thinking"] === false) {
|
|
1555
1612
|
const remaining = { ...chatTemplateKwargs };
|