@qwen-code/qwen-code 0.22.2 → 0.22.3-nightly.20260829.e5cb60ad48
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/computer-use/SKILL.md +3 -3
- package/bundled/qc-helper/docs/configuration/settings.md +37 -36
- package/bundled/qc-helper/docs/features/channels/dws.md +2 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +34 -3
- package/bundled/qc-helper/docs/features/code-review.md +3 -3
- package/bundled/qc-helper/docs/features/computer-use.md +2 -2
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +1 -1
- package/bundled/review/SKILL.md +81 -31
- package/bundled/review/references/persistence.md +7 -3
- package/bundled/review/references/posting.md +10 -4
- package/chunks/{MaxSizedBox-X5FZSNAJ.js → MaxSizedBox-JK4LFKJ3.js} +36 -37
- package/chunks/{StandaloneSessionPicker-AVLI6VJP.js → StandaloneSessionPicker-UA2MQCCS.js} +54 -55
- package/chunks/{acpAgent-MXEAN54C.js → acpAgent-ZKIVHQKW.js} +276 -191
- package/chunks/{agent-PJIPDWHB.js → agent-Z3Q5C3RX.js} +27 -28
- package/chunks/{agent-headless-B4JVD7UK.js → agent-headless-BIVZ3KYZ.js} +27 -28
- package/chunks/{anthropicContentGenerator-HGMBACVE.js → anthropicContentGenerator-YVTB6QX7.js} +43 -47
- package/chunks/{artifact-tool-5YT4QF7Y.js → artifact-tool-XSMPHZBT.js} +9 -1
- package/chunks/{askUserQuestion-4SWJY65V.js → askUserQuestion-66I3U2QX.js} +29 -5
- package/chunks/{bridge-FKZTVIS3.js → bridge-KDQTHAR7.js} +40 -41
- package/chunks/{channel-management-service-X4AZ6IXX.js → channel-management-service-HQ6KDS7C.js} +6 -6
- package/chunks/{channel-settings-store-4UFCLBBG.js → channel-settings-store-X4WWBVYW.js} +50 -46
- package/chunks/{channel-worker-group-27HMGD5S.js → channel-worker-group-6NA6BBZV.js} +5 -5
- package/chunks/{channel-worker-manager-QEGX646Z.js → channel-worker-manager-NEZ2J6RK.js} +5 -5
- package/chunks/{channel-worker-supervisor-UEW2WWCC.js → channel-worker-supervisor-FKU7DIHJ.js} +4 -4
- package/chunks/{chunk-V2NDP3I4.js → chunk-2AEHQRY2.js} +1 -1
- package/chunks/{chunk-EOGELB3H.js → chunk-2SXSLSQE.js} +1 -1
- package/chunks/chunk-36LGBEM6.js +130 -0
- package/chunks/{chunk-2K6ORIHJ.js → chunk-3CAI35FS.js} +11 -11
- package/chunks/{chunk-H2WDGQ6D.js → chunk-3JXM2CVW.js} +1 -1
- package/chunks/{chunk-JSHHYW6T.js → chunk-3WJLDA3X.js} +3 -3
- package/chunks/{chunk-HVEYF6VT.js → chunk-3WK3QDNV.js} +1 -1
- package/chunks/{chunk-5XBFCMWD.js → chunk-3XKLXHGK.js} +17 -9
- package/chunks/{chunk-SFPGAQUL.js → chunk-42IDLQWS.js} +24 -18
- package/chunks/{chunk-KEKZFOL6.js → chunk-44LKG3IY.js} +1 -1
- package/chunks/{chunk-43GGFFLY.js → chunk-4K7KNVWH.js} +1 -1
- package/chunks/{chunk-F6FV3C5K.js → chunk-4NDLQAY2.js} +24 -272
- package/chunks/{chunk-VVW4ZNFY.js → chunk-4QHPPXK2.js} +15 -7
- package/chunks/chunk-4VQBQLIZ.js +293 -0
- package/chunks/{chunk-ZFKOCECU.js → chunk-5CALJAH7.js} +2 -2
- package/chunks/{chunk-F7TNAPZ4.js → chunk-5SBVOOA2.js} +5 -5
- package/chunks/{chunk-IK5BW3CS.js → chunk-5ZJL3AIV.js} +2 -2
- package/chunks/{chunk-OIVXBW3W.js → chunk-62GQFYID.js} +1 -1
- package/chunks/{chunk-BRVWYMKV.js → chunk-6MBXY6WM.js} +1 -1
- package/chunks/{chunk-77RG5SFQ.js → chunk-6XOIV7MI.js} +1 -1
- package/chunks/{chunk-KGJGEEVR.js → chunk-7FA2II6K.js} +10 -1
- package/chunks/chunk-7GUOXWPY.js +2597 -0
- package/chunks/chunk-7J6OTNGO.js +424 -0
- package/chunks/{chunk-DIMEPKCW.js → chunk-7S226YTK.js} +1 -1
- package/chunks/{chunk-XRSOI3DL.js → chunk-A3LWD5MK.js} +1 -1
- package/chunks/{chunk-FBSSIAAQ.js → chunk-AMLXTTJJ.js} +7 -7
- package/chunks/{chunk-Z7FLBQPR.js → chunk-ARF6IJHM.js} +7 -7
- package/chunks/{chunk-4CDSK5AZ.js → chunk-AYFA7MZV.js} +2 -2
- package/chunks/{chunk-4JWNNLPT.js → chunk-B42A5ZHA.js} +3 -3
- package/chunks/{chunk-3JGZSIDA.js → chunk-B466ZSHZ.js} +1 -1
- package/chunks/{chunk-L6BZRIUL.js → chunk-B5PHIJGI.js} +182 -4
- package/chunks/{chunk-KUX5D6DK.js → chunk-BFYGL2XL.js} +11383 -11020
- package/chunks/{chunk-W5MJJ2V7.js → chunk-BIJEBAAQ.js} +1 -1
- package/chunks/{chunk-3I6UTTDX.js → chunk-BKWNKLZB.js} +19 -19
- package/chunks/{chunk-3FDFA4MZ.js → chunk-BOWFGCEU.js} +1 -1
- package/chunks/{chunk-F5SZP77N.js → chunk-BP5PTNCU.js} +79 -71
- package/chunks/{chunk-3AFMQUTI.js → chunk-C2X7KY45.js} +1 -1
- package/chunks/{chunk-FDY5RMGH.js → chunk-CFJY4DGX.js} +1 -1
- package/chunks/{chunk-LDP5OD6N.js → chunk-CLWO3B77.js} +2 -2
- package/chunks/{chunk-L6YT5H34.js → chunk-CVUBULIX.js} +4 -4
- package/chunks/{chunk-JU4EEXC7.js → chunk-CWQZUDB7.js} +2 -2
- package/chunks/chunk-DJBQCO2E.js +842 -0
- package/chunks/{chunk-4J657AJR.js → chunk-DJECZIJX.js} +40 -40
- package/chunks/{chunk-RUGNCYNO.js → chunk-DMLVSW7L.js} +532 -22
- package/chunks/{chunk-4FTKQNWJ.js → chunk-DYXFD5RO.js} +181 -2
- package/chunks/{chunk-PDMJ3KGS.js → chunk-EB6QRGHM.js} +1 -1
- package/chunks/{chunk-TGWAQ5RB.js → chunk-ECE3UYVO.js} +4704 -5894
- package/chunks/{chunk-5O72BNDD.js → chunk-F5RB4S23.js} +7 -7
- package/chunks/{chunk-IJKTMLBE.js → chunk-FIKYKQOO.js} +1 -1
- package/chunks/{chunk-BNMF3K5X.js → chunk-FKET6VOO.js} +52 -36
- package/chunks/{chunk-Z7TGYN5F.js → chunk-FROAFEFB.js} +2 -2
- package/chunks/{chunk-MZS7GEC7.js → chunk-FTF2YIZ5.js} +1 -1
- package/chunks/{chunk-Z7VOMGDC.js → chunk-FTJMWDND.js} +0 -24
- package/chunks/{chunk-43UYNAWX.js → chunk-G6FECKTJ.js} +2 -2
- package/chunks/{chunk-7UYV53BC.js → chunk-GIHXH2KO.js} +1 -1
- package/chunks/{chunk-V4QXXQJ2.js → chunk-H4LCV44K.js} +2 -2
- package/chunks/{chunk-LXIBMVRN.js → chunk-H5WQZTAW.js} +13 -7
- package/chunks/{chunk-Z4X5MTRT.js → chunk-HCOBAG2L.js} +2 -4
- package/chunks/{chunk-RJC5EIKY.js → chunk-HHQJANFM.js} +3 -3
- package/chunks/{chunk-7JPW6IYH.js → chunk-HVC3PNVC.js} +1 -1
- package/chunks/{chunk-TRZTNIQ6.js → chunk-I6LYRJPB.js} +2 -2
- package/chunks/{chunk-E55H6BZ7.js → chunk-ICURCKIU.js} +1335 -119
- package/chunks/{chunk-66KDY3LV.js → chunk-IJMEPQ5N.js} +2 -2
- package/chunks/{chunk-4HV6HH33.js → chunk-ISKH4QX3.js} +9 -9
- package/chunks/{chunk-6CGL7E7G.js → chunk-IZDKYNKN.js} +2 -2
- package/chunks/{chunk-A7YP63XN.js → chunk-J7SS77YW.js} +5 -5
- package/chunks/{chunk-XDFHY4R3.js → chunk-JCMS65DJ.js} +2 -2
- package/chunks/{chunk-6LFJEACX.js → chunk-JHDPOPQG.js} +7 -7
- package/chunks/{chunk-WKK5BQNP.js → chunk-JHYH6PYQ.js} +43 -420
- package/chunks/{chunk-PFCQ62V4.js → chunk-JWDMKJG5.js} +6 -6
- package/chunks/{chunk-6IUNAPLR.js → chunk-K5KXUXWC.js} +1 -1
- package/chunks/{chunk-Y6LSMB6J.js → chunk-K6CTN5TU.js} +1 -1
- package/chunks/{chunk-G34IR3D6.js → chunk-KEIMKAM4.js} +26 -109
- package/chunks/{chunk-JHS74YAB.js → chunk-KID24ZFN.js} +1 -1
- package/chunks/{chunk-EFUM7RVY.js → chunk-KJO2LBUK.js} +942 -16
- package/chunks/{chunk-B7CDU2SL.js → chunk-KYWTPLBJ.js} +17 -20
- package/chunks/chunk-LGO7DEXL.js +1186 -0
- package/chunks/{chunk-P2SU6ZTI.js → chunk-LUEHOUHM.js} +1 -1
- package/chunks/{chunk-P5GGM4KS.js → chunk-MAQ2W4IF.js} +3 -3
- package/chunks/{chunk-RIEFGNTP.js → chunk-MVDPFLWM.js} +207 -43
- package/chunks/{chunk-5PA6UEYA.js → chunk-MZCJWS5Y.js} +1 -1
- package/chunks/{chunk-BGXZBI5B.js → chunk-N4X7G4J2.js} +2 -1
- package/chunks/{chunk-BBWV7ONL.js → chunk-NEBSNUMX.js} +6 -6
- package/chunks/{chunk-3SGB2UHX.js → chunk-NENQE7VH.js} +23 -11
- package/chunks/{chunk-SJ3ZUWFK.js → chunk-NHDNYMBU.js} +4 -4
- package/chunks/{chunk-K2NQPH5D.js → chunk-OJEMXKA4.js} +3 -3
- package/chunks/{chunk-QP4C6WCE.js → chunk-PI6HYGBE.js} +2 -2
- package/chunks/{chunk-OIP7C4FE.js → chunk-PO6YCWIQ.js} +4 -4
- package/chunks/{chunk-SAH4BD2J.js → chunk-PQEISIKS.js} +67 -0
- package/chunks/{chunk-4MQEPP3Y.js → chunk-PQZBDDNG.js} +5 -119
- package/chunks/{chunk-SMPR7SPO.js → chunk-QJNDUTOL.js} +45 -239
- package/chunks/{chunk-L2M46FP5.js → chunk-QYMAKPY5.js} +5 -5
- package/chunks/{chunk-JVPFTDBK.js → chunk-RFIDDFAL.js} +1 -1
- package/chunks/{chunk-JSC3H3TD.js → chunk-RZKOA4JE.js} +14 -6
- package/chunks/{chunk-CPGJJJLU.js → chunk-SEDFP3ZI.js} +1 -1
- package/chunks/chunk-SEONHUS3.js +275 -0
- package/chunks/{chunk-ZGXYO7DY.js → chunk-SS4MRMKE.js} +122 -13
- package/chunks/{chunk-T32W2JHI.js → chunk-SS5SDCD3.js} +2 -2
- package/chunks/{chunk-MIIVI25Q.js → chunk-ST5V3ZOC.js} +2 -2
- package/chunks/{chunk-4K7NQDCG.js → chunk-T4EFG2P5.js} +18 -9
- package/chunks/{chunk-TWSKM647.js → chunk-T7KMERIX.js} +1 -1
- package/chunks/{chunk-BAJKAAOY.js → chunk-TGJ2PKCW.js} +4315 -1386
- package/chunks/{chunk-6LFTG244.js → chunk-TU6WVK67.js} +15 -5
- package/chunks/{chunk-T3WXYEZ4.js → chunk-U54AYGEC.js} +38 -5
- package/chunks/{chunk-CSMI4FP5.js → chunk-UAOTD2BN.js} +1 -1
- package/chunks/{chunk-CCBZDVUA.js → chunk-UI4DXRZW.js} +33 -20
- package/chunks/{chunk-JCQD3INC.js → chunk-URE3QBBB.js} +1 -1
- package/chunks/chunk-UVY67MSH.js +205 -0
- package/chunks/{chunk-Y3QL45LS.js → chunk-V4264FEG.js} +8 -8
- package/chunks/{chunk-R4PMVSR5.js → chunk-VBCPNIQD.js} +18 -20
- package/chunks/{chunk-Q26AYA62.js → chunk-VKCJPNGU.js} +2 -2
- package/chunks/{chunk-IOPCFOTF.js → chunk-VKIGT4OG.js} +2 -2
- package/chunks/{chunk-3DXFGHAJ.js → chunk-VNMZLAVG.js} +1 -1
- package/chunks/{chunk-FY76G3G5.js → chunk-W3CY4QIO.js} +4 -4
- package/chunks/{chunk-O2UN57NX.js → chunk-W4XG7IZ4.js} +19 -2
- package/chunks/{chunk-C6K43ZDE.js → chunk-W7HH77GN.js} +5 -5
- package/chunks/{chunk-2NYCN6F2.js → chunk-WD3WSEW3.js} +43 -26
- package/chunks/chunk-WLEYH7CD.js +332 -0
- package/chunks/{chunk-PKAYJDB3.js → chunk-WNPDGUJO.js} +21 -2
- package/chunks/{chunk-IZIVM7LZ.js → chunk-WXEA74YB.js} +1 -1
- package/chunks/{chunk-YRLW2MSX.js → chunk-XBVNNDPK.js} +11 -4
- package/chunks/{chunk-HVQ3B7FF.js → chunk-Y5S7LBOZ.js} +43 -6
- package/chunks/{chunk-AGR5UROZ.js → chunk-YN44TEOZ.js} +17 -29
- package/chunks/{chunk-DZWPESIF.js → chunk-Z44FUM77.js} +3 -3
- package/chunks/{chunk-XDLEZ5HX.js → chunk-ZZUKP7HV.js} +1 -1
- package/chunks/{config-utils-BBOCOGZW.js → config-utils-NOCNFTQP.js} +42 -41
- package/chunks/{contextCommand-EET67MQ2.js → contextCommand-DH2NOQBI.js} +39 -40
- package/chunks/{core-runtime-677KFX6Q.js → core-runtime-OLW4OXMV.js} +43 -44
- package/chunks/{create-sub-session-JKZAYZX7.js → create-sub-session-ZCGPQTIE.js} +37 -38
- package/chunks/{daemon-MJQUO7RA.js → daemon-3GNHB3M2.js} +495 -7
- package/chunks/{daemon-git-worktree-guard-6MVAAZZZ.js → daemon-git-worktree-guard-SHIU7MPJ.js} +36 -37
- package/chunks/{daemon-status-provider-RFKZOK3S.js → daemon-status-provider-WECDBDF7.js} +45 -46
- package/chunks/{daemon-trust-policy-DRZPFB4Q.js → daemon-trust-policy-MX4OYXF3.js} +44 -45
- package/chunks/{daemon-trust-policy-monitor-B5U6TQX5.js → daemon-trust-policy-monitor-73WXIKNL.js} +44 -45
- package/chunks/{deferred-core-runtime-BBVIOP24.js → deferred-core-runtime-BKS7O3D6.js} +36 -37
- package/chunks/{dist-DJBNNPLN.js → dist-4WXLCBDR.js} +1 -1
- package/chunks/{dist-TJUDJTCB.js → dist-5VXFRTWU.js} +280 -48
- package/chunks/{dist-QODVOVWI.js → dist-6BPYWHVD.js} +31 -30
- package/chunks/{dist-ZBVOXSKF.js → dist-GFN5DCBX.js} +74 -65
- package/chunks/{dist-SATKXKUR.js → dist-HZNT6GQS.js} +1 -1
- package/chunks/{dist-ILDBUWDB.js → dist-LVZCXVPF.js} +1 -1
- package/chunks/{dist-7CKN54NL.js → dist-N6W6E753.js} +71 -64
- package/chunks/{dist-4Q7NTUNB.js → dist-NSV4NBPK.js} +31 -14
- package/chunks/{dist-UQUFZDIY.js → dist-SWQMYP2Q.js} +18 -16
- package/chunks/{earlyInputCapture-2JOMMNQ4.js → earlyInputCapture-5NNZSVL7.js} +36 -37
- package/chunks/{edit-BSV6YRVW.js → edit-IGHPT4I2.js} +27 -28
- package/chunks/{enter-worktree-MQXFFPKM.js → enter-worktree-35QCAAFP.js} +3 -3
- package/chunks/{enterPlanMode-PKNF35FE.js → enterPlanMode-LVTPJSAA.js} +32 -33
- package/chunks/{environment-MOZMPUHR.js → environment-HC2PPYDO.js} +40 -41
- package/chunks/{errors-DMPQVYJL.js → errors-VCWSG25A.js} +39 -40
- package/chunks/{exit-worktree-L344UY7K.js → exit-worktree-XQD6D543.js} +3 -3
- package/chunks/{exitPlanMode-UE4FGCY4.js → exitPlanMode-RHI2K2O7.js} +27 -28
- package/chunks/{fast-path-773PV7PU.js → fast-path-IQNCJOPE.js} +4 -4
- package/chunks/{fast-path-settings-XMFBYFUH.js → fast-path-settings-XH426LUU.js} +3 -3
- package/chunks/{glob-CZHOWUEA.js → glob-EANAXPNR.js} +27 -28
- package/chunks/{goal-tools-YZQJXTGH.js → goal-tools-PTD3MBA7.js} +2 -1
- package/chunks/{grep-5GPICQBU.js → grep-3REG7TO6.js} +4 -2
- package/chunks/{handleAutoUpdate-SGXKTQM6.js → handleAutoUpdate-PVVFLDQ4.js} +41 -42
- package/chunks/{i18n-B42HKHKH.js → i18n-VOKX5QIF.js} +38 -39
- package/chunks/{image-gen-HAYOEQ4O.js → image-gen-J6FDGUZP.js} +4 -6
- package/chunks/{initializer-FB66WYR3.js → initializer-SZVVTGZL.js} +44 -45
- package/chunks/{installationInfo-Y7AULNMX.js → installationInfo-R22453J5.js} +37 -38
- package/chunks/{list-2HWGSVRA.js → list-LK5M5W2N.js} +47 -48
- package/chunks/{gemini-IP4FJAP5.js → llm-6RQJUVIS.js} +89 -85
- package/chunks/{geminiContentGenerator-PUNEBWJW.js → llm-content-generator-Q7JJDSJR.js} +25 -25
- package/chunks/{loadedSettingsAdapter-7Y7IEI6T.js → loadedSettingsAdapter-KF2ZPSPG.js} +44 -45
- package/chunks/{loggingContentGenerator-2GGZNGLG.js → loggingContentGenerator-SBCIJG2J.js} +307 -27
- package/chunks/{managed-npm-update-5TEV2E3J.js → managed-npm-update-UG324XFY.js} +37 -38
- package/chunks/{mcp-QGG5NMJJ.js → mcp-PUSCFGS5.js} +44 -45
- package/chunks/{monitor-FI7PY36Z.js → monitor-RJW5AP64.js} +27 -28
- package/chunks/{nonInteractiveCli-4LO2TL72.js → nonInteractiveCli-OIXN4WSR.js} +82 -81
- package/chunks/{notebook-edit-TPGMGBST.js → notebook-edit-5MWEIMS2.js} +27 -28
- package/chunks/{open-with-auth-4UI3KHUR.js → open-with-auth-YN3QZHVM.js} +1 -1
- package/chunks/{openaiContentGenerator-SUCYANUZ.js → openaiContentGenerator-AGTNYSCJ.js} +13 -15
- package/chunks/{pidfile-JMF2CLMY.js → pidfile-LTA6NT3P.js} +36 -37
- package/chunks/process-registry-OAEG6WGC.js +662 -0
- package/chunks/{processUtils-IQZBYWSB.js → processUtils-GY3Q66CJ.js} +2 -2
- package/chunks/{prompt-terminal-ledger-DCZO6S7C.js → prompt-terminal-ledger-3QS6TCMF.js} +37 -38
- package/chunks/{qwenContentGenerator-J4TXFGJT.js → qwenContentGenerator-NU6PCDA7.js} +31 -32
- package/chunks/{qwenOAuth2-RF33DNZW.js → qwenOAuth2-OF5WRBQT.js} +4 -6
- package/chunks/{read-file-QE2B5FTX.js → read-file-DTQL5V62.js} +5 -5
- package/chunks/{record-artifact-RZGZBENU.js → record-artifact-VW23GS4F.js} +2 -2
- package/chunks/{report-findings-Q3SYKKW5.js → report-findings-AO5VYFLR.js} +7 -3
- package/chunks/{resumeHistoryUtils-CZ4JRDVW.js → resumeHistoryUtils-PZ4BER55.js} +40 -41
- package/chunks/{ripGrep-R6B6HWPX.js → ripGrep-A2FGBZGY.js} +7 -7
- package/chunks/{run-qwen-serve-TPHZMSXJ.js → run-qwen-serve-AESOSKFC.js} +271 -86
- package/chunks/{runtime-TTIGSBM4.js → runtime-YQHSEKG4.js} +49 -50
- package/chunks/{scheduled-tasks-QB4ZVUQS.js → scheduled-tasks-XG6KK6NY.js} +42 -43
- package/chunks/{scheduler-YRUG22M7.js → scheduler-I4WKXWRZ.js} +38 -39
- package/chunks/{sdk-exporters-http-KCJ4ZFG7.js → sdk-exporters-http-TTU2CHBU.js} +1 -1
- package/chunks/{sdk-impl-HLSEDAEP.js → sdk-impl-UUMVYMAL.js} +10 -4
- package/chunks/{send-message-Y5I6NYAM.js → send-message-AJ4OCUBV.js} +18 -2
- package/chunks/{serve-MXXCDAQN.js → serve-MQDTVC7X.js} +44 -45
- package/chunks/{server-DFUSSSHI.js → server-L5ETIKEW.js} +4153 -3351
- package/chunks/{session-3TEHNENZ.js → session-LKKXRUJM.js} +87 -86
- package/chunks/session-pr-refresh-5OWA6MC2.js +365 -0
- package/chunks/{settings-VOZYKLTT.js → settings-S6KG7JST.js} +43 -44
- package/chunks/{shell-6RTKZVMI.js → shell-JEQE5AHC.js} +27 -28
- package/chunks/{skill-FEOKFX26.js → skill-QEGMZXKI.js} +58 -14
- package/chunks/{skill-settings-VA4XVYVL.js → skill-settings-EVY7QF4H.js} +44 -45
- package/chunks/{spawnChannel-F6WVP723.js → spawnChannel-AQP72WPN.js} +38 -39
- package/chunks/{standalone-update-RGILUQVK.js → standalone-update-JUJA4BKV.js} +39 -40
- package/chunks/{startInteractiveUI-WHJPFOGH.js → startInteractiveUI-5ZMSJZ3J.js} +408 -338
- package/chunks/{stdioHelpers-7A2EE64Z.js → stdioHelpers-AY6XCDY2.js} +3 -1
- package/chunks/{task-create-TMSV7RD5.js → task-create-QN4LYRSE.js} +3 -3
- package/chunks/{task-list-W55RBFRX.js → task-list-JPLGK45U.js} +2 -2
- package/chunks/{task-update-N536I4GQ.js → task-update-IWEOJFV2.js} +3 -3
- package/chunks/{team-create-QYSWCYCL.js → team-create-ZEGP7KVD.js} +27 -28
- package/chunks/{team-delete-FJRFX33M.js → team-delete-RZVVSGCY.js} +2 -2
- package/chunks/{team-plan-approval-P7DAD644.js → team-plan-approval-SXWT2WZN.js} +27 -28
- package/chunks/{terminal-image-renderer-SMQE46UJ.js → terminal-image-renderer-42B6N55E.js} +36 -37
- package/chunks/{theme-manager-RFO5WWFF.js → theme-manager-DDYUBC25.js} +36 -37
- package/chunks/{tool-search-F2EMIAPV.js → tool-search-GDDBA4X4.js} +9 -9
- package/chunks/{total-session-admission-HTVTP4BS.js → total-session-admission-6MYP4GBA.js} +40 -41
- package/chunks/{trustedFolders-7OCNMUQE.js → trustedFolders-LPEIY3GE.js} +38 -39
- package/chunks/{types-WYCFCEHR.js → types-HKLPXZB3.js} +1 -3
- package/chunks/{update-relaunch-4GF3OXMB.js → update-relaunch-BOIIZNT3.js} +6 -6
- package/chunks/{updateCheck-7QBDXZRT.js → updateCheck-KSVHYJYE.js} +40 -41
- package/chunks/{useAutoAcceptIndicator-UI4SNL2O.js → useAutoAcceptIndicator-43D2A4ZN.js} +46 -47
- package/chunks/{validateNonInterActiveAuth-BPPA563H.js → validateNonInterActiveAuth-WSD4SOIM.js} +79 -78
- package/chunks/{version-ANP4TS6O.js → version-B4CM7RNG.js} +1 -1
- package/chunks/{web-fetch-QJADSAH3.js → web-fetch-MOHILUZL.js} +8 -10
- package/chunks/{web-search-7TTQKEKM.js → web-search-G4HIMY2V.js} +5 -7
- package/chunks/{web-shell-static-A6QMUNNV.js → web-shell-static-HNB4FDOE.js} +2 -2
- package/chunks/{workflow-5XN6XSOT.js → workflow-H3PCYU5F.js} +50 -60
- package/chunks/{workspace-providers-status-PDFZWL5Q.js → workspace-providers-status-AAX7VWMT.js} +48 -49
- package/chunks/{workspace-registration-store-XKVW2YVH.js → workspace-registration-store-YTHZ6SL4.js} +1 -1
- package/chunks/{workspace-registry-23R7XRB5.js → workspace-registry-URHGBL4U.js} +40 -41
- package/chunks/{workspace-service-MUYO2QIC.js → workspace-service-XJMSLRCU.js} +49 -53
- package/chunks/{workspace-skills-status-IKECTOOQ.js → workspace-skills-status-JGEDANNT.js} +47 -48
- package/chunks/{workspace-trust-reconciler-KLGOB53D.js → workspace-trust-reconciler-ZHI5TDYB.js} +48 -49
- package/chunks/{write-file-GGRBB5TZ.js → write-file-5O4S63L6.js} +29 -30
- package/chunks/{zoom-image-6ASG6J4C.js → zoom-image-N2IBUVXE.js} +5 -5
- package/cli.js +128 -91
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-uS-vtfs3.js → abnfDiagram-VCTEODGH-OJQpqC9m.js} +1 -1
- package/web-shell/assets/{arc-BSTnk5pu.js → arc-BxH0YR17.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DCMyiqzy.js → architectureDiagram-5GKGNRK7-CxyWiGfF.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-C7_gt0r1.js → blockDiagram-NRAW4CY4-DukXbJQ7.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BeQg2L8B.js → c4Diagram-UCG6FXSJ-DvS1T6pK.js} +1 -1
- package/web-shell/assets/channel-Dbbg7P-u.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DnV9bKBe.js → chunk-2Q5K7J3B-qvqfJ7VZ.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-rT1GAcT7.js → chunk-5VM5RSS4-BJ3kJYte.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-BcgSxqGA.js → chunk-F27PBJKO-BYPVESil.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Bw1ZhyZq.js → chunk-G27WJ6UU-B4UYFElk.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-D4iDw-96.js → chunk-JWPE2WC7-8zGKVNUU.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D3MB3GTZ.js → chunk-LCL6LL3I-CbaHONpI.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Cep2ndrS.js → chunk-POPQ4Y6H-f8kAjzlF.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-BuahMHJc.js → chunk-SVP7TREG-Dm8ahq7K.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BdujIvJY.js → chunk-XXDRQBXY-yrcLzv8z.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-cDYs8iT0.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-cDYs8iT0.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CGLLUbF8.js → cose-bilkent-JH36ORCC-DN1C22IH.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-D6kDsRSh.js → cynefin-OW5HDTMX-B2oF7XD_.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CCy78qZx.js → cynefinDiagram-5FMLGOSQ-DGgIKpiM.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-D5gJuJsf.js → dagre-3AP2YEHR-BHKawzoP.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-ZwEZ5W__.js → diagram-S7CK7UJ4-6UgKqreR.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-B036APjv.js → diagram-UQ7AKVKN-BXJbPJ6F.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-BfDJ57Fq.js → diagram-VSXAHHWV-DVnYFPkS.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-Wha0p5rT.js → diagram-VX7I27RA-CjBoC0Rq.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-L20bz2K1.js → diagram-Z3DM3KII-KZdUceQT.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-D1ZM0Cp7.js → ebnfDiagram-PWID7BFC-5UekGScM.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CMtA19v8.js → erDiagram-SSCWMZ5O-TRWexoj1.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-D96m326S.js → flowDiagram-A5DVABFB-Di5bhBVo.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BuHiYG2o.js → ganttDiagram-EL5Y4UJY-DpJUJ8Dp.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Ck3NmkSw.js → gitGraphDiagram-WWUBYQGX-b08xIx2C.js} +1 -1
- package/web-shell/assets/index-BvDpDHTN.css +36 -0
- package/web-shell/assets/index-Cg60lhnI.js +1913 -0
- package/web-shell/assets/{index-CBGz4Qjl.js → index-n6dFH09O.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-B6DAOyXe.js → infoDiagram-RXCK75RN-Cz14FAt7.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-Bpg-joFo.js → ishikawaDiagram-5VMMS53U-7nxp2bIU.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BclrHzGa.js → journeyDiagram-EYS64GPL-CjL47fk0.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-5gJzNTYG.js → kanban-definition-3QL26DDD-CWFl-mHs.js} +1 -1
- package/web-shell/assets/{layout-CEz_1L8z.js → layout-BUP1BcwB.js} +1 -1
- package/web-shell/assets/{linear-CBjTq9Hc.js → linear-CqbwqSbW.js} +1 -1
- package/web-shell/assets/{mermaid.core-Dzhbxx_I.js → mermaid.core-C_50HLol.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DQdVqlBF.js → mindmap-definition-FBJOCRG2-DbyD_AoU.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-D1JZlYXL.js → pegDiagram-XKGWAZYB-VozWyqyY.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-BmkpYL0w.js → pieDiagram-E7YTZNPT-O7EKamBL.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DRvD6co5.js → quadrantDiagram-AXDQQJYC-DOmPZxHg.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-CEdjDuoo.js → railroadDiagram-O6MQD6OU-ElyfC2zE.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BCHG-ie8.js → requirementDiagram-EFPCY7ZU-DbnqPbzR.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-C9cZMnye.js → sankeyDiagram-P5KCCOFB-yPWliSHr.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DYHRV4zL.js → sequenceDiagram-WJ2MYXX4-BImQFomC.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DlK21aye.js → sizeCapture-X5ZJPWSS-DEvqeEHo.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BrmZssvk.js → stateDiagram-HBIQ2CUA-BbLtiF9u.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DGtlzdpx.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-D9xfcayR.js → swimlanes-XN3QIQJK-RFewDF6v.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CITCVFdx.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-D4gdDL_d.js → timeline-definition-24CTP7MA-DF4L3-UR.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DdhIExjI.js → vennDiagram-4TSXK5OY-BtlSJXaA.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C9RS_Zof.js → wardleyDiagram-VM6X3IG4-C8ogG8Fh.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-orRgmxWk.js → xychartDiagram-S5SC5T6Z-C5QVfsGQ.js} +1 -1
- package/web-shell/index.html +3 -3
- package/chunks/chunk-7DJCPZE3.js +0 -945
- package/chunks/chunk-J2OSJFP3.js +0 -202
- package/chunks/chunk-K2OJUPOE.js +0 -78
- package/chunks/chunk-P3QQPMQA.js +0 -19
- package/chunks/chunk-T26EAKDL.js +0 -13
- package/chunks/process-registry-PMJOA5CO.js +0 -172
- package/web-shell/assets/channel-CENAhErJ.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CM6FArGH.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CM6FArGH.js +0 -1
- package/web-shell/assets/index-8hXIpvo4.js +0 -1865
- package/web-shell/assets/index-DclEv91i.css +0 -5
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-B2Q7XDaE.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DpZPOSbX.js +0 -8
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-5O2XNYP6.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
9
|
+
|
|
10
|
+
// packages/cli/src/commands/review/lib/remote-match.ts
|
|
11
|
+
init_esbuild_shims();
|
|
12
|
+
function normalizeSegment(value) {
|
|
13
|
+
const v = value.toLowerCase();
|
|
14
|
+
return v.endsWith(".git") ? v.slice(0, -4) : v;
|
|
15
|
+
}
|
|
16
|
+
__name(normalizeSegment, "normalizeSegment");
|
|
17
|
+
var AONE_HOSTS = /* @__PURE__ */ new Set(["code.alibaba-inc.com", "gitlab.alibaba-inc.com"]);
|
|
18
|
+
function normalizeHostSpelling(host) {
|
|
19
|
+
return host.toLowerCase().replace(/:\d+$/, "").replace(/\.$/, "");
|
|
20
|
+
}
|
|
21
|
+
__name(normalizeHostSpelling, "normalizeHostSpelling");
|
|
22
|
+
function hostsEquivalent(a, b) {
|
|
23
|
+
const na = normalizeHostSpelling(a);
|
|
24
|
+
const nb = normalizeHostSpelling(b);
|
|
25
|
+
if (na === nb) return true;
|
|
26
|
+
return AONE_HOSTS.has(na) && AONE_HOSTS.has(nb);
|
|
27
|
+
}
|
|
28
|
+
__name(hostsEquivalent, "hostsEquivalent");
|
|
29
|
+
function isAoneCanonicalHost(host) {
|
|
30
|
+
if (!host) return false;
|
|
31
|
+
return AONE_HOSTS.has(normalizeHostSpelling(host));
|
|
32
|
+
}
|
|
33
|
+
__name(isAoneCanonicalHost, "isAoneCanonicalHost");
|
|
34
|
+
function isAoneHostFamily(host) {
|
|
35
|
+
if (!host) return false;
|
|
36
|
+
const h = host.toLowerCase().replace(/:\d+$/, "").replace(/\.$/, "");
|
|
37
|
+
return h === "gitlab.alibaba-inc.com" || h === "code.alibaba-inc.com" || h.endsWith(".alibaba-inc.com");
|
|
38
|
+
}
|
|
39
|
+
__name(isAoneHostFamily, "isAoneHostFamily");
|
|
40
|
+
function parseRemoteUrl(raw) {
|
|
41
|
+
const url = raw.trim();
|
|
42
|
+
if (url === "") return null;
|
|
43
|
+
let host;
|
|
44
|
+
let pathPart;
|
|
45
|
+
const schemeIdx = url.indexOf("://");
|
|
46
|
+
if (schemeIdx !== -1) {
|
|
47
|
+
let parsed;
|
|
48
|
+
try {
|
|
49
|
+
parsed = new URL(url);
|
|
50
|
+
} catch {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
if (parsed.hostname === "") return null;
|
|
54
|
+
host = parsed.hostname;
|
|
55
|
+
pathPart = parsed.pathname;
|
|
56
|
+
} else {
|
|
57
|
+
const colonIdx = url.indexOf(":");
|
|
58
|
+
const slashIdx = url.indexOf("/");
|
|
59
|
+
if (colonIdx === -1 || slashIdx === -1 || colonIdx > slashIdx) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
host = url.slice(0, colonIdx);
|
|
63
|
+
const atIdx = host.lastIndexOf("@");
|
|
64
|
+
if (atIdx !== -1) host = host.slice(atIdx + 1);
|
|
65
|
+
pathPart = url.slice(colonIdx + 1);
|
|
66
|
+
}
|
|
67
|
+
const segments = pathPart.split("/").map((s) => s.trim()).filter((s) => s !== "");
|
|
68
|
+
if (segments.length < 2) return null;
|
|
69
|
+
if (host === "") return null;
|
|
70
|
+
return {
|
|
71
|
+
host: host.toLowerCase(),
|
|
72
|
+
owner: normalizeSegment(segments[segments.length - 2]),
|
|
73
|
+
repo: normalizeSegment(segments[segments.length - 1]),
|
|
74
|
+
groupPath: segments.map(normalizeSegment).join("/")
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
__name(parseRemoteUrl, "parseRemoteUrl");
|
|
78
|
+
function matchRemotes(remoteVOutput, { owner, repo, host = "github.com", groupPath }) {
|
|
79
|
+
const wantOwner = normalizeSegment(owner);
|
|
80
|
+
const wantRepo = normalizeSegment(repo);
|
|
81
|
+
const wantPath = groupPath ? groupPath.split("/").filter(Boolean).map(normalizeSegment) : void 0;
|
|
82
|
+
const wantHost = normalizeSegment(host.replace(/:\d+$/, ""));
|
|
83
|
+
const matched = [];
|
|
84
|
+
for (const line of remoteVOutput.split("\n")) {
|
|
85
|
+
const trimmed = line.trim();
|
|
86
|
+
if (trimmed === "" || !/\(fetch\)(\s+\[[^\]]*\])?$/.test(trimmed)) {
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
const nameMatch = trimmed.match(
|
|
90
|
+
/^(\S+)\s+(.*)\s+\(fetch\)(\s+\[[^\]]*\])?$/
|
|
91
|
+
);
|
|
92
|
+
if (!nameMatch) continue;
|
|
93
|
+
const identity = parseRemoteUrl(nameMatch[2]);
|
|
94
|
+
if (identity === null) continue;
|
|
95
|
+
if (!hostsEquivalent(identity.host, wantHost)) continue;
|
|
96
|
+
const remotePath = identity.groupPath.split("/");
|
|
97
|
+
const sameRepo = wantPath !== void 0 ? wantPath.length === remotePath.length && wantPath.every((seg, i) => seg === remotePath[i]) : identity.owner === wantOwner && identity.repo === wantRepo;
|
|
98
|
+
if (sameRepo) {
|
|
99
|
+
matched.push(nameMatch[1]);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return { matched };
|
|
103
|
+
}
|
|
104
|
+
__name(matchRemotes, "matchRemotes");
|
|
105
|
+
|
|
106
|
+
// packages/cli/src/commands/review/lib/platform/aone-client.ts
|
|
107
|
+
init_esbuild_shims();
|
|
108
|
+
import { execFileSync } from "node:child_process";
|
|
109
|
+
var A1_BINARY = "a1";
|
|
110
|
+
var MAX_RETRIES = 2;
|
|
111
|
+
var BASE_DELAY_MS = 3e3;
|
|
112
|
+
var A1_TIMEOUT_MS = 12e4;
|
|
113
|
+
var TRANSIENT_RE = /(HTTP\s?5\d\d|temporarily unavailable|connection (reset|timed? ?out)|ECONNRESET|network is unreachable)/i;
|
|
114
|
+
function sleepSync(ms) {
|
|
115
|
+
const sab = new SharedArrayBuffer(4);
|
|
116
|
+
Atomics.wait(new Int32Array(sab), 0, 0, ms);
|
|
117
|
+
}
|
|
118
|
+
__name(sleepSync, "sleepSync");
|
|
119
|
+
function execA1(args, retry) {
|
|
120
|
+
for (let attempt = 0; ; attempt++) {
|
|
121
|
+
try {
|
|
122
|
+
return execFileSync(A1_BINARY, args, {
|
|
123
|
+
encoding: "utf8",
|
|
124
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
125
|
+
maxBuffer: 64 * 1024 * 1024,
|
|
126
|
+
timeout: A1_TIMEOUT_MS
|
|
127
|
+
}).toString().replace(/\r\n/g, "\n").trim();
|
|
128
|
+
} catch (err) {
|
|
129
|
+
const e = err;
|
|
130
|
+
const rebuilt = new Error(
|
|
131
|
+
[
|
|
132
|
+
e.message ?? "",
|
|
133
|
+
e.stdout?.toString() ?? "",
|
|
134
|
+
e.stderr?.toString() ?? ""
|
|
135
|
+
].join("\n")
|
|
136
|
+
);
|
|
137
|
+
if (retry && attempt < MAX_RETRIES && TRANSIENT_RE.test(rebuilt.message)) {
|
|
138
|
+
const delay = BASE_DELAY_MS * (attempt + 1);
|
|
139
|
+
process.stderr.write(
|
|
140
|
+
`a1 transient error (attempt ${attempt + 1}/${MAX_RETRIES}), retrying in ${delay}ms\u2026
|
|
141
|
+
`
|
|
142
|
+
);
|
|
143
|
+
sleepSync(delay);
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
146
|
+
throw err;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
__name(execA1, "execA1");
|
|
151
|
+
function a1(...args) {
|
|
152
|
+
return execA1(args, true);
|
|
153
|
+
}
|
|
154
|
+
__name(a1, "a1");
|
|
155
|
+
function a1Once(...args) {
|
|
156
|
+
return execA1(args, false);
|
|
157
|
+
}
|
|
158
|
+
__name(a1Once, "a1Once");
|
|
159
|
+
function a1Json(...args) {
|
|
160
|
+
return JSON.parse(a1(...args, "--format", "json"));
|
|
161
|
+
}
|
|
162
|
+
__name(a1Json, "a1Json");
|
|
163
|
+
function a1JsonOnce(...args) {
|
|
164
|
+
const raw = a1Once(...args, "--format", "json");
|
|
165
|
+
try {
|
|
166
|
+
return JSON.parse(raw);
|
|
167
|
+
} catch {
|
|
168
|
+
return void 0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
__name(a1JsonOnce, "a1JsonOnce");
|
|
172
|
+
var A1_MIN_VERSION = "0.1.90";
|
|
173
|
+
function parseA1Version(out) {
|
|
174
|
+
const m = /version[^\d]*(\d+)\.(\d+)\.(\d+)/i.exec(out) ?? /(\d+)\.(\d+)\.(\d+)/.exec(out);
|
|
175
|
+
return m ? [Number(m[1]), Number(m[2]), Number(m[3])] : void 0;
|
|
176
|
+
}
|
|
177
|
+
__name(parseA1Version, "parseA1Version");
|
|
178
|
+
function a1VersionAtLeast(version, floor) {
|
|
179
|
+
for (let i = 0; i < 3; i++) {
|
|
180
|
+
if (version[i] !== floor[i]) return version[i] > floor[i];
|
|
181
|
+
}
|
|
182
|
+
return true;
|
|
183
|
+
}
|
|
184
|
+
__name(a1VersionAtLeast, "a1VersionAtLeast");
|
|
185
|
+
function execErrorCause(err) {
|
|
186
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
187
|
+
const lines = message.split("\n").map((l) => l.trim());
|
|
188
|
+
const candidates = /^(Command failed:|spawnSync |spawn )/.test(message) ? lines.slice(1) : lines;
|
|
189
|
+
return candidates.find(Boolean) ?? "";
|
|
190
|
+
}
|
|
191
|
+
__name(execErrorCause, "execErrorCause");
|
|
192
|
+
function aoneWhoamiAccount() {
|
|
193
|
+
let out;
|
|
194
|
+
try {
|
|
195
|
+
out = a1Json("auth", "whoami");
|
|
196
|
+
} catch (err) {
|
|
197
|
+
if (err instanceof SyntaxError) {
|
|
198
|
+
throw new Error("a1 auth whoami returned an unexpected shape");
|
|
199
|
+
}
|
|
200
|
+
throw err;
|
|
201
|
+
}
|
|
202
|
+
if (out === null || typeof out.account !== "string" || out.account.trim() === "") {
|
|
203
|
+
throw new Error("a1 auth whoami returned no account");
|
|
204
|
+
}
|
|
205
|
+
return out.account;
|
|
206
|
+
}
|
|
207
|
+
__name(aoneWhoamiAccount, "aoneWhoamiAccount");
|
|
208
|
+
function ensureAoneAuthenticated() {
|
|
209
|
+
let versionOut;
|
|
210
|
+
try {
|
|
211
|
+
versionOut = a1("--version");
|
|
212
|
+
} catch (err) {
|
|
213
|
+
const code = err.code;
|
|
214
|
+
if (code === "ENOENT" || code === "EACCES" || code === "ENOEXEC") {
|
|
215
|
+
throw new Error(
|
|
216
|
+
"a1 CLI not found on PATH or not executable \u2014 install the `a1` CLI first."
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
if (err.signal) {
|
|
220
|
+
process.stderr.write(
|
|
221
|
+
`WARNING: the a1 version probe timed out or was killed (check the network / a1 install) \u2014 the review provider requires a1 >= ${A1_MIN_VERSION}; continuing without a floor ruling.
|
|
222
|
+
`
|
|
223
|
+
);
|
|
224
|
+
} else {
|
|
225
|
+
const why = execErrorCause(err);
|
|
226
|
+
process.stderr.write(
|
|
227
|
+
`WARNING: the a1 version probe failed` + (why ? ` (${JSON.stringify(why.slice(0, 80))})` : "") + ` \u2014 the review provider requires a1 >= ${A1_MIN_VERSION}; continuing without a floor ruling.
|
|
228
|
+
`
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
if (versionOut !== void 0) {
|
|
233
|
+
const floor = parseA1Version(A1_MIN_VERSION);
|
|
234
|
+
const version = parseA1Version(versionOut);
|
|
235
|
+
if (version === void 0) {
|
|
236
|
+
process.stderr.write(
|
|
237
|
+
`WARNING: could not read the a1 version from ${JSON.stringify(versionOut.slice(0, 80))} \u2014 the review provider requires a1 >= ${A1_MIN_VERSION}; continuing.
|
|
238
|
+
`
|
|
239
|
+
);
|
|
240
|
+
} else if (!a1VersionAtLeast(version, floor)) {
|
|
241
|
+
throw new Error(
|
|
242
|
+
`a1 ${version.join(".")} is older than the ${A1_MIN_VERSION} this review provider requires \u2014 it depends on the comment-create flags and stable \`--format json\` output introduced there. Upgrade the a1 CLI (https://code.alibaba-inc.com/aone/a1) and retry.`
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
let raw;
|
|
247
|
+
try {
|
|
248
|
+
raw = a1("auth", "whoami", "--format", "json");
|
|
249
|
+
} catch (err) {
|
|
250
|
+
if (err.code === "ENOENT") {
|
|
251
|
+
throw new Error("a1 CLI not found on PATH \u2014 install the `a1` CLI first.");
|
|
252
|
+
}
|
|
253
|
+
const e = err;
|
|
254
|
+
if (e.signal) {
|
|
255
|
+
throw new Error(
|
|
256
|
+
"a1 auth check timed out or was killed \u2014 check the network / a1 install."
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
const cause = execErrorCause(err);
|
|
260
|
+
throw new Error(
|
|
261
|
+
`a1 auth check failed` + (cause ? ` \u2014 ${cause}` : "") + ` (if you have not logged in, run \`a1 auth login\`)`
|
|
262
|
+
);
|
|
263
|
+
}
|
|
264
|
+
try {
|
|
265
|
+
const out = JSON.parse(raw);
|
|
266
|
+
return typeof out.account === "string" ? out.account.trim() : "";
|
|
267
|
+
} catch {
|
|
268
|
+
return "";
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
__name(ensureAoneAuthenticated, "ensureAoneAuthenticated");
|
|
272
|
+
|
|
273
|
+
export {
|
|
274
|
+
hostsEquivalent,
|
|
275
|
+
isAoneCanonicalHost,
|
|
276
|
+
isAoneHostFamily,
|
|
277
|
+
parseRemoteUrl,
|
|
278
|
+
matchRemotes,
|
|
279
|
+
a1Once,
|
|
280
|
+
a1Json,
|
|
281
|
+
a1JsonOnce,
|
|
282
|
+
A1_MIN_VERSION,
|
|
283
|
+
parseA1Version,
|
|
284
|
+
a1VersionAtLeast,
|
|
285
|
+
execErrorCause,
|
|
286
|
+
aoneWhoamiAccount,
|
|
287
|
+
ensureAoneAuthenticated
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* @license
|
|
291
|
+
* Copyright 2026 Qwen Team
|
|
292
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
293
|
+
*/
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import {
|
|
4
4
|
TURN_INTERRUPTION_HISTORY_TAIL_COUNT,
|
|
5
5
|
detectTurnInterruption
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BFYGL2XL.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionService,
|
|
9
9
|
buildApiHistoryFromConversation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ECE3UYVO.js";
|
|
11
11
|
import {
|
|
12
12
|
init_esbuild_shims
|
|
13
13
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
customDeepMerge,
|
|
9
9
|
getSettingsSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RZKOA4JE.js";
|
|
11
11
|
import {
|
|
12
12
|
CONSOLIDATED_DISABLE_KEYS,
|
|
13
13
|
V1_INDICATOR_KEYS,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-IDS7MSUP.js";
|
|
23
23
|
import {
|
|
24
24
|
t
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CLWO3B77.js";
|
|
26
26
|
import {
|
|
27
27
|
SUPPORTED_LANGUAGES,
|
|
28
28
|
getLanguageNameFromLocale
|
|
@@ -31,15 +31,15 @@ import {
|
|
|
31
31
|
getHomeEnvFallbackVars,
|
|
32
32
|
loadEnvironment,
|
|
33
33
|
preResolveHomeEnvOverrides
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5ZJL3AIV.js";
|
|
35
35
|
import {
|
|
36
36
|
ENV_CORRUPTED_PATH,
|
|
37
37
|
ENV_WAS_RECOVERED
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MZCJWS5Y.js";
|
|
39
39
|
import {
|
|
40
40
|
isWorkspaceTrusted,
|
|
41
41
|
updateSettingsFilePreservingFormat
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-H4LCV44K.js";
|
|
43
43
|
import {
|
|
44
44
|
require_strip_json_comments
|
|
45
45
|
} from "./chunk-NPQ5ZKRP.js";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
publishPendingCompileCache,
|
|
10
10
|
reportRejectedLoaderKeys,
|
|
11
11
|
resetLoaderKeyRejectionReportingForTesting
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MZCJWS5Y.js";
|
|
13
13
|
import {
|
|
14
14
|
isWorkspaceTrusted
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H4LCV44K.js";
|
|
16
16
|
import {
|
|
17
17
|
require_main
|
|
18
18
|
} from "./chunk-5M6IDOMF.js";
|
|
@@ -563,7 +563,7 @@ var WorkspaceRegistrationStore = class {
|
|
|
563
563
|
return removed;
|
|
564
564
|
}
|
|
565
565
|
async update(mutate) {
|
|
566
|
-
const { atomicWriteFile } = await import("./deferred-core-runtime-
|
|
566
|
+
const { atomicWriteFile } = await import("./deferred-core-runtime-BKS7O3D6.js");
|
|
567
567
|
return withInProcessLock(this.filePath, async () => {
|
|
568
568
|
const lock = await acquireFileLock(this.filePath);
|
|
569
569
|
let committed = false;
|
|
@@ -32,13 +32,22 @@ var writeStderrLineSafe = /* @__PURE__ */ __name((message) => {
|
|
|
32
32
|
var clearScreen = /* @__PURE__ */ __name(() => {
|
|
33
33
|
console.clear();
|
|
34
34
|
}, "clearScreen");
|
|
35
|
+
var ignoreBrokenPipe = /* @__PURE__ */ __name(() => {
|
|
36
|
+
process.stdout.on("error", (err) => {
|
|
37
|
+
if (err.code === "EPIPE") process.stdout.destroy();
|
|
38
|
+
});
|
|
39
|
+
process.stderr.on("error", (err) => {
|
|
40
|
+
if (err.code === "EPIPE") process.stderr.destroy();
|
|
41
|
+
});
|
|
42
|
+
}, "ignoreBrokenPipe");
|
|
35
43
|
|
|
36
44
|
export {
|
|
37
45
|
writeStdoutLine,
|
|
38
46
|
writeStderrLine,
|
|
39
47
|
writeStdoutLineSafe,
|
|
40
48
|
writeStderrLineSafe,
|
|
41
|
-
clearScreen
|
|
49
|
+
clearScreen,
|
|
50
|
+
ignoreBrokenPipe
|
|
42
51
|
};
|
|
43
52
|
/**
|
|
44
53
|
* @license
|