@qwen-code/qwen-code 0.21.10 → 0.21.11-nightly.20260815.c396fe3d12
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/coordinate/SKILL.md +52 -0
- package/bundled/qc-helper/docs/configuration/model-providers.md +10 -8
- package/bundled/qc-helper/docs/configuration/settings.md +10 -0
- package/bundled/qc-helper/docs/extension/_meta.ts +1 -0
- package/bundled/qc-helper/docs/extension/agent-plugins.md +50 -0
- package/bundled/qc-helper/docs/extension/extension-releasing.md +3 -3
- package/bundled/qc-helper/docs/extension/introduction.md +17 -3
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/arena.md +4 -3
- package/bundled/qc-helper/docs/features/channels/overview.md +1 -1
- package/bundled/qc-helper/docs/features/channels/plugins.md +11 -11
- package/bundled/qc-helper/docs/features/code-review.md +1 -1
- package/bundled/qc-helper/docs/features/commands.md +7 -6
- package/bundled/qc-helper/docs/features/dual-output.md +5 -0
- package/bundled/qc-helper/docs/features/headless.md +8 -0
- package/bundled/qc-helper/docs/features/multi-agent-coordination.md +30 -0
- package/bundled/qc-helper/docs/qwen-serve.md +105 -40
- package/bundled/review/SKILL.md +72 -43
- package/chunks/{MaxSizedBox-FKXYULMW.js → MaxSizedBox-RRYY7LE5.js} +45 -44
- package/chunks/{StandaloneSessionPicker-OQS3M7AY.js → StandaloneSessionPicker-CK3O3N7F.js} +68 -67
- package/chunks/{acp-startup-profiler-VNTFWYAC.js → acp-startup-profiler-SVPUHLXV.js} +2 -2
- package/chunks/{acpAgent-AGS6HLQQ.js → acpAgent-DXUWYWDM.js} +1889 -640
- package/chunks/{agent-4NCVO27U.js → agent-DEPG4BP7.js} +42 -41
- package/chunks/agent-headless-VLBUWGPP.js +87 -0
- package/chunks/{anthropicContentGenerator-D3Y4RFT4.js → anthropicContentGenerator-YDT4EOKO.js} +8 -8
- package/chunks/{artifact-tool-N652YE4L.js → artifact-tool-4GCQQDZI.js} +2 -2
- package/chunks/{askUserQuestion-ONW74PKJ.js → askUserQuestion-HZJJLR3Z.js} +2 -2
- package/chunks/bridge-U7LETTTF.js +104 -0
- package/chunks/{ca-ZLKAB4K3.js → ca-4CQ6MYNQ.js} +2 -1
- package/chunks/{channel-management-service-PHELKOW2.js → channel-management-service-OADNGQM3.js} +6 -6
- package/chunks/channel-settings-store-B2GRIZ2D.js +102 -0
- package/chunks/{channel-worker-group-WQP4RCDO.js → channel-worker-group-IHBIHQ45.js} +9 -8
- package/chunks/{channel-worker-manager-MRDFAKIM.js → channel-worker-manager-GEHYJ5AE.js} +9 -8
- package/chunks/{channel-worker-supervisor-IVSDIMI4.js → channel-worker-supervisor-ZJIIWM4I.js} +7 -6
- package/chunks/{chunk-26CXSA6V.js → chunk-25VWCPYE.js} +2 -2
- package/chunks/{chunk-DP3IHZGG.js → chunk-2AUM35J5.js} +59 -7
- package/chunks/{chunk-URKIBIFC.js → chunk-2QHWLRQ2.js} +3 -3
- package/chunks/{chunk-4PYCZH2V.js → chunk-2ZWH53I4.js} +3 -3
- package/chunks/{chunk-UVX4Y6IN.js → chunk-3AEKDXKT.js} +1 -1
- package/chunks/{chunk-ABVRJU3D.js → chunk-3ER3FWZM.js} +9 -9
- package/chunks/{chunk-DZUO626D.js → chunk-3GM5DLBI.js} +3 -3
- package/chunks/{chunk-VSFKIRRW.js → chunk-3NBTNFNC.js} +4 -4
- package/chunks/{chunk-NEOXOWYH.js → chunk-3QZY3JSR.js} +7 -7
- package/chunks/{chunk-BKHCW2BI.js → chunk-3VUENPWF.js} +10 -0
- package/chunks/{chunk-67EWJE77.js → chunk-45NQKMYB.js} +1 -1
- package/chunks/{chunk-KKBPOU75.js → chunk-4AOVQPJU.js} +1 -1
- package/chunks/{chunk-OONWZLFK.js → chunk-4EB5GRRC.js} +4 -4
- package/chunks/{chunk-YGT2AUJ7.js → chunk-4KM2SYK5.js} +39 -19
- package/chunks/{chunk-Y3OVRWRY.js → chunk-4N4JVRZA.js} +1 -1
- package/chunks/{chunk-VNNWAZSI.js → chunk-56HVDG3M.js} +6 -6
- package/chunks/{chunk-TRRF5BSP.js → chunk-5C42HXEX.js} +1 -1
- package/chunks/{chunk-J6SZID63.js → chunk-5RUCD4ED.js} +2 -2
- package/chunks/{chunk-WAUGQKUU.js → chunk-63FNZTWG.js} +9 -5
- package/chunks/{chunk-F6WDTQ3M.js → chunk-655DWW7X.js} +5 -5
- package/chunks/{chunk-AAE6SR4Q.js → chunk-7P5NK5EI.js} +1 -1
- package/chunks/{chunk-MZSJ43WV.js → chunk-7U5G6JXI.js} +24 -2
- package/chunks/{chunk-GWVUR3QZ.js → chunk-7WROZ3E6.js} +3 -3
- package/chunks/{chunk-PBRVUF5B.js → chunk-A6NRNRKE.js} +1 -1
- package/chunks/{chunk-IBUGFUXC.js → chunk-A6TJ7QUA.js} +13 -13
- package/chunks/{chunk-DCZEPFB4.js → chunk-ADM4C4TX.js} +3 -3
- package/chunks/{chunk-UBX6NL47.js → chunk-AGWK35OJ.js} +47 -3
- package/chunks/{chunk-4MKXUHXY.js → chunk-AGWZRQJJ.js} +5 -5
- package/chunks/{chunk-GNPNYXJB.js → chunk-AKBFSOC5.js} +2 -2
- package/chunks/{chunk-YWPSGJFI.js → chunk-ARSQPRYL.js} +2 -2
- package/chunks/{chunk-IWTMYQ32.js → chunk-AVKPDOQZ.js} +12 -11
- package/chunks/{chunk-DX3RGJMS.js → chunk-AW27A43Y.js} +76 -19
- package/chunks/{chunk-MIKXJYZB.js → chunk-AZPFLLFR.js} +315 -299
- package/chunks/{chunk-2PLNY5TN.js → chunk-BBCGHZ4S.js} +4 -4
- package/chunks/{chunk-KID7K6H2.js → chunk-BP5VZBVK.js} +6 -6
- package/chunks/{chunk-LLCWZQCU.js → chunk-BRQR2FJ5.js} +3 -3
- package/chunks/{chunk-LHEC5V6G.js → chunk-BSR5AXZR.js} +4 -3
- package/chunks/{chunk-ONSZH6VM.js → chunk-CGM3E75C.js} +2 -2
- package/chunks/{chunk-SEZ556DZ.js → chunk-CPFFU46D.js} +1 -1
- package/chunks/{chunk-H6XPXXMH.js → chunk-CQ35AJ4Z.js} +252 -254
- package/chunks/{chunk-7MH4J33A.js → chunk-D2RNVVH6.js} +2 -2
- package/chunks/{chunk-M6HMMKVG.js → chunk-D7QGE3RT.js} +1 -1
- package/chunks/{chunk-UMD7WQTR.js → chunk-D7VALEOK.js} +13 -9
- package/chunks/chunk-DAV4QFD5.js +1280 -0
- package/chunks/{chunk-B2GJNDTV.js → chunk-DD6O3ZRD.js} +1 -1
- package/chunks/{chunk-HUWENAHO.js → chunk-DEDESZDL.js} +1 -1
- package/chunks/{chunk-3P2LV43B.js → chunk-DG4IQ6JG.js} +3 -3
- package/chunks/{chunk-QUI267ZP.js → chunk-DPTMKFIH.js} +492 -63
- package/chunks/{chunk-Q3JQ7OSU.js → chunk-EJOGLSNJ.js} +1 -1
- package/chunks/{chunk-NRLFZWCT.js → chunk-EQHCHTHC.js} +48 -5
- package/chunks/{chunk-P3BJLFSZ.js → chunk-EQR7YDXY.js} +3 -3
- package/chunks/{chunk-4WL6SY4F.js → chunk-EQUXHAFW.js} +1 -1
- package/chunks/{chunk-Q3AL4JQ3.js → chunk-F5BD3RNA.js} +2 -2
- package/chunks/{chunk-A7XMDZRI.js → chunk-FJYUSD2N.js} +5 -5
- package/chunks/{chunk-JT7XS4YW.js → chunk-FMIH5KMQ.js} +1 -1
- package/chunks/{chunk-ZBVS26BY.js → chunk-FPGTNKCP.js} +7 -5
- package/chunks/{chunk-W5UC37EE.js → chunk-FQDCO3CJ.js} +12 -1
- package/chunks/{chunk-EQL65XGA.js → chunk-FRHQQC2Z.js} +47 -21
- package/chunks/{chunk-FVKHVJZQ.js → chunk-G6MUFRNI.js} +1 -1
- package/chunks/{chunk-D27I6YJT.js → chunk-GB245X4Z.js} +129 -26
- package/chunks/{chunk-WCG5O7IP.js → chunk-GZDWTBT3.js} +2 -2
- package/chunks/{chunk-AOHJKPKL.js → chunk-H7TMVHKE.js} +1 -1
- package/chunks/{chunk-ZJ4W6SUY.js → chunk-HDRTQ5DH.js} +3 -3
- package/chunks/{chunk-ZZCWJWTF.js → chunk-HG3UBTJ4.js} +31 -11
- package/chunks/chunk-HHJLM3WQ.js +41 -0
- package/chunks/{chunk-6LP743KE.js → chunk-HHZU6ZZM.js} +79 -113
- package/chunks/{chunk-OIVKILPI.js → chunk-HOSVOUDK.js} +74 -0
- package/chunks/{chunk-DA4HRSBW.js → chunk-HTYND72J.js} +1 -1
- package/chunks/{chunk-ZRBMO3C7.js → chunk-IKFHTAQW.js} +1 -1
- package/chunks/{chunk-KZ22NXBY.js → chunk-IVROQYG5.js} +4 -4
- package/chunks/{chunk-UDXSXLER.js → chunk-IW6RQPQB.js} +14 -4
- package/chunks/{chunk-F24A2JBM.js → chunk-J6JVP7ZZ.js} +1180 -254
- package/chunks/{chunk-ECWR5LQR.js → chunk-JB6IM2TJ.js} +3 -3
- package/chunks/{chunk-MVUQRLOH.js → chunk-JRIVMPD2.js} +3 -3
- package/chunks/{chunk-Q7YDKOGY.js → chunk-JVEGA3MM.js} +1 -1
- package/chunks/{chunk-4TRQPFDP.js → chunk-K34GJQOZ.js} +140 -20
- package/chunks/{chunk-W4RQUHY3.js → chunk-K5IDV3PC.js} +184 -22
- package/chunks/{chunk-NDU63YLI.js → chunk-KD6FGI2Q.js} +4 -4
- package/chunks/{chunk-HV76SFIA.js → chunk-KEC5FHLM.js} +3 -3
- package/chunks/{chunk-IIJEYBNH.js → chunk-KLOMACIR.js} +197 -60
- package/chunks/{chunk-Z4JX4NSH.js → chunk-KSPRBJJ3.js} +50 -50
- package/chunks/{chunk-KONVMRK7.js → chunk-KX5TNFCJ.js} +1 -1
- package/chunks/{chunk-QGNOFE5E.js → chunk-KX7PC5QG.js} +1 -1
- package/chunks/{chunk-OJUQF2PL.js → chunk-LEKKQEQW.js} +5 -5
- package/chunks/{chunk-COBO5EBO.js → chunk-LSRI3ND3.js} +1 -1
- package/chunks/{chunk-BSI645OU.js → chunk-LUISTZXI.js} +3 -3
- package/chunks/{chunk-YTFDX4PR.js → chunk-M6NDLY2T.js} +1 -1
- package/chunks/{chunk-EBZ6BJTF.js → chunk-MNUKNVYQ.js} +1 -1
- package/chunks/{chunk-VFMASYQA.js → chunk-MS7GNABG.js} +3 -0
- package/chunks/{chunk-EI3NWELG.js → chunk-MSSNVG2G.js} +6430 -4463
- package/chunks/{chunk-L2AFWWJE.js → chunk-N4SVADAV.js} +351 -144
- package/chunks/{chunk-URK542T4.js → chunk-NF5J2WFA.js} +15 -2
- package/chunks/{chunk-EI3HZX6C.js → chunk-NLFLYSS4.js} +1 -1
- package/chunks/{chunk-NV3F44FL.js → chunk-NW2GIPG3.js} +2 -2
- package/chunks/{chunk-OQTXYMKW.js → chunk-NX4A23LY.js} +3 -3
- package/chunks/{chunk-E2FPSSKP.js → chunk-OK47XBYH.js} +97 -10
- package/chunks/{chunk-EKPKKXY2.js → chunk-OWGRUU7F.js} +1 -1
- package/chunks/{chunk-CTJLZLB5.js → chunk-OYWVIXHT.js} +1 -1
- package/chunks/{chunk-47PEPJO7.js → chunk-P7PSGVWP.js} +3 -3
- package/chunks/{chunk-6Q5ABMTU.js → chunk-PTSEETCO.js} +23 -19
- package/chunks/{chunk-6ZRFAKXK.js → chunk-PVXEJB66.js} +1 -1
- package/chunks/{chunk-EUNWC2VS.js → chunk-PZW46OTB.js} +2 -2
- package/chunks/{chunk-QSWDGAIC.js → chunk-QILD6R27.js} +1 -1
- package/chunks/{chunk-CKASRHZI.js → chunk-QLTATTPS.js} +1 -1
- package/chunks/{chunk-2UUMVNYT.js → chunk-QPBFRWCP.js} +3 -3
- package/chunks/{chunk-QJMOAMXT.js → chunk-QQSXM3FE.js} +8 -8
- package/chunks/{chunk-AEL7KN2O.js → chunk-RN7GFREP.js} +2 -2
- package/chunks/{chunk-AQAJJMRR.js → chunk-RYSBWLLV.js} +1 -1
- package/chunks/{chunk-MFDYOYZZ.js → chunk-SYHXR6WM.js} +26 -3
- package/chunks/{chunk-SR7RZ4MS.js → chunk-TB4YFWXG.js} +2 -2
- package/chunks/{chunk-IRZ2ZH72.js → chunk-TCMU4ZUE.js} +4 -4
- package/chunks/{chunk-OWMAZHIX.js → chunk-TMFWI4RC.js} +1 -1
- package/chunks/{chunk-TZEZYNYD.js → chunk-TQDFSQQF.js} +1 -1
- package/chunks/{chunk-IA7TGCN2.js → chunk-TTRH3RTQ.js} +4 -4
- package/chunks/{chunk-PJRW65JO.js → chunk-TXP5NGG3.js} +1 -1
- package/chunks/{chunk-VWKER4ZH.js → chunk-ULJGMSG5.js} +3 -3
- package/chunks/{chunk-2FRY5CRX.js → chunk-ULNWG62W.js} +3 -3
- package/chunks/{chunk-XVHYA33G.js → chunk-URYJYT5W.js} +4 -4
- package/chunks/{chunk-7GTMV7UE.js → chunk-US7J7LJT.js} +10786 -4462
- package/chunks/{chunk-HGCQ5SE7.js → chunk-UXEO7E3V.js} +21 -0
- package/chunks/{chunk-NV65ZUVM.js → chunk-VKT2R3NB.js} +1 -1
- package/chunks/{chunk-CPG6P4GG.js → chunk-VPV7WBVT.js} +1 -1
- package/chunks/{chunk-QG3FFJYU.js → chunk-VXSD4AGT.js} +1 -1
- package/chunks/{chunk-XCGIMOLN.js → chunk-WCCLLK7X.js} +14 -1
- package/chunks/{chunk-VJNBRRZG.js → chunk-WZMH7II3.js} +1 -1
- package/chunks/{chunk-5MZCSWI4.js → chunk-WZRLXVLJ.js} +1185 -1451
- package/chunks/{chunk-YF5MALI4.js → chunk-X5QJFMLY.js} +21 -17
- package/chunks/{chunk-DREZZAZM.js → chunk-XDRXOSAD.js} +13 -5
- package/chunks/{chunk-FOGU3LJX.js → chunk-YBHUXEC6.js} +1 -1
- package/chunks/{chunk-GM463R2B.js → chunk-YBVVOSOH.js} +1 -1
- package/chunks/{chunk-PYQADEFD.js → chunk-YIGGWOJE.js} +1 -1
- package/chunks/{chunk-XCWO3SMQ.js → chunk-YILJKX2T.js} +3 -3
- package/chunks/{chunk-Y4R47ZUH.js → chunk-YM3I6VW5.js} +7 -7
- package/chunks/{chunk-OCSFNUU4.js → chunk-YMALTWIZ.js} +13 -11
- package/chunks/{chunk-WOJZWRAZ.js → chunk-YRLW2MSX.js} +1 -1
- package/chunks/{chunk-UEOKWYGY.js → chunk-YYIOFWVH.js} +11 -11
- package/chunks/chunk-Z7B6SRPM.js +32 -0
- package/chunks/{chunk-S6HYI3MF.js → chunk-ZBB5EZZV.js} +2 -2
- package/chunks/{chunk-VKJ4KTPJ.js → chunk-ZLCT4C5A.js} +1 -1
- package/chunks/{chunk-O3EU6GMH.js → chunk-ZO37CAQH.js} +27 -4
- package/chunks/{computer-use-WQFK33Z3.js → computer-use-TMDO6TEC.js} +42 -41
- package/chunks/{config-utils-ULCSRMWD.js → config-utils-Z3OW3IQG.js} +6 -6
- package/chunks/{contextCommand-7EOZND7C.js → contextCommand-IUQ6G5ES.js} +44 -43
- package/chunks/{core-runtime-FGMQRM6E.js → core-runtime-HAZLPQXI.js} +42 -41
- package/chunks/{create-sub-session-QM2K5HLZ.js → create-sub-session-GREIOIZU.js} +42 -41
- package/chunks/{create-sub-session-QIDZUOPU.js → create-sub-session-XT6DLYOE.js} +2 -2
- package/chunks/{cron-create-VONA5JYY.js → cron-create-2JZ2TWTF.js} +4 -4
- package/chunks/{cron-delete-5JXSP2MI.js → cron-delete-CTPD2P26.js} +4 -4
- package/chunks/{cron-list-KE4F2CIR.js → cron-list-V44KHAF6.js} +4 -4
- package/chunks/{daemon-GWD7BT6E.js → daemon-GED37WOX.js} +216 -9
- package/chunks/daemon-git-worktree-guard-BSKVBYPM.js +2062 -0
- package/chunks/daemon-status-provider-7UK2DVVN.js +102 -0
- package/chunks/daemon-trust-policy-BZEALQSM.js +99 -0
- package/chunks/{daemon-trust-policy-monitor-6UKEABN5.js → daemon-trust-policy-monitor-P7OM342T.js} +49 -48
- package/chunks/{de-LIW4XVLN.js → de-UBEBKG6V.js} +2 -1
- package/chunks/{deferred-core-runtime-67GJXHXS.js → deferred-core-runtime-MTDXZT6B.js} +42 -41
- package/chunks/{display-image-NQRSIBXM.js → display-image-M2ELAVN4.js} +4 -4
- package/chunks/{dist-OTUO3AS2.js → dist-4ZPG4BY6.js} +13 -5
- package/chunks/{dist-B2CGTW6T.js → dist-BROOP2EG.js} +3 -3
- package/chunks/{dist-EZE3V3Q7.js → dist-IYYN3RUT.js} +3 -3
- package/chunks/{dist-3NTTUAHT.js → dist-JWMKPWT5.js} +5 -3
- package/chunks/{dist-Z3CS4OVP.js → dist-K7IQB53U.js} +11 -5
- package/chunks/{dist-J47AXBZC.js → dist-MAQXAQ2Y.js} +3 -3
- package/chunks/{dist-6BMOAE3Z.js → dist-WJ4BHIEW.js} +4 -4
- package/chunks/{dist-EWW3J4HQ.js → dist-YEPL4RAW.js} +3 -3
- package/chunks/{earlyInputCapture-IWMYR6OB.js → earlyInputCapture-BGZYFN2F.js} +43 -42
- package/chunks/{edit-ZFGROCAF.js → edit-ASQVJARF.js} +45 -43
- package/chunks/{en-SY5GTIGX.js → en-X6YV7GME.js} +2 -1
- package/chunks/{enter-worktree-TZZZCDM5.js → enter-worktree-WIUNMC64.js} +42 -41
- package/chunks/{enterPlanMode-U77BI3R6.js → enterPlanMode-TUBB2L7O.js} +42 -41
- package/chunks/{environment-HC37DS2I.js → environment-RWSNEY4T.js} +45 -44
- package/chunks/{errors-6AG54JPD.js → errors-44QVVNGT.js} +44 -43
- package/chunks/{exit-worktree-UYYWFPNK.js → exit-worktree-WPBRPIRR.js} +42 -41
- package/chunks/exitPlanMode-AP7J626M.js +85 -0
- package/chunks/{external-tool-guard-provider-5HTGOPGU.js → external-tool-guard-provider-TE4DRY36.js} +1 -1
- package/chunks/{fast-path-F5FSZ3O7.js → fast-path-XG5KXXLS.js} +6 -6
- package/chunks/{fast-path-settings-RPAVBD7P.js → fast-path-settings-LNOFM2YP.js} +2 -2
- package/chunks/{fr-RQFO7U4P.js → fr-VENTC2BS.js} +2 -1
- package/chunks/{gemini-NKQHYM36.js → gemini-PGXORAFF.js} +112 -103
- package/chunks/{geminiContentGenerator-HCWZOUX3.js → geminiContentGenerator-ZQVVD4J4.js} +6 -6
- package/chunks/{glob-3PDXKBAO.js → glob-Q6LWKMBU.js} +42 -41
- package/chunks/{goal-tools-SWNB6GP4.js → goal-tools-M4UDAZXP.js} +4 -4
- package/chunks/{grep-5HZKZYVD.js → grep-C67Z35I4.js} +42 -41
- package/chunks/handleAutoUpdate-75L74MB4.js +94 -0
- package/chunks/{i18n-Q27KKNDL.js → i18n-GYUC23UJ.js} +43 -42
- package/chunks/{image-gen-2Z2RJ6W7.js → image-gen-XE56S4MG.js} +10 -10
- package/chunks/initializer-V7XZVY35.js +100 -0
- package/chunks/{installationInfo-XXB75T7O.js → installationInfo-S5PPSD7T.js} +43 -42
- package/chunks/{ja-KOZKHJHZ.js → ja-QHT4EQTO.js} +2 -1
- package/chunks/{keychain-token-storage-TVAMTNP7.js → keychain-token-storage-NKKCUHI2.js} +2 -2
- package/chunks/list-JJ2FB7SP.js +103 -0
- package/chunks/{list-agents-Z4WABFDZ.js → list-agents-O6WSY4CT.js} +2 -2
- package/chunks/loadedSettingsAdapter-LNUDRGW5.js +97 -0
- package/chunks/{loggingContentGenerator-6NTFBM7Q.js → loggingContentGenerator-HCJ2DX2S.js} +162 -112
- package/chunks/{loop-wakeup-UZ5RL5Y2.js → loop-wakeup-GVQRMUKS.js} +5 -5
- package/chunks/{ls-TVHDGIES.js → ls-6W2D7TKU.js} +4 -4
- package/chunks/{lsp-CVN6OQPI.js → lsp-NJ4KFBI2.js} +2 -2
- package/chunks/{managed-npm-update-SPHYQUWZ.js → managed-npm-update-MDF2JDTH.js} +45 -44
- package/chunks/mcp-M5OML5FI.js +97 -0
- package/chunks/{monitor-ZBBPAA54.js → monitor-U5NM5ONC.js} +42 -41
- package/chunks/nonInteractiveCli-TX3QP7JT.js +163 -0
- package/chunks/{notebook-edit-5W3FW7Z2.js → notebook-edit-Q7SUR44R.js} +42 -41
- package/chunks/{openaiContentGenerator-TQANPEVZ.js → openaiContentGenerator-2H5CYLXP.js} +29 -29
- package/chunks/{pidfile-EQOBLH4E.js → pidfile-SHSMSAZR.js} +43 -42
- package/chunks/{processUtils-7XQG7EHS.js → processUtils-GZAP6EYW.js} +2 -2
- package/chunks/{pt-U6AOCTMF.js → pt-VL3I5RNY.js} +2 -1
- package/chunks/{qwenContentGenerator-BKCPHHXU.js → qwenContentGenerator-2624VVZH.js} +48 -48
- package/chunks/{qwenOAuth2-BJ6PQKE6.js → qwenOAuth2-AAWH3C7N.js} +9 -9
- package/chunks/read-file-ZWGQE2TE.js +32 -0
- package/chunks/{read-mcp-resource-PZ4ZF6YL.js → read-mcp-resource-GWCP23WG.js} +2 -2
- package/chunks/{read-package-up-TCM6I7S2.js → read-package-up-K6RKTL5D.js} +1 -1
- package/chunks/{record-artifact-P4HFMS7X.js → record-artifact-IYQDEYMV.js} +3 -3
- package/chunks/{resumeHistoryUtils-6N6XGJJW.js → resumeHistoryUtils-7N2H4QCU.js} +50 -49
- package/chunks/ripGrep-6JGJDWYB.js +85 -0
- package/chunks/{ru-CMX4UMYP.js → ru-4RCKL4PY.js} +2 -1
- package/chunks/{run-qwen-serve-BCKBCAMX.js → run-qwen-serve-2A6RHHI7.js} +197 -90
- package/chunks/{runtime-E2437YKL.js → runtime-NPYVZVRI.js} +55 -54
- package/chunks/{scheduler-K3D5Z655.js → scheduler-UMKTEQAM.js} +44 -43
- package/chunks/{sdk-exporters-http-XVTZQRCE.js → sdk-exporters-http-NHBYB5FZ.js} +11 -7
- package/chunks/{sdk-impl-7W7AKCS4.js → sdk-impl-SK4P5WON.js} +13 -10
- package/chunks/{send-message-CAMSLG2L.js → send-message-O7FO63UK.js} +6 -6
- package/chunks/serve-LYADPWRV.js +107 -0
- package/chunks/{server-UD6INW7J.js → server-WMVPH4G4.js} +1137 -382
- package/chunks/{session-GR4ZEVW4.js → session-LE6O62ZE.js} +122 -102
- package/chunks/{settings-5O24D3OJ.js → settings-2IPZYYGS.js} +48 -47
- package/chunks/{shell-UTLWLG5G.js → shell-VOBAZFFI.js} +42 -41
- package/chunks/{skill-QQAZL4VO.js → skill-6LKOWJV4.js} +19 -19
- package/chunks/{skill-settings-P3YHJVBZ.js → skill-settings-J5IHQA7L.js} +48 -47
- package/chunks/spawnChannel-TLW7N3SM.js +98 -0
- package/chunks/{standalone-update-QP742MGP.js → standalone-update-6OFPUBEM.js} +44 -43
- package/chunks/{startInteractiveUI-YCS6AEPN.js → startInteractiveUI-KVHNCR2L.js} +836 -444
- package/chunks/{syntheticOutput-PEBJQYJV.js → syntheticOutput-DVHJMUGV.js} +3 -3
- package/chunks/{task-create-5NWCQSJF.js → task-create-4NC7PDI4.js} +10 -10
- package/chunks/{task-list-53265TRZ.js → task-list-LBSRMOC7.js} +5 -5
- package/chunks/{task-stop-FPCOIRYX.js → task-stop-YFNATTIM.js} +2 -2
- package/chunks/{task-update-5HN577LS.js → task-update-BPLM52GD.js} +10 -10
- package/chunks/{team-create-WFH7OCDQ.js → team-create-INCC7G74.js} +44 -43
- package/chunks/{team-delete-MMQB4OSC.js → team-delete-MKYMYBFM.js} +5 -5
- package/chunks/{team-plan-approval-EGTT53MV.js → team-plan-approval-6DCWGZQ4.js} +42 -41
- package/chunks/{terminal-image-renderer-BWRESAQ7.js → terminal-image-renderer-O5EDW64G.js} +44 -43
- package/chunks/theme-manager-NZZO4SWE.js +89 -0
- package/chunks/{todoWrite-JGV6VLOX.js → todoWrite-K5K7NRE5.js} +4 -4
- package/chunks/{tool-search-TI5PTIBF.js → tool-search-JB2PXD5P.js} +19 -19
- package/chunks/total-session-admission-NWNMU6AW.js +99 -0
- package/chunks/{trustedFolders-4KYHA4IG.js → trustedFolders-A5ZWRRSP.js} +43 -42
- package/chunks/{update-relaunch-WB6LGIF2.js → update-relaunch-GG7EDBEA.js} +5 -5
- package/chunks/{updateCheck-LOS5GYFC.js → updateCheck-P6JJ4MBU.js} +48 -47
- package/chunks/{useAutoAcceptIndicator-MHAPY52L.js → useAutoAcceptIndicator-KV2AANVG.js} +53 -52
- package/chunks/{validateNonInterActiveAuth-QV22HNQU.js → validateNonInterActiveAuth-HXRCYXY7.js} +89 -88
- package/chunks/{version-DALWZHKQ.js → version-HH5V762G.js} +2 -2
- package/chunks/{web-fetch-JMJVMYFE.js → web-fetch-LVXPFB5O.js} +19 -19
- package/chunks/{web-search-DNDUIPU5.js → web-search-4E234FSM.js} +11 -11
- package/chunks/{workflow-JGNN64PM.js → workflow-GUE6WIMP.js} +117 -50
- package/chunks/workspace-providers-status-TUWLGJOF.js +100 -0
- package/chunks/{workspace-registration-store-LRJG7QA4.js → workspace-registration-store-22XXHPKR.js} +1 -1
- package/chunks/{workspace-registry-KVXIFM36.js → workspace-registry-HUFJF5W5.js} +50 -49
- package/chunks/{workspace-service-PO4AAKKT.js → workspace-service-NAGTBJXJ.js} +54 -53
- package/chunks/workspace-skills-status-LWDBXAQI.js +100 -0
- package/chunks/{workspace-trust-reconciler-DOZPCVHG.js → workspace-trust-reconciler-DLWV2ZO6.js} +57 -56
- package/chunks/write-file-QVHVOKKR.js +87 -0
- package/chunks/{zh-AGL2FVBI.js → zh-LMSTK4WD.js} +2 -1
- package/chunks/{zh-TW-KI66MHQY.js → zh-TW-SQ4HTSCW.js} +2 -1
- package/chunks/{zoom-image-CNC77ZMA.js → zoom-image-CJDXYWJH.js} +15 -15
- package/cli.js +18 -17
- package/locales/ca.js +1 -0
- package/locales/de.js +1 -0
- package/locales/en.js +1 -0
- package/locales/fr.js +1 -0
- package/locales/ja.js +1 -0
- package/locales/pt.js +1 -0
- package/locales/ru.js +1 -0
- package/locales/zh-TW.js +1 -0
- package/locales/zh.js +1 -0
- package/package.json +4 -4
- package/web-shell/assets/{arc-CDk0d60K.js → arc-DagtOPoO.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-h-W3I2lP.js → architectureDiagram-3BPJPVTR-Dc3kGCBm.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-D1pvSmZg.js → blockDiagram-GPEHLZMM-BUZvQLL_.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-ByAm5ZNf.js → c4Diagram-AAUBKEIU-BbBgCu9K.js} +1 -1
- package/web-shell/assets/channel-aMHKHCQ2.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-VrGPPOGV.js → chunk-2J33WTMH-CZ4miMNB.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-B7hTowgG.js → chunk-4BX2VUAB-B2_qQSGx.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-j1Fq8DpE.js → chunk-55IACEB6-EdmTwZW7.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-UjABYpF2.js → chunk-727SXJPM-l2EpyrLV.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-D4uBItrs.js → chunk-AQP2D5EJ-0q9sx5lV.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-DeFbKlb8.js → chunk-FMBD7UC4-CbGnA4Dp.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-rQJ8TIgT.js → chunk-ND2GUHAM-D8JBELgZ.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-DAGcRxvq.js → chunk-QZHKN3VN-DQMpGGOO.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-zASpLzDx.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-zASpLzDx.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-MaE7MJSt.js → cose-bilkent-S5V4N54A-DzM-ZRsM.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DzijYGSb.js → dagre-BM42HDAG-uxLS-TtN.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-WdbG7WnX.js → diagram-2AECGRRQ-DH7Gnqzr.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-NYutsBnw.js → diagram-5GNKFQAL-B2TngKRK.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Dqg0eBY0.js → diagram-KO2AKTUF-DQ61-HiV.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-C7vRP2Lb.js → diagram-LMA3HP47-By6qvgAT.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-B2sEPpPt.js → diagram-OG6HWLK6-ClVSEz-3.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-a4zIbzm8.js → erDiagram-TEJ5UH35-C9gFc5Fg.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BK9y89ya.js → flowDiagram-I6XJVG4X-BWPLLJ5-.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-wUQTSNvV.js → ganttDiagram-6RSMTGT7-C6RMacQQ.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Dnzt4SAi.js → gitGraphDiagram-PVQCEYII-LnqiWuka.js} +1 -1
- package/web-shell/assets/index---fOcMdS.js +1789 -0
- package/web-shell/assets/{index-BA3wUcKL.js → index-B9iqcrv0.js} +1 -1
- package/web-shell/assets/index-BIGQygTL.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DcaoToij.js → infoDiagram-5YYISTIA-Bc4iS8YB.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DzduqhP2.js → ishikawaDiagram-YF4QCWOH-9pH4Dpnd.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-BvviZR_O.js → journeyDiagram-JHISSGLW-C-YMnw2W.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-Efm2JxY3.js → kanban-definition-UN3LZRKU-D-PaAIp-.js} +1 -1
- package/web-shell/assets/{linear-DtY3IbOs.js → linear-DpLgI2kt.js} +1 -1
- package/web-shell/assets/{mermaid.core-PzpFqoMe.js → mermaid.core-nZbOHGxx.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BLlTkHS0.js → mindmap-definition-RKZ34NQL-Dq0xxnET.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-D-mKF-jE.js → pieDiagram-4H26LBE5-ctqG2eeF.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DYCzslGm.js → quadrantDiagram-W4KKPZXB-MivToddn.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-Dfpxlk7R.js → requirementDiagram-4Y6WPE33-DrLLnkpQ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-D5cRaaxh.js → sankeyDiagram-5OEKKPKP-sYdYhdpV.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-s04DReiS.js → sequenceDiagram-3UESZ5HK-CuvhxDOs.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-01UNFgnb.js → stateDiagram-AJRCARHV-BLZgbV7Q.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DR_gXrIC.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DX8_wZBC.js → timeline-definition-PNZ67QCA-lNr2Uz_Q.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BK0FlBme.js → vennDiagram-CIIHVFJN-CoaexGVO.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-DkPc9UlD.js → wardley-L42UT6IY-DG1vhGKA.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DNKkpDAo.js → wardleyDiagram-YWT4CUSO-CqNjF5xC.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-CiPwg8QG.js → xychartDiagram-2RQKCTM6-BXg1gx3C.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/agent-headless-HYEHZFH6.js +0 -86
- package/chunks/bridge-FHINXZMN.js +0 -103
- package/chunks/channel-settings-store-OXYG5S5X.js +0 -101
- package/chunks/chunk-I5VM3SKY.js +0 -451
- package/chunks/chunk-PDPFQ2FO.js +0 -156
- package/chunks/daemon-status-provider-L3J6GKCT.js +0 -102
- package/chunks/daemon-trust-policy-4PHPY23S.js +0 -98
- package/chunks/exitPlanMode-RWJR2KGB.js +0 -84
- package/chunks/handleAutoUpdate-NHFSGYTF.js +0 -93
- package/chunks/initializer-Y5DJLT43.js +0 -99
- package/chunks/list-YHNQ32CS.js +0 -102
- package/chunks/loadedSettingsAdapter-GHUQK7H4.js +0 -96
- package/chunks/mcp-EA3KO6FS.js +0 -96
- package/chunks/nonInteractiveCli-NNOR56HU.js +0 -162
- package/chunks/read-file-KKTXGIZD.js +0 -32
- package/chunks/ripGrep-SJVAAYDV.js +0 -84
- package/chunks/serve-IH4XR5IL.js +0 -106
- package/chunks/spawnChannel-UAQMH6Y6.js +0 -94
- package/chunks/theme-manager-ZNDGAHJN.js +0 -88
- package/chunks/total-session-admission-66UDSOHO.js +0 -98
- package/chunks/workspace-providers-status-K22B3Z6B.js +0 -99
- package/chunks/workspace-skills-status-DDYCBVSH.js +0 -99
- package/chunks/write-file-TT6MWIKC.js +0 -86
- package/web-shell/assets/channel-DPFUV4oi.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CLm0hVvw.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CLm0hVvw.js +0 -1
- package/web-shell/assets/index-BjC3yjjL.css +0 -5
- package/web-shell/assets/index-QzFq6w7o.js +0 -1775
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DXb5olqv.js +0 -1
|
@@ -34,15 +34,16 @@ import {
|
|
|
34
34
|
resolveAcpHttpEnabled,
|
|
35
35
|
setDeferredRuntimeRequestTiming,
|
|
36
36
|
toDaemonStatusMemoryLimits
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HG3UBTJ4.js";
|
|
38
38
|
import "./chunk-VGHZT6JR.js";
|
|
39
39
|
import {
|
|
40
40
|
isLoopbackBind
|
|
41
41
|
} from "./chunk-TQOF5KBL.js";
|
|
42
42
|
import {
|
|
43
43
|
formatMemoryBudgetStderr,
|
|
44
|
-
resolveDaemonMemoryBudget
|
|
45
|
-
|
|
44
|
+
resolveDaemonMemoryBudget,
|
|
45
|
+
serveJournalGrowthPoolMb
|
|
46
|
+
} from "./chunk-UXEO7E3V.js";
|
|
46
47
|
import {
|
|
47
48
|
resolveSessionRestoreTimeoutMs
|
|
48
49
|
} from "./chunk-4JRM2BSM.js";
|
|
@@ -52,7 +53,7 @@ import {
|
|
|
52
53
|
} from "./chunk-GDXET5XU.js";
|
|
53
54
|
import {
|
|
54
55
|
resolveChannelCwd
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-45NQKMYB.js";
|
|
56
57
|
import {
|
|
57
58
|
LIVE_HOST_PROTOCOL_VERSION
|
|
58
59
|
} from "./chunk-NKLP3DCK.js";
|
|
@@ -60,10 +61,11 @@ import {
|
|
|
60
61
|
DEFAULT_COMPACTED_REPLAY_MAX_BYTES,
|
|
61
62
|
DEFAULT_MAX_JOURNAL_BYTES,
|
|
62
63
|
DEFAULT_MAX_JOURNAL_EVENTS,
|
|
64
|
+
JOURNAL_GROWTH_HARD_CAP_BYTES,
|
|
63
65
|
normalizeCompactedReplayMaxBytes,
|
|
64
66
|
normalizeMaxJournalBytes,
|
|
65
67
|
normalizeMaxJournalEvents
|
|
66
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-WCCLLK7X.js";
|
|
67
69
|
import "./chunk-K6KS3LTN.js";
|
|
68
70
|
import "./chunk-FC4KQFCS.js";
|
|
69
71
|
import "./chunk-T3CHYWJZ.js";
|
|
@@ -71,23 +73,24 @@ import {
|
|
|
71
73
|
consumeServeFastPathRejectedLoaderKeys,
|
|
72
74
|
loadServeFastPathSettings,
|
|
73
75
|
preResolveServeFastPathHomeEnvOverrides
|
|
74
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-M6NDLY2T.js";
|
|
75
77
|
import {
|
|
76
78
|
MAX_REGISTERED_WORKSPACES,
|
|
77
79
|
resolveWorkspaceInputs,
|
|
78
80
|
workspaceRegistrationId
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
+
} from "./chunk-KX7PC5QG.js";
|
|
82
|
+
import "./chunk-LUISTZXI.js";
|
|
81
83
|
import {
|
|
82
84
|
LOAD_REPLAY_META_KEY
|
|
83
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-FQDCO3CJ.js";
|
|
84
86
|
import "./chunk-624NHDGB.js";
|
|
85
87
|
import {
|
|
86
88
|
canonicalizeWorkspace,
|
|
87
89
|
translateAndCheckAbsoluteWorkspacePath
|
|
88
90
|
} from "./chunk-6PLDPT2C.js";
|
|
89
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-SYHXR6WM.js";
|
|
90
92
|
import "./chunk-FYJ7W2PI.js";
|
|
93
|
+
import "./chunk-Z7B6SRPM.js";
|
|
91
94
|
import {
|
|
92
95
|
ChannelDeliveryError,
|
|
93
96
|
ChannelWebhookEnqueueError,
|
|
@@ -97,24 +100,26 @@ import {
|
|
|
97
100
|
import {
|
|
98
101
|
normalizeWorkerDiagnostic,
|
|
99
102
|
sanitizeWorkerDiagnostic
|
|
100
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-A6NRNRKE.js";
|
|
101
104
|
import {
|
|
102
105
|
channelSelectionNames
|
|
103
106
|
} from "./chunk-ALMR3E6Q.js";
|
|
104
107
|
import "./chunk-HIBNSEJE.js";
|
|
105
108
|
import "./chunk-M5GB774H.js";
|
|
106
109
|
import {
|
|
110
|
+
EXTERNAL_TOOL_GUARD_PROVIDER_ATTACHED_VALUE,
|
|
107
111
|
EXTERNAL_TOOL_GUARD_REQUIRED_VALUE,
|
|
108
112
|
EXTERNAL_TOOL_GUARD_TOKEN_ENV,
|
|
109
|
-
PRIVATE_EXTERNAL_TOOL_GUARD_ENV
|
|
110
|
-
|
|
113
|
+
PRIVATE_EXTERNAL_TOOL_GUARD_ENV,
|
|
114
|
+
PRIVATE_EXTERNAL_TOOL_GUARD_PROVIDER_ENV
|
|
115
|
+
} from "./chunk-3VUENPWF.js";
|
|
111
116
|
import {
|
|
112
117
|
MAX_DAEMON_WORKSPACES
|
|
113
118
|
} from "./chunk-5HBA2Z7V.js";
|
|
114
119
|
import {
|
|
115
120
|
sanitizeLogText
|
|
116
|
-
} from "./chunk-
|
|
117
|
-
import "./chunk-
|
|
121
|
+
} from "./chunk-AW27A43Y.js";
|
|
122
|
+
import "./chunk-IW6RQPQB.js";
|
|
118
123
|
import "./chunk-GOXKNSDZ.js";
|
|
119
124
|
import {
|
|
120
125
|
getGlobalQwenDirLite,
|
|
@@ -125,11 +130,11 @@ import {
|
|
|
125
130
|
clearLoaderKeyRejectionReporterIfCurrent,
|
|
126
131
|
scrubInheritedLoaderEnv,
|
|
127
132
|
setLoaderKeyRejectionReporter
|
|
128
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-MS7GNABG.js";
|
|
129
134
|
import {
|
|
130
135
|
getCliVersion
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-
|
|
136
|
+
} from "./chunk-RN7GFREP.js";
|
|
137
|
+
import "./chunk-WZMH7II3.js";
|
|
133
138
|
import "./chunk-NPQ5ZKRP.js";
|
|
134
139
|
import {
|
|
135
140
|
isWithinRoot
|
|
@@ -137,7 +142,7 @@ import {
|
|
|
137
142
|
import "./chunk-GOFAQQZA.js";
|
|
138
143
|
import "./chunk-5M6IDOMF.js";
|
|
139
144
|
import "./chunk-TWPJO254.js";
|
|
140
|
-
import "./chunk-
|
|
145
|
+
import "./chunk-CQ35AJ4Z.js";
|
|
141
146
|
import {
|
|
142
147
|
require_proper_lockfile
|
|
143
148
|
} from "./chunk-KRXPRVGL.js";
|
|
@@ -146,14 +151,20 @@ import "./chunk-XWRJCPHC.js";
|
|
|
146
151
|
import {
|
|
147
152
|
finalizeStartupProfile,
|
|
148
153
|
profileCheckpoint
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import "./chunk-
|
|
154
|
+
} from "./chunk-QILD6R27.js";
|
|
155
|
+
import "./chunk-JVEGA3MM.js";
|
|
151
156
|
import {
|
|
152
157
|
writeStderrLine,
|
|
153
158
|
writeStdoutLine
|
|
154
159
|
} from "./chunk-KGJGEEVR.js";
|
|
155
160
|
import "./chunk-DMTGGOSA.js";
|
|
156
161
|
import "./chunk-YQ3U5MUC.js";
|
|
162
|
+
import {
|
|
163
|
+
TraceFlags,
|
|
164
|
+
init_esm,
|
|
165
|
+
isSpanContextValid,
|
|
166
|
+
trace
|
|
167
|
+
} from "./chunk-QUGAUQGJ.js";
|
|
157
168
|
import {
|
|
158
169
|
init_esbuild_shims
|
|
159
170
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -335,6 +346,7 @@ __name(createPermissionAuditPublisher, "createPermissionAuditPublisher");
|
|
|
335
346
|
|
|
336
347
|
// packages/cli/src/serve/daemon-logger.ts
|
|
337
348
|
init_esbuild_shims();
|
|
349
|
+
init_esm();
|
|
338
350
|
var import_proper_lockfile = __toESM(require_proper_lockfile(), 1);
|
|
339
351
|
import * as nodeFs from "node:fs";
|
|
340
352
|
import * as nodePath from "node:path";
|
|
@@ -348,6 +360,10 @@ var FIXED_CTX_ORDER = [
|
|
|
348
360
|
"channelId"
|
|
349
361
|
];
|
|
350
362
|
var FIXED_CTX_SET = new Set(FIXED_CTX_ORDER);
|
|
363
|
+
var RESERVED_TRACE_CTX_KEYS = /* @__PURE__ */ new Set([
|
|
364
|
+
"trace_id",
|
|
365
|
+
"span_id"
|
|
366
|
+
]);
|
|
351
367
|
var ISSUE_ORDER = [
|
|
352
368
|
"init_failed",
|
|
353
369
|
"rotation_failed",
|
|
@@ -388,7 +404,7 @@ function renderCtx(ctx) {
|
|
|
388
404
|
}
|
|
389
405
|
}
|
|
390
406
|
const extraKeys = Object.keys(ctx).filter(
|
|
391
|
-
(key) => !FIXED_CTX_SET.has(key) && ctx[key] !== void 0 && ctx[key] !== null
|
|
407
|
+
(key) => !FIXED_CTX_SET.has(key) && !RESERVED_TRACE_CTX_KEYS.has(key) && ctx[key] !== void 0 && ctx[key] !== null
|
|
392
408
|
).sort();
|
|
393
409
|
for (const key of extraKeys) {
|
|
394
410
|
parts.push(`${key}=${renderCtxValue(ctx[key])}`);
|
|
@@ -396,27 +412,50 @@ function renderCtx(ctx) {
|
|
|
396
412
|
return parts.length > 0 ? parts.join(" ") + " " : "";
|
|
397
413
|
}
|
|
398
414
|
__name(renderCtx, "renderCtx");
|
|
415
|
+
function getActiveTraceContext() {
|
|
416
|
+
try {
|
|
417
|
+
const span = trace.getActiveSpan();
|
|
418
|
+
if (!span?.isRecording()) return void 0;
|
|
419
|
+
const spanContext = span.spanContext();
|
|
420
|
+
if (!isSpanContextValid(spanContext) || (spanContext.traceFlags & TraceFlags.SAMPLED) === 0) {
|
|
421
|
+
return void 0;
|
|
422
|
+
}
|
|
423
|
+
return {
|
|
424
|
+
traceId: spanContext.traceId,
|
|
425
|
+
spanId: spanContext.spanId
|
|
426
|
+
};
|
|
427
|
+
} catch {
|
|
428
|
+
return void 0;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
__name(getActiveTraceContext, "getActiveTraceContext");
|
|
432
|
+
function renderTraceContext(traceContext) {
|
|
433
|
+
return traceContext ? `[trace_id=${traceContext.traceId} span_id=${traceContext.spanId}] ` : "";
|
|
434
|
+
}
|
|
435
|
+
__name(renderTraceContext, "renderTraceContext");
|
|
399
436
|
function renderErr(err) {
|
|
400
437
|
if (!err) return "";
|
|
401
438
|
const body = err.stack ?? `${err.name ?? "Error"}: ${err.message}`;
|
|
402
439
|
return body.split("\n").map((line) => ` ${line}`).join("\n") + "\n";
|
|
403
440
|
}
|
|
404
441
|
__name(renderErr, "renderErr");
|
|
405
|
-
function
|
|
442
|
+
function formatDaemonLogLine(args) {
|
|
406
443
|
const ts = args.now.toISOString();
|
|
444
|
+
const traceStr = renderTraceContext(args.traceContext);
|
|
407
445
|
const ctxStr = renderCtx(args.ctx);
|
|
408
|
-
return `${ts} [${args.level}] [DAEMON] ${ctxStr}${args.message}
|
|
446
|
+
return `${ts} [${args.level}] [DAEMON] ${traceStr}${ctxStr}${args.message}
|
|
409
447
|
${renderErr(args.err)}`;
|
|
410
448
|
}
|
|
411
|
-
__name(
|
|
449
|
+
__name(formatDaemonLogLine, "formatDaemonLogLine");
|
|
412
450
|
function buildDaemonFileLogLine(args, runId, pid) {
|
|
413
451
|
const callerCtx = args.ctx ? Object.fromEntries(
|
|
414
452
|
Object.entries(args.ctx).filter(
|
|
415
453
|
([key]) => key !== "runId" && key !== "pid"
|
|
416
454
|
)
|
|
417
455
|
) : void 0;
|
|
456
|
+
const traceStr = renderTraceContext(args.traceContext);
|
|
418
457
|
const ctxStr = renderCtx(callerCtx);
|
|
419
|
-
return `${args.now.toISOString()} [${args.level}] [DAEMON] runId=${runId} pid=${pid} ${ctxStr}${args.message}
|
|
458
|
+
return `${args.now.toISOString()} [${args.level}] [DAEMON] runId=${runId} pid=${pid} ${traceStr}${ctxStr}${args.message}
|
|
420
459
|
${renderErr(args.err)}`;
|
|
421
460
|
}
|
|
422
461
|
__name(buildDaemonFileLogLine, "buildDaemonFileLogLine");
|
|
@@ -487,13 +526,15 @@ function statusSnapshot(runId, mode, issues, droppedRecords, droppedBytes) {
|
|
|
487
526
|
__name(statusSnapshot, "statusSnapshot");
|
|
488
527
|
function createStderrOnlyLogger(input) {
|
|
489
528
|
const tee = /* @__PURE__ */ __name((level, message, ctx, err) => {
|
|
529
|
+
const traceContext = getActiveTraceContext();
|
|
490
530
|
input.stderr(
|
|
491
|
-
|
|
531
|
+
formatDaemonLogLine({
|
|
492
532
|
level,
|
|
493
533
|
message,
|
|
494
534
|
now: input.now(),
|
|
495
535
|
ctx,
|
|
496
|
-
err
|
|
536
|
+
err,
|
|
537
|
+
traceContext
|
|
497
538
|
}).trimEnd()
|
|
498
539
|
);
|
|
499
540
|
}, "tee");
|
|
@@ -1255,19 +1296,21 @@ function createConcreteLogger(input) {
|
|
|
1255
1296
|
}, "submitFileRecord");
|
|
1256
1297
|
const tee = /* @__PURE__ */ __name((level, message, ctx, err) => {
|
|
1257
1298
|
const timestamp = input.now();
|
|
1299
|
+
const traceContext = getActiveTraceContext();
|
|
1258
1300
|
input.stderr(
|
|
1259
|
-
|
|
1301
|
+
formatDaemonLogLine({
|
|
1260
1302
|
level,
|
|
1261
1303
|
message,
|
|
1262
1304
|
now: timestamp,
|
|
1263
1305
|
ctx,
|
|
1264
|
-
err
|
|
1306
|
+
err,
|
|
1307
|
+
traceContext
|
|
1265
1308
|
}).trimEnd()
|
|
1266
1309
|
);
|
|
1267
1310
|
submitFileRecord(
|
|
1268
1311
|
capUtf8Record(
|
|
1269
1312
|
buildDaemonFileLogLine(
|
|
1270
|
-
{ level, message, now: timestamp, ctx, err },
|
|
1313
|
+
{ level, message, now: timestamp, ctx, err, traceContext },
|
|
1271
1314
|
input.runId,
|
|
1272
1315
|
input.pid
|
|
1273
1316
|
),
|
|
@@ -1694,7 +1737,7 @@ ${capUtf8Record(
|
|
|
1694
1737
|
}
|
|
1695
1738
|
__name(initDaemonLogger, "initDaemonLogger");
|
|
1696
1739
|
|
|
1697
|
-
// packages/cli/src/serve/
|
|
1740
|
+
// packages/cli/src/serve/conversations/conversation-workspace.ts
|
|
1698
1741
|
init_esbuild_shims();
|
|
1699
1742
|
import { createHash as createHash2 } from "node:crypto";
|
|
1700
1743
|
import { lstat, mkdir, realpath, rmdir } from "node:fs/promises";
|
|
@@ -1742,14 +1785,14 @@ async function validateConversationDirectory(root, name, candidate, parent = roo
|
|
|
1742
1785
|
"Live conversation directory must be an owned direct child"
|
|
1743
1786
|
);
|
|
1744
1787
|
}
|
|
1745
|
-
await
|
|
1788
|
+
await revalidateConversationRoot(root);
|
|
1746
1789
|
return canonical;
|
|
1747
1790
|
}
|
|
1748
1791
|
__name(validateConversationDirectory, "validateConversationDirectory");
|
|
1749
|
-
function
|
|
1792
|
+
function getConversationRootPath(homeDir = homedir()) {
|
|
1750
1793
|
return resolve(homeDir, "Documents", "Qwen Code", "Conversations");
|
|
1751
1794
|
}
|
|
1752
|
-
__name(
|
|
1795
|
+
__name(getConversationRootPath, "getConversationRootPath");
|
|
1753
1796
|
async function createRoot(configuredRoot) {
|
|
1754
1797
|
try {
|
|
1755
1798
|
await mkdir(configuredRoot, { recursive: true, mode: 448 });
|
|
@@ -1781,7 +1824,7 @@ async function createRoot(configuredRoot) {
|
|
|
1781
1824
|
};
|
|
1782
1825
|
}
|
|
1783
1826
|
__name(createRoot, "createRoot");
|
|
1784
|
-
async function
|
|
1827
|
+
async function revalidateConversationRoot(root) {
|
|
1785
1828
|
const configuredStats = await lstat(root.configuredRoot);
|
|
1786
1829
|
validateRootStats(configuredStats);
|
|
1787
1830
|
if (!hasIdentity(configuredStats, root)) {
|
|
@@ -1798,9 +1841,9 @@ async function revalidateLiveConversationRoot(root) {
|
|
|
1798
1841
|
}
|
|
1799
1842
|
return root;
|
|
1800
1843
|
}
|
|
1801
|
-
__name(
|
|
1802
|
-
async function
|
|
1803
|
-
await
|
|
1844
|
+
__name(revalidateConversationRoot, "revalidateConversationRoot");
|
|
1845
|
+
async function assertExactConversationRoot(root, candidate) {
|
|
1846
|
+
await revalidateConversationRoot(root);
|
|
1804
1847
|
const resolvedCandidate = resolve(candidate);
|
|
1805
1848
|
if (!isSamePath(resolvedCandidate, root.configuredRoot) && !isSamePath(resolvedCandidate, root.canonicalRoot)) {
|
|
1806
1849
|
throw new Error("Workspace must be the exact Live conversation root");
|
|
@@ -1813,15 +1856,15 @@ async function assertExactLiveConversationRoot(root, candidate) {
|
|
|
1813
1856
|
}
|
|
1814
1857
|
return root;
|
|
1815
1858
|
}
|
|
1816
|
-
__name(
|
|
1817
|
-
var
|
|
1859
|
+
__name(assertExactConversationRoot, "assertExactConversationRoot");
|
|
1860
|
+
var ConversationWorkspace = class {
|
|
1818
1861
|
static {
|
|
1819
|
-
__name(this, "
|
|
1862
|
+
__name(this, "ConversationWorkspace");
|
|
1820
1863
|
}
|
|
1821
1864
|
rootPath;
|
|
1822
1865
|
rootPromise;
|
|
1823
1866
|
constructor(options = {}) {
|
|
1824
|
-
this.rootPath =
|
|
1867
|
+
this.rootPath = getConversationRootPath(options.homeDir);
|
|
1825
1868
|
}
|
|
1826
1869
|
async getRoot() {
|
|
1827
1870
|
if (!this.rootPromise) {
|
|
@@ -1834,10 +1877,10 @@ var LiveConversationWorkspace = class {
|
|
|
1834
1877
|
return this.rootPromise;
|
|
1835
1878
|
}
|
|
1836
1879
|
async revalidate() {
|
|
1837
|
-
return
|
|
1880
|
+
return revalidateConversationRoot(await this.getRoot());
|
|
1838
1881
|
}
|
|
1839
1882
|
async assertExactRoot(candidate) {
|
|
1840
|
-
return
|
|
1883
|
+
return assertExactConversationRoot(await this.getRoot(), candidate);
|
|
1841
1884
|
}
|
|
1842
1885
|
async materializeConversationDirectory(sessionId) {
|
|
1843
1886
|
const root = await this.revalidate();
|
|
@@ -1873,7 +1916,7 @@ var LiveConversationWorkspace = class {
|
|
|
1873
1916
|
}
|
|
1874
1917
|
throw error;
|
|
1875
1918
|
}
|
|
1876
|
-
await
|
|
1919
|
+
await revalidateConversationRoot(root);
|
|
1877
1920
|
return true;
|
|
1878
1921
|
}
|
|
1879
1922
|
};
|
|
@@ -2984,12 +3027,12 @@ var retryableChannelWorkerShutdownErrors = /* @__PURE__ */ new WeakSet();
|
|
|
2984
3027
|
var channelWorkerRuntimePromise;
|
|
2985
3028
|
async function loadChannelWorkerRuntime() {
|
|
2986
3029
|
channelWorkerRuntimePromise ??= Promise.all([
|
|
2987
|
-
import("./channel-worker-supervisor-
|
|
2988
|
-
import("./pidfile-
|
|
2989
|
-
import("./runtime-
|
|
3030
|
+
import("./channel-worker-supervisor-ZJIIWM4I.js"),
|
|
3031
|
+
import("./pidfile-SHSMSAZR.js"),
|
|
3032
|
+
import("./runtime-NPYVZVRI.js"),
|
|
2990
3033
|
import("./cli-entry-path-4VJ3Y6T2.js"),
|
|
2991
|
-
import("./channel-worker-group-
|
|
2992
|
-
import("./channel-worker-manager-
|
|
3034
|
+
import("./channel-worker-group-IHBIHQ45.js"),
|
|
3035
|
+
import("./channel-worker-manager-GEHYJ5AE.js")
|
|
2993
3036
|
]).then(
|
|
2994
3037
|
([
|
|
2995
3038
|
supervisor,
|
|
@@ -3094,7 +3137,7 @@ function shouldPreheatBridge(deps) {
|
|
|
3094
3137
|
__name(shouldPreheatBridge, "shouldPreheatBridge");
|
|
3095
3138
|
var coreRuntimePromise;
|
|
3096
3139
|
function loadCoreRuntime() {
|
|
3097
|
-
coreRuntimePromise ??= import("./core-runtime-
|
|
3140
|
+
coreRuntimePromise ??= import("./core-runtime-HAZLPQXI.js");
|
|
3098
3141
|
return coreRuntimePromise;
|
|
3099
3142
|
}
|
|
3100
3143
|
__name(loadCoreRuntime, "loadCoreRuntime");
|
|
@@ -3130,10 +3173,10 @@ __name(resolveDaemonLogBaseDirForRun, "resolveDaemonLogBaseDirForRun");
|
|
|
3130
3173
|
var settingsRuntimePromise;
|
|
3131
3174
|
function loadSettingsRuntimeModules() {
|
|
3132
3175
|
settingsRuntimePromise ??= Promise.all([
|
|
3133
|
-
import("./settings-
|
|
3134
|
-
import("./environment-
|
|
3135
|
-
import("./loadedSettingsAdapter-
|
|
3136
|
-
import("./trustedFolders-
|
|
3176
|
+
import("./settings-2IPZYYGS.js"),
|
|
3177
|
+
import("./environment-RWSNEY4T.js"),
|
|
3178
|
+
import("./loadedSettingsAdapter-LNUDRGW5.js"),
|
|
3179
|
+
import("./trustedFolders-A5ZWRRSP.js")
|
|
3137
3180
|
]).then(([settings, environment, loadedSettingsAdapter, trustedFolders]) => ({
|
|
3138
3181
|
settings,
|
|
3139
3182
|
environment,
|
|
@@ -3146,8 +3189,8 @@ __name(loadSettingsRuntimeModules, "loadSettingsRuntimeModules");
|
|
|
3146
3189
|
var channelWebhookConfigRuntimePromise;
|
|
3147
3190
|
function loadChannelWebhookConfigRuntime() {
|
|
3148
3191
|
channelWebhookConfigRuntimePromise ??= Promise.all([
|
|
3149
|
-
import("./runtime-
|
|
3150
|
-
import("./config-utils-
|
|
3192
|
+
import("./runtime-NPYVZVRI.js"),
|
|
3193
|
+
import("./config-utils-Z3OW3IQG.js")
|
|
3151
3194
|
]).then(([channelRuntime, configUtils]) => ({
|
|
3152
3195
|
loadChannelsConfig: channelRuntime.loadChannelsConfig,
|
|
3153
3196
|
parseChannelWebhookConfig: configUtils.parseChannelWebhookConfig
|
|
@@ -3172,17 +3215,17 @@ async function loadServeRuntimeModules() {
|
|
|
3172
3215
|
totalSessionAdmissionModule,
|
|
3173
3216
|
workspaceRegistryModule
|
|
3174
3217
|
] = await Promise.all([
|
|
3175
|
-
import("./server-
|
|
3176
|
-
import("./bridge-
|
|
3177
|
-
import("./spawnChannel-
|
|
3218
|
+
import("./server-WMVPH4G4.js"),
|
|
3219
|
+
import("./bridge-U7LETTTF.js"),
|
|
3220
|
+
import("./spawnChannel-TLW7N3SM.js"),
|
|
3178
3221
|
import("./process-registry-PMJOA5CO.js"),
|
|
3179
|
-
import("./workspace-service-
|
|
3222
|
+
import("./workspace-service-NAGTBJXJ.js"),
|
|
3180
3223
|
import("./types-WYCFCEHR.js"),
|
|
3181
|
-
import("./daemon-status-provider-
|
|
3182
|
-
import("./workspace-providers-status-
|
|
3183
|
-
import("./workspace-skills-status-
|
|
3184
|
-
import("./total-session-admission-
|
|
3185
|
-
import("./workspace-registry-
|
|
3224
|
+
import("./daemon-status-provider-7UK2DVVN.js"),
|
|
3225
|
+
import("./workspace-providers-status-TUWLGJOF.js"),
|
|
3226
|
+
import("./workspace-skills-status-LWDBXAQI.js"),
|
|
3227
|
+
import("./total-session-admission-NWNMU6AW.js"),
|
|
3228
|
+
import("./workspace-registry-HUFJF5W5.js")
|
|
3186
3229
|
]);
|
|
3187
3230
|
return {
|
|
3188
3231
|
createServeApp: serverModule.createServeApp,
|
|
@@ -3191,6 +3234,7 @@ async function loadServeRuntimeModules() {
|
|
|
3191
3234
|
resolveBridgeFsFactory: serverModule.resolveBridgeFsFactory,
|
|
3192
3235
|
createAcpSessionBridge: bridgeModule.createAcpSessionBridge,
|
|
3193
3236
|
createSpawnChannelFactory: spawnChannelModule.createSpawnChannelFactory,
|
|
3237
|
+
daemonAcpNdJsonLimits: spawnChannelModule.DAEMON_ACP_NDJSON_LIMITS,
|
|
3194
3238
|
ProcessRegistry: processRegistryModule.ProcessRegistry,
|
|
3195
3239
|
createDaemonWorkspaceService: workspaceModule.createDaemonWorkspaceService,
|
|
3196
3240
|
WorkspaceSettingsPartialPersistError: workspaceTypesModule.WorkspaceSettingsPartialPersistError,
|
|
@@ -3496,6 +3540,11 @@ function createBootstrapServeApp(input) {
|
|
|
3496
3540
|
return;
|
|
3497
3541
|
}
|
|
3498
3542
|
const runtimeError = getRuntimeError();
|
|
3543
|
+
const bootstrapJournalGrowthPoolMb = opts.daemonMemoryBudget !== void 0 ? serveJournalGrowthPoolMb({
|
|
3544
|
+
budget: opts.daemonMemoryBudget,
|
|
3545
|
+
maxJournalEvents: opts.maxJournalEvents,
|
|
3546
|
+
maxJournalBytes: opts.maxJournalBytes
|
|
3547
|
+
}) : 0;
|
|
3499
3548
|
const channelWorker = getChannelWorkerSnapshot();
|
|
3500
3549
|
const channelWorkers = getChannelWorkerSnapshots();
|
|
3501
3550
|
const runtimeFailed = runtimeError !== void 0;
|
|
@@ -3571,7 +3620,16 @@ function createBootstrapServeApp(input) {
|
|
|
3571
3620
|
// No child-heap policy during bootstrap: it is built with the
|
|
3572
3621
|
// runtime, so `enforced` is correctly false and `childHeap` null in
|
|
3573
3622
|
// this window even when the flag says `enforce`.
|
|
3574
|
-
memory: toDaemonStatusMemoryLimits(
|
|
3623
|
+
memory: toDaemonStatusMemoryLimits(
|
|
3624
|
+
opts.daemonMemoryBudget,
|
|
3625
|
+
void 0,
|
|
3626
|
+
bootstrapJournalGrowthPoolMb > 0 ? {
|
|
3627
|
+
poolBytes: bootstrapJournalGrowthPoolMb * 1024 * 1024,
|
|
3628
|
+
hardCapBytes: JOURNAL_GROWTH_HARD_CAP_BYTES,
|
|
3629
|
+
baselineMaxEvents: opts.maxJournalEvents ?? DEFAULT_MAX_JOURNAL_EVENTS,
|
|
3630
|
+
baselineMaxBytes: opts.maxJournalBytes ?? DEFAULT_MAX_JOURNAL_BYTES
|
|
3631
|
+
} : null
|
|
3632
|
+
)
|
|
3575
3633
|
},
|
|
3576
3634
|
capabilities: {
|
|
3577
3635
|
protocolVersions: getServeProtocolVersions(),
|
|
@@ -3885,12 +3943,13 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
3885
3943
|
);
|
|
3886
3944
|
}
|
|
3887
3945
|
preResolveServeFastPathHomeEnvOverrides();
|
|
3888
|
-
const baseEnv = {
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3946
|
+
const baseEnv = { ...process.env };
|
|
3947
|
+
const launchMemoryProjectScopeValue = baseEnv["QWEN_CODE_MEMORY_PROJECT_SCOPE"];
|
|
3948
|
+
const launchMemoryProjectScope = launchMemoryProjectScopeValue?.trim() ? launchMemoryProjectScopeValue : void 0;
|
|
3949
|
+
const memoryProjectScopeValue = optsIn.memoryProjectScope ?? launchMemoryProjectScope ?? "workspace";
|
|
3950
|
+
const memoryProjectScopeSource = optsIn.memoryProjectScope !== void 0 ? "option" : launchMemoryProjectScope !== void 0 ? "environment" : "default";
|
|
3951
|
+
const resolvedMemoryProjectScope = memoryProjectScopeValue.trim().toLowerCase() === "workspace" ? "workspace" : "git-root";
|
|
3952
|
+
baseEnv["QWEN_CODE_MEMORY_PROJECT_SCOPE"] = memoryProjectScopeValue;
|
|
3894
3953
|
if (process.env["DEV"] !== "true") {
|
|
3895
3954
|
scrubInheritedLoaderEnv(baseEnv);
|
|
3896
3955
|
}
|
|
@@ -4136,9 +4195,29 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4136
4195
|
if (opts.daemonMemoryBudget.budgetSource === "flag" || opts.daemonMemoryBudget.insufficientMemory) {
|
|
4137
4196
|
writeStderrLine(formatMemoryBudgetStderr(opts.daemonMemoryBudget));
|
|
4138
4197
|
}
|
|
4198
|
+
const journalGrowthPoolMbValue = opts.daemonMemoryBudget !== void 0 ? serveJournalGrowthPoolMb({
|
|
4199
|
+
budget: opts.daemonMemoryBudget,
|
|
4200
|
+
maxJournalEvents: opts.maxJournalEvents,
|
|
4201
|
+
maxJournalBytes: opts.maxJournalBytes
|
|
4202
|
+
}) : 0;
|
|
4203
|
+
const journalGrowthPoolBytes = journalGrowthPoolMbValue > 0 ? journalGrowthPoolMbValue * 1024 * 1024 : void 0;
|
|
4204
|
+
const journalGrowthSessionLimitProviders = /* @__PURE__ */ new Set();
|
|
4205
|
+
const journalGrowthSessionLimits = /* @__PURE__ */ __name(() => {
|
|
4206
|
+
const limits = [];
|
|
4207
|
+
for (const provider of journalGrowthSessionLimitProviders) {
|
|
4208
|
+
limits.push(...provider());
|
|
4209
|
+
}
|
|
4210
|
+
return limits;
|
|
4211
|
+
}, "journalGrowthSessionLimits");
|
|
4212
|
+
const registerJournalGrowthSessionLimits = /* @__PURE__ */ __name((provider) => {
|
|
4213
|
+
journalGrowthSessionLimitProviders.add(provider);
|
|
4214
|
+
return () => {
|
|
4215
|
+
journalGrowthSessionLimitProviders.delete(provider);
|
|
4216
|
+
};
|
|
4217
|
+
}, "registerJournalGrowthSessionLimits");
|
|
4139
4218
|
let workspaceRegistrationStore = deps.workspaceRegistrationStore;
|
|
4140
4219
|
if (workspaceRegistrationStore === void 0 && process.env["QWEN_SERVE_NO_PERSISTENT_REGISTRATION"] !== "1") {
|
|
4141
|
-
const { WorkspaceRegistrationStore } = await import("./workspace-registration-store-
|
|
4220
|
+
const { WorkspaceRegistrationStore } = await import("./workspace-registration-store-22XXHPKR.js");
|
|
4142
4221
|
workspaceRegistrationStore = new WorkspaceRegistrationStore(boundWorkspace);
|
|
4143
4222
|
}
|
|
4144
4223
|
if (workspaceRegistrationStore) {
|
|
@@ -4237,6 +4316,11 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4237
4316
|
baseDir: daemonLogBaseDir
|
|
4238
4317
|
});
|
|
4239
4318
|
loggerLifecycle.initialized(daemonLog);
|
|
4319
|
+
daemonLog.info("project memory scope resolved", {
|
|
4320
|
+
projectMemoryScope: resolvedMemoryProjectScope,
|
|
4321
|
+
projectMemoryScopeSource: memoryProjectScopeSource,
|
|
4322
|
+
projectMemoryScopeRaw: memoryProjectScopeValue
|
|
4323
|
+
});
|
|
4240
4324
|
const loaderRejectionReporter = /* @__PURE__ */ __name((source, freshKeys) => {
|
|
4241
4325
|
daemonLog.warn(
|
|
4242
4326
|
"rejected loader-affecting env keys; they were not applied",
|
|
@@ -4389,7 +4473,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4389
4473
|
"Required external tool guarding cannot be combined with an injected bridge."
|
|
4390
4474
|
);
|
|
4391
4475
|
}
|
|
4392
|
-
const { RequiredExternalToolGuard } = await import("./external-tool-guard-provider-
|
|
4476
|
+
const { RequiredExternalToolGuard } = await import("./external-tool-guard-provider-TE4DRY36.js");
|
|
4393
4477
|
const provider = new RequiredExternalToolGuard({
|
|
4394
4478
|
endpoint: opts.externalToolGuard.endpoint,
|
|
4395
4479
|
token: opts.externalToolGuard.token,
|
|
@@ -4401,11 +4485,16 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4401
4485
|
"qwen serve: required external tool guard handshake succeeded."
|
|
4402
4486
|
);
|
|
4403
4487
|
}
|
|
4488
|
+
const { createDaemonToolGuard } = await import("./daemon-git-worktree-guard-BSKVBYPM.js");
|
|
4489
|
+
const daemonToolGuardHandler = createDaemonToolGuard(
|
|
4490
|
+
externalToolGuardHandler
|
|
4491
|
+
);
|
|
4404
4492
|
const childEnvOverrides = {
|
|
4405
4493
|
QWEN_SERVE_MCP_CLIENT_BUDGET: opts.mcpClientBudget !== void 0 ? String(opts.mcpClientBudget) : void 0,
|
|
4406
4494
|
QWEN_SERVE_MCP_BUDGET_MODE: opts.mcpBudgetMode,
|
|
4407
4495
|
QWEN_SERVE_CDP_TUNNEL_OVER_WS: opts.cdpTunnelOverWs ? "1" : void 0,
|
|
4408
|
-
[PRIVATE_EXTERNAL_TOOL_GUARD_ENV]:
|
|
4496
|
+
[PRIVATE_EXTERNAL_TOOL_GUARD_ENV]: EXTERNAL_TOOL_GUARD_REQUIRED_VALUE,
|
|
4497
|
+
[PRIVATE_EXTERNAL_TOOL_GUARD_PROVIDER_ENV]: externalToolGuardHandler ? EXTERNAL_TOOL_GUARD_PROVIDER_ATTACHED_VALUE : void 0
|
|
4409
4498
|
};
|
|
4410
4499
|
const cliVersionPromise = getCliVersion();
|
|
4411
4500
|
let cliVersion;
|
|
@@ -4703,7 +4792,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4703
4792
|
loadCoreRuntime(),
|
|
4704
4793
|
loadSettingsRuntimeModules(),
|
|
4705
4794
|
cliVersionPromise,
|
|
4706
|
-
import("./daemon-trust-policy-
|
|
4795
|
+
import("./daemon-trust-policy-BZEALQSM.js")
|
|
4707
4796
|
]);
|
|
4708
4797
|
cliVersion = resolvedCliVersion;
|
|
4709
4798
|
settingsRuntime.environment.preResolveHomeEnvOverrides();
|
|
@@ -4726,7 +4815,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4726
4815
|
`qwen serve: managed scratch workspaces are unavailable: ${err instanceof Error ? err.message : String(err)}`
|
|
4727
4816
|
);
|
|
4728
4817
|
}
|
|
4729
|
-
const liveConversationWorkspace = deps.liveConversationWorkspace ?? new
|
|
4818
|
+
const liveConversationWorkspace = deps.liveConversationWorkspace ?? new ConversationWorkspace();
|
|
4730
4819
|
let runtimeBootSettings;
|
|
4731
4820
|
try {
|
|
4732
4821
|
runtimeBootSettings = settingsRuntime.settings.loadSettings(
|
|
@@ -5010,6 +5099,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5010
5099
|
const channelFactory = runtime.createSpawnChannelFactory({
|
|
5011
5100
|
processRegistry,
|
|
5012
5101
|
childHeapPolicy,
|
|
5102
|
+
pipeLimits: runtime.daemonAcpNdJsonLimits,
|
|
5013
5103
|
sourceEnv: runtimeEffectiveEnv,
|
|
5014
5104
|
onDiagnosticLine: diagnosticSink,
|
|
5015
5105
|
pipeHooks: {
|
|
@@ -5075,7 +5165,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5075
5165
|
resolveSkillSettings,
|
|
5076
5166
|
skillSettingStrings,
|
|
5077
5167
|
updateWorkspaceSkillSettingLists
|
|
5078
|
-
} = await import("./skill-settings-
|
|
5168
|
+
} = await import("./skill-settings-J5IHQA7L.js");
|
|
5079
5169
|
const fresh = loadSettingsForPersistence(workspace);
|
|
5080
5170
|
const normalizedName = skillName.trim().toLowerCase();
|
|
5081
5171
|
const resolved = resolveSkillSettings(fresh);
|
|
@@ -5140,7 +5230,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5140
5230
|
resolveSkillSettings,
|
|
5141
5231
|
skillSettingStrings,
|
|
5142
5232
|
updateWorkspaceSkillSettingLists
|
|
5143
|
-
} = await import("./skill-settings-
|
|
5233
|
+
} = await import("./skill-settings-J5IHQA7L.js");
|
|
5144
5234
|
const fresh = loadSettingsForPersistence(workspace);
|
|
5145
5235
|
const resolved = resolveSkillSettings(fresh);
|
|
5146
5236
|
const initialDisabled = skillSettingStrings(
|
|
@@ -5245,7 +5335,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5245
5335
|
);
|
|
5246
5336
|
}
|
|
5247
5337
|
}), "persistSettingsFn");
|
|
5248
|
-
const { createSubSessionLauncher } = await import("./create-sub-session-
|
|
5338
|
+
const { createSubSessionLauncher } = await import("./create-sub-session-GREIOIZU.js");
|
|
5249
5339
|
const subSessionLauncher = createSubSessionLauncher({
|
|
5250
5340
|
getBridge: /* @__PURE__ */ __name(() => bridgeRef, "getBridge"),
|
|
5251
5341
|
boundWorkspace,
|
|
@@ -5278,6 +5368,11 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5278
5368
|
...opts.compactedReplayMaxBytes !== void 0 ? { compactedReplayMaxBytes: opts.compactedReplayMaxBytes } : {},
|
|
5279
5369
|
...opts.maxJournalEvents !== void 0 ? { maxJournalEvents: opts.maxJournalEvents } : {},
|
|
5280
5370
|
...opts.maxJournalBytes !== void 0 ? { maxJournalBytes: opts.maxJournalBytes } : {},
|
|
5371
|
+
...journalGrowthPoolBytes !== void 0 ? {
|
|
5372
|
+
journalGrowthPoolBytes,
|
|
5373
|
+
journalGrowthSessionLimits,
|
|
5374
|
+
registerJournalGrowthSessionLimits
|
|
5375
|
+
} : {},
|
|
5281
5376
|
...opts.channelIdleTimeoutMs !== void 0 ? { channelIdleTimeoutMs: opts.channelIdleTimeoutMs } : {},
|
|
5282
5377
|
...opts.initializeTimeoutMs !== void 0 ? { initializeTimeoutMs: opts.initializeTimeoutMs } : {},
|
|
5283
5378
|
sessionRestoreTimeoutMs,
|
|
@@ -5288,7 +5383,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5288
5383
|
sessionShellCommandEnabled,
|
|
5289
5384
|
childEnvOverrides,
|
|
5290
5385
|
channelFactory,
|
|
5291
|
-
|
|
5386
|
+
externalToolGuard: daemonToolGuardHandler,
|
|
5292
5387
|
onDiagnosticLine: diagnosticSink,
|
|
5293
5388
|
telemetry: daemonTelemetry,
|
|
5294
5389
|
...permissionPolicy !== void 0 ? { permissionPolicy } : {},
|
|
@@ -5540,6 +5635,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5540
5635
|
const secondaryChannelFactory = runtime.createSpawnChannelFactory({
|
|
5541
5636
|
processRegistry,
|
|
5542
5637
|
childHeapPolicy,
|
|
5638
|
+
pipeLimits: runtime.daemonAcpNdJsonLimits,
|
|
5543
5639
|
sourceEnv: secondaryEnv.effectiveEnv,
|
|
5544
5640
|
onDiagnosticLine: diagnosticSink,
|
|
5545
5641
|
pipeHooks: {
|
|
@@ -5585,6 +5681,11 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5585
5681
|
...opts.compactedReplayMaxBytes !== void 0 ? { compactedReplayMaxBytes: opts.compactedReplayMaxBytes } : {},
|
|
5586
5682
|
...opts.maxJournalEvents !== void 0 ? { maxJournalEvents: opts.maxJournalEvents } : {},
|
|
5587
5683
|
...opts.maxJournalBytes !== void 0 ? { maxJournalBytes: opts.maxJournalBytes } : {},
|
|
5684
|
+
...journalGrowthPoolBytes !== void 0 ? {
|
|
5685
|
+
journalGrowthPoolBytes,
|
|
5686
|
+
journalGrowthSessionLimits,
|
|
5687
|
+
registerJournalGrowthSessionLimits
|
|
5688
|
+
} : {},
|
|
5588
5689
|
...opts.channelIdleTimeoutMs !== void 0 ? { channelIdleTimeoutMs: opts.channelIdleTimeoutMs } : {},
|
|
5589
5690
|
...opts.initializeTimeoutMs !== void 0 ? { initializeTimeoutMs: opts.initializeTimeoutMs } : {},
|
|
5590
5691
|
sessionRestoreTimeoutMs,
|
|
@@ -5595,7 +5696,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5595
5696
|
sessionShellCommandEnabled,
|
|
5596
5697
|
childEnvOverrides,
|
|
5597
5698
|
channelFactory: secondaryChannelFactory,
|
|
5598
|
-
|
|
5699
|
+
externalToolGuard: daemonToolGuardHandler,
|
|
5599
5700
|
onDiagnosticLine: diagnosticSink,
|
|
5600
5701
|
telemetry: createRuntimeBridgeTelemetry(secondaryWorkspaceHash),
|
|
5601
5702
|
...permissionPolicy !== void 0 ? { permissionPolicy } : {},
|
|
@@ -5893,6 +5994,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5893
5994
|
const wsChannelFactory = runtime.createSpawnChannelFactory({
|
|
5894
5995
|
processRegistry,
|
|
5895
5996
|
childHeapPolicy,
|
|
5997
|
+
pipeLimits: runtime.daemonAcpNdJsonLimits,
|
|
5896
5998
|
sourceEnv: wsEnv.effectiveEnv,
|
|
5897
5999
|
onDiagnosticLine: diagnosticSink,
|
|
5898
6000
|
pipeHooks: {
|
|
@@ -5949,6 +6051,11 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5949
6051
|
...opts.compactedReplayMaxBytes !== void 0 ? { compactedReplayMaxBytes: opts.compactedReplayMaxBytes } : {},
|
|
5950
6052
|
...opts.maxJournalEvents !== void 0 ? { maxJournalEvents: opts.maxJournalEvents } : {},
|
|
5951
6053
|
...opts.maxJournalBytes !== void 0 ? { maxJournalBytes: opts.maxJournalBytes } : {},
|
|
6054
|
+
...journalGrowthPoolBytes !== void 0 ? {
|
|
6055
|
+
journalGrowthPoolBytes,
|
|
6056
|
+
journalGrowthSessionLimits,
|
|
6057
|
+
registerJournalGrowthSessionLimits
|
|
6058
|
+
} : {},
|
|
5952
6059
|
...opts.channelIdleTimeoutMs !== void 0 ? { channelIdleTimeoutMs: opts.channelIdleTimeoutMs } : {},
|
|
5953
6060
|
...opts.initializeTimeoutMs !== void 0 ? { initializeTimeoutMs: opts.initializeTimeoutMs } : {},
|
|
5954
6061
|
sessionRestoreTimeoutMs,
|
|
@@ -5959,7 +6066,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5959
6066
|
sessionShellCommandEnabled,
|
|
5960
6067
|
childEnvOverrides,
|
|
5961
6068
|
channelFactory: wsChannelFactory,
|
|
5962
|
-
|
|
6069
|
+
externalToolGuard: daemonToolGuardHandler,
|
|
5963
6070
|
onDiagnosticLine: diagnosticSink,
|
|
5964
6071
|
telemetry: createRuntimeBridgeTelemetry(wsHash),
|
|
5965
6072
|
...permissionPolicy !== void 0 ? { permissionPolicy } : {},
|
|
@@ -6403,8 +6510,8 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
6403
6510
|
{ createChannelManagementService },
|
|
6404
6511
|
{ WorkspaceChannelSettingsStore }
|
|
6405
6512
|
] = await Promise.all([
|
|
6406
|
-
import("./channel-management-service-
|
|
6407
|
-
import("./channel-settings-store-
|
|
6513
|
+
import("./channel-management-service-OADNGQM3.js"),
|
|
6514
|
+
import("./channel-settings-store-B2GRIZ2D.js")
|
|
6408
6515
|
]);
|
|
6409
6516
|
return createChannelManagementService({
|
|
6410
6517
|
workspaceCwd: targetRuntime.workspaceCwd,
|
|
@@ -6605,8 +6712,8 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
6605
6712
|
{ createWorkspaceTrustReconciler },
|
|
6606
6713
|
{ createDaemonTrustPolicyMonitor }
|
|
6607
6714
|
] = await Promise.all([
|
|
6608
|
-
import("./workspace-trust-reconciler-
|
|
6609
|
-
import("./daemon-trust-policy-monitor-
|
|
6715
|
+
import("./workspace-trust-reconciler-DLWV2ZO6.js"),
|
|
6716
|
+
import("./daemon-trust-policy-monitor-P7OM342T.js")
|
|
6610
6717
|
]);
|
|
6611
6718
|
const materializationFor = /* @__PURE__ */ __name((entry, snapshot, decision) => {
|
|
6612
6719
|
const boundWorkspaces2 = entry.primary && decision.targetTrusted ? runtime.resolveBoundWorkspacesFromIdeEnv(
|
|
@@ -6821,7 +6928,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
6821
6928
|
);
|
|
6822
6929
|
}
|
|
6823
6930
|
const channelValidationSettingsRuntime = opts.channelSelection ? await loadSettingsRuntimeModules() : void 0;
|
|
6824
|
-
const channelValidationTrustPolicy = opts.channelSelection ? await import("./daemon-trust-policy-
|
|
6931
|
+
const channelValidationTrustPolicy = opts.channelSelection ? await import("./daemon-trust-policy-BZEALQSM.js") : void 0;
|
|
6825
6932
|
const channelValidationTrustSnapshot = channelValidationTrustPolicy ? await channelValidationTrustPolicy.readDaemonTrustPolicySnapshot() : void 0;
|
|
6826
6933
|
const resolveChannelWorkspaceGroupsAtListen = /* @__PURE__ */ __name(() => {
|
|
6827
6934
|
if (!opts.channelSelection || !channelValidationSettingsRuntime || !channelRuntime) {
|