@qwen-code/qwen-code 0.21.13 → 0.21.14-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/settings.md +13 -7
- package/bundled/qc-helper/docs/features/code-review.md +5 -1
- package/bundled/qc-helper/docs/features/commands.md +120 -8
- package/bundled/qc-helper/docs/features/sub-agents.md +2 -2
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +20 -3
- package/bundled/review/SKILL.md +50 -30
- package/chunks/{MaxSizedBox-UQALOVVT.js → MaxSizedBox-3PZITE2Y.js} +24 -23
- package/chunks/{StandaloneSessionPicker-KEGXNUG6.js → StandaloneSessionPicker-2C34PNGO.js} +41 -40
- package/chunks/{acp-startup-profiler-NMDXYGDN.js → acp-startup-profiler-HUYGO57H.js} +2 -2
- package/chunks/{acpAgent-XPES32S7.js → acpAgent-3J4NHAYT.js} +626 -141
- package/chunks/{agent-DPTOZFEM.js → agent-VFX4RPP5.js} +22 -21
- package/chunks/{agent-headless-GJCQMURW.js → agent-headless-6WCF4J6N.js} +22 -21
- package/chunks/{anthropicContentGenerator-G7BVXTKN.js → anthropicContentGenerator-M7XRJMSK.js} +3 -3
- package/chunks/{bridge-YNQBAA4Z.js → bridge-XR5ZSR7U.js} +26 -25
- package/chunks/{ca-4CQ6MYNQ.js → ca-SLZJD6QH.js} +8 -0
- package/chunks/{channel-management-service-GWY2GAIC.js → channel-management-service-X6LCQUAD.js} +1 -1
- package/chunks/{channel-settings-store-WNWYFHG7.js → channel-settings-store-Z7BUEUJE.js} +30 -29
- package/chunks/{channel-worker-group-7LXCMZ77.js → channel-worker-group-TJ35JDPE.js} +2 -2
- package/chunks/{channel-worker-manager-RYEME4ZZ.js → channel-worker-manager-G5LKWGOG.js} +2 -2
- package/chunks/{chunk-MLPXSYXR.js → chunk-25GHLMQQ.js} +25 -16
- package/chunks/chunk-2C6HJMG3.js +757 -0
- package/chunks/{chunk-TUGSVUJB.js → chunk-2JXDFSVE.js} +5 -5
- package/chunks/{chunk-AS5IN4GK.js → chunk-2OA3JMRD.js} +3 -3
- package/chunks/chunk-3PWCMXIR.js +9169 -0
- package/chunks/{chunk-U3VNBPUO.js → chunk-4KQ2TI2K.js} +2 -2
- package/chunks/{chunk-NEFOOD54.js → chunk-4V4DFJBS.js} +2 -2
- package/chunks/{chunk-OMLJNPBE.js → chunk-4ZMS3JCR.js} +1 -0
- package/chunks/{chunk-PP4FUZNV.js → chunk-55PIFSP2.js} +2 -2
- package/chunks/{chunk-3U3VAL47.js → chunk-57KOJ2KZ.js} +1 -1
- package/chunks/{chunk-A4QRWUDE.js → chunk-5IYS4WWR.js} +1 -1
- package/chunks/{chunk-TS6625XH.js → chunk-5MK45KZ3.js} +9 -5
- package/chunks/{chunk-CU6GJD55.js → chunk-6DFPR7CS.js} +1 -1
- package/chunks/{chunk-V57QC6WW.js → chunk-6LAPGPVA.js} +5 -3
- package/chunks/{chunk-OOQUVWIG.js → chunk-6PDOHRN6.js} +4 -4
- package/chunks/{chunk-UZPM4XHR.js → chunk-6VDPDHIP.js} +29 -8
- package/chunks/{chunk-O4D7SPJN.js → chunk-73G3Z7QS.js} +3 -3
- package/chunks/{chunk-QIH2HAEN.js → chunk-7OCSX7FC.js} +1 -1
- package/chunks/{chunk-OVZPVYZB.js → chunk-AKBOLMUF.js} +95 -17
- package/chunks/{chunk-DGK6P3BQ.js → chunk-AQBHJ2IG.js} +10 -10
- package/chunks/{chunk-JNDY2MDR.js → chunk-BOJNAPUE.js} +1 -1
- package/chunks/{chunk-NHDR76JX.js → chunk-BQWNIPTE.js} +1 -1
- package/chunks/{chunk-AA2BEKV3.js → chunk-CH5OFRV7.js} +1 -1
- package/chunks/{chunk-MS7GNABG.js → chunk-CXJHQVEK.js} +8 -0
- package/chunks/{chunk-K5IDV3PC.js → chunk-D34RDOLP.js} +12 -2
- package/chunks/{chunk-OXCMMLED.js → chunk-DGJ7O55J.js} +1 -1
- package/chunks/{chunk-BKPPWD33.js → chunk-DRKYT2TR.js} +1 -1
- package/chunks/{chunk-P7MPQI75.js → chunk-DVR7XKO5.js} +1 -1
- package/chunks/{chunk-MRMJCLIY.js → chunk-DZCV3ZYU.js} +2 -2
- package/chunks/{chunk-EZ5RP345.js → chunk-E5RS7LF4.js} +40 -9
- package/chunks/{chunk-4NFY2S7N.js → chunk-E7REAOTN.js} +15 -0
- package/chunks/chunk-EOCQCNV4.js +3887 -0
- package/chunks/{chunk-BVJS5BSP.js → chunk-FCTLOVYW.js} +1 -1
- package/chunks/{chunk-DGZEMW5R.js → chunk-FS5NGKWC.js} +1 -1
- package/chunks/{chunk-XHRY7BXD.js → chunk-G6FFFICU.js} +3 -3
- package/chunks/{chunk-NM5V5OVW.js → chunk-GV3OIADZ.js} +2 -2
- package/chunks/{chunk-QV5YN5YD.js → chunk-HGPMOXLZ.js} +5 -5
- package/chunks/{chunk-GMIEIY3Y.js → chunk-I3N2Z25H.js} +1 -1
- package/chunks/{chunk-RIAABG2K.js → chunk-I7NTHW4C.js} +1 -1
- package/chunks/{chunk-HUTNYWBG.js → chunk-IOTPI425.js} +18 -10
- package/chunks/{chunk-ZYYTZUI2.js → chunk-ISRHAMNL.js} +3 -3
- package/chunks/{chunk-BHILXOC3.js → chunk-J63PKMYA.js} +1 -1
- package/chunks/{chunk-KD5BOPLP.js → chunk-J6YS7Z25.js} +98 -4
- package/chunks/{chunk-GO7STP6N.js → chunk-K3CECR5C.js} +4 -4
- package/chunks/{chunk-RVOJ2FBP.js → chunk-KC4WMLZO.js} +1486 -10574
- package/chunks/{chunk-IGGGG5CX.js → chunk-KSGWAYNE.js} +4580 -1652
- package/chunks/{chunk-X26JYGTD.js → chunk-L6CCLB3G.js} +1 -1
- package/chunks/{chunk-M6NDLY2T.js → chunk-LD5VIJ7S.js} +1 -1
- package/chunks/{chunk-ZYBBISBY.js → chunk-LLR424CQ.js} +15 -12
- package/chunks/{chunk-JUEPY766.js → chunk-LRDB2OLB.js} +2 -2
- package/chunks/{chunk-PQ36L4F5.js → chunk-MCG53LWC.js} +1 -1
- package/chunks/{chunk-OD2WU5QY.js → chunk-NRPXRNN4.js} +1 -1
- package/chunks/{chunk-76J3IJ3M.js → chunk-NV6LW6FT.js} +3 -3
- package/chunks/{chunk-CKSJECTU.js → chunk-NVRMCWTP.js} +8 -4
- package/chunks/{chunk-Y3YCSWG5.js → chunk-OBJYN4MX.js} +1 -1
- package/chunks/{chunk-WFSTRPRO.js → chunk-OJOP26ET.js} +1 -1
- package/chunks/{chunk-A267JX7H.js → chunk-OLZSWUZR.js} +6 -6
- package/chunks/{chunk-TIGA2IVL.js → chunk-OO4FKHLO.js} +2 -2
- package/chunks/{chunk-OY5RNSV4.js → chunk-OSAFWBNR.js} +3 -3
- package/chunks/{chunk-BZ263IKX.js → chunk-OVY67CYC.js} +1 -1
- package/chunks/{chunk-YEYY7TEP.js → chunk-P425IVUK.js} +5 -5
- package/chunks/{chunk-AFSG32D5.js → chunk-PMS7O6SA.js} +1 -1
- package/chunks/{chunk-6ORZ2EDC.js → chunk-PPTM4O4R.js} +1 -1
- package/chunks/{chunk-JOOFMXGF.js → chunk-QECSDJET.js} +5 -5
- package/chunks/{chunk-CZBYX5MY.js → chunk-QEJZUXSK.js} +1 -1
- package/chunks/{chunk-4PKCUT7F.js → chunk-QIHHJKXT.js} +6 -6
- package/chunks/{chunk-QRCNA3SR.js → chunk-RAQBBGS6.js} +49 -69
- package/chunks/{chunk-M732YJPW.js → chunk-RXHBTKMG.js} +2 -2
- package/chunks/{chunk-XIT3GURH.js → chunk-S6CXQKDD.js} +3 -3
- package/chunks/{chunk-GGDBMYGZ.js → chunk-SA7GBPEA.js} +3 -3
- package/chunks/{chunk-7UXUJ5T3.js → chunk-SBRIBTYN.js} +1 -1
- package/chunks/{chunk-MC4TLKEI.js → chunk-SGLPDKRT.js} +2 -2
- package/chunks/{chunk-WSH6GRKG.js → chunk-SLILKYV2.js} +2 -2
- package/chunks/{chunk-DXIBNLBZ.js → chunk-SNQZZ765.js} +1 -1
- package/chunks/{chunk-5EYKMUUY.js → chunk-SR2LYSMT.js} +1 -1
- package/chunks/{chunk-AW4TRXOC.js → chunk-TNPWODIZ.js} +1 -1
- package/chunks/{chunk-QF2NHSPB.js → chunk-U6RZRKNM.js} +233 -184
- package/chunks/{chunk-QNQAPSN2.js → chunk-UC67T4SF.js} +3 -1
- package/chunks/{chunk-O565M6A4.js → chunk-UYDGFWIJ.js} +199 -14
- package/chunks/{chunk-LJQAUZMR.js → chunk-VGAAAMRD.js} +925 -92
- package/chunks/{chunk-UKMR3CKV.js → chunk-VHPMDDPT.js} +3 -3
- package/chunks/{chunk-S5DWMTHO.js → chunk-WP4WIUOJ.js} +2 -0
- package/chunks/{chunk-25EYDK42.js → chunk-WPVUOVYX.js} +1 -1
- package/chunks/{chunk-AXN7UPYQ.js → chunk-WSSH2BNO.js} +1 -1
- package/chunks/{chunk-6YKYPVDV.js → chunk-WVIABDXV.js} +3 -3
- package/chunks/chunk-WZAD4ZNJ.js +59 -0
- package/chunks/{chunk-N5YPT6PH.js → chunk-X3YA3YGG.js} +7 -4
- package/chunks/{chunk-4S5337WV.js → chunk-XC377TLN.js} +4312 -2704
- package/chunks/{chunk-NNHNLJ2X.js → chunk-XO24LIZC.js} +240 -42
- package/chunks/{chunk-EL5SXY3T.js → chunk-XT4RKHVE.js} +2 -2
- package/chunks/{chunk-FDGGZIYW.js → chunk-YECDICIO.js} +2 -2
- package/chunks/{chunk-E23IPNGS.js → chunk-YFPZ3NNC.js} +12 -3
- package/chunks/{chunk-46UV252V.js → chunk-YHC2EYYG.js} +35 -38
- package/chunks/{chunk-V26NVGAU.js → chunk-YIWH3MKK.js} +8 -3
- package/chunks/{chunk-IWPYVAO2.js → chunk-YXC7JYUI.js} +2 -2
- package/chunks/{chunk-A4MFR4C5.js → chunk-ZIGC3MUS.js} +2 -4
- package/chunks/{chunk-ZZO74WKW.js → chunk-ZXEAEZFN.js} +24 -18
- package/chunks/{computer-use-77C5FHMW.js → computer-use-ABECHPS5.js} +22 -21
- package/chunks/{config-utils-IVHRSXWI.js → config-utils-NJQA5YLJ.js} +2 -2
- package/chunks/{contextCommand-PJ77GBWL.js → contextCommand-4CD5HZQQ.js} +24 -23
- package/chunks/{core-runtime-7VMIKUTG.js → core-runtime-2MOVQ4VX.js} +22 -21
- package/chunks/{create-sub-session-2L5MQRN4.js → create-sub-session-L6NNHG5N.js} +26 -24
- package/chunks/{cron-create-H7UEPDSN.js → cron-create-NFRZEOQX.js} +2 -2
- package/chunks/{cron-delete-6SZK7YFM.js → cron-delete-GFVSVO7C.js} +2 -2
- package/chunks/{cron-list-H25JIHEZ.js → cron-list-NRW34CLU.js} +2 -2
- package/chunks/{daemon-2KTG7ZBN.js → daemon-XH76IXOC.js} +356 -21
- package/chunks/{daemon-git-worktree-guard-DXYIMWFT.js → daemon-git-worktree-guard-BLXFEG4Q.js} +24 -23
- package/chunks/{daemon-status-provider-ZDOYJCU6.js → daemon-status-provider-XGD3TPTO.js} +31 -30
- package/chunks/{daemon-trust-policy-E67OYUK2.js → daemon-trust-policy-THEGCWPO.js} +29 -28
- package/chunks/{daemon-trust-policy-monitor-RYYGCQ3J.js → daemon-trust-policy-monitor-L7L4ACWQ.js} +29 -28
- package/chunks/{de-UBEBKG6V.js → de-AH4LGCF5.js} +8 -0
- package/chunks/{deferred-core-runtime-3SGXFXEQ.js → deferred-core-runtime-YQLHDUGE.js} +22 -21
- package/chunks/{discovery-ORA5J7YP.js → discovery-X2NV535U.js} +1 -1
- package/chunks/{dist-WJ4BHIEW.js → dist-ESS34DHC.js} +72 -0
- package/chunks/{earlyInputCapture-KJMLFVQV.js → earlyInputCapture-PCTXNW7N.js} +22 -21
- package/chunks/{edit-I4LQFAEC.js → edit-QX2EGWYW.js} +25 -23
- package/chunks/{en-X6YV7GME.js → en-MD3GP5YL.js} +8 -0
- package/chunks/{enter-worktree-YNPOJSRH.js → enter-worktree-EM3ZZ2SB.js} +22 -21
- package/chunks/{enterPlanMode-XCPK62ER.js → enterPlanMode-ESCMVAKB.js} +22 -21
- package/chunks/{environment-S7CTIHMX.js → environment-TOJI56YV.js} +25 -24
- package/chunks/{errors-7HB2AIDS.js → errors-DZ5FWWEM.js} +24 -23
- package/chunks/{exit-worktree-AIIY7SR6.js → exit-worktree-KUIJ36XA.js} +22 -21
- package/chunks/{exitPlanMode-R4JY7V2O.js → exitPlanMode-NFVY54FV.js} +22 -21
- package/chunks/{fast-path-NDJV3ZFJ.js → fast-path-JLQXJSH6.js} +3 -3
- package/chunks/{fast-path-settings-LNOFM2YP.js → fast-path-settings-WHX3J3ZI.js} +2 -2
- package/chunks/{fr-VENTC2BS.js → fr-ZEML2JWS.js} +8 -0
- package/chunks/{gemini-RSUFP5OE.js → gemini-I7OT4FWL.js} +62 -61
- package/chunks/{geminiContentGenerator-SQ5XBPZ7.js → geminiContentGenerator-GRIS77NJ.js} +3 -3
- package/chunks/{glob-J4RUJAHX.js → glob-7TBUUV6R.js} +22 -21
- package/chunks/{goal-tools-VHTNVOKK.js → goal-tools-K5OHOJ6B.js} +1 -1
- package/chunks/{grep-VJWPLFOT.js → grep-743SYWCZ.js} +22 -21
- package/chunks/{handleAutoUpdate-POCX2MNB.js → handleAutoUpdate-GAOYUYOD.js} +26 -25
- package/chunks/{i18n-RM5YOICI.js → i18n-2ITURYX6.js} +23 -22
- package/chunks/{image-gen-EXECB5XM.js → image-gen-4OIWDZD6.js} +2 -2
- package/chunks/{initializer-Z2AFGBNR.js → initializer-OC7LWA6X.js} +29 -28
- package/chunks/{installationInfo-4I5FXNMH.js → installationInfo-CO47QX3Q.js} +23 -22
- package/chunks/{ja-QHT4EQTO.js → ja-UM5B2HMD.js} +8 -0
- package/chunks/{list-ZMBFIGZA.js → list-ATR2SFWT.js} +32 -31
- package/chunks/{loadedSettingsAdapter-T6TV4YJ7.js → loadedSettingsAdapter-NK4B7AGK.js} +29 -28
- package/chunks/{loggingContentGenerator-WF4ZOJEZ.js → loggingContentGenerator-3WXBU5TQ.js} +12 -10
- package/chunks/{loop-wakeup-WQS6JYAG.js → loop-wakeup-HWVUU5CF.js} +3 -3
- package/chunks/{managed-npm-update-E7IW6N7V.js → managed-npm-update-4SSBWI2D.js} +23 -22
- package/chunks/{mcp-6UNYX4HG.js → mcp-C62AE2QI.js} +29 -28
- package/chunks/{monitor-EE2UYMGE.js → monitor-FEYEGASA.js} +22 -21
- package/chunks/{nonInteractiveCli-WAY237O4.js → nonInteractiveCli-AJEV5ZWO.js} +59 -57
- package/chunks/{notebook-edit-NTDY4QDU.js → notebook-edit-SLLTEY4O.js} +26 -24
- package/chunks/{openaiContentGenerator-YNFVJMRJ.js → openaiContentGenerator-WLUGIAPX.js} +12 -11
- package/chunks/{pidfile-4XSFLYBZ.js → pidfile-TV2VWUMB.js} +22 -21
- package/chunks/{processUtils-WDA2MJFD.js → processUtils-3IN2ZR55.js} +2 -2
- package/chunks/{pt-VL3I5RNY.js → pt-5BMJ3XYH.js} +8 -0
- package/chunks/{qwenContentGenerator-434M7QKY.js → qwenContentGenerator-GSGRFPJE.js} +25 -24
- package/chunks/{qwenOAuth2-GMYZOO6A.js → qwenOAuth2-JLSTIS4Z.js} +3 -3
- package/chunks/{read-file-TAFBKMNI.js → read-file-6PZZRGZZ.js} +9 -7
- package/chunks/{record-artifact-SEYFJEJF.js → record-artifact-GLU3UWBV.js} +3 -1
- package/chunks/{resumeHistoryUtils-EVG3WYK2.js → resumeHistoryUtils-5GEWKOOO.js} +25 -24
- package/chunks/{ripGrep-WOEK2PXS.js → ripGrep-FX7GBGFN.js} +22 -21
- package/chunks/{ru-4RCKL4PY.js → ru-6GL66ORV.js} +8 -0
- package/chunks/{run-qwen-serve-3QSGRXAN.js → run-qwen-serve-7RHU3NSV.js} +49 -40
- package/chunks/{runtime-5MLLZ7DC.js → runtime-EPOXAMLP.js} +32 -31
- package/chunks/{scheduler-RPBJ63CH.js → scheduler-F4Y7ENVV.js} +24 -23
- package/chunks/{sdk-exporters-http-XUVP63H6.js → sdk-exporters-http-NC746HLT.js} +2 -2
- package/chunks/{sdk-impl-YXUEN2Z2.js → sdk-impl-YVL7BP6Y.js} +2 -2
- package/chunks/{send-message-VZENRWRH.js → send-message-TNBG5EVA.js} +1 -1
- package/chunks/{serve-HS3XLPXU.js → serve-LQV4TN5A.js} +29 -30
- package/chunks/{server-TC4A7AAZ.js → server-IZCKLIYQ.js} +1267 -165
- package/chunks/{session-UBOFXVMN.js → session-52ZGTDVB.js} +60 -58
- package/chunks/{settings-D5644OM5.js → settings-WCVB34HW.js} +28 -27
- package/chunks/{shell-3PZULQQV.js → shell-33BIUBLH.js} +22 -21
- package/chunks/{skill-PEVVXQ3L.js → skill-IYVQ2QNK.js} +11 -9
- package/chunks/{skill-settings-J65JKKES.js → skill-settings-YG4ZS4OZ.js} +28 -27
- package/chunks/{spawnChannel-IYGXRHSQ.js → spawnChannel-BLA4YT4W.js} +24 -23
- package/chunks/{standalone-update-IFM53PE7.js → standalone-update-ALRIPWSM.js} +24 -23
- package/chunks/{startInteractiveUI-3AVH7L6H.js → startInteractiveUI-PISBXWKA.js} +262 -191
- package/chunks/{task-create-FCBDX7UH.js → task-create-EILHJJB7.js} +4 -4
- package/chunks/{task-list-YIYIUFUA.js → task-list-WGJR6YL5.js} +18 -4
- package/chunks/{task-update-MYPFVOVM.js → task-update-XZAHVXJ5.js} +79 -8
- package/chunks/{team-create-ZAIA7KAV.js → team-create-CIQDCC6A.js} +23 -23
- package/chunks/{team-delete-6UMU4XLS.js → team-delete-UEP4QOOT.js} +3 -3
- package/chunks/{team-plan-approval-UNIUS7OD.js → team-plan-approval-664XCRB4.js} +22 -21
- package/chunks/{terminal-image-renderer-G343P2RV.js → terminal-image-renderer-TEBO6ONY.js} +22 -21
- package/chunks/{theme-manager-Z3RIT7DB.js → theme-manager-3CIFH2JV.js} +22 -21
- package/chunks/{todoWrite-U2R4NVF4.js → todoWrite-ATS62CAP.js} +1 -1
- package/chunks/{tool-search-5R2OE4C7.js → tool-search-IJX5JHJB.js} +9 -7
- package/chunks/{total-session-admission-4KBHMQQ2.js → total-session-admission-XBK2NVRV.js} +26 -25
- package/chunks/{trustedFolders-LK6T4XC7.js → trustedFolders-OOFNLRWK.js} +23 -22
- package/chunks/{update-relaunch-UBKROIC6.js → update-relaunch-EIG7EYAQ.js} +5 -5
- package/chunks/{updateCheck-W4Y2GFSD.js → updateCheck-KYDCBLSF.js} +25 -24
- package/chunks/{useAutoAcceptIndicator-C7BEICBF.js → useAutoAcceptIndicator-RFX3KNBN.js} +31 -30
- package/chunks/{validateNonInterActiveAuth-LTEI2TB6.js → validateNonInterActiveAuth-MZXSAITU.js} +56 -54
- package/chunks/{version-G5A5DGVS.js → version-PJC6ZNXV.js} +1 -1
- package/chunks/{web-fetch-RTEQTR5Z.js → web-fetch-XXICVGKQ.js} +11 -8
- package/chunks/{web-search-5OXHEZPV.js → web-search-LHPM6QWC.js} +2 -2
- package/chunks/{workflow-ISQJHPG2.js → workflow-4CUO2BV7.js} +139 -37
- package/chunks/{workspace-providers-status-2ZPZPUPZ.js → workspace-providers-status-G4MUGH3X.js} +32 -31
- package/chunks/{workspace-registration-store-CYNY6IP6.js → workspace-registration-store-QMDMFWBE.js} +1 -1
- package/chunks/{workspace-registry-34GTUUHB.js → workspace-registry-FKBB4MZK.js} +26 -25
- package/chunks/{workspace-service-XCDQLE2Y.js → workspace-service-TIDTTA65.js} +33 -32
- package/chunks/{workspace-skills-status-RS4O7AIJ.js → workspace-skills-status-LBC2TZKM.js} +30 -29
- package/chunks/{workspace-trust-reconciler-AYGXC7A3.js → workspace-trust-reconciler-4KJ567XP.js} +33 -32
- package/chunks/{write-file-EWXKVVXF.js → write-file-R6LAEER5.js} +22 -21
- package/chunks/{zh-TW-SQ4HTSCW.js → zh-TW-LVLBK4KF.js} +8 -0
- package/chunks/{zh-LMSTK4WD.js → zh-UBMWS2BJ.js} +8 -0
- package/chunks/{zoom-image-4BFYJ3HG.js → zoom-image-XLCK6DDK.js} +14 -11
- package/cli.js +13 -13
- package/locales/ca.js +13 -0
- package/locales/de.js +12 -0
- package/locales/en.js +11 -0
- package/locales/fr.js +13 -0
- package/locales/ja.js +13 -0
- package/locales/pt.js +12 -0
- package/locales/ru.js +12 -0
- package/locales/zh-TW.js +11 -0
- package/locales/zh.js +11 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-CgOpDKvm.js → arc-DItbX0DI.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-0Ag_m34F.js → architectureDiagram-3BPJPVTR-CmnIlH8y.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-IwTwFau0.js → blockDiagram-GPEHLZMM-pObnB9kw.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DLa5GUv8.js → c4Diagram-AAUBKEIU-BNBmMS0Y.js} +1 -1
- package/web-shell/assets/channel-hZnMfWA9.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DcYP-WFG.js → chunk-2J33WTMH-Dz4JBOO6.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-C8MVPMiQ.js → chunk-4BX2VUAB-Cz2GnvAR.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BUi4Yfv3.js → chunk-55IACEB6-CC6kOQYx.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-Cy3Su2YY.js → chunk-727SXJPM-Z4lY4gbh.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-Dp8Teqv6.js → chunk-AQP2D5EJ-Yz0hZr3D.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BDTDM-4j.js → chunk-FMBD7UC4-nKmTWTv9.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-7HfDt0r2.js → chunk-ND2GUHAM-CjZz0f6Y.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BIBU0uCF.js → chunk-QZHKN3VN-Bab3FpuS.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BRnxm8DX.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BRnxm8DX.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-DRLdcg9p.js → cose-bilkent-S5V4N54A-BuSAGFox.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DCCgDwqW.js → dagre-BM42HDAG-CRZXTg3g.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-CsBTBmk3.js → diagram-2AECGRRQ-BFx1Ayrz.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-C9qjH8Lt.js → diagram-5GNKFQAL-B2hMZ3gS.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Brjs_lj2.js → diagram-KO2AKTUF-DKxAQLmc.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-DtiWCl_F.js → diagram-LMA3HP47-Bo1xGqVY.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DmfKLkBT.js → diagram-OG6HWLK6-B9NG78d-.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-Bve_4deH.js → erDiagram-TEJ5UH35-DltQKiqQ.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-C2_kXCcV.js → flowDiagram-I6XJVG4X-5xXGmS4I.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BSBIjiTF.js → ganttDiagram-6RSMTGT7-bhGL5n0l.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CyebwI55.js → gitGraphDiagram-PVQCEYII-ZYnz9hgh.js} +1 -1
- package/web-shell/assets/{index-d0yfnV1M.js → index-CBBeUArD.js} +1 -1
- package/web-shell/assets/index-CbgU-jUo.css +5 -0
- package/web-shell/assets/index-_nhzXqab.js +1750 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CSDGnWxU.js → infoDiagram-5YYISTIA-Cg-jamQf.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BK4jU13p.js → ishikawaDiagram-YF4QCWOH-CcmvKlyq.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-D_W6j-oF.js → journeyDiagram-JHISSGLW-BRsOQZp1.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-C7xf-SdC.js → kanban-definition-UN3LZRKU-xW-dmEHK.js} +1 -1
- package/web-shell/assets/{linear-DQmzxpxd.js → linear-ClBfEZH2.js} +1 -1
- package/web-shell/assets/{mermaid.core-9P7AGOLG.js → mermaid.core-D65NDkzc.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DgcgMyPk.js → mindmap-definition-RKZ34NQL-CyvFslYa.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-3wWGb9eG.js → pieDiagram-4H26LBE5-BwSefMyG.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-BeCXnQw9.js → quadrantDiagram-W4KKPZXB-GqBJspFS.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-Bi1UOHDz.js → requirementDiagram-4Y6WPE33-B137PlTJ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-lrLUjjbb.js → sankeyDiagram-5OEKKPKP-maHkkt8i.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-BFuqKz6Q.js → sequenceDiagram-3UESZ5HK-DJ1mRaG3.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-8DemQLhu.js → stateDiagram-AJRCARHV-aRmP7Q4i.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Db39gvZ_.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-uzEuVQXg.js → timeline-definition-PNZ67QCA-CIQ3BRPA.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BQTeZ_-o.js → vennDiagram-CIIHVFJN-DR9VPd5h.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-B6yM5Im7.js → wardley-L42UT6IY-ZcfIbT4D.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-ChM8bmgn.js → wardleyDiagram-YWT4CUSO-D0jgPi4T.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-oNG6HyB1.js → xychartDiagram-2RQKCTM6-BGWU4s5o.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-MPHPFVKK.js +0 -48
- package/chunks/chunk-RLKC46YT.js +0 -3582
- package/chunks/chunk-UPDOZBWO.js +0 -358
- package/web-shell/assets/channel-BrGVBa2L.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-B5TUzJzI.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-B5TUzJzI.js +0 -1
- package/web-shell/assets/index-CIDsgxTe.js +0 -1792
- package/web-shell/assets/index-DiQnWi_E.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DhM5ixYd.js +0 -1
- /package/chunks/{chunk-NTTBXH7U.js → chunk-UGK4K2N2.js} +0 -0
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-2AUM35J5.js";
|
|
6
6
|
import {
|
|
7
7
|
getNpmCliPath
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DRKYT2TR.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IOTPI425.js";
|
|
12
12
|
import {
|
|
13
13
|
getPackageJson
|
|
14
14
|
} from "./chunk-WZMH7II3.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./chunk-3Z43GZUQ.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IOTPI425.js";
|
|
12
12
|
import {
|
|
13
13
|
So
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XC377TLN.js";
|
|
15
15
|
import {
|
|
16
16
|
createDebugLogger
|
|
17
17
|
} from "./chunk-BUQDLC2G.js";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import {
|
|
4
4
|
UNSAFE_OBJECT_KEYS,
|
|
5
5
|
getPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5IYS4WWR.js";
|
|
7
7
|
import {
|
|
8
8
|
loadSettings,
|
|
9
9
|
saveSettings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OLZSWUZR.js";
|
|
11
11
|
import {
|
|
12
12
|
init_esbuild_shims
|
|
13
13
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -233,7 +233,7 @@ function ensureBuiltins() {
|
|
|
233
233
|
builtinsPromise = (async () => {
|
|
234
234
|
const labelled = [
|
|
235
235
|
{ name: "telegram", promise: import("./dist-BROOP2EG.js") },
|
|
236
|
-
{ name: "weixin", promise: import("./dist-
|
|
236
|
+
{ name: "weixin", promise: import("./dist-ESS34DHC.js") },
|
|
237
237
|
{ name: "dingtalk", promise: import("./dist-IYYN3RUT.js") },
|
|
238
238
|
{ name: "wecom", promise: import("./dist-JWMKPWT5.js") },
|
|
239
239
|
{ name: "feishu", promise: import("./dist-MAQXAQ2Y.js") },
|
|
@@ -132,19 +132,23 @@ async function readExistingRecord(filePath) {
|
|
|
132
132
|
filePath,
|
|
133
133
|
process.platform === "win32" ? fsConstants.O_RDONLY : fsConstants.O_RDONLY | fsConstants.O_NOFOLLOW
|
|
134
134
|
);
|
|
135
|
-
} catch {
|
|
136
|
-
|
|
135
|
+
} catch (error) {
|
|
136
|
+
if (error.code === "ELOOP") {
|
|
137
|
+
throw new LiveDiscoveryStateError(error);
|
|
138
|
+
}
|
|
139
|
+
throw error;
|
|
137
140
|
}
|
|
138
141
|
try {
|
|
139
142
|
const handleStat = await handle.stat();
|
|
140
143
|
if (!handleStat.isFile() || handleStat.nlink !== 1 || handleStat.dev !== stat.dev || handleStat.ino !== stat.ino || handleStat.size !== stat.size || process.platform !== "win32" && ((handleStat.mode & 511) !== 384 || typeof process.getuid === "function" && handleStat.uid !== process.getuid())) {
|
|
141
144
|
throw new LiveDiscoveryStateError();
|
|
142
145
|
}
|
|
146
|
+
const serialized = await handle.readFile("utf8");
|
|
143
147
|
let parsed;
|
|
144
148
|
try {
|
|
145
|
-
parsed = JSON.parse(
|
|
146
|
-
} catch {
|
|
147
|
-
throw new LiveDiscoveryStateError();
|
|
149
|
+
parsed = JSON.parse(serialized);
|
|
150
|
+
} catch (error) {
|
|
151
|
+
throw new LiveDiscoveryStateError(error);
|
|
148
152
|
}
|
|
149
153
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) {
|
|
150
154
|
throw new LiveDiscoveryStateError();
|
|
@@ -13,12 +13,14 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
setToolCallPreparations
|
|
15
15
|
} from "./chunk-GLCZKT5V.js";
|
|
16
|
+
import {
|
|
17
|
+
normalizeMcpToolName
|
|
18
|
+
} from "./chunk-WZAD4ZNJ.js";
|
|
16
19
|
import {
|
|
17
20
|
TOKEN_ESTIMATE_UNITS_PER_TOKEN,
|
|
18
21
|
estimateTextTokenUnits,
|
|
19
|
-
estimateTextTokens
|
|
20
|
-
|
|
21
|
-
} from "./chunk-46UV252V.js";
|
|
22
|
+
estimateTextTokens
|
|
23
|
+
} from "./chunk-YHC2EYYG.js";
|
|
22
24
|
import {
|
|
23
25
|
createDebugLogger
|
|
24
26
|
} from "./chunk-BUQDLC2G.js";
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getGitVersion,
|
|
5
5
|
getNpmVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G6FFFICU.js";
|
|
7
7
|
import {
|
|
8
8
|
buildEnvStatusFromEnv,
|
|
9
9
|
snapshotProcessEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GV3OIADZ.js";
|
|
11
11
|
import {
|
|
12
12
|
mapDomainErrorToErrorKind
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UC67T4SF.js";
|
|
14
14
|
import {
|
|
15
15
|
canUseRipgrep
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XC377TLN.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
19
19
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XO24LIZC.js";
|
|
6
6
|
import {
|
|
7
|
+
observeHeadlessToolResultProjection,
|
|
8
|
+
observeHeadlessToolResultWire,
|
|
7
9
|
projectJsonStringToByteBudget
|
|
8
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EOCQCNV4.js";
|
|
9
11
|
import {
|
|
10
|
-
parseAndFormatApiError
|
|
11
|
-
|
|
12
|
+
parseAndFormatApiError,
|
|
13
|
+
toolResultBoundaryArtifact
|
|
14
|
+
} from "./chunk-XC377TLN.js";
|
|
12
15
|
import {
|
|
13
16
|
formatVisionBridgeNoticeDisplay,
|
|
14
17
|
isVisionBridgeNoticeDisplay
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KC4WMLZO.js";
|
|
16
19
|
import {
|
|
17
20
|
init_esbuild_shims
|
|
18
21
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -725,8 +728,10 @@ ${event.value}`, null);
|
|
|
725
728
|
is_error: hasError
|
|
726
729
|
};
|
|
727
730
|
const content = toolResultContent(response);
|
|
731
|
+
let projectedContent;
|
|
728
732
|
if (content !== void 0) {
|
|
729
|
-
|
|
733
|
+
projectedContent = projectHeadlessToolResultContent(content);
|
|
734
|
+
block.content = projectedContent;
|
|
730
735
|
}
|
|
731
736
|
const message = {
|
|
732
737
|
type: "user",
|
|
@@ -738,6 +743,18 @@ ${event.value}`, null);
|
|
|
738
743
|
content: [block]
|
|
739
744
|
}
|
|
740
745
|
};
|
|
746
|
+
if (content !== void 0 && projectedContent !== void 0) {
|
|
747
|
+
observeHeadlessToolResultProjection(
|
|
748
|
+
message,
|
|
749
|
+
content,
|
|
750
|
+
projectedContent,
|
|
751
|
+
request.callId,
|
|
752
|
+
response.boundaryArtifact ?? toolResultBoundaryArtifact(
|
|
753
|
+
response.persistedOutputFiles,
|
|
754
|
+
response.artifacts
|
|
755
|
+
)
|
|
756
|
+
);
|
|
757
|
+
}
|
|
741
758
|
this.emitMessageImpl(message);
|
|
742
759
|
}
|
|
743
760
|
/**
|
|
@@ -1018,8 +1035,12 @@ var StreamJsonOutputAdapter = class extends BaseJsonOutputAdapter {
|
|
|
1018
1035
|
if (typeof message === "object" && message !== null && "type" in message && message.type === "assistant") {
|
|
1019
1036
|
this.updateLastAssistantMessage(message);
|
|
1020
1037
|
}
|
|
1021
|
-
|
|
1022
|
-
|
|
1038
|
+
const frame = `${JSON.stringify(message)}
|
|
1039
|
+
`;
|
|
1040
|
+
if ("session_id" in message) {
|
|
1041
|
+
observeHeadlessToolResultWire(message, frame);
|
|
1042
|
+
}
|
|
1043
|
+
this.outputStream.write(frame);
|
|
1023
1044
|
}
|
|
1024
1045
|
/**
|
|
1025
1046
|
* Control-plane messages (control_request / control_response) share the
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
sanitizeFilenameForDisplay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E7REAOTN.js";
|
|
6
6
|
import {
|
|
7
7
|
t
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IOTPI425.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchGitDiff,
|
|
11
11
|
findProviderByCredentials,
|
|
12
12
|
resolveMetadataKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XC377TLN.js";
|
|
14
14
|
import {
|
|
15
15
|
init_esbuild_shims
|
|
16
16
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-CPBF7KYF.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteJSON
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YECDICIO.js";
|
|
14
14
|
import {
|
|
15
15
|
Storage,
|
|
16
16
|
isNodeError
|
|
@@ -24,8 +24,86 @@ import {
|
|
|
24
24
|
|
|
25
25
|
// packages/core/src/agents/team/teamHelpers.ts
|
|
26
26
|
init_esbuild_shims();
|
|
27
|
-
import * as
|
|
27
|
+
import * as fs2 from "node:fs/promises";
|
|
28
28
|
import * as path from "node:path";
|
|
29
|
+
|
|
30
|
+
// packages/core/src/utils/process-liveness.ts
|
|
31
|
+
init_esbuild_shims();
|
|
32
|
+
import * as fs from "node:fs";
|
|
33
|
+
function isPidAlive(pid) {
|
|
34
|
+
if (!Number.isInteger(pid) || pid <= 0) return false;
|
|
35
|
+
try {
|
|
36
|
+
process.kill(pid, 0);
|
|
37
|
+
return !isZombie(pid);
|
|
38
|
+
} catch (err) {
|
|
39
|
+
return isNodeError(err) && (err.code === "EPERM" || err.code === "EACCES") && !isZombie(pid);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
__name(isPidAlive, "isPidAlive");
|
|
43
|
+
function isZombie(pid) {
|
|
44
|
+
if (process.platform !== "linux") return false;
|
|
45
|
+
let raw;
|
|
46
|
+
try {
|
|
47
|
+
raw = fs.readFileSync(`/proc/${pid}/stat`, "utf8");
|
|
48
|
+
} catch {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
const commEnd = raw.lastIndexOf(")");
|
|
52
|
+
if (commEnd === -1) return false;
|
|
53
|
+
return raw.slice(commEnd + 1).trimStart().startsWith("Z");
|
|
54
|
+
}
|
|
55
|
+
__name(isZombie, "isZombie");
|
|
56
|
+
function readProcStartToken(pid) {
|
|
57
|
+
if (process.platform !== "linux") return null;
|
|
58
|
+
if (!Number.isInteger(pid) || pid <= 0) return null;
|
|
59
|
+
const bootId = readLocalBootId();
|
|
60
|
+
if (bootId === null) return null;
|
|
61
|
+
let raw;
|
|
62
|
+
try {
|
|
63
|
+
raw = fs.readFileSync(`/proc/${pid}/stat`, "utf8");
|
|
64
|
+
} catch {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
const commEnd = raw.lastIndexOf(")");
|
|
68
|
+
if (commEnd === -1) return null;
|
|
69
|
+
const fields = raw.slice(commEnd + 1).trim().split(/\s+/);
|
|
70
|
+
const startTime = fields[19];
|
|
71
|
+
return startTime !== void 0 && /^\d+$/.test(startTime) ? `${bootId}:${startTime}` : null;
|
|
72
|
+
}
|
|
73
|
+
__name(readProcStartToken, "readProcStartToken");
|
|
74
|
+
var cachedBootId;
|
|
75
|
+
function readLocalBootId() {
|
|
76
|
+
if (cachedBootId !== void 0) return cachedBootId;
|
|
77
|
+
try {
|
|
78
|
+
const value = fs.readFileSync("/proc/sys/kernel/random/boot_id", "utf8").trim();
|
|
79
|
+
if (/^[0-9a-f-]+$/i.test(value)) {
|
|
80
|
+
cachedBootId = value;
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
} catch {
|
|
84
|
+
}
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
__name(readLocalBootId, "readLocalBootId");
|
|
88
|
+
function readPidNamespaceId() {
|
|
89
|
+
if (process.platform !== "linux") return null;
|
|
90
|
+
try {
|
|
91
|
+
return fs.statSync("/proc/self/ns/pid").ino;
|
|
92
|
+
} catch {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
__name(readPidNamespaceId, "readPidNamespaceId");
|
|
97
|
+
function isSameProcess(pid, procStart) {
|
|
98
|
+
if (!isPidAlive(pid)) return false;
|
|
99
|
+
if (procStart == null) return true;
|
|
100
|
+
const current = readProcStartToken(pid);
|
|
101
|
+
if (current === null) return true;
|
|
102
|
+
return current === procStart;
|
|
103
|
+
}
|
|
104
|
+
__name(isSameProcess, "isSameProcess");
|
|
105
|
+
|
|
106
|
+
// packages/core/src/agents/team/teamHelpers.ts
|
|
29
107
|
function getTeamsRootDir() {
|
|
30
108
|
return path.join(Storage.getGlobalQwenDir(), TEAMS_DIR);
|
|
31
109
|
}
|
|
@@ -103,7 +181,7 @@ __name(classifyShutdownResponse, "classifyShutdownResponse");
|
|
|
103
181
|
async function readTeamFile(teamName) {
|
|
104
182
|
const filePath = getTeamFilePath(teamName);
|
|
105
183
|
try {
|
|
106
|
-
const raw = await
|
|
184
|
+
const raw = await fs2.readFile(filePath, "utf-8");
|
|
107
185
|
return JSON.parse(raw);
|
|
108
186
|
} catch (err) {
|
|
109
187
|
if (isNodeError(err) && err.code === "ENOENT") {
|
|
@@ -115,28 +193,19 @@ async function readTeamFile(teamName) {
|
|
|
115
193
|
__name(readTeamFile, "readTeamFile");
|
|
116
194
|
async function writeTeamFile(teamName, teamFile) {
|
|
117
195
|
const filePath = getTeamFilePath(teamName);
|
|
118
|
-
await
|
|
196
|
+
await fs2.mkdir(path.dirname(filePath), { recursive: true });
|
|
119
197
|
await atomicWriteJSON(filePath, teamFile);
|
|
120
198
|
}
|
|
121
199
|
__name(writeTeamFile, "writeTeamFile");
|
|
122
200
|
async function createTeamFile(teamName, teamFile) {
|
|
123
201
|
const filePath = getTeamFilePath(teamName);
|
|
124
|
-
await
|
|
125
|
-
await
|
|
202
|
+
await fs2.mkdir(path.dirname(filePath), { recursive: true });
|
|
203
|
+
await fs2.writeFile(filePath, JSON.stringify(teamFile, null, 2) + "\n", {
|
|
126
204
|
encoding: "utf-8",
|
|
127
205
|
flag: "wx"
|
|
128
206
|
});
|
|
129
207
|
}
|
|
130
208
|
__name(createTeamFile, "createTeamFile");
|
|
131
|
-
function isPidAlive(pid) {
|
|
132
|
-
try {
|
|
133
|
-
process.kill(pid, 0);
|
|
134
|
-
return true;
|
|
135
|
-
} catch (err) {
|
|
136
|
-
return isNodeError(err) && err.code === "EPERM";
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
__name(isPidAlive, "isPidAlive");
|
|
140
209
|
async function tryReclaimStaleTeam(teamName) {
|
|
141
210
|
let existing;
|
|
142
211
|
try {
|
|
@@ -162,13 +231,17 @@ async function deleteTeamDirs(teamName) {
|
|
|
162
231
|
const teamDir = getTeamDir(teamName);
|
|
163
232
|
const tasksDir = getTasksDir(teamName);
|
|
164
233
|
await Promise.allSettled([
|
|
165
|
-
|
|
166
|
-
|
|
234
|
+
fs2.rm(teamDir, { recursive: true, force: true }),
|
|
235
|
+
fs2.rm(tasksDir, { recursive: true, force: true })
|
|
167
236
|
]);
|
|
168
237
|
}
|
|
169
238
|
__name(deleteTeamDirs, "deleteTeamDirs");
|
|
170
239
|
|
|
171
240
|
export {
|
|
241
|
+
readProcStartToken,
|
|
242
|
+
readLocalBootId,
|
|
243
|
+
readPidNamespaceId,
|
|
244
|
+
isSameProcess,
|
|
172
245
|
getTeamDir,
|
|
173
246
|
getInboxesDir,
|
|
174
247
|
getTasksDir,
|
|
@@ -183,6 +256,11 @@ export {
|
|
|
183
256
|
tryReclaimStaleTeam,
|
|
184
257
|
deleteTeamDirs
|
|
185
258
|
};
|
|
259
|
+
/**
|
|
260
|
+
* @license
|
|
261
|
+
* Copyright 2026 Qwen
|
|
262
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
263
|
+
*/
|
|
186
264
|
/**
|
|
187
265
|
* @license
|
|
188
266
|
* Copyright 2025 Qwen
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
appEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KSGWAYNE.js";
|
|
6
6
|
import {
|
|
7
7
|
CUSTOM_SANDBOX_IMAGE_ENV_VAR,
|
|
8
8
|
HOST_UPDATE_RELAUNCH_ENV_VAR,
|
|
9
9
|
SKIP_UPDATE_CHECK_ENV_VAR,
|
|
10
10
|
requestUpdateOnExit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MCG53LWC.js";
|
|
12
12
|
import {
|
|
13
13
|
loadUndici
|
|
14
14
|
} from "./chunk-3Z43GZUQ.js";
|
|
15
15
|
import {
|
|
16
16
|
IdeClient,
|
|
17
17
|
getAllProviderBaseUrls
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XC377TLN.js";
|
|
19
19
|
import {
|
|
20
20
|
detectRuntime,
|
|
21
21
|
getOrCreateSharedDispatcher,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-CPHEPGAO.js";
|
|
25
25
|
import {
|
|
26
26
|
initializeTelemetry
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XT4RKHVE.js";
|
|
28
28
|
import {
|
|
29
29
|
createDebugLogger
|
|
30
30
|
} from "./chunk-BUQDLC2G.js";
|
|
@@ -231,11 +231,11 @@ function startPostRenderPrefetches(config, settings, options = {}) {
|
|
|
231
231
|
{ updateEventEmitter },
|
|
232
232
|
{ t }
|
|
233
233
|
] = await Promise.all([
|
|
234
|
-
import("./updateCheck-
|
|
235
|
-
import("./handleAutoUpdate-
|
|
236
|
-
import("./installationInfo-
|
|
234
|
+
import("./updateCheck-KYDCBLSF.js"),
|
|
235
|
+
import("./handleAutoUpdate-GAOYUYOD.js"),
|
|
236
|
+
import("./installationInfo-CO47QX3Q.js"),
|
|
237
237
|
import("./updateEventEmitter-5MKC7BLQ.js"),
|
|
238
|
-
import("./i18n-
|
|
238
|
+
import("./i18n-2ITURYX6.js")
|
|
239
239
|
]);
|
|
240
240
|
const updateCheckSkippedMessage = /* @__PURE__ */ __name((error) => t("Update check skipped ({{reason}}) \u2014 run /update to retry.", {
|
|
241
241
|
reason: describeUpdateCheckFailure(error)
|
|
@@ -308,7 +308,7 @@ ${t(
|
|
|
308
308
|
state: "connecting"
|
|
309
309
|
});
|
|
310
310
|
try {
|
|
311
|
-
const { connectIdeForStartup } = await import("./initializer-
|
|
311
|
+
const { connectIdeForStartup } = await import("./initializer-OC7LWA6X.js");
|
|
312
312
|
await withTimeout(
|
|
313
313
|
connectIdeForStartup(config),
|
|
314
314
|
"ide_connect",
|
|
@@ -332,7 +332,7 @@ ${t(
|
|
|
332
332
|
}
|
|
333
333
|
if (config.isInteractive()) {
|
|
334
334
|
runDeferredTask("background_housekeeping", async () => {
|
|
335
|
-
const { startBackgroundHousekeeping } = await import("./scheduler-
|
|
335
|
+
const { startBackgroundHousekeeping } = await import("./scheduler-F4Y7ENVV.js");
|
|
336
336
|
startBackgroundHousekeeping(config, settings);
|
|
337
337
|
});
|
|
338
338
|
}
|
|
@@ -563,7 +563,7 @@ var WorkspaceRegistrationStore = class {
|
|
|
563
563
|
return removed;
|
|
564
564
|
}
|
|
565
565
|
async update(mutate) {
|
|
566
|
-
const { atomicWriteFile } = await import("./deferred-core-runtime-
|
|
566
|
+
const { atomicWriteFile } = await import("./deferred-core-runtime-YQLHDUGE.js");
|
|
567
567
|
return withInProcessLock(this.filePath, async () => {
|
|
568
568
|
const lock = await acquireFileLock(this.filePath);
|
|
569
569
|
let committed = false;
|
|
@@ -189,6 +189,14 @@ var PROJECT_ENV_HARDCODED_EXCLUSIONS = [
|
|
|
189
189
|
// operator set in the daemon's launch env still apply.
|
|
190
190
|
"QWEN_CDP_MCP_COMMAND",
|
|
191
191
|
"QWEN_SERVE_CDP_TUNNEL_OVER_WS",
|
|
192
|
+
// QWEN_SERVE_NEW_FILE_MODE decides the creation mode of every agent-written
|
|
193
|
+
// NEW file (owner-only 0600 vs umask-derived). A project `.env` flipping it
|
|
194
|
+
// to `system` would silently widen file visibility daemon-wide — including
|
|
195
|
+
// files written for OTHER workspaces — with no warning, since `system` is a
|
|
196
|
+
// valid value. The fail-closed 0600 posture is an operator decision
|
|
197
|
+
// (documented as a per-daemon opt-in), so only the daemon's launch
|
|
198
|
+
// environment or a home `.env` may set it.
|
|
199
|
+
"QWEN_SERVE_NEW_FILE_MODE",
|
|
192
200
|
// DEV gates the daemon's inherited-loader-env scrub (run-qwen-serve.ts);
|
|
193
201
|
// only the dev harness (scripts/dev.js) stamps it into the launch env. A
|
|
194
202
|
// project file setting it would silently keep loader vars in the base env
|
|
@@ -415,16 +415,25 @@ function unregisterSessionProjectDir(sessionId) {
|
|
|
415
415
|
}
|
|
416
416
|
__name(unregisterSessionProjectDir, "unregisterSessionProjectDir");
|
|
417
417
|
var modelBySession = /* @__PURE__ */ new Map();
|
|
418
|
-
|
|
419
|
-
|
|
418
|
+
var modelIdentityBySession = /* @__PURE__ */ new Map();
|
|
419
|
+
function registerSessionModel(sessionId, model, identity) {
|
|
420
|
+
if (!sessionId || !model) return;
|
|
421
|
+
modelBySession.set(sessionId, model);
|
|
422
|
+
if (identity) modelIdentityBySession.set(sessionId, identity);
|
|
423
|
+
else modelIdentityBySession.delete(sessionId);
|
|
420
424
|
}
|
|
421
425
|
__name(registerSessionModel, "registerSessionModel");
|
|
422
426
|
function getSessionModel(sessionId) {
|
|
423
427
|
return modelBySession.get(sessionId);
|
|
424
428
|
}
|
|
425
429
|
__name(getSessionModel, "getSessionModel");
|
|
430
|
+
function getSessionModelIdentity(sessionId) {
|
|
431
|
+
return modelIdentityBySession.get(sessionId);
|
|
432
|
+
}
|
|
433
|
+
__name(getSessionModelIdentity, "getSessionModelIdentity");
|
|
426
434
|
function unregisterSessionModel(sessionId) {
|
|
427
435
|
modelBySession.delete(sessionId);
|
|
436
|
+
modelIdentityBySession.delete(sessionId);
|
|
428
437
|
}
|
|
429
438
|
__name(unregisterSessionModel, "unregisterSessionModel");
|
|
430
439
|
|
|
@@ -505,6 +514,7 @@ export {
|
|
|
505
514
|
unregisterSessionProjectDir,
|
|
506
515
|
registerSessionModel,
|
|
507
516
|
getSessionModel,
|
|
517
|
+
getSessionModelIdentity,
|
|
508
518
|
unregisterSessionModel
|
|
509
519
|
};
|
|
510
520
|
/**
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
useKeypress
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RXHBTKMG.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-IOTPI425.js";
|
|
12
12
|
import {
|
|
13
13
|
APPROVAL_MODES
|
|
14
14
|
} from "./chunk-RWDNJBWN.js";
|