@qwen-code/qwen-code 0.21.2 → 0.21.3-nightly.20260803.e1e5b42ce
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 +53 -38
- package/bundled/qc-helper/docs/features/channels/github.md +16 -5
- package/bundled/qc-helper/docs/features/channels/gitlab.md +6 -0
- package/bundled/qc-helper/docs/features/code-review.md +92 -24
- package/bundled/qc-helper/docs/features/commands.md +46 -38
- package/bundled/qc-helper/docs/features/hooks.md +115 -18
- package/bundled/qc-helper/docs/features/memory.md +27 -0
- package/bundled/qc-helper/docs/features/skills.md +46 -1
- package/bundled/qc-helper/docs/features/sub-agents.md +42 -9
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +7 -7
- package/bundled/qc-helper/docs/qwen-serve.md +46 -25
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +62 -31
- package/bundled/qc-helper/docs/support/troubleshooting.md +6 -1
- package/bundled/review/DESIGN.md +167 -32
- package/bundled/review/SKILL.md +207 -38
- package/chunks/{MaxSizedBox-TQBQ247P.js → MaxSizedBox-FCEK5P5K.js} +41 -38
- package/chunks/{StandaloneSessionPicker-2HPTKCLX.js → StandaloneSessionPicker-AT77J3PM.js} +63 -59
- package/chunks/{acp-startup-profiler-2C4A5ZTJ.js → acp-startup-profiler-3RICG2YW.js} +2 -2
- package/chunks/{acpAgent-PS6EDGH3.js → acpAgent-PBMKZ5KH.js} +664 -560
- package/chunks/{agent-VDOUB35F.js → agent-55W5BPK3.js} +37 -34
- package/chunks/{agent-headless-EO53EFS2.js → agent-headless-I7VMHI22.js} +37 -34
- package/chunks/{anthropicContentGenerator-OFHSZJBF.js → anthropicContentGenerator-3CAHEZBM.js} +341 -29
- package/chunks/{artifact-tool-RDN2W7ND.js → artifact-tool-TBOYEKTY.js} +2 -2
- package/chunks/{askUserQuestion-OZERWH5R.js → askUserQuestion-23Y5WZFJ.js} +2 -2
- package/chunks/{bridge-W7AZSRZQ.js → bridge-XNAWEDAN.js} +43 -40
- package/chunks/{ca-6W3SK7OQ.js → ca-NYKNH222.js} +50 -5
- package/chunks/{channel-management-service-5S7YCWX5.js → channel-management-service-UHX56NBO.js} +7 -7
- package/chunks/{channel-settings-store-JFVRSNER.js → channel-settings-store-7P6RJSSF.js} +44 -41
- package/chunks/{channel-worker-group-OVWGYMZS.js → channel-worker-group-NDG4WOOZ.js} +8 -8
- package/chunks/{channel-worker-manager-H55GKOQA.js → channel-worker-manager-ZCW6UW34.js} +8 -8
- package/chunks/{channel-worker-supervisor-CABBXYHK.js → channel-worker-supervisor-ATGFTZRN.js} +4 -4
- package/chunks/{chunk-6MPDY6ZG.js → chunk-24ER7UV4.js} +1 -1
- package/chunks/{chunk-QDK4F2N5.js → chunk-2DNKEBXY.js} +1 -1
- package/chunks/{chunk-AUOULH6Q.js → chunk-2GF3IDEK.js} +1610 -2196
- package/chunks/{chunk-JYBU6YUE.js → chunk-2M5N3DHY.js} +1 -1
- package/chunks/{chunk-LHKCY7DY.js → chunk-2UISUFHQ.js} +3 -3
- package/chunks/{chunk-BBIQAX4V.js → chunk-2ZCYE3F2.js} +30 -18
- package/chunks/{chunk-GJ2GBPBD.js → chunk-332FMXSD.js} +5 -5
- package/chunks/{chunk-JXVC2PL3.js → chunk-33FNCQSY.js} +2 -2
- package/chunks/{chunk-P755N4CS.js → chunk-3GALLNII.js} +6 -6
- package/chunks/{chunk-YANIWTRZ.js → chunk-3ICGQSVO.js} +1 -1
- package/chunks/{chunk-NBD76HUW.js → chunk-3LGZEYOF.js} +2 -2
- package/chunks/{chunk-E2BHWIDT.js → chunk-3RXUYQJI.js} +6 -2
- package/chunks/{chunk-E5Z2AVNV.js → chunk-3SH53ANB.js} +0 -11
- package/chunks/{chunk-N4ACHWNH.js → chunk-432XCUHF.js} +1 -1
- package/chunks/{chunk-JLZ3RBQG.js → chunk-44EJDGMS.js} +144 -11
- package/chunks/{chunk-KR32NIAN.js → chunk-4JP34TZ6.js} +10 -10
- package/chunks/{chunk-L2E5GFAG.js → chunk-4LKVQFHM.js} +2 -2
- package/chunks/{chunk-YDLJGZHL.js → chunk-4NFY2S7N.js} +0 -33
- package/chunks/{chunk-NHFEMWAZ.js → chunk-5WY5QEM6.js} +1 -1
- package/chunks/{chunk-56Z7QEAQ.js → chunk-6BUPGI3J.js} +16 -16
- package/chunks/{chunk-H6I4PGRV.js → chunk-6DNHLK7F.js} +4 -4
- package/chunks/{chunk-XQK4XXTN.js → chunk-6O5DVH27.js} +1 -1
- package/chunks/{chunk-2RFKHEXL.js → chunk-6PLDPT2C.js} +1 -1
- package/chunks/{chunk-Q5WZTTWE.js → chunk-7UPJXZLD.js} +6 -8
- package/chunks/{chunk-CBBP4BMC.js → chunk-7UXI6P72.js} +82 -207
- package/chunks/{chunk-6CQWRWUC.js → chunk-7XLPYF6B.js} +3 -3
- package/chunks/{chunk-VEMNQMHA.js → chunk-7ZH55K26.js} +5 -13
- package/chunks/{chunk-JJPKFJBT.js → chunk-A2FOI762.js} +3 -3
- package/chunks/{chunk-LYI2PZDK.js → chunk-A5LNZGJB.js} +2 -2
- package/chunks/{chunk-3APUUXRF.js → chunk-A5YZ3FA2.js} +2 -1
- package/chunks/{chunk-SHN4KHDK.js → chunk-A6SX5TAH.js} +3 -3
- package/chunks/{chunk-QCXGC7QB.js → chunk-A7PONO5G.js} +3 -3
- package/chunks/{chunk-SZ3KHTDR.js → chunk-AKA24BGO.js} +1 -1
- package/chunks/{chunk-RSVPYAGK.js → chunk-B4HXOGF5.js} +5 -5
- package/chunks/{chunk-D6MDRSZ6.js → chunk-BBXSRVSN.js} +22 -11
- package/chunks/{chunk-Q3T5KA2V.js → chunk-BFHXDAR7.js} +1 -1
- package/chunks/{chunk-L55JWS76.js → chunk-BGXZBI5B.js} +1 -1
- package/chunks/{chunk-2KKCCLPT.js → chunk-C4IUDGPI.js} +1 -1
- package/chunks/{chunk-MM7TH7ZM.js → chunk-CFDR3GNL.js} +18 -3
- package/chunks/{chunk-3F2WDAV6.js → chunk-CFVFQWFB.js} +14 -14
- package/chunks/{chunk-E2FN6SM7.js → chunk-CIUUYB23.js} +5 -5
- package/chunks/{chunk-JCJ7LKNA.js → chunk-DIEFUBV6.js} +1644 -1570
- package/chunks/{chunk-KWHKHSIS.js → chunk-DTAPI453.js} +8 -8
- package/chunks/{chunk-WWCMSZII.js → chunk-DV2GAGR7.js} +71 -7
- package/chunks/{chunk-675H6PLP.js → chunk-DYA25Y7U.js} +1 -1
- package/chunks/{chunk-3I6DUGQD.js → chunk-E4WHKETF.js} +32 -4
- package/chunks/{chunk-QTERJVPZ.js → chunk-EKTCKZV5.js} +1 -0
- package/chunks/{chunk-HX6RLYUO.js → chunk-ENOHFX2M.js} +4 -4
- package/chunks/{chunk-VMX5RZQH.js → chunk-EZZJHMFK.js} +18 -9
- package/chunks/{chunk-KXDONCPU.js → chunk-FBDRTW3I.js} +4 -4
- package/chunks/{chunk-FCYYAB4S.js → chunk-FHPKHXHT.js} +3 -3
- package/chunks/{chunk-DQ2O5QOJ.js → chunk-FJZS2MXB.js} +1 -1
- package/chunks/{chunk-EQNUDTL6.js → chunk-FVLPZSKH.js} +3 -3
- package/chunks/{chunk-2LEOZTBT.js → chunk-FYMMZV5F.js} +111 -26
- package/chunks/{chunk-UV6KF7T3.js → chunk-GNZ7MX73.js} +3 -3
- package/chunks/chunk-GOFAQQZA.js +132 -0
- package/chunks/{chunk-YUFIEIWC.js → chunk-GTM6IHBB.js} +2 -2
- package/chunks/{chunk-W3UKBMSI.js → chunk-GU5B6IF3.js} +118 -9
- package/chunks/{chunk-PCK4B6LR.js → chunk-GU5XWZU2.js} +1 -1
- package/chunks/{chunk-DEEABGH2.js → chunk-H2EDCJIM.js} +5954 -1766
- package/chunks/{chunk-FJ5WUMUQ.js → chunk-H36SETQS.js} +1 -1
- package/chunks/{chunk-6FMJLI5M.js → chunk-HFVW54NL.js} +41 -6
- package/chunks/chunk-HGCQ5SE7.js +136 -0
- package/chunks/{chunk-OFZKFPYG.js → chunk-HR4CHEQS.js} +3 -3
- package/chunks/{chunk-CO2U743O.js → chunk-I3GX6LGS.js} +4 -4
- package/chunks/{chunk-5NNHICSA.js → chunk-I7JDGNG6.js} +3 -3
- package/chunks/{chunk-RDJOB6S3.js → chunk-IEBT6DXF.js} +1 -1
- package/chunks/{chunk-EU5TBFJI.js → chunk-IV7QPMC2.js} +2 -2
- package/chunks/{chunk-B4AJNNOL.js → chunk-J26HHFI5.js} +1 -1
- package/chunks/{chunk-CNTR4GR6.js → chunk-JELIWHXD.js} +1 -1
- package/chunks/{chunk-FNDXMN7I.js → chunk-JQFMW7BD.js} +936 -223
- package/chunks/{chunk-IGTHU3T4.js → chunk-KKN2IE7Q.js} +1 -1
- package/chunks/{chunk-TZTAV5RH.js → chunk-KVUBYJDM.js} +2 -2
- package/chunks/{chunk-DUNI4EBW.js → chunk-KZXSAQYV.js} +86 -52
- package/chunks/chunk-LBOVL47Y.js +29 -0
- package/chunks/{chunk-FS674JW4.js → chunk-LBWNSLJK.js} +3 -3
- package/chunks/{chunk-I5BT7ADR.js → chunk-LEZFUYPM.js} +4 -4
- package/chunks/chunk-LLMGP5IC.js +222 -0
- package/chunks/{chunk-44F4LBWZ.js → chunk-LVW7BHTW.js} +56 -18
- package/chunks/{chunk-YGE3IXJP.js → chunk-M744OFVE.js} +1 -1
- package/chunks/chunk-MISUEWB4.js +8749 -0
- package/chunks/{chunk-7SJN2IWT.js → chunk-MJ2SKNTY.js} +5 -5
- package/chunks/{chunk-JE2CEOBO.js → chunk-MNTXIO6T.js} +4 -4
- package/chunks/{chunk-TEGJSJDF.js → chunk-MOHAWIAW.js} +2 -2
- package/chunks/{chunk-54YCNSK5.js → chunk-MVMBE5EH.js} +4521 -10220
- package/chunks/{chunk-PZEXDV3H.js → chunk-NCY2CDDX.js} +71 -43
- package/chunks/{chunk-TTJZAIFP.js → chunk-NJELCSFL.js} +3 -3
- package/chunks/{chunk-A7Y5H4TX.js → chunk-NXDJEZCI.js} +7 -7
- package/chunks/{chunk-PQNHRFJC.js → chunk-NYX53SV4.js} +0 -2
- package/chunks/{chunk-QARJNL2V.js → chunk-O2ZYHG33.js} +5 -4
- package/chunks/{chunk-6PQPKTXP.js → chunk-OPMLL3B3.js} +1 -1
- package/chunks/{chunk-PVNQRENX.js → chunk-OUQGNGIU.js} +1 -1
- package/chunks/{chunk-V7RNNPGC.js → chunk-P5Y23G2L.js} +18 -1
- package/chunks/{chunk-GURGAJTX.js → chunk-PDDYAXL2.js} +4 -1
- package/chunks/chunk-PWCQRLM5.js +1170 -0
- package/chunks/{chunk-GL4JOZXU.js → chunk-Q43MIWDH.js} +4 -4
- package/chunks/{chunk-V4XNUDPE.js → chunk-QFIYH5KR.js} +28 -7
- package/chunks/chunk-QL4TN4HS.js +59 -0
- package/chunks/{chunk-E6CJ2SMM.js → chunk-QMBEW7EW.js} +2 -2
- package/chunks/{chunk-U4VTUMMK.js → chunk-QONSRAEV.js} +1 -1
- package/chunks/{chunk-LOY7RWQG.js → chunk-QYPT3QUD.js} +3 -3
- package/chunks/{chunk-RG64CDT2.js → chunk-RJAVNGJJ.js} +131 -48
- package/chunks/{chunk-Z3S5EMOW.js → chunk-RPYYTL7E.js} +60 -12
- package/chunks/{chunk-V25K5ID7.js → chunk-SWCEYR6T.js} +1 -1
- package/chunks/{chunk-77V3VIKL.js → chunk-SXGNNAMC.js} +9 -9
- package/chunks/{chunk-7KAXXBER.js → chunk-TNQ5BEEB.js} +3 -3
- package/chunks/{chunk-R2XWGR75.js → chunk-TYERNYH4.js} +2 -2
- package/chunks/{chunk-45IOTAUS.js → chunk-U25CMJYY.js} +1 -1
- package/chunks/{chunk-7ULQIS27.js → chunk-UEJESCS7.js} +1 -1
- package/chunks/{chunk-HC45LTEN.js → chunk-UH7Z7Y45.js} +1 -1
- package/chunks/{chunk-P5VC5USY.js → chunk-UIKCPMID.js} +1 -1
- package/chunks/{chunk-CPZAH673.js → chunk-UKZEXS6K.js} +2 -0
- package/chunks/{chunk-HIVKI6O6.js → chunk-UO7AWUZJ.js} +9 -7
- package/chunks/{chunk-XP4L6KS3.js → chunk-URN76TKR.js} +2 -2
- package/chunks/{chunk-XUGZYLDH.js → chunk-UWSXFI6E.js} +1 -1
- package/chunks/{chunk-AOHY3QJ3.js → chunk-VA5NLVPT.js} +3 -3
- package/chunks/{chunk-FANRZEAJ.js → chunk-VWOVHOTT.js} +1 -1
- package/chunks/{chunk-NTDH4IML.js → chunk-W2K4OEW4.js} +7 -7
- package/chunks/{chunk-L32VV3ZJ.js → chunk-WH7W24EN.js} +12 -12
- package/chunks/{chunk-QTHQ6Z5X.js → chunk-WK4TJUEA.js} +1 -1
- package/chunks/{chunk-ZPZ7ZJEE.js → chunk-WUC6ZFXO.js} +1 -1
- package/chunks/{chunk-TIRRPCFS.js → chunk-X6QNZOTC.js} +1 -1
- package/chunks/{chunk-IIUGIWWY.js → chunk-XC2VAFVZ.js} +1 -1
- package/chunks/{chunk-D4HTUMGX.js → chunk-XC656O42.js} +3 -3
- package/chunks/{chunk-ZMOJ7ISP.js → chunk-XXOVLDZQ.js} +1 -1
- package/chunks/{chunk-THVU3RNH.js → chunk-YAVY33G4.js} +1 -1
- package/chunks/{chunk-PJOHNFIY.js → chunk-YIAC2OXH.js} +5 -5
- package/chunks/{chunk-CU47KXB5.js → chunk-YTSN63PD.js} +6 -6
- package/chunks/{chunk-DSFHVTWD.js → chunk-YXEVDA66.js} +2 -2
- package/chunks/{chunk-MB32MS4U.js → chunk-ZLJQIGCH.js} +260 -175
- package/chunks/{chunk-6TAASXWL.js → chunk-ZX6RZZFB.js} +3 -3
- package/chunks/{computer-use-5QWCFNKD.js → computer-use-BG2EHNJE.js} +37 -34
- package/chunks/{config-utils-WADIDWGG.js → config-utils-E3ZQTHGM.js} +4 -4
- package/chunks/{contextCommand-4Z7T7TUM.js → contextCommand-JAPYNKFC.js} +41 -38
- package/chunks/{core-runtime-6N4EFC2Q.js → core-runtime-2VCZN5QF.js} +37 -34
- package/chunks/{create-sub-session-AEREHZBQ.js → create-sub-session-52OUA2VU.js} +52 -43
- package/chunks/{create-sub-session-62YZWVAY.js → create-sub-session-J32WC64U.js} +2 -2
- package/chunks/{cron-create-6E7GIQTG.js → cron-create-HMFSHIAR.js} +4 -4
- package/chunks/{cron-delete-JD26XY3W.js → cron-delete-ZJFHOX57.js} +4 -4
- package/chunks/{cron-list-CUWFB44G.js → cron-list-ZEX2NBMN.js} +4 -4
- package/chunks/{daemon-PCNCI5YU.js → daemon-CCIX4BMG.js} +47 -6
- package/chunks/{daemon-status-provider-DDF7C5M7.js → daemon-status-provider-F2YGDKHR.js} +48 -45
- package/chunks/{daemon-trust-policy-Q4KSOJTR.js → daemon-trust-policy-XCY7JETR.js} +43 -40
- package/chunks/{daemon-trust-policy-monitor-V6FTE3IY.js → daemon-trust-policy-monitor-FBHB5GMQ.js} +43 -40
- package/chunks/{de-SY6O76BF.js → de-VL76CPLV.js} +50 -5
- package/chunks/{deferred-core-runtime-GHJ5GQHK.js → deferred-core-runtime-BBLJ4JUM.js} +37 -34
- package/chunks/display-image-2WOG27DY.js +184 -0
- package/chunks/{dist-ZHXOBXDN.js → dist-3BMEUGTG.js} +1 -1
- package/chunks/{dist-OAOC5OV4.js → dist-7JGAAQSC.js} +2 -2
- package/chunks/{dist-SL2LUMML.js → dist-A7H2KKUC.js} +1 -1
- package/chunks/{dist-ULIG4M5H.js → dist-C5U4LJKW.js} +162 -15
- package/chunks/{dist-2PERFI23.js → dist-DPPHJAVL.js} +3 -3
- package/chunks/{dist-PVEAFLHY.js → dist-HVBMEYWK.js} +1 -1
- package/chunks/{dist-26BIMQT6.js → dist-IKGVITP3.js} +676 -37
- package/chunks/{dist-WGMNT3JQ.js → dist-SFQ34F4M.js} +24 -6
- package/chunks/{earlyInputCapture-TQXLLISD.js → earlyInputCapture-ALVSMKP7.js} +38 -35
- package/chunks/{edit-FJEUV6KZ.js → edit-POB3CIHQ.js} +37 -34
- package/chunks/{en-NBK3JKCE.js → en-IRJ2WN5T.js} +61 -6
- package/chunks/{enter-worktree-7GE3TZ4P.js → enter-worktree-Q2N7UZWC.js} +37 -34
- package/chunks/{enterPlanMode-KR5TMPCJ.js → enterPlanMode-QGAH2GMP.js} +37 -34
- package/chunks/{environment-SWL3CMB3.js → environment-FE5AX2U5.js} +40 -37
- package/chunks/{errors-XQE7BGZV.js → errors-SLMCFLSC.js} +40 -37
- package/chunks/{exit-worktree-CHKTYNCV.js → exit-worktree-7WO2LPLF.js} +37 -34
- package/chunks/{exitPlanMode-QYAG6LWX.js → exitPlanMode-3PINWUTY.js} +37 -34
- package/chunks/{fast-path-Z2K7W6DC.js → fast-path-SVFFEL6U.js} +17 -4
- package/chunks/{fr-4KG5V7UT.js → fr-GK3HQYVB.js} +50 -5
- package/chunks/{gemini-YU4XKEDG.js → gemini-QECJNKNJ.js} +151 -90
- package/chunks/{geminiContentGenerator-ZZX6NBO4.js → geminiContentGenerator-ZFAZKT6R.js} +6 -6
- package/chunks/{glob-VYF5CXSX.js → glob-GXUNQYNR.js} +37 -34
- package/chunks/{goal-tools-HGO6VXPB.js → goal-tools-SPQ5M6D3.js} +3 -3
- package/chunks/{grep-5DP5ZUTW.js → grep-LVU5KBCV.js} +37 -34
- package/chunks/{handleAutoUpdate-UVBJ56DL.js → handleAutoUpdate-MPDHQY72.js} +43 -40
- package/chunks/{i18n-UQNYHEUD.js → i18n-LEYRN6RV.js} +39 -36
- package/chunks/{image-gen-WHPIZNWF.js → image-gen-4T2D4PTP.js} +9 -9
- package/chunks/{initializer-GMIICF4W.js → initializer-PQV2THBS.js} +44 -41
- package/chunks/{installationInfo-4MGG4WVI.js → installationInfo-XC3HXLTX.js} +38 -35
- package/chunks/{ja-F3GSQXMF.js → ja-3FA46IKD.js} +50 -5
- package/chunks/{keychain-token-storage-IKO4G53C.js → keychain-token-storage-7BT4TQ2A.js} +2 -2
- package/chunks/{kittyProtocolDetector-MBRTDRBK.js → kittyProtocolDetector-BFLAKYXH.js} +1 -1
- package/chunks/{list-CPN2W334.js → list-AQBTPZRG.js} +46 -43
- package/chunks/{list-agents-PXJ7ZUFB.js → list-agents-TWEGRJWO.js} +2 -2
- package/chunks/{loadedSettingsAdapter-ZQAV5NDO.js → loadedSettingsAdapter-EZYPDX2J.js} +43 -40
- package/chunks/{loggingContentGenerator-5E7W4IEP.js → loggingContentGenerator-WD6YWU7Q.js} +52 -37
- package/chunks/{loop-wakeup-Y26NQZ5I.js → loop-wakeup-6LLEOQYV.js} +5 -5
- package/chunks/{ls-ONQTTMQR.js → ls-H5WX22VK.js} +4 -4
- package/chunks/{lsp-YGHHRGMD.js → lsp-G6FXYEIS.js} +2 -2
- package/chunks/{managed-npm-update-MKKAXYXA.js → managed-npm-update-BMM57CHD.js} +40 -37
- package/chunks/{mcp-V5NTJF6X.js → mcp-FMI6NCWA.js} +43 -40
- package/chunks/{monitor-CO3ASY6E.js → monitor-PZJOYAA2.js} +37 -34
- package/chunks/nonInteractiveCli-QPX6R4LL.js +152 -0
- package/chunks/{notebook-edit-Z7AEE6FM.js → notebook-edit-GZF2SKTQ.js} +37 -34
- package/chunks/{openaiContentGenerator-CA3MQOP3.js → openaiContentGenerator-ZPLCFAAG.js} +18 -18
- package/chunks/{pidfile-NL7MKDRU.js → pidfile-PCADVJQW.js} +38 -35
- package/chunks/{processUtils-PB5K2DYH.js → processUtils-FKUVQVEU.js} +2 -2
- package/chunks/{pt-EQ33KWEN.js → pt-3AOBKPIJ.js} +50 -5
- package/chunks/{qwenContentGenerator-JYFNDCOS.js → qwenContentGenerator-2Y4R6YLB.js} +42 -40
- package/chunks/{qwenOAuth2-W2ALKQDD.js → qwenOAuth2-UCEHY3I2.js} +8 -8
- package/chunks/{read-file-IEOR5H5W.js → read-file-DYHDFVAS.js} +10 -10
- package/chunks/{read-mcp-resource-U2IJN5HM.js → read-mcp-resource-DRZSI3HE.js} +2 -2
- package/chunks/{record-artifact-MGPJ7EG4.js → record-artifact-IPIRWMFY.js} +3 -3
- package/chunks/{resumeHistoryUtils-BNBTP5AS.js → resumeHistoryUtils-5JS6R3AJ.js} +45 -42
- package/chunks/{ripGrep-UMQODKEB.js → ripGrep-2QOR3ZQT.js} +37 -34
- package/chunks/{ru-7OZAUKGG.js → ru-VJRAMC4W.js} +50 -5
- package/chunks/{run-qwen-serve-RN2R6QQW.js → run-qwen-serve-MTVRAUBR.js} +271 -60
- package/chunks/{runtime-QFJ2MJF5.js → runtime-DQGE2DYR.js} +50 -45
- package/chunks/{scheduler-AMYUFOZI.js → scheduler-BXIZQ4OO.js} +37 -34
- package/chunks/{sdk-exporters-http-4BQANSJ6.js → sdk-exporters-http-IKNWQJNV.js} +2 -2
- package/chunks/{sdk-impl-Z4VXWVFX.js → sdk-impl-7CUUMQDB.js} +2 -2
- package/chunks/{send-message-PMP4ATVM.js → send-message-LHJLVWFD.js} +5 -4
- package/chunks/{serve-EIIYJVX3.js → serve-D4GYHFLL.js} +44 -40
- package/chunks/{server-EP2LLAPD.js → server-S22MLWTJ.js} +618 -387
- package/chunks/{session-GMPZBLOW.js → session-AHNM6YXP.js} +151 -87
- package/chunks/{settings-LN7RNKBS.js → settings-77MDDUSX.js} +42 -39
- package/chunks/{shell-EM2OWU5X.js → shell-DLD2VQTQ.js} +37 -34
- package/chunks/{skill-T5VPSK73.js → skill-3B2PAQE4.js} +27 -14
- package/chunks/{skill-settings-GMR3GMNY.js → skill-settings-STR5NF4B.js} +42 -39
- package/chunks/{spawnChannel-YPCU62DI.js → spawnChannel-TOWYOVDZ.js} +39 -36
- package/chunks/{standalone-update-JAKIM2NF.js → standalone-update-F6ZWABD7.js} +40 -37
- package/chunks/{startInteractiveUI-YETQWGYF.js → startInteractiveUI-QR7MHDX7.js} +1829 -1036
- package/chunks/{syntheticOutput-D7E6ZFKR.js → syntheticOutput-EYL7DWO7.js} +3 -3
- package/chunks/{task-create-NFCYD43L.js → task-create-4ALZMGP5.js} +10 -9
- package/chunks/{task-list-TAVMGEVD.js → task-list-6CVQPORX.js} +6 -6
- package/chunks/{task-stop-ZDF2UJRM.js → task-stop-Y5ZTFVRX.js} +2 -2
- package/chunks/{task-update-6L7LHGEX.js → task-update-IKCEEWJ6.js} +10 -9
- package/chunks/{team-create-LFJ6HGNY.js → team-create-LQVIAVRF.js} +37 -34
- package/chunks/{team-delete-DPGGRQBU.js → team-delete-CE7DC53R.js} +6 -6
- package/chunks/{team-plan-approval-C2KLSDGO.js → team-plan-approval-G5PUNI52.js} +37 -34
- package/chunks/terminal-image-renderer-33GSM55L.js +90 -0
- package/chunks/{theme-manager-JQ3ZGBP5.js → theme-manager-DBFM5QOG.js} +38 -35
- package/chunks/{todoWrite-2UO5G6G6.js → todoWrite-FTZWQRZH.js} +108 -36
- package/chunks/{tool-search-FAZBFRJZ.js → tool-search-RGG7BBC4.js} +13 -12
- package/chunks/{total-session-admission-5CALIVYO.js → total-session-admission-LY3RMXXI.js} +44 -41
- package/chunks/{trustedFolders-KOPSP44S.js → trustedFolders-3M4IQ6K6.js} +39 -36
- package/chunks/{update-relaunch-6QL2TICS.js → update-relaunch-G3CMSX3M.js} +5 -5
- package/chunks/{updateCheck-4Q6RIKFW.js → updateCheck-ZKFGBDTG.js} +42 -39
- package/chunks/{useAutoAcceptIndicator-Q5BMKZV3.js → useAutoAcceptIndicator-7SAFZK5H.js} +47 -44
- package/chunks/{validateNonInterActiveAuth-GKOC5F6Z.js → validateNonInterActiveAuth-F2K6UGE4.js} +88 -84
- package/chunks/{version-VSATY2LD.js → version-KM6MYV2D.js} +1 -1
- package/chunks/{web-fetch-JCLKL6NL.js → web-fetch-SM4LZHRS.js} +13 -13
- package/chunks/{web-search-DSQTFUBX.js → web-search-OGKZNDAC.js} +8 -8
- package/chunks/{workflow-M6QAVKVJ.js → workflow-HU365RFR.js} +419 -304
- package/chunks/{workspace-providers-status-YKLTLMJA.js → workspace-providers-status-QKKXQHL7.js} +46 -43
- package/chunks/{workspace-registration-store-5DMGKU64.js → workspace-registration-store-7J7KOXFD.js} +2 -2
- package/chunks/{workspace-registry-PTYUSYXX.js → workspace-registry-KC66O6DH.js} +44 -41
- package/chunks/{workspace-service-25ML3T47.js → workspace-service-TEV5Q2AA.js} +51 -48
- package/chunks/{workspace-skills-status-YKZWOYRX.js → workspace-skills-status-VRL55OMU.js} +45 -42
- package/chunks/{workspace-trust-reconciler-5FI2S3OS.js → workspace-trust-reconciler-COC5M7CY.js} +50 -47
- package/chunks/{write-file-AY7VLP5X.js → write-file-3SO2BMNO.js} +37 -34
- package/chunks/{zh-H3YDK5QW.js → zh-ARWDLDLR.js} +58 -6
- package/chunks/{zh-TW-JYCP7XUA.js → zh-TW-Y4RGI3P7.js} +58 -6
- package/chunks/{zoom-image-S4LJZMD5.js → zoom-image-O3RWTVKV.js} +10 -10
- package/cli.js +32 -48
- package/locales/ca.js +68 -4
- package/locales/de.js +70 -4
- package/locales/en.js +84 -6
- package/locales/fr.js +72 -4
- package/locales/ja.js +69 -4
- package/locales/pt.js +68 -4
- package/locales/ru.js +71 -4
- package/locales/zh-TW.js +74 -6
- package/locales/zh.js +74 -6
- package/package.json +3 -3
- package/web-shell/assets/{arc-xjArKHU2.js → arc-KuwiZ67W.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-BgrQDNYG.js → architectureDiagram-3BPJPVTR-Cppop6HB.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CXxWC-1_.js → blockDiagram-GPEHLZMM-DQ6HT72s.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-Dx1tLm3v.js → c4Diagram-AAUBKEIU-B8TX_Mh-.js} +1 -1
- package/web-shell/assets/channel-BZd6Ile0.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-CBxjogVR.js → chunk-2J33WTMH-B2WBUTp8.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-izb-rY5W.js → chunk-4BX2VUAB-DXUsWC6O.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-NzLyvSb8.js → chunk-55IACEB6-DtB-6cyk.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DVyKb0dl.js → chunk-727SXJPM-B-PhPyC3.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BtqL7NzB.js → chunk-AQP2D5EJ-DNaTFMSC.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-iNpdKIO0.js → chunk-FMBD7UC4-DZ345tFf.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-DI7cbFmX.js → chunk-ND2GUHAM-BR_EpgzJ.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-3Y_-xFYs.js → chunk-QZHKN3VN-BTU-0gDT.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-B7c-TqtK.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-B7c-TqtK.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A--raRatZn.js → cose-bilkent-S5V4N54A-BmsKBCNt.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-B8SU70mO.js → dagre-BM42HDAG-Ba8YWdDC.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-ewgoakXo.js → diagram-2AECGRRQ-CCt2SnI6.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-Bm_JLTnS.js → diagram-5GNKFQAL-BVTLXEU7.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-DEIUjUy9.js → diagram-KO2AKTUF-DpDAVCYV.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-C2Wmrpj-.js → diagram-LMA3HP47-8ljXg-TB.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-CtYe6bFx.js → diagram-OG6HWLK6-JAXfQSmd.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DfpHcWLV.js → erDiagram-TEJ5UH35-CUeakG6k.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-CAiUhio5.js → flowDiagram-I6XJVG4X-Cd4Wrdwv.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CYc7ezr4.js → ganttDiagram-6RSMTGT7-C0nMFvH_.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-70lbkcRS.js → gitGraphDiagram-PVQCEYII-uKk88n_L.js} +1 -1
- package/web-shell/assets/index-BXGtjHs5.js +1756 -0
- package/web-shell/assets/{index-Ww86nT9f.js → index-C1UWBJSX.js} +1 -1
- package/web-shell/assets/index-WxSvj2tI.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-C7e8DWPa.js → infoDiagram-5YYISTIA-GfPN17hR.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BYLr2op-.js → ishikawaDiagram-YF4QCWOH-CDbWTcGa.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-hEibAHKX.js → journeyDiagram-JHISSGLW-J8TvvVFz.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-F2rt8Uhp.js → kanban-definition-UN3LZRKU-Ds_ndLrs.js} +1 -1
- package/web-shell/assets/{linear-DPhyNezd.js → linear-DuL9O4i3.js} +1 -1
- package/web-shell/assets/{mermaid.core-ZUtnug0n.js → mermaid.core-DtK4PsQB.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DDWcMoi8.js → mindmap-definition-RKZ34NQL-DD0r7MS3.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-CTRKzw1_.js → pieDiagram-4H26LBE5-CxGPZ8Q-.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CAEwYG_z.js → quadrantDiagram-W4KKPZXB-Ds7Buxed.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CRjnH9D9.js → requirementDiagram-4Y6WPE33-DIx28ph5.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-LPQT_sOd.js → sankeyDiagram-5OEKKPKP-AxdAYcVX.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-Ht2Iqvb0.js → sequenceDiagram-3UESZ5HK-CojoXAZ5.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CIUdqOXu.js → stateDiagram-AJRCARHV-Dy1WN3mi.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BaTNMz02.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-BcilneZF.js → timeline-definition-PNZ67QCA-DeWe_43M.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BljwiiH1.js → vennDiagram-CIIHVFJN-BN8PVlFq.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-DeKjkYjq.js → wardley-L42UT6IY-CbjV_1hf.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-L3U1H7KG.js → wardleyDiagram-YWT4CUSO-D2mw84_p.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-IJnWsgMT.js → xychartDiagram-2RQKCTM6-er9CTQXi.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-4KP2F2TE.js +0 -82
- package/chunks/chunk-HGT6JR3U.js +0 -177
- package/chunks/nonInteractiveCli-ZJYEOO7U.js +0 -148
- package/web-shell/assets/channel-B1cyk94G.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BpBYZoRE.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BpBYZoRE.js +0 -1
- package/web-shell/assets/index-C1k3PDuU.css +0 -5
- package/web-shell/assets/index-DZLIXILO.js +0 -1750
- package/web-shell/assets/insert-DmRbh9Rv.svg +0 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BmqqQZ6w.js +0 -1
|
@@ -3,25 +3,33 @@
|
|
|
3
3
|
import {
|
|
4
4
|
isLoopbackBind
|
|
5
5
|
} from "./chunk-RXFQM6FQ.js";
|
|
6
|
+
import {
|
|
7
|
+
MAX_CHILD_HEAP_MB,
|
|
8
|
+
MIN_CHILD_HEAP_MB,
|
|
9
|
+
recommendedChildShareMb
|
|
10
|
+
} from "./chunk-HGCQ5SE7.js";
|
|
11
|
+
import {
|
|
12
|
+
require_mime_db
|
|
13
|
+
} from "./chunk-K6KS3LTN.js";
|
|
6
14
|
import {
|
|
7
15
|
require_lib
|
|
8
16
|
} from "./chunk-FC4KQFCS.js";
|
|
9
17
|
import {
|
|
10
18
|
CLIENT_MCP_OVER_WS_CONFIG_FLAG
|
|
11
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UKZEXS6K.js";
|
|
12
20
|
import {
|
|
13
21
|
MAX_WORKSPACE_PATH_LENGTH,
|
|
14
22
|
translateAndCheckAbsoluteWorkspacePath
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
require_mime_db
|
|
18
|
-
} from "./chunk-K6KS3LTN.js";
|
|
23
|
+
} from "./chunk-6PLDPT2C.js";
|
|
19
24
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./chunk-
|
|
25
|
+
require_content_type
|
|
26
|
+
} from "./chunk-GOFAQQZA.js";
|
|
22
27
|
import {
|
|
23
28
|
require_safer
|
|
24
29
|
} from "./chunk-XWRJCPHC.js";
|
|
30
|
+
import {
|
|
31
|
+
writeStderrLine
|
|
32
|
+
} from "./chunk-OWAK7LMW.js";
|
|
25
33
|
import {
|
|
26
34
|
require_src
|
|
27
35
|
} from "./chunk-DMTGGOSA.js";
|
|
@@ -9296,113 +9304,142 @@ var require_type_is = __commonJS({
|
|
|
9296
9304
|
}
|
|
9297
9305
|
});
|
|
9298
9306
|
|
|
9299
|
-
// node_modules/content-type/index.js
|
|
9300
|
-
var
|
|
9301
|
-
"node_modules/content-type/index.js"(exports) {
|
|
9307
|
+
// node_modules/body-parser/node_modules/content-type/dist/index.js
|
|
9308
|
+
var require_dist2 = __commonJS({
|
|
9309
|
+
"node_modules/body-parser/node_modules/content-type/dist/index.js"(exports) {
|
|
9302
9310
|
"use strict";
|
|
9303
9311
|
init_esbuild_shims();
|
|
9304
|
-
|
|
9305
|
-
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;
|
|
9306
|
-
var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
9307
|
-
var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g;
|
|
9308
|
-
var QUOTE_REGEXP = /([\\"])/g;
|
|
9309
|
-
var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
9312
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9310
9313
|
exports.format = format;
|
|
9311
9314
|
exports.parse = parse;
|
|
9315
|
+
var TEXT_REGEXP = /^[\u0009\u0020-\u007e\u0080-\u00ff]*$/;
|
|
9316
|
+
var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
9317
|
+
var QUOTE_REGEXP = /[\\"]/g;
|
|
9318
|
+
var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
9319
|
+
var NullObject = /* @__PURE__ */ (() => {
|
|
9320
|
+
const C = /* @__PURE__ */ __name(function() {
|
|
9321
|
+
}, "C");
|
|
9322
|
+
C.prototype = /* @__PURE__ */ Object.create(null);
|
|
9323
|
+
return C;
|
|
9324
|
+
})();
|
|
9312
9325
|
function format(obj) {
|
|
9313
|
-
|
|
9314
|
-
throw new TypeError("argument obj is required");
|
|
9315
|
-
}
|
|
9316
|
-
var parameters = obj.parameters;
|
|
9317
|
-
var type = obj.type;
|
|
9326
|
+
const { type, parameters } = obj;
|
|
9318
9327
|
if (!type || !TYPE_REGEXP.test(type)) {
|
|
9319
|
-
throw new TypeError(
|
|
9328
|
+
throw new TypeError(`Invalid type: ${type}`);
|
|
9320
9329
|
}
|
|
9321
|
-
|
|
9322
|
-
if (parameters
|
|
9323
|
-
|
|
9324
|
-
var params = Object.keys(parameters).sort();
|
|
9325
|
-
for (var i = 0; i < params.length; i++) {
|
|
9326
|
-
param = params[i];
|
|
9330
|
+
let result = type;
|
|
9331
|
+
if (parameters) {
|
|
9332
|
+
for (const param of Object.keys(parameters)) {
|
|
9327
9333
|
if (!TOKEN_REGEXP.test(param)) {
|
|
9328
|
-
throw new TypeError(
|
|
9334
|
+
throw new TypeError(`Invalid parameter name: ${param}`);
|
|
9329
9335
|
}
|
|
9330
|
-
|
|
9336
|
+
result += `; ${param}=${qstring(parameters[param])}`;
|
|
9331
9337
|
}
|
|
9332
9338
|
}
|
|
9333
|
-
return
|
|
9339
|
+
return result;
|
|
9334
9340
|
}
|
|
9335
9341
|
__name(format, "format");
|
|
9336
|
-
function parse(
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
if (
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9342
|
+
function parse(header, options) {
|
|
9343
|
+
const len = header.length;
|
|
9344
|
+
let index = skipOWS(header, 0, len);
|
|
9345
|
+
const valueStart = index;
|
|
9346
|
+
index = skipValue(header, index, len);
|
|
9347
|
+
const valueEnd = trailingOWS(header, valueStart, index);
|
|
9348
|
+
const type = header.slice(valueStart, valueEnd).toLowerCase();
|
|
9349
|
+
const parameters = options?.parameters === false ? new NullObject() : parseParameters(header, index, len);
|
|
9350
|
+
return { type, parameters };
|
|
9351
|
+
}
|
|
9352
|
+
__name(parse, "parse");
|
|
9353
|
+
var SP = 32;
|
|
9354
|
+
var HTAB = 9;
|
|
9355
|
+
var SEMI = 59;
|
|
9356
|
+
var EQ = 61;
|
|
9357
|
+
var DQUOTE = 34;
|
|
9358
|
+
var BSLASH = 92;
|
|
9359
|
+
function parseParameters(header, index, len) {
|
|
9360
|
+
const parameters = new NullObject();
|
|
9361
|
+
parameter: while (index < len) {
|
|
9362
|
+
index = skipOWS(header, index + 1, len);
|
|
9363
|
+
const keyStart = index;
|
|
9364
|
+
while (index < len) {
|
|
9365
|
+
const code = header.charCodeAt(index);
|
|
9366
|
+
if (code === SEMI)
|
|
9367
|
+
continue parameter;
|
|
9368
|
+
if (code === EQ) {
|
|
9369
|
+
const keyEnd = trailingOWS(header, keyStart, index);
|
|
9370
|
+
const key = header.slice(keyStart, keyEnd).toLowerCase();
|
|
9371
|
+
index = skipOWS(header, index + 1, len);
|
|
9372
|
+
if (index < len && header.charCodeAt(index) === DQUOTE) {
|
|
9373
|
+
index++;
|
|
9374
|
+
let value = "";
|
|
9375
|
+
while (index < len) {
|
|
9376
|
+
const code2 = header.charCodeAt(index++);
|
|
9377
|
+
if (code2 === DQUOTE) {
|
|
9378
|
+
index = skipValue(header, index, len);
|
|
9379
|
+
if (parameters[key] === void 0)
|
|
9380
|
+
parameters[key] = value;
|
|
9381
|
+
break;
|
|
9382
|
+
}
|
|
9383
|
+
if (code2 === BSLASH && index < len) {
|
|
9384
|
+
value += header[index++];
|
|
9385
|
+
continue;
|
|
9386
|
+
}
|
|
9387
|
+
value += String.fromCharCode(code2);
|
|
9388
|
+
}
|
|
9389
|
+
continue parameter;
|
|
9390
|
+
}
|
|
9391
|
+
const valueStart = index;
|
|
9392
|
+
index = skipValue(header, index, len);
|
|
9393
|
+
if (parameters[key] === void 0) {
|
|
9394
|
+
const valueEnd = trailingOWS(header, valueStart, index);
|
|
9395
|
+
parameters[key] = header.slice(valueStart, valueEnd);
|
|
9366
9396
|
}
|
|
9397
|
+
continue parameter;
|
|
9367
9398
|
}
|
|
9368
|
-
|
|
9369
|
-
}
|
|
9370
|
-
if (index !== header.length) {
|
|
9371
|
-
throw new TypeError("invalid parameter format");
|
|
9399
|
+
index++;
|
|
9372
9400
|
}
|
|
9373
9401
|
}
|
|
9374
|
-
return
|
|
9402
|
+
return parameters;
|
|
9375
9403
|
}
|
|
9376
|
-
__name(
|
|
9377
|
-
function
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
}
|
|
9384
|
-
if (typeof header !== "string") {
|
|
9385
|
-
throw new TypeError("content-type header is missing from object");
|
|
9404
|
+
__name(parseParameters, "parseParameters");
|
|
9405
|
+
function skipValue(str, index, len) {
|
|
9406
|
+
while (index < len) {
|
|
9407
|
+
const char = str.charCodeAt(index);
|
|
9408
|
+
if (char === SEMI)
|
|
9409
|
+
break;
|
|
9410
|
+
index++;
|
|
9386
9411
|
}
|
|
9387
|
-
return
|
|
9412
|
+
return index;
|
|
9388
9413
|
}
|
|
9389
|
-
__name(
|
|
9390
|
-
function
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9414
|
+
__name(skipValue, "skipValue");
|
|
9415
|
+
function skipOWS(header, index, len) {
|
|
9416
|
+
while (index < len) {
|
|
9417
|
+
const char = header.charCodeAt(index);
|
|
9418
|
+
if (char !== SP && char !== HTAB)
|
|
9419
|
+
break;
|
|
9420
|
+
index++;
|
|
9394
9421
|
}
|
|
9395
|
-
|
|
9396
|
-
|
|
9422
|
+
return index;
|
|
9423
|
+
}
|
|
9424
|
+
__name(skipOWS, "skipOWS");
|
|
9425
|
+
function trailingOWS(header, start, end) {
|
|
9426
|
+
while (end > start) {
|
|
9427
|
+
const char = header.charCodeAt(end - 1);
|
|
9428
|
+
if (char !== SP && char !== HTAB)
|
|
9429
|
+
break;
|
|
9430
|
+
end--;
|
|
9397
9431
|
}
|
|
9398
|
-
return
|
|
9432
|
+
return end;
|
|
9399
9433
|
}
|
|
9400
|
-
__name(
|
|
9401
|
-
function
|
|
9402
|
-
|
|
9403
|
-
|
|
9434
|
+
__name(trailingOWS, "trailingOWS");
|
|
9435
|
+
function qstring(str) {
|
|
9436
|
+
if (TOKEN_REGEXP.test(str))
|
|
9437
|
+
return str;
|
|
9438
|
+
if (TEXT_REGEXP.test(str))
|
|
9439
|
+
return `"${str.replace(QUOTE_REGEXP, "\\$&")}"`;
|
|
9440
|
+
throw new TypeError(`Invalid parameter value: ${str}`);
|
|
9404
9441
|
}
|
|
9405
|
-
__name(
|
|
9442
|
+
__name(qstring, "qstring");
|
|
9406
9443
|
}
|
|
9407
9444
|
});
|
|
9408
9445
|
|
|
@@ -9412,7 +9449,7 @@ var require_utils = __commonJS({
|
|
|
9412
9449
|
"use strict";
|
|
9413
9450
|
init_esbuild_shims();
|
|
9414
9451
|
var bytes = require_bytes();
|
|
9415
|
-
var contentType =
|
|
9452
|
+
var contentType = require_dist2();
|
|
9416
9453
|
var typeis = require_type_is();
|
|
9417
9454
|
module.exports = {
|
|
9418
9455
|
getCharset,
|
|
@@ -9420,11 +9457,9 @@ var require_utils = __commonJS({
|
|
|
9420
9457
|
passthrough
|
|
9421
9458
|
};
|
|
9422
9459
|
function getCharset(req) {
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
return void 0;
|
|
9427
|
-
}
|
|
9460
|
+
const header = req.headers["content-type"];
|
|
9461
|
+
if (!header) return void 0;
|
|
9462
|
+
return contentType.parse(header).parameters.charset?.toLowerCase();
|
|
9428
9463
|
}
|
|
9429
9464
|
__name(getCharset, "getCharset");
|
|
9430
9465
|
function typeChecker(type) {
|
|
@@ -9437,15 +9472,18 @@ var require_utils = __commonJS({
|
|
|
9437
9472
|
if (!defaultType) {
|
|
9438
9473
|
throw new TypeError("defaultType must be provided");
|
|
9439
9474
|
}
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9475
|
+
const inflate = options?.inflate !== false;
|
|
9476
|
+
const limit = typeof options?.limit === "undefined" || options?.limit === null ? 102400 : bytes.parse(options.limit);
|
|
9477
|
+
const type = options?.type || defaultType;
|
|
9478
|
+
const verify = options?.verify || false;
|
|
9479
|
+
const defaultCharset = options?.defaultCharset || "utf-8";
|
|
9480
|
+
if (limit === null) {
|
|
9481
|
+
throw new TypeError(`option limit "${String(options.limit)}" is invalid`);
|
|
9482
|
+
}
|
|
9445
9483
|
if (verify !== false && typeof verify !== "function") {
|
|
9446
9484
|
throw new TypeError("option verify must be function");
|
|
9447
9485
|
}
|
|
9448
|
-
|
|
9486
|
+
const shouldParse = typeof type !== "function" ? typeChecker(type) : type;
|
|
9449
9487
|
return {
|
|
9450
9488
|
inflate,
|
|
9451
9489
|
limit,
|
|
@@ -9495,7 +9533,7 @@ var require_read = __commonJS({
|
|
|
9495
9533
|
next();
|
|
9496
9534
|
return;
|
|
9497
9535
|
}
|
|
9498
|
-
|
|
9536
|
+
let encoding = null;
|
|
9499
9537
|
if (options?.skipCharset !== true) {
|
|
9500
9538
|
encoding = getCharset(req) || options.defaultCharset;
|
|
9501
9539
|
if (!!options?.isValidCharset && !options.isValidCharset(encoding)) {
|
|
@@ -9507,10 +9545,10 @@ var require_read = __commonJS({
|
|
|
9507
9545
|
return;
|
|
9508
9546
|
}
|
|
9509
9547
|
}
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9548
|
+
let length;
|
|
9549
|
+
const opts = options;
|
|
9550
|
+
let stream;
|
|
9551
|
+
const verify = opts.verify;
|
|
9514
9552
|
try {
|
|
9515
9553
|
stream = contentstream(req, debug, opts.inflate);
|
|
9516
9554
|
length = stream.length;
|
|
@@ -9529,7 +9567,7 @@ var require_read = __commonJS({
|
|
|
9529
9567
|
debug("read body");
|
|
9530
9568
|
getBody(stream, opts, function(error, body) {
|
|
9531
9569
|
if (error) {
|
|
9532
|
-
|
|
9570
|
+
let _error;
|
|
9533
9571
|
if (error.type === "encoding.unsupported") {
|
|
9534
9572
|
_error = createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
|
|
9535
9573
|
charset: encoding.toLowerCase(),
|
|
@@ -9559,7 +9597,7 @@ var require_read = __commonJS({
|
|
|
9559
9597
|
return;
|
|
9560
9598
|
}
|
|
9561
9599
|
}
|
|
9562
|
-
|
|
9600
|
+
let str = body;
|
|
9563
9601
|
try {
|
|
9564
9602
|
debug("parse body");
|
|
9565
9603
|
str = typeof body !== "string" && encoding !== null ? iconv.decode(body, encoding) : body;
|
|
@@ -9576,8 +9614,8 @@ var require_read = __commonJS({
|
|
|
9576
9614
|
}
|
|
9577
9615
|
__name(read, "read");
|
|
9578
9616
|
function contentstream(req, debug, inflate) {
|
|
9579
|
-
|
|
9580
|
-
|
|
9617
|
+
const encoding = (req.headers["content-encoding"] || "identity").toLowerCase();
|
|
9618
|
+
const length = req.headers["content-length"];
|
|
9581
9619
|
debug('content-encoding "%s"', encoding);
|
|
9582
9620
|
if (inflate === false && encoding !== "identity") {
|
|
9583
9621
|
throw createError(415, "content encoding unsupported", {
|
|
@@ -9589,7 +9627,7 @@ var require_read = __commonJS({
|
|
|
9589
9627
|
req.length = length;
|
|
9590
9628
|
return req;
|
|
9591
9629
|
}
|
|
9592
|
-
|
|
9630
|
+
const stream = createDecompressionStream(encoding, debug);
|
|
9593
9631
|
req.pipe(stream);
|
|
9594
9632
|
return stream;
|
|
9595
9633
|
}
|
|
@@ -9639,18 +9677,44 @@ var require_json = __commonJS({
|
|
|
9639
9677
|
var JSON_SYNTAX_REGEXP = /#+/g;
|
|
9640
9678
|
function json(options) {
|
|
9641
9679
|
const normalizedOptions = normalizeOptions(options, "application/json");
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9680
|
+
const parse = createJsonParser(options);
|
|
9681
|
+
const readOptions = {
|
|
9682
|
+
...normalizedOptions,
|
|
9683
|
+
// assert charset per RFC 7159 sec 8.1
|
|
9684
|
+
isValidCharset: /* @__PURE__ */ __name((charset) => charset.slice(0, 4) === "utf-", "isValidCharset")
|
|
9685
|
+
};
|
|
9686
|
+
return /* @__PURE__ */ __name(function jsonParser(req, res, next) {
|
|
9687
|
+
read(req, res, next, parse, debug, readOptions);
|
|
9688
|
+
}, "jsonParser");
|
|
9689
|
+
}
|
|
9690
|
+
__name(json, "json");
|
|
9691
|
+
function createJsonParser(options) {
|
|
9692
|
+
const reviver = options?.reviver;
|
|
9693
|
+
const strict = options?.strict !== false;
|
|
9694
|
+
if (strict) {
|
|
9695
|
+
return /* @__PURE__ */ __name(function parse(body) {
|
|
9696
|
+
if (body.length === 0) {
|
|
9697
|
+
return {};
|
|
9698
|
+
}
|
|
9699
|
+
const first = firstchar(body);
|
|
9650
9700
|
if (first !== "{" && first !== "[") {
|
|
9651
9701
|
debug("strict violation");
|
|
9652
9702
|
throw createStrictSyntaxError(body, first);
|
|
9653
9703
|
}
|
|
9704
|
+
try {
|
|
9705
|
+
debug("parse json");
|
|
9706
|
+
return JSON.parse(body, reviver);
|
|
9707
|
+
} catch (e) {
|
|
9708
|
+
throw normalizeJsonSyntaxError(e, {
|
|
9709
|
+
message: e.message,
|
|
9710
|
+
stack: e.stack
|
|
9711
|
+
});
|
|
9712
|
+
}
|
|
9713
|
+
}, "parse");
|
|
9714
|
+
}
|
|
9715
|
+
return /* @__PURE__ */ __name(function parse(body) {
|
|
9716
|
+
if (body.length === 0) {
|
|
9717
|
+
return {};
|
|
9654
9718
|
}
|
|
9655
9719
|
try {
|
|
9656
9720
|
debug("parse json");
|
|
@@ -9661,21 +9725,12 @@ var require_json = __commonJS({
|
|
|
9661
9725
|
stack: e.stack
|
|
9662
9726
|
});
|
|
9663
9727
|
}
|
|
9664
|
-
}
|
|
9665
|
-
__name(parse, "parse");
|
|
9666
|
-
const readOptions = {
|
|
9667
|
-
...normalizedOptions,
|
|
9668
|
-
// assert charset per RFC 7159 sec 8.1
|
|
9669
|
-
isValidCharset: /* @__PURE__ */ __name((charset) => charset.slice(0, 4) === "utf-", "isValidCharset")
|
|
9670
|
-
};
|
|
9671
|
-
return /* @__PURE__ */ __name(function jsonParser(req, res, next) {
|
|
9672
|
-
read(req, res, next, parse, debug, readOptions);
|
|
9673
|
-
}, "jsonParser");
|
|
9728
|
+
}, "parse");
|
|
9674
9729
|
}
|
|
9675
|
-
__name(
|
|
9730
|
+
__name(createJsonParser, "createJsonParser");
|
|
9676
9731
|
function createStrictSyntaxError(str, char) {
|
|
9677
|
-
|
|
9678
|
-
|
|
9732
|
+
const index = str.indexOf(char);
|
|
9733
|
+
let partial = "";
|
|
9679
9734
|
if (index !== -1) {
|
|
9680
9735
|
partial = str.substring(0, index) + JSON_SYNTAX_CHAR.repeat(str.length - index);
|
|
9681
9736
|
}
|
|
@@ -9693,14 +9748,14 @@ var require_json = __commonJS({
|
|
|
9693
9748
|
}
|
|
9694
9749
|
__name(createStrictSyntaxError, "createStrictSyntaxError");
|
|
9695
9750
|
function firstchar(str) {
|
|
9696
|
-
|
|
9751
|
+
const match = FIRST_CHAR_REGEXP.exec(str);
|
|
9697
9752
|
return match ? match[1] : void 0;
|
|
9698
9753
|
}
|
|
9699
9754
|
__name(firstchar, "firstchar");
|
|
9700
9755
|
function normalizeJsonSyntaxError(error, obj) {
|
|
9701
|
-
|
|
9702
|
-
for (
|
|
9703
|
-
|
|
9756
|
+
const keys = Object.getOwnPropertyNames(error);
|
|
9757
|
+
for (let i = 0; i < keys.length; i++) {
|
|
9758
|
+
const key = keys[i];
|
|
9704
9759
|
if (key !== "stack" && key !== "message") {
|
|
9705
9760
|
delete error[key];
|
|
9706
9761
|
}
|
|
@@ -9772,11 +9827,7 @@ var require_urlencoded = __commonJS({
|
|
|
9772
9827
|
if (normalizedOptions.defaultCharset !== "utf-8" && normalizedOptions.defaultCharset !== "iso-8859-1") {
|
|
9773
9828
|
throw new TypeError("option defaultCharset must be either utf-8 or iso-8859-1");
|
|
9774
9829
|
}
|
|
9775
|
-
|
|
9776
|
-
function parse(body, encoding) {
|
|
9777
|
-
return body.length ? queryparse(body, encoding) : {};
|
|
9778
|
-
}
|
|
9779
|
-
__name(parse, "parse");
|
|
9830
|
+
const parse = createQueryParser(options);
|
|
9780
9831
|
const readOptions = {
|
|
9781
9832
|
...normalizedOptions,
|
|
9782
9833
|
// assert charset
|
|
@@ -9788,11 +9839,11 @@ var require_urlencoded = __commonJS({
|
|
|
9788
9839
|
}
|
|
9789
9840
|
__name(urlencoded, "urlencoded");
|
|
9790
9841
|
function createQueryParser(options) {
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9795
|
-
|
|
9842
|
+
const extended = Boolean(options?.extended);
|
|
9843
|
+
let parameterLimit = options?.parameterLimit !== void 0 ? options?.parameterLimit : 1e3;
|
|
9844
|
+
const charsetSentinel = options?.charsetSentinel;
|
|
9845
|
+
const interpretNumericEntities = options?.interpretNumericEntities;
|
|
9846
|
+
const depth = extended ? options?.depth !== void 0 ? options?.depth : 32 : 0;
|
|
9796
9847
|
if (isNaN(parameterLimit) || parameterLimit < 1) {
|
|
9797
9848
|
throw new TypeError("option parameterLimit must be a positive number");
|
|
9798
9849
|
}
|
|
@@ -9802,15 +9853,16 @@ var require_urlencoded = __commonJS({
|
|
|
9802
9853
|
if (isFinite(parameterLimit)) {
|
|
9803
9854
|
parameterLimit = parameterLimit | 0;
|
|
9804
9855
|
}
|
|
9805
|
-
return /* @__PURE__ */ __name(function
|
|
9806
|
-
|
|
9856
|
+
return /* @__PURE__ */ __name(function parse(body, encoding) {
|
|
9857
|
+
if (!body.length) return {};
|
|
9858
|
+
const paramCount = parameterCount(body, parameterLimit);
|
|
9807
9859
|
if (paramCount === void 0) {
|
|
9808
9860
|
debug("too many parameters");
|
|
9809
9861
|
throw createError(413, "too many parameters", {
|
|
9810
9862
|
type: "parameters.too.many"
|
|
9811
9863
|
});
|
|
9812
9864
|
}
|
|
9813
|
-
|
|
9865
|
+
const arrayLimit = extended ? Math.max(100, paramCount) : paramCount;
|
|
9814
9866
|
debug("parse " + (extended ? "extended " : "") + "urlencoding");
|
|
9815
9867
|
try {
|
|
9816
9868
|
return qs.parse(body, {
|
|
@@ -9832,7 +9884,7 @@ var require_urlencoded = __commonJS({
|
|
|
9832
9884
|
throw err;
|
|
9833
9885
|
}
|
|
9834
9886
|
}
|
|
9835
|
-
}, "
|
|
9887
|
+
}, "parse");
|
|
9836
9888
|
}
|
|
9837
9889
|
__name(createQueryParser, "createQueryParser");
|
|
9838
9890
|
function parameterCount(body, limit) {
|
|
@@ -9855,26 +9907,10 @@ var require_body_parser = __commonJS({
|
|
|
9855
9907
|
"use strict";
|
|
9856
9908
|
init_esbuild_shims();
|
|
9857
9909
|
exports = module.exports = bodyParser;
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
});
|
|
9863
|
-
Object.defineProperty(exports, "raw", {
|
|
9864
|
-
configurable: true,
|
|
9865
|
-
enumerable: true,
|
|
9866
|
-
get: /* @__PURE__ */ __name(() => require_raw(), "get")
|
|
9867
|
-
});
|
|
9868
|
-
Object.defineProperty(exports, "text", {
|
|
9869
|
-
configurable: true,
|
|
9870
|
-
enumerable: true,
|
|
9871
|
-
get: /* @__PURE__ */ __name(() => require_text(), "get")
|
|
9872
|
-
});
|
|
9873
|
-
Object.defineProperty(exports, "urlencoded", {
|
|
9874
|
-
configurable: true,
|
|
9875
|
-
enumerable: true,
|
|
9876
|
-
get: /* @__PURE__ */ __name(() => require_urlencoded(), "get")
|
|
9877
|
-
});
|
|
9910
|
+
exports.json = require_json();
|
|
9911
|
+
exports.raw = require_raw();
|
|
9912
|
+
exports.text = require_text();
|
|
9913
|
+
exports.urlencoded = require_urlencoded();
|
|
9878
9914
|
function bodyParser() {
|
|
9879
9915
|
throw new Error("The bodyParser() generic has been split into individual middleware to use instead.");
|
|
9880
9916
|
}
|
|
@@ -11414,7 +11450,7 @@ var require_is_promise = __commonJS({
|
|
|
11414
11450
|
});
|
|
11415
11451
|
|
|
11416
11452
|
// node_modules/path-to-regexp/dist/index.js
|
|
11417
|
-
var
|
|
11453
|
+
var require_dist3 = __commonJS({
|
|
11418
11454
|
"node_modules/path-to-regexp/dist/index.js"(exports) {
|
|
11419
11455
|
"use strict";
|
|
11420
11456
|
init_esbuild_shims();
|
|
@@ -11814,7 +11850,7 @@ var require_layer = __commonJS({
|
|
|
11814
11850
|
"use strict";
|
|
11815
11851
|
init_esbuild_shims();
|
|
11816
11852
|
var isPromise = require_is_promise();
|
|
11817
|
-
var pathRegexp =
|
|
11853
|
+
var pathRegexp = require_dist3();
|
|
11818
11854
|
var debug = require_src()("router:layer");
|
|
11819
11855
|
var deprecate = require_depd()("router");
|
|
11820
11856
|
var TRAILING_SLASH_REGEXP = /\/+$/;
|
|
@@ -16598,6 +16634,7 @@ var SERVE_CAPABILITY_REGISTRY = {
|
|
|
16598
16634
|
session_source_metadata: { since: "v1" },
|
|
16599
16635
|
session_side_task: { since: "v1" },
|
|
16600
16636
|
session_prompt: { since: "v1" },
|
|
16637
|
+
session_mid_turn_message_mutation: { since: "v1" },
|
|
16601
16638
|
session_cancel: { since: "v1" },
|
|
16602
16639
|
session_events: { since: "v1" },
|
|
16603
16640
|
session_artifacts: { since: "v1" },
|
|
@@ -16891,6 +16928,11 @@ var SERVE_CAPABILITY_REGISTRY = {
|
|
|
16891
16928
|
// to discover plural modalities because legacy Voice tags describe only
|
|
16892
16929
|
// the primary runtime and may be absent for a secondary-only setup.
|
|
16893
16930
|
workspace_qualified_voice: { since: "v1" },
|
|
16931
|
+
// Workspace-qualified managed-memory routes
|
|
16932
|
+
// (`/workspaces/:workspace/memory/{remember,forget,dream}`). Each
|
|
16933
|
+
// registered workspace gets its own task lane; the primary lane is the
|
|
16934
|
+
// same instance as the singular `/workspace/memory` surface.
|
|
16935
|
+
workspace_qualified_memory: { since: "v1" },
|
|
16894
16936
|
// Global extension catalog/mutations plus workspace-qualified activation
|
|
16895
16937
|
// projections. This is additive to the legacy primary-workspace
|
|
16896
16938
|
// `workspace_extensions` contract.
|
|
@@ -17035,6 +17077,10 @@ var CONDITIONAL_SERVE_FEATURES = /* @__PURE__ */ new Map([
|
|
|
17035
17077
|
// but only becomes useful once the daemon has a secondary runtime.
|
|
17036
17078
|
(toggles) => toggles.acpHttpEnabled === true && toggles.multiWorkspaceSessionsEnabled === true
|
|
17037
17079
|
],
|
|
17080
|
+
[
|
|
17081
|
+
"workspace_qualified_memory",
|
|
17082
|
+
(toggles) => toggles.acpHttpEnabled === true && toggles.multiWorkspaceSessionsEnabled === true
|
|
17083
|
+
],
|
|
17038
17084
|
["client_mcp_over_ws", (toggles) => toggles.clientMcpOverWsEnabled === true],
|
|
17039
17085
|
["cdp_tunnel_over_ws", (toggles) => toggles.cdpTunnelOverWsEnabled === true],
|
|
17040
17086
|
[
|
|
@@ -17635,6 +17681,26 @@ init_esbuild_shims();
|
|
|
17635
17681
|
var DEFAULT_LISTENER_MAX_CONNECTIONS = 256;
|
|
17636
17682
|
var SECTION_TIMEOUT_MS = 1e3;
|
|
17637
17683
|
var CAPACITY_WARNING_RATIO = 0.8;
|
|
17684
|
+
function toDaemonStatusMemoryLimits(budget) {
|
|
17685
|
+
if (!budget) return null;
|
|
17686
|
+
return {
|
|
17687
|
+
enforced: false,
|
|
17688
|
+
configuredBudgetMb: budget.configuredBudgetMb,
|
|
17689
|
+
effectiveBudgetMb: budget.effectiveBudgetMb,
|
|
17690
|
+
budgetSource: budget.budgetSource,
|
|
17691
|
+
availableMemoryMb: budget.availableMemoryMb,
|
|
17692
|
+
availableMemorySource: budget.availableMemorySource,
|
|
17693
|
+
insufficientMemory: budget.insufficientMemory,
|
|
17694
|
+
modeled: {
|
|
17695
|
+
rootReserveMb: budget.rootReserveMb,
|
|
17696
|
+
childPoolMb: budget.childPoolMb,
|
|
17697
|
+
minChildHeapMb: MIN_CHILD_HEAP_MB,
|
|
17698
|
+
maxChildHeapMb: MAX_CHILD_HEAP_MB,
|
|
17699
|
+
legacyChildCeilingMb: budget.legacyChildCeilingMb
|
|
17700
|
+
}
|
|
17701
|
+
};
|
|
17702
|
+
}
|
|
17703
|
+
__name(toDaemonStatusMemoryLimits, "toDaemonStatusMemoryLimits");
|
|
17638
17704
|
var SectionTimeoutError = class extends Error {
|
|
17639
17705
|
constructor(section, timeoutMs) {
|
|
17640
17706
|
super(`${section} status timed out after ${timeoutMs}ms`);
|
|
@@ -17681,6 +17747,22 @@ async function buildDaemonStatusResponse(detail, input) {
|
|
|
17681
17747
|
const aggregatedChannelLive = workspaceSnapshots.some(
|
|
17682
17748
|
(item) => item.snapshot.channelLive
|
|
17683
17749
|
);
|
|
17750
|
+
const memoryBudget = input.opts.daemonMemoryBudget;
|
|
17751
|
+
let runtimeMemory;
|
|
17752
|
+
if (memoryBudget) {
|
|
17753
|
+
const managedRuntimes = input.workspaceRegistry?.listManaged();
|
|
17754
|
+
const activeAcpChildCount = managedRuntimes ? managedRuntimes.filter((runtime) => runtime.bridge.isChannelLive()).length : workspaceSnapshots.filter((item) => item.snapshot.channelLive).length;
|
|
17755
|
+
const registeredWorkspaceCount = input.workspaceRegistry ? input.workspaceRegistry.listEntries().length : workspaceSnapshots.length;
|
|
17756
|
+
runtimeMemory = {
|
|
17757
|
+
registeredWorkspaces: registeredWorkspaceCount,
|
|
17758
|
+
activeAcpChildren: activeAcpChildCount,
|
|
17759
|
+
childRssCoverage: "primary_only",
|
|
17760
|
+
modeled: {
|
|
17761
|
+
recommendedShareAtRegisteredMb: registeredWorkspaceCount > 0 ? recommendedChildShareMb(memoryBudget, registeredWorkspaceCount) : null,
|
|
17762
|
+
recommendedShareAtActiveMb: activeAcpChildCount > 0 ? recommendedChildShareMb(memoryBudget, activeAcpChildCount) : null
|
|
17763
|
+
}
|
|
17764
|
+
};
|
|
17765
|
+
}
|
|
17684
17766
|
const aggregatedLastActivity = workspaceSnapshots.reduce(
|
|
17685
17767
|
(latest, item) => item.lastActivity !== null && (latest === null || item.lastActivity > latest) ? item.lastActivity : latest,
|
|
17686
17768
|
null
|
|
@@ -17790,7 +17872,8 @@ async function buildDaemonStatusResponse(detail, input) {
|
|
|
17790
17872
|
writerIdleTimeoutMs: positiveFiniteOrNull(input.opts.writerIdleTimeoutMs),
|
|
17791
17873
|
channelIdleTimeoutMs: bridgeSnapshot.limits.channelIdleTimeoutMs,
|
|
17792
17874
|
sessionIdleTimeoutMs: bridgeSnapshot.limits.sessionIdleTimeoutMs,
|
|
17793
|
-
acpConnectionCap: acpSnapshot?.connectionCap ?? null
|
|
17875
|
+
acpConnectionCap: acpSnapshot?.connectionCap ?? null,
|
|
17876
|
+
memory: toDaemonStatusMemoryLimits(memoryBudget)
|
|
17794
17877
|
},
|
|
17795
17878
|
...workspaceRuntimes && workspaceRuntimes.length > 1 ? {
|
|
17796
17879
|
workspaces: workspaceRuntimes.map((runtime) => ({
|
|
@@ -17845,6 +17928,7 @@ async function buildDaemonStatusResponse(detail, input) {
|
|
|
17845
17928
|
lastActivityAt: aggregatedLastActivity !== null ? new Date(aggregatedLastActivity).toISOString() : null,
|
|
17846
17929
|
idleSinceMs: aggregatedLastActivity !== null ? Date.now() - aggregatedLastActivity : null
|
|
17847
17930
|
},
|
|
17931
|
+
...runtimeMemory ? { memory: runtimeMemory } : {},
|
|
17848
17932
|
process: process.memoryUsage()
|
|
17849
17933
|
},
|
|
17850
17934
|
...full ? { full } : {}
|
|
@@ -18652,6 +18736,7 @@ export {
|
|
|
18652
18736
|
createRateLimiter,
|
|
18653
18737
|
setRateLimiter,
|
|
18654
18738
|
getRateLimiter,
|
|
18739
|
+
toDaemonStatusMemoryLimits,
|
|
18655
18740
|
parseDaemonStatusDetail,
|
|
18656
18741
|
buildDaemonStatusResponse,
|
|
18657
18742
|
allowOriginMode,
|
|
@@ -18748,7 +18833,7 @@ on-finished/index.js:
|
|
|
18748
18833
|
*)
|
|
18749
18834
|
|
|
18750
18835
|
content-type/dist/index.js:
|
|
18751
|
-
content-type/index.js:
|
|
18836
|
+
content-type/dist/index.js:
|
|
18752
18837
|
(*!
|
|
18753
18838
|
* content-type
|
|
18754
18839
|
* Copyright(c) 2015 Douglas Christopher Wilson
|