@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
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
buildPermissionSettings
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7ZVIGDZF.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveVoiceStreamConfig,
|
|
8
8
|
resolveVoiceTranscriptionConfig,
|
|
9
9
|
transcribeVoiceAudio
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NVIBH7WS.js";
|
|
11
11
|
import {
|
|
12
12
|
getVoiceSettingsScope,
|
|
13
13
|
isSelectableVoiceModel,
|
|
@@ -16,7 +16,12 @@ import {
|
|
|
16
16
|
readVoiceMode,
|
|
17
17
|
readVoiceModel,
|
|
18
18
|
resolveVoiceTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Q2XLNLAV.js";
|
|
20
|
+
import {
|
|
21
|
+
WorkspacePermissionRulesSessionRequiredError,
|
|
22
|
+
WorkspaceSettingsPartialPersistError,
|
|
23
|
+
WorkspaceSkillNotFoundError
|
|
24
|
+
} from "./chunk-FTJMWDND.js";
|
|
20
25
|
import {
|
|
21
26
|
MCP_RESTART_SERVER_DEADLINE_MS
|
|
22
27
|
} from "./chunk-OCPBI7J5.js";
|
|
@@ -33,12 +38,7 @@ import {
|
|
|
33
38
|
createIdleWorkspaceProvidersStatus,
|
|
34
39
|
createIdleWorkspaceSkillsStatus,
|
|
35
40
|
mapDomainErrorToErrorKind
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
WorkspacePermissionRulesSessionRequiredError,
|
|
39
|
-
WorkspaceSettingsPartialPersistError,
|
|
40
|
-
WorkspaceSkillNotFoundError
|
|
41
|
-
} from "./chunk-FTJMWDND.js";
|
|
41
|
+
} from "./chunk-HGEUHUEV.js";
|
|
42
42
|
import {
|
|
43
43
|
McpServerNotFoundError,
|
|
44
44
|
McpServerRestartFailedError,
|
|
@@ -51,15 +51,15 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
getPersistScopeForModelSelection,
|
|
53
53
|
loadSettings
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-OOLSYRZ7.js";
|
|
55
55
|
import {
|
|
56
56
|
getWorkspaceTrustStatus
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KHIBLKNK.js";
|
|
58
58
|
import {
|
|
59
59
|
ModelsConfig,
|
|
60
60
|
SkillManager,
|
|
61
61
|
require_yauzl
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-JV5YASQA.js";
|
|
63
63
|
import {
|
|
64
64
|
Storage,
|
|
65
65
|
createDebugLogger
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
settleChatRecording,
|
|
5
|
-
subscribeToHeadlessChatRecordingFailures
|
|
6
|
-
} from "./chunk-CALNF3Z3.js";
|
|
7
3
|
import {
|
|
8
4
|
JsonOutputAdapter
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
StreamJsonOutputAdapter
|
|
12
|
-
} from "./chunk-4BLTSTF6.js";
|
|
5
|
+
} from "./chunk-SXEE6PND.js";
|
|
13
6
|
import {
|
|
14
7
|
normalizePartList
|
|
15
8
|
} from "./chunk-5IENVM7Z.js";
|
|
9
|
+
import {
|
|
10
|
+
settleChatRecording,
|
|
11
|
+
subscribeToHeadlessChatRecordingFailures
|
|
12
|
+
} from "./chunk-7XVQNDFB.js";
|
|
13
|
+
import {
|
|
14
|
+
StreamJsonOutputAdapter
|
|
15
|
+
} from "./chunk-AWMJRE5N.js";
|
|
16
16
|
import {
|
|
17
17
|
handleAtCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-72BGC7RT.js";
|
|
19
19
|
import {
|
|
20
20
|
buildInitialSystemReminders,
|
|
21
21
|
buildSystemMessage,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
handleSlashCommand,
|
|
27
27
|
insertAfterFunctionResponses,
|
|
28
28
|
isSlashCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VID4BW52.js";
|
|
30
30
|
import {
|
|
31
31
|
RunBudgetEnforcer,
|
|
32
32
|
cleanupReviewWorktreeLeases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BHR6IN2X.js";
|
|
34
34
|
import {
|
|
35
35
|
AlreadyReportedError,
|
|
36
36
|
handleBudgetExceededError,
|
|
@@ -38,20 +38,20 @@ import {
|
|
|
38
38
|
handleError,
|
|
39
39
|
handleMaxTurnsExceededError,
|
|
40
40
|
handleToolError
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-UGS62IR2.js";
|
|
42
42
|
import {
|
|
43
43
|
isInlineModelOverrideAllowed
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VHKOULAI.js";
|
|
45
45
|
import {
|
|
46
46
|
buildGoalContinuationParts,
|
|
47
47
|
buildSessionRecoveryPlanFromApiHistory,
|
|
48
48
|
detectAutonomousSentinel,
|
|
49
49
|
detectLoopSentinel,
|
|
50
50
|
executeToolCall
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-F2RKL5I2.js";
|
|
52
52
|
import {
|
|
53
53
|
restoreWorktreeContext
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ZKZHSB5W.js";
|
|
55
55
|
import {
|
|
56
56
|
GOAL_PAUSE_REASON_HEADLESS_RUN_ENDED,
|
|
57
57
|
GOAL_PAUSE_REASON_USER_INTERRUPT,
|
|
@@ -72,16 +72,19 @@ import {
|
|
|
72
72
|
parseAndFormatApiError,
|
|
73
73
|
partitionByConcurrencySafety,
|
|
74
74
|
recordHandledToolCall
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import {
|
|
77
|
-
parsePositiveIntegerEnv
|
|
78
|
-
} from "./chunk-6PVPNMXU.js";
|
|
75
|
+
} from "./chunk-JV5YASQA.js";
|
|
79
76
|
import {
|
|
80
77
|
promptIdContext
|
|
81
78
|
} from "./chunk-O6GEWCJA.js";
|
|
79
|
+
import {
|
|
80
|
+
parsePositiveIntegerEnv
|
|
81
|
+
} from "./chunk-6PVPNMXU.js";
|
|
82
82
|
import {
|
|
83
83
|
addAgentOutputMessageAttributes
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-2SZH22YO.js";
|
|
85
|
+
import {
|
|
86
|
+
isSystemReminderContent
|
|
87
|
+
} from "./chunk-FN3JNDRU.js";
|
|
85
88
|
import {
|
|
86
89
|
formatFullTurnVisionNotice,
|
|
87
90
|
formatVisionBridgeNotice,
|
|
@@ -91,20 +94,17 @@ import {
|
|
|
91
94
|
shouldRunVisionBridge,
|
|
92
95
|
splitImageParts,
|
|
93
96
|
uiTelemetryService
|
|
94
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-34ZYDM3F.js";
|
|
95
98
|
import {
|
|
96
99
|
endInteractionSpan,
|
|
97
100
|
getActiveInteractionSpan,
|
|
98
101
|
isTelemetrySdkInitialized,
|
|
99
102
|
shutdownTelemetry
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import {
|
|
102
|
-
isSystemReminderContent
|
|
103
|
-
} from "./chunk-4VY3ITHR.js";
|
|
103
|
+
} from "./chunk-W5ZQMAEM.js";
|
|
104
104
|
import {
|
|
105
105
|
ToolNames,
|
|
106
106
|
canonicalToolName
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-TP6FYVQT.js";
|
|
108
108
|
import {
|
|
109
109
|
FatalInputError,
|
|
110
110
|
createDebugLogger,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
} from "./chunk-ZAFYHRVY.js";
|
|
113
113
|
import {
|
|
114
114
|
registerCleanup
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-JDEW3V5B.js";
|
|
116
116
|
import {
|
|
117
117
|
init_esbuild_shims
|
|
118
118
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -407,19 +407,17 @@ async function runNonInteractive(config, settings, input, prompt_id, options = {
|
|
|
407
407
|
const goalHost = {
|
|
408
408
|
startGoalTurn: /* @__PURE__ */ __name(async (input2) => {
|
|
409
409
|
if (queuedGoalTurns.some(
|
|
410
|
-
({ permit }) =>
|
|
410
|
+
({ permit: permit2 }) => permit2.turnId === input2.permit.turnId
|
|
411
411
|
)) {
|
|
412
412
|
return;
|
|
413
413
|
}
|
|
414
|
+
const { permit, ...continuation } = input2;
|
|
414
415
|
queuedGoalTurns.push({
|
|
415
|
-
permit: { ...
|
|
416
|
-
turnKey: `goal-runtime:${
|
|
416
|
+
permit: { ...permit },
|
|
417
|
+
turnKey: `goal-runtime:${permit.turnId}`,
|
|
417
418
|
controller: new AbortController(),
|
|
418
419
|
origin: "runtime",
|
|
419
|
-
|
|
420
|
-
...input2.objectiveUpdated ? { objectiveUpdated: input2.objectiveUpdated } : {},
|
|
421
|
-
...input2.windDown ? { windDown: true } : {},
|
|
422
|
-
...input2.verifierFeedback ? { verifierFeedback: input2.verifierFeedback } : {}
|
|
420
|
+
...continuation
|
|
423
421
|
});
|
|
424
422
|
}, "startGoalTurn"),
|
|
425
423
|
preemptGoalTurn: /* @__PURE__ */ __name((reason) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
preloadRuntimeFetchModule
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EWJTAP3Y.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -14,19 +14,12 @@ import {
|
|
|
14
14
|
init_esbuild_shims();
|
|
15
15
|
var DEFAULT_QWEN_MODEL = "coder-model";
|
|
16
16
|
|
|
17
|
-
// packages/core/src/config/models.ts
|
|
18
|
-
init_esbuild_shims();
|
|
19
|
-
var DEFAULT_QWEN_EMBEDDING_MODEL = "text-embedding-v4";
|
|
20
|
-
var MAINLINE_CODER_MODEL = "qwen3.7-max";
|
|
21
|
-
|
|
22
|
-
// packages/core/src/core/contentGenerator.ts
|
|
23
|
-
init_esbuild_shims();
|
|
24
|
-
|
|
25
17
|
// packages/core/src/models/modelConfigErrors.ts
|
|
26
18
|
init_esbuild_shims();
|
|
27
19
|
function getDefaultApiKeyEnvVar(authType) {
|
|
28
20
|
switch (authType) {
|
|
29
21
|
case "openai":
|
|
22
|
+
case "openai-responses":
|
|
30
23
|
return "OPENAI_API_KEY";
|
|
31
24
|
case "anthropic":
|
|
32
25
|
return "ANTHROPIC_API_KEY";
|
|
@@ -42,6 +35,7 @@ __name(getDefaultApiKeyEnvVar, "getDefaultApiKeyEnvVar");
|
|
|
42
35
|
function getDefaultModelEnvVar(authType) {
|
|
43
36
|
switch (authType) {
|
|
44
37
|
case "openai":
|
|
38
|
+
case "openai-responses":
|
|
45
39
|
return "OPENAI_MODEL";
|
|
46
40
|
case "anthropic":
|
|
47
41
|
return "ANTHROPIC_MODEL";
|
|
@@ -136,6 +130,14 @@ var MissingAnthropicBaseUrlEnvError = class extends ModelConfigError {
|
|
|
136
130
|
}
|
|
137
131
|
};
|
|
138
132
|
|
|
133
|
+
// packages/core/src/config/models.ts
|
|
134
|
+
init_esbuild_shims();
|
|
135
|
+
var DEFAULT_QWEN_EMBEDDING_MODEL = "text-embedding-v4";
|
|
136
|
+
var MAINLINE_CODER_MODEL = "qwen3.7-max";
|
|
137
|
+
|
|
138
|
+
// packages/core/src/core/contentGenerator.ts
|
|
139
|
+
init_esbuild_shims();
|
|
140
|
+
|
|
139
141
|
// packages/core/src/models/constants.ts
|
|
140
142
|
init_esbuild_shims();
|
|
141
143
|
var MODEL_GENERATION_CONFIG_FIELDS = [
|
|
@@ -176,6 +178,11 @@ var AUTH_ENV_MAPPINGS = {
|
|
|
176
178
|
baseUrl: ["OPENAI_BASE_URL"],
|
|
177
179
|
model: ["OPENAI_MODEL", "QWEN_MODEL"]
|
|
178
180
|
},
|
|
181
|
+
"openai-responses": {
|
|
182
|
+
apiKey: ["OPENAI_API_KEY"],
|
|
183
|
+
baseUrl: ["OPENAI_BASE_URL"],
|
|
184
|
+
model: ["OPENAI_MODEL"]
|
|
185
|
+
},
|
|
179
186
|
anthropic: {
|
|
180
187
|
apiKey: ["ANTHROPIC_API_KEY"],
|
|
181
188
|
baseUrl: ["ANTHROPIC_BASE_URL"],
|
|
@@ -411,18 +418,23 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
411
418
|
try {
|
|
412
419
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
413
420
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
414
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
421
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-BKTO5QJK.js");
|
|
415
422
|
return createOpenAIContentGenerator(generatorConfig, config);
|
|
416
423
|
}, "loadBaseGenerator");
|
|
424
|
+
} else if (authType === "openai-responses" /* USE_OPENAI_RESPONSES */) {
|
|
425
|
+
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
426
|
+
const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-RTCAJ5V5.js");
|
|
427
|
+
return createOpenAIResponsesContentGenerator(generatorConfig, config);
|
|
428
|
+
}, "loadBaseGenerator");
|
|
417
429
|
} else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
|
|
418
|
-
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-
|
|
430
|
+
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-NOXRK323.js");
|
|
419
431
|
try {
|
|
420
432
|
const qwenClient = await getQwenOauthClient(
|
|
421
433
|
config,
|
|
422
434
|
isInitialAuth ? { requireCachedCredentials: true } : void 0
|
|
423
435
|
);
|
|
424
436
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
425
|
-
const { QwenContentGenerator } = await import("./qwenContentGenerator-
|
|
437
|
+
const { QwenContentGenerator } = await import("./qwenContentGenerator-K5TJK75P.js");
|
|
426
438
|
return new QwenContentGenerator(qwenClient, generatorConfig, config);
|
|
427
439
|
}, "loadBaseGenerator");
|
|
428
440
|
} catch (error) {
|
|
@@ -433,12 +445,12 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
433
445
|
}
|
|
434
446
|
} else if (authType === "anthropic" /* USE_ANTHROPIC */) {
|
|
435
447
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
436
|
-
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-
|
|
448
|
+
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-SGIR5IKF.js");
|
|
437
449
|
return createAnthropicContentGenerator(generatorConfig, config);
|
|
438
450
|
}, "loadBaseGenerator");
|
|
439
451
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
440
452
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
441
|
-
const { createLlmContentGenerator } = await import("./llm-content-generator-
|
|
453
|
+
const { createLlmContentGenerator } = await import("./llm-content-generator-KWXFHBR3.js");
|
|
442
454
|
return createLlmContentGenerator(generatorConfig, config);
|
|
443
455
|
}, "loadBaseGenerator");
|
|
444
456
|
} else {
|
|
@@ -453,7 +465,7 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
453
465
|
try {
|
|
454
466
|
const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
|
|
455
467
|
loadBaseGenerator(),
|
|
456
|
-
import("./loggingContentGenerator-
|
|
468
|
+
import("./loggingContentGenerator-NGHVU6AK.js")
|
|
457
469
|
]);
|
|
458
470
|
return new LoggingContentGenerator(
|
|
459
471
|
baseGenerator,
|
|
@@ -469,6 +481,7 @@ __name(createContentGenerator, "createContentGenerator");
|
|
|
469
481
|
|
|
470
482
|
export {
|
|
471
483
|
DEFAULT_QWEN_MODEL,
|
|
484
|
+
getDefaultApiKeyEnvVar,
|
|
472
485
|
VERTEX_ADC_HINT,
|
|
473
486
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
474
487
|
MAINLINE_CODER_MODEL,
|
|
@@ -492,11 +505,11 @@ export {
|
|
|
492
505
|
*/
|
|
493
506
|
/**
|
|
494
507
|
* @license
|
|
495
|
-
* Copyright 2025
|
|
508
|
+
* Copyright 2025 Qwen Team
|
|
496
509
|
* SPDX-License-Identifier: Apache-2.0
|
|
497
510
|
*/
|
|
498
511
|
/**
|
|
499
512
|
* @license
|
|
500
|
-
* Copyright 2025
|
|
513
|
+
* Copyright 2025 Google LLC
|
|
501
514
|
* SPDX-License-Identifier: Apache-2.0
|
|
502
515
|
*/
|
|
@@ -7,66 +7,6 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-J2S4EL5Y.js";
|
|
9
9
|
|
|
10
|
-
// packages/core/src/utils/thoughtUtils.ts
|
|
11
|
-
init_esbuild_shims();
|
|
12
|
-
var START_DELIMITER = "**";
|
|
13
|
-
var END_DELIMITER = "**";
|
|
14
|
-
var OPENAI_REASONING_THOUGHT_MARKER = Symbol("openaiReasoningThought");
|
|
15
|
-
function createOpenAIReasoningThoughtPart(text) {
|
|
16
|
-
const part = { text, thought: true };
|
|
17
|
-
Object.defineProperty(part, OPENAI_REASONING_THOUGHT_MARKER, {
|
|
18
|
-
value: true
|
|
19
|
-
});
|
|
20
|
-
return part;
|
|
21
|
-
}
|
|
22
|
-
__name(createOpenAIReasoningThoughtPart, "createOpenAIReasoningThoughtPart");
|
|
23
|
-
function isOpenAIReasoningThoughtPart(part) {
|
|
24
|
-
return Boolean(
|
|
25
|
-
part[OPENAI_REASONING_THOUGHT_MARKER]
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
__name(isOpenAIReasoningThoughtPart, "isOpenAIReasoningThoughtPart");
|
|
29
|
-
function parseThought(rawText) {
|
|
30
|
-
const startIndex = rawText.indexOf(START_DELIMITER);
|
|
31
|
-
if (startIndex === -1) {
|
|
32
|
-
return { subject: "", description: rawText };
|
|
33
|
-
}
|
|
34
|
-
const endIndex = rawText.indexOf(
|
|
35
|
-
END_DELIMITER,
|
|
36
|
-
startIndex + START_DELIMITER.length
|
|
37
|
-
);
|
|
38
|
-
if (endIndex === -1) {
|
|
39
|
-
return { subject: "", description: rawText };
|
|
40
|
-
}
|
|
41
|
-
const subject = rawText.substring(startIndex + START_DELIMITER.length, endIndex).trim();
|
|
42
|
-
const description = (rawText.substring(0, startIndex) + rawText.substring(endIndex + END_DELIMITER.length)).trim();
|
|
43
|
-
return { subject, description };
|
|
44
|
-
}
|
|
45
|
-
__name(parseThought, "parseThought");
|
|
46
|
-
function getThoughtSummary(response) {
|
|
47
|
-
if (response.candidates && response.candidates.length > 0) {
|
|
48
|
-
const candidate = response.candidates[0];
|
|
49
|
-
if (candidate.content && candidate.content.parts && candidate.content.parts.length > 0) {
|
|
50
|
-
const thoughtParts = candidate.content.parts.filter(
|
|
51
|
-
(part) => part.thought
|
|
52
|
-
);
|
|
53
|
-
if (thoughtParts.length === 0) {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
const thoughtText = thoughtParts.map((part) => part.text ?? "").join("");
|
|
57
|
-
if (!thoughtText) {
|
|
58
|
-
return null;
|
|
59
|
-
}
|
|
60
|
-
if (thoughtParts.some(isOpenAIReasoningThoughtPart)) {
|
|
61
|
-
return { subject: "", description: thoughtText };
|
|
62
|
-
}
|
|
63
|
-
return parseThought(thoughtText);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
__name(getThoughtSummary, "getThoughtSummary");
|
|
69
|
-
|
|
70
10
|
// packages/core/src/core/openaiContentGenerator/prefix-caching.ts
|
|
71
11
|
init_esbuild_shims();
|
|
72
12
|
var CACHE_KEY_PREFIX = "qwen-code:";
|
|
@@ -141,17 +81,10 @@ function applyOfficialOpenAIPromptCaching(request, sessionId, cacheSharing, cach
|
|
|
141
81
|
__name(applyOfficialOpenAIPromptCaching, "applyOfficialOpenAIPromptCaching");
|
|
142
82
|
|
|
143
83
|
export {
|
|
144
|
-
createOpenAIReasoningThoughtPart,
|
|
145
|
-
getThoughtSummary,
|
|
146
84
|
supportsOpenAIPrefixCaching,
|
|
147
85
|
isOfficialOpenAIEndpoint,
|
|
148
86
|
applyOfficialOpenAIPromptCaching
|
|
149
87
|
};
|
|
150
|
-
/**
|
|
151
|
-
* @license
|
|
152
|
-
* Copyright 2025 Google LLC
|
|
153
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
154
|
-
*/
|
|
155
88
|
/**
|
|
156
89
|
* @license
|
|
157
90
|
* Copyright 2025 Qwen
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./chunk-TXASDT2M.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-74JEYK2C.js";
|
|
12
12
|
import {
|
|
13
13
|
So
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JV5YASQA.js";
|
|
15
15
|
import {
|
|
16
16
|
createDebugLogger
|
|
17
17
|
} from "./chunk-ZAFYHRVY.js";
|
|
@@ -4,9 +4,6 @@ import {
|
|
|
4
4
|
MAX_WORKSPACE_PATH_LENGTH,
|
|
5
5
|
canonicalizeWorkspace
|
|
6
6
|
} from "./chunk-6PLDPT2C.js";
|
|
7
|
-
import {
|
|
8
|
-
MAX_DAEMON_WORKSPACES
|
|
9
|
-
} from "./chunk-5HBA2Z7V.js";
|
|
10
7
|
import {
|
|
11
8
|
getGlobalQwenDirLite
|
|
12
9
|
} from "./chunk-IDS7MSUP.js";
|
|
@@ -38,7 +35,21 @@ import * as path from "node:path";
|
|
|
38
35
|
|
|
39
36
|
// packages/cli/src/serve/workspace-inputs.ts
|
|
40
37
|
init_esbuild_shims();
|
|
41
|
-
var MAX_REGISTERED_WORKSPACES =
|
|
38
|
+
var MAX_REGISTERED_WORKSPACES = 256;
|
|
39
|
+
var MAX_CONFIGURED_REGISTERED_WORKSPACES = 256;
|
|
40
|
+
var QWEN_SERVE_MAX_WORKSPACES_ENV = "QWEN_SERVE_MAX_WORKSPACES";
|
|
41
|
+
function resolveMaxRegisteredWorkspaces(configured, env) {
|
|
42
|
+
const raw = env[QWEN_SERVE_MAX_WORKSPACES_ENV];
|
|
43
|
+
const value = configured ?? (raw === void 0 ? MAX_REGISTERED_WORKSPACES : /^\d+$/.test(raw.trim()) ? Number(raw.trim()) : Number.NaN);
|
|
44
|
+
if (!Number.isSafeInteger(value) || value < 1 || value > MAX_CONFIGURED_REGISTERED_WORKSPACES) {
|
|
45
|
+
const source = configured === void 0 ? `${QWEN_SERVE_MAX_WORKSPACES_ENV}=${JSON.stringify(raw)}` : `maxRegisteredWorkspaces option ${String(configured)}`;
|
|
46
|
+
throw new TypeError(
|
|
47
|
+
`Invalid ${source}: must be an integer from 1 to ${MAX_CONFIGURED_REGISTERED_WORKSPACES}.`
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
__name(resolveMaxRegisteredWorkspaces, "resolveMaxRegisteredWorkspaces");
|
|
42
53
|
var DuplicateWorkspaceInputError = class extends Error {
|
|
43
54
|
static {
|
|
44
55
|
__name(this, "DuplicateWorkspaceInputError");
|
|
@@ -125,8 +136,8 @@ __name(resolveWorkspaceInputs, "resolveWorkspaceInputs");
|
|
|
125
136
|
|
|
126
137
|
// packages/cli/src/serve/workspace-registration-store.ts
|
|
127
138
|
var SCHEMA_VERSION = 1;
|
|
128
|
-
var MAX_SECONDARY_WORKSPACES =
|
|
129
|
-
var MAX_STORE_BYTES =
|
|
139
|
+
var MAX_SECONDARY_WORKSPACES = MAX_CONFIGURED_REGISTERED_WORKSPACES - 1;
|
|
140
|
+
var MAX_STORE_BYTES = 8 * 1024 * 1024;
|
|
130
141
|
var MAX_WORKSPACE_DISPLAY_NAME_LENGTH = 256;
|
|
131
142
|
var LOCK_OPTIONS = {
|
|
132
143
|
realpath: false,
|
|
@@ -191,6 +202,11 @@ var WorkspaceRegistrationStoreLimitError = class extends WorkspaceRegistrationSt
|
|
|
191
202
|
__name(this, "WorkspaceRegistrationStoreLimitError");
|
|
192
203
|
}
|
|
193
204
|
};
|
|
205
|
+
var WorkspaceRegistrationStoreTooLargeError = class extends WorkspaceRegistrationStoreError {
|
|
206
|
+
static {
|
|
207
|
+
__name(this, "WorkspaceRegistrationStoreTooLargeError");
|
|
208
|
+
}
|
|
209
|
+
};
|
|
194
210
|
var WorkspaceRegistrationStoreCommittedError = class extends WorkspaceRegistrationStoreError {
|
|
195
211
|
static {
|
|
196
212
|
__name(this, "WorkspaceRegistrationStoreCommittedError");
|
|
@@ -451,7 +467,7 @@ var WorkspaceRegistrationStore = class {
|
|
|
451
467
|
);
|
|
452
468
|
}
|
|
453
469
|
if (stat.size > MAX_STORE_BYTES) {
|
|
454
|
-
throw new
|
|
470
|
+
throw new WorkspaceRegistrationStoreTooLargeError(
|
|
455
471
|
`Workspace registration store exceeds ${MAX_STORE_BYTES} bytes`
|
|
456
472
|
);
|
|
457
473
|
}
|
|
@@ -481,7 +497,7 @@ var WorkspaceRegistrationStore = class {
|
|
|
481
497
|
totalBytesRead += bytesRead;
|
|
482
498
|
}
|
|
483
499
|
if (totalBytesRead > MAX_STORE_BYTES) {
|
|
484
|
-
throw new
|
|
500
|
+
throw new WorkspaceRegistrationStoreTooLargeError(
|
|
485
501
|
`Workspace registration store exceeds ${MAX_STORE_BYTES} bytes`
|
|
486
502
|
);
|
|
487
503
|
}
|
|
@@ -493,7 +509,8 @@ var WorkspaceRegistrationStore = class {
|
|
|
493
509
|
await file.close();
|
|
494
510
|
}
|
|
495
511
|
}
|
|
496
|
-
async add(workspace, displayName) {
|
|
512
|
+
async add(workspace, displayName, maxRegisteredWorkspaces = MAX_REGISTERED_WORKSPACES) {
|
|
513
|
+
const maxSecondaries = resolveMaxRegisteredWorkspaces(maxRegisteredWorkspaces, {}) - 1;
|
|
497
514
|
validateWorkspacePath(workspace, "workspace");
|
|
498
515
|
const normalizedDisplayName = displayName === void 0 ? void 0 : normalizeWorkspaceDisplayName(displayName);
|
|
499
516
|
if (normalizedScopePath(workspace) === normalizedScopePath(this.primaryWorkspace)) {
|
|
@@ -508,9 +525,9 @@ var WorkspaceRegistrationStore = class {
|
|
|
508
525
|
)) {
|
|
509
526
|
return false;
|
|
510
527
|
}
|
|
511
|
-
if (snapshot.workspaces.length >=
|
|
528
|
+
if (snapshot.workspaces.length >= maxSecondaries) {
|
|
512
529
|
throw new WorkspaceRegistrationStoreLimitError(
|
|
513
|
-
`Workspace registration store limit of ${
|
|
530
|
+
`Workspace registration store limit of ${maxSecondaries} reached`
|
|
514
531
|
);
|
|
515
532
|
}
|
|
516
533
|
snapshot.workspaces.push(workspace);
|
|
@@ -568,7 +585,7 @@ var WorkspaceRegistrationStore = class {
|
|
|
568
585
|
return removed;
|
|
569
586
|
}
|
|
570
587
|
async update(mutate) {
|
|
571
|
-
const { atomicWriteFile } = await import("./deferred-core-runtime-
|
|
588
|
+
const { atomicWriteFile } = await import("./deferred-core-runtime-JPLQRVZO.js");
|
|
572
589
|
return withInProcessLock(this.filePath, async () => {
|
|
573
590
|
const lock = await acquireFileLock(this.filePath);
|
|
574
591
|
let committed = false;
|
|
@@ -579,13 +596,19 @@ var WorkspaceRegistrationStore = class {
|
|
|
579
596
|
lock.assertOwned();
|
|
580
597
|
changed = mutate(snapshot);
|
|
581
598
|
if (changed) {
|
|
599
|
+
const serialized = `${JSON.stringify(snapshot, null, 2)}
|
|
600
|
+
`;
|
|
601
|
+
if (Buffer.byteLength(serialized, "utf8") > MAX_STORE_BYTES) {
|
|
602
|
+
throw new WorkspaceRegistrationStoreTooLargeError(
|
|
603
|
+
`Workspace registration store exceeds ${MAX_STORE_BYTES} bytes`
|
|
604
|
+
);
|
|
605
|
+
}
|
|
582
606
|
lock.assertOwned();
|
|
583
|
-
await atomicWriteFile(
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
);
|
|
607
|
+
await atomicWriteFile(this.filePath, serialized, {
|
|
608
|
+
mode: 384,
|
|
609
|
+
forceMode: true,
|
|
610
|
+
noFollow: true
|
|
611
|
+
});
|
|
589
612
|
committed = true;
|
|
590
613
|
}
|
|
591
614
|
} catch (err) {
|
|
@@ -611,12 +634,14 @@ var WorkspaceRegistrationStore = class {
|
|
|
611
634
|
|
|
612
635
|
export {
|
|
613
636
|
MAX_REGISTERED_WORKSPACES,
|
|
637
|
+
resolveMaxRegisteredWorkspaces,
|
|
614
638
|
resolveWorkspaceInputs,
|
|
615
639
|
MAX_WORKSPACE_DISPLAY_NAME_LENGTH,
|
|
616
640
|
WorkspaceDisplayNameValidationError,
|
|
617
641
|
normalizeWorkspaceDisplayName,
|
|
618
642
|
WorkspaceRegistrationStoreError,
|
|
619
643
|
WorkspaceRegistrationStoreLimitError,
|
|
644
|
+
WorkspaceRegistrationStoreTooLargeError,
|
|
620
645
|
WorkspaceRegistrationStoreCommittedError,
|
|
621
646
|
workspaceRegistrationScopeHash,
|
|
622
647
|
workspaceRegistrationId,
|
|
@@ -15374,9 +15374,37 @@ var require_express2 = __commonJS({
|
|
|
15374
15374
|
}
|
|
15375
15375
|
});
|
|
15376
15376
|
|
|
15377
|
+
// packages/cli/src/serve/web-shell-preauth.ts
|
|
15378
|
+
init_esbuild_shims();
|
|
15379
|
+
function isDocumentNavigation(req) {
|
|
15380
|
+
const fetchMode = req.headers["sec-fetch-mode"];
|
|
15381
|
+
const fetchDest = req.headers["sec-fetch-dest"];
|
|
15382
|
+
const accept = req.headers.accept ?? "";
|
|
15383
|
+
return fetchMode === "navigate" || fetchDest === "document" || accept.trim().toLowerCase().startsWith("text/html");
|
|
15384
|
+
}
|
|
15385
|
+
__name(isDocumentNavigation, "isDocumentNavigation");
|
|
15386
|
+
var SESSION_DEEP_LINK_PATH = /^\/session\/[^/]+\/?$/u;
|
|
15387
|
+
function isPreAuthWebShellRequest(req) {
|
|
15388
|
+
if (req.method !== "GET" && req.method !== "HEAD") return false;
|
|
15389
|
+
const reqPath = req.path.toLowerCase();
|
|
15390
|
+
if (reqPath === "/" || // Express non-strict routing compiles `/` to `/^(?:\/)(?:\/$)?$/i`, so
|
|
15391
|
+
// a raw `//` also matches `app.get('/')` pre-auth (but `///` does not).
|
|
15392
|
+
reqPath === "//" || reqPath === "/assets" || reqPath.startsWith("/assets/") || reqPath === "/mcp-app-sandbox")
|
|
15393
|
+
return true;
|
|
15394
|
+
return SESSION_DEEP_LINK_PATH.test(reqPath) && isDocumentNavigation(req);
|
|
15395
|
+
}
|
|
15396
|
+
__name(isPreAuthWebShellRequest, "isPreAuthWebShellRequest");
|
|
15397
|
+
|
|
15377
15398
|
export {
|
|
15378
|
-
require_express2 as require_express
|
|
15399
|
+
require_express2 as require_express,
|
|
15400
|
+
isDocumentNavigation,
|
|
15401
|
+
isPreAuthWebShellRequest
|
|
15379
15402
|
};
|
|
15403
|
+
/**
|
|
15404
|
+
* @license
|
|
15405
|
+
* Copyright 2025 Qwen Team
|
|
15406
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
15407
|
+
*/
|
|
15380
15408
|
/*! Bundled license information:
|
|
15381
15409
|
|
|
15382
15410
|
depd/index.js:
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
BaseJsonOutputAdapter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AWMJRE5N.js";
|
|
6
6
|
import {
|
|
7
7
|
observeHeadlessJsonToolResultWire
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HL2DQG3Y.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
useKeypress
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KVBNJ4K2.js";
|
|
6
6
|
import {
|
|
7
7
|
require_react
|
|
8
8
|
} from "./chunk-5QWWOFGG.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-74JEYK2C.js";
|
|
12
12
|
import {
|
|
13
13
|
APPROVAL_MODES
|
|
14
14
|
} from "./chunk-JX6XHPTX.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
STATUS_SCHEMA_VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HGEUHUEV.js";
|
|
6
6
|
import {
|
|
7
7
|
formatMemoryUsage
|
|
8
8
|
} from "./chunk-CHEIIBT3.js";
|
|
9
9
|
import {
|
|
10
10
|
detectRuntime,
|
|
11
11
|
redactProxyCredentials
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EWJTAP3Y.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|