@qwen-code/qwen-code 0.19.6 → 0.19.7
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/model-providers.md +5 -1
- package/bundled/qc-helper/docs/configuration/settings.md +33 -1
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +37 -31
- package/bundled/qc-helper/docs/features/channels/wecom.md +111 -0
- package/bundled/qc-helper/docs/features/code-review.md +16 -6
- package/bundled/qc-helper/docs/features/commands.md +1 -1
- package/bundled/qc-helper/docs/features/hooks.md +6 -0
- package/bundled/qc-helper/docs/features/skills.md +5 -3
- package/bundled/qc-helper/docs/integration-github-action.md +1 -1
- package/bundled/review/DESIGN.md +50 -18
- package/bundled/review/SKILL.md +102 -12
- package/chunks/{MaxSizedBox-SK7CUWZQ.js → MaxSizedBox-XY5LIO5O.js} +31 -29
- package/chunks/{StandaloneSessionPicker-G44HGSAP.js → StandaloneSessionPicker-APISIRJZ.js} +44 -41
- package/chunks/{acpAgent-PKCTYWJV.js → acpAgent-MMOSC2YA.js} +769 -366
- package/chunks/{agent-IYMHUXWB.js → agent-TKIBLLQT.js} +24 -24
- package/chunks/{agent-headless-L2DAW6I5.js → agent-headless-VLX4C7KX.js} +24 -24
- package/chunks/{anthropicContentGenerator-H5ZOEENQ.js → anthropicContentGenerator-AKYPSZIV.js} +7 -7
- package/chunks/{artifact-tool-SLYPWG3C.js → artifact-tool-D233YJFH.js} +27 -8
- package/chunks/{askUserQuestion-OKPTECON.js → askUserQuestion-MKL5ZTMC.js} +2 -2
- package/chunks/{bridge-DF3IJQ5V.js → bridge-BCU73DZO.js} +34 -32
- package/chunks/{channel-worker-supervisor-JUYQ5Z4R.js → channel-worker-supervisor-CRCVYQIE.js} +1 -1
- package/chunks/{chunk-AVQDCKNF.js → chunk-22MNNNXE.js} +4 -0
- package/chunks/{chunk-OAYOHSGP.js → chunk-24XYI5EI.js} +4 -4
- package/chunks/{chunk-6BEOH4KK.js → chunk-2NPS2UDH.js} +767 -122
- package/chunks/chunk-332PWN27.js +19 -0
- package/chunks/{chunk-CLQPBI4H.js → chunk-3B26UVCX.js} +132 -26
- package/chunks/{chunk-G7OQ3RFJ.js → chunk-42XGFRJS.js} +3 -3
- package/chunks/{chunk-SL2P3JUA.js → chunk-43W4YSO6.js} +1 -12
- package/chunks/{chunk-JA5KWZTJ.js → chunk-44NROQYV.js} +5 -3
- package/chunks/{chunk-MOUXUCXQ.js → chunk-4KJ2BPIT.js} +1 -1
- package/chunks/chunk-4O344UEE.js +167 -0
- package/chunks/{chunk-ZO5EA3XJ.js → chunk-4UCTWSTP.js} +1 -1
- package/chunks/{chunk-SOT7OMGL.js → chunk-4ZJIPVPB.js} +2 -2
- package/chunks/{chunk-FPHA7WIZ.js → chunk-65CFHNSE.js} +3 -3
- package/chunks/{chunk-FDY3XOTM.js → chunk-6BN7NZ5Z.js} +4 -4
- package/chunks/{chunk-DBF3HTLT.js → chunk-7JGISHHZ.js} +4 -4
- package/chunks/{chunk-T42ACHFI.js → chunk-7LTB54MK.js} +1 -1
- package/chunks/chunk-A2X3KLC3.js +3807 -0
- package/chunks/{chunk-HCFSKO6K.js → chunk-ADZG46HR.js} +1 -1
- package/chunks/{chunk-MX7CTJHR.js → chunk-AFOLR6YL.js} +9 -9
- package/chunks/{chunk-EWALXUAD.js → chunk-AGHU5VRK.js} +8 -0
- package/chunks/{chunk-GLPV75ES.js → chunk-AHNJGLFV.js} +2 -2
- package/chunks/{chunk-QOKV6AO4.js → chunk-AIY5UTFI.js} +184 -147
- package/chunks/{chunk-57NRQM3P.js → chunk-AJBEAUIS.js} +2 -2
- package/chunks/chunk-ALZ75L2X.js +949 -0
- package/chunks/{chunk-T22H4V4R.js → chunk-B34OV7K2.js} +1 -1
- package/chunks/{chunk-GQBRGBLS.js → chunk-B4U2M63D.js} +9 -9
- package/chunks/{chunk-UTL7KABL.js → chunk-BWVQN2HV.js} +7 -7
- package/chunks/{chunk-YPCPZSZB.js → chunk-CCGOFQV3.js} +56 -4
- package/chunks/{chunk-BOAWGUY6.js → chunk-CISB3IQF.js} +121 -49
- package/chunks/{chunk-SRNPMG7J.js → chunk-CNSF3WO5.js} +16 -10
- package/chunks/{chunk-LWGLBVWA.js → chunk-CSOTA7KX.js} +1 -1
- package/chunks/{chunk-YSU33ACT.js → chunk-DGHJTO2K.js} +5 -13
- package/chunks/{chunk-NIOPRZNN.js → chunk-E7KNELIZ.js} +1 -1
- package/chunks/{chunk-SEZC2725.js → chunk-ER3BKOLB.js} +13 -0
- package/chunks/{chunk-3VJ7MT3N.js → chunk-EXPMGZZV.js} +14 -3
- package/chunks/{chunk-RZORUN6X.js → chunk-FEJ2FZ3U.js} +1 -1
- package/chunks/{chunk-OIFSBXSP.js → chunk-FRFFNYUY.js} +3 -3
- package/chunks/{chunk-MHQKYQDS.js → chunk-FTFXDZYI.js} +158 -3
- package/chunks/{chunk-DMSNJDWG.js → chunk-FV7425LN.js} +38 -3
- package/chunks/{chunk-ALX6BUYW.js → chunk-G7ZG7CA6.js} +186 -27
- package/chunks/chunk-GD236YPV.js +28 -0
- package/chunks/{chunk-XH7H6YG4.js → chunk-GL5TV7B5.js} +4 -107
- package/chunks/{chunk-JN2VJ33O.js → chunk-GMOWQOQQ.js} +966 -121
- package/chunks/{chunk-D5KISTLW.js → chunk-H6EMK6QK.js} +1 -1
- package/chunks/{chunk-MBWLP5OT.js → chunk-HJ3GX3Y3.js} +162 -40
- package/chunks/{chunk-KYTQOCDE.js → chunk-HW4N45EE.js} +17 -46
- package/chunks/{chunk-DXXNMPJH.js → chunk-I4A4K72C.js} +460 -93
- package/chunks/{chunk-VXGPYF7U.js → chunk-IFEWJXFS.js} +1 -1
- package/chunks/chunk-II73RK2S.js +158 -0
- package/chunks/{chunk-TENOUWY2.js → chunk-IJRL2S3D.js} +3 -3
- package/chunks/{chunk-C2QKQZEQ.js → chunk-IUE7YWC3.js} +3 -3
- package/chunks/{chunk-3UC7ZC43.js → chunk-JD33UY7E.js} +7 -7
- package/chunks/{chunk-7Z6UEJA4.js → chunk-JF7DFPQ5.js} +5 -2
- package/chunks/{chunk-IUSKVKH5.js → chunk-LEIJKM7Q.js} +1 -1
- package/chunks/chunk-LGFAYIKX.js +115 -0
- package/chunks/{chunk-N2IJLN2L.js → chunk-ME3YSROJ.js} +13 -5
- package/chunks/{chunk-V6NH3CUC.js → chunk-MIG5SQNL.js} +3 -3
- package/chunks/{chunk-MJKEQSZI.js → chunk-MJI36HER.js} +1 -1
- package/chunks/{chunk-YHTNWGRR.js → chunk-MZ7BABX3.js} +1 -1
- package/chunks/{chunk-B236XPGF.js → chunk-NQKLOAVJ.js} +29 -2
- package/chunks/{chunk-3X76L4UF.js → chunk-NZEGNV4V.js} +5 -5
- package/chunks/{chunk-O2RJARYU.js → chunk-OWVIH4HY.js} +1409 -4088
- package/chunks/{chunk-YTWX5TT2.js → chunk-P7I3D7FM.js} +1 -1
- package/chunks/{chunk-HTWHAN44.js → chunk-PC4ZXHU2.js} +1 -1
- package/chunks/chunk-PRDFOIZF.js +2477 -0
- package/chunks/{chunk-UNXGEDX2.js → chunk-PUQLHSQ2.js} +133 -25
- package/chunks/{chunk-5WQF27GW.js → chunk-Q6OEPOOC.js} +1 -1
- package/chunks/{chunk-6QVRLKTZ.js → chunk-QAKFYMJI.js} +7 -7
- package/chunks/{chunk-NPQWQYU6.js → chunk-QYNNN7BK.js} +1 -1
- package/chunks/{chunk-2INJBYLJ.js → chunk-QZF5U5KA.js} +6 -6
- package/chunks/{chunk-N4YJQTRL.js → chunk-RFIL6REB.js} +71 -2
- package/chunks/{chunk-FZ5NVRVK.js → chunk-RYFZCUJO.js} +3 -3
- package/chunks/{chunk-KSPVDFE4.js → chunk-SAIILPQ3.js} +0 -3
- package/chunks/chunk-SD4N3QJ2.js +262 -0
- package/chunks/{chunk-CEYA7K7C.js → chunk-STAZRKOT.js} +62 -12
- package/chunks/{chunk-BZHLWC6T.js → chunk-SUAKHHK7.js} +2 -2
- package/chunks/{chunk-ZI4MGBB5.js → chunk-TBAZMRW3.js} +1 -1
- package/chunks/{chunk-J6ABRKAB.js → chunk-TDGF35EN.js} +2 -2
- package/chunks/{chunk-TOAUDIS7.js → chunk-TLWA7TPR.js} +6 -2
- package/chunks/{chunk-LXFCHX4X.js → chunk-U4FRHCLA.js} +312 -25
- package/chunks/chunk-UIDXQNMV.js +13 -0
- package/chunks/{chunk-LM3YCCZJ.js → chunk-VEB3NYSO.js} +1 -1
- package/chunks/chunk-VQWAZSXN.js +8223 -0
- package/chunks/{chunk-5ES5YPED.js → chunk-VZ7HY3YU.js} +1 -1
- package/chunks/{chunk-QOMAHFYI.js → chunk-W7EEOR7D.js} +3 -3
- package/chunks/{chunk-NVFJSIAX.js → chunk-WMPVYQ4P.js} +1 -1
- package/chunks/{chunk-V5VTULL5.js → chunk-X265R5C6.js} +3 -3
- package/chunks/{chunk-LKWAVAB5.js → chunk-X2XNQQJI.js} +2 -2
- package/chunks/{chunk-MJKMIQMK.js → chunk-X3YGAX7V.js} +1 -1
- package/chunks/{chunk-OBVBTAX5.js → chunk-XISQIIT7.js} +2 -2
- package/chunks/{chunk-NUK2PFSU.js → chunk-XPJH4PKR.js} +1 -1
- package/chunks/{chunk-A34EPIUV.js → chunk-XSAFNANZ.js} +18 -15
- package/chunks/{chunk-WXUDZHOJ.js → chunk-YDSYD7UI.js} +10 -2
- package/chunks/{chunk-AGZF43UV.js → chunk-YEGT55NW.js} +7153 -4406
- package/chunks/{computer-use-5S3NVXRA.js → computer-use-X4KUU3NM.js} +24 -24
- package/chunks/{contextCommand-DPBALZFK.js → contextCommand-LAYJZF7H.js} +28 -27
- package/chunks/{cron-create-7JYUDTUY.js → cron-create-JSXEIPVS.js} +4 -4
- package/chunks/{cron-delete-YPULQQAK.js → cron-delete-OIFVEPGU.js} +4 -4
- package/chunks/{cron-list-HJIW5MHP.js → cron-list-D4ZX4IOE.js} +11 -7
- package/chunks/{daemon-7XYW4BC3.js → daemon-F3I2RXP6.js} +208 -63
- package/chunks/daemon-status-provider-XSAFKVDS.js +74 -0
- package/chunks/dist-573HNSVO.js +3217 -0
- package/chunks/{dist-ABQ7VWRR.js → dist-FQ5WRJPL.js} +2 -2
- package/chunks/{dist-JPSVN367.js → dist-IMFFBMAT.js} +6 -3792
- package/chunks/{dist-BV56HW3W.js → dist-OT7G2WNM.js} +250 -1
- package/chunks/{dist-AW5ZYMUI.js → dist-PKFTNUHO.js} +10 -11
- package/chunks/{dist-AAO65DPC.js → dist-YTRKAVUB.js} +1 -1
- package/chunks/{earlyInputCapture-GGPV4IFT.js → earlyInputCapture-AERYYGXE.js} +25 -25
- package/chunks/{edit-HJ7ISN4C.js → edit-WZTZDGCI.js} +25 -25
- package/chunks/{en-XR3S5VWY.js → en-GA2RMXY5.js} +6 -1
- package/chunks/{enter-worktree-2BQT675D.js → enter-worktree-DEPXBJEL.js} +24 -24
- package/chunks/{enterPlanMode-SJXHJ3WD.js → enterPlanMode-JFGXZHHJ.js} +24 -24
- package/chunks/{errors-EVGER4AZ.js → errors-GMZL4QV7.js} +26 -26
- package/chunks/{exit-worktree-RPDDOSPM.js → exit-worktree-Y7XBK3VV.js} +24 -24
- package/chunks/{exitPlanMode-BQEROAJ7.js → exitPlanMode-WQQER65F.js} +24 -24
- package/chunks/{fast-path-FX2ICJ2O.js → fast-path-W2U6XDNO.js} +5 -2
- package/chunks/{fr-MBMNQSQ6.js → fr-GWNQG4XH.js} +4 -0
- package/chunks/{gemini-EHUXCOUI.js → gemini-T4WX6SRW.js} +444 -256
- package/chunks/{geminiContentGenerator-YDUUKAM2.js → geminiContentGenerator-MKQACXEJ.js} +4 -4
- package/chunks/{glob-3VIGV2DL.js → glob-4KKSHZDF.js} +52 -28
- package/chunks/{grep-4D3S4NUC.js → grep-GHRYXSLZ.js} +24 -24
- package/chunks/handleAutoUpdate-HN7ZOSXY.js +65 -0
- package/chunks/{initializer-QZTZSSLW.js → initializer-SRN3IM42.js} +31 -29
- package/chunks/{ja-HFV5QCHR.js → ja-2HOTA47X.js} +4 -0
- package/chunks/{keychain-token-storage-GPAKRDKQ.js → keychain-token-storage-UJV5XP4Z.js} +2 -2
- package/chunks/{list-WQ24EAMK.js → list-INTVXUPA.js} +30 -30
- package/chunks/{loadedSettingsAdapter-XV74KOSR.js → loadedSettingsAdapter-QVHHQPGM.js} +28 -28
- package/chunks/{loop-wakeup-34YK7T7O.js → loop-wakeup-OHWEMFP5.js} +5 -5
- package/chunks/{ls-MPD5OJUX.js → ls-L654WOAT.js} +4 -4
- package/chunks/{lsp-72PWTDW7.js → lsp-M35KE54Y.js} +2 -2
- package/chunks/{mcp-CO3MKM7N.js → mcp-7V4T46RG.js} +28 -28
- package/chunks/{monitor-GB56T65A.js → monitor-464OY2UE.js} +32 -27
- package/chunks/nonInteractiveCli-LJEEODU2.js +116 -0
- package/chunks/{notebook-edit-VMXAAE3R.js → notebook-edit-BLJYCNDO.js} +25 -25
- package/chunks/{openaiContentGenerator-GM77FLII.js → openaiContentGenerator-PFF6HYB2.js} +12 -12
- package/chunks/{pidfile-HFXSHR64.js → pidfile-LIBUENIV.js} +25 -25
- package/chunks/{qwenContentGenerator-QSCXQIKJ.js → qwenContentGenerator-SUUHZ6CR.js} +26 -26
- package/chunks/{qwenOAuth2-LWLA6MQG.js → qwenOAuth2-ZV7YLMND.js} +5 -5
- package/chunks/{read-file-SVH6CGQY.js → read-file-L7TBQVX7.js} +8 -8
- package/chunks/{read-mcp-resource-OWOBJY72.js → read-mcp-resource-CNQHBSJM.js} +2 -2
- package/chunks/{record-artifact-URK3YUDJ.js → record-artifact-PP3LKHTS.js} +2 -2
- package/chunks/{ripGrep-JD5O2FLX.js → ripGrep-CKKX3GRB.js} +24 -24
- package/chunks/{run-qwen-serve-FADLRJUN.js → run-qwen-serve-5OKADVLE.js} +785 -35
- package/chunks/{scheduler-Q65SB7DJ.js → scheduler-ZRW3AIDU.js} +24 -24
- package/chunks/{send-message-L7OLQEKH.js → send-message-OA6MV4EU.js} +3 -3
- package/chunks/{serve-6ZXAMQ4M.js → serve-36WS32W6.js} +29 -29
- package/chunks/{server-WKDQA6XR.js → server-M372UENX.js} +2504 -439
- package/chunks/{session-STWOX7RA.js → session-F5KSNP2N.js} +66 -61
- package/chunks/{settings-LC4CCWQQ.js → settings-WFLNS3WT.js} +27 -27
- package/chunks/{shell-FEG3RLPW.js → shell-DEDSWN56.js} +24 -24
- package/chunks/{skill-XTXAMDAP.js → skill-A2TL2NPC.js} +24 -12
- package/chunks/{spawnChannel-B6JJPBPV.js → spawnChannel-RQHUWTCL.js} +27 -27
- package/chunks/{src-HITDGVRM.js → src-XKZMNHXS.js} +91 -36
- package/chunks/{startInteractiveUI-IT423PW4.js → startInteractiveUI-REKSTOHU.js} +6213 -14273
- package/chunks/{syntheticOutput-J3MLCQAR.js → syntheticOutput-F7LSDCAR.js} +3 -3
- package/chunks/{task-create-ELEBZ7H2.js → task-create-RPFZNB4B.js} +7 -7
- package/chunks/{task-list-IEUZLF3Y.js → task-list-TGGJX7EA.js} +5 -5
- package/chunks/{task-stop-QEZW3UDY.js → task-stop-W7NGTMYQ.js} +2 -2
- package/chunks/{task-update-DW36J5P5.js → task-update-5WUG5MVQ.js} +7 -7
- package/chunks/{team-create-DAG6SNHZ.js → team-create-TBQVWAG7.js} +24 -24
- package/chunks/{team-delete-SVITIMBO.js → team-delete-UHQQ2QQX.js} +5 -5
- package/chunks/{team-plan-approval-DRDY5OPC.js → team-plan-approval-FZPGUSHJ.js} +24 -24
- package/chunks/{theme-manager-N67EZC6B.js → theme-manager-DQZVNSOC.js} +25 -25
- package/chunks/{todoWrite-SFFQHZYY.js → todoWrite-C4ZAMSR3.js} +4 -4
- package/chunks/{tool-search-CMDJ5HGM.js → tool-search-FDQ3SLNJ.js} +11 -28
- package/chunks/{trustedFolders-JD4QX6UJ.js → trustedFolders-Z475EIHL.js} +25 -25
- package/chunks/updateCheck-E2ZX7RL7.js +65 -0
- package/chunks/{validateNonInterActiveAuth-ADDCGZ6A.js → validateNonInterActiveAuth-O4ECBHQL.js} +61 -56
- package/chunks/{version-VAONYVE5.js → version-CEDD6ZZR.js} +2 -1
- package/chunks/{web-fetch-SXAXJHIO.js → web-fetch-UYGMOHW4.js} +5 -5
- package/chunks/{workflow-DG2BR42M.js → workflow-CQQ4J4I6.js} +25 -25
- package/chunks/{workspace-providers-status-XGW5OZTD.js → workspace-providers-status-MVYXMYDG.js} +30 -30
- package/chunks/{workspace-service-GX3GGZLU.js → workspace-service-OMBR6ZLG.js} +35 -35
- package/chunks/{workspace-skills-status-LFK5WV2V.js → workspace-skills-status-IMMQ7CAY.js} +29 -29
- package/chunks/{write-file-UR7FXWOU.js → write-file-VWGY7AJP.js} +25 -25
- package/chunks/{zh-FSVJTXA4.js → zh-7XVVRTDH.js} +6 -1
- package/chunks/{zh-TW-66MG4LWL.js → zh-TW-DPH554OG.js} +6 -1
- package/cli.js +19 -11
- package/locales/en.js +9 -2
- package/locales/fr.js +6 -0
- package/locales/ja.js +6 -0
- package/locales/zh-TW.js +9 -2
- package/locales/zh.js +9 -2
- package/node_modules/@qwen-code/audio-capture/package.json +1 -1
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-CUpe0ibu.js → arc-C7hjaa7g.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-JvyrY_mK.js → architectureDiagram-3BPJPVTR-pm9KtMZY.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CK3Y_vom.js → blockDiagram-GPEHLZMM-CApElKsU.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DprSnyrf.js → c4Diagram-AAUBKEIU-BeDe0-9N.js} +1 -1
- package/web-shell/assets/channel-BNf1dW-j.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DJtRJPmu.js → chunk-2J33WTMH-DJEkmLdl.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-ON6Q2-BG.js → chunk-4BX2VUAB-DXX8gdpe.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-c60ou5HZ.js → chunk-55IACEB6-DORmk1kQ.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-BamtPKxx.js → chunk-727SXJPM-DWmO4mCZ.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CsVgpu-T.js → chunk-AQP2D5EJ-C7LRaYw2.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-vZrpjAx4.js → chunk-FMBD7UC4-CCdXgyC5.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-qxyNOd5t.js → chunk-ND2GUHAM-SyL_xvWc.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BvTJSM_S.js → chunk-QZHKN3VN-BzOuCKxa.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-uOIGlzgi.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-uOIGlzgi.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-1tXB4pju.js → cose-bilkent-S5V4N54A-BMPWyDKc.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DglBzme8.js → dagre-BM42HDAG-B_GnPWik.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-DEJpqsWz.js → diagram-2AECGRRQ-fJqMc3S_.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-CsQ1NrMG.js → diagram-5GNKFQAL-ximV3O9D.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Z-3codAi.js → diagram-KO2AKTUF-2vVyjzqw.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-mBuPTA2i.js → diagram-LMA3HP47-Dckcx1sT.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-tcA3K3s9.js → diagram-OG6HWLK6-BAVv47ga.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-D9bXFRyZ.js → erDiagram-TEJ5UH35-Bn3nf5J0.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-Ck0Py04s.js → flowDiagram-I6XJVG4X-BIbGF9JT.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-rOevCekE.js → ganttDiagram-6RSMTGT7-CDbhb3AH.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CoPQaLj0.js → gitGraphDiagram-PVQCEYII-CbKG1a_w.js} +1 -1
- package/web-shell/assets/index-CnE2ur2L.js +779 -0
- package/web-shell/assets/index-hSKXrlSE.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-a77CUKoI.js → infoDiagram-5YYISTIA-DUFxTy8m.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DlLgUAO-.js → ishikawaDiagram-YF4QCWOH-D69hrBG8.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-BXR5kVAZ.js → journeyDiagram-JHISSGLW-DsvEw51Y.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-h5CoHZg7.js → kanban-definition-UN3LZRKU-lFFjZEYd.js} +1 -1
- package/web-shell/assets/{linear-BkaREbyD.js → linear-Bo5bWzvo.js} +1 -1
- package/web-shell/assets/{mermaid.core-Bkagz0ng.js → mermaid.core-C_HKMJx5.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D7EMKR_5.js → mindmap-definition-RKZ34NQL-DlV-NUTs.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-DAmPOjsL.js → pieDiagram-4H26LBE5-B2e6FH2a.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-e4WFQkQu.js → quadrantDiagram-W4KKPZXB-D75kSk-b.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-v1zo7OiV.js → requirementDiagram-4Y6WPE33-CQ6xakhM.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-Bstm4aW_.js → sankeyDiagram-5OEKKPKP-J_XTKrcY.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DzcZy6xN.js → sequenceDiagram-3UESZ5HK-D7jTcBtf.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-BEJH6YbH.js → stateDiagram-AJRCARHV-CrlM_OT3.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Bs4TK_84.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-TI1wH-Pm.js → timeline-definition-PNZ67QCA-5oZi76Ef.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-YaH8VDMS.js → vennDiagram-CIIHVFJN-DO5YptPK.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-B80co7OP.js → wardley-L42UT6IY-4t1eJDvM.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-4fHNDEMl.js → wardleyDiagram-YWT4CUSO-DKZc661S.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-DT3q4Z3J.js → xychartDiagram-2RQKCTM6-su9hp08G.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-L7QPM2YD.js +0 -481
- package/chunks/daemon-status-provider-2EWTHT7Y.js +0 -73
- package/chunks/nonInteractiveCli-HNZRIM5I.js +0 -111
- package/web-shell/assets/channel-BAxQ2-aZ.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Cvd_xhZI.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cvd_xhZI.js +0 -1
- package/web-shell/assets/index-Cr7MYW6T.css +0 -5
- package/web-shell/assets/index-DCHPAUp3.js +0 -730
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BopifCBI.js +0 -1
package/chunks/chunk-L7QPM2YD.js
DELETED
|
@@ -1,481 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
require_undici
|
|
5
|
-
} from "./chunk-54YZOP7P.js";
|
|
6
|
-
import {
|
|
7
|
-
writeStderrLine
|
|
8
|
-
} from "./chunk-Y6Z2O3WR.js";
|
|
9
|
-
import {
|
|
10
|
-
createDebugLogger
|
|
11
|
-
} from "./chunk-AVQDCKNF.js";
|
|
12
|
-
import {
|
|
13
|
-
init_esbuild_shims
|
|
14
|
-
} from "./chunk-A4BMJM77.js";
|
|
15
|
-
import {
|
|
16
|
-
__name,
|
|
17
|
-
__toESM
|
|
18
|
-
} from "./chunk-J2S4EL5Y.js";
|
|
19
|
-
|
|
20
|
-
// packages/cli/src/services/setup-github.ts
|
|
21
|
-
init_esbuild_shims();
|
|
22
|
-
var import_undici2 = __toESM(require_undici(), 1);
|
|
23
|
-
import { promises as fsp } from "node:fs";
|
|
24
|
-
import * as path from "node:path";
|
|
25
|
-
|
|
26
|
-
// packages/cli/src/utils/gitUtils.ts
|
|
27
|
-
init_esbuild_shims();
|
|
28
|
-
var import_undici = __toESM(require_undici(), 1);
|
|
29
|
-
import * as childProcess from "node:child_process";
|
|
30
|
-
var debugLogger = createDebugLogger("GIT");
|
|
31
|
-
async function runGit(args, opts = {}) {
|
|
32
|
-
return await new Promise((resolve2, reject) => {
|
|
33
|
-
childProcess.execFile(
|
|
34
|
-
"git",
|
|
35
|
-
args,
|
|
36
|
-
{
|
|
37
|
-
encoding: "utf-8",
|
|
38
|
-
...opts.cwd ? { cwd: opts.cwd } : {}
|
|
39
|
-
},
|
|
40
|
-
(err, stdout) => {
|
|
41
|
-
if (err) {
|
|
42
|
-
reject(err);
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
resolve2(String(stdout ?? "").trim());
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
__name(runGit, "runGit");
|
|
51
|
-
var isGitHubRepositoryAsync = /* @__PURE__ */ __name(async (opts = {}) => {
|
|
52
|
-
try {
|
|
53
|
-
const remotes = await runGit(["remote", "-v"], opts);
|
|
54
|
-
return remotes.split("\n").some((line) => {
|
|
55
|
-
const remoteUrl = line.trim().split(/\s+/)[1];
|
|
56
|
-
return remoteUrl ? isGitHubRemoteUrl(remoteUrl) : false;
|
|
57
|
-
});
|
|
58
|
-
} catch (_error) {
|
|
59
|
-
debugLogger.debug(`Failed to get git remote:`, _error);
|
|
60
|
-
return false;
|
|
61
|
-
}
|
|
62
|
-
}, "isGitHubRepositoryAsync");
|
|
63
|
-
function isGitHubRemoteUrl(remoteUrl) {
|
|
64
|
-
if (remoteUrl.startsWith("git@github.com:")) {
|
|
65
|
-
return true;
|
|
66
|
-
}
|
|
67
|
-
if (remoteUrl.startsWith("git@")) {
|
|
68
|
-
return false;
|
|
69
|
-
}
|
|
70
|
-
try {
|
|
71
|
-
return new URL(remoteUrl).hostname === "github.com";
|
|
72
|
-
} catch {
|
|
73
|
-
return false;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
__name(isGitHubRemoteUrl, "isGitHubRemoteUrl");
|
|
77
|
-
var getGitRepoRootAsync = /* @__PURE__ */ __name(async (opts = {}) => {
|
|
78
|
-
const gitRepoRoot = await runGit(["rev-parse", "--show-toplevel"], opts);
|
|
79
|
-
if (!gitRepoRoot) {
|
|
80
|
-
throw new Error(`Git repo returned empty value`);
|
|
81
|
-
}
|
|
82
|
-
return gitRepoRoot;
|
|
83
|
-
}, "getGitRepoRootAsync");
|
|
84
|
-
var getLatestGitHubRelease = /* @__PURE__ */ __name(async (proxy) => {
|
|
85
|
-
try {
|
|
86
|
-
const controller = new AbortController();
|
|
87
|
-
const endpoint = `https://api.github.com/repos/QwenLM/qwen-code-action/releases/latest`;
|
|
88
|
-
const response = await fetch(endpoint, {
|
|
89
|
-
method: "GET",
|
|
90
|
-
headers: {
|
|
91
|
-
Accept: "application/vnd.github+json",
|
|
92
|
-
"Content-Type": "application/json",
|
|
93
|
-
"X-GitHub-Api-Version": "2022-11-28"
|
|
94
|
-
},
|
|
95
|
-
dispatcher: proxy ? new import_undici.ProxyAgent(proxy) : void 0,
|
|
96
|
-
signal: AbortSignal.any([AbortSignal.timeout(3e4), controller.signal])
|
|
97
|
-
});
|
|
98
|
-
if (!response.ok) {
|
|
99
|
-
throw new Error(
|
|
100
|
-
`Invalid response code: ${response.status} - ${response.statusText}`
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
const releaseTag = (await response.json()).tag_name;
|
|
104
|
-
if (!releaseTag) {
|
|
105
|
-
throw new Error(`Response did not include tag_name field`);
|
|
106
|
-
}
|
|
107
|
-
return releaseTag;
|
|
108
|
-
} catch (_error) {
|
|
109
|
-
debugLogger.debug(
|
|
110
|
-
`Failed to determine latest qwen-code-action release:`,
|
|
111
|
-
_error
|
|
112
|
-
);
|
|
113
|
-
throw new Error(
|
|
114
|
-
`Unable to determine the latest qwen-code-action release on GitHub.`
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
}, "getLatestGitHubRelease");
|
|
118
|
-
async function getGitHubRepoInfoAsync(opts = {}) {
|
|
119
|
-
return parseGitHubRepoInfo(
|
|
120
|
-
await runGit(["remote", "get-url", "origin"], opts)
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
__name(getGitHubRepoInfoAsync, "getGitHubRepoInfoAsync");
|
|
124
|
-
function parseGitHubRepoInfo(remoteUrl) {
|
|
125
|
-
let urlToParse = remoteUrl;
|
|
126
|
-
if (remoteUrl.startsWith("git@github.com:")) {
|
|
127
|
-
urlToParse = remoteUrl.replace("git@github.com:", "");
|
|
128
|
-
} else if (remoteUrl.startsWith("git@")) {
|
|
129
|
-
throw new Error(
|
|
130
|
-
`Owner & repo could not be extracted from remote URL: ${remoteUrl}`
|
|
131
|
-
);
|
|
132
|
-
}
|
|
133
|
-
let parsedUrl;
|
|
134
|
-
try {
|
|
135
|
-
parsedUrl = new URL(urlToParse, "https://github.com");
|
|
136
|
-
} catch {
|
|
137
|
-
throw new Error(
|
|
138
|
-
`Owner & repo could not be extracted from remote URL: ${remoteUrl}`
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
if (parsedUrl.hostname !== "github.com") {
|
|
142
|
-
throw new Error(
|
|
143
|
-
`Owner & repo could not be extracted from remote URL: ${remoteUrl}`
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
|
-
const parts = parsedUrl.pathname.split("/").filter((part) => part !== "");
|
|
147
|
-
if (parts.length !== 2 || !parts[0] || !parts[1]) {
|
|
148
|
-
throw new Error(
|
|
149
|
-
`Owner & repo could not be extracted from remote URL: ${remoteUrl}`
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
return { owner: parts[0], repo: parts[1].replace(/\.git$/, "") };
|
|
153
|
-
}
|
|
154
|
-
__name(parseGitHubRepoInfo, "parseGitHubRepoInfo");
|
|
155
|
-
|
|
156
|
-
// packages/cli/src/services/setup-github.ts
|
|
157
|
-
var debugLogger2 = createDebugLogger("SETUP_GITHUB");
|
|
158
|
-
var GITHUB_WORKFLOW_PATHS = [
|
|
159
|
-
"qwen-dispatch/qwen-dispatch.yml",
|
|
160
|
-
"qwen-assistant/qwen-invoke.yml",
|
|
161
|
-
"issue-triage/qwen-triage.yml",
|
|
162
|
-
"issue-triage/qwen-scheduled-triage.yml",
|
|
163
|
-
"pr-review/qwen-review.yml"
|
|
164
|
-
];
|
|
165
|
-
var GITIGNORE_ENTRIES = [".qwen/", "gha-creds-*.json"];
|
|
166
|
-
var MAX_WORKFLOW_DOWNLOAD_BYTES = 5 * 1024 * 1024;
|
|
167
|
-
var SetupGithubError = class extends Error {
|
|
168
|
-
static {
|
|
169
|
-
__name(this, "SetupGithubError");
|
|
170
|
-
}
|
|
171
|
-
code;
|
|
172
|
-
status;
|
|
173
|
-
partial;
|
|
174
|
-
partialResult;
|
|
175
|
-
constructor(code, message, status, partialResult) {
|
|
176
|
-
super(message);
|
|
177
|
-
this.name = "SetupGithubError";
|
|
178
|
-
this.code = code;
|
|
179
|
-
this.status = status;
|
|
180
|
-
this.partial = partialResult !== void 0;
|
|
181
|
-
this.partialResult = partialResult;
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
var nodeFileOps = {
|
|
185
|
-
assertCanWrite() {
|
|
186
|
-
},
|
|
187
|
-
async ensureWorkflowDirectory(gitRepoRoot) {
|
|
188
|
-
await fsp.mkdir(path.join(gitRepoRoot, ".github", "workflows"), {
|
|
189
|
-
recursive: true
|
|
190
|
-
});
|
|
191
|
-
},
|
|
192
|
-
async writeTextFile(gitRepoRoot, relativePath, content) {
|
|
193
|
-
const target = path.join(gitRepoRoot, relativePath);
|
|
194
|
-
await fsp.writeFile(target, content, { mode: 420 });
|
|
195
|
-
return { sizeBytes: Buffer.byteLength(content, "utf8") };
|
|
196
|
-
},
|
|
197
|
-
async readTextFile(gitRepoRoot, relativePath) {
|
|
198
|
-
try {
|
|
199
|
-
return await fsp.readFile(path.join(gitRepoRoot, relativePath), "utf8");
|
|
200
|
-
} catch (error) {
|
|
201
|
-
if (error.code === "ENOENT") {
|
|
202
|
-
return void 0;
|
|
203
|
-
}
|
|
204
|
-
throw error;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
async function setupGithub(options = {}) {
|
|
209
|
-
const cwd = options.cwd ?? process.cwd();
|
|
210
|
-
const fileOps = options.fileOps ?? nodeFileOps;
|
|
211
|
-
if (!await isGitHubRepositoryAsync({ cwd })) {
|
|
212
|
-
throw new SetupGithubError(
|
|
213
|
-
"github_repository_not_found",
|
|
214
|
-
"Unable to determine the GitHub repository. /setup-github must be run from a git repository.",
|
|
215
|
-
400
|
|
216
|
-
);
|
|
217
|
-
}
|
|
218
|
-
let gitRepoRoot;
|
|
219
|
-
try {
|
|
220
|
-
gitRepoRoot = await getGitRepoRootAsync({ cwd });
|
|
221
|
-
} catch (error) {
|
|
222
|
-
debugLogger2.debug("Failed to get git repo root:", error);
|
|
223
|
-
throw new SetupGithubError(
|
|
224
|
-
"github_repository_not_found",
|
|
225
|
-
"Unable to determine the GitHub repository. /setup-github must be run from a git repository.",
|
|
226
|
-
400
|
|
227
|
-
);
|
|
228
|
-
}
|
|
229
|
-
if (options.workspaceRoot) {
|
|
230
|
-
const [gitRootReal, workspaceReal] = await Promise.all([
|
|
231
|
-
realpathOrResolve(gitRepoRoot),
|
|
232
|
-
realpathOrResolve(options.workspaceRoot)
|
|
233
|
-
]);
|
|
234
|
-
if (gitRootReal !== workspaceReal) {
|
|
235
|
-
throw new SetupGithubError(
|
|
236
|
-
"github_git_root_mismatch",
|
|
237
|
-
"The Git repository root must match the daemon workspace root.",
|
|
238
|
-
400
|
|
239
|
-
);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
fileOps.assertCanWrite?.();
|
|
243
|
-
let releaseTag;
|
|
244
|
-
try {
|
|
245
|
-
releaseTag = await getLatestGitHubRelease(options.proxy);
|
|
246
|
-
} catch (error) {
|
|
247
|
-
writeStderrLine(
|
|
248
|
-
`qwen setup-github: failed to determine latest qwen-code-action release: ${error instanceof Error ? error.message : String(error)}`
|
|
249
|
-
);
|
|
250
|
-
debugLogger2.debug(
|
|
251
|
-
"Failed to determine latest qwen-code-action release:",
|
|
252
|
-
error
|
|
253
|
-
);
|
|
254
|
-
throw new SetupGithubError(
|
|
255
|
-
"github_release_lookup_failed",
|
|
256
|
-
"Unable to determine the latest qwen-code-action release on GitHub.",
|
|
257
|
-
502
|
|
258
|
-
);
|
|
259
|
-
}
|
|
260
|
-
const readmeUrl = `https://github.com/QwenLM/qwen-code-action/blob/${releaseTag}/README.md#quick-start`;
|
|
261
|
-
const secretsUrl = await resolveSecretsUrl(cwd);
|
|
262
|
-
const downloads = await downloadWorkflows({
|
|
263
|
-
releaseTag,
|
|
264
|
-
proxy: options.proxy,
|
|
265
|
-
abortSignal: options.abortSignal,
|
|
266
|
-
fetchImpl: options.fetchImpl ?? fetch
|
|
267
|
-
});
|
|
268
|
-
const result = {
|
|
269
|
-
kind: "github_setup",
|
|
270
|
-
workspaceCwd: options.workspaceRoot ?? gitRepoRoot,
|
|
271
|
-
gitRepoRoot,
|
|
272
|
-
releaseTag,
|
|
273
|
-
readmeUrl,
|
|
274
|
-
...secretsUrl ? { secretsUrl } : {},
|
|
275
|
-
workflows: [],
|
|
276
|
-
gitignore: { path: ".gitignore", status: "skipped" },
|
|
277
|
-
warnings: []
|
|
278
|
-
};
|
|
279
|
-
result.gitignore = await updateGitignore(gitRepoRoot, fileOps);
|
|
280
|
-
if (result.gitignore.status === "failed") {
|
|
281
|
-
result.warnings.push("Failed to update .gitignore.");
|
|
282
|
-
}
|
|
283
|
-
try {
|
|
284
|
-
await fileOps.ensureWorkflowDirectory(gitRepoRoot);
|
|
285
|
-
for (const workflow of downloads) {
|
|
286
|
-
const relativePath = path.posix.join(
|
|
287
|
-
".github",
|
|
288
|
-
"workflows",
|
|
289
|
-
path.posix.basename(workflow.sourcePath)
|
|
290
|
-
);
|
|
291
|
-
try {
|
|
292
|
-
const write = await fileOps.writeTextFile(
|
|
293
|
-
gitRepoRoot,
|
|
294
|
-
relativePath,
|
|
295
|
-
workflow.content
|
|
296
|
-
);
|
|
297
|
-
result.workflows.push({
|
|
298
|
-
sourcePath: workflow.sourcePath,
|
|
299
|
-
path: relativePath,
|
|
300
|
-
status: "written",
|
|
301
|
-
sizeBytes: write.sizeBytes
|
|
302
|
-
});
|
|
303
|
-
} catch (error) {
|
|
304
|
-
result.partial = true;
|
|
305
|
-
result.workflows.push({
|
|
306
|
-
sourcePath: workflow.sourcePath,
|
|
307
|
-
path: relativePath,
|
|
308
|
-
status: "failed",
|
|
309
|
-
error: error instanceof Error ? error.message : String(error)
|
|
310
|
-
});
|
|
311
|
-
throw new SetupGithubError(
|
|
312
|
-
"github_workflow_write_failed",
|
|
313
|
-
`Unable to write ${relativePath}.`,
|
|
314
|
-
500,
|
|
315
|
-
result
|
|
316
|
-
);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
} catch (error) {
|
|
320
|
-
if (error instanceof SetupGithubError) throw error;
|
|
321
|
-
throw new SetupGithubError(
|
|
322
|
-
"github_workflow_write_failed",
|
|
323
|
-
"Unable to create .github/workflows.",
|
|
324
|
-
500,
|
|
325
|
-
result
|
|
326
|
-
);
|
|
327
|
-
}
|
|
328
|
-
return result;
|
|
329
|
-
}
|
|
330
|
-
__name(setupGithub, "setupGithub");
|
|
331
|
-
async function updateGitignore(gitRepoRoot, fileOps = nodeFileOps) {
|
|
332
|
-
try {
|
|
333
|
-
const existingContent = await fileOps.readTextFile(
|
|
334
|
-
gitRepoRoot,
|
|
335
|
-
".gitignore"
|
|
336
|
-
);
|
|
337
|
-
if (existingContent === void 0) {
|
|
338
|
-
const content = GITIGNORE_ENTRIES.join("\n") + "\n";
|
|
339
|
-
await fileOps.writeTextFile(gitRepoRoot, ".gitignore", content);
|
|
340
|
-
return {
|
|
341
|
-
path: ".gitignore",
|
|
342
|
-
status: "created",
|
|
343
|
-
added: [...GITIGNORE_ENTRIES]
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
const missingEntries = GITIGNORE_ENTRIES.filter(
|
|
347
|
-
(entry) => !existingContent.split(/\r?\n/).some((line) => line.split("#")[0].trim() === entry)
|
|
348
|
-
);
|
|
349
|
-
if (missingEntries.length === 0) {
|
|
350
|
-
return { path: ".gitignore", status: "unchanged" };
|
|
351
|
-
}
|
|
352
|
-
const nextContent = existingContent + "\n" + missingEntries.join("\n") + "\n";
|
|
353
|
-
await fileOps.writeTextFile(gitRepoRoot, ".gitignore", nextContent);
|
|
354
|
-
return {
|
|
355
|
-
path: ".gitignore",
|
|
356
|
-
status: "updated",
|
|
357
|
-
added: missingEntries
|
|
358
|
-
};
|
|
359
|
-
} catch (error) {
|
|
360
|
-
debugLogger2.debug("Failed to update .gitignore:", error);
|
|
361
|
-
return {
|
|
362
|
-
path: ".gitignore",
|
|
363
|
-
status: "failed",
|
|
364
|
-
error: error instanceof Error ? error.message : String(error)
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
__name(updateGitignore, "updateGitignore");
|
|
369
|
-
async function downloadWorkflows(options) {
|
|
370
|
-
const internalAbort = new AbortController();
|
|
371
|
-
try {
|
|
372
|
-
const dispatcher = options.proxy ? new import_undici2.ProxyAgent(options.proxy) : void 0;
|
|
373
|
-
return await Promise.all(
|
|
374
|
-
GITHUB_WORKFLOW_PATHS.map(async (workflow) => {
|
|
375
|
-
const endpoint = `https://raw.githubusercontent.com/QwenLM/qwen-code-action/refs/tags/${options.releaseTag}/examples/workflows/${workflow}`;
|
|
376
|
-
const response = await options.fetchImpl(endpoint, {
|
|
377
|
-
method: "GET",
|
|
378
|
-
dispatcher,
|
|
379
|
-
signal: AbortSignal.any([
|
|
380
|
-
AbortSignal.timeout(3e4),
|
|
381
|
-
internalAbort.signal,
|
|
382
|
-
...options.abortSignal ? [options.abortSignal] : []
|
|
383
|
-
])
|
|
384
|
-
});
|
|
385
|
-
if (!response.ok) {
|
|
386
|
-
throw new Error(
|
|
387
|
-
`Invalid response code downloading ${endpoint}: ${response.status} - ${response.statusText}`
|
|
388
|
-
);
|
|
389
|
-
}
|
|
390
|
-
return {
|
|
391
|
-
sourcePath: workflow,
|
|
392
|
-
content: await readResponseTextWithLimit(response, workflow)
|
|
393
|
-
};
|
|
394
|
-
})
|
|
395
|
-
);
|
|
396
|
-
} catch (error) {
|
|
397
|
-
internalAbort.abort();
|
|
398
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
399
|
-
debugLogger2.debug("Failed to download qwen-code-action workflows:", error);
|
|
400
|
-
throw new SetupGithubError(
|
|
401
|
-
"github_workflow_download_failed",
|
|
402
|
-
`Unable to download qwen-code-action workflows from GitHub. ${message}`,
|
|
403
|
-
502
|
|
404
|
-
);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
__name(downloadWorkflows, "downloadWorkflows");
|
|
408
|
-
async function readResponseTextWithLimit(response, sourcePath) {
|
|
409
|
-
const contentLength = response.headers.get("content-length");
|
|
410
|
-
if (contentLength !== null) {
|
|
411
|
-
const parsedLength = Number(contentLength);
|
|
412
|
-
if (Number.isFinite(parsedLength) && parsedLength > MAX_WORKFLOW_DOWNLOAD_BYTES) {
|
|
413
|
-
throw new Error(
|
|
414
|
-
`${sourcePath} exceeds download limit of ${MAX_WORKFLOW_DOWNLOAD_BYTES} bytes`
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
if (!response.body) return "";
|
|
419
|
-
const reader = response.body.getReader();
|
|
420
|
-
const chunks = [];
|
|
421
|
-
let totalBytes = 0;
|
|
422
|
-
try {
|
|
423
|
-
while (true) {
|
|
424
|
-
const { done, value } = await reader.read();
|
|
425
|
-
if (done) break;
|
|
426
|
-
if (!value) continue;
|
|
427
|
-
totalBytes += value.byteLength;
|
|
428
|
-
if (totalBytes > MAX_WORKFLOW_DOWNLOAD_BYTES) {
|
|
429
|
-
await reader.cancel().catch(() => {
|
|
430
|
-
});
|
|
431
|
-
throw new Error(
|
|
432
|
-
`${sourcePath} exceeds download limit of ${MAX_WORKFLOW_DOWNLOAD_BYTES} bytes`
|
|
433
|
-
);
|
|
434
|
-
}
|
|
435
|
-
chunks.push(value);
|
|
436
|
-
}
|
|
437
|
-
} finally {
|
|
438
|
-
reader.releaseLock();
|
|
439
|
-
}
|
|
440
|
-
const body = new Uint8Array(totalBytes);
|
|
441
|
-
let offset = 0;
|
|
442
|
-
for (const chunk of chunks) {
|
|
443
|
-
body.set(chunk, offset);
|
|
444
|
-
offset += chunk.byteLength;
|
|
445
|
-
}
|
|
446
|
-
return new TextDecoder().decode(body);
|
|
447
|
-
}
|
|
448
|
-
__name(readResponseTextWithLimit, "readResponseTextWithLimit");
|
|
449
|
-
async function resolveSecretsUrl(cwd) {
|
|
450
|
-
try {
|
|
451
|
-
const repoInfo = await getGitHubRepoInfoAsync({ cwd });
|
|
452
|
-
return `https://github.com/${repoInfo.owner}/${repoInfo.repo}/settings/secrets/actions`;
|
|
453
|
-
} catch {
|
|
454
|
-
return void 0;
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
__name(resolveSecretsUrl, "resolveSecretsUrl");
|
|
458
|
-
async function realpathOrResolve(input) {
|
|
459
|
-
try {
|
|
460
|
-
return await fsp.realpath(input);
|
|
461
|
-
} catch {
|
|
462
|
-
return path.resolve(input);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
__name(realpathOrResolve, "realpathOrResolve");
|
|
466
|
-
|
|
467
|
-
export {
|
|
468
|
-
GITHUB_WORKFLOW_PATHS,
|
|
469
|
-
SetupGithubError,
|
|
470
|
-
setupGithub
|
|
471
|
-
};
|
|
472
|
-
/**
|
|
473
|
-
* @license
|
|
474
|
-
* Copyright 2025 Google LLC
|
|
475
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
476
|
-
*/
|
|
477
|
-
/**
|
|
478
|
-
* @license
|
|
479
|
-
* Copyright 2025 Qwen Team
|
|
480
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
481
|
-
*/
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
createDaemonStatusProvider
|
|
5
|
-
} from "./chunk-DBF3HTLT.js";
|
|
6
|
-
import "./chunk-OAYOHSGP.js";
|
|
7
|
-
import "./chunk-KHDZHZMH.js";
|
|
8
|
-
import "./chunk-LXFCHX4X.js";
|
|
9
|
-
import "./chunk-P7M4GA57.js";
|
|
10
|
-
import "./chunk-T22H4V4R.js";
|
|
11
|
-
import "./chunk-EWALXUAD.js";
|
|
12
|
-
import "./chunk-SEZC2725.js";
|
|
13
|
-
import "./chunk-ALX6BUYW.js";
|
|
14
|
-
import "./chunk-VRDMOSQS.js";
|
|
15
|
-
import "./chunk-57NRQM3P.js";
|
|
16
|
-
import "./chunk-3VJ7MT3N.js";
|
|
17
|
-
import "./chunk-7Z6UEJA4.js";
|
|
18
|
-
import "./chunk-HLKG6CZN.js";
|
|
19
|
-
import "./chunk-SL2P3JUA.js";
|
|
20
|
-
import "./chunk-AGZF43UV.js";
|
|
21
|
-
import "./chunk-5P5XGNYH.js";
|
|
22
|
-
import "./chunk-SKAZWEV5.js";
|
|
23
|
-
import "./chunk-K5PGHDBN.js";
|
|
24
|
-
import "./chunk-CLQPBI4H.js";
|
|
25
|
-
import "./chunk-QOMAHFYI.js";
|
|
26
|
-
import "./chunk-G7OQ3RFJ.js";
|
|
27
|
-
import "./chunk-LKWAVAB5.js";
|
|
28
|
-
import "./chunk-5ES5YPED.js";
|
|
29
|
-
import "./chunk-2MPVVENX.js";
|
|
30
|
-
import "./chunk-ZTQ26VBE.js";
|
|
31
|
-
import "./chunk-DMSNJDWG.js";
|
|
32
|
-
import "./chunk-MLZQVCF3.js";
|
|
33
|
-
import "./chunk-LQ7TMOCE.js";
|
|
34
|
-
import "./chunk-E5A7LHNN.js";
|
|
35
|
-
import "./chunk-LM3YCCZJ.js";
|
|
36
|
-
import "./chunk-GO6LNQXT.js";
|
|
37
|
-
import "./chunk-B236XPGF.js";
|
|
38
|
-
import "./chunk-NVFJSIAX.js";
|
|
39
|
-
import "./chunk-TOAUDIS7.js";
|
|
40
|
-
import "./chunk-NPQWQYU6.js";
|
|
41
|
-
import "./chunk-JN2VJ33O.js";
|
|
42
|
-
import "./chunk-E6US47KI.js";
|
|
43
|
-
import "./chunk-UWCTAVOD.js";
|
|
44
|
-
import "./chunk-OFEVLU4C.js";
|
|
45
|
-
import "./chunk-OMX7CUOE.js";
|
|
46
|
-
import "./chunk-MOUXUCXQ.js";
|
|
47
|
-
import "./chunk-BZHLWC6T.js";
|
|
48
|
-
import "./chunk-RZORUN6X.js";
|
|
49
|
-
import "./chunk-MJKMIQMK.js";
|
|
50
|
-
import "./chunk-TENOUWY2.js";
|
|
51
|
-
import "./chunk-GLPV75ES.js";
|
|
52
|
-
import "./chunk-22IFUCVR.js";
|
|
53
|
-
import "./chunk-T42ACHFI.js";
|
|
54
|
-
import "./chunk-SIUQ3YYX.js";
|
|
55
|
-
import "./chunk-KYTQOCDE.js";
|
|
56
|
-
import "./chunk-YPCPZSZB.js";
|
|
57
|
-
import "./chunk-IRJWHZWU.js";
|
|
58
|
-
import "./chunk-SYCJMSIJ.js";
|
|
59
|
-
import "./chunk-55ZMG67I.js";
|
|
60
|
-
import "./chunk-H6BD2ELD.js";
|
|
61
|
-
import "./chunk-5IFG2VC4.js";
|
|
62
|
-
import "./chunk-64WXLC72.js";
|
|
63
|
-
import "./chunk-D5KISTLW.js";
|
|
64
|
-
import "./chunk-AVQDCKNF.js";
|
|
65
|
-
import "./chunk-ZERZSAZL.js";
|
|
66
|
-
import "./chunk-QN5NZ3UQ.js";
|
|
67
|
-
import "./chunk-BR4QREVK.js";
|
|
68
|
-
import "./chunk-Z2Z3GUXZ.js";
|
|
69
|
-
import "./chunk-A4BMJM77.js";
|
|
70
|
-
import "./chunk-J2S4EL5Y.js";
|
|
71
|
-
export {
|
|
72
|
-
createDaemonStatusProvider
|
|
73
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
runNonInteractive,
|
|
5
|
-
skipHeadlessLoopSentinel
|
|
6
|
-
} from "./chunk-A34EPIUV.js";
|
|
7
|
-
import "./chunk-UNXGEDX2.js";
|
|
8
|
-
import "./chunk-5WQF27GW.js";
|
|
9
|
-
import "./chunk-WXUDZHOJ.js";
|
|
10
|
-
import "./chunk-O2RJARYU.js";
|
|
11
|
-
import "./chunk-DXXNMPJH.js";
|
|
12
|
-
import "./chunk-UTL7KABL.js";
|
|
13
|
-
import "./chunk-FPHA7WIZ.js";
|
|
14
|
-
import "./chunk-GQBRGBLS.js";
|
|
15
|
-
import "./chunk-KSPVDFE4.js";
|
|
16
|
-
import "./chunk-MRO43B25.js";
|
|
17
|
-
import "./chunk-VXGPYF7U.js";
|
|
18
|
-
import "./chunk-YSU33ACT.js";
|
|
19
|
-
import "./chunk-KYMBIKIW.js";
|
|
20
|
-
import "./chunk-HTWHAN44.js";
|
|
21
|
-
import "./chunk-JZSY4WP3.js";
|
|
22
|
-
import "./chunk-3X76L4UF.js";
|
|
23
|
-
import "./chunk-3GONHQOA.js";
|
|
24
|
-
import "./chunk-OIFSBXSP.js";
|
|
25
|
-
import "./chunk-ZI4MGBB5.js";
|
|
26
|
-
import "./chunk-L7QPM2YD.js";
|
|
27
|
-
import "./chunk-54YZOP7P.js";
|
|
28
|
-
import "./chunk-XH7H6YG4.js";
|
|
29
|
-
import "./chunk-OAYOHSGP.js";
|
|
30
|
-
import "./chunk-KHDZHZMH.js";
|
|
31
|
-
import "./chunk-SOT7OMGL.js";
|
|
32
|
-
import "./chunk-HCFSKO6K.js";
|
|
33
|
-
import "./chunk-NIOPRZNN.js";
|
|
34
|
-
import "./chunk-AHNXYU4O.js";
|
|
35
|
-
import "./chunk-RNBYOUGV.js";
|
|
36
|
-
import "./chunk-N2IJLN2L.js";
|
|
37
|
-
import "./chunk-BJBWRCSK.js";
|
|
38
|
-
import "./chunk-2INJBYLJ.js";
|
|
39
|
-
import "./chunk-6BEOH4KK.js";
|
|
40
|
-
import "./chunk-S6RLAIUR.js";
|
|
41
|
-
import "./chunk-MX2YXRER.js";
|
|
42
|
-
import "./chunk-YHTNWGRR.js";
|
|
43
|
-
import "./chunk-CEYA7K7C.js";
|
|
44
|
-
import "./chunk-6QVRLKTZ.js";
|
|
45
|
-
import "./chunk-TLRYABYP.js";
|
|
46
|
-
import "./chunk-4RQIB5UZ.js";
|
|
47
|
-
import "./chunk-SEZC2725.js";
|
|
48
|
-
import "./chunk-ALX6BUYW.js";
|
|
49
|
-
import "./chunk-VRDMOSQS.js";
|
|
50
|
-
import "./chunk-3RW4AZJV.js";
|
|
51
|
-
import "./chunk-SL2P3JUA.js";
|
|
52
|
-
import "./chunk-V6NH3CUC.js";
|
|
53
|
-
import "./chunk-Y6Z2O3WR.js";
|
|
54
|
-
import "./chunk-QYUE6W3T.js";
|
|
55
|
-
import "./chunk-AGZF43UV.js";
|
|
56
|
-
import "./chunk-5P5XGNYH.js";
|
|
57
|
-
import "./chunk-SKAZWEV5.js";
|
|
58
|
-
import "./chunk-K5PGHDBN.js";
|
|
59
|
-
import "./chunk-CLQPBI4H.js";
|
|
60
|
-
import "./chunk-QOMAHFYI.js";
|
|
61
|
-
import "./chunk-G7OQ3RFJ.js";
|
|
62
|
-
import "./chunk-LKWAVAB5.js";
|
|
63
|
-
import "./chunk-5ES5YPED.js";
|
|
64
|
-
import "./chunk-2MPVVENX.js";
|
|
65
|
-
import "./chunk-ZTQ26VBE.js";
|
|
66
|
-
import "./chunk-DMSNJDWG.js";
|
|
67
|
-
import "./chunk-MLZQVCF3.js";
|
|
68
|
-
import "./chunk-LQ7TMOCE.js";
|
|
69
|
-
import "./chunk-E5A7LHNN.js";
|
|
70
|
-
import "./chunk-LM3YCCZJ.js";
|
|
71
|
-
import "./chunk-GO6LNQXT.js";
|
|
72
|
-
import "./chunk-B236XPGF.js";
|
|
73
|
-
import "./chunk-NVFJSIAX.js";
|
|
74
|
-
import "./chunk-TOAUDIS7.js";
|
|
75
|
-
import "./chunk-NPQWQYU6.js";
|
|
76
|
-
import "./chunk-JN2VJ33O.js";
|
|
77
|
-
import "./chunk-E6US47KI.js";
|
|
78
|
-
import "./chunk-UWCTAVOD.js";
|
|
79
|
-
import "./chunk-OFEVLU4C.js";
|
|
80
|
-
import "./chunk-OMX7CUOE.js";
|
|
81
|
-
import "./chunk-MOUXUCXQ.js";
|
|
82
|
-
import "./chunk-BZHLWC6T.js";
|
|
83
|
-
import "./chunk-RZORUN6X.js";
|
|
84
|
-
import "./chunk-MJKMIQMK.js";
|
|
85
|
-
import "./chunk-TENOUWY2.js";
|
|
86
|
-
import "./chunk-GLPV75ES.js";
|
|
87
|
-
import "./chunk-22IFUCVR.js";
|
|
88
|
-
import "./chunk-T42ACHFI.js";
|
|
89
|
-
import "./chunk-SIUQ3YYX.js";
|
|
90
|
-
import "./chunk-KYTQOCDE.js";
|
|
91
|
-
import "./chunk-YPCPZSZB.js";
|
|
92
|
-
import "./chunk-IRJWHZWU.js";
|
|
93
|
-
import "./chunk-SYCJMSIJ.js";
|
|
94
|
-
import "./chunk-55ZMG67I.js";
|
|
95
|
-
import "./chunk-H6BD2ELD.js";
|
|
96
|
-
import "./chunk-5IFG2VC4.js";
|
|
97
|
-
import "./chunk-64WXLC72.js";
|
|
98
|
-
import "./chunk-D5KISTLW.js";
|
|
99
|
-
import "./chunk-AVQDCKNF.js";
|
|
100
|
-
import "./chunk-MJKEQSZI.js";
|
|
101
|
-
import "./chunk-ZO5EA3XJ.js";
|
|
102
|
-
import "./chunk-ZERZSAZL.js";
|
|
103
|
-
import "./chunk-QN5NZ3UQ.js";
|
|
104
|
-
import "./chunk-BR4QREVK.js";
|
|
105
|
-
import "./chunk-Z2Z3GUXZ.js";
|
|
106
|
-
import "./chunk-A4BMJM77.js";
|
|
107
|
-
import "./chunk-J2S4EL5Y.js";
|
|
108
|
-
export {
|
|
109
|
-
runNonInteractive,
|
|
110
|
-
skipHeadlessLoopSentinel
|
|
111
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as a,D as n}from"./mermaid.core-Bkagz0ng.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-727SXJPM-BamtPKxx.js";import{_ as i}from"./mermaid.core-Bkagz0ng.js";import"./chunk-FMBD7UC4-vZrpjAx4.js";import"./chunk-ND2GUHAM-qxyNOd5t.js";import"./chunk-55IACEB6-c60ou5HZ.js";import"./chunk-2J33WTMH-DJtRJPmu.js";import"./index-DCHPAUp3.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-727SXJPM-BamtPKxx.js";import{_ as i}from"./mermaid.core-Bkagz0ng.js";import"./chunk-FMBD7UC4-vZrpjAx4.js";import"./chunk-ND2GUHAM-qxyNOd5t.js";import"./chunk-55IACEB6-c60ou5HZ.js";import"./chunk-2J33WTMH-DJtRJPmu.js";import"./index-DCHPAUp3.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
|