@qwen-code/qwen-code 0.23.2-preview.0 → 0.23.3-nightly.20260910.c46cb85cf2
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/README.md +35 -15
- package/bundled/computer-use/SKILL.md +1 -1
- package/bundled/goal-draft/SKILL.md +2 -2
- package/bundled/qc-helper/docs/configuration/auth.md +1 -1
- package/bundled/qc-helper/docs/configuration/model-providers.md +76 -34
- package/bundled/qc-helper/docs/configuration/settings.md +5 -3
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +1 -21
- package/bundled/qc-helper/docs/features/channels/dws.md +7 -1
- package/bundled/qc-helper/docs/features/channels/github.md +1 -9
- package/bundled/qc-helper/docs/features/channels/overview.md +30 -56
- package/bundled/qc-helper/docs/features/channels/qqbot.md +1 -2
- package/bundled/qc-helper/docs/features/commands.md +105 -18
- package/bundled/qc-helper/docs/features/computer-use.md +1 -1
- package/bundled/qc-helper/docs/features/cross-session-protocol.md +320 -0
- package/bundled/qc-helper/docs/features/goals.md +5 -3
- package/bundled/qc-helper/docs/features/hooks.md +14 -13
- package/bundled/qc-helper/docs/features/sub-agents.md +8 -0
- package/bundled/qc-helper/docs/qwen-serve.md +84 -53
- package/bundled/review/SKILL.md +82 -79
- package/bundled/review/references/posting.md +31 -14
- package/chunks/{MaxSizedBox-ZZJT3PJF.js → MaxSizedBox-UZW24XUX.js} +63 -55
- package/chunks/{StandaloneSessionPicker-DIOSZTMX.js → StandaloneSessionPicker-IDK7NAZL.js} +85 -77
- package/chunks/{acp-startup-profiler-KEU6VAYR.js → acp-startup-profiler-ARO4II44.js} +2 -2
- package/chunks/acp-subagent-executor-7TLJGISS.js +919 -0
- package/chunks/{acpAgent-62JUP5A7.js → acpAgent-YRCNNIIU.js} +939 -306
- package/chunks/{agent-NLPEQQDZ.js → agent-SGU5EE7U.js} +47 -41
- package/chunks/{agent-headless-Y2GR5F2Q.js → agent-headless-JVYBLNLT.js} +47 -41
- package/chunks/{anthropicContentGenerator-I7LQZH26.js → anthropicContentGenerator-SGIR5IKF.js} +68 -36
- package/chunks/{artifact-tool-P52OKKEF.js → artifact-tool-PMYZCYNH.js} +2 -2
- package/chunks/{askUserQuestion-I5W5S3D6.js → askUserQuestion-4M4YYIB4.js} +2 -2
- package/chunks/{bridge-Q66BD62H.js → bridge-YF6NYRPZ.js} +68 -60
- package/chunks/{ca-KC2AISNS.js → ca-MX3WCEEG.js} +1 -1
- package/chunks/{channel-management-service-TRTLQTSV.js → channel-management-service-E4HTMU7T.js} +9 -9
- package/chunks/{channel-settings-store-R5STFWUW.js → channel-settings-store-FZ5VKHQD.js} +74 -66
- package/chunks/{channel-worker-group-PIYPVCTF.js → channel-worker-group-X6WH4XWF.js} +9 -9
- package/chunks/{channel-worker-manager-FQHEDTD2.js → channel-worker-manager-SICFJDPJ.js} +19 -10
- package/chunks/{channel-worker-supervisor-XJPZZ3VK.js → channel-worker-supervisor-HSFAKML6.js} +6 -6
- package/chunks/{chunk-CLKE4IY3.js → chunk-2SZH22YO.js} +1 -1
- package/chunks/{chunk-OIPUQE3S.js → chunk-34ZYDM3F.js} +27 -12
- package/chunks/{chunk-HIXUUCGY.js → chunk-36HCNKDS.js} +1 -1
- package/chunks/{chunk-6YEOCHSE.js → chunk-3FPYT6QC.js} +101 -31
- package/chunks/{chunk-NFIDVZND.js → chunk-3I7W2POO.js} +3 -22
- package/chunks/{chunk-W3ONSAYO.js → chunk-3VPFA6L2.js} +3 -3
- package/chunks/chunk-532WHF4F.js +127 -0
- package/chunks/{chunk-J3TJH52D.js → chunk-5FFAUU4T.js} +1 -1
- package/chunks/{chunk-G5QLLD53.js → chunk-5FKZ7KFQ.js} +1864 -35
- package/chunks/{chunk-B44JBZBB.js → chunk-5GLDOLNQ.js} +132 -27
- package/chunks/{chunk-ORREXWOM.js → chunk-5ZJ3KK5J.js} +5 -5
- package/chunks/{chunk-2OR32P5M.js → chunk-6EDWSKN4.js} +125 -10
- package/chunks/{chunk-EA4NFWVG.js → chunk-6EOMQPTS.js} +4 -4
- package/chunks/{chunk-45ROPFQY.js → chunk-6NONRGYX.js} +1 -1
- package/chunks/{chunk-EHTKOO6W.js → chunk-6UK77U7D.js} +46 -3
- package/chunks/{chunk-QXXBW2G4.js → chunk-72BGC7RT.js} +4 -4
- package/chunks/{chunk-CRZBDVP2.js → chunk-74JEYK2C.js} +10 -10
- package/chunks/{chunk-B54PFQS5.js → chunk-7CLLH5TI.js} +1 -1
- package/chunks/{chunk-CG2PDIGD.js → chunk-7XM6KEVW.js} +1 -1
- package/chunks/{chunk-CALNF3Z3.js → chunk-7XVQNDFB.js} +1 -1
- package/chunks/{chunk-TK4XHPKW.js → chunk-7ZKDPTYO.js} +2 -2
- package/chunks/{chunk-ZIPYCXQP.js → chunk-7ZVIGDZF.js} +1 -1
- package/chunks/chunk-AEY27Z35.js +1411 -0
- package/chunks/{chunk-WIRYFL2L.js → chunk-ATH66AEU.js} +64 -59
- package/chunks/{chunk-33MLFMCL.js → chunk-AW2SIT3B.js} +3 -3
- package/chunks/{chunk-4BLTSTF6.js → chunk-AWMJRE5N.js} +4 -4
- package/chunks/chunk-AYEJOTIU.js +43 -0
- package/chunks/{chunk-M73KHGNR.js → chunk-B2TGBZXY.js} +420 -227
- package/chunks/{chunk-XDNFODER.js → chunk-B6BDT4RX.js} +1 -1
- package/chunks/{chunk-WZ4YULVF.js → chunk-BHR6IN2X.js} +3251 -974
- package/chunks/{chunk-GXIHBIHC.js → chunk-BI3WSRQE.js} +61 -72
- package/chunks/{chunk-NVS4Z6GT.js → chunk-BQOP3K76.js} +1 -1
- package/chunks/{chunk-R2266LQ5.js → chunk-BTWGOKHU.js} +2 -2
- package/chunks/{process-registry-OAEG6WGC.js → chunk-BYUAT5OC.js} +1 -0
- package/chunks/{chunk-XVTCSVBK.js → chunk-C4NLHK7X.js} +227 -298
- package/chunks/{chunk-NOO4QFXM.js → chunk-C75BXMPM.js} +1 -3
- package/chunks/chunk-CAAMI77K.js +937 -0
- package/chunks/chunk-CF5KXZZX.js +150 -0
- package/chunks/{chunk-SOA4HKRJ.js → chunk-CGKEUUYG.js} +2 -2
- package/chunks/{chunk-BF3RUIVP.js → chunk-CH2YDT6X.js} +36 -38
- package/chunks/{chunk-5HBA2Z7V.js → chunk-CJ3DHN5I.js} +3 -3
- package/chunks/{chunk-3BTHHXXE.js → chunk-CSHX5ZC4.js} +1 -1
- package/chunks/{chunk-UYDQYDW2.js → chunk-CUK6F5UF.js} +1 -1
- package/chunks/{chunk-RPFJJ33Z.js → chunk-DLH7YIX6.js} +3 -3
- package/chunks/{chunk-L6ZME3W7.js → chunk-DMX7RF6E.js} +1 -1
- package/chunks/{chunk-TRWQQBVH.js → chunk-DTNV6UZY.js} +1 -1
- package/chunks/{chunk-FDOGGKAA.js → chunk-E4UEO3XM.js} +5 -2
- package/chunks/{chunk-RN6V5HKE.js → chunk-E5GQNSJY.js} +3 -3
- package/chunks/chunk-ELRMZTPF.js +374 -0
- package/chunks/chunk-ERU3SDXT.js +27 -0
- package/chunks/{chunk-O2FEO2CB.js → chunk-EUURTIV6.js} +18 -2
- package/chunks/{chunk-4HOEU2OR.js → chunk-EWJTAP3Y.js} +1 -19
- package/chunks/{chunk-ZELCTN6Y.js → chunk-F23YN37B.js} +10 -0
- package/chunks/{chunk-BL6B2QS2.js → chunk-F2RKL5I2.js} +809 -1195
- package/chunks/{chunk-J4ECGDA3.js → chunk-F45SKYIQ.js} +3 -3
- package/chunks/{chunk-5WC2ECUK.js → chunk-FCQJLMA2.js} +114 -8
- package/chunks/{chunk-4JKLPTV6.js → chunk-FGRDUDCI.js} +13 -6
- package/chunks/{chunk-ZUNWKOAP.js → chunk-FGV2QEAO.js} +5 -27
- package/chunks/{chunk-4VY3ITHR.js → chunk-FN3JNDRU.js} +3 -3
- package/chunks/{chunk-XI7RST4D.js → chunk-FRVV5SSD.js} +2 -2
- package/chunks/{chunk-UXDVUFKU.js → chunk-FYZ5NZ3V.js} +2 -20
- package/chunks/{chunk-ALMR3E6Q.js → chunk-GDWE23OR.js} +3 -3
- package/chunks/{chunk-W7PXLIZJ.js → chunk-GP47UR3M.js} +6 -6
- package/chunks/{chunk-LNYV4GXX.js → chunk-GSKX53AN.js} +0 -139
- package/chunks/{chunk-MA5OUNN6.js → chunk-HG46TTAG.js} +1 -1
- package/chunks/{chunk-FETY36NQ.js → chunk-HGEUHUEV.js} +1 -1
- package/chunks/{chunk-UULHYZ4W.js → chunk-HL2DQG3Y.js} +148 -23
- package/chunks/{chunk-E6TI726I.js → chunk-HUXPEUFL.js} +1 -1
- package/chunks/{chunk-5DQ4YTIZ.js → chunk-HZTXKVSV.js} +1 -1
- package/chunks/{chunk-LYT2OU7D.js → chunk-IAEXTMED.js} +1 -1
- package/chunks/{chunk-CPJRFFPH.js → chunk-IFHJIEMN.js} +576 -169
- package/chunks/{chunk-IW6RQPQB.js → chunk-IJOS26LH.js} +1 -3
- package/chunks/{chunk-ORFIYTI2.js → chunk-IK2MWJP5.js} +1 -1
- package/chunks/{chunk-MWEF5MUK.js → chunk-IOUBOANU.js} +42 -13
- package/chunks/{chunk-KA5HR3G2.js → chunk-IUVIBDKU.js} +2 -2
- package/chunks/{chunk-PQWM4SX2.js → chunk-J2RNOJRV.js} +2 -2
- package/chunks/{chunk-VHPG7BH6.js → chunk-J5PYQVD2.js} +2 -2
- package/chunks/{chunk-JDPBJIKI.js → chunk-JDEW3V5B.js} +1 -1
- package/chunks/{chunk-RX3FYFCN.js → chunk-JEMDIKGQ.js} +7 -7
- package/chunks/chunk-JL6APGBX.js +43 -0
- package/chunks/{chunk-UHUT4IDM.js → chunk-JOMCZWX7.js} +9 -15
- package/chunks/{chunk-43CI6YWJ.js → chunk-JV5YASQA.js} +2777 -2151
- package/chunks/{chunk-N6S3NUYJ.js → chunk-JXNIF2O5.js} +1 -1
- package/chunks/chunk-K2OJUPOE.js +78 -0
- package/chunks/{chunk-QLM7D7W3.js → chunk-KFGPNCCY.js} +8 -8
- package/chunks/{chunk-7RXOEUFF.js → chunk-KHIBLKNK.js} +1 -1
- package/chunks/{chunk-5GD7LYOH.js → chunk-KVBNJ4K2.js} +5 -5
- package/chunks/{chunk-QJAFSFYA.js → chunk-KZ2CU2LH.js} +1 -1
- package/chunks/{chunk-DCPRCDSR.js → chunk-L2KF7HUE.js} +6 -6
- package/chunks/{chunk-4ALNJDHL.js → chunk-L3DTX6U4.js} +3 -1
- package/chunks/{chunk-3SH53ANB.js → chunk-LAP7X6EC.js} +12 -0
- package/chunks/{chunk-GM44O6F7.js → chunk-LEGNDA46.js} +1 -1
- package/chunks/{chunk-WXFCI3O5.js → chunk-LG5Y4OWO.js} +2 -2
- package/chunks/{chunk-3LPJ776W.js → chunk-LILGKQ4B.js} +10 -7
- package/chunks/{chunk-LBKYQ33T.js → chunk-LIR7YS2O.js} +18 -12
- package/chunks/{chunk-5Z4FCEPY.js → chunk-LK2WUCDQ.js} +625 -119
- package/chunks/{chunk-W673V2H3.js → chunk-LY2GK2PR.js} +4 -4
- package/chunks/{chunk-PQSCGZT2.js → chunk-MOS5OAOG.js} +36 -10
- package/chunks/chunk-MXOALJIL.js +691 -0
- package/chunks/chunk-NFXXBWSE.js +463 -0
- package/chunks/chunk-NUQ4GK5I.js +315 -0
- package/chunks/{chunk-J3VZF2AL.js → chunk-NUQVB25K.js} +2 -2
- package/chunks/{chunk-GNY7B3CA.js → chunk-NVIBH7WS.js} +1 -1
- package/chunks/{chunk-M6YLOETP.js → chunk-O3MKRN2I.js} +4 -4
- package/chunks/{chunk-ISPBBKJN.js → chunk-ONGZNOIP.js} +7 -2
- package/chunks/{chunk-Q2F43WTJ.js → chunk-OOLSYRZ7.js} +36 -19
- package/chunks/{chunk-63ACHB2H.js → chunk-PIGUW2U2.js} +197 -28
- package/chunks/{chunk-QAZ2MGYT.js → chunk-PLLIWEM3.js} +2 -2
- package/chunks/{chunk-ULY4ISY2.js → chunk-PMS4FVLY.js} +23 -8
- package/chunks/{chunk-NB3NDQQK.js → chunk-Q2XLNLAV.js} +1 -1
- package/chunks/{chunk-6GRDHIVI.js → chunk-Q6HXLBZF.js} +12 -12
- package/chunks/{chunk-EUXF6URV.js → chunk-QPWZX4ZV.js} +32 -34
- package/chunks/{chunk-DTB5BXRG.js → chunk-RJZTX2OF.js} +30 -17
- package/chunks/{chunk-PQEISIKS.js → chunk-SAH4BD2J.js} +0 -67
- package/chunks/{chunk-LUVXLLMS.js → chunk-SAWPURIU.js} +2 -2
- package/chunks/{chunk-WZS3X663.js → chunk-SNZWDV67.js} +43 -18
- package/chunks/{chunk-IRKQ4YYX.js → chunk-SVWWF5TZ.js} +29 -1
- package/chunks/{chunk-5VZFJTL2.js → chunk-SXEE6PND.js} +2 -2
- package/chunks/{chunk-743XE7N7.js → chunk-T4JVQR7Z.js} +2 -2
- package/chunks/{chunk-6RZX2HIH.js → chunk-TBEXLLAO.js} +2 -2
- package/chunks/{chunk-LN3WBOKU.js → chunk-TP2DUOB6.js} +8 -8
- package/chunks/{chunk-MWIO7MF6.js → chunk-TP6FYVQT.js} +2 -0
- package/chunks/{chunk-HRPFBHW7.js → chunk-TPKQIA7G.js} +1 -0
- package/chunks/{chunk-VH764G6B.js → chunk-TWC3FHUI.js} +4 -4
- package/chunks/{chunk-H3Q3RSKZ.js → chunk-U7O65WKL.js} +1 -1
- package/chunks/{chunk-IUJLW6ZI.js → chunk-UBEYS536.js} +7 -7
- package/chunks/{chunk-VEQBVJYH.js → chunk-UGS62IR2.js} +3 -3
- package/chunks/{chunk-VF6D6EGV.js → chunk-UKMWZ5NS.js} +109 -842
- package/chunks/{chunk-7GZCCHJL.js → chunk-VHKOULAI.js} +6 -5
- package/chunks/{chunk-ODBNTMZW.js → chunk-VID4BW52.js} +97 -86
- package/chunks/{chunk-7L35FKPF.js → chunk-VLZOU6UH.js} +7 -7
- package/chunks/{chunk-XBLG564H.js → chunk-VTBPMLRO.js} +12 -12
- package/chunks/{chunk-QTNCGZHQ.js → chunk-VX63RJXE.js} +9 -0
- package/chunks/{chunk-7VEYUF3N.js → chunk-W5ZQMAEM.js} +1 -1
- package/chunks/{chunk-XQ4RDO5B.js → chunk-WBCPROWX.js} +1 -1
- package/chunks/{chunk-RDV4NLI3.js → chunk-WS7MOFK6.js} +3 -3
- package/chunks/{chunk-FV4DM2M4.js → chunk-WXFK4MH7.js} +32 -12
- package/chunks/{chunk-XAXTQURR.js → chunk-WY4N6KS7.js} +4 -4
- package/chunks/{chunk-CABDNUJ4.js → chunk-XDQUDARC.js} +11 -14
- package/chunks/{chunk-YHDGABDC.js → chunk-XKBFYTCD.js} +1 -1
- package/chunks/{chunk-2EKVPSIJ.js → chunk-Y2MYW47X.js} +1 -1
- package/chunks/{chunk-Y6ZWXM44.js → chunk-YIU5PEAT.js} +2 -2
- package/chunks/{chunk-PSPAM24S.js → chunk-YKK2XXHF.js} +4 -0
- package/chunks/{chunk-HZ2HUXX7.js → chunk-YS2ZJSOA.js} +29 -12
- package/chunks/{chunk-OFVAS4AR.js → chunk-ZGQIIGNQ.js} +2 -2
- package/chunks/{chunk-HNLMYDQE.js → chunk-ZHECLGA6.js} +2 -4
- package/chunks/{chunk-XBVNNDPK.js → chunk-ZHKTKHMO.js} +8 -1
- package/chunks/{chunk-OWCFKIFQ.js → chunk-ZKYR7QS4.js} +1 -1
- package/chunks/{chunk-YZTGGCEE.js → chunk-ZKZHSB5W.js} +1 -1
- package/chunks/{chunk-ERXNTINK.js → chunk-ZT6EPPBY.js} +1 -1
- package/chunks/{chunk-565U2ANU.js → chunk-ZTTC7T4X.js} +1 -1
- package/chunks/{chunk-MMMA36MN.js → chunk-ZUQVZTWG.js} +3 -3
- package/chunks/{chunk-7OCIQNKX.js → chunk-ZW2EUO2A.js} +1 -1
- package/chunks/{config-utils-37FHWPTP.js → config-utils-S5LFS4RN.js} +67 -59
- package/chunks/{contextCommand-R4JUBV5N.js → contextCommand-XXKZMMSQ.js} +64 -56
- package/chunks/{core-runtime-6U4OXU5C.js → core-runtime-YGUA42AZ.js} +68 -59
- package/chunks/{create-sub-session-LLUYAGZN.js → create-sub-session-SEK6KCYR.js} +64 -56
- package/chunks/{create-sub-session-TGIX63YU.js → create-sub-session-TIGCFGCS.js} +2 -2
- package/chunks/{cron-create-GTPVMJCF.js → cron-create-AKWX67FO.js} +1 -1
- package/chunks/{cron-delete-ZBK27Z4K.js → cron-delete-XPB6IYZJ.js} +1 -1
- package/chunks/{cron-list-KTFKFDKC.js → cron-list-XBKO4WU5.js} +1 -1
- package/chunks/{daemon-UI6SQSBV.js → daemon-G5TYKZD6.js} +2 -2
- package/chunks/{daemon-git-worktree-guard-O2UTNFJC.js → daemon-git-worktree-guard-3AWINPPX.js} +65 -57
- package/chunks/{daemon-status-provider-7GMAKSTX.js → daemon-status-provider-RTKHKUFJ.js} +73 -65
- package/chunks/{daemon-trust-policy-VNP76VMO.js → daemon-trust-policy-6YQOC7B6.js} +69 -61
- package/chunks/{daemon-trust-policy-monitor-TD5O3BZA.js → daemon-trust-policy-monitor-EN5L23GS.js} +69 -61
- package/chunks/{de-UU2YTO37.js → de-OOLZAU2U.js} +1 -1
- package/chunks/{deferred-core-runtime-NJM63YJS.js → deferred-core-runtime-JPLQRVZO.js} +62 -54
- package/chunks/{display-image-CTNHJRZC.js → display-image-NAH3AZ63.js} +3 -3
- package/chunks/{dist-STAGIFNB.js → dist-3BJVSJ7D.js} +389 -724
- package/chunks/{dist-OR2ZQTXZ.js → dist-65Q3TRLH.js} +16 -36
- package/chunks/{dist-24TCWK5H.js → dist-HX2LG76F.js} +233 -35
- package/chunks/{dist-XJ25G6OH.js → dist-J7PDFK53.js} +13 -38
- package/chunks/{dist-WZTUKIDR.js → dist-JCXKXRH6.js} +3 -6
- package/chunks/{dist-M4CBX53H.js → dist-LHGMHIDK.js} +2 -6
- package/chunks/{dist-5I4HLUTO.js → dist-QPTIRE3U.js} +4 -13
- package/chunks/{dist-FDISN4AK.js → dist-SBK33YLC.js} +5 -40
- package/chunks/{dist-NQ2636VT.js → dist-WMFHZG3R.js} +2 -5
- package/chunks/{edit-GL7OA6RV.js → edit-QXJZIWRQ.js} +50 -44
- package/chunks/{en-YJNRUQG4.js → en-7BZ2OZKH.js} +2 -1
- package/chunks/{enter-worktree-YFTKHXHZ.js → enter-worktree-54L5QJ3N.js} +4 -4
- package/chunks/{enterPlanMode-VC4BCSZE.js → enterPlanMode-2ITCVQ5N.js} +47 -41
- package/chunks/{environment-BI6IBAZJ.js → environment-URPO5ORZ.js} +65 -57
- package/chunks/{errors-D6G2ZM2R.js → errors-TDUYLEKI.js} +64 -56
- package/chunks/{exit-worktree-NF2XEMES.js → exit-worktree-EORJDKDS.js} +4 -4
- package/chunks/{exitPlanMode-DX446CA6.js → exitPlanMode-RA7KMUEW.js} +47 -41
- package/chunks/{fast-path-MAYDLJIP.js → fast-path-Q2JYP64P.js} +7 -7
- package/chunks/{fast-path-settings-SATXY3PD.js → fast-path-settings-GTHZLVSS.js} +2 -2
- package/chunks/{fr-HKNWVXRJ.js → fr-JJWM2HUS.js} +1 -1
- package/chunks/{glob-TVKRFY36.js → glob-VHSV4BKE.js} +50 -44
- package/chunks/{goal-tools-CA6YANRN.js → goal-tools-5FIE56CK.js} +53 -43
- package/chunks/{grep-BLHF2S5D.js → grep-3PKFKLCA.js} +2 -2
- package/chunks/{handleAutoUpdate-AW4ZAHON.js → handleAutoUpdate-7FZFLKNZ.js} +65 -57
- package/chunks/{i18n-IH5CRAY7.js → i18n-NTFQDWKR.js} +63 -55
- package/chunks/{image-gen-XP4NNIYG.js → image-gen-TF3IQWSH.js} +7 -6
- package/chunks/{initializer-UBR37ZNM.js → initializer-LB3T635H.js} +69 -61
- package/chunks/{installationInfo-Y52756EC.js → installationInfo-KRO433ZG.js} +62 -54
- package/chunks/{ja-GJS5RZGU.js → ja-L67TXFDJ.js} +1 -1
- package/chunks/{list-7V5JDZPO.js → list-NEP3WPZ7.js} +72 -64
- package/chunks/{list-agents-I5TRH3J7.js → list-agents-QLDXS5OD.js} +18 -8
- package/chunks/{llm-QDB6JVF5.js → llm-AZEJEIAD.js} +141 -128
- package/chunks/{llm-content-generator-EO6MZCEO.js → llm-content-generator-KWXFHBR3.js} +6 -5
- package/chunks/{loadedSettingsAdapter-I3YQKMC4.js → loadedSettingsAdapter-NZORJLSD.js} +69 -61
- package/chunks/{loggingContentGenerator-MNXYUGDG.js → loggingContentGenerator-NGHVU6AK.js} +69 -62
- package/chunks/{loop-wakeup-HL6XOWI4.js → loop-wakeup-HHMYIC7Z.js} +2 -2
- package/chunks/{ls-YV7RKLKY.js → ls-N7ABR6HI.js} +4 -4
- package/chunks/{lsp-NO3AMRZT.js → lsp-LTOFWG5P.js} +1 -1
- package/chunks/{managed-npm-update-EA3EXPTO.js → managed-npm-update-3LHNBEAG.js} +62 -54
- package/chunks/{mcp-QTAJ544Y.js → mcp-4SWJKDX7.js} +69 -61
- package/chunks/{monitor-6FQKQOTP.js → monitor-V5EFBZC7.js} +49 -43
- package/chunks/{nonInteractiveCli-MRCTZL5X.js → nonInteractiveCli-5UFUBUAT.js} +117 -109
- package/chunks/{notebook-edit-BQQCKI7K.js → notebook-edit-ATV46KWD.js} +48 -42
- package/chunks/{open-with-auth-D6JD6LDS.js → open-with-auth-6MVIHMXB.js} +1 -1
- package/chunks/openai-WX26N5OJ.js +47 -0
- package/chunks/{openaiContentGenerator-TTSKXNVH.js → openaiContentGenerator-BKTO5QJK.js} +31 -25
- package/chunks/openaiResponsesContentGenerator-RTCAJ5V5.js +1658 -0
- package/chunks/{pidfile-KPIS6RIT.js → pidfile-JAIOWPI3.js} +65 -55
- package/chunks/process-registry-X6ZCASEN.js +10 -0
- package/chunks/{processUtils-ZCASPKK4.js → processUtils-TCQH3LVD.js} +2 -2
- package/chunks/{prompt-terminal-ledger-D6HM6TV7.js → prompt-terminal-ledger-BYXHEUHX.js} +63 -55
- package/chunks/{pt-FXMYXEUV.js → pt-77SBDL4B.js} +1 -1
- package/chunks/{qwenContentGenerator-GGZEFLBD.js → qwenContentGenerator-K5TJK75P.js} +60 -52
- package/chunks/{qwenOAuth2-KX6LVYQ3.js → qwenOAuth2-NOXRK323.js} +6 -5
- package/chunks/{read-file-VE5GDFLP.js → read-file-DL7GNZD5.js} +11 -9
- package/chunks/{read-mcp-resource-D3N75DGF.js → read-mcp-resource-B37WANAQ.js} +1 -1
- package/chunks/{record-artifact-Q5CRGJTP.js → record-artifact-OAXWXZ5D.js} +2 -2
- package/chunks/record-source-D7R7X3GT.js +22 -0
- package/chunks/{report-findings-TJ34R7QK.js → report-findings-AR3VC6EQ.js} +3 -3
- package/chunks/{request-shutdown-LRKMTBAD.js → request-shutdown-IKNWTX5M.js} +5 -5
- package/chunks/{resumeHistoryUtils-HSSGMYDC.js → resumeHistoryUtils-OYKXZ4YO.js} +68 -60
- package/chunks/{ripGrep-SEJE7AA6.js → ripGrep-EOUMIU4K.js} +15 -13
- package/chunks/{ru-RMHURE5U.js → ru-UYWHKWF2.js} +1 -1
- package/chunks/{run-qwen-serve-OJYVH7N6.js → run-qwen-serve-PPTGWC5B.js} +471 -152
- package/chunks/{runtime-KGMQQFJD.js → runtime-5RO22P2N.js} +77 -67
- package/chunks/{scheduled-tasks-7H5HWHYD.js → scheduled-tasks-YGERFWLZ.js} +70 -62
- package/chunks/{scheduler-BE42AKDG.js → scheduler-S6WU6M3C.js} +64 -56
- package/chunks/{sdk-exporters-grpc-MXTVSE3C.js → sdk-exporters-grpc-Y2ZUQDUQ.js} +2 -2
- package/chunks/{sdk-exporters-http-7R2ARBPV.js → sdk-exporters-http-VWTF4W6K.js} +3 -3
- package/chunks/{sdk-impl-YOLO7LV4.js → sdk-impl-G6FVTBQZ.js} +9 -9
- package/chunks/{send-message-AWKUDJBH.js → send-message-TWOGWCBG.js} +13 -10
- package/chunks/{serve-KZVKYMSL.js → serve-HT4WOCWS.js} +70 -62
- package/chunks/{server-PJRALPJQ.js → server-SWXVPRCS.js} +2977 -617
- package/chunks/{session-IHITXU2S.js → session-6DSFUOMO.js} +154 -119
- package/chunks/{session-attachments-root-GQ2TUI3Y.js → session-attachments-root-SOZCTQWW.js} +62 -54
- package/chunks/{session-pr-refresh-H43LULTE.js → session-pr-refresh-F7XUBQBH.js} +70 -62
- package/chunks/{settings-RKEQQDFC.js → settings-SWQH36PO.js} +74 -66
- package/chunks/{shell-6PJ444U5.js → shell-XUQL6EYV.js} +47 -41
- package/chunks/{skill-Q3UP7B5V.js → skill-HNRDD54C.js} +33 -23
- package/chunks/{skill-settings-LZR5YRRW.js → skill-settings-JU72PCII.js} +68 -60
- package/chunks/{spawnChannel-WM3DT2BF.js → spawnChannel-7ZVM3GBU.js} +65 -57
- package/chunks/{standalone-update-E5474IBI.js → standalone-update-64JQY2LX.js} +64 -56
- package/chunks/{start-opentui-ui-WLWZNQ2I.js → start-opentui-ui-RSLBXESU.js} +554 -297
- package/chunks/{startInteractiveUI-FBQSGWGO.js → startInteractiveUI-ZDPHD7XE.js} +1282 -1915
- package/chunks/{syntheticOutput-D2P5V6RG.js → syntheticOutput-F6F27JMK.js} +2 -2
- package/chunks/{task-create-PMAFST2T.js → task-create-Y623TBHB.js} +10 -10
- package/chunks/{task-list-R2HSY2NC.js → task-list-FCPEEGWL.js} +3 -3
- package/chunks/{task-stop-BFSKRTGV.js → task-stop-QTKZXLPH.js} +1 -1
- package/chunks/{task-update-JYC57USF.js → task-update-YLSXF25N.js} +10 -10
- package/chunks/{team-create-VIGUFUT4.js → team-create-U52VYSNO.js} +49 -43
- package/chunks/{team-delete-CBHVBTPB.js → team-delete-S7TLHZCF.js} +3 -3
- package/chunks/{team-plan-approval-HQVZA3MD.js → team-plan-approval-IQ4ADQIK.js} +47 -41
- package/chunks/{terminal-image-renderer-LUKNCOVM.js → terminal-image-renderer-ZEMF7LB2.js} +64 -56
- package/chunks/{theme-manager-LOENKYLY.js → theme-manager-DK2S2SOX.js} +62 -54
- package/chunks/{todoWrite-5ERKFWAK.js → todoWrite-5QI2H2FW.js} +4 -4
- package/chunks/{tool-search-ZIFAQCE2.js → tool-search-6U4OQG7K.js} +21 -15
- package/chunks/{total-session-admission-FUUJH3QH.js → total-session-admission-BOARHBZU.js} +68 -60
- package/chunks/{trustedFolders-C76KYROP.js → trustedFolders-GKQZXZSV.js} +63 -55
- package/chunks/{update-relaunch-4G2SRXKX.js → update-relaunch-GLACF7PX.js} +5 -5
- package/chunks/{updateCheck-EIZIO7HI.js → updateCheck-NLBSZB4Q.js} +64 -56
- package/chunks/{useAutoAcceptIndicator-EAA6KSY4.js → useAutoAcceptIndicator-3X3BYU7H.js} +72 -64
- package/chunks/{validateNonInterActiveAuth-BRX22QCN.js → validateNonInterActiveAuth-NE3JLOIR.js} +114 -106
- package/chunks/{version-E56RU7PR.js → version-6H5YAT4N.js} +3 -1
- package/chunks/{web-fetch-AAUCD7RM.js → web-fetch-RWSO7TTN.js} +15 -13
- package/chunks/{web-search-HFUQF44Q.js → web-search-DADI3LV5.js} +560 -322
- package/chunks/{web-shell-static-POZHGGXE.js → web-shell-static-CCN4JZEE.js} +5 -4
- package/chunks/workflow-LPGCZCIT.js +1224 -0
- package/chunks/workspace-providers-status-QBRBEFTO.js +127 -0
- package/chunks/{workspace-registration-store-YL7HLYYI.js → workspace-registration-store-WUKTMJPW.js} +3 -2
- package/chunks/{workspace-registry-BNRP2ELW.js → workspace-registry-CJV7KVGF.js} +68 -60
- package/chunks/{workspace-runtime-coordinator-WKGF7VHS.js → workspace-runtime-coordinator-7LYMFMFF.js} +71 -61
- package/chunks/{workspace-service-4MYO72MM.js → workspace-service-HWXZSA4J.js} +75 -67
- package/chunks/{workspace-skills-status-SU66TJLZ.js → workspace-skills-status-D6QXUWCC.js} +70 -62
- package/chunks/{workspace-trust-reconciler-D5QT7WQB.js → workspace-trust-reconciler-VZX7G7CZ.js} +75 -67
- package/chunks/{write-file-NVPQE2AZ.js → write-file-KKHV26YV.js} +49 -43
- package/chunks/{zh-VBFCRQBL.js → zh-J2GLI64H.js} +2 -1
- package/chunks/{zh-TW-N2TBF2F2.js → zh-TW-TBAICUJQ.js} +2 -1
- package/chunks/{zoom-image-RJHC66WG.js → zoom-image-OG7X7KAA.js} +12 -10
- package/cli.js +14 -14
- package/export-transcript-document.css +1 -0
- package/export-transcript-document.js +164 -165
- package/locales/ca.js +2 -2
- package/locales/de.js +2 -2
- package/locales/en.js +3 -2
- package/locales/fr.js +2 -2
- package/locales/ja.js +2 -2
- package/locales/pt.js +2 -2
- package/locales/ru.js +2 -2
- package/locales/zh-TW.js +3 -2
- package/locales/zh.js +3 -2
- package/package.json +6 -5
- package/web-shell/assets/{abnfDiagram-VCTEODGH-DHc6plZn.js → abnfDiagram-VCTEODGH-NT0lTLRG.js} +1 -1
- package/web-shell/assets/{arc-BQ9m8TDV.js → arc-DDqnIMMx.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-D5ap3oVB.js → architectureDiagram-5GKGNRK7-DfYghE3W.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-BIbnyNph.js → blockDiagram-NRAW4CY4-DlqJIx5c.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BRsdx_iG.js → c4Diagram-UCG6FXSJ-CinqLGU4.js} +1 -1
- package/web-shell/assets/channel-BHGoSkEv.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-3lf1fNlx.js → chunk-2Q5K7J3B-CsjJX5M7.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-DP8VNRc4.js → chunk-5VM5RSS4-CaVb2tdH.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-DrohDmZ6.js → chunk-F27PBJKO-CRyErlzW.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-UZ2QhSx6.js → chunk-G27WJ6UU-7I79DZCf.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-BIMHVcZK.js → chunk-JWPE2WC7-Dz4cac5F.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-izRxdSDd.js → chunk-LCL6LL3I-Ls24Derb.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-CXADD4PP.js → chunk-POPQ4Y6H-JzYe4qx7.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-B96d8Y_1.js → chunk-SVP7TREG-BxDwesA-.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-CF2sVQpv.js → chunk-XXDRQBXY-CW4hjgWc.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-E47Xnn15.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-E47Xnn15.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CT6tXVAS.js → cose-bilkent-JH36ORCC-DxikE9iF.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-X1NS4vtV.js → cynefin-OW5HDTMX-CvVsIkVN.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-DNsKNOT4.js → cynefinDiagram-5FMLGOSQ-CDHkk3wq.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-9-AHKqsb.js → dagre-3AP2YEHR-BgLdkVLT.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-Bjgms7j6.js → diagram-S7CK7UJ4-DP43cGhe.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-h6bCprbE.js → diagram-UQ7AKVKN-BWrZYhoT.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-4SbQXVLt.js → diagram-VSXAHHWV-B80wjH_n.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-B5gPCzzB.js → diagram-VX7I27RA-DPpKmDsY.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-DFJXIA3A.js → diagram-Z3DM3KII-kaEBNbNU.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-FwyaU7VY.js → ebnfDiagram-PWID7BFC-1-qbEZvk.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-8vJQh2te.js → erDiagram-SSCWMZ5O-CrK2gMkV.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-BzA_1gMN.js → flowDiagram-A5DVABFB-Dic2xofW.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-Co-ABbVX.js → ganttDiagram-EL5Y4UJY-DJko8vT7.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DW_FcyrX.js → gitGraphDiagram-WWUBYQGX-DxsQ-bHT.js} +1 -1
- package/web-shell/assets/index-DY8CxdBr.js +2173 -0
- package/web-shell/assets/index-eBxK3rs2.css +36 -0
- package/web-shell/assets/{index-BbMXfhNG.js → index-t7VBrUeD.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-BEgfhUFN.js → infoDiagram-RXCK75RN-DcRUJbNi.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DCsMxQmc.js → ishikawaDiagram-5VMMS53U-CUPw-2_e.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-DyIEYoHz.js → journeyDiagram-EYS64GPL-yOHhZxkW.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-CkxjqCNr.js → kanban-definition-3QL26DDD-CFUGBbqz.js} +1 -1
- package/web-shell/assets/{layout-BEWc0Al9.js → layout-BoilNfBU.js} +1 -1
- package/web-shell/assets/{linear-CNuNxirL.js → linear-DOuHaPrl.js} +1 -1
- package/web-shell/assets/{mermaid.core-DZBre674.js → mermaid.core-1G1fXWda.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-CpafFz_F.js → mindmap-definition-FBJOCRG2-B8BhkrOX.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-DfZqk_dq.js → pegDiagram-XKGWAZYB-CipC5K1D.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-S0UWXlgC.js → pieDiagram-E7YTZNPT-CHBDFDUJ.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-dd37_Ohj.js → quadrantDiagram-AXDQQJYC-_iiBkoZO.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-CH8NJZ7u.js → railroadDiagram-O6MQD6OU-Cx1peHDi.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CFdqWYih.js → requirementDiagram-EFPCY7ZU-CBRiPbdQ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CsddcEGD.js → sankeyDiagram-P5KCCOFB-TT6GcHaZ.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BZ270mGw.js → sequenceDiagram-WJ2MYXX4-CWP42PNb.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-CGaS4DBV.js → sizeCapture-X5ZJPWSS-Bp94roEG.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-COpIzMu6.js → stateDiagram-HBIQ2CUA-0ftrzTAy.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-PgAST0dK.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-CMF889m3.js → swimlanes-XN3QIQJK-D-FsenYJ.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BcWcB5bj.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BelnxYz5.js → timeline-definition-24CTP7MA-Ctvrj28y.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-CU-NRqIB.js → vennDiagram-4TSXK5OY-5DZncjOt.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CDNKqWh-.js → wardleyDiagram-VM6X3IG4-jZjYwPY7.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CLqguL5D.js → xychartDiagram-S5SC5T6Z-Ci6Q2C2_.js} +1 -1
- package/web-shell/index.html +29 -5
- package/chunks/chunk-V7RNNPGC.js +0 -44
- package/chunks/chunk-X35VIWWJ.js +0 -276
- package/chunks/workflow-3MABM53N.js +0 -2771
- package/chunks/workspace-providers-status-2FRLBZ5I.js +0 -119
- package/web-shell/assets/channel-uMMdTrYk.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DcY-26Ig.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DcY-26Ig.js +0 -1
- package/web-shell/assets/index-Bu-rZoJ-.js +0 -2150
- package/web-shell/assets/index-CsPwZ1ut.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-D6qEVAji.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-mem5Jj4m.js +0 -8
- /package/chunks/{chunk-JA5CBKRP.js → chunk-7NXSVSFB.js} +0 -0
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
require_main
|
|
5
|
-
} from "./chunk-ZLBIFIMV.js";
|
|
6
3
|
import {
|
|
7
4
|
ChannelBase,
|
|
8
5
|
SessionRouter,
|
|
@@ -10,10 +7,12 @@ import {
|
|
|
10
7
|
sanitizeLogText,
|
|
11
8
|
sanitizePromptText,
|
|
12
9
|
sanitizeSenderName,
|
|
13
|
-
stripMessagePrefix,
|
|
14
10
|
truncateCodePoints
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-C4NLHK7X.js";
|
|
12
|
+
import "./chunk-IJOS26LH.js";
|
|
13
|
+
import {
|
|
14
|
+
require_main
|
|
15
|
+
} from "./chunk-ZLBIFIMV.js";
|
|
17
16
|
import "./chunk-CQ35AJ4Z.js";
|
|
18
17
|
import {
|
|
19
18
|
wrapper_default
|
|
@@ -471,7 +470,6 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
471
470
|
flushingSessions = /* @__PURE__ */ new Set();
|
|
472
471
|
pendingStreamDelete = /* @__PURE__ */ new Set();
|
|
473
472
|
_reconnectId = 0;
|
|
474
|
-
blockStreaming = false;
|
|
475
473
|
flushedSessions = /* @__PURE__ */ new Set();
|
|
476
474
|
/**
|
|
477
475
|
* Sessions with a prompt turn currently in flight, tracked via
|
|
@@ -479,9 +477,7 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
479
477
|
*
|
|
480
478
|
* This is the discriminator the cron textChunk handler uses to tell
|
|
481
479
|
* "prompt-response chunk" from "cron/non-prompt chunk". streamState
|
|
482
|
-
* cannot serve that role (#6094):
|
|
483
|
-
* blockStreaming is 'on' (onResponseChunk early-returns), so prompt
|
|
484
|
-
* chunks leak into cronBuffer; and a residual entry from a finished
|
|
480
|
+
* cannot serve that role (#6094): a residual entry from a finished
|
|
485
481
|
* turn's unsettled flush silently blocks cron delivery. This set is
|
|
486
482
|
* reliable because ChannelBase always brackets a prompt turn with
|
|
487
483
|
* onPromptStart and onPromptEnd (onPromptEnd runs in the prompt path's
|
|
@@ -523,7 +519,6 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
523
519
|
`);
|
|
524
520
|
this.qqConfig.bufferFlushLength = _QQChannel.MAX_BUFFER_LENGTH;
|
|
525
521
|
}
|
|
526
|
-
this.blockStreaming = this.config.blockStreaming === "on";
|
|
527
522
|
this.qqStatePath = join2(stateDir, `${safeName}-state.json`);
|
|
528
523
|
this.globalSessionsPath = options?.router ? join2(stateDir, "sessions.json") : sessionsPath;
|
|
529
524
|
this.sessionsBackupPath = join2(stateDir, `${safeName}-sessions-backup.json`);
|
|
@@ -1058,8 +1053,6 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
1058
1053
|
}
|
|
1059
1054
|
// ── Streaming (idle-flush with per-session buffers) ────────────
|
|
1060
1055
|
onResponseChunk(chatId, chunk, sessionId, segment) {
|
|
1061
|
-
if (this.blockStreaming)
|
|
1062
|
-
return;
|
|
1063
1056
|
let state = this.streamState.get(sessionId);
|
|
1064
1057
|
if (!state) {
|
|
1065
1058
|
const messageId = segment?.messageId ?? this.getResponseMessageId(sessionId);
|
|
@@ -2066,11 +2059,8 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2066
2059
|
if (!cleanText)
|
|
2067
2060
|
return null;
|
|
2068
2061
|
const effectiveIsAtBot = forceAtMention ?? isAtBot;
|
|
2069
|
-
const
|
|
2070
|
-
const
|
|
2071
|
-
const strippedCommandText = configuredPrefix ? stripMessagePrefix(prefixSourceText, configuredPrefix) : safeCleanText;
|
|
2072
|
-
const rawCommandText = (strippedCommandText ?? safeCleanText).replace(/<@[^>]{1,64}>/g, "").trim();
|
|
2073
|
-
const isSlash = effectiveIsAtBot && strippedCommandText !== void 0 && rawCommandText.startsWith("/");
|
|
2062
|
+
const rawCommandText = safeCleanText.replace(/<@[^>]{1,64}>/g, "").trim();
|
|
2063
|
+
const isSlash = effectiveIsAtBot && rawCommandText.startsWith("/");
|
|
2074
2064
|
const commandText = sanitizePromptText(rawCommandText);
|
|
2075
2065
|
const groupBotOpenId = this.botOpenIdByGroup.get(chatId);
|
|
2076
2066
|
const openIdSuffix = this.qqConfig.allowMention !== false && groupBotOpenId ? ` [botOpenId:${groupBotOpenId}]` : "";
|
|
@@ -2090,11 +2080,8 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2090
2080
|
}
|
|
2091
2081
|
const senderTag = showSenderOpenId ? `(${senderOpenId})` : senderIdentity ? `(${truncateCodePoints(sanitizeSenderName(senderIdentity), 8)}\u2026)` : "";
|
|
2092
2082
|
const head = `[atMention=${effectiveIsAtBot}]${openIdSuffix} [${safeName}${senderTag}]: `;
|
|
2093
|
-
const
|
|
2094
|
-
const
|
|
2095
|
-
const displayText = sanitizePromptText(isSlash && messagePrefixText ? messagePrefixText : prefixSourceText);
|
|
2096
|
-
const text = isSlash ? sanitizePromptText(messagePrefixText ?? safeCleanText) : `${head}${displayText}${suffixFromBotOpenId}`;
|
|
2097
|
-
const displayTextOffset = isSlash ? void 0 : head.length;
|
|
2083
|
+
const displayText = sanitizePromptText(this.qqConfig.allowMention !== false ? safeDisplayText : safeCleanText);
|
|
2084
|
+
const text = isSlash ? sanitizePromptText(safeCleanText) : `${head}${displayText}${suffixFromBotOpenId}`;
|
|
2098
2085
|
return {
|
|
2099
2086
|
isAtBot: effectiveIsAtBot,
|
|
2100
2087
|
isSlash,
|
|
@@ -2103,8 +2090,6 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2103
2090
|
commandText,
|
|
2104
2091
|
text,
|
|
2105
2092
|
displayText,
|
|
2106
|
-
...displayTextOffset !== void 0 ? { displayTextOffset } : {},
|
|
2107
|
-
...messagePrefixText !== void 0 ? { messagePrefixText } : {},
|
|
2108
2093
|
senderName
|
|
2109
2094
|
};
|
|
2110
2095
|
}
|
|
@@ -2140,13 +2125,8 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2140
2125
|
const safeName = sanitizeSenderName(senderName);
|
|
2141
2126
|
const cleanText = event.content.trim();
|
|
2142
2127
|
const safeContent = cleanText.replace(/\[atMention=[^\]]*]/g, "").replace(/\[botOpenId:[^\]]*]/g, "").replace(/\[bot]/g, "");
|
|
2143
|
-
const
|
|
2144
|
-
const strippedCommandText = configuredPrefix ? stripMessagePrefix(safeContent, configuredPrefix) : safeContent;
|
|
2145
|
-
const rawCommandText = strippedCommandText ?? safeContent;
|
|
2146
|
-
const isSlash = rawCommandText.startsWith("/");
|
|
2147
|
-
const commandText = sanitizePromptText(rawCommandText);
|
|
2128
|
+
const isSlash = safeContent.startsWith("/");
|
|
2148
2129
|
const displayText = sanitizePromptText(safeContent);
|
|
2149
|
-
const messagePrefixText = configuredPrefix && strippedCommandText !== void 0 ? `${configuredPrefix} ${commandText}` : configuredPrefix ? safeContent : void 0;
|
|
2150
2130
|
const text = isSlash ? displayText : `[atMention=true] [${safeName}]: ${displayText}`;
|
|
2151
2131
|
this.handleInbound({
|
|
2152
2132
|
channelName: this.name,
|
|
@@ -2155,7 +2135,6 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2155
2135
|
chatId,
|
|
2156
2136
|
text,
|
|
2157
2137
|
displayText,
|
|
2158
|
-
...messagePrefixText !== void 0 ? { messagePrefixText } : {},
|
|
2159
2138
|
messageId: event.id,
|
|
2160
2139
|
isGroup: false,
|
|
2161
2140
|
isMentioned: true,
|
|
@@ -2195,7 +2174,7 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2195
2174
|
});
|
|
2196
2175
|
if (!result)
|
|
2197
2176
|
return;
|
|
2198
|
-
const { isSlash, text, displayText,
|
|
2177
|
+
const { isSlash, text, displayText, commandText, senderName, safeName } = result;
|
|
2199
2178
|
if (this.isDuplicate(event.id))
|
|
2200
2179
|
return;
|
|
2201
2180
|
if (isSlash) {
|
|
@@ -2220,8 +2199,6 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2220
2199
|
chatId,
|
|
2221
2200
|
text,
|
|
2222
2201
|
displayText,
|
|
2223
|
-
...displayTextOffset !== void 0 ? { displayTextOffset } : {},
|
|
2224
|
-
...result.messagePrefixText !== void 0 ? { messagePrefixText: result.messagePrefixText } : {},
|
|
2225
2202
|
messageId: event.id,
|
|
2226
2203
|
isGroup: true,
|
|
2227
2204
|
isMentioned: true,
|
|
@@ -2259,7 +2236,7 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2259
2236
|
const result = this.prepareGroupMessage(event, chatId);
|
|
2260
2237
|
if (!result)
|
|
2261
2238
|
return;
|
|
2262
|
-
const { isSlash, text, displayText,
|
|
2239
|
+
const { isSlash, text, displayText, commandText, senderName, isAtBot, safeName } = result;
|
|
2263
2240
|
if (!isAtBot) {
|
|
2264
2241
|
if (this.groupActiveMsgEnabled.get(chatId) === false) {
|
|
2265
2242
|
process.stderr.write(`[QQ:${this.name}] handleGroupAll blocked: active messages disabled for ${sanitizeLogText(chatId, 64)}
|
|
@@ -2325,8 +2302,6 @@ var QQChannel = class _QQChannel extends ChannelBase {
|
|
|
2325
2302
|
chatId,
|
|
2326
2303
|
text,
|
|
2327
2304
|
displayText,
|
|
2328
|
-
...displayTextOffset !== void 0 ? { displayTextOffset } : {},
|
|
2329
|
-
...result.messagePrefixText !== void 0 ? { messagePrefixText: result.messagePrefixText } : {},
|
|
2330
2305
|
senderId,
|
|
2331
2306
|
senderName,
|
|
2332
2307
|
messageId: event.id,
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
sendMessage,
|
|
12
12
|
sendTyping,
|
|
13
13
|
uploadToCdn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6NONRGYX.js";
|
|
15
15
|
import {
|
|
16
16
|
ChannelBase,
|
|
17
17
|
isTerminalTaskLifecycleType
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-C4NLHK7X.js";
|
|
19
|
+
import "./chunk-IJOS26LH.js";
|
|
20
20
|
import "./chunk-CQ35AJ4Z.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esbuild_shims
|
|
@@ -483,9 +483,6 @@ var WeixinChannel = class extends ChannelBase {
|
|
|
483
483
|
senderName: msg.fromUserId,
|
|
484
484
|
chatId: msg.fromUserId,
|
|
485
485
|
text: msg.text,
|
|
486
|
-
// A caption-less image or file carries only the placeholder above,
|
|
487
|
-
// which no user action can prefix -- gating it on `messagePrefix`
|
|
488
|
-
// would drop every WeChat media message.
|
|
489
486
|
...msg.syntheticText ? { syntheticText: true } : {},
|
|
490
487
|
isGroup: false,
|
|
491
488
|
isMentioned: false,
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
import "./chunk-OSHQMOBS.js";
|
|
7
7
|
import {
|
|
8
8
|
PollingChannelBase
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-C4NLHK7X.js";
|
|
10
|
+
import "./chunk-IJOS26LH.js";
|
|
11
11
|
import {
|
|
12
12
|
external_exports
|
|
13
13
|
} from "./chunk-CQ35AJ4Z.js";
|
|
@@ -13381,10 +13381,6 @@ var GitlabChannel = class extends PollingChannelBase {
|
|
|
13381
13381
|
if (!text)
|
|
13382
13382
|
return;
|
|
13383
13383
|
const envelope = this.buildEnvelope(text, todo.author.username, chatId, threadId, messageId, this.buildMetadata(template, todo, target, chatId, todo.author.username, String(todo.id), description), true);
|
|
13384
|
-
const isMentionTrigger = todo.action_name === "mentioned" || todo.action_name === "directly_addressed";
|
|
13385
|
-
if (!isNoteMention && !isMentionTrigger) {
|
|
13386
|
-
envelope.bypassMessagePrefix = true;
|
|
13387
|
-
}
|
|
13388
13384
|
if (isNoteMention) {
|
|
13389
13385
|
this.reactions.set(messageId, {
|
|
13390
13386
|
target,
|
|
@@ -7,10 +7,9 @@ import {
|
|
|
7
7
|
sanitizeDisplayText,
|
|
8
8
|
sanitizeLogText,
|
|
9
9
|
sanitizePromptText,
|
|
10
|
-
stripMessagePrefix,
|
|
11
10
|
truncateCodePoints
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-C4NLHK7X.js";
|
|
12
|
+
import "./chunk-IJOS26LH.js";
|
|
14
13
|
import "./chunk-CQ35AJ4Z.js";
|
|
15
14
|
import {
|
|
16
15
|
require_dist
|
|
@@ -3920,7 +3919,7 @@ function isInboundEnvelope(value) {
|
|
|
3920
3919
|
if (value === null || typeof value !== "object")
|
|
3921
3920
|
return false;
|
|
3922
3921
|
const envelope = value;
|
|
3923
|
-
return typeof envelope.channelName === "string" && typeof envelope.senderId === "string" && typeof envelope.senderName === "string" && typeof envelope.chatId === "string" && typeof envelope.text === "string" && typeof envelope.isGroup === "boolean" && typeof envelope.isMentioned === "boolean" && typeof envelope.isReplyToBot === "boolean" && (envelope.chatName === void 0 || typeof envelope.chatName === "string") && (envelope.threadId === void 0 || typeof envelope.threadId === "string") && (envelope.messageId === void 0 || typeof envelope.messageId === "string") && (envelope.referencedText === void 0 || typeof envelope.referencedText === "string") && isOptionalStringArray(envelope.mentionedMemberIds) && (envelope.imageBase64 === void 0 || typeof envelope.imageBase64 === "string") && (envelope.imageMimeType === void 0 || typeof envelope.imageMimeType === "string") && (envelope.attachments === void 0 || Array.isArray(envelope.attachments)) && (envelope.metadata === void 0 || typeof envelope.metadata === "string") && (envelope.
|
|
3922
|
+
return typeof envelope.channelName === "string" && typeof envelope.senderId === "string" && typeof envelope.senderName === "string" && typeof envelope.chatId === "string" && typeof envelope.text === "string" && typeof envelope.isGroup === "boolean" && typeof envelope.isMentioned === "boolean" && typeof envelope.isReplyToBot === "boolean" && (envelope.chatName === void 0 || typeof envelope.chatName === "string") && (envelope.threadId === void 0 || typeof envelope.threadId === "string") && (envelope.messageId === void 0 || typeof envelope.messageId === "string") && (envelope.referencedText === void 0 || typeof envelope.referencedText === "string") && isOptionalStringArray(envelope.mentionedMemberIds) && (envelope.imageBase64 === void 0 || typeof envelope.imageBase64 === "string") && (envelope.imageMimeType === void 0 || typeof envelope.imageMimeType === "string") && (envelope.attachments === void 0 || Array.isArray(envelope.attachments)) && (envelope.metadata === void 0 || typeof envelope.metadata === "string") && (envelope.alreadyPrefixed === void 0 || envelope.alreadyPrefixed === true);
|
|
3924
3923
|
}
|
|
3925
3924
|
__name(isInboundEnvelope, "isInboundEnvelope");
|
|
3926
3925
|
function isInboundTaskRecord(value) {
|
|
@@ -4008,7 +4007,6 @@ var GithubChannel = class extends PollingChannelBase {
|
|
|
4008
4007
|
pendingCursorUpdatedAt;
|
|
4009
4008
|
inboundPersistenceBlocked = false;
|
|
4010
4009
|
constructor(name, config, bridge, options) {
|
|
4011
|
-
config.blockStreaming = "off";
|
|
4012
4010
|
config.instructions = [
|
|
4013
4011
|
config.instructions?.trim(),
|
|
4014
4012
|
GITHUB_PUBLICATION_INSTRUCTIONS
|
|
@@ -4625,7 +4623,6 @@ var GithubChannel = class extends PollingChannelBase {
|
|
|
4625
4623
|
messageId: `event-${trigger.id}`,
|
|
4626
4624
|
text: reason === "review_requested" ? "Return a formal review summary with verified actionable findings, or a concise no-blocker result." : "Triage this issue and respond with the next action.",
|
|
4627
4625
|
displayText: reason === "review_requested" ? `Review requested: ${displayTitle}` : `Issue assigned: ${displayTitle}`,
|
|
4628
|
-
bypassMessagePrefix: true,
|
|
4629
4626
|
isGroup: true,
|
|
4630
4627
|
isMentioned: true,
|
|
4631
4628
|
isReplyToBot: false,
|
|
@@ -4653,12 +4650,7 @@ ${details}`
|
|
|
4653
4650
|
for (const comment of newComments) {
|
|
4654
4651
|
this.recordDispatchedComment(comment.node_id || String(comment.id));
|
|
4655
4652
|
}
|
|
4656
|
-
const
|
|
4657
|
-
const comments = newComments.flatMap((comment) => {
|
|
4658
|
-
const rawBody = comment.body || "";
|
|
4659
|
-
const body = messagePrefix ? stripMessagePrefix(this.botUsername ? stripBotMention(rawBody, this.botUsername) : rawBody, messagePrefix) : rawBody.trim();
|
|
4660
|
-
return body === void 0 ? [] : [{ comment, body }];
|
|
4661
|
-
}).slice(-MAX_AGGREGATE_COMMENTS);
|
|
4653
|
+
const comments = newComments.map((comment) => ({ comment, body: (comment.body || "").trim() })).slice(-MAX_AGGREGATE_COMMENTS);
|
|
4662
4654
|
if (comments.length === 0)
|
|
4663
4655
|
return;
|
|
4664
4656
|
const first = comments[0].comment;
|
|
@@ -4673,7 +4665,6 @@ ${details}`
|
|
|
4673
4665
|
text: `Review these new comments and output exactly ${NO_REPLY_SENTINEL} if no public reply is needed:
|
|
4674
4666
|
${summary}`,
|
|
4675
4667
|
displayText: summary,
|
|
4676
|
-
bypassMessagePrefix: true,
|
|
4677
4668
|
isGroup: true,
|
|
4678
4669
|
isMentioned: true,
|
|
4679
4670
|
isReplyToBot: false,
|
|
@@ -15,10 +15,9 @@ import {
|
|
|
15
15
|
ChannelProactiveDeliveryError,
|
|
16
16
|
isChannelProactiveDeliveryError,
|
|
17
17
|
isTerminalTaskLifecycleType,
|
|
18
|
-
sanitizeSenderName
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import "./chunk-IW6RQPQB.js";
|
|
18
|
+
sanitizeSenderName
|
|
19
|
+
} from "./chunk-C4NLHK7X.js";
|
|
20
|
+
import "./chunk-IJOS26LH.js";
|
|
22
21
|
import "./chunk-CQ35AJ4Z.js";
|
|
23
22
|
import {
|
|
24
23
|
require_index_minimal
|
|
@@ -102065,25 +102064,6 @@ var FEISHU_STATUS_STRINGS = [
|
|
|
102065
102064
|
];
|
|
102066
102065
|
var escapeRegExp = /* @__PURE__ */ __name((value) => value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escapeRegExp");
|
|
102067
102066
|
var escapeFeishuMarkdown = /* @__PURE__ */ __name((value) => value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/([\\`*_[\]{}()#+.!|>~-])/gu, "\\$1"), "escapeFeishuMarkdown");
|
|
102068
|
-
function stripLeadingMentionNames(text, names, prefix) {
|
|
102069
|
-
let rest = text.trimStart();
|
|
102070
|
-
const tokens = [
|
|
102071
|
-
...new Set(names.filter(Boolean).map((name) => `@${name}`))
|
|
102072
|
-
].sort((a, b) => b.length - a.length);
|
|
102073
|
-
let consumed = true;
|
|
102074
|
-
while (consumed && !(prefix && startsWithMessagePrefix(rest, prefix))) {
|
|
102075
|
-
consumed = false;
|
|
102076
|
-
for (const token of tokens) {
|
|
102077
|
-
if (!rest.startsWith(token))
|
|
102078
|
-
continue;
|
|
102079
|
-
rest = rest.slice(token.length).trimStart();
|
|
102080
|
-
consumed = true;
|
|
102081
|
-
break;
|
|
102082
|
-
}
|
|
102083
|
-
}
|
|
102084
|
-
return rest;
|
|
102085
|
-
}
|
|
102086
|
-
__name(stripLeadingMentionNames, "stripLeadingMentionNames");
|
|
102087
102067
|
var FEISHU_STATUS_LABELS = `(?:${FEISHU_STATUS_STRINGS.map(escapeRegExp).join("|")})`;
|
|
102088
102068
|
var FEISHU_STATUS_BLOCK_RE = new RegExp(`(?:^|\\n)---\\n\\*${FEISHU_STATUS_LABELS}\\*(?=\\n|$)`, "g");
|
|
102089
102069
|
var FEISHU_SOURCE_LABEL_LINE_RE = /^\\\[(?:[A-Za-z0-9](?:[A-Za-z0-9]|\\[_-]){0,31}|[^\r\n]+ · [A-Za-z0-9](?:[A-Za-z0-9]|\\[_-]){0,31})\\\](?:\n\n?)?/u;
|
|
@@ -102970,8 +102950,6 @@ ${this.truncateCardText(body, reservedChars + prefix.length + 2)}`;
|
|
|
102970
102950
|
}
|
|
102971
102951
|
}
|
|
102972
102952
|
onResponseChunk(chatId, chunk, sessionId, segment) {
|
|
102973
|
-
if (this.config.blockStreaming === "on")
|
|
102974
|
-
return;
|
|
102975
102953
|
const inboundMsgId = this.sessionToInboundMsg.get(sessionId);
|
|
102976
102954
|
if (!inboundMsgId) {
|
|
102977
102955
|
process.stderr.write(`[Feishu:${this.name}] onResponseChunk: no inboundMsgId for session ${sessionId}
|
|
@@ -103105,8 +103083,6 @@ ${cs.accumulatedText}` : cs.accumulatedText);
|
|
|
103105
103083
|
}
|
|
103106
103084
|
}
|
|
103107
103085
|
onResponseBoundary(_chatId, sessionId) {
|
|
103108
|
-
if (this.config.blockStreaming === "on")
|
|
103109
|
-
return;
|
|
103110
103086
|
const inboundMsgId = this.sessionToInboundMsg.get(sessionId);
|
|
103111
103087
|
if (!inboundMsgId)
|
|
103112
103088
|
return;
|
|
@@ -103128,7 +103104,7 @@ ${cs.accumulatedText}` : cs.accumulatedText);
|
|
|
103128
103104
|
this.onResponseBoundary(chatId, sessionId);
|
|
103129
103105
|
return;
|
|
103130
103106
|
}
|
|
103131
|
-
if (reason !== "input_requested"
|
|
103107
|
+
if (reason !== "input_requested") {
|
|
103132
103108
|
return;
|
|
103133
103109
|
}
|
|
103134
103110
|
const inboundMsgId = this.sessionToInboundMsg.get(sessionId);
|
|
@@ -103374,7 +103350,7 @@ ${contentPart}` : contentPart;
|
|
|
103374
103350
|
this.sessionToInboundMsg.set(sessionId, inboundMsgId);
|
|
103375
103351
|
this.addReaction(inboundMsgId, "OnIt").catch(() => {
|
|
103376
103352
|
});
|
|
103377
|
-
if (
|
|
103353
|
+
if (!this.cardSessions.has(inboundMsgId)) {
|
|
103378
103354
|
this.cardSessions.set(inboundMsgId, {
|
|
103379
103355
|
messageId: "",
|
|
103380
103356
|
created: false,
|
|
@@ -103754,7 +103730,6 @@ ${contentPart}` : prefix : contentPart;
|
|
|
103754
103730
|
const content = this.extractContent(msg.message_type, msg.content);
|
|
103755
103731
|
let isMentioned = false;
|
|
103756
103732
|
let cleanText = content.text;
|
|
103757
|
-
const mentionNames = [...content.mentionNames ?? []];
|
|
103758
103733
|
if (msg.mentions && msg.mentions.length > 0) {
|
|
103759
103734
|
const mentionReplacements = /* @__PURE__ */ new Map();
|
|
103760
103735
|
for (const mention of msg.mentions) {
|
|
@@ -103764,8 +103739,6 @@ ${contentPart}` : prefix : contentPart;
|
|
|
103764
103739
|
isMentioned = true;
|
|
103765
103740
|
}
|
|
103766
103741
|
mentionReplacements.set(mention.key, isBotMention ? "" : `@${mention.name}`);
|
|
103767
|
-
if (!isBotMention && mention.name)
|
|
103768
|
-
mentionNames.push(mention.name);
|
|
103769
103742
|
}
|
|
103770
103743
|
const mentionKeys = [...mentionReplacements.keys()].sort((a, b) => b.length - a.length);
|
|
103771
103744
|
if (mentionKeys.length > 0) {
|
|
@@ -103778,7 +103751,6 @@ ${contentPart}` : prefix : contentPart;
|
|
|
103778
103751
|
this.msgToSenderId.delete(msgId);
|
|
103779
103752
|
return;
|
|
103780
103753
|
}
|
|
103781
|
-
const messagePrefixText = stripLeadingMentionNames(cleanText, mentionNames, this.configuredMessagePrefix());
|
|
103782
103754
|
const envelope = {
|
|
103783
103755
|
channelName: this.name,
|
|
103784
103756
|
senderId,
|
|
@@ -103786,11 +103758,7 @@ ${contentPart}` : prefix : contentPart;
|
|
|
103786
103758
|
chatId,
|
|
103787
103759
|
...chatName ? { chatName } : {},
|
|
103788
103760
|
text: cleanText,
|
|
103789
|
-
// A media message carries only an adapter-synthesized placeholder,
|
|
103790
|
-
// which no user action can prefix -- gating it would drop every
|
|
103791
|
-
// image, file, audio and video with the prefix configured.
|
|
103792
103761
|
...!content.userAuthoredText ? { syntheticText: true } : {},
|
|
103793
|
-
messagePrefixText: messagePrefixText.trim(),
|
|
103794
103762
|
messageId: msgId,
|
|
103795
103763
|
threadId: msg.root_id || void 0,
|
|
103796
103764
|
isGroup,
|
|
@@ -103930,7 +103898,6 @@ ${envelope.text}`;
|
|
|
103930
103898
|
};
|
|
103931
103899
|
case "post": {
|
|
103932
103900
|
const lines = [];
|
|
103933
|
-
const mentionNames = [];
|
|
103934
103901
|
const post = content;
|
|
103935
103902
|
const firstVal = Object.values(post)[0];
|
|
103936
103903
|
const langPost = typeof firstVal === "object" && firstVal !== null ? firstVal : post;
|
|
@@ -103949,7 +103916,6 @@ ${envelope.text}`;
|
|
|
103949
103916
|
const userName = node["user_name"];
|
|
103950
103917
|
if (typeof userName === "string" && userName) {
|
|
103951
103918
|
parts.push(`@${userName}`);
|
|
103952
|
-
mentionNames.push(userName);
|
|
103953
103919
|
}
|
|
103954
103920
|
}
|
|
103955
103921
|
}
|
|
@@ -103958,7 +103924,6 @@ ${envelope.text}`;
|
|
|
103958
103924
|
}
|
|
103959
103925
|
return {
|
|
103960
103926
|
text: lines.join("\n").trim() || "",
|
|
103961
|
-
mentionNames,
|
|
103962
103927
|
userAuthoredText: true
|
|
103963
103928
|
};
|
|
103964
103929
|
}
|
|
@@ -10,8 +10,8 @@ import "./chunk-OSHQMOBS.js";
|
|
|
10
10
|
import {
|
|
11
11
|
ChannelBase,
|
|
12
12
|
sanitizeLogText
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-C4NLHK7X.js";
|
|
14
|
+
import "./chunk-IJOS26LH.js";
|
|
15
15
|
import "./chunk-CQ35AJ4Z.js";
|
|
16
16
|
import "./chunk-DMTGGOSA.js";
|
|
17
17
|
import "./chunk-YQ3U5MUC.js";
|
|
@@ -1876,9 +1876,6 @@ var WeComChannel = class extends ChannelBase {
|
|
|
1876
1876
|
let processStarted = false;
|
|
1877
1877
|
try {
|
|
1878
1878
|
if (!await this.preflightInbound(envelope)) {
|
|
1879
|
-
if (rawMessageId && this.wasMessagePrefixRejected(envelope)) {
|
|
1880
|
-
this.seenMessages.set(rawMessageId, Date.now());
|
|
1881
|
-
}
|
|
1882
1879
|
process.stderr.write(`[WeCom:${this.name}] dropping message ${logMessageId}: preflight rejected.
|
|
1883
1880
|
`);
|
|
1884
1881
|
return;
|
|
@@ -11,92 +11,97 @@ import {
|
|
|
11
11
|
detectLineEnding,
|
|
12
12
|
getDiffStat,
|
|
13
13
|
needsUtf8Bom
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JV5YASQA.js";
|
|
15
15
|
import "./chunk-GOFAQQZA.js";
|
|
16
|
-
import "./chunk-65I7S4Z3.js";
|
|
17
|
-
import "./chunk-6HUXPLB5.js";
|
|
18
16
|
import "./chunk-TWPJO254.js";
|
|
19
17
|
import "./chunk-CQ35AJ4Z.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-65I7S4Z3.js";
|
|
19
|
+
import "./chunk-6HUXPLB5.js";
|
|
20
|
+
import "./chunk-7CLLH5TI.js";
|
|
21
|
+
import "./chunk-XKBFYTCD.js";
|
|
22
|
+
import "./chunk-ZTTC7T4X.js";
|
|
23
|
+
import "./chunk-E4UEO3XM.js";
|
|
24
|
+
import "./chunk-IAEXTMED.js";
|
|
27
25
|
import "./chunk-IRH27ZC2.js";
|
|
28
26
|
import "./chunk-QHWCP53L.js";
|
|
29
27
|
import "./chunk-F53KKZUD.js";
|
|
30
|
-
import "./chunk-TRWQQBVH.js";
|
|
31
|
-
import "./chunk-QJNDUTOL.js";
|
|
32
|
-
import "./chunk-N6S3NUYJ.js";
|
|
33
28
|
import "./chunk-O6GEWCJA.js";
|
|
29
|
+
import "./chunk-36HCNKDS.js";
|
|
30
|
+
import "./chunk-6PVPNMXU.js";
|
|
31
|
+
import "./chunk-2SZH22YO.js";
|
|
32
|
+
import "./chunk-DTNV6UZY.js";
|
|
33
|
+
import "./chunk-QJNDUTOL.js";
|
|
34
|
+
import "./chunk-JXNIF2O5.js";
|
|
35
|
+
import "./chunk-CGKEUUYG.js";
|
|
36
|
+
import "./chunk-ELRMZTPF.js";
|
|
34
37
|
import "./chunk-CHEIIBT3.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-PLLIWEM3.js";
|
|
39
|
+
import "./chunk-5GLDOLNQ.js";
|
|
40
|
+
import "./chunk-CH2YDT6X.js";
|
|
38
41
|
import "./chunk-JX6XHPTX.js";
|
|
39
|
-
import "./chunk-CLKE4IY3.js";
|
|
40
42
|
import "./chunk-ZSTCM3MX.js";
|
|
41
|
-
import "./chunk-SOA4HKRJ.js";
|
|
42
43
|
import "./chunk-MLXTMF7H.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-LILGKQ4B.js";
|
|
44
45
|
import "./chunk-3CZ2BQV6.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-SAH4BD2J.js";
|
|
47
|
+
import "./chunk-CAAMI77K.js";
|
|
48
|
+
import "./chunk-U7O65WKL.js";
|
|
48
49
|
import "./chunk-S6LOFUVP.js";
|
|
50
|
+
import "./chunk-FN3JNDRU.js";
|
|
51
|
+
import "./chunk-EUURTIV6.js";
|
|
52
|
+
import "./chunk-G6UUOCUT.js";
|
|
53
|
+
import "./chunk-IZ2U57NY.js";
|
|
54
|
+
import "./chunk-NUQ4GK5I.js";
|
|
55
|
+
import "./chunk-K2OJUPOE.js";
|
|
49
56
|
import "./chunk-NAVJD2PQ.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-ZGQIIGNQ.js";
|
|
58
|
+
import "./chunk-ZHECLGA6.js";
|
|
52
59
|
import "./chunk-QHMLYMMS.js";
|
|
53
60
|
import "./chunk-CFKIH3D3.js";
|
|
54
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-JL6APGBX.js";
|
|
55
62
|
import "./chunk-DJ2GSRLV.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-L3DTX6U4.js";
|
|
64
|
+
import "./chunk-C75BXMPM.js";
|
|
58
65
|
import "./chunk-KFFCDLKV.js";
|
|
59
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-ZW2EUO2A.js";
|
|
60
67
|
import {
|
|
61
68
|
FileOperationEvent,
|
|
62
69
|
ReadFileTool,
|
|
63
70
|
getLanguageFromFilePath,
|
|
64
71
|
logFileOperation
|
|
65
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-34ZYDM3F.js";
|
|
66
73
|
import "./chunk-5ETULJLP.js";
|
|
67
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-ZHKTKHMO.js";
|
|
68
75
|
import "./chunk-VGC4I5JJ.js";
|
|
69
|
-
import {
|
|
70
|
-
fileExists,
|
|
71
|
-
getSpecificMimeType
|
|
72
|
-
} from "./chunk-J6MB5ZHZ.js";
|
|
73
76
|
import {
|
|
74
77
|
isAnyAutoMemPath,
|
|
75
78
|
isTeamAutoMemPath
|
|
76
79
|
} from "./chunk-EDIDYZBT.js";
|
|
77
80
|
import "./chunk-HD7O6WLV.js";
|
|
81
|
+
import {
|
|
82
|
+
fileExists,
|
|
83
|
+
getSpecificMimeType
|
|
84
|
+
} from "./chunk-J6MB5ZHZ.js";
|
|
78
85
|
import "./chunk-WZAD4ZNJ.js";
|
|
86
|
+
import "./chunk-3FPYT6QC.js";
|
|
79
87
|
import "./chunk-FPGTNKCP.js";
|
|
80
88
|
import "./chunk-TIGXX4PA.js";
|
|
81
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-RJZTX2OF.js";
|
|
82
90
|
import "./chunk-XFFRI3WM.js";
|
|
83
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-ERU3SDXT.js";
|
|
92
|
+
import "./chunk-EWJTAP3Y.js";
|
|
84
93
|
import "./chunk-HHJLM3WQ.js";
|
|
85
94
|
import {
|
|
86
95
|
safeLiteralReplace
|
|
87
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-W5ZQMAEM.js";
|
|
88
97
|
import "./chunk-74TONY4F.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-4VY3ITHR.js";
|
|
91
|
-
import "./chunk-O2FEO2CB.js";
|
|
92
|
-
import "./chunk-G6UUOCUT.js";
|
|
93
|
-
import "./chunk-IZ2U57NY.js";
|
|
98
|
+
import "./chunk-HUXPEUFL.js";
|
|
94
99
|
import {
|
|
95
100
|
BaseDeclarativeTool,
|
|
96
101
|
StructuredToolError,
|
|
97
102
|
ToolDisplayNames,
|
|
98
103
|
ToolNames
|
|
99
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-TP6FYVQT.js";
|
|
100
105
|
import {
|
|
101
106
|
createDebugLogger,
|
|
102
107
|
getErrorMessage,
|
|
@@ -105,11 +110,12 @@ import {
|
|
|
105
110
|
shortenPath,
|
|
106
111
|
unescapePath
|
|
107
112
|
} from "./chunk-ZAFYHRVY.js";
|
|
113
|
+
import "./chunk-TBWQLLFO.js";
|
|
114
|
+
import "./chunk-UKMWZ5NS.js";
|
|
108
115
|
import "./chunk-75DOP5OR.js";
|
|
109
116
|
import "./chunk-DMTGGOSA.js";
|
|
110
117
|
import "./chunk-YQ3U5MUC.js";
|
|
111
118
|
import "./chunk-MATEIJZF.js";
|
|
112
|
-
import "./chunk-TBWQLLFO.js";
|
|
113
119
|
import {
|
|
114
120
|
init_esbuild_shims
|
|
115
121
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -159,6 +159,7 @@ var en_default = {
|
|
|
159
159
|
"toolDisplayName.Agent": "toolDisplayName.Agent",
|
|
160
160
|
"toolDisplayName.Artifact": "toolDisplayName.Artifact",
|
|
161
161
|
"toolDisplayName.RecordArtifact": "toolDisplayName.RecordArtifact",
|
|
162
|
+
"toolDisplayName.RecordSource": "toolDisplayName.RecordSource",
|
|
162
163
|
"toolDisplayName.ReportFindings": "toolDisplayName.ReportFindings",
|
|
163
164
|
"toolDisplayName.DisplayImage": "toolDisplayName.DisplayImage",
|
|
164
165
|
"toolDisplayName.Skill": "toolDisplayName.Skill",
|
|
@@ -902,7 +903,7 @@ var en_default = {
|
|
|
902
903
|
'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).': 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).',
|
|
903
904
|
"Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.": "Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.",
|
|
904
905
|
"Input to command is JSON with notification message and type.": "Input to command is JSON with notification message and type.",
|
|
905
|
-
'Input to command is JSON with "prompt" (the current model-bound prompt) and optional "submitted_prompt" (the
|
|
906
|
+
'Input to command is JSON with "prompt" (the current model-bound prompt) and optional "submitted_prompt" (the text projection captured at a supported submission boundary).': 'Input to command is JSON with "prompt" (the current model-bound prompt) and optional "submitted_prompt" (the text projection captured at a supported submission boundary).',
|
|
906
907
|
"Input to command is JSON with command_name, command_args, and expanded prompt text.": "Input to command is JSON with command_name, command_args, and expanded prompt text.",
|
|
907
908
|
"Input to command is JSON with session start source.": "Input to command is JSON with session start source.",
|
|
908
909
|
"Input to command is JSON with session end reason.": "Input to command is JSON with session end reason.",
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
writeWorktreeSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZKZHSB5W.js";
|
|
6
6
|
import {
|
|
7
7
|
GitWorktreeService,
|
|
8
8
|
writeWorktreeSessionMarker
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-36HCNKDS.js";
|
|
10
|
+
import "./chunk-JXNIF2O5.js";
|
|
11
11
|
import "./chunk-J6MB5ZHZ.js";
|
|
12
12
|
import "./chunk-XFFRI3WM.js";
|
|
13
13
|
import {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
BaseToolInvocation,
|
|
16
16
|
ToolDisplayNames,
|
|
17
17
|
ToolNames
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TP6FYVQT.js";
|
|
19
19
|
import {
|
|
20
20
|
createDebugLogger
|
|
21
21
|
} from "./chunk-ZAFYHRVY.js";
|