@qwen-code/qwen-code 0.24.1-preview.2 → 0.24.1-test.notes-compaction.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/chunks/{MaxSizedBox-SUYPYRBN.js → MaxSizedBox-4BFFL7ST.js} +42 -42
- package/chunks/{StandaloneSessionPicker-BCKO4L6S.js → StandaloneSessionPicker-FK3J2NB6.js} +61 -61
- package/chunks/{acp-subagent-executor-5LXVJNPU.js → acp-subagent-executor-HSTCGP7M.js} +47 -47
- package/chunks/{acpAgent-Z7ZNFWDZ.js → acpAgent-UDBIT6QH.js} +150 -218
- package/chunks/{agent-6SYYNHSZ.js → agent-LDTN25VW.js} +25 -25
- package/chunks/{agent-headless-Q2YFS6PA.js → agent-headless-KCGNSGAN.js} +25 -25
- package/chunks/{anthropicContentGenerator-AJCHMLEF.js → anthropicContentGenerator-6YWUBLU4.js} +3 -3
- package/chunks/{artifact-tool-ZNYOGV2B.js → artifact-tool-MIP3IJZ2.js} +2 -2
- package/chunks/{askUserQuestion-RYGNEYFC.js → askUserQuestion-GZGGQM2V.js} +2 -2
- package/chunks/{bridge-ZRMHGUUN.js → bridge-CPTCNR3W.js} +46 -46
- package/chunks/{caption-audio-WJTT7JNK.js → caption-audio-L3HOMTUY.js} +3 -3
- package/chunks/{caption-image-VEPFLHPM.js → caption-image-GY23BCP2.js} +3 -3
- package/chunks/{channel-management-service-3WOOQ4XM.js → channel-management-service-3N7PWPPX.js} +1 -1
- package/chunks/{channel-settings-store-RRFC7WBW.js → channel-settings-store-FKNZKDL2.js} +50 -50
- package/chunks/{channel-worker-group-JQVH6YXZ.js → channel-worker-group-2GQEYLPK.js} +5 -5
- package/chunks/{channel-worker-manager-6GRAAS5P.js → channel-worker-manager-632CIIWM.js} +5 -5
- package/chunks/{channel-worker-supervisor-MGI34IDQ.js → channel-worker-supervisor-3IT7AZBG.js} +3 -3
- package/chunks/{chunk-QNSERHKY.js → chunk-25ZX5TBU.js} +1 -1
- package/chunks/{chunk-JYY3FCLA.js → chunk-2EL6C4IG.js} +8 -8
- package/chunks/{chunk-HG7BSAAQ.js → chunk-2G4SSHDU.js} +1 -1
- package/chunks/{chunk-J2BN4URJ.js → chunk-2IHBVVI7.js} +1 -1
- package/chunks/{chunk-75GB4FOU.js → chunk-2JFVAZJ4.js} +3 -3
- package/chunks/{chunk-CPDZQCLH.js → chunk-2PHWLN26.js} +1 -1
- package/chunks/{chunk-3YRZQZQW.js → chunk-2QKJVJRS.js} +1 -1
- package/chunks/{chunk-RFO537EW.js → chunk-2SRDM56L.js} +2 -2
- package/chunks/{chunk-DHQZXQ4K.js → chunk-2T7GOMLD.js} +10 -10
- package/chunks/{chunk-CJGSGMXL.js → chunk-2UNLHJDT.js} +1 -1
- package/chunks/{chunk-6GEPBMZ2.js → chunk-2ZTO4GE2.js} +4 -4
- package/chunks/{chunk-UQ4WDEGV.js → chunk-3NRZNPWL.js} +6 -6
- package/chunks/{chunk-PLJ6YSQX.js → chunk-4D3IKEOE.js} +1 -1
- package/chunks/{chunk-PUWHPTYG.js → chunk-4IGG3G7R.js} +22 -19
- package/chunks/{chunk-YUFDLWK7.js → chunk-4IMTKRDR.js} +1 -1
- package/chunks/{chunk-S4XNJ5FH.js → chunk-4OBZCRKM.js} +2 -2
- package/chunks/{chunk-GOVIASFS.js → chunk-557JLJHM.js} +3 -3
- package/chunks/{chunk-MJPA5NKS.js → chunk-5ONGZ3PR.js} +2 -2
- package/chunks/{chunk-5ULLRZQ5.js → chunk-5VLGVOYA.js} +7 -7
- package/chunks/{chunk-ANKISCKU.js → chunk-5WQQOM5K.js} +1 -0
- package/chunks/{chunk-XDRKURPF.js → chunk-62CUWTLF.js} +4 -4
- package/chunks/{chunk-3WTPIIX3.js → chunk-63BQSGLY.js} +2 -2
- package/chunks/{chunk-BB27YK6O.js → chunk-63TI6ZAD.js} +1 -1
- package/chunks/{chunk-K3MDKK3H.js → chunk-67PJ6OOD.js} +1 -1
- package/chunks/{chunk-MW4O5XZQ.js → chunk-6EX5DGFK.js} +1 -1
- package/chunks/{chunk-OCOPMZMJ.js → chunk-6K6KYSKV.js} +3 -3
- package/chunks/{chunk-DDFUMJDY.js → chunk-6LS4JDDC.js} +3 -3
- package/chunks/{chunk-UVINHQWX.js → chunk-7JRVPWT3.js} +11 -11
- package/chunks/{chunk-RRUAHBYV.js → chunk-7KXHS2EQ.js} +4 -4
- package/chunks/{chunk-R6IES4JL.js → chunk-7SVSNLW3.js} +1 -1
- package/chunks/{chunk-L7TJUPNR.js → chunk-A4MRRFBI.js} +5 -0
- package/chunks/{chunk-JMBSWY6V.js → chunk-ABROGGJJ.js} +1 -1
- package/chunks/{chunk-7LG2FNVG.js → chunk-AMPZWMAB.js} +3 -3
- package/chunks/{chunk-QTGYWDIB.js → chunk-BELFFOZG.js} +7 -7
- package/chunks/{chunk-AYE2T7RX.js → chunk-BHAGKBV5.js} +212 -23
- package/chunks/{chunk-2CZQ57EU.js → chunk-BJEZBTUO.js} +9 -2
- package/chunks/{chunk-F3XBI3C5.js → chunk-BNTEKVYN.js} +1 -1
- package/chunks/{chunk-3YIPZRXZ.js → chunk-BZJAS2DW.js} +1 -1
- package/chunks/{chunk-NO4M2IFY.js → chunk-CFDQMDEK.js} +16 -16
- package/chunks/{chunk-R5F4XPOL.js → chunk-CJ4ELLG6.js} +4 -4
- package/chunks/{chunk-B56HYOUO.js → chunk-D55VRMZY.js} +2 -2
- package/chunks/{chunk-BKODW5LP.js → chunk-DDYLVTHB.js} +1 -1
- package/chunks/{chunk-PJBHT5HP.js → chunk-ETL4YO5F.js} +94 -88
- package/chunks/{chunk-LN4WZAX6.js → chunk-EW6NXQ4Y.js} +1 -1
- package/chunks/{chunk-VFPYR2QH.js → chunk-FEJKOREW.js} +9 -4
- package/chunks/{chunk-ABA6SVGG.js → chunk-FL5HFUET.js} +1 -1
- package/chunks/{chunk-YG2QHKNQ.js → chunk-FLXLRVM2.js} +2 -2
- package/chunks/{chunk-YFARICYJ.js → chunk-FPQF7XED.js} +1 -1
- package/chunks/{chunk-OS2B6VJ3.js → chunk-FQ2BQKJO.js} +2 -2
- package/chunks/{chunk-H36V5QMB.js → chunk-FST2R4CI.js} +41 -16
- package/chunks/{chunk-63TM3IYQ.js → chunk-GDMIPTWI.js} +4 -4
- package/chunks/{chunk-YQS35MQS.js → chunk-GGAP4YAL.js} +7 -7
- package/chunks/{chunk-ABWRIA3H.js → chunk-GJE25C44.js} +2 -2
- package/chunks/{chunk-BC5SRSMK.js → chunk-GZCIMJ4P.js} +2 -2
- package/chunks/{chunk-MMRGG6R4.js → chunk-H32AKV4B.js} +1 -1
- package/chunks/{chunk-HZYLXNG7.js → chunk-HB6ZJYKX.js} +1 -1
- package/chunks/{chunk-7WGWBWL7.js → chunk-HIFCCFIX.js} +1 -1
- package/chunks/{chunk-OZ5Z45DG.js → chunk-HXP4WF7E.js} +1 -1
- package/chunks/{chunk-7S2BGPWN.js → chunk-IWZZOD6J.js} +3180 -1844
- package/chunks/{chunk-KQW7W6WZ.js → chunk-J2WKPAFA.js} +9 -9
- package/chunks/{chunk-O7LUZE4E.js → chunk-J4I37FUS.js} +3 -3
- package/chunks/{chunk-GPSDZNPN.js → chunk-JBGXQP4F.js} +1 -1
- package/chunks/{chunk-FIGVLM7P.js → chunk-JDS6RRHY.js} +37 -2
- package/chunks/{chunk-ZPLLLCRC.js → chunk-JDWE2L76.js} +1 -1
- package/chunks/{chunk-LHI3FFDO.js → chunk-JGTA5HF2.js} +2 -2
- package/chunks/{chunk-4BSQW4CG.js → chunk-JHXDPLZV.js} +10 -10
- package/chunks/{chunk-7M3FEMY6.js → chunk-JJ7DTMUY.js} +3 -3
- package/chunks/{chunk-B77LIFIP.js → chunk-JL7NMSOU.js} +0 -14
- package/chunks/{chunk-N7FGOVMP.js → chunk-JYAUFSSC.js} +2 -2
- package/chunks/{chunk-RPGUFXRL.js → chunk-KT72MHEH.js} +2 -2
- package/chunks/{chunk-R7MRLQZT.js → chunk-KTEF2ERM.js} +1 -1
- package/chunks/{chunk-GI4KLI5I.js → chunk-KZE3BRBA.js} +1 -1
- package/chunks/{chunk-OW5IVLET.js → chunk-LYA76B7V.js} +20 -20
- package/chunks/{chunk-KWBROJVD.js → chunk-LYG2IAYP.js} +1 -1
- package/chunks/{chunk-PHNKFEX3.js → chunk-M43OIUEX.js} +11 -11
- package/chunks/{chunk-AWS3EGSN.js → chunk-MBV4C6W4.js} +2 -2
- package/chunks/{chunk-ITY5NM7C.js → chunk-MVNKMBFZ.js} +2 -2
- package/chunks/{chunk-FCN22GWX.js → chunk-NBFMRK3I.js} +6 -6
- package/chunks/{chunk-IVE5Z4RU.js → chunk-NC25XA5T.js} +22 -30
- package/chunks/{chunk-75TGCLYE.js → chunk-NHG3WFXH.js} +1 -1
- package/chunks/{chunk-ZUTZ3PSU.js → chunk-O7EYG73H.js} +3 -3
- package/chunks/{chunk-FYBXHBWA.js → chunk-OEYDEBC2.js} +1 -1
- package/chunks/{chunk-KJMYVDYW.js → chunk-OGONUWCZ.js} +3 -3
- package/chunks/{chunk-4E6SGS3A.js → chunk-OQVJWZ54.js} +4 -4
- package/chunks/{chunk-I4EFTUMC.js → chunk-OXOBUKJJ.js} +77 -9
- package/chunks/{chunk-YXHY6BKS.js → chunk-OY4DP3XV.js} +14 -1
- package/chunks/{chunk-WD54GZTM.js → chunk-PKLFEF3W.js} +5 -3
- package/chunks/{chunk-OL2AT23B.js → chunk-PRNIHA6W.js} +6 -5
- package/chunks/{chunk-JCFZTTXZ.js → chunk-QS6K2J5T.js} +3 -3
- package/chunks/{chunk-MCJVUCX2.js → chunk-RCVCG5D6.js} +1 -1
- package/chunks/{chunk-PJELH5NF.js → chunk-RD3MKHNH.js} +4 -4
- package/chunks/{chunk-EKAYSP2Z.js → chunk-REC2C2PJ.js} +1 -1
- package/chunks/{chunk-Z7ECDVYK.js → chunk-RRY73GCA.js} +2 -2
- package/chunks/{chunk-AC4FUDXK.js → chunk-S2IUMCP4.js} +1 -1
- package/chunks/{chunk-GIHJK4FJ.js → chunk-SHZIQMXV.js} +1 -1
- package/chunks/{chunk-KWALNYOO.js → chunk-SV24PR2T.js} +1 -1
- package/chunks/{chunk-7W72PCKP.js → chunk-T25GIJ7Q.js} +6 -6
- package/chunks/{chunk-DVP56LAM.js → chunk-T6LELOWQ.js} +12 -12
- package/chunks/{chunk-YKMY5UTC.js → chunk-TAPJEWAP.js} +3 -3
- package/chunks/{chunk-2EUGBE47.js → chunk-TBBZWESZ.js} +11 -11
- package/chunks/{chunk-CYRXE53T.js → chunk-TDNFYX3D.js} +3 -3
- package/chunks/{chunk-KLL4GCCM.js → chunk-TENR27NT.js} +12 -6
- package/chunks/{chunk-7MUWTUOX.js → chunk-U6E3DZJ2.js} +17 -16
- package/chunks/{chunk-JSRFFUXK.js → chunk-UHMNQV4F.js} +1 -1
- package/chunks/{chunk-SENYKRII.js → chunk-UM4V7562.js} +1 -1
- package/chunks/{chunk-SASDWMJO.js → chunk-USVK4SPX.js} +27 -27
- package/chunks/{chunk-DSJQYGJZ.js → chunk-UUQP6E3M.js} +8 -0
- package/chunks/{chunk-EGFLRBZ6.js → chunk-V5AAWDR5.js} +1 -1
- package/chunks/{chunk-RQHXUQ5M.js → chunk-VAWSNTZ5.js} +8 -8
- package/chunks/{chunk-EUEDQORS.js → chunk-VG2OBPC5.js} +1 -1
- package/chunks/{chunk-YVLRK2WW.js → chunk-VJBXXK6Y.js} +3 -3
- package/chunks/{chunk-YM7MHAIC.js → chunk-VMZPWKDO.js} +1 -1
- package/chunks/{chunk-6KR42S7N.js → chunk-VSE6CR6A.js} +1 -1
- package/chunks/{chunk-HBZQIGAR.js → chunk-VWRRG6WB.js} +2 -2
- package/chunks/{chunk-BINMG6CG.js → chunk-W3RTZ56Y.js} +2 -2
- package/chunks/{chunk-4KJK3FGR.js → chunk-WAKXHYR7.js} +1 -1
- package/chunks/{chunk-5X4EQBIA.js → chunk-WMZHEEA4.js} +1 -1
- package/chunks/{chunk-5LWMGZUU.js → chunk-WTEDVQBQ.js} +1 -1
- package/chunks/{chunk-YVXI3U3W.js → chunk-WYB7KMO4.js} +6 -6
- package/chunks/{chunk-EJKIUYN6.js → chunk-WYOXEOH2.js} +67 -4
- package/chunks/{chunk-XO32NLJ5.js → chunk-X2D5TGMY.js} +4 -4
- package/chunks/{chunk-PBCCDC5C.js → chunk-X4JS3V6Z.js} +3 -3
- package/chunks/{chunk-B2V6P65V.js → chunk-X7FOYU7O.js} +1 -1
- package/chunks/{chunk-CQKBWZ5E.js → chunk-YGZ635BF.js} +37 -57
- package/chunks/{chunk-FRDYCOU2.js → chunk-YKW6NONW.js} +4 -4
- package/chunks/{chunk-KT7ZUSTE.js → chunk-YRZWDTZE.js} +2 -2
- package/chunks/{chunk-DAIWLFBL.js → chunk-ZLMZ4T2V.js} +4 -4
- package/chunks/{chunk-6GNUSS3I.js → chunk-ZME4D5II.js} +20 -18
- package/chunks/{chunk-XGU276ID.js → chunk-ZP4BQFDJ.js} +4 -4
- package/chunks/{chunk-2EDB3IUV.js → chunk-ZUPFQZ75.js} +49 -48
- package/chunks/{clip-audio-ALB7NSX7.js → clip-audio-QME6TMCF.js} +1 -1
- package/chunks/{clip-image-Y3MKBSNQ.js → clip-image-SRBYL65N.js} +1 -1
- package/chunks/{clip-video-544D65CN.js → clip-video-NJY3YQCO.js} +1 -1
- package/chunks/{codex-subagent-executor-UN4TVQLG.js → codex-subagent-executor-PIWS5KTC.js} +49 -49
- package/chunks/{config-IMU5NWJA.js → config-PDKMLX5L.js} +2 -2
- package/chunks/{config-utils-DWN5B6HN.js → config-utils-M4KPYAJT.js} +43 -43
- package/chunks/{container-execution-environment-2BGRRHWG.js → container-execution-environment-3TLVYGYP.js} +2 -2
- package/chunks/{contextCommand-25BGZY4S.js → contextCommand-GCYMSLJZ.js} +44 -44
- package/chunks/{convert-image-4LKO3QSE.js → convert-image-LMVDXS5X.js} +1 -1
- package/chunks/{core-runtime-E7GY7FQL.js → core-runtime-PK25YBIM.js} +41 -41
- package/chunks/{create-sub-session-BAIKTJZ4.js → create-sub-session-MTARGYFJ.js} +43 -43
- package/chunks/{create-sub-session-4TDRAOML.js → create-sub-session-VZR6N5V4.js} +2 -2
- package/chunks/{cron-create-RE3BU3FZ.js → cron-create-OFXWICWD.js} +1 -1
- package/chunks/{cron-delete-2VRPQ42H.js → cron-delete-ZX5S7W5H.js} +1 -1
- package/chunks/{cron-list-NUXGPC4H.js → cron-list-PUG7FCB6.js} +1 -1
- package/chunks/{daemon-E4MVZ7AP.js → daemon-LKIZ3HNV.js} +1 -1
- package/chunks/{daemon-git-worktree-guard-ZTAV4HQB.js → daemon-git-worktree-guard-JDRPXPJR.js} +45 -45
- package/chunks/{daemon-status-provider-VLRPWZZH.js → daemon-status-provider-5TQUY752.js} +52 -52
- package/chunks/{daemon-trust-policy-OTUBDFHQ.js → daemon-trust-policy-EG5ZTZSE.js} +48 -48
- package/chunks/{daemon-trust-policy-monitor-W52NWLO5.js → daemon-trust-policy-monitor-TL35QBDA.js} +48 -48
- package/chunks/{deferred-core-runtime-P4EIIL7M.js → deferred-core-runtime-TV537Q5K.js} +41 -41
- package/chunks/{display-image-LJNYI4RV.js → display-image-Z3G5SPL3.js} +3 -3
- package/chunks/{downsample-audio-RQFPZFPG.js → downsample-audio-H4NUFCDZ.js} +1 -1
- package/chunks/{downsample-image-4D3H2UWY.js → downsample-image-U5OUCLD2.js} +4 -4
- package/chunks/{downscale-video-N6LYF3X6.js → downscale-video-CVDYIIHX.js} +1 -1
- package/chunks/{edit-FJFHUIY4.js → edit-5VEQK2KV.js} +26 -26
- package/chunks/{en-TOD7T4QQ.js → en-W6CBO4YQ.js} +9 -0
- package/chunks/{enter-worktree-5FI25CNL.js → enter-worktree-VSFZPIBK.js} +1 -1
- package/chunks/{enterPlanMode-WGDUBIGO.js → enterPlanMode-JJZCLBLY.js} +25 -25
- package/chunks/{environment-DNHGPK7Q.js → environment-QM4XGSIK.js} +43 -43
- package/chunks/{errors-3FKGIKNN.js → errors-UCTBZYTW.js} +43 -43
- package/chunks/{exec-UXNA4CU5.js → exec-MCLYNTF5.js} +1 -1
- package/chunks/{execution-tool-GSOYRE7M.js → execution-tool-T3PNV6WX.js} +27 -27
- package/chunks/{execution-worker-TWQ2YF42.js → execution-worker-RAZPKO3I.js} +34 -34
- package/chunks/{exit-worktree-DUIRWKPA.js → exit-worktree-2JDM2TP3.js} +1 -1
- package/chunks/{exitPlanMode-3GA5VWWB.js → exitPlanMode-RO6MTCR3.js} +25 -25
- package/chunks/{extract-audio-FSYM3VVM.js → extract-audio-L24INWVN.js} +1 -1
- package/chunks/{extract-keyframes-NCE7XTZB.js → extract-keyframes-CUMPTHA5.js} +1 -1
- package/chunks/{fast-path-XF5YGYNO.js → fast-path-IX6DB7PM.js} +3 -3
- package/chunks/{fast-path-settings-BW2THCUD.js → fast-path-settings-TLOSL5ML.js} +1 -1
- package/chunks/{glob-M2TXMH5Q.js → glob-UODXHR6W.js} +26 -26
- package/chunks/{goal-tools-D523PJR5.js → goal-tools-RRHHAHVS.js} +25 -25
- package/chunks/{grep-2AHWRRW7.js → grep-LTJKIQCZ.js} +2 -2
- package/chunks/{handleAutoUpdate-RRYCWRZ2.js → handleAutoUpdate-IAXZTMAE.js} +46 -46
- package/chunks/{i18n-TUYCRMFW.js → i18n-KFZWMFK2.js} +42 -42
- package/chunks/{image-gen-AGURDL2F.js → image-gen-WANZMVCS.js} +1 -1
- package/chunks/{initializer-6BJ7YAF5.js → initializer-2ZOOBI6A.js} +48 -48
- package/chunks/{installationInfo-KD366W45.js → installationInfo-5BYXCQAQ.js} +41 -41
- package/chunks/{list-L7MZF2AZ.js → list-W5JFDCEH.js} +51 -51
- package/chunks/{list-agents-OC2WSRMI.js → list-agents-UIFCI4ER.js} +1 -1
- package/chunks/{llm-HDLU6CTT.js → llm-QSFDYHD7.js} +106 -106
- package/chunks/{llm-content-generator-MYYFDSFV.js → llm-content-generator-VKT6UJQD.js} +3 -3
- package/chunks/{loadedSettingsAdapter-H6GUNXJ2.js → loadedSettingsAdapter-4EP6C36I.js} +48 -48
- package/chunks/{local-execution-environment-JLIO4YKC.js → local-execution-environment-EWAZCW4G.js} +34 -34
- package/chunks/{loggingContentGenerator-5AUS3FRD.js → loggingContentGenerator-Y246INXF.js} +26 -26
- package/chunks/{loop-wakeup-AKQ5VA4R.js → loop-wakeup-TOJSDAX4.js} +2 -2
- package/chunks/{ls-SN3NRT3I.js → ls-72SDBQ2K.js} +2 -2
- package/chunks/{lsp-V3LC5RY3.js → lsp-OXDLQX2P.js} +1 -1
- package/chunks/{managed-npm-update-SXZ2U3AX.js → managed-npm-update-26X7BVHF.js} +42 -42
- package/chunks/{mcp-6CD76FID.js → mcp-YZHEB4AJ.js} +48 -48
- package/chunks/{memory-side-query-FCFRCOFG.js → memory-side-query-XA52PDYS.js} +2 -2
- package/chunks/{model-call-collection-TON6MSCF.js → model-call-collection-4CLBXCD2.js} +3 -3
- package/chunks/{model-configuration-4Z25DEWC.js → model-configuration-QA2OWKB4.js} +48 -48
- package/chunks/{modelConfigUtils-RLZ47FPZ.js → modelConfigUtils-UXMZ35D3.js} +42 -42
- package/chunks/{monitor-VXQ7KYEJ.js → monitor-4GCE6SBI.js} +27 -27
- package/chunks/{nonInteractiveCli-ZXWKMKWC.js → nonInteractiveCli-YMI7QAKU.js} +92 -92
- package/chunks/{nonInteractiveToolExecutor-KBUF3BTR.js → nonInteractiveToolExecutor-X47HCPEO.js} +26 -26
- package/chunks/{notebook-edit-QH7FXG4T.js → notebook-edit-TDGILTTI.js} +26 -26
- package/chunks/{ocr-image-Y44EWIB6.js → ocr-image-P6YEH6V6.js} +3 -3
- package/chunks/{omni-32DW7DAU.js → omni-IOVPBQ2W.js} +10 -10
- package/chunks/{openaiContentGenerator-53HJMYFV.js → openaiContentGenerator-MLHGAHPT.js} +12 -12
- package/chunks/{openaiResponsesContentGenerator-2SLR5YSO.js → openaiResponsesContentGenerator-CWGHD5YK.js} +2 -2
- package/chunks/{pidfile-HFMNLERX.js → pidfile-JSIHOGRR.js} +41 -41
- package/chunks/{process-registry-7LAPI3ZB.js → process-registry-MDKO6QY2.js} +1 -1
- package/chunks/{processUtils-G4YV5PUL.js → processUtils-BU2G7I54.js} +2 -2
- package/chunks/{prompt-terminal-ledger-7SM2SBVV.js → prompt-terminal-ledger-VU63A7T3.js} +42 -42
- package/chunks/{qwenContentGenerator-JYZK4UZJ.js → qwenContentGenerator-YCBMJ7FT.js} +27 -27
- package/chunks/{reactive-degrade-SJQJUSWE.js → reactive-degrade-UAVWGU46.js} +10 -10
- package/chunks/{read-file-FSGLCFTS.js → read-file-QNN37J7X.js} +5 -5
- package/chunks/{read-mcp-resource-F7Y7TG2M.js → read-mcp-resource-VXVH5WXY.js} +1 -1
- package/chunks/{recall-media-memory-tool-BQTS26HR.js → recall-media-memory-tool-GCEE2PFQ.js} +2 -2
- package/chunks/{record-artifact-XDRCIWCW.js → record-artifact-O7JYB52H.js} +2 -2
- package/chunks/{record-source-S6UBE2VH.js → record-source-QBKXPY2B.js} +6 -6
- package/chunks/{report-findings-F4QERRFR.js → report-findings-JOY5T6BE.js} +3 -3
- package/chunks/{request-shutdown-XNRH6MV3.js → request-shutdown-RRZ7CPMZ.js} +5 -5
- package/chunks/{resumeHistoryUtils-VSPCHBW6.js → resumeHistoryUtils-FHKTP6X2.js} +47 -47
- package/chunks/{ripGrep-YVM3DMMW.js → ripGrep-YDYZVYLZ.js} +6 -6
- package/chunks/{run-qwen-serve-ZQJ3SE3I.js → run-qwen-serve-Y2QUOAFI.js} +77 -77
- package/chunks/{runtime-GW2XGK5X.js → runtime-24EOMPRT.js} +51 -51
- package/chunks/{sandbox-5RKHRAFD.js → sandbox-M4ZFC7UK.js} +50 -50
- package/chunks/{sandboxConfig-F6ZRJB5C.js → sandboxConfig-ZLZIBECD.js} +42 -42
- package/chunks/{scheduled-tasks-YOGLJMWV.js → scheduled-tasks-37BGGKFE.js} +49 -49
- package/chunks/{scheduler-JCT6ARET.js → scheduler-MPGAWEJ7.js} +43 -43
- package/chunks/{send-message-DQYG7UA7.js → send-message-HKSMSFSD.js} +5 -5
- package/chunks/{serve-ATWHQIZC.js → serve-M7KIBFXK.js} +48 -48
- package/chunks/{server-BL7NBKQO.js → server-4LWLWOEM.js} +462 -180
- package/chunks/{session-SKCALDL6.js → session-3SHGMIXY.js} +97 -97
- package/chunks/{session-attachments-root-I2DLMEGC.js → session-attachments-root-KU3OTCBA.js} +41 -41
- package/chunks/session-context-6W5KFEVI.js +206 -0
- package/chunks/{session-pr-refresh-J5O3ECBZ.js → session-pr-refresh-2CTKAXKW.js} +48 -48
- package/chunks/session-transcript-reader-5EZUBY5D.js +158 -0
- package/chunks/{settings-4APYRYEP.js → settings-3NK6PJY6.js} +51 -51
- package/chunks/{shell-BRLSIRIJ.js → shell-ZCE2Z7HM.js} +25 -25
- package/chunks/{skill-ANJV3QCO.js → skill-J2S7USOF.js} +7 -7
- package/chunks/{skill-settings-5OEAPNUN.js → skill-settings-CE7PRMQZ.js} +48 -48
- package/chunks/{spawnChannel-L22VQQG6.js → spawnChannel-CWM64UIU.js} +45 -45
- package/chunks/{standalone-update-JCDSJXRD.js → standalone-update-R24FLSSW.js} +43 -43
- package/chunks/{start-opentui-ui-UZZMEAMN.js → start-opentui-ui-E6BBHWV3.js} +164 -143
- package/chunks/{startInteractiveUI-76WHKIMU.js → startInteractiveUI-WM4FKTPT.js} +162 -151
- package/chunks/{syntheticOutput-M7K42KRP.js → syntheticOutput-35OLCA42.js} +2 -2
- package/chunks/{task-create-M43C4SBX.js → task-create-MMWCUSLH.js} +6 -6
- package/chunks/{task-list-ESK3U5S5.js → task-list-ZXFVRRNB.js} +1 -1
- package/chunks/{task-stop-4I6RM5K2.js → task-stop-LZYDKQSC.js} +2 -2
- package/chunks/{task-update-PW6XM3S6.js → task-update-DAYAIPJV.js} +6 -6
- package/chunks/{team-create-KWEJO6TE.js → team-create-YW7LALMB.js} +30 -30
- package/chunks/{team-delete-QYOE7HXP.js → team-delete-NDZK3XKJ.js} +1 -1
- package/chunks/{team-plan-approval-VXHTSKHR.js → team-plan-approval-CQBPU5QC.js} +25 -25
- package/chunks/{terminal-image-renderer-TOK5UHDG.js → terminal-image-renderer-CQ6VMEUP.js} +41 -41
- package/chunks/{theme-manager-ZV4RR26I.js → theme-manager-HWH6G76G.js} +41 -41
- package/chunks/{todoWrite-4U5OPUBT.js → todoWrite-AHVPEMQH.js} +1 -1
- package/chunks/{tool-result-media-GQOZVVL2.js → tool-result-media-KAY3CLAU.js} +10 -10
- package/chunks/{tool-search-ZF4TSSBS.js → tool-search-K46APLYA.js} +9 -9
- package/chunks/{total-session-admission-TU776YQY.js → total-session-admission-NTOL22LW.js} +47 -47
- package/chunks/{transcribe-audio-R5C26LIX.js → transcribe-audio-MGPBAEQO.js} +2 -2
- package/chunks/{tree-sitter-4D7QS7F6.js → tree-sitter-BKGVCBHX.js} +1 -1
- package/chunks/{tree-sitter-bash-VEJGF5XF.js → tree-sitter-bash-TPHDBRZ5.js} +1 -1
- package/chunks/{trustedFolders-SBXCVRQG.js → trustedFolders-E7VWOFL6.js} +42 -42
- package/chunks/{understand-video-segments-ZHHAKJSD.js → understand-video-segments-YNHXX3ZO.js} +3 -3
- package/chunks/{update-relaunch-QQBSIE5C.js → update-relaunch-DPDJ2FKY.js} +5 -5
- package/chunks/{updateCheck-L5W4XUFI.js → updateCheck-S2WV5RTW.js} +45 -45
- package/chunks/{upload-config-JNZAPCF6.js → upload-config-4GCFSZIX.js} +4 -4
- package/chunks/{useAutoAcceptIndicator-5JQS2R2M.js → useAutoAcceptIndicator-ULE5KJWZ.js} +51 -51
- package/chunks/{validateNonInterActiveAuth-QQGBHCWE.js → validateNonInterActiveAuth-3ROBFNXB.js} +89 -89
- package/chunks/{version-5MCFLBNP.js → version-VYRYIPWR.js} +1 -1
- package/chunks/{web-fetch-6IQOTXM2.js → web-fetch-XLS7HVSR.js} +7 -7
- package/chunks/{web-search-TY4ODCXK.js → web-search-KK63ARBF.js} +5 -5
- package/chunks/{web-shell-static-7D6SWOB2.js → web-shell-static-IMYZZXVX.js} +5 -5
- package/chunks/{workflow-ZLOBJFVU.js → workflow-R7D3TPE3.js} +28 -28
- package/chunks/{workspace-providers-status-DO45VCTP.js → workspace-providers-status-SXJTY7CC.js} +53 -53
- package/chunks/{workspace-registration-store-BTQLDHIJ.js → workspace-registration-store-MZV7JUZG.js} +1 -1
- package/chunks/{workspace-registry-U5TYWDJX.js → workspace-registry-TPZSBDG5.js} +47 -47
- package/chunks/{workspace-runtime-coordinator-PSL3IYT5.js → workspace-runtime-coordinator-CBAB6RRX.js} +47 -47
- package/chunks/{workspace-service-HCPAODRG.js → workspace-service-EY4SCO5B.js} +54 -54
- package/chunks/{workspace-skills-status-KD2JXJUU.js → workspace-skills-status-TK55VYIL.js} +51 -51
- package/chunks/{workspace-trust-reconciler-WAIHZHDY.js → workspace-trust-reconciler-2WV7DYBU.js} +54 -54
- package/chunks/{write-file-Z35R7HTD.js → write-file-AHORYCLH.js} +27 -27
- package/chunks/{zh-TW-Q7UZ46DB.js → zh-TW-SAFJ66GA.js} +9 -0
- package/chunks/{zh-W7CTRI6H.js → zh-YMBHFIUS.js} +9 -0
- package/chunks/{zoom-image-MRU6WPE6.js → zoom-image-WZ7Z3TTU.js} +7 -7
- package/cli.js +12 -12
- package/execution-worker.js +1 -1
- package/export-transcript-document.css +1 -1
- package/export-transcript-document.js +68 -68
- package/locales/en.js +11 -0
- package/locales/zh-TW.js +11 -0
- package/locales/zh.js +11 -0
- package/package.json +5 -4
- package/web-shell/assets/{abnfDiagram-VCTEODGH-DM0yb8lz.js → abnfDiagram-VCTEODGH-CyPW3MyE.js} +1 -1
- package/web-shell/assets/{arc-Cw2773LR.js → arc-BIwRbyQO.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-D4uzC2Js.js → architectureDiagram-5GKGNRK7-mQwWErF1.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-D4itI8GP.js → blockDiagram-NRAW4CY4-v_xwoAq4.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-DyJzA_Bk.js → c4Diagram-UCG6FXSJ-wTEi-I6R.js} +1 -1
- package/web-shell/assets/channel-CHPzhNuZ.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-CldzFLZi.js → chunk-2Q5K7J3B-C4NQrYtx.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-Cq0Kj0gV.js → chunk-5VM5RSS4-BkloTrH2.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-DZ7ToIX3.js → chunk-F27PBJKO-CyEy2yU9.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-DVdybDaB.js → chunk-G27WJ6UU-Bq-siHqt.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-DJJV9ycO.js → chunk-JWPE2WC7-D7YoL3pe.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-UvX8t_CL.js → chunk-LCL6LL3I-BMo2pJJE.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BtIY5nH0.js → chunk-POPQ4Y6H-CkARqfRz.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-D2s5PV-v.js → chunk-SVP7TREG-CH7OUIgi.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BrmMihIw.js → chunk-XXDRQBXY-BI_0zShB.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-_s9FjDFZ.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-_s9FjDFZ.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CIZPu3iQ.js → cose-bilkent-JH36ORCC-Ce7yl466.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-B5CmaWVW.js → cynefin-OW5HDTMX-CS8PMOPz.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CTmnEsXe.js → cynefinDiagram-5FMLGOSQ-BSm01ZjN.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-CRoxYPJt.js → dagre-3AP2YEHR-BRlLEtOw.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DuCtZhZh.js → diagram-S7CK7UJ4-CJFxQAqp.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-D1boncaV.js → diagram-UQ7AKVKN-RHiBfgDk.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-MCS6BnZC.js → diagram-VSXAHHWV-CrXXg8i7.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-D0jCmhgd.js → diagram-VX7I27RA-B_m_nSwH.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-BbyNb0kV.js → diagram-Z3DM3KII-C_WYs1jN.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-CuuKfOpk.js → ebnfDiagram-PWID7BFC-nvRLE8NU.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-COET38hE.js → erDiagram-SSCWMZ5O-yUCbTkac.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-IkjK_VjX.js → flowDiagram-A5DVABFB-BE0BOSOz.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DpQN5T1N.js → ganttDiagram-EL5Y4UJY-Dg6A0SVT.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-D-3mZZJY.js → gitGraphDiagram-WWUBYQGX-DLk7NsGH.js} +1 -1
- package/web-shell/assets/index-33OvMW07.css +36 -0
- package/web-shell/assets/{index-CbEDnx9Y.js → index-C3mDaHR8.js} +1 -1
- package/web-shell/assets/{index-C6ChX65S.js → index-DvLDby56.js} +517 -481
- package/web-shell/assets/{infoDiagram-RXCK75RN-BZr1NPqN.js → infoDiagram-RXCK75RN-Dk9fr_59.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-BVOIXK6O.js → ishikawaDiagram-5VMMS53U-B_8qV5Cd.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-CSSCt0VS.js → journeyDiagram-EYS64GPL-ByRAiDNU.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-D8184eaV.js → kanban-definition-3QL26DDD-CO3Z9yCT.js} +1 -1
- package/web-shell/assets/{layout-D6Y-BU4T.js → layout-LfcQeqsn.js} +1 -1
- package/web-shell/assets/{linear-BqHctGnD.js → linear-CYm0x8F3.js} +1 -1
- package/web-shell/assets/{mermaid.core-RZhKRR9u.js → mermaid.core-BYAYV3_v.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-BYy6nzI2.js → mindmap-definition-FBJOCRG2-rVKNrftS.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BCXU9jS6.js → pegDiagram-XKGWAZYB-DnCJjarQ.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-C7x0HkCZ.js → pieDiagram-E7YTZNPT-C5FcOi6B.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CTt2Pns5.js → quadrantDiagram-AXDQQJYC-CmB5URZk.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-BnfVnVX1.js → railroadDiagram-O6MQD6OU-QsrySXiN.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CrvMFYqe.js → requirementDiagram-EFPCY7ZU-DaTFk3dk.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DryWc6Dy.js → sankeyDiagram-P5KCCOFB-CjNEuldX.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Bi6HpYxU.js → sequenceDiagram-WJ2MYXX4-C1NUbZb3.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-BvMmSrhI.js → sizeCapture-X5ZJPWSS-BSjxXAC8.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-D1AsHfqC.js → stateDiagram-HBIQ2CUA-9FdxfbvP.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BldXkxBD.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-DA1zkU-G.js → swimlanes-XN3QIQJK-DH4m4WvK.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CqQ_CSPT.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-EJFf20Qm.js → timeline-definition-24CTP7MA-Ds2cOZ77.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-BxC8R6yI.js → vennDiagram-4TSXK5OY-CbrGmElv.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CBdJFwR_.js → wardleyDiagram-VM6X3IG4-BGd9_UJZ.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CebGvlJK.js → xychartDiagram-S5SC5T6Z-BVXJ_UVa.js} +1 -1
- package/web-shell/index.html +2 -2
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-C-4jYruO.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DmEJKKvg.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DmEJKKvg.js +0 -1
- package/web-shell/assets/index-Cdqf5uSF.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DIDerJcb.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-h2E4ETv7.js +0 -8
- package/chunks/{chunk-UYMCEBEE.js → chunk-6LPV2AL7.js} +5 -5
- package/chunks/{dist-7FCM7M5G.js → dist-CESMUYGN.js} +3 -3
- package/chunks/{dist-BTLSFHSL.js → dist-UXVNLQHG.js} +2 -2
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-47ECGEJC.js";
|
|
9
9
|
import {
|
|
10
10
|
formatHistoryGapNotice
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2IHBVVI7.js";
|
|
12
12
|
import {
|
|
13
13
|
loadUndici
|
|
14
14
|
} from "./chunk-TXASDT2M.js";
|
|
@@ -18,41 +18,41 @@ import {
|
|
|
18
18
|
finalizeOfflineDaemonTranscriptState,
|
|
19
19
|
normalizeDaemonEvent,
|
|
20
20
|
reduceDaemonTranscriptEvents
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JDS6RRHY.js";
|
|
22
22
|
import {
|
|
23
23
|
LOAD_REPLAY_META_KEY,
|
|
24
24
|
parseBackgroundNotificationTurn
|
|
25
25
|
} from "./chunk-RN6A53UJ.js";
|
|
26
26
|
import {
|
|
27
27
|
isGoalCheckpointBookkeepingRecord,
|
|
28
|
-
|
|
29
|
-
} from "./chunk-
|
|
28
|
+
projectGoalCard
|
|
29
|
+
} from "./chunk-YGZ635BF.js";
|
|
30
30
|
import {
|
|
31
31
|
observeToolResultBoundary,
|
|
32
32
|
toolResultBoundaryArtifact
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IWZZOD6J.js";
|
|
34
34
|
import {
|
|
35
35
|
TranscriptRecordPreparationError,
|
|
36
36
|
prepareTranscriptRecords,
|
|
37
37
|
projectUserTranscriptForDisplay,
|
|
38
38
|
stripGeneratedAttachmentTokens
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5WQQOM5K.js";
|
|
40
40
|
import {
|
|
41
41
|
GOAL_PAUSE_REASON_COMMAND,
|
|
42
42
|
parseGoalSnapshotV2,
|
|
43
43
|
parseGoalStateCause,
|
|
44
44
|
parseGoalStateRecordPayloadV2
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JDWE2L76.js";
|
|
46
46
|
import {
|
|
47
47
|
formatVisionBridgeNoticeDisplay,
|
|
48
48
|
isVisionBridgeNoticeDisplay
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-J2WKPAFA.js";
|
|
50
50
|
import {
|
|
51
51
|
SchemaValidator
|
|
52
52
|
} from "./chunk-7TGPYR3U.js";
|
|
53
53
|
import {
|
|
54
54
|
ToolNames
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-UUQP6E3M.js";
|
|
56
56
|
import {
|
|
57
57
|
createDebugLogger
|
|
58
58
|
} from "./chunk-ZYDMQCQP.js";
|
|
@@ -319,8 +319,8 @@ var TRANSCRIPT_GOAL_STATUS_KINDS = /* @__PURE__ */ new Set([
|
|
|
319
319
|
// A paused goal is not running, and dropping the card here is not neutral:
|
|
320
320
|
// the replay stream is what feeds the goal renderer, so the older `set` card
|
|
321
321
|
// stays newest and every surface keeps claiming autonomous work is under way.
|
|
322
|
-
// Kept in step with `
|
|
323
|
-
//
|
|
322
|
+
// Kept in step with `GOAL_CARD_KINDS` in core's `goal-legacy-cards.ts`,
|
|
323
|
+
// which the daemon-side readers validate the same on-disk cards against.
|
|
324
324
|
"paused",
|
|
325
325
|
"checking"
|
|
326
326
|
]);
|
|
@@ -1042,10 +1042,7 @@ var DefaultTranscriptReplayMachine = class {
|
|
|
1042
1042
|
previous: this.goalState,
|
|
1043
1043
|
next: payload2.snapshot
|
|
1044
1044
|
});
|
|
1045
|
-
const
|
|
1046
|
-
payload2,
|
|
1047
|
-
this.goalState?.goal ?? null
|
|
1048
|
-
);
|
|
1045
|
+
const goalStatus = projectGoalCard(payload2, this.goalState?.goal ?? null);
|
|
1049
1046
|
const goalControlCommand = projectGoalControlCommand(
|
|
1050
1047
|
payload2.cause,
|
|
1051
1048
|
payload2.snapshot
|
|
@@ -1066,7 +1063,6 @@ var DefaultTranscriptReplayMachine = class {
|
|
|
1066
1063
|
})
|
|
1067
1064
|
);
|
|
1068
1065
|
}
|
|
1069
|
-
const { type: _type, ...goalStatus } = projection.goalStatus;
|
|
1070
1066
|
yield emit(
|
|
1071
1067
|
createTranscriptMessageUpdate({
|
|
1072
1068
|
role: "assistant",
|
|
@@ -1075,7 +1071,6 @@ var DefaultTranscriptReplayMachine = class {
|
|
|
1075
1071
|
extra: {
|
|
1076
1072
|
goalState: payload2.snapshot,
|
|
1077
1073
|
goalStatus,
|
|
1078
|
-
...projection.goalTerminal ? { goalTerminal: projection.goalTerminal } : {},
|
|
1079
1074
|
"qwen.session.recordId": record.uuid
|
|
1080
1075
|
}
|
|
1081
1076
|
})
|
|
@@ -2104,12 +2099,11 @@ var HistoryReplayer = class {
|
|
|
2104
2099
|
if (!goalState?.goal || goalState.goal.status !== "active" || !goalCause) {
|
|
2105
2100
|
return void 0;
|
|
2106
2101
|
}
|
|
2107
|
-
const
|
|
2102
|
+
const { kind, ...goalStatus } = projectGoalCard({
|
|
2108
2103
|
v: 2,
|
|
2109
2104
|
cause: goalCause,
|
|
2110
2105
|
snapshot: goalState
|
|
2111
2106
|
});
|
|
2112
|
-
const { type: _type, kind, ...goalStatus } = projection.goalStatus;
|
|
2113
2107
|
if (kind !== "set" && kind !== "checking") {
|
|
2114
2108
|
return void 0;
|
|
2115
2109
|
}
|
|
@@ -2915,7 +2909,7 @@ async function collectSessionMetadata(conversation, config) {
|
|
|
2915
2909
|
const gitBranch = firstRecord?.gitBranch;
|
|
2916
2910
|
let gitRepo;
|
|
2917
2911
|
if (cwd) {
|
|
2918
|
-
const { getGitRepoName } = await import("./deferred-core-runtime-
|
|
2912
|
+
const { getGitRepoName } = await import("./deferred-core-runtime-TV537Q5K.js");
|
|
2919
2913
|
gitRepo = getGitRepoName(cwd);
|
|
2920
2914
|
}
|
|
2921
2915
|
let model;
|
|
@@ -3738,9 +3732,9 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
|
|
|
3738
3732
|
rel="stylesheet"
|
|
3739
3733
|
nonce="__EXPORT_NONCE__"
|
|
3740
3734
|
id="transcript-stylesheet"
|
|
3741
|
-
integrity="sha384-
|
|
3735
|
+
integrity="sha384-8Pa53dF8Zy/qvpIpKZqMwyIwA4LGMj0wmv5PwjnPkoLV0VPXDqXXBpr2GP8XRIq9"
|
|
3742
3736
|
crossorigin="anonymous"
|
|
3743
|
-
href="https://unpkg.com/@qwen-code/qwen-code@0.24.1-
|
|
3737
|
+
href="https://unpkg.com/@qwen-code/qwen-code@0.24.1-test.notes-compaction.0/export-transcript-document.css"
|
|
3744
3738
|
/>
|
|
3745
3739
|
</head>
|
|
3746
3740
|
<body>
|
|
@@ -3794,14 +3788,14 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
|
|
|
3794
3788
|
<script
|
|
3795
3789
|
nonce="__EXPORT_NONCE__"
|
|
3796
3790
|
id="transcript-renderer"
|
|
3797
|
-
integrity="sha384-
|
|
3791
|
+
integrity="sha384-Uawr+1+o8SwmM8Nt68K8WwJmfXL8ayBnhHGcwWcGJAw8ZXGPfXku7JUQpL71G572"
|
|
3798
3792
|
crossorigin="anonymous"
|
|
3799
|
-
src="https://unpkg.com/@qwen-code/qwen-code@0.24.1-
|
|
3793
|
+
src="https://unpkg.com/@qwen-code/qwen-code@0.24.1-test.notes-compaction.0/export-transcript-document.js"
|
|
3800
3794
|
></script>
|
|
3801
3795
|
</body>
|
|
3802
3796
|
</html>
|
|
3803
3797
|
`;
|
|
3804
|
-
var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.24.1-
|
|
3798
|
+
var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.24.1-test.notes-compaction.0+f7b38a037badc04d";
|
|
3805
3799
|
var EXPORT_TRANSCRIPT_RENDERER_LIMITS = Object.freeze({
|
|
3806
3800
|
maxBlocks: 1e3,
|
|
3807
3801
|
maxEnvelopeBytes: 33554432
|
|
@@ -3858,8 +3852,8 @@ var TRANSCRIPT_GOAL_STATUS_KINDS2 = /* @__PURE__ */ new Set([
|
|
|
3858
3852
|
// A paused goal is not running, and dropping the card here is not neutral:
|
|
3859
3853
|
// the replay stream is what feeds the goal renderer, so the older `set` card
|
|
3860
3854
|
// stays newest and every surface keeps claiming autonomous work is under way.
|
|
3861
|
-
// Kept in step with `
|
|
3862
|
-
//
|
|
3855
|
+
// Kept in step with `GOAL_CARD_KINDS` in core's `goal-legacy-cards.ts`,
|
|
3856
|
+
// which the daemon-side readers validate the same on-disk cards against.
|
|
3863
3857
|
"paused",
|
|
3864
3858
|
"checking"
|
|
3865
3859
|
]);
|
|
@@ -4500,7 +4494,7 @@ var DefaultTranscriptReplayMachine2 = class {
|
|
|
4500
4494
|
previous: this.goalState,
|
|
4501
4495
|
next: payload2.snapshot
|
|
4502
4496
|
});
|
|
4503
|
-
const
|
|
4497
|
+
const goalStatus = projectGoalCard(payload2, this.goalState?.goal ?? null);
|
|
4504
4498
|
const goalControlCommand = projectGoalControlCommand2(payload2.cause, payload2.snapshot);
|
|
4505
4499
|
this.goalState = payload2.snapshot;
|
|
4506
4500
|
this.goalCause = payload2.cause;
|
|
@@ -4517,7 +4511,6 @@ var DefaultTranscriptReplayMachine2 = class {
|
|
|
4517
4511
|
}
|
|
4518
4512
|
}));
|
|
4519
4513
|
}
|
|
4520
|
-
const { type: _type, ...goalStatus } = projection.goalStatus;
|
|
4521
4514
|
yield emit(createTranscriptMessageUpdate2({
|
|
4522
4515
|
role: "assistant",
|
|
4523
4516
|
text: "",
|
|
@@ -4525,7 +4518,6 @@ var DefaultTranscriptReplayMachine2 = class {
|
|
|
4525
4518
|
extra: {
|
|
4526
4519
|
goalState: payload2.snapshot,
|
|
4527
4520
|
goalStatus,
|
|
4528
|
-
...projection.goalTerminal ? { goalTerminal: projection.goalTerminal } : {},
|
|
4529
4521
|
"qwen.session.recordId": record.uuid
|
|
4530
4522
|
}
|
|
4531
4523
|
}));
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
createPatchSmart,
|
|
9
9
|
detectLineEnding,
|
|
10
10
|
getDiffStat
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IWZZOD6J.js";
|
|
12
12
|
import {
|
|
13
13
|
FileOperationEvent,
|
|
14
14
|
logFileOperation
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-J2WKPAFA.js";
|
|
16
16
|
import {
|
|
17
17
|
findCellIndex,
|
|
18
18
|
getCellDisplayId,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
ToolDisplayNames,
|
|
39
39
|
ToolNames
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UUQP6E3M.js";
|
|
41
41
|
import {
|
|
42
42
|
createDebugLogger,
|
|
43
43
|
makeRelative,
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
} from "./chunk-Y3Q5OK4D.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveModelConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IWZZOD6J.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveModelSelectionAuthType,
|
|
11
11
|
resolveProviderProtocol,
|
|
12
12
|
stripRuntimeSnapshotPrefix,
|
|
13
13
|
tryResolveModelProtocol
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VG2OBPC5.js";
|
|
15
15
|
import {
|
|
16
16
|
MODEL_GENERATION_CONFIG_FIELDS,
|
|
17
17
|
REASONING_EFFORT_TIERS,
|
|
18
18
|
normalizeReasoningEffort
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3NRZNPWL.js";
|
|
20
20
|
import {
|
|
21
21
|
AuthType
|
|
22
22
|
} from "./chunk-SBP43AO6.js";
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZUPFQZ75.js";
|
|
6
6
|
import {
|
|
7
7
|
observeHeadlessToolResultProjection,
|
|
8
8
|
observeHeadlessToolResultWire,
|
|
9
9
|
projectJsonStringToByteBudget
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NC25XA5T.js";
|
|
11
11
|
import {
|
|
12
12
|
createNotStartedToolErrorResponse,
|
|
13
13
|
parseAndFormatApiError,
|
|
14
14
|
toolResultBoundaryArtifact
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IWZZOD6J.js";
|
|
16
16
|
import {
|
|
17
17
|
formatVisionBridgeNoticeDisplay,
|
|
18
18
|
isVisionBridgeNoticeDisplay
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-J2WKPAFA.js";
|
|
20
20
|
import {
|
|
21
21
|
init_esbuild_shims
|
|
22
22
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ToolDisplayNames,
|
|
12
12
|
ToolNames
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UUQP6E3M.js";
|
|
14
14
|
import {
|
|
15
15
|
QWEN_DIR,
|
|
16
16
|
createDebugLogger
|
|
@@ -276,6 +276,70 @@ function getCustomSystemPrompt(customInstruction, userMemory, appendInstruction)
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
__name(getCustomSystemPrompt, "getCustomSystemPrompt");
|
|
279
|
+
var TOOL_GUIDANCE_LINE_GATES = [
|
|
280
|
+
{ prefix: "- **Prefer Dedicated Tools:**", tools: [ToolNames.SHELL] },
|
|
281
|
+
{ prefix: " - To read files use", tools: [ToolNames.READ_FILE] },
|
|
282
|
+
{ prefix: " - To edit files use", tools: [ToolNames.EDIT] },
|
|
283
|
+
{ prefix: " - To create files use", tools: [ToolNames.WRITE_FILE] },
|
|
284
|
+
{ prefix: " - To search for files use", tools: [ToolNames.GLOB] },
|
|
285
|
+
{ prefix: " - To search the content of files", tools: [ToolNames.GREP] },
|
|
286
|
+
{ prefix: " - Reserve using the", tools: [ToolNames.SHELL] },
|
|
287
|
+
{ prefix: "- **Task Management:**", tools: [ToolNames.TODO_WRITE] },
|
|
288
|
+
{
|
|
289
|
+
prefix: "- **File Paths:**",
|
|
290
|
+
tools: [ToolNames.READ_FILE, ToolNames.WRITE_FILE]
|
|
291
|
+
},
|
|
292
|
+
{ prefix: "- **Background Processes:**", tools: [ToolNames.SHELL] },
|
|
293
|
+
{ prefix: "- **Interactive Commands:**", tools: [ToolNames.SHELL] },
|
|
294
|
+
{ prefix: "- **Subagent Delegation:**", tools: [ToolNames.AGENT] },
|
|
295
|
+
{
|
|
296
|
+
prefix: "- **Codebase Search:**",
|
|
297
|
+
tools: [ToolNames.AGENT, ToolNames.GREP, ToolNames.GLOB]
|
|
298
|
+
}
|
|
299
|
+
];
|
|
300
|
+
var PREFER_DEDICATED_TOOLS_PREFIX = "- **Prefer Dedicated Tools:**";
|
|
301
|
+
function gateToolGuidance(section, surface) {
|
|
302
|
+
const declared = surface?.declaredTools;
|
|
303
|
+
if (!declared) return section;
|
|
304
|
+
const kept = section.split("\n").filter((line) => {
|
|
305
|
+
const gate = TOOL_GUIDANCE_LINE_GATES.find(
|
|
306
|
+
(entry) => line.startsWith(entry.prefix)
|
|
307
|
+
);
|
|
308
|
+
return !gate || gate.tools.every((tool) => declared.has(tool));
|
|
309
|
+
});
|
|
310
|
+
const parentIndex = kept.findIndex(
|
|
311
|
+
(line) => line.startsWith(PREFER_DEDICATED_TOOLS_PREFIX)
|
|
312
|
+
);
|
|
313
|
+
if (parentIndex !== -1 && !kept[parentIndex + 1]?.startsWith(" - To ") && !kept[parentIndex + 1]?.startsWith(" - Reserve using the")) {
|
|
314
|
+
kept.splice(parentIndex, 1);
|
|
315
|
+
}
|
|
316
|
+
return kept.join("\n");
|
|
317
|
+
}
|
|
318
|
+
__name(gateToolGuidance, "gateToolGuidance");
|
|
319
|
+
var TOOL_CALL_IN_EXAMPLE = /\[tool_call:\s*([A-Za-z0-9_]+)|<function=([A-Za-z0-9_]+)>|"name":\s*"([A-Za-z0-9_]+)",\s*"arguments"|<\|tool_call>call:([A-Za-z0-9_]+)/g;
|
|
320
|
+
function exampleToolNames(block) {
|
|
321
|
+
return [...block.matchAll(TOOL_CALL_IN_EXAMPLE)].map(
|
|
322
|
+
(match) => match[1] ?? match[2] ?? match[3] ?? match[4]
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
__name(exampleToolNames, "exampleToolNames");
|
|
326
|
+
var EXAMPLE_BLOCK = /<example>[\s\S]*?<\/example>\n*/g;
|
|
327
|
+
function filterToolCallExamples(examples, surface) {
|
|
328
|
+
const declared = surface?.declaredTools;
|
|
329
|
+
if (!declared) return examples;
|
|
330
|
+
let keptExamples = 0;
|
|
331
|
+
const filtered = examples.replace(EXAMPLE_BLOCK, (block) => {
|
|
332
|
+
const callsUndeclared = exampleToolNames(block).some(
|
|
333
|
+
(name) => !declared.has(name)
|
|
334
|
+
);
|
|
335
|
+
if (callsUndeclared) return "";
|
|
336
|
+
keptExamples++;
|
|
337
|
+
return block;
|
|
338
|
+
});
|
|
339
|
+
if (keptExamples === 0) return "";
|
|
340
|
+
return filtered.replace(/\n{3,}/g, "\n\n").trimEnd();
|
|
341
|
+
}
|
|
342
|
+
__name(filterToolCallExamples, "filterToolCallExamples");
|
|
279
343
|
function getSoftwareEngineeringTasksSection(todoWriteEnabled) {
|
|
280
344
|
const planGuidance = todoWriteEnabled ? `Use '${ToolNames.TODO_WRITE}' for complex, ambiguous, or multi-step work when visible progress tracking adds value. Keep the plan short and outcome-oriented; skip it for simple tasks unless the user explicitly requests a plan.` : "For complex, ambiguous, or multi-step work, form a concise, outcome-oriented approach and revise it as you learn. Skip formal planning for simple tasks unless the user explicitly requests a plan.";
|
|
281
345
|
const todoAdaptationGuidance = todoWriteEnabled ? " If a todo list exists, keep it current as the scope or approach changes." : "";
|
|
@@ -293,7 +357,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring,
|
|
|
293
357
|
`;
|
|
294
358
|
}
|
|
295
359
|
__name(getSoftwareEngineeringTasksSection, "getSoftwareEngineeringTasksSection");
|
|
296
|
-
function getToolGuidanceSection(questions, codeModeOnly, todoWriteEnabled) {
|
|
360
|
+
function getToolGuidanceSection(questions, codeModeOnly, todoWriteEnabled, surface) {
|
|
297
361
|
const taskManagementToolGuidance = todoWriteEnabled ? `- **Task Management:** Use '${ToolNames.TODO_WRITE}' only when explicit tracking adds value. Keep plans concise, outcome-oriented, and current; do not create a todo list for simple or single-step work unless the user explicitly requests one.
|
|
298
362
|
` : "";
|
|
299
363
|
const directControls = todoWriteEnabled ? `'${ToolNames.TODO_WRITE}', '${ToolNames.AGENT}' and the other direct controls` : `'${ToolNames.AGENT}' and the other direct controls`;
|
|
@@ -319,7 +383,7 @@ ${taskManagementToolGuidance}- **File Paths:** Always use absolute paths when re
|
|
|
319
383
|
- **Respect Tool Decisions:** Tool permissions are enforced by the runtime. If a call is denied or canceled, respect that decision and do _not_ try the same action through another path. Retry only if the user subsequently requests that action.
|
|
320
384
|
`.trim();
|
|
321
385
|
}
|
|
322
|
-
|
|
386
|
+
const directGuidance = `
|
|
323
387
|
## Using Your Tools
|
|
324
388
|
- **Prefer Dedicated Tools:** Do NOT use the '${ToolNames.SHELL}' to run commands when a relevant dedicated tool is provided. Using dedicated tools allows the user to better understand and review your work. This is CRITICAL to assisting the user:
|
|
325
389
|
- To read files use '${ToolNames.READ_FILE}' instead of cat, head, tail, or sed
|
|
@@ -338,9 +402,10 @@ ${taskManagementToolGuidance}- **Parallel Tool Calls:** You can call multiple to
|
|
|
338
402
|
- **Codebase Search:** For simple, directed codebase searches (e.g. for a specific file/class/function) use the '${ToolNames.GREP}' or '${ToolNames.GLOB}' tools directly. For broader codebase exploration and deep research, use the '${ToolNames.AGENT}' tool with subagent_type=Explore. This is slower than using '${ToolNames.GREP}' or '${ToolNames.GLOB}' directly, so use this only when a simple, directed search proves to be insufficient or when your task will clearly require more than 3 queries.
|
|
339
403
|
- **Respect Tool Decisions:** Tool permissions are enforced by the runtime. If a call is denied or canceled, respect that decision and do _not_ try the same action through another path. Retry only if the user subsequently requests that action.
|
|
340
404
|
`.trim();
|
|
405
|
+
return gateToolGuidance(directGuidance, surface);
|
|
341
406
|
}
|
|
342
407
|
__name(getToolGuidanceSection, "getToolGuidanceSection");
|
|
343
|
-
function buildDefaultBasePrompt(interaction, model, outputStyle, todoWriteEnabled = false, codeModeOnly = false) {
|
|
408
|
+
function buildDefaultBasePrompt(interaction, model, outputStyle, todoWriteEnabled = false, codeModeOnly = false, surface) {
|
|
344
409
|
const softwareEngineeringTasks = outputStyle?.keepCodingInstructions === false ? "" : getSoftwareEngineeringTasksSection(todoWriteEnabled);
|
|
345
410
|
const taskManagementSection = todoWriteEnabled ? `# Task Management
|
|
346
411
|
You have access to the ${ToolNames.TODO_WRITE} tool to keep user-visible progress for work that benefits from explicit tracking. Use it for complex, ambiguous, or multi-phase tasks or requests with multiple independent outcomes. Do not use it for simple or single-step queries that you can answer or complete immediately unless the user explicitly asks for a plan.
|
|
@@ -356,7 +421,8 @@ When you create a todo list:
|
|
|
356
421
|
const toolGuidance = getToolGuidanceSection(
|
|
357
422
|
interaction.questions,
|
|
358
423
|
codeModeOnly,
|
|
359
|
-
todoWriteEnabled
|
|
424
|
+
todoWriteEnabled,
|
|
425
|
+
surface
|
|
360
426
|
);
|
|
361
427
|
return `
|
|
362
428
|
${coreIdentity}
|
|
@@ -472,7 +538,7 @@ ${function() {
|
|
|
472
538
|
return "";
|
|
473
539
|
}()}
|
|
474
540
|
|
|
475
|
-
${codeModeOnly ? codeModeToolCallExamples : getToolCallExamples(model || "")}
|
|
541
|
+
${codeModeOnly ? codeModeToolCallExamples : filterToolCallExamples(getToolCallExamples(model || ""), surface)}
|
|
476
542
|
|
|
477
543
|
# Final Reminder
|
|
478
544
|
Your core function is efficient and safe assistance. Balance conciseness with the crucial need for clarity, especially regarding safety and potential system modifications. Always prioritize user control and project conventions. Never make assumptions about the contents of files; instead use '${ToolNames.READ_FILE}' to ensure you aren't making broad assumptions. Finally, you are an agent - please keep going until the user's query is completely resolved.
|
|
@@ -492,7 +558,7 @@ function resolveMainSessionOutputStyle(config) {
|
|
|
492
558
|
return resolveEffectiveOutputStyle(style, resolveInteractionMode(config));
|
|
493
559
|
}
|
|
494
560
|
__name(resolveMainSessionOutputStyle, "resolveMainSessionOutputStyle");
|
|
495
|
-
function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMode = "interactive", outputStyle, todoWriteEnabled = false, codeModeOnly = false) {
|
|
561
|
+
function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMode = "interactive", outputStyle, todoWriteEnabled = false, codeModeOnly = false, options) {
|
|
496
562
|
const effectiveOutputStyle = resolveEffectiveOutputStyle(
|
|
497
563
|
outputStyle,
|
|
498
564
|
interactionMode
|
|
@@ -516,7 +582,8 @@ function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMo
|
|
|
516
582
|
model,
|
|
517
583
|
effectiveOutputStyle,
|
|
518
584
|
todoWriteEnabled,
|
|
519
|
-
codeModeOnly
|
|
585
|
+
codeModeOnly,
|
|
586
|
+
options
|
|
520
587
|
);
|
|
521
588
|
const writeSystemMdResolution = resolvePathFromEnv(
|
|
522
589
|
process.env["QWEN_WRITE_SYSTEM_MD"]
|
|
@@ -531,7 +598,8 @@ function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMo
|
|
|
531
598
|
model,
|
|
532
599
|
void 0,
|
|
533
600
|
todoWriteEnabled,
|
|
534
|
-
codeModeOnly
|
|
601
|
+
codeModeOnly,
|
|
602
|
+
options
|
|
535
603
|
)
|
|
536
604
|
);
|
|
537
605
|
}
|
|
@@ -509,6 +509,18 @@ var McpAuthenticationInProgressError = class extends Error {
|
|
|
509
509
|
this.name = "McpAuthenticationInProgressError";
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
|
+
var WorkspaceRuntimeStopError = class extends Error {
|
|
513
|
+
constructor(code) {
|
|
514
|
+
super(
|
|
515
|
+
code === "workspace_runtime_stop_stale" ? "The workspace changed. Refresh and confirm the affected sessions again." : "The workspace cannot be stopped while other runtime work is pending."
|
|
516
|
+
);
|
|
517
|
+
this.code = code;
|
|
518
|
+
this.name = "WorkspaceRuntimeStopError";
|
|
519
|
+
}
|
|
520
|
+
static {
|
|
521
|
+
__name(this, "WorkspaceRuntimeStopError");
|
|
522
|
+
}
|
|
523
|
+
};
|
|
512
524
|
|
|
513
525
|
export {
|
|
514
526
|
NOT_CURRENTLY_GENERATING_CANCEL_MESSAGE,
|
|
@@ -548,7 +560,8 @@ export {
|
|
|
548
560
|
BranchWhilePromptActiveError,
|
|
549
561
|
CdWhilePromptActiveError,
|
|
550
562
|
SessionResetPendingError,
|
|
551
|
-
McpAuthenticationInProgressError
|
|
563
|
+
McpAuthenticationInProgressError,
|
|
564
|
+
WorkspaceRuntimeStopError
|
|
552
565
|
};
|
|
553
566
|
/**
|
|
554
567
|
* @license
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-6V4XP46I.js";
|
|
17
17
|
import {
|
|
18
18
|
isWorkspaceTrusted
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HXP4WF7E.js";
|
|
20
20
|
import {
|
|
21
21
|
require_main
|
|
22
22
|
} from "./chunk-65I7S4Z3.js";
|
|
@@ -232,13 +232,15 @@ function findEnvFiles(settings, startDir, userLevelPaths = getUserLevelEnvPaths(
|
|
|
232
232
|
const hasCustomConfigDir = path.normalize(globalQwenDir) !== legacyQwenDir;
|
|
233
233
|
const found = [];
|
|
234
234
|
const seen = /* @__PURE__ */ new Set();
|
|
235
|
+
const workspaceIsTrusted = workspaceTrusted ?? isWorkspaceTrusted(settings, void 0, realStartDir).isTrusted === true;
|
|
235
236
|
const canUseEnvFile = /* @__PURE__ */ __name((filePath) => {
|
|
236
237
|
const normalized = path.normalize(filePath);
|
|
237
238
|
if (userLevelPaths.has(normalized)) return true;
|
|
239
|
+
if (!workspaceIsTrusted) return false;
|
|
238
240
|
const dirPath = path.dirname(normalized);
|
|
239
241
|
const workspaceDir = path.basename(dirPath) === SETTINGS_DIRECTORY_NAME ? path.dirname(dirPath) : dirPath;
|
|
240
|
-
|
|
241
|
-
return
|
|
242
|
+
if (workspaceDir === realStartDir) return true;
|
|
243
|
+
return isWorkspaceTrusted(settings, void 0, workspaceDir).isTrusted !== false;
|
|
242
244
|
}, "canUseEnvFile");
|
|
243
245
|
const pushCandidate = /* @__PURE__ */ __name((filePath) => {
|
|
244
246
|
const normalized = path.normalize(filePath);
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
} from "./chunk-47ECGEJC.js";
|
|
7
7
|
import {
|
|
8
8
|
t
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-557JLJHM.js";
|
|
10
10
|
import {
|
|
11
11
|
fetchGitDiff,
|
|
12
12
|
isCompressionFailureStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IWZZOD6J.js";
|
|
14
14
|
import {
|
|
15
15
|
skillRestrictionNames
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JDWE2L76.js";
|
|
17
17
|
import {
|
|
18
18
|
findProviderByCredentials,
|
|
19
19
|
resolveMetadataKey
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VG2OBPC5.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esbuild_shims
|
|
23
23
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
init_esbuild_shims();
|
|
30
30
|
var formatCompressionTokenCount = /* @__PURE__ */ __name((count, isEstimated) => isEstimated ? `~${count}` : String(count), "formatCompressionTokenCount");
|
|
31
31
|
function getCompressionStatusText({
|
|
32
|
+
strategy,
|
|
32
33
|
isPending,
|
|
33
34
|
originalTokenCount,
|
|
34
35
|
newTokenCount,
|
|
@@ -44,7 +45,7 @@ function getCompressionStatusText({
|
|
|
44
45
|
switch (compressionStatus) {
|
|
45
46
|
case 1 /* COMPRESSED */:
|
|
46
47
|
return t(
|
|
47
|
-
"Chat history compressed from {{originalTokens}} to {{newTokens}} tokens.",
|
|
48
|
+
strategy === "notes" ? "Started a new context from local notes: {{originalTokens}} to {{newTokens}} tokens." : "Chat history compressed from {{originalTokens}} to {{newTokens}} tokens.",
|
|
48
49
|
{
|
|
49
50
|
originalTokens: formatCompressionTokenCount(
|
|
50
51
|
originalTokens,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
collectAvailableSkillEntries,
|
|
5
5
|
renderAvailableSkillsBlock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S2IUMCP4.js";
|
|
7
7
|
import {
|
|
8
8
|
escapeSystemReminderTags
|
|
9
9
|
} from "./chunk-GXNXX7A2.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-HSYAIOMM.js";
|
|
13
13
|
import {
|
|
14
14
|
ToolNames
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UUQP6E3M.js";
|
|
16
16
|
import {
|
|
17
17
|
createDebugLogger
|
|
18
18
|
} from "./chunk-ZYDMQCQP.js";
|
|
@@ -698,7 +698,7 @@ __name(resolveForkExecutionAllowedTools, "resolveForkExecutionAllowedTools");
|
|
|
698
698
|
function registerForkDisplayImageForCache(config, advertisedToolNames) {
|
|
699
699
|
if (!advertisedToolNames.includes(ToolNames.DISPLAY_IMAGE)) return;
|
|
700
700
|
config.getToolRegistry().registerFactory(ToolNames.DISPLAY_IMAGE, async () => {
|
|
701
|
-
const { DisplayImageTool } = await import("./display-image-
|
|
701
|
+
const { DisplayImageTool } = await import("./display-image-Z3G5SPL3.js");
|
|
702
702
|
return new DisplayImageTool(config);
|
|
703
703
|
});
|
|
704
704
|
}
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
jsonStringPayloadByteLength,
|
|
8
8
|
observeAcpToolResultProjection,
|
|
9
9
|
truncateJsonStringPayload
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NC25XA5T.js";
|
|
11
11
|
import {
|
|
12
12
|
isA2uiToolMeta
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BHAGKBV5.js";
|
|
14
14
|
import {
|
|
15
15
|
redactLogCredentials
|
|
16
16
|
} from "./chunk-M5GB774H.js";
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
getResponseText,
|
|
19
19
|
lastHistoryContentFromRecords,
|
|
20
20
|
restorableAskUserQuestionCallIds
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IWZZOD6J.js";
|
|
22
22
|
import {
|
|
23
23
|
parseGoalSnapshotV2,
|
|
24
24
|
parseGoalStateCause
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JDWE2L76.js";
|
|
26
26
|
import {
|
|
27
27
|
init_esbuild_shims
|
|
28
28
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./chunk-TXASDT2M.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-557JLJHM.js";
|
|
12
12
|
import {
|
|
13
13
|
So
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IWZZOD6J.js";
|
|
15
15
|
import {
|
|
16
16
|
createDebugLogger
|
|
17
17
|
} from "./chunk-ZYDMQCQP.js";
|
|
@@ -585,7 +585,7 @@ var WorkspaceRegistrationStore = class {
|
|
|
585
585
|
return removed;
|
|
586
586
|
}
|
|
587
587
|
async update(mutate) {
|
|
588
|
-
const { atomicWriteFile } = await import("./deferred-core-runtime-
|
|
588
|
+
const { atomicWriteFile } = await import("./deferred-core-runtime-TV537Q5K.js");
|
|
589
589
|
return withInProcessLock(this.filePath, async () => {
|
|
590
590
|
const lock = await acquireFileLock(this.filePath);
|
|
591
591
|
let committed = false;
|