@qwen-code/qwen-code 0.20.2-jobbench-no-todo-write.0 → 0.21.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 +5 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +23 -5
- package/bundled/qc-helper/docs/integration-github-action.md +9 -9
- package/bundled/review/SKILL.md +7 -3
- package/chunks/MaxSizedBox-5DPPWPGT.js +85 -0
- package/chunks/{StandaloneSessionPicker-WBRBHD2M.js → StandaloneSessionPicker-BIRMPLRD.js} +66 -58
- package/chunks/{acp-startup-profiler-N3RHHXJ3.js → acp-startup-profiler-RV3IV562.js} +2 -2
- package/chunks/{acpAgent-BBQZ33CA.js → acpAgent-6J2U72PQ.js} +706 -182
- package/chunks/agent-6ODUANDO.js +81 -0
- package/chunks/agent-headless-7BYQTMHW.js +75 -0
- package/chunks/{anthropicContentGenerator-HGWAHO24.js → anthropicContentGenerator-75BKLTSP.js} +117 -43
- package/chunks/{artifact-tool-56T5IMBP.js → artifact-tool-Y5T7GG7F.js} +3 -3
- package/chunks/{askUserQuestion-E25OBIC2.js → askUserQuestion-2H6747FR.js} +3 -3
- package/chunks/bridge-ZUB64FAE.js +90 -0
- package/chunks/{build-SSCNEHZZ.js → build-RV63TIRH.js} +2 -3
- package/chunks/{ca-N6VVUFVB.js → ca-25EDXPFZ.js} +2 -0
- package/chunks/{channel-worker-group-LFBT7K64.js → channel-worker-group-2ZD7TVAT.js} +7 -6
- package/chunks/{channel-worker-manager-3RUPERG2.js → channel-worker-manager-4OA4BCGB.js} +189 -29
- package/chunks/{channel-worker-supervisor-A3KVATD3.js → channel-worker-supervisor-V7KCFJTS.js} +6 -5
- package/chunks/{chunk-TYQMGACW.js → chunk-22C7BQ6D.js} +508 -10967
- package/chunks/chunk-2JZBVYTU.js +452 -0
- package/chunks/{chunk-H2XVO6NE.js → chunk-2MIN6GRR.js} +1 -1
- package/chunks/{chunk-B2HSPMD4.js → chunk-2NH6DYI4.js} +12 -12
- package/chunks/chunk-2SCDWPXI.js +246 -0
- package/chunks/{chunk-JK26TQON.js → chunk-2X55UKQE.js} +3 -3
- package/chunks/{chunk-7VUQQBR7.js → chunk-3QMGYBFN.js} +2 -65
- package/chunks/{chunk-UMCULC5M.js → chunk-3RN6GBKS.js} +1 -1
- package/chunks/{chunk-QR6U5QPP.js → chunk-3SJ43L4W.js} +4 -0
- package/chunks/chunk-46UV252V.js +128 -0
- package/chunks/{chunk-GPMVHZP4.js → chunk-4WIZGAH3.js} +7 -7
- package/chunks/{chunk-CI3GWKGJ.js → chunk-55DJUCI2.js} +87 -29
- package/chunks/{chunk-QNLNLENL.js → chunk-5I2IWRSH.js} +2 -2
- package/chunks/{chunk-D7WXIW7H.js → chunk-5NBDS5S6.js} +145 -5
- package/chunks/{chunk-E4IMU4Y5.js → chunk-63P4EL5V.js} +1 -1
- package/chunks/chunk-6FGBXPWM.js +293 -0
- package/chunks/{chunk-NEEB7UEN.js → chunk-6GMVPFB2.js} +153 -72
- package/chunks/{chunk-KWK7UE6L.js → chunk-6OUGMXDC.js} +6 -6
- package/chunks/{chunk-QRUIS3DN.js → chunk-6PEXNQTX.js} +22 -1
- package/chunks/{chunk-77OZOGPT.js → chunk-7JURR4JT.js} +1 -1
- package/chunks/{chunk-4MWNZNJ4.js → chunk-7MVVZO4N.js} +4 -4
- package/chunks/{chunk-6ZBPS62S.js → chunk-7ZCNENPP.js} +1 -1
- package/chunks/{chunk-6X4GWOPW.js → chunk-A5L3JMUA.js} +1 -1
- package/chunks/{chunk-B3I77W5J.js → chunk-ACY3A37B.js} +3 -3
- package/chunks/chunk-AMDSOFFV.js +10860 -0
- package/chunks/{chunk-RV4C2ZFG.js → chunk-BIQWWWJN.js} +1 -1
- package/chunks/{chunk-ZHERRXZJ.js → chunk-BJX6ZSUK.js} +4 -4
- package/chunks/chunk-BK2UNYWD.js +29 -0
- package/chunks/{chunk-7TLUW4ZE.js → chunk-BKHWX6I2.js} +3 -3
- package/chunks/chunk-BPJSQIJX.js +100 -0
- package/chunks/{chunk-M7WBGLYP.js → chunk-BULDBTYC.js} +2 -0
- package/chunks/{chunk-H4A4A2SY.js → chunk-CIKQ7KKO.js} +4625 -8645
- package/chunks/{chunk-QZJY47IE.js → chunk-D3UEZIQH.js} +7 -5
- package/chunks/chunk-DHHOYAPR.js +1462 -0
- package/chunks/{chunk-LESHKUWF.js → chunk-DLWL3Z7A.js} +5 -3
- package/chunks/{chunk-XHATNRQA.js → chunk-DP3IHZGG.js} +0 -2
- package/chunks/chunk-E5TUC6CA.js +479 -0
- package/chunks/{chunk-6NRFYMKG.js → chunk-EBJQ6AXW.js} +11 -10
- package/chunks/{chunk-HABKX6LY.js → chunk-EPDRMGT4.js} +164 -17
- package/chunks/{chunk-P2BQZ7H7.js → chunk-ETSW4KLJ.js} +2 -2
- package/chunks/{chunk-KHOVYUHX.js → chunk-FNQ6T3CV.js} +20 -3
- package/chunks/{chunk-64EG42HV.js → chunk-FQK6JAFG.js} +72 -23
- package/chunks/{chunk-L6U47G5P.js → chunk-FSITMZJH.js} +8 -8
- package/chunks/{chunk-6RLROE6G.js → chunk-GLWP3FDB.js} +80 -15
- package/chunks/{chunk-CXIOPXRR.js → chunk-GSN55ZRI.js} +5 -5
- package/chunks/{chunk-LVA5OHQO.js → chunk-H4SBPHSA.js} +3 -3
- package/chunks/chunk-H5FFA6TH.js +902 -0
- package/chunks/{chunk-TDKQP3M6.js → chunk-HIJQF5B5.js} +1 -1
- package/chunks/{chunk-NXE6SQIV.js → chunk-IJTOWOD7.js} +14 -3
- package/chunks/chunk-IKCX4CCL.js +469 -0
- package/chunks/{chunk-7SSWNGEJ.js → chunk-IKYJHJNF.js} +3 -3
- package/chunks/{chunk-64XKYOXK.js → chunk-IO3IX5Q4.js} +1 -1
- package/chunks/{chunk-RS7MT2QG.js → chunk-IPUUTYMV.js} +2 -4
- package/chunks/{chunk-XU457J4V.js → chunk-IRH27ZC2.js} +2 -2
- package/chunks/{chunk-SVIMKSEI.js → chunk-J24WCGIN.js} +4 -4
- package/chunks/{chunk-4LVZNIDO.js → chunk-J56UI34H.js} +4 -13
- package/chunks/{chunk-TJTKSVIV.js → chunk-JLU636DO.js} +5 -1
- package/chunks/{chunk-7PIL2BYF.js → chunk-JVPM2ULZ.js} +6 -6
- package/chunks/{chunk-KBB5O3JO.js → chunk-JXJFVC6E.js} +37 -18
- package/chunks/chunk-JZA3JUDJ.js +82 -0
- package/chunks/{chunk-45PO6ZIS.js → chunk-K36B6G2O.js} +5 -5
- package/chunks/{chunk-GPSKDNEE.js → chunk-K4XWPEWB.js} +4 -4
- package/chunks/{chunk-K7EUPLIP.js → chunk-KIM5GUMA.js} +654 -117
- package/chunks/{chunk-42W5BDEY.js → chunk-KMQ33DO4.js} +7 -5
- package/chunks/{chunk-E2UVIFI2.js → chunk-KRXPRVGL.js} +0 -1
- package/chunks/{chunk-WHGVTP7Q.js → chunk-L26JL52R.js} +3 -3
- package/chunks/{chunk-7Z6JQEL6.js → chunk-L5UHQJTJ.js} +1 -1
- package/chunks/{chunk-26CBI4DC.js → chunk-LB6DUZ26.js} +259 -67
- package/chunks/chunk-LEH5C7FV.js +232 -0
- package/chunks/{chunk-UTGFTJ2H.js → chunk-LH2BYDQ5.js} +6 -4
- package/chunks/{chunk-QKTHJXCS.js → chunk-LK7CHLVP.js} +79 -2
- package/chunks/{chunk-V7WNRZL7.js → chunk-LKEJ26GS.js} +11 -11
- package/chunks/{chunk-6VPLV3L3.js → chunk-LQIW3YFY.js} +227 -41
- package/chunks/chunk-LS77BEZP.js +405 -0
- package/chunks/{chunk-5WDRI7US.js → chunk-M4FMGVY4.js} +3 -3
- package/chunks/{chunk-57FIIFJN.js → chunk-M5JM7OSF.js} +1 -1
- package/chunks/{chunk-7362QS5B.js → chunk-MB4MZHMJ.js} +80 -37
- package/chunks/{chunk-4K56OJFJ.js → chunk-MUP3T3AD.js} +1 -1
- package/chunks/{chunk-CJQ3FZ2G.js → chunk-MVSUYZDT.js} +4 -4
- package/chunks/{chunk-6FZYKBKV.js → chunk-MZAXJAUM.js} +1 -1
- package/chunks/{chunk-32L4D2O2.js → chunk-NH6KE4JX.js} +3 -3
- package/chunks/chunk-NIBLUX3Y.js +934 -0
- package/chunks/{chunk-OQB4EXO4.js → chunk-NL7LTRLR.js} +1 -1
- package/chunks/{chunk-6S5HSCOI.js → chunk-OFDOK3VM.js} +5 -5
- package/chunks/{chunk-LIZRAKPB.js → chunk-OHNBB4XR.js} +1 -1
- package/chunks/{chunk-MDZTPSXO.js → chunk-OKY7HXPG.js} +2 -2
- package/chunks/{chunk-NHDKSOEY.js → chunk-P3QQPMQA.js} +5 -5
- package/chunks/{chunk-4SCOLXTD.js → chunk-PC6JANNU.js} +5 -5
- package/chunks/{chunk-IWALV67J.js → chunk-PHOF65IG.js} +4300 -1284
- package/chunks/{chunk-OQ5SYCPE.js → chunk-PJIZUQVC.js} +2 -2
- package/chunks/{chunk-5DTTYNB7.js → chunk-PQNHRFJC.js} +16 -3
- package/chunks/{chunk-YM3SZTH4.js → chunk-PR75REBZ.js} +18 -1
- package/chunks/{chunk-5XORMWA2.js → chunk-PSOO6YXD.js} +18 -15
- package/chunks/{chunk-X6N25LXS.js → chunk-PWTZEM3C.js} +2 -2
- package/chunks/{chunk-GSX6P2JW.js → chunk-PWVFN2LF.js} +1 -1
- package/chunks/{chunk-AHX6AKPD.js → chunk-Q4M4MDQ4.js} +2 -2
- package/chunks/{chunk-3EHJ44GG.js → chunk-QAF7NMK7.js} +1 -1
- package/chunks/{chunk-WSYKDFYR.js → chunk-R5AFZNQW.js} +5 -5
- package/chunks/{chunk-63DJBU32.js → chunk-RF3EXIHJ.js} +39 -18
- package/chunks/{chunk-4K7VDKAD.js → chunk-RHLZR4E5.js} +1 -1
- package/chunks/{chunk-SXPSOMQ4.js → chunk-RIBKPMRP.js} +220 -141
- package/chunks/{chunk-RVLZCXEE.js → chunk-RWTEFFPU.js} +82 -3
- package/chunks/{chunk-ZUTM4LHM.js → chunk-RZIX2G32.js} +1 -1
- package/chunks/{chunk-ZKBNRL6O.js → chunk-SQCQ4KO2.js} +336 -404
- package/chunks/{chunk-THJNPLI4.js → chunk-TARRHLLG.js} +1 -0
- package/chunks/{chunk-RHYFF54J.js → chunk-TEHGS6UP.js} +50 -21
- package/chunks/{chunk-ACQJPDDS.js → chunk-TGILQ3YH.js} +8 -8
- package/chunks/{chunk-Q2YKNMLS.js → chunk-TOFQCPDC.js} +43 -10
- package/chunks/{chunk-ACZIBDYD.js → chunk-TPRQ7RZH.js} +587 -176
- package/chunks/{chunk-T4TZQJ7W.js → chunk-TWPJO254.js} +5 -16
- package/chunks/{chunk-7MWABCXU.js → chunk-U7M2DMGW.js} +3 -3
- package/chunks/{chunk-KQQ757OQ.js → chunk-UDX5OBWR.js} +41 -9
- package/chunks/{chunk-SRPZG4ER.js → chunk-USTWD7QV.js} +6 -4
- package/chunks/{chunk-NPQDJGKU.js → chunk-UUUTRMI2.js} +1 -1
- package/chunks/chunk-UW5EOVUN.js +249 -0
- package/chunks/{chunk-6IL7KRLE.js → chunk-VAK25FTU.js} +1 -1
- package/chunks/{chunk-TDDFEPBX.js → chunk-VIA5XA4U.js} +5 -2
- package/chunks/{chunk-3BJDQVE6.js → chunk-VRYUBFMC.js} +1 -1
- package/chunks/{chunk-PLQODS7F.js → chunk-VULLI6WQ.js} +172 -6
- package/chunks/{chunk-GN45XAAU.js → chunk-WCXCRJYB.js} +1 -1
- package/chunks/{chunk-2LI23QA6.js → chunk-X5XDDSSH.js} +1 -1
- package/chunks/{chunk-O32RMIMO.js → chunk-Y34KJKDC.js} +1 -1
- package/chunks/{chunk-7ZD5EKXE.js → chunk-YBL3QUDD.js} +2 -2
- package/chunks/{chunk-H4AR2JQF.js → chunk-YH6G52F2.js} +3 -3
- package/chunks/{chunk-3G3UUMRS.js → chunk-YPE6A4GC.js} +2 -2
- package/chunks/{chunk-3F2JUWCH.js → chunk-YX324OPW.js} +1 -1
- package/chunks/{chunk-CGIDQG6J.js → chunk-Z2BC6UJ5.js} +3 -3
- package/chunks/{chunk-QLJUC7TG.js → chunk-ZD6UTE4A.js} +1 -1
- package/chunks/{chunk-ZPWJZHJ2.js → chunk-ZFDTEDCF.js} +6 -6
- package/chunks/chunk-ZJHVAS7M.js +289 -0
- package/chunks/{chunk-XAGLQITN.js → chunk-ZNAUOR2I.js} +15 -12
- package/chunks/{chunk-T2L47JJK.js → chunk-ZOIFNCKL.js} +4 -4
- package/chunks/{computer-use-RZ3UUWYW.js → computer-use-SOQ4E3VX.js} +43 -34
- package/chunks/{config-utils-SQUBZEQM.js → config-utils-7V7GGIW6.js} +3 -3
- package/chunks/contextCommand-JLHYA34Z.js +80 -0
- package/chunks/{create-sub-session-AZ77LBL3.js → create-sub-session-IWW2IZ2T.js} +3 -3
- package/chunks/{create-sub-session-EQG73FT6.js → create-sub-session-QRJLW5BV.js} +43 -34
- package/chunks/{cron-create-KTWJM7QT.js → cron-create-YIID5XAW.js} +6 -6
- package/chunks/{cron-delete-2P3I5ULL.js → cron-delete-ZVHYCEP2.js} +5 -5
- package/chunks/{cron-list-PXDPGEDQ.js → cron-list-XEGS463Q.js} +5 -5
- package/chunks/{daemon-RAPSDJH7.js → daemon-YO6433NF.js} +350 -53
- package/chunks/daemon-status-provider-2233Q37D.js +89 -0
- package/chunks/{de-4IBXM7CN.js → de-HGRCYDEJ.js} +1 -0
- package/chunks/{dist-UIFWIFRO.js → dist-46NQKLTW.js} +2 -2
- package/chunks/{dist-XRYV6TJP.js → dist-AIKFMUKK.js} +50 -4
- package/chunks/{dist-XBJVSWS2.js → dist-BBLXMS3N.js} +14 -2
- package/chunks/{dist-OMW6WDEO.js → dist-F6IBUDR4.js} +40 -9
- package/chunks/{dist-PJLG2XYX.js → dist-WEAHOXDM.js} +1 -1
- package/chunks/{dist-OAV7LJGJ.js → dist-YFNEUWSE.js} +26 -2
- package/chunks/earlyInputCapture-A7NDU3PF.js +82 -0
- package/chunks/{edit-XRSKQPHQ.js → edit-OBDSQURM.js} +43 -34
- package/chunks/{en-USMCCJAJ.js → en-MTWBNGDO.js} +15 -0
- package/chunks/{enter-worktree-WAHCWE6I.js → enter-worktree-U6MRPQ2P.js} +43 -34
- package/chunks/{enterPlanMode-QIOYLDCF.js → enterPlanMode-BC5QUZZ2.js} +43 -34
- package/chunks/{environment-T3FXCDJI.js → environment-W5UFC2CH.js} +46 -37
- package/chunks/errors-M7CLORXH.js +88 -0
- package/chunks/{exit-worktree-RHVTLX6T.js → exit-worktree-DGNYMECB.js} +43 -34
- package/chunks/{exitPlanMode-UATOE2GQ.js → exitPlanMode-GXTBWQAR.js} +43 -34
- package/chunks/{fast-path-J3RHOYSZ.js → fast-path-JJZFJANL.js} +6 -6
- package/chunks/{fast-path-settings-XB3CPUJT.js → fast-path-settings-WQJU2LAT.js} +2 -2
- package/chunks/{fr-WVHEBDDB.js → fr-45RLL55O.js} +1 -0
- package/chunks/{gemini-P72OGOH6.js → gemini-QS36EBZV.js} +133 -102
- package/chunks/{geminiContentGenerator-F6EG5FXF.js → geminiContentGenerator-AG4KB6CV.js} +14 -8
- package/chunks/{getMachineId-bsd-QFVLPUPT.js → getMachineId-bsd-V7W3GODC.js} +1 -1
- package/chunks/{getMachineId-darwin-DGMQQE2E.js → getMachineId-darwin-TDO75DQP.js} +1 -1
- package/chunks/{getMachineId-linux-R4Z6CSWC.js → getMachineId-linux-TF43WQT2.js} +1 -1
- package/chunks/{getMachineId-unsupported-Z3SBVBUV.js → getMachineId-unsupported-ZGUO3TXT.js} +1 -1
- package/chunks/{getMachineId-win-SCK5UFDT.js → getMachineId-win-ECFYZZFQ.js} +1 -1
- package/chunks/{glob-WHASQZRX.js → glob-V7R3PSK3.js} +43 -34
- package/chunks/{grep-LS7AADJ3.js → grep-QYPSK7OP.js} +43 -34
- package/chunks/handleAutoUpdate-6DBEZYPV.js +81 -0
- package/chunks/{i18n-IMVASWIF.js → i18n-VUJJZIMU.js} +44 -35
- package/chunks/image-gen-Z3VPGKRC.js +240 -0
- package/chunks/initializer-UWAK5U5O.js +86 -0
- package/chunks/installationInfo-6O2YAA52.js +80 -0
- package/chunks/{ja-KY4ROZTE.js → ja-B7DF7DFG.js} +1 -0
- package/chunks/{keychain-token-storage-6ACJDYIB.js → keychain-token-storage-MDTG3WRM.js} +3 -3
- package/chunks/{kittyProtocolDetector-HCNNKJTI.js → kittyProtocolDetector-MBRTDRBK.js} +5 -3
- package/chunks/list-GB4ESM3T.js +89 -0
- package/chunks/list-agents-5KJJHR6I.js +80 -0
- package/chunks/loadedSettingsAdapter-OT6JVQ7U.js +83 -0
- package/chunks/loggingContentGenerator-HS3S5H3Q.js +1077 -0
- package/chunks/{loop-wakeup-RNMRVA66.js → loop-wakeup-FXKNNYSY.js} +7 -7
- package/chunks/{ls-J2ZI5XYK.js → ls-NTK6VOQJ.js} +5 -5
- package/chunks/{lsp-UMS3NUB5.js → lsp-2JI24STP.js} +3 -3
- package/chunks/{managed-npm-update-L6UY7OM7.js → managed-npm-update-JYEMMXA3.js} +94 -37
- package/chunks/mcp-6DBDJPFU.js +83 -0
- package/chunks/{monitor-DXYFB5QD.js → monitor-R3ODH5U6.js} +45 -35
- package/chunks/node-UUDY34IG.js +305 -0
- package/chunks/nonInteractiveCli-MOYCYBBU.js +141 -0
- package/chunks/{notebook-edit-KGD7YJEA.js → notebook-edit-BNOK452R.js} +43 -34
- package/chunks/{openaiContentGenerator-C74A2XAU.js → openaiContentGenerator-WMCU3O2H.js} +27 -17
- package/chunks/pidfile-TFRZZZIO.js +86 -0
- package/chunks/{processUtils-GUT5B4R6.js → processUtils-RT7UNCC2.js} +2 -2
- package/chunks/{pt-OK455PLH.js → pt-22Q3FP73.js} +1 -0
- package/chunks/{qwenContentGenerator-PT46FQPA.js → qwenContentGenerator-HHCRK4SX.js} +56 -41
- package/chunks/{qwenOAuth2-S7DZHUUU.js → qwenOAuth2-OWLB5AKH.js} +14 -27
- package/chunks/read-file-APMO3PSX.js +31 -0
- package/chunks/{read-mcp-resource-F6HYMDUY.js → read-mcp-resource-4DKQWGHD.js} +3 -3
- package/chunks/{record-artifact-7GCFLDD7.js → record-artifact-RQKFYO5B.js} +3 -3
- package/chunks/resumeHistoryUtils-6KRYEAWZ.js +91 -0
- package/chunks/ripGrep-BEJDEDXW.js +73 -0
- package/chunks/{ru-7SPDGMGD.js → ru-FZCNZHDC.js} +1 -0
- package/chunks/{run-qwen-serve-QO4PT5NV.js → run-qwen-serve-FU6HEM4J.js} +276 -62
- package/chunks/{runtime-EOTXBUM6.js → runtime-XXRRTNP6.js} +55 -44
- package/chunks/{scheduler-MAIQ2PHR.js → scheduler-G2ZS2Z7E.js} +43 -34
- package/chunks/{sdk-exporters-grpc-ETLH47EP.js → sdk-exporters-grpc-AK3LGHNO.js} +3 -3
- package/chunks/{sdk-exporters-http-T3POX73F.js → sdk-exporters-http-FYBSUCPD.js} +6 -6
- package/chunks/{sdk-impl-NSLPDH6I.js → sdk-impl-GMVPB7NB.js} +6 -6
- package/chunks/{send-message-PYIJ2PZL.js → send-message-Q6OOR6BR.js} +46 -9
- package/chunks/serve-7BSTXJ4T.js +89 -0
- package/chunks/{server-CBCC3XQC.js → server-4UMH7OIZ.js} +2348 -396
- package/chunks/{session-RQUEFQDL.js → session-K3O3Q2SV.js} +107 -88
- package/chunks/{settings-QHXCJDSR.js → settings-CR2EWTBA.js} +53 -44
- package/chunks/shell-HH3PF3A2.js +83 -0
- package/chunks/{skill-WHSGTGKP.js → skill-I3SDA4MB.js} +17 -15
- package/chunks/spawnChannel-RWNDBXGA.js +82 -0
- package/chunks/{src-F3HKX47D.js → src-GE4TTTML.js} +290 -171
- package/chunks/{standalone-update-BKLONSVI.js → standalone-update-Q6WFRZZQ.js} +45 -36
- package/chunks/{startInteractiveUI-TNJ37X5W.js → startInteractiveUI-SLZGHRPH.js} +736 -298
- package/chunks/{syntheticOutput-H7RTI5KL.js → syntheticOutput-I3757IWH.js} +4 -4
- package/chunks/{task-create-7474AJJD.js → task-create-N7WQSGYA.js} +10 -10
- package/chunks/{task-list-633HGOIB.js → task-list-FOPULZEP.js} +7 -7
- package/chunks/{task-stop-MNUGHPIA.js → task-stop-H6RHXFVQ.js} +4 -4
- package/chunks/{task-update-66GQB5LI.js → task-update-M57TFZJT.js} +10 -10
- package/chunks/{team-create-LUHJ7ZCC.js → team-create-YJALH5D2.js} +44 -35
- package/chunks/{team-delete-BB3CG3QF.js → team-delete-QE2UXJL7.js} +7 -7
- package/chunks/{team-plan-approval-X3DYRL6L.js → team-plan-approval-34QFYKGN.js} +43 -34
- package/chunks/theme-manager-SWRILQHI.js +77 -0
- package/chunks/todoWrite-VQ7FKOHL.js +358 -0
- package/chunks/{tool-search-BAWOETUY.js → tool-search-NF7GB6LE.js} +16 -16
- package/chunks/total-session-admission-DLHHHLD3.js +84 -0
- package/chunks/{tree-sitter-FS4VPMZA.js → tree-sitter-4D7QS7F6.js} +1 -1
- package/chunks/{tree-sitter-bash-6B46JJCV.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
- package/chunks/{trustedFolders-4UEOIKOF.js → trustedFolders-KHXHY6PY.js} +44 -35
- package/chunks/{update-relaunch-WDWABT5P.js → update-relaunch-WBUZJC5O.js} +5 -5
- package/chunks/updateCheck-RKL6M5XN.js +92 -0
- package/chunks/useAutoAcceptIndicator-CFQ5BUJL.js +93 -0
- package/chunks/{validateNonInterActiveAuth-OKUE3JLF.js → validateNonInterActiveAuth-3R223G3R.js} +91 -81
- package/chunks/{version-GMUULLWB.js → version-HS7YSFHV.js} +1 -1
- package/chunks/{web-fetch-JBWTMPFN.js → web-fetch-NKCSG7ZE.js} +18 -16
- package/chunks/{web-search-27COJHJT.js → web-search-S62WAP4S.js} +13 -27
- package/chunks/{workflow-5L37J7YF.js → workflow-QAGU5RU4.js} +44 -35
- package/chunks/workspace-providers-status-QSVZUETE.js +86 -0
- package/chunks/{workspace-registration-store-TYPYXIP6.js → workspace-registration-store-24JMHDGF.js} +2 -2
- package/chunks/workspace-registry-UT4RBNBM.js +88 -0
- package/chunks/workspace-service-JFWRUS4V.js +98 -0
- package/chunks/workspace-skills-status-ZBBKJOI2.js +85 -0
- package/chunks/write-file-VHIXW5M7.js +73 -0
- package/chunks/{zh-WY5DWYZD.js → zh-LUIGBD55.js} +15 -0
- package/chunks/{zh-TW-BM47YBFH.js → zh-TW-F5KG2IYD.js} +15 -0
- package/cli-entry.js +10 -1
- package/cli.js +13 -13
- package/locales/ca.js +2 -0
- package/locales/de.js +1 -0
- package/locales/en.js +25 -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 +23 -0
- package/locales/zh.js +23 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-BWFm0SI0.js → arc-DcbWnB9T.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-CZ_yL-DQ.js → architectureDiagram-3BPJPVTR-kMMF5sud.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-B9F9mJvG.js → blockDiagram-GPEHLZMM-Htl9vTJS.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BUdwJW5f.js → c4Diagram-AAUBKEIU-BnZnm0mQ.js} +1 -1
- package/web-shell/assets/channel-Cq7YKtfC.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-w4cF-qlF.js → chunk-2J33WTMH-DziB7kDG.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BXwURxHJ.js → chunk-4BX2VUAB-CmkD8daw.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-Gem3LalC.js → chunk-55IACEB6-CHAd9A_U.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-A3ddVojI.js → chunk-727SXJPM-Dqaam3fE.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CjHZ5L_R.js → chunk-AQP2D5EJ-D_-saBYM.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CKgdgcpv.js → chunk-FMBD7UC4-B9r_veWD.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-Cn2Dykjb.js → chunk-ND2GUHAM-B3EaCSpL.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN--0SyraC5.js → chunk-QZHKN3VN-CYq8x9mn.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CQ9aC1Tg.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ9aC1Tg.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-CphhAity.js → cose-bilkent-S5V4N54A-D0ng4uiB.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DU--jiKp.js → dagre-BM42HDAG-DCZollQv.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BzvuZw1Y.js → diagram-2AECGRRQ-Dfk2pWS0.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-D84-49Y0.js → diagram-5GNKFQAL-kX38ltWR.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-DQTq-3_3.js → diagram-KO2AKTUF-CJz2vsXh.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-8FTrshzN.js → diagram-LMA3HP47-BvMLZm_7.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-BCjpDBCm.js → diagram-OG6HWLK6-l7kfStkO.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BtRObkmg.js → erDiagram-TEJ5UH35-BSVa8GGT.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-DTrW6oxy.js → flowDiagram-I6XJVG4X-CoawKIXH.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BgPNSW6j.js → ganttDiagram-6RSMTGT7-DFUDH0zF.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BTclNgGV.js → gitGraphDiagram-PVQCEYII-Y2pvpT4e.js} +1 -1
- package/web-shell/assets/{index-CxA7AqY6.js → index-D0GX0zZf.js} +1 -1
- package/web-shell/assets/index-D9haPt0X.css +5 -0
- package/web-shell/assets/index-ckX9Pq5k.js +1230 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DCE4AJt2.js → infoDiagram-5YYISTIA-CU8_zLiX.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-C8iE6q4Y.js → ishikawaDiagram-YF4QCWOH-AVQiV0DU.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-C_dxdyEc.js → journeyDiagram-JHISSGLW-DQ0VSKa3.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-Dw3n1u3w.js → kanban-definition-UN3LZRKU-BqnWqsE_.js} +1 -1
- package/web-shell/assets/{linear-C2BF2zJ9.js → linear-BkoihsaA.js} +1 -1
- package/web-shell/assets/{mermaid.core-CGTQU3MA.js → mermaid.core-5RJs-31j.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BVFZm9ZC.js → mindmap-definition-RKZ34NQL-D33Bxnpd.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-Cc-TNN3n.js → pieDiagram-4H26LBE5-BuEAw3BH.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CgW3Rzsi.js → quadrantDiagram-W4KKPZXB-Kox_usEq.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BAaj0Y3B.js → requirementDiagram-4Y6WPE33-CNjeUif0.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-XJWmekxS.js → sankeyDiagram-5OEKKPKP-BCd2OL_U.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CtRc_0wf.js → sequenceDiagram-3UESZ5HK-CF2ZTsz0.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-WCnvMGy5.js → stateDiagram-AJRCARHV-qenSzHtm.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B7W4zlCr.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-C9cRx49L.js → timeline-definition-PNZ67QCA-B5DyWdgs.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BvXOCEt-.js → vennDiagram-CIIHVFJN-DqP4I_o_.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-ByafGtzu.js → wardley-L42UT6IY-CJe2e4mg.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CozAnw8x.js → wardleyDiagram-YWT4CUSO-BMDSw-Rr.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-Camu9Qvq.js → xychartDiagram-2RQKCTM6-BTVZYkxD.js} +1 -1
- package/web-shell/index.html +17 -13
- package/chunks/MaxSizedBox-HNWBEL5H.js +0 -77
- package/chunks/agent-KTMY6SF3.js +0 -72
- package/chunks/agent-headless-HJ56ZZOW.js +0 -66
- package/chunks/bridge-AMC5AD7W.js +0 -80
- package/chunks/chunk-CBOQ3HY7.js +0 -2019
- package/chunks/chunk-UHGNAWHK.js +0 -6928
- package/chunks/contextCommand-PW4GINQU.js +0 -71
- package/chunks/daemon-status-provider-3IWTBWQ3.js +0 -79
- package/chunks/earlyInputCapture-TYNI3B6E.js +0 -73
- package/chunks/errors-QAWTJTAW.js +0 -79
- package/chunks/handleAutoUpdate-V5A3JHOG.js +0 -72
- package/chunks/initializer-JJLF5JCJ.js +0 -77
- package/chunks/installationInfo-LAWMHQAG.js +0 -71
- package/chunks/list-L2ECB6UM.js +0 -80
- package/chunks/loadedSettingsAdapter-RLMZ4Z3E.js +0 -74
- package/chunks/mcp-E4O7Z6FO.js +0 -74
- package/chunks/nonInteractiveCli-GU2UKULE.js +0 -131
- package/chunks/pidfile-IWQWZNZV.js +0 -77
- package/chunks/read-file-ZOCXW4AD.js +0 -31
- package/chunks/resumeHistoryUtils-TJWRDE2L.js +0 -83
- package/chunks/ripGrep-OFKAW2VE.js +0 -64
- package/chunks/serve-UB4CF67Q.js +0 -80
- package/chunks/shell-RPK7EAOC.js +0 -74
- package/chunks/spawnChannel-IUP3ZNMT.js +0 -73
- package/chunks/theme-manager-ALL7F4CJ.js +0 -68
- package/chunks/total-session-admission-PLONPNXI.js +0 -74
- package/chunks/updateCheck-PVROE4GR.js +0 -87
- package/chunks/useAutoAcceptIndicator-6BNLNN5S.js +0 -85
- package/chunks/workspace-providers-status-2U3IF4TX.js +0 -77
- package/chunks/workspace-registry-DLQDDDIF.js +0 -78
- package/chunks/workspace-service-7K3LF4QX.js +0 -89
- package/chunks/workspace-skills-status-4DOZ3DBS.js +0 -76
- package/chunks/write-file-PTPXDKZ3.js +0 -64
- package/web-shell/assets/channel-DiLlxxIf.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CkylTdM4.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CkylTdM4.js +0 -1
- package/web-shell/assets/index-CGtQqOIa.css +0 -5
- package/web-shell/assets/index-TtM0hVjU.js +0 -1207
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-D1gzH2Ue.js +0 -1
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
DaemonMetricsRing,
|
|
5
5
|
computeCpuPercent
|
|
6
6
|
} from "./chunk-HGT6JR3U.js";
|
|
7
|
+
import {
|
|
8
|
+
RUNTIME_STARTUP_CANCELLED_MESSAGE
|
|
9
|
+
} from "./chunk-QUPXZXLV.js";
|
|
7
10
|
import {
|
|
8
11
|
ACCESS_LOG_CONTROLLER_LOCAL,
|
|
9
12
|
CAPABILITIES_SCHEMA_VERSION,
|
|
@@ -32,62 +35,64 @@ import {
|
|
|
32
35
|
require_express,
|
|
33
36
|
resolveWebShellDir,
|
|
34
37
|
setDeferredRuntimeRequestTiming
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-IJTOWOD7.js";
|
|
36
39
|
import {
|
|
37
40
|
isLoopbackBind
|
|
38
41
|
} from "./chunk-RXFQM6FQ.js";
|
|
39
|
-
import {
|
|
40
|
-
RUNTIME_STARTUP_CANCELLED_MESSAGE
|
|
41
|
-
} from "./chunk-QUPXZXLV.js";
|
|
42
|
-
import {
|
|
43
|
-
resolveChannelCwd
|
|
44
|
-
} from "./chunk-6ZBPS62S.js";
|
|
45
42
|
import {
|
|
46
43
|
DEFAULT_COMPACTED_REPLAY_MAX_BYTES,
|
|
47
44
|
normalizeCompactedReplayMaxBytes
|
|
48
45
|
} from "./chunk-COH43MRJ.js";
|
|
49
46
|
import {
|
|
50
47
|
LOAD_REPLAY_META_KEY
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-KQQ757OQ.js";
|
|
53
|
-
import "./chunk-D7WXIW7H.js";
|
|
54
|
-
import {
|
|
55
|
-
ChannelWebhookEnqueueError,
|
|
56
|
-
QWEN_SERVER_TOKEN_ENV
|
|
57
|
-
} from "./chunk-QKTHJXCS.js";
|
|
58
|
-
import {
|
|
59
|
-
channelSelectionNames
|
|
60
|
-
} from "./chunk-TJTKSVIV.js";
|
|
61
|
-
import "./chunk-M5GB774H.js";
|
|
48
|
+
} from "./chunk-3SJ43L4W.js";
|
|
62
49
|
import "./chunk-WBL3FJEU.js";
|
|
63
50
|
import "./chunk-T2NCM2ET.js";
|
|
64
51
|
import {
|
|
65
|
-
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-UDXSXLER.js";
|
|
52
|
+
resolveChannelCwd
|
|
53
|
+
} from "./chunk-7ZCNENPP.js";
|
|
68
54
|
import {
|
|
69
55
|
loadServeFastPathSettings,
|
|
70
56
|
preResolveServeFastPathHomeEnvOverrides
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-GOXKNSDZ.js";
|
|
73
|
-
import "./chunk-QRUIS3DN.js";
|
|
57
|
+
} from "./chunk-D3UEZIQH.js";
|
|
74
58
|
import {
|
|
75
59
|
MAX_REGISTERED_WORKSPACES,
|
|
76
60
|
resolveWorkspaceInputs,
|
|
77
61
|
workspaceRegistrationId
|
|
78
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-Q4M4MDQ4.js";
|
|
79
63
|
import {
|
|
80
64
|
canonicalizeWorkspace,
|
|
81
65
|
translateAndCheckAbsoluteWorkspacePath
|
|
82
66
|
} from "./chunk-2RFKHEXL.js";
|
|
67
|
+
import "./chunk-UDX5OBWR.js";
|
|
68
|
+
import "./chunk-5NBDS5S6.js";
|
|
69
|
+
import {
|
|
70
|
+
ChannelDeliveryError,
|
|
71
|
+
ChannelWebhookEnqueueError,
|
|
72
|
+
QWEN_SERVER_TOKEN_ENV,
|
|
73
|
+
isChannelDeliveryError,
|
|
74
|
+
normalizeWorkerDiagnostic,
|
|
75
|
+
sanitizeWorkerDiagnostic
|
|
76
|
+
} from "./chunk-LK7CHLVP.js";
|
|
77
|
+
import {
|
|
78
|
+
channelSelectionNames
|
|
79
|
+
} from "./chunk-JLU636DO.js";
|
|
80
|
+
import "./chunk-BK2UNYWD.js";
|
|
81
|
+
import "./chunk-M5GB774H.js";
|
|
82
|
+
import {
|
|
83
|
+
sanitizeLogText
|
|
84
|
+
} from "./chunk-RWTEFFPU.js";
|
|
85
|
+
import "./chunk-UDXSXLER.js";
|
|
83
86
|
import "./chunk-5HBA2Z7V.js";
|
|
87
|
+
import "./chunk-GOXKNSDZ.js";
|
|
84
88
|
import {
|
|
85
89
|
getGlobalQwenDirLite,
|
|
86
90
|
resolveConfigPathLite
|
|
87
91
|
} from "./chunk-IDS7MSUP.js";
|
|
92
|
+
import "./chunk-6PEXNQTX.js";
|
|
88
93
|
import {
|
|
89
94
|
getCliVersion
|
|
90
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-YX324OPW.js";
|
|
91
96
|
import "./chunk-VJNBRRZG.js";
|
|
92
97
|
import "./chunk-ALGGS7UH.js";
|
|
93
98
|
import {
|
|
@@ -97,12 +102,12 @@ import {
|
|
|
97
102
|
writeStderrLine,
|
|
98
103
|
writeStdoutLine
|
|
99
104
|
} from "./chunk-OWAK7LMW.js";
|
|
100
|
-
import "./chunk-T4TZQJ7W.js";
|
|
101
|
-
import "./chunk-H6XPXXMH.js";
|
|
102
105
|
import "./chunk-5M6IDOMF.js";
|
|
106
|
+
import "./chunk-TWPJO254.js";
|
|
107
|
+
import "./chunk-H6XPXXMH.js";
|
|
103
108
|
import {
|
|
104
109
|
require_proper_lockfile
|
|
105
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-KRXPRVGL.js";
|
|
106
111
|
import "./chunk-CR3C7WXL.js";
|
|
107
112
|
import "./chunk-XWRJCPHC.js";
|
|
108
113
|
import {
|
|
@@ -2018,6 +2023,89 @@ function asRecord(value) {
|
|
|
2018
2023
|
}
|
|
2019
2024
|
__name(asRecord, "asRecord");
|
|
2020
2025
|
|
|
2026
|
+
// packages/cli/src/serve/channel-delivery-authorization.ts
|
|
2027
|
+
init_esbuild_shims();
|
|
2028
|
+
function authorizationKey(workspaceCwd, sessionId, id) {
|
|
2029
|
+
return JSON.stringify([workspaceCwd, sessionId, id]);
|
|
2030
|
+
}
|
|
2031
|
+
__name(authorizationKey, "authorizationKey");
|
|
2032
|
+
function targetsEqual(left, right) {
|
|
2033
|
+
return left.channelName === right.channelName && left.type === right.type && left.id === right.id;
|
|
2034
|
+
}
|
|
2035
|
+
__name(targetsEqual, "targetsEqual");
|
|
2036
|
+
var ChannelDeliveryAuthorizationStore = class {
|
|
2037
|
+
static {
|
|
2038
|
+
__name(this, "ChannelDeliveryAuthorizationStore");
|
|
2039
|
+
}
|
|
2040
|
+
#prompts = /* @__PURE__ */ new Map();
|
|
2041
|
+
#scheduledTasks = /* @__PURE__ */ new Map();
|
|
2042
|
+
authorizePrompt(workspaceCwd, authorization) {
|
|
2043
|
+
this.#prompts.set(
|
|
2044
|
+
authorizationKey(
|
|
2045
|
+
workspaceCwd,
|
|
2046
|
+
authorization.sessionId,
|
|
2047
|
+
authorization.deliveryId
|
|
2048
|
+
),
|
|
2049
|
+
authorization.target
|
|
2050
|
+
);
|
|
2051
|
+
}
|
|
2052
|
+
revokePrompt(workspaceCwd, sessionId, deliveryId) {
|
|
2053
|
+
this.#prompts.delete(authorizationKey(workspaceCwd, sessionId, deliveryId));
|
|
2054
|
+
}
|
|
2055
|
+
registerScheduledTask(workspaceCwd, authorization) {
|
|
2056
|
+
const key = authorizationKey(
|
|
2057
|
+
workspaceCwd,
|
|
2058
|
+
authorization.sessionId,
|
|
2059
|
+
authorization.taskId
|
|
2060
|
+
);
|
|
2061
|
+
const current = this.#scheduledTasks.get(key);
|
|
2062
|
+
this.#scheduledTasks.set(key, {
|
|
2063
|
+
sessionId: authorization.sessionId,
|
|
2064
|
+
taskId: authorization.taskId,
|
|
2065
|
+
target: authorization.target,
|
|
2066
|
+
recurring: authorization.recurring,
|
|
2067
|
+
lastConsumedAt: current?.lastConsumedAt ?? authorization.lastFiredAt ?? 0
|
|
2068
|
+
});
|
|
2069
|
+
}
|
|
2070
|
+
revokeScheduledTask(workspaceCwd, sessionId, taskId) {
|
|
2071
|
+
this.#scheduledTasks.delete(
|
|
2072
|
+
authorizationKey(workspaceCwd, sessionId, taskId)
|
|
2073
|
+
);
|
|
2074
|
+
}
|
|
2075
|
+
consume(workspaceCwd, request) {
|
|
2076
|
+
if (request.source === "prompt") {
|
|
2077
|
+
if (request.promptId !== request.deliveryId) return false;
|
|
2078
|
+
const key2 = authorizationKey(
|
|
2079
|
+
workspaceCwd,
|
|
2080
|
+
request.sessionId,
|
|
2081
|
+
request.deliveryId
|
|
2082
|
+
);
|
|
2083
|
+
const target = this.#prompts.get(key2);
|
|
2084
|
+
if (!target || !targetsEqual(target, request.target)) return false;
|
|
2085
|
+
this.#prompts.delete(key2);
|
|
2086
|
+
return true;
|
|
2087
|
+
}
|
|
2088
|
+
if (typeof request.taskId !== "string" || typeof request.firedAt !== "number" || request.deliveryId !== `${request.taskId}:${request.firedAt}`) {
|
|
2089
|
+
return false;
|
|
2090
|
+
}
|
|
2091
|
+
const key = authorizationKey(
|
|
2092
|
+
workspaceCwd,
|
|
2093
|
+
request.sessionId,
|
|
2094
|
+
request.taskId
|
|
2095
|
+
);
|
|
2096
|
+
const authorization = this.#scheduledTasks.get(key);
|
|
2097
|
+
if (!authorization || request.firedAt <= authorization.lastConsumedAt || !targetsEqual(authorization.target, request.target)) {
|
|
2098
|
+
return false;
|
|
2099
|
+
}
|
|
2100
|
+
if (authorization.recurring) {
|
|
2101
|
+
authorization.lastConsumedAt = request.firedAt;
|
|
2102
|
+
} else {
|
|
2103
|
+
this.#scheduledTasks.delete(key);
|
|
2104
|
+
}
|
|
2105
|
+
return true;
|
|
2106
|
+
}
|
|
2107
|
+
};
|
|
2108
|
+
|
|
2021
2109
|
// packages/cli/src/serve/channel-workspace-grouping.ts
|
|
2022
2110
|
init_esbuild_shims();
|
|
2023
2111
|
function resolveChannelOwnerCwd(rawCwd, workspaceCwd) {
|
|
@@ -2139,6 +2227,90 @@ var QWEN_SERVE_PROMPT_DEADLINE_MS_ENV = "QWEN_SERVE_PROMPT_DEADLINE_MS";
|
|
|
2139
2227
|
var QWEN_SERVE_WRITER_IDLE_TIMEOUT_MS_ENV = "QWEN_SERVE_WRITER_IDLE_TIMEOUT_MS";
|
|
2140
2228
|
var SHUTDOWN_FORCE_CLOSE_MS = 5e3;
|
|
2141
2229
|
var DAEMON_LOG_FORCED_FLUSH_BUDGET_MS = 250;
|
|
2230
|
+
function channelDeliveryPublicError(code) {
|
|
2231
|
+
switch (code) {
|
|
2232
|
+
case "channel_worker_unavailable":
|
|
2233
|
+
return "Channel worker is unavailable.";
|
|
2234
|
+
case "channel_delivery_timeout":
|
|
2235
|
+
return "Channel delivery timed out.";
|
|
2236
|
+
case "channel_delivery_invalid":
|
|
2237
|
+
return "Channel delivery is invalid.";
|
|
2238
|
+
case "channel_delivery_rejected":
|
|
2239
|
+
return "Channel delivery was rejected.";
|
|
2240
|
+
case "channel_delivery_queue_full":
|
|
2241
|
+
return "Channel delivery queue is full.";
|
|
2242
|
+
case "channel_delivery_failed":
|
|
2243
|
+
return "Channel delivery failed.";
|
|
2244
|
+
default:
|
|
2245
|
+
return "Channel delivery failed.";
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
__name(channelDeliveryPublicError, "channelDeliveryPublicError");
|
|
2249
|
+
function createBoundChannelDeliveryHandler(boundWorkspace, getManager, authorizations, daemonLog, diagnosticRedaction = {
|
|
2250
|
+
workerEnv: {}
|
|
2251
|
+
}) {
|
|
2252
|
+
return async (info) => {
|
|
2253
|
+
const failed = /* @__PURE__ */ __name((code, error, diagnostic) => {
|
|
2254
|
+
writeDaemonLifecycleBestEffort(() => {
|
|
2255
|
+
if (!daemonLog) return;
|
|
2256
|
+
let diagnosticText;
|
|
2257
|
+
if (diagnostic !== void 0) {
|
|
2258
|
+
const message = diagnostic instanceof Error ? diagnostic.message : String(diagnostic);
|
|
2259
|
+
const sanitized = sanitizeWorkerDiagnostic(
|
|
2260
|
+
message,
|
|
2261
|
+
512,
|
|
2262
|
+
diagnosticRedaction
|
|
2263
|
+
);
|
|
2264
|
+
const targetId = normalizeWorkerDiagnostic(info.target.id);
|
|
2265
|
+
diagnosticText = sanitizeLogText(
|
|
2266
|
+
targetId.length > 0 ? sanitized.replaceAll(targetId, "<redacted>") : sanitized,
|
|
2267
|
+
512
|
|
2268
|
+
);
|
|
2269
|
+
}
|
|
2270
|
+
daemonLog.warn("channel delivery failed", {
|
|
2271
|
+
sessionId: info.sessionId,
|
|
2272
|
+
deliveryId: info.deliveryId,
|
|
2273
|
+
source: info.source,
|
|
2274
|
+
channelName: info.target.channelName,
|
|
2275
|
+
code,
|
|
2276
|
+
...diagnosticText ? { diagnostic: diagnosticText } : {}
|
|
2277
|
+
});
|
|
2278
|
+
});
|
|
2279
|
+
return { status: "failed", code, error };
|
|
2280
|
+
}, "failed");
|
|
2281
|
+
if (!authorizations.consume(boundWorkspace, info)) {
|
|
2282
|
+
return failed(
|
|
2283
|
+
"channel_delivery_invalid",
|
|
2284
|
+
"Channel delivery is not authorized."
|
|
2285
|
+
);
|
|
2286
|
+
}
|
|
2287
|
+
if (info.text.trim().length === 0) {
|
|
2288
|
+
return { status: "skipped" };
|
|
2289
|
+
}
|
|
2290
|
+
const manager = getManager();
|
|
2291
|
+
if (!manager) {
|
|
2292
|
+
return failed(
|
|
2293
|
+
"channel_worker_unavailable",
|
|
2294
|
+
"Channel worker is not running."
|
|
2295
|
+
);
|
|
2296
|
+
}
|
|
2297
|
+
try {
|
|
2298
|
+
await manager.deliverChannelMessage(boundWorkspace, {
|
|
2299
|
+
deliveryId: info.deliveryId,
|
|
2300
|
+
channelName: info.target.channelName,
|
|
2301
|
+
target: { type: info.target.type, id: info.target.id },
|
|
2302
|
+
text: info.text
|
|
2303
|
+
});
|
|
2304
|
+
return { status: "delivered" };
|
|
2305
|
+
} catch (err) {
|
|
2306
|
+
if (isChannelDeliveryError(err)) {
|
|
2307
|
+
return failed(err.code, channelDeliveryPublicError(err.code), err);
|
|
2308
|
+
}
|
|
2309
|
+
return failed("channel_delivery_failed", "Channel delivery failed.", err);
|
|
2310
|
+
}
|
|
2311
|
+
};
|
|
2312
|
+
}
|
|
2313
|
+
__name(createBoundChannelDeliveryHandler, "createBoundChannelDeliveryHandler");
|
|
2142
2314
|
async function flushDaemonLogBounded(daemonLog, budgetMs) {
|
|
2143
2315
|
let timer;
|
|
2144
2316
|
try {
|
|
@@ -2360,12 +2532,12 @@ __name(withSettingsLock, "withSettingsLock");
|
|
|
2360
2532
|
var channelWorkerRuntimePromise;
|
|
2361
2533
|
async function loadChannelWorkerRuntime() {
|
|
2362
2534
|
channelWorkerRuntimePromise ??= Promise.all([
|
|
2363
|
-
import("./channel-worker-supervisor-
|
|
2364
|
-
import("./pidfile-
|
|
2365
|
-
import("./runtime-
|
|
2535
|
+
import("./channel-worker-supervisor-V7KCFJTS.js"),
|
|
2536
|
+
import("./pidfile-TFRZZZIO.js"),
|
|
2537
|
+
import("./runtime-XXRRTNP6.js"),
|
|
2366
2538
|
import("./cli-entry-path-4VJ3Y6T2.js"),
|
|
2367
|
-
import("./channel-worker-group-
|
|
2368
|
-
import("./channel-worker-manager-
|
|
2539
|
+
import("./channel-worker-group-2ZD7TVAT.js"),
|
|
2540
|
+
import("./channel-worker-manager-4OA4BCGB.js")
|
|
2369
2541
|
]).then(
|
|
2370
2542
|
([
|
|
2371
2543
|
supervisor,
|
|
@@ -2470,7 +2642,7 @@ function shouldPreheatBridge(deps) {
|
|
|
2470
2642
|
__name(shouldPreheatBridge, "shouldPreheatBridge");
|
|
2471
2643
|
var coreRuntimePromise;
|
|
2472
2644
|
function loadCoreRuntime() {
|
|
2473
|
-
coreRuntimePromise ??= import("./src-
|
|
2645
|
+
coreRuntimePromise ??= import("./src-GE4TTTML.js");
|
|
2474
2646
|
return coreRuntimePromise;
|
|
2475
2647
|
}
|
|
2476
2648
|
__name(loadCoreRuntime, "loadCoreRuntime");
|
|
@@ -2500,10 +2672,10 @@ __name(resolveDaemonLogBaseDirForRun, "resolveDaemonLogBaseDirForRun");
|
|
|
2500
2672
|
var settingsRuntimePromise;
|
|
2501
2673
|
function loadSettingsRuntimeModules() {
|
|
2502
2674
|
settingsRuntimePromise ??= Promise.all([
|
|
2503
|
-
import("./settings-
|
|
2504
|
-
import("./environment-
|
|
2505
|
-
import("./loadedSettingsAdapter-
|
|
2506
|
-
import("./trustedFolders-
|
|
2675
|
+
import("./settings-CR2EWTBA.js"),
|
|
2676
|
+
import("./environment-W5UFC2CH.js"),
|
|
2677
|
+
import("./loadedSettingsAdapter-OT6JVQ7U.js"),
|
|
2678
|
+
import("./trustedFolders-KHXHY6PY.js")
|
|
2507
2679
|
]).then(([settings, environment, loadedSettingsAdapter, trustedFolders]) => ({
|
|
2508
2680
|
settings,
|
|
2509
2681
|
environment,
|
|
@@ -2516,8 +2688,8 @@ __name(loadSettingsRuntimeModules, "loadSettingsRuntimeModules");
|
|
|
2516
2688
|
var channelWebhookConfigRuntimePromise;
|
|
2517
2689
|
function loadChannelWebhookConfigRuntime() {
|
|
2518
2690
|
channelWebhookConfigRuntimePromise ??= Promise.all([
|
|
2519
|
-
import("./runtime-
|
|
2520
|
-
import("./config-utils-
|
|
2691
|
+
import("./runtime-XXRRTNP6.js"),
|
|
2692
|
+
import("./config-utils-7V7GGIW6.js")
|
|
2521
2693
|
]).then(([channelRuntime, configUtils]) => ({
|
|
2522
2694
|
loadChannelsConfig: channelRuntime.loadChannelsConfig,
|
|
2523
2695
|
parseChannelWebhookConfig: configUtils.parseChannelWebhookConfig
|
|
@@ -2541,16 +2713,16 @@ async function loadServeRuntimeModules() {
|
|
|
2541
2713
|
totalSessionAdmissionModule,
|
|
2542
2714
|
workspaceRegistryModule
|
|
2543
2715
|
] = await Promise.all([
|
|
2544
|
-
import("./server-
|
|
2545
|
-
import("./bridge-
|
|
2546
|
-
import("./spawnChannel-
|
|
2547
|
-
import("./workspace-service-
|
|
2716
|
+
import("./server-4UMH7OIZ.js"),
|
|
2717
|
+
import("./bridge-ZUB64FAE.js"),
|
|
2718
|
+
import("./spawnChannel-RWNDBXGA.js"),
|
|
2719
|
+
import("./workspace-service-JFWRUS4V.js"),
|
|
2548
2720
|
import("./types-ML3TRJQ5.js"),
|
|
2549
|
-
import("./daemon-status-provider-
|
|
2550
|
-
import("./workspace-providers-status-
|
|
2551
|
-
import("./workspace-skills-status-
|
|
2552
|
-
import("./total-session-admission-
|
|
2553
|
-
import("./workspace-registry-
|
|
2721
|
+
import("./daemon-status-provider-2233Q37D.js"),
|
|
2722
|
+
import("./workspace-providers-status-QSVZUETE.js"),
|
|
2723
|
+
import("./workspace-skills-status-ZBBKJOI2.js"),
|
|
2724
|
+
import("./total-session-admission-DLHHHLD3.js"),
|
|
2725
|
+
import("./workspace-registry-UT4RBNBM.js")
|
|
2554
2726
|
]);
|
|
2555
2727
|
return {
|
|
2556
2728
|
createServeApp: serverModule.createServeApp,
|
|
@@ -2602,6 +2774,7 @@ function currentServeFeaturesForRunQwenServe(opts, sessionShellCommandEnabled, s
|
|
|
2602
2774
|
sessionShellCommandEnabled,
|
|
2603
2775
|
sessionArtifactsPersistenceAvailable,
|
|
2604
2776
|
sessionGenerationAvailable: true,
|
|
2777
|
+
workspaceGenerationAvailable: true,
|
|
2605
2778
|
rateLimit: opts.rateLimit === true,
|
|
2606
2779
|
reloadAvailable: true,
|
|
2607
2780
|
channelReloadAvailable: opts.channelSelection !== void 0,
|
|
@@ -3196,6 +3369,7 @@ async function runQwenServe(optsIn, deps = {}) {
|
|
|
3196
3369
|
__name(runQwenServe, "runQwenServe");
|
|
3197
3370
|
async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
3198
3371
|
const runStartedAt = performance2.now();
|
|
3372
|
+
const channelDeliveryAuthorizations = new ChannelDeliveryAuthorizationStore();
|
|
3199
3373
|
const shouldPreheat = !deps.bridge && shouldPreheatBridge(deps);
|
|
3200
3374
|
const startup = {
|
|
3201
3375
|
processStartedAt: new Date(
|
|
@@ -3211,6 +3385,10 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
3211
3385
|
});
|
|
3212
3386
|
const rawToken = optsIn.token ?? process.env[QWEN_SERVER_TOKEN_ENV];
|
|
3213
3387
|
const token = typeof rawToken === "string" && rawToken.trim().length > 0 ? rawToken.trim() : void 0;
|
|
3388
|
+
const channelDeliveryDiagnosticRedaction = {
|
|
3389
|
+
workerEnv: daemonRuntimeBaseEnv,
|
|
3390
|
+
...token ? { daemonToken: token } : {}
|
|
3391
|
+
};
|
|
3214
3392
|
const sessionShellCommandEnabled = optsIn.enableSessionShell === true && token !== void 0;
|
|
3215
3393
|
if (optsIn.enableSessionShell === true && token === void 0) {
|
|
3216
3394
|
writeStderrLine(
|
|
@@ -3432,7 +3610,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
3432
3610
|
}
|
|
3433
3611
|
let workspaceRegistrationStore = deps.workspaceRegistrationStore;
|
|
3434
3612
|
if (workspaceRegistrationStore === void 0 && process.env["QWEN_SERVE_NO_PERSISTENT_REGISTRATION"] !== "1") {
|
|
3435
|
-
const { WorkspaceRegistrationStore } = await import("./workspace-registration-store-
|
|
3613
|
+
const { WorkspaceRegistrationStore } = await import("./workspace-registration-store-24JMHDGF.js");
|
|
3436
3614
|
workspaceRegistrationStore = new WorkspaceRegistrationStore(boundWorkspace);
|
|
3437
3615
|
}
|
|
3438
3616
|
if (workspaceRegistrationStore) {
|
|
@@ -4305,7 +4483,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4305
4483
|
);
|
|
4306
4484
|
}
|
|
4307
4485
|
}), "persistSettingsFn");
|
|
4308
|
-
const { createSubSessionLauncher } = await import("./create-sub-session-
|
|
4486
|
+
const { createSubSessionLauncher } = await import("./create-sub-session-QRJLW5BV.js");
|
|
4309
4487
|
const subSessionLauncher = createSubSessionLauncher({
|
|
4310
4488
|
getBridge: /* @__PURE__ */ __name(() => bridgeRef, "getBridge"),
|
|
4311
4489
|
boundWorkspace
|
|
@@ -4315,6 +4493,13 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4315
4493
|
// connection that hosts a named client MCP server (#5626).
|
|
4316
4494
|
clientMcpSender: clientMcpSenderRegistry.lookup,
|
|
4317
4495
|
onCreateSubSession: subSessionLauncher.launch,
|
|
4496
|
+
onChannelDelivery: createBoundChannelDeliveryHandler(
|
|
4497
|
+
boundWorkspace,
|
|
4498
|
+
() => channelWorkerManager,
|
|
4499
|
+
channelDeliveryAuthorizations,
|
|
4500
|
+
daemonLog,
|
|
4501
|
+
channelDeliveryDiagnosticRedaction
|
|
4502
|
+
),
|
|
4318
4503
|
maxSessions: opts.maxSessions,
|
|
4319
4504
|
freshSessionAdmission: totalSessionAdmission.admit,
|
|
4320
4505
|
sessionLifecycle: sessionOwnerIndex.handleBridgeSessionLifecycle,
|
|
@@ -4549,6 +4734,13 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4549
4734
|
const secondaryBridge = runtime.createAcpSessionBridge({
|
|
4550
4735
|
clientMcpSender: secondaryClientMcpSenderRegistry.lookup,
|
|
4551
4736
|
onCreateSubSession: secondarySubSessionLauncher.launch,
|
|
4737
|
+
onChannelDelivery: createBoundChannelDeliveryHandler(
|
|
4738
|
+
workspaceInput.cwd,
|
|
4739
|
+
() => channelWorkerManager,
|
|
4740
|
+
channelDeliveryAuthorizations,
|
|
4741
|
+
daemonLog,
|
|
4742
|
+
channelDeliveryDiagnosticRedaction
|
|
4743
|
+
),
|
|
4552
4744
|
maxSessions: opts.maxSessions,
|
|
4553
4745
|
freshSessionAdmission: totalSessionAdmission.admit,
|
|
4554
4746
|
sessionLifecycle: sessionOwnerIndex.handleBridgeSessionLifecycle,
|
|
@@ -4815,6 +5007,13 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
4815
5007
|
wsBridge = runtime.createAcpSessionBridge({
|
|
4816
5008
|
clientMcpSender: wsClientMcpRegistry.lookup,
|
|
4817
5009
|
onCreateSubSession: wsSubSessionLauncher.launch,
|
|
5010
|
+
onChannelDelivery: createBoundChannelDeliveryHandler(
|
|
5011
|
+
cwd,
|
|
5012
|
+
() => channelWorkerManager,
|
|
5013
|
+
channelDeliveryAuthorizations,
|
|
5014
|
+
daemonLog,
|
|
5015
|
+
channelDeliveryDiagnosticRedaction
|
|
5016
|
+
),
|
|
4818
5017
|
maxSessions: opts.maxSessions,
|
|
4819
5018
|
freshSessionAdmission: totalSessionAdmission.admit,
|
|
4820
5019
|
sessionLifecycle: sessionOwnerIndex.handleBridgeSessionLifecycle,
|
|
@@ -5117,6 +5316,19 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5117
5316
|
}
|
|
5118
5317
|
return channelWorkerManager.enqueueWebhookTask(task);
|
|
5119
5318
|
}, "enqueueChannelWebhookTask"),
|
|
5319
|
+
deliverChannelMessage: /* @__PURE__ */ __name(async (workspaceCwd, request) => {
|
|
5320
|
+
if (!channelWorkerManager) {
|
|
5321
|
+
throw new ChannelDeliveryError(
|
|
5322
|
+
"channel_worker_unavailable",
|
|
5323
|
+
"Channel worker is not running."
|
|
5324
|
+
);
|
|
5325
|
+
}
|
|
5326
|
+
return channelWorkerManager.deliverChannelMessage(
|
|
5327
|
+
workspaceCwd,
|
|
5328
|
+
request
|
|
5329
|
+
);
|
|
5330
|
+
}, "deliverChannelMessage"),
|
|
5331
|
+
channelDeliveryAuthorizations,
|
|
5120
5332
|
reloadChannelWorker,
|
|
5121
5333
|
getPerfSnapshot: /* @__PURE__ */ __name(() => ({
|
|
5122
5334
|
eventLoop: currentDaemonEventLoopMonitor.snapshot(),
|
|
@@ -5308,7 +5520,8 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5308
5520
|
reserveChannelServicePidfile(opts.channelSelection);
|
|
5309
5521
|
}
|
|
5310
5522
|
return await new Promise((resolve, reject) => {
|
|
5311
|
-
const onListening = /* @__PURE__ */ __name(() => {
|
|
5523
|
+
const onListening = /* @__PURE__ */ __name((error) => {
|
|
5524
|
+
if (error) return;
|
|
5312
5525
|
startup.listenerReadyAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
5313
5526
|
startup.processToListenMs = Math.round(process.uptime() * 1e3);
|
|
5314
5527
|
startup.runQwenServeToListenMs = Math.round(
|
|
@@ -5328,7 +5541,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5328
5541
|
channelWorkspaceGroups = resolveChannelWorkspaceGroupsAtListen();
|
|
5329
5542
|
} catch (err) {
|
|
5330
5543
|
removeCurrentServePidfile();
|
|
5331
|
-
const
|
|
5544
|
+
const error2 = err instanceof Error ? err : new Error(String(err));
|
|
5332
5545
|
server.close((closeErr) => {
|
|
5333
5546
|
if (closeErr) {
|
|
5334
5547
|
daemonLog.error(
|
|
@@ -5336,7 +5549,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5336
5549
|
closeErr
|
|
5337
5550
|
);
|
|
5338
5551
|
}
|
|
5339
|
-
reject(
|
|
5552
|
+
reject(error2);
|
|
5340
5553
|
});
|
|
5341
5554
|
return;
|
|
5342
5555
|
}
|
|
@@ -5406,9 +5619,9 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5406
5619
|
"deferred runtime: cancelled, server closed before startup"
|
|
5407
5620
|
);
|
|
5408
5621
|
runtimeStartupSettled = true;
|
|
5409
|
-
const
|
|
5410
|
-
runtimeStartupError =
|
|
5411
|
-
markRuntimeFailed(
|
|
5622
|
+
const error2 = new Error(RUNTIME_STARTUP_CANCELLED_MESSAGE);
|
|
5623
|
+
runtimeStartupError = error2.message;
|
|
5624
|
+
markRuntimeFailed(error2);
|
|
5412
5625
|
}, "cancelDeferredRuntimeStartup");
|
|
5413
5626
|
const shutdownBridgeAfterFailedStartup = /* @__PURE__ */ __name(async (bridge) => {
|
|
5414
5627
|
if (!bridge || deps.bridge) return;
|
|
@@ -5441,7 +5654,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5441
5654
|
}
|
|
5442
5655
|
}, "stopChannelWorkerAfterFailedStartup");
|
|
5443
5656
|
const failRuntimeStartup = /* @__PURE__ */ __name(async (err, bridgeForCleanup) => {
|
|
5444
|
-
const
|
|
5657
|
+
const error2 = err instanceof Error ? err : new Error(String(err));
|
|
5445
5658
|
if (runtimeStartupSettled) {
|
|
5446
5659
|
disposeRuntimeAppResources(runtimeApp ?? runtimeAppForCleanup);
|
|
5447
5660
|
await shutdownBridgeAfterFailedStartup(bridgeForCleanup);
|
|
@@ -5451,15 +5664,15 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
5451
5664
|
disposeRuntimeAppResources(runtimeApp ?? runtimeAppForCleanup);
|
|
5452
5665
|
runtimeApp = void 0;
|
|
5453
5666
|
clearRuntimeStartupTimer();
|
|
5454
|
-
const message =
|
|
5667
|
+
const message = error2.message;
|
|
5455
5668
|
runtimeStartupError = message;
|
|
5456
5669
|
if (startup.preheat.status === "scheduled" || startup.preheat.status === "running") {
|
|
5457
5670
|
startup.preheat.status = "failed";
|
|
5458
5671
|
startup.preheat.error = message;
|
|
5459
5672
|
}
|
|
5460
5673
|
writeStderrLine(`qwen serve: runtime startup failed: ${message}`);
|
|
5461
|
-
daemonLog.error("runtime startup failed",
|
|
5462
|
-
markRuntimeFailed(
|
|
5674
|
+
daemonLog.error("runtime startup failed", error2);
|
|
5675
|
+
markRuntimeFailed(error2);
|
|
5463
5676
|
if (closeServerAfterChannelWorkerStartupFailure && server.listening) {
|
|
5464
5677
|
runtimeFailureListenerClose = new Promise((resolve2) => {
|
|
5465
5678
|
server.close((closeErr) => {
|
|
@@ -6051,6 +6264,7 @@ async function runQwenServeImpl(optsIn, deps, loggerLifecycle) {
|
|
|
6051
6264
|
__name(runQwenServeImpl, "runQwenServeImpl");
|
|
6052
6265
|
export {
|
|
6053
6266
|
InvalidPolicyConfigError,
|
|
6267
|
+
createBoundChannelDeliveryHandler,
|
|
6054
6268
|
createDisabledChannelWorkerSupervisor,
|
|
6055
6269
|
createLazyBridgeProxy,
|
|
6056
6270
|
extractContextFilename,
|