@qwen-code/qwen-code 0.20.2-headless-image-routing.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/settings.md +5 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +23 -5
- package/bundled/qc-helper/docs/integration-github-action.md +9 -9
- package/bundled/review/SKILL.md +7 -3
- package/chunks/MaxSizedBox-5DPPWPGT.js +85 -0
- package/chunks/{StandaloneSessionPicker-PLQQB22E.js → StandaloneSessionPicker-BIRMPLRD.js} +66 -59
- package/chunks/{acp-startup-profiler-N3RHHXJ3.js → acp-startup-profiler-RV3IV562.js} +2 -2
- package/chunks/{acpAgent-AIVK2EM5.js → acpAgent-6J2U72PQ.js} +705 -182
- package/chunks/agent-6ODUANDO.js +81 -0
- package/chunks/agent-headless-7BYQTMHW.js +75 -0
- package/chunks/{anthropicContentGenerator-HGWAHO24.js → anthropicContentGenerator-75BKLTSP.js} +117 -43
- package/chunks/{artifact-tool-56T5IMBP.js → artifact-tool-Y5T7GG7F.js} +3 -3
- package/chunks/{askUserQuestion-E25OBIC2.js → askUserQuestion-2H6747FR.js} +3 -3
- package/chunks/bridge-ZUB64FAE.js +90 -0
- package/chunks/{build-GHIZ4MSZ.js → build-RV63TIRH.js} +2 -3
- package/chunks/{ca-N6VVUFVB.js → ca-25EDXPFZ.js} +2 -0
- package/chunks/{channel-worker-group-QZV2SP5U.js → channel-worker-group-2ZD7TVAT.js} +8 -7
- package/chunks/{channel-worker-manager-3GMAU45H.js → channel-worker-manager-4OA4BCGB.js} +190 -30
- package/chunks/{channel-worker-supervisor-QCXSXCRY.js → channel-worker-supervisor-V7KCFJTS.js} +7 -6
- package/chunks/{chunk-TYQMGACW.js → chunk-22C7BQ6D.js} +508 -10967
- package/chunks/chunk-2JZBVYTU.js +452 -0
- package/chunks/{chunk-H2XVO6NE.js → chunk-2MIN6GRR.js} +1 -1
- package/chunks/{chunk-4DWTDZGS.js → chunk-2NH6DYI4.js} +12 -12
- package/chunks/chunk-2SCDWPXI.js +246 -0
- package/chunks/{chunk-QE4KFTBS.js → chunk-2X55UKQE.js} +3 -3
- package/chunks/{chunk-QBUDF33N.js → chunk-3QMGYBFN.js} +1 -1
- package/chunks/{chunk-3OAKYHRG.js → chunk-3RN6GBKS.js} +1 -1
- package/chunks/{chunk-QR6U5QPP.js → chunk-3SJ43L4W.js} +4 -0
- package/chunks/chunk-46UV252V.js +128 -0
- package/chunks/{chunk-GHRSKGHF.js → chunk-4WIZGAH3.js} +7 -7
- package/chunks/{chunk-CAS7CB3T.js → chunk-55DJUCI2.js} +87 -29
- package/chunks/{chunk-QNLNLENL.js → chunk-5I2IWRSH.js} +2 -2
- package/chunks/{chunk-H24SOJIQ.js → chunk-5NBDS5S6.js} +147 -7
- package/chunks/{chunk-E4IMU4Y5.js → chunk-63P4EL5V.js} +1 -1
- package/chunks/chunk-6FGBXPWM.js +293 -0
- package/chunks/{chunk-FFFM6NJV.js → chunk-6GMVPFB2.js} +155 -73
- package/chunks/{chunk-KWK7UE6L.js → chunk-6OUGMXDC.js} +6 -6
- package/chunks/{chunk-QRUIS3DN.js → chunk-6PEXNQTX.js} +22 -1
- package/chunks/{chunk-FZPTCQY7.js → chunk-7JURR4JT.js} +1 -1
- package/chunks/{chunk-Q6NAKZTA.js → chunk-7MVVZO4N.js} +4 -4
- package/chunks/{chunk-6ZBPS62S.js → chunk-7ZCNENPP.js} +1 -1
- package/chunks/{chunk-6X4GWOPW.js → chunk-A5L3JMUA.js} +1 -1
- package/chunks/{chunk-YO2XRXY6.js → chunk-ACY3A37B.js} +3 -3
- package/chunks/chunk-AMDSOFFV.js +10860 -0
- package/chunks/{chunk-RV4C2ZFG.js → chunk-BIQWWWJN.js} +1 -1
- package/chunks/{chunk-ZHERRXZJ.js → chunk-BJX6ZSUK.js} +4 -4
- package/chunks/chunk-BK2UNYWD.js +29 -0
- package/chunks/{chunk-FRPDJNK3.js → chunk-BKHWX6I2.js} +3 -3
- package/chunks/chunk-BPJSQIJX.js +100 -0
- package/chunks/{chunk-M7WBGLYP.js → chunk-BULDBTYC.js} +2 -0
- package/chunks/{chunk-ZDP2Y2AL.js → chunk-CIKQ7KKO.js} +4625 -8645
- package/chunks/{chunk-PEJWA3QQ.js → chunk-D3UEZIQH.js} +4 -2
- package/chunks/chunk-DHHOYAPR.js +1462 -0
- package/chunks/{chunk-LESHKUWF.js → chunk-DLWL3Z7A.js} +5 -3
- package/chunks/{chunk-XHATNRQA.js → chunk-DP3IHZGG.js} +0 -2
- package/chunks/chunk-E5TUC6CA.js +479 -0
- package/chunks/{chunk-JC26SJ5Y.js → chunk-EBJQ6AXW.js} +13 -12
- package/chunks/{chunk-RCWKCN2Z.js → chunk-EPDRMGT4.js} +164 -17
- package/chunks/{chunk-FUFCALSJ.js → chunk-ETSW4KLJ.js} +2 -2
- package/chunks/{chunk-KHOVYUHX.js → chunk-FNQ6T3CV.js} +20 -3
- package/chunks/{chunk-SP5WRGVG.js → chunk-FQK6JAFG.js} +72 -23
- package/chunks/{chunk-NWZY2SPY.js → chunk-FSITMZJH.js} +8 -8
- package/chunks/{chunk-6RLROE6G.js → chunk-GLWP3FDB.js} +80 -15
- package/chunks/{chunk-KPBVP6SL.js → chunk-GSN55ZRI.js} +5 -5
- package/chunks/{chunk-MLYGPZGU.js → chunk-H4SBPHSA.js} +3 -3
- package/chunks/chunk-H5FFA6TH.js +902 -0
- package/chunks/{chunk-TDKQP3M6.js → chunk-HIJQF5B5.js} +1 -1
- package/chunks/{chunk-5G3ZVADU.js → chunk-IJTOWOD7.js} +17 -6
- package/chunks/chunk-IKCX4CCL.js +469 -0
- package/chunks/{chunk-LPEONXNV.js → chunk-IKYJHJNF.js} +3 -3
- package/chunks/{chunk-DTZY2SH2.js → chunk-IO3IX5Q4.js} +1 -1
- package/chunks/{chunk-RS7MT2QG.js → chunk-IPUUTYMV.js} +2 -4
- package/chunks/{chunk-XU457J4V.js → chunk-IRH27ZC2.js} +2 -2
- package/chunks/{chunk-46DK772E.js → chunk-J24WCGIN.js} +4 -4
- package/chunks/{chunk-4LVZNIDO.js → chunk-J56UI34H.js} +4 -13
- package/chunks/{chunk-TJTKSVIV.js → chunk-JLU636DO.js} +5 -1
- package/chunks/{chunk-RKWX4CMO.js → chunk-JVPM2ULZ.js} +6 -6
- package/chunks/{chunk-ENPCQK44.js → chunk-JXJFVC6E.js} +37 -18
- package/chunks/{chunk-NABLFI57.js → chunk-JZA3JUDJ.js} +1 -1
- package/chunks/{chunk-CGLQAVZE.js → chunk-K36B6G2O.js} +5 -5
- package/chunks/{chunk-GPSKDNEE.js → chunk-K4XWPEWB.js} +4 -4
- package/chunks/{chunk-QOZOIPSF.js → chunk-KIM5GUMA.js} +650 -113
- package/chunks/{chunk-JZSM2IZ3.js → chunk-KMQ33DO4.js} +7 -5
- package/chunks/{chunk-E2UVIFI2.js → chunk-KRXPRVGL.js} +0 -1
- package/chunks/{chunk-WHGVTP7Q.js → chunk-L26JL52R.js} +3 -3
- package/chunks/{chunk-7Z6JQEL6.js → chunk-L5UHQJTJ.js} +1 -1
- package/chunks/{chunk-O2XSCRCS.js → chunk-LB6DUZ26.js} +259 -67
- package/chunks/chunk-LEH5C7FV.js +232 -0
- package/chunks/{chunk-RWV32G2M.js → chunk-LH2BYDQ5.js} +6 -4
- package/chunks/{chunk-QKTHJXCS.js → chunk-LK7CHLVP.js} +79 -2
- package/chunks/{chunk-VRRF3GW5.js → chunk-LKEJ26GS.js} +11 -11
- package/chunks/{chunk-SQFXI7VK.js → chunk-LQIW3YFY.js} +227 -41
- package/chunks/chunk-LS77BEZP.js +405 -0
- package/chunks/{chunk-BSHD62QJ.js → chunk-M4FMGVY4.js} +3 -3
- package/chunks/{chunk-57FIIFJN.js → chunk-M5JM7OSF.js} +1 -1
- package/chunks/{chunk-7362QS5B.js → chunk-MB4MZHMJ.js} +80 -37
- package/chunks/{chunk-4K56OJFJ.js → chunk-MUP3T3AD.js} +1 -1
- package/chunks/{chunk-3HFNGB2O.js → chunk-MVSUYZDT.js} +4 -4
- package/chunks/{chunk-T5IO6FZ4.js → chunk-MZAXJAUM.js} +1 -1
- package/chunks/{chunk-QKNXKTZX.js → chunk-NH6KE4JX.js} +3 -3
- package/chunks/chunk-NIBLUX3Y.js +934 -0
- package/chunks/{chunk-OQB4EXO4.js → chunk-NL7LTRLR.js} +1 -1
- package/chunks/{chunk-CS2FSS7W.js → chunk-OFDOK3VM.js} +5 -5
- package/chunks/{chunk-LIZRAKPB.js → chunk-OHNBB4XR.js} +1 -1
- package/chunks/{chunk-MDZTPSXO.js → chunk-OKY7HXPG.js} +2 -2
- package/chunks/{chunk-NHDKSOEY.js → chunk-P3QQPMQA.js} +5 -5
- package/chunks/{chunk-7THPNISK.js → chunk-PC6JANNU.js} +5 -5
- package/chunks/{chunk-OTQ6PSZC.js → chunk-PHOF65IG.js} +3498 -1030
- package/chunks/{chunk-OQ5SYCPE.js → chunk-PJIZUQVC.js} +2 -2
- package/chunks/{chunk-5DTTYNB7.js → chunk-PQNHRFJC.js} +16 -3
- package/chunks/{chunk-YM3SZTH4.js → chunk-PR75REBZ.js} +18 -1
- package/chunks/{chunk-RECUEJ7B.js → chunk-PSOO6YXD.js} +18 -15
- package/chunks/{chunk-X6N25LXS.js → chunk-PWTZEM3C.js} +2 -2
- package/chunks/{chunk-5NJTNQUW.js → chunk-PWVFN2LF.js} +1 -1
- package/chunks/{chunk-7AUH6A4T.js → chunk-Q4M4MDQ4.js} +2 -2
- package/chunks/{chunk-EZPB6S2I.js → chunk-QAF7NMK7.js} +1 -1
- package/chunks/{chunk-5GI55PF5.js → chunk-R5AFZNQW.js} +5 -5
- package/chunks/{chunk-T5B5NQZX.js → chunk-RF3EXIHJ.js} +47 -60
- package/chunks/{chunk-4K7VDKAD.js → chunk-RHLZR4E5.js} +1 -1
- package/chunks/{chunk-TJDW42MV.js → chunk-RIBKPMRP.js} +220 -141
- package/chunks/{chunk-RVLZCXEE.js → chunk-RWTEFFPU.js} +82 -3
- package/chunks/{chunk-L5QZGCRH.js → chunk-RZIX2G32.js} +1 -1
- package/chunks/{chunk-LLKWRXSS.js → chunk-SQCQ4KO2.js} +350 -418
- package/chunks/{chunk-THJNPLI4.js → chunk-TARRHLLG.js} +1 -0
- package/chunks/{chunk-XCXYRDHB.js → chunk-TEHGS6UP.js} +47 -18
- package/chunks/{chunk-PQIVAWXN.js → chunk-TGILQ3YH.js} +8 -8
- package/chunks/{chunk-Q2YKNMLS.js → chunk-TOFQCPDC.js} +43 -10
- package/chunks/{chunk-L3KUB6XM.js → chunk-TPRQ7RZH.js} +586 -242
- package/chunks/{chunk-T4TZQJ7W.js → chunk-TWPJO254.js} +5 -16
- package/chunks/{chunk-HIP6TVWA.js → chunk-U7M2DMGW.js} +3 -3
- package/chunks/{chunk-ACW3VNUE.js → chunk-UDX5OBWR.js} +41 -9
- package/chunks/{chunk-LW2FUYBN.js → chunk-USTWD7QV.js} +6 -4
- package/chunks/{chunk-NPQDJGKU.js → chunk-UUUTRMI2.js} +1 -1
- package/chunks/chunk-UW5EOVUN.js +249 -0
- package/chunks/{chunk-6IL7KRLE.js → chunk-VAK25FTU.js} +1 -1
- package/chunks/{chunk-O4BHWVUD.js → chunk-VIA5XA4U.js} +5 -2
- package/chunks/{chunk-EBXZ2YGV.js → chunk-VRYUBFMC.js} +1 -1
- package/chunks/{chunk-TWVE5ZS5.js → chunk-VULLI6WQ.js} +172 -6
- package/chunks/{chunk-LNDD3IML.js → chunk-WCXCRJYB.js} +1 -1
- package/chunks/{chunk-2LI23QA6.js → chunk-X5XDDSSH.js} +1 -1
- package/chunks/{chunk-Q35QUZDQ.js → chunk-Y34KJKDC.js} +1 -1
- package/chunks/{chunk-7NR2AIK6.js → chunk-YBL3QUDD.js} +2 -2
- package/chunks/{chunk-H4AR2JQF.js → chunk-YH6G52F2.js} +3 -3
- package/chunks/{chunk-MBOJHHPI.js → chunk-YPE6A4GC.js} +2 -2
- package/chunks/{chunk-3EK5ZOUQ.js → chunk-YX324OPW.js} +1 -1
- package/chunks/{chunk-4PTLZ3NX.js → chunk-Z2BC6UJ5.js} +3 -3
- package/chunks/{chunk-QLJUC7TG.js → chunk-ZD6UTE4A.js} +1 -1
- package/chunks/{chunk-LX3COOXF.js → chunk-ZFDTEDCF.js} +6 -6
- package/chunks/chunk-ZJHVAS7M.js +289 -0
- package/chunks/{chunk-4OWXOUYF.js → chunk-ZNAUOR2I.js} +15 -12
- package/chunks/{chunk-T2L47JJK.js → chunk-ZOIFNCKL.js} +4 -4
- package/chunks/{computer-use-2VIV73WK.js → computer-use-SOQ4E3VX.js} +43 -35
- package/chunks/{config-utils-FYTBZLCJ.js → config-utils-7V7GGIW6.js} +3 -3
- package/chunks/contextCommand-JLHYA34Z.js +80 -0
- package/chunks/{create-sub-session-AZ77LBL3.js → create-sub-session-IWW2IZ2T.js} +3 -3
- package/chunks/{create-sub-session-XDHHC2P4.js → create-sub-session-QRJLW5BV.js} +43 -35
- package/chunks/{cron-create-KTWJM7QT.js → cron-create-YIID5XAW.js} +6 -6
- package/chunks/{cron-delete-2P3I5ULL.js → cron-delete-ZVHYCEP2.js} +5 -5
- package/chunks/{cron-list-PXDPGEDQ.js → cron-list-XEGS463Q.js} +5 -5
- package/chunks/{daemon-RAPSDJH7.js → daemon-YO6433NF.js} +350 -53
- package/chunks/daemon-status-provider-2233Q37D.js +89 -0
- package/chunks/{de-4IBXM7CN.js → de-HGRCYDEJ.js} +1 -0
- package/chunks/{dist-UIFWIFRO.js → dist-46NQKLTW.js} +2 -2
- package/chunks/{dist-XRYV6TJP.js → dist-AIKFMUKK.js} +50 -4
- package/chunks/{dist-XBJVSWS2.js → dist-BBLXMS3N.js} +14 -2
- package/chunks/{dist-OMW6WDEO.js → dist-F6IBUDR4.js} +40 -9
- package/chunks/{dist-PJLG2XYX.js → dist-WEAHOXDM.js} +1 -1
- package/chunks/{dist-OAV7LJGJ.js → dist-YFNEUWSE.js} +26 -2
- package/chunks/earlyInputCapture-A7NDU3PF.js +82 -0
- package/chunks/{edit-CS6SFEXC.js → edit-OBDSQURM.js} +43 -35
- package/chunks/{en-USMCCJAJ.js → en-MTWBNGDO.js} +15 -0
- package/chunks/{enter-worktree-LMAL75DY.js → enter-worktree-U6MRPQ2P.js} +43 -35
- package/chunks/{enterPlanMode-WVJB4DSS.js → enterPlanMode-BC5QUZZ2.js} +43 -35
- package/chunks/{environment-6YHC4JAJ.js → environment-W5UFC2CH.js} +46 -38
- package/chunks/errors-M7CLORXH.js +88 -0
- package/chunks/{exit-worktree-KPFD742L.js → exit-worktree-DGNYMECB.js} +43 -35
- package/chunks/{exitPlanMode-UEJS6CDY.js → exitPlanMode-GXTBWQAR.js} +43 -35
- package/chunks/{fast-path-G2N4NRCA.js → fast-path-JJZFJANL.js} +6 -6
- package/chunks/{fast-path-settings-DAOVFADC.js → fast-path-settings-WQJU2LAT.js} +2 -2
- package/chunks/{fr-WVHEBDDB.js → fr-45RLL55O.js} +1 -0
- package/chunks/{gemini-2MDVIOVT.js → gemini-QS36EBZV.js} +132 -102
- package/chunks/{geminiContentGenerator-ZXTDBMFR.js → geminiContentGenerator-AG4KB6CV.js} +14 -8
- package/chunks/{getMachineId-bsd-QFVLPUPT.js → getMachineId-bsd-V7W3GODC.js} +1 -1
- package/chunks/{getMachineId-darwin-DGMQQE2E.js → getMachineId-darwin-TDO75DQP.js} +1 -1
- package/chunks/{getMachineId-linux-R4Z6CSWC.js → getMachineId-linux-TF43WQT2.js} +1 -1
- package/chunks/{getMachineId-unsupported-Z3SBVBUV.js → getMachineId-unsupported-ZGUO3TXT.js} +1 -1
- package/chunks/{getMachineId-win-SCK5UFDT.js → getMachineId-win-ECFYZZFQ.js} +1 -1
- package/chunks/{glob-562XFLIZ.js → glob-V7R3PSK3.js} +43 -35
- package/chunks/{grep-MGEFBDQK.js → grep-QYPSK7OP.js} +43 -35
- package/chunks/handleAutoUpdate-6DBEZYPV.js +81 -0
- package/chunks/{i18n-R6HJENXA.js → i18n-VUJJZIMU.js} +44 -36
- package/chunks/image-gen-Z3VPGKRC.js +240 -0
- package/chunks/initializer-UWAK5U5O.js +86 -0
- package/chunks/installationInfo-6O2YAA52.js +80 -0
- package/chunks/{ja-KY4ROZTE.js → ja-B7DF7DFG.js} +1 -0
- package/chunks/{keychain-token-storage-6ACJDYIB.js → keychain-token-storage-MDTG3WRM.js} +3 -3
- package/chunks/{kittyProtocolDetector-HCNNKJTI.js → kittyProtocolDetector-MBRTDRBK.js} +5 -3
- package/chunks/list-GB4ESM3T.js +89 -0
- package/chunks/list-agents-5KJJHR6I.js +80 -0
- package/chunks/loadedSettingsAdapter-OT6JVQ7U.js +83 -0
- package/chunks/loggingContentGenerator-HS3S5H3Q.js +1077 -0
- package/chunks/{loop-wakeup-RNMRVA66.js → loop-wakeup-FXKNNYSY.js} +7 -7
- package/chunks/{ls-J2ZI5XYK.js → ls-NTK6VOQJ.js} +5 -5
- package/chunks/{lsp-UMS3NUB5.js → lsp-2JI24STP.js} +3 -3
- package/chunks/{managed-npm-update-4KNYSOYC.js → managed-npm-update-JYEMMXA3.js} +94 -38
- package/chunks/mcp-6DBDJPFU.js +83 -0
- package/chunks/{monitor-DMHKE4SW.js → monitor-R3ODH5U6.js} +45 -36
- package/chunks/node-UUDY34IG.js +305 -0
- package/chunks/nonInteractiveCli-MOYCYBBU.js +141 -0
- package/chunks/{notebook-edit-35SJGEOR.js → notebook-edit-BNOK452R.js} +43 -35
- package/chunks/{openaiContentGenerator-5LPAFXPF.js → openaiContentGenerator-WMCU3O2H.js} +27 -17
- package/chunks/pidfile-TFRZZZIO.js +86 -0
- package/chunks/{processUtils-GM2I55KF.js → processUtils-RT7UNCC2.js} +2 -2
- package/chunks/{pt-OK455PLH.js → pt-22Q3FP73.js} +1 -0
- package/chunks/{qwenContentGenerator-HKOYNP7H.js → qwenContentGenerator-HHCRK4SX.js} +56 -42
- package/chunks/{qwenOAuth2-NUUYC3V5.js → qwenOAuth2-OWLB5AKH.js} +14 -27
- package/chunks/read-file-APMO3PSX.js +31 -0
- package/chunks/{read-mcp-resource-F6HYMDUY.js → read-mcp-resource-4DKQWGHD.js} +3 -3
- package/chunks/{record-artifact-7GCFLDD7.js → record-artifact-RQKFYO5B.js} +3 -3
- package/chunks/resumeHistoryUtils-6KRYEAWZ.js +91 -0
- package/chunks/ripGrep-BEJDEDXW.js +73 -0
- package/chunks/{ru-7SPDGMGD.js → ru-FZCNZHDC.js} +1 -0
- package/chunks/{run-qwen-serve-5VH3F4NW.js → run-qwen-serve-FU6HEM4J.js} +271 -57
- package/chunks/{runtime-OH77YH7W.js → runtime-XXRRTNP6.js} +55 -45
- package/chunks/{scheduler-WJQSLCSV.js → scheduler-G2ZS2Z7E.js} +43 -35
- package/chunks/{sdk-exporters-grpc-ETLH47EP.js → sdk-exporters-grpc-AK3LGHNO.js} +3 -3
- package/chunks/{sdk-exporters-http-T3POX73F.js → sdk-exporters-http-FYBSUCPD.js} +6 -6
- package/chunks/{sdk-impl-NSLPDH6I.js → sdk-impl-GMVPB7NB.js} +6 -6
- package/chunks/{send-message-PYIJ2PZL.js → send-message-Q6OOR6BR.js} +46 -9
- package/chunks/serve-7BSTXJ4T.js +89 -0
- package/chunks/{server-E4N4AI6Z.js → server-4UMH7OIZ.js} +2362 -411
- package/chunks/{session-5YUWIOQE.js → session-K3O3Q2SV.js} +105 -87
- package/chunks/{settings-YY7ZSFO7.js → settings-CR2EWTBA.js} +53 -45
- package/chunks/shell-HH3PF3A2.js +83 -0
- package/chunks/{skill-PAIDX3EU.js → skill-I3SDA4MB.js} +17 -16
- package/chunks/spawnChannel-RWNDBXGA.js +82 -0
- package/chunks/{src-IZXLJI5M.js → src-GE4TTTML.js} +302 -184
- package/chunks/{standalone-update-X675JVBL.js → standalone-update-Q6WFRZZQ.js} +45 -37
- package/chunks/{startInteractiveUI-ND2IVBU3.js → startInteractiveUI-SLZGHRPH.js} +747 -310
- package/chunks/{syntheticOutput-H7RTI5KL.js → syntheticOutput-I3757IWH.js} +4 -4
- package/chunks/{task-create-7474AJJD.js → task-create-N7WQSGYA.js} +10 -10
- package/chunks/{task-list-633HGOIB.js → task-list-FOPULZEP.js} +7 -7
- package/chunks/{task-stop-MNUGHPIA.js → task-stop-H6RHXFVQ.js} +4 -4
- package/chunks/{task-update-66GQB5LI.js → task-update-M57TFZJT.js} +10 -10
- package/chunks/{team-create-2DEYNMMN.js → team-create-YJALH5D2.js} +46 -38
- package/chunks/{team-delete-BB3CG3QF.js → team-delete-QE2UXJL7.js} +7 -7
- package/chunks/{team-plan-approval-65AVAOCT.js → team-plan-approval-34QFYKGN.js} +43 -35
- package/chunks/theme-manager-SWRILQHI.js +77 -0
- package/chunks/{todoWrite-KRAUN54W.js → todoWrite-VQ7FKOHL.js} +5 -5
- package/chunks/{tool-search-ZQP3SMTV.js → tool-search-NF7GB6LE.js} +16 -16
- package/chunks/total-session-admission-DLHHHLD3.js +84 -0
- package/chunks/{tree-sitter-FS4VPMZA.js → tree-sitter-4D7QS7F6.js} +1 -1
- package/chunks/{tree-sitter-bash-6B46JJCV.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
- package/chunks/{trustedFolders-LURI52LP.js → trustedFolders-KHXHY6PY.js} +44 -36
- package/chunks/{update-relaunch-BPWFIDLM.js → update-relaunch-WBUZJC5O.js} +5 -5
- package/chunks/updateCheck-RKL6M5XN.js +92 -0
- package/chunks/useAutoAcceptIndicator-CFQ5BUJL.js +93 -0
- package/chunks/{validateNonInterActiveAuth-HWD6Y22I.js → validateNonInterActiveAuth-3R223G3R.js} +89 -80
- package/chunks/{version-OD4JAFG7.js → version-HS7YSFHV.js} +1 -1
- package/chunks/{web-fetch-RFBKNU24.js → web-fetch-NKCSG7ZE.js} +18 -16
- package/chunks/{web-search-AKTVS5YZ.js → web-search-S62WAP4S.js} +13 -27
- package/chunks/{workflow-VZVCOSZN.js → workflow-QAGU5RU4.js} +44 -36
- package/chunks/workspace-providers-status-QSVZUETE.js +86 -0
- package/chunks/{workspace-registration-store-Q5SFJSX4.js → workspace-registration-store-24JMHDGF.js} +2 -2
- package/chunks/workspace-registry-UT4RBNBM.js +88 -0
- package/chunks/workspace-service-JFWRUS4V.js +98 -0
- package/chunks/workspace-skills-status-ZBBKJOI2.js +85 -0
- package/chunks/write-file-VHIXW5M7.js +73 -0
- package/chunks/{zh-WY5DWYZD.js → zh-LUIGBD55.js} +15 -0
- package/chunks/{zh-TW-BM47YBFH.js → zh-TW-F5KG2IYD.js} +15 -0
- package/cli-entry.js +10 -1
- package/cli.js +13 -13
- package/locales/ca.js +2 -0
- package/locales/de.js +1 -0
- package/locales/en.js +25 -0
- package/locales/fr.js +1 -0
- package/locales/ja.js +1 -0
- package/locales/pt.js +1 -0
- package/locales/ru.js +1 -0
- package/locales/zh-TW.js +23 -0
- package/locales/zh.js +23 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-BWFm0SI0.js → arc-DcbWnB9T.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-CZ_yL-DQ.js → architectureDiagram-3BPJPVTR-kMMF5sud.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-B9F9mJvG.js → blockDiagram-GPEHLZMM-Htl9vTJS.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BUdwJW5f.js → c4Diagram-AAUBKEIU-BnZnm0mQ.js} +1 -1
- package/web-shell/assets/channel-Cq7YKtfC.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-w4cF-qlF.js → chunk-2J33WTMH-DziB7kDG.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BXwURxHJ.js → chunk-4BX2VUAB-CmkD8daw.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-Gem3LalC.js → chunk-55IACEB6-CHAd9A_U.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-A3ddVojI.js → chunk-727SXJPM-Dqaam3fE.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CjHZ5L_R.js → chunk-AQP2D5EJ-D_-saBYM.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CKgdgcpv.js → chunk-FMBD7UC4-B9r_veWD.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-Cn2Dykjb.js → chunk-ND2GUHAM-B3EaCSpL.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN--0SyraC5.js → chunk-QZHKN3VN-CYq8x9mn.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CQ9aC1Tg.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ9aC1Tg.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-CphhAity.js → cose-bilkent-S5V4N54A-D0ng4uiB.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DU--jiKp.js → dagre-BM42HDAG-DCZollQv.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BzvuZw1Y.js → diagram-2AECGRRQ-Dfk2pWS0.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-D84-49Y0.js → diagram-5GNKFQAL-kX38ltWR.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-DQTq-3_3.js → diagram-KO2AKTUF-CJz2vsXh.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-8FTrshzN.js → diagram-LMA3HP47-BvMLZm_7.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-BCjpDBCm.js → diagram-OG6HWLK6-l7kfStkO.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BtRObkmg.js → erDiagram-TEJ5UH35-BSVa8GGT.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-DTrW6oxy.js → flowDiagram-I6XJVG4X-CoawKIXH.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BgPNSW6j.js → ganttDiagram-6RSMTGT7-DFUDH0zF.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BTclNgGV.js → gitGraphDiagram-PVQCEYII-Y2pvpT4e.js} +1 -1
- package/web-shell/assets/{index-CxA7AqY6.js → index-D0GX0zZf.js} +1 -1
- package/web-shell/assets/index-D9haPt0X.css +5 -0
- package/web-shell/assets/index-ckX9Pq5k.js +1230 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DCE4AJt2.js → infoDiagram-5YYISTIA-CU8_zLiX.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-C8iE6q4Y.js → ishikawaDiagram-YF4QCWOH-AVQiV0DU.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-C_dxdyEc.js → journeyDiagram-JHISSGLW-DQ0VSKa3.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-Dw3n1u3w.js → kanban-definition-UN3LZRKU-BqnWqsE_.js} +1 -1
- package/web-shell/assets/{linear-C2BF2zJ9.js → linear-BkoihsaA.js} +1 -1
- package/web-shell/assets/{mermaid.core-CGTQU3MA.js → mermaid.core-5RJs-31j.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BVFZm9ZC.js → mindmap-definition-RKZ34NQL-D33Bxnpd.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-Cc-TNN3n.js → pieDiagram-4H26LBE5-BuEAw3BH.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CgW3Rzsi.js → quadrantDiagram-W4KKPZXB-Kox_usEq.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BAaj0Y3B.js → requirementDiagram-4Y6WPE33-CNjeUif0.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-XJWmekxS.js → sankeyDiagram-5OEKKPKP-BCd2OL_U.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CtRc_0wf.js → sequenceDiagram-3UESZ5HK-CF2ZTsz0.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-WCnvMGy5.js → stateDiagram-AJRCARHV-qenSzHtm.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B7W4zlCr.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-C9cRx49L.js → timeline-definition-PNZ67QCA-B5DyWdgs.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BvXOCEt-.js → vennDiagram-CIIHVFJN-DqP4I_o_.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-ByafGtzu.js → wardley-L42UT6IY-CJe2e4mg.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CozAnw8x.js → wardleyDiagram-YWT4CUSO-BMDSw-Rr.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-Camu9Qvq.js → xychartDiagram-2RQKCTM6-BTVZYkxD.js} +1 -1
- package/web-shell/index.html +17 -13
- package/chunks/MaxSizedBox-3XQIBACV.js +0 -78
- package/chunks/agent-QXD5NSKA.js +0 -73
- package/chunks/agent-headless-4VXR2TBK.js +0 -67
- package/chunks/bridge-GIBRSPE6.js +0 -81
- package/chunks/chunk-CBOQ3HY7.js +0 -2019
- package/chunks/chunk-MA6GYKK7.js +0 -6928
- package/chunks/contextCommand-XQU7KLIH.js +0 -72
- package/chunks/daemon-status-provider-KQVNB4VA.js +0 -80
- package/chunks/earlyInputCapture-WP5SA3KH.js +0 -74
- package/chunks/errors-JEYPXX4S.js +0 -80
- package/chunks/handleAutoUpdate-2VJPAW43.js +0 -73
- package/chunks/initializer-UOX67ZFQ.js +0 -78
- package/chunks/installationInfo-NQNY34X3.js +0 -72
- package/chunks/list-2Z7KS7ZF.js +0 -81
- package/chunks/loadedSettingsAdapter-LIYY3LE4.js +0 -75
- package/chunks/mcp-AJ4QW3JA.js +0 -75
- package/chunks/nonInteractiveCli-PUSO5QF6.js +0 -134
- package/chunks/pidfile-EH2JW2PB.js +0 -78
- package/chunks/read-file-JZ5VXILQ.js +0 -31
- package/chunks/resumeHistoryUtils-Z3HG4WKM.js +0 -84
- package/chunks/ripGrep-JNLJCT2B.js +0 -65
- package/chunks/serve-NN5FXWR6.js +0 -81
- package/chunks/shell-FXT3NVC6.js +0 -75
- package/chunks/spawnChannel-XAWLXNOD.js +0 -74
- package/chunks/theme-manager-2WZHPK2M.js +0 -69
- package/chunks/total-session-admission-HULB2TEQ.js +0 -75
- package/chunks/updateCheck-D4ESCHBJ.js +0 -88
- package/chunks/useAutoAcceptIndicator-CBNLOF2P.js +0 -86
- package/chunks/workspace-providers-status-TJTVHORI.js +0 -78
- package/chunks/workspace-registry-H6VM5WXK.js +0 -79
- package/chunks/workspace-service-ZNKD3I2J.js +0 -90
- package/chunks/workspace-skills-status-OOBIXADG.js +0 -77
- package/chunks/write-file-CAKK5IAO.js +0 -65
- package/web-shell/assets/channel-DiLlxxIf.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CkylTdM4.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CkylTdM4.js +0 -1
- package/web-shell/assets/index-CGtQqOIa.css +0 -5
- package/web-shell/assets/index-TtM0hVjU.js +0 -1207
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-D1gzH2Ue.js +0 -1
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
} from "./chunk-JESCGQM3.js";
|
|
6
6
|
import {
|
|
7
7
|
formatFetchErrorForUser
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NH6KE4JX.js";
|
|
9
9
|
import {
|
|
10
10
|
combineAbortSignals
|
|
11
11
|
} from "./chunk-DJ2GSRLV.js";
|
|
12
12
|
import {
|
|
13
13
|
atomicWriteFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A5L3JMUA.js";
|
|
15
15
|
import {
|
|
16
16
|
Storage,
|
|
17
17
|
createDebugLogger
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NL7LTRLR.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -31,6 +31,144 @@ import { promises as fs2 } from "node:fs";
|
|
|
31
31
|
import { EventEmitter } from "events";
|
|
32
32
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
33
33
|
|
|
34
|
+
// packages/core/src/utils/osc8.ts
|
|
35
|
+
init_esbuild_shims();
|
|
36
|
+
function wrapForMultiplexer(sequence) {
|
|
37
|
+
if (process.env["TMUX"]) {
|
|
38
|
+
const escaped = sequence.replaceAll("\x1B", "\x1B\x1B");
|
|
39
|
+
return `\x1BPtmux;${escaped}\x1B\\`;
|
|
40
|
+
}
|
|
41
|
+
if (process.env["STY"]) {
|
|
42
|
+
return `\x1BP${sequence}\x1B\\`;
|
|
43
|
+
}
|
|
44
|
+
return sequence;
|
|
45
|
+
}
|
|
46
|
+
__name(wrapForMultiplexer, "wrapForMultiplexer");
|
|
47
|
+
function sanitizeForOsc(s) {
|
|
48
|
+
return s.replace(
|
|
49
|
+
// eslint-disable-next-line no-control-regex
|
|
50
|
+
/[\x00-\x1f\x7f\x80-\x9f\u200e\u200f\u202a-\u202e\u2066-\u2069\u2028\u2029]/g,
|
|
51
|
+
""
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
__name(sanitizeForOsc, "sanitizeForOsc");
|
|
55
|
+
function osc8Hyperlink(url, label = url) {
|
|
56
|
+
const safeUrl = sanitizeForOsc(url);
|
|
57
|
+
const safeLabel = sanitizeForOsc(label);
|
|
58
|
+
return wrapForMultiplexer(`\x1B]8;;${safeUrl}\x07${safeLabel}\x1B]8;;\x07`);
|
|
59
|
+
}
|
|
60
|
+
__name(osc8Hyperlink, "osc8Hyperlink");
|
|
61
|
+
function shouldForceHyperlinks(value) {
|
|
62
|
+
if (value.length === 0) return true;
|
|
63
|
+
const trimmed = value.trim();
|
|
64
|
+
if (!/^[+-]?\d+$/.test(trimmed)) return false;
|
|
65
|
+
return Number(trimmed) !== 0;
|
|
66
|
+
}
|
|
67
|
+
__name(shouldForceHyperlinks, "shouldForceHyperlinks");
|
|
68
|
+
function parseVersion(versionString) {
|
|
69
|
+
if (!versionString) return { major: 0, minor: 0, patch: 0 };
|
|
70
|
+
if (/^\d{3,4}$/.test(versionString)) {
|
|
71
|
+
const m = /(\d{1,2})(\d{2})/.exec(versionString);
|
|
72
|
+
return { major: 0, minor: parseInt(m[1], 10), patch: parseInt(m[2], 10) };
|
|
73
|
+
}
|
|
74
|
+
const parts = versionString.split(".").map((n) => parseInt(n, 10) || 0);
|
|
75
|
+
return { major: parts[0] ?? 0, minor: parts[1] ?? 0, patch: parts[2] ?? 0 };
|
|
76
|
+
}
|
|
77
|
+
__name(parseVersion, "parseVersion");
|
|
78
|
+
function supportsHyperlinks(stream = process.stdout) {
|
|
79
|
+
const env = process.env;
|
|
80
|
+
if (env["QWEN_DISABLE_HYPERLINKS"] === "1") return false;
|
|
81
|
+
if (env["NO_COLOR"] !== void 0 && env["NO_COLOR"] !== "") return false;
|
|
82
|
+
if (env["FORCE_COLOR"] === "0" || env["FORCE_COLOR"] === "false") {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
if (!stream || !stream.isTTY) return false;
|
|
86
|
+
const force = env["FORCE_HYPERLINK"];
|
|
87
|
+
if (force !== void 0) {
|
|
88
|
+
return shouldForceHyperlinks(force);
|
|
89
|
+
}
|
|
90
|
+
if (env["CI"]) return false;
|
|
91
|
+
if (env["TEAMCITY_VERSION"]) return false;
|
|
92
|
+
if (env["TMUX"] || env["STY"]) return false;
|
|
93
|
+
if (env["WT_SESSION"]) return true;
|
|
94
|
+
if (env["KITTY_WINDOW_ID"] || env["TERM"] === "xterm-kitty") return true;
|
|
95
|
+
if (env["DOMTERM"]) return true;
|
|
96
|
+
if (env["GHOSTTY_RESOURCES_DIR"] || env["TERM"] === "xterm-ghostty") {
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
if (env["KONSOLE_VERSION"]) {
|
|
100
|
+
const konsoleVersion = parseInt(env["KONSOLE_VERSION"], 10);
|
|
101
|
+
if (Number.isFinite(konsoleVersion) && konsoleVersion >= 210400) {
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (env["TERM"] === "alacritty" || env["ALACRITTY_LOG"] !== void 0 || env["ALACRITTY_WINDOW_ID"] !== void 0 || env["ALACRITTY_SOCKET"] !== void 0) {
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
108
|
+
if (env["TERMINAL_EMULATOR"] === "JetBrains-JediTerm") return true;
|
|
109
|
+
if (env["TERM_PROGRAM"]) {
|
|
110
|
+
const version = parseVersion(env["TERM_PROGRAM_VERSION"]);
|
|
111
|
+
switch (env["TERM_PROGRAM"]) {
|
|
112
|
+
case "iTerm.app":
|
|
113
|
+
if (version.major === 3) return version.minor >= 1;
|
|
114
|
+
return version.major > 3;
|
|
115
|
+
case "WezTerm":
|
|
116
|
+
return version.major >= 20200620;
|
|
117
|
+
case "vscode":
|
|
118
|
+
return version.major > 1 || version.major === 1 && version.minor >= 72;
|
|
119
|
+
case "ghostty":
|
|
120
|
+
return true;
|
|
121
|
+
case "mintty":
|
|
122
|
+
if (!env["TERM_PROGRAM_VERSION"]) return false;
|
|
123
|
+
return version.major > 3 || version.major === 3 && version.minor >= 3;
|
|
124
|
+
// Warp (TERM_PROGRAM=WarpTerminal) does NOT yet support OSC 8 — its
|
|
125
|
+
// rendering engine ignores the envelope and prints visible garbage,
|
|
126
|
+
// so we deliberately fall through to the legacy `label (url)` path.
|
|
127
|
+
// Re-enable when Warp ships OSC 8 support.
|
|
128
|
+
//
|
|
129
|
+
// Hyper exposes OSC 8 in recent versions but plugin chains have a
|
|
130
|
+
// history of breaking escape passthrough — gate on FORCE_HYPERLINK
|
|
131
|
+
// so users who know their setup works can opt in explicitly.
|
|
132
|
+
default:
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (env["VTE_VERSION"]) {
|
|
137
|
+
const version = parseVersion(env["VTE_VERSION"]);
|
|
138
|
+
if (version.major === 0 && version.minor === 50 && version.patch === 0) {
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
if (version.major > 0 || version.minor >= 50) return true;
|
|
142
|
+
return false;
|
|
143
|
+
}
|
|
144
|
+
if (process.platform === "win32") return false;
|
|
145
|
+
return false;
|
|
146
|
+
}
|
|
147
|
+
__name(supportsHyperlinks, "supportsHyperlinks");
|
|
148
|
+
var HYPERLINK_ENV_KEYS = [
|
|
149
|
+
"NO_COLOR",
|
|
150
|
+
"FORCE_COLOR",
|
|
151
|
+
"CI",
|
|
152
|
+
"TMUX",
|
|
153
|
+
"STY",
|
|
154
|
+
"TERM_PROGRAM",
|
|
155
|
+
"TERM_PROGRAM_VERSION",
|
|
156
|
+
"WT_SESSION",
|
|
157
|
+
"KITTY_WINDOW_ID",
|
|
158
|
+
"VTE_VERSION",
|
|
159
|
+
"DOMTERM",
|
|
160
|
+
"GHOSTTY_RESOURCES_DIR",
|
|
161
|
+
"KONSOLE_VERSION",
|
|
162
|
+
"TERMINAL_EMULATOR",
|
|
163
|
+
"ALACRITTY_LOG",
|
|
164
|
+
"ALACRITTY_WINDOW_ID",
|
|
165
|
+
"ALACRITTY_SOCKET",
|
|
166
|
+
"TERM",
|
|
167
|
+
"TEAMCITY_VERSION",
|
|
168
|
+
"FORCE_HYPERLINK",
|
|
169
|
+
"QWEN_DISABLE_HYPERLINKS"
|
|
170
|
+
];
|
|
171
|
+
|
|
34
172
|
// packages/core/src/qwen/sharedTokenManager.ts
|
|
35
173
|
init_esbuild_shims();
|
|
36
174
|
import path from "node:path";
|
|
@@ -997,9 +1135,16 @@ async function getQwenOAuthClient(config, options) {
|
|
|
997
1135
|
}
|
|
998
1136
|
}
|
|
999
1137
|
__name(getQwenOAuthClient, "getQwenOAuthClient");
|
|
1000
|
-
function showFallbackMessage(verificationUriComplete) {
|
|
1138
|
+
function showFallbackMessage(verificationUriComplete, out = process.stderr) {
|
|
1001
1139
|
const title = "Qwen OAuth Device Authorization";
|
|
1002
1140
|
const url = verificationUriComplete;
|
|
1141
|
+
if (supportsHyperlinks(out) && (url.startsWith("https://") || url.startsWith("http://"))) {
|
|
1142
|
+
out.write("\n" + title + "\n");
|
|
1143
|
+
out.write("Please visit the following URL in your browser to authorize:\n");
|
|
1144
|
+
out.write(osc8Hyperlink(url) + "\n");
|
|
1145
|
+
out.write("Waiting for authorization to complete...\n\n");
|
|
1146
|
+
return;
|
|
1147
|
+
}
|
|
1003
1148
|
const minWidth = 70;
|
|
1004
1149
|
const maxWidth = 80;
|
|
1005
1150
|
const boxWidth = Math.min(Math.max(title.length + 4, minWidth), maxWidth);
|
|
@@ -1043,25 +1188,21 @@ function showFallbackMessage(verificationUriComplete) {
|
|
|
1043
1188
|
);
|
|
1044
1189
|
const urlLines = wrapText(url, contentWidth);
|
|
1045
1190
|
const waitingLine = "Waiting for authorization to complete...";
|
|
1046
|
-
|
|
1047
|
-
|
|
1191
|
+
out.write("\n" + topBorder + "\n");
|
|
1192
|
+
out.write(emptyLine + "\n");
|
|
1048
1193
|
for (const line of instructionLines) {
|
|
1049
|
-
|
|
1050
|
-
"| " + line + " ".repeat(contentWidth - line.length) + " |\n"
|
|
1051
|
-
);
|
|
1194
|
+
out.write("| " + line + " ".repeat(contentWidth - line.length) + " |\n");
|
|
1052
1195
|
}
|
|
1053
|
-
|
|
1196
|
+
out.write(emptyLine + "\n");
|
|
1054
1197
|
for (const line of urlLines) {
|
|
1055
|
-
|
|
1056
|
-
"| " + line + " ".repeat(contentWidth - line.length) + " |\n"
|
|
1057
|
-
);
|
|
1198
|
+
out.write("| " + line + " ".repeat(contentWidth - line.length) + " |\n");
|
|
1058
1199
|
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1200
|
+
out.write(emptyLine + "\n");
|
|
1201
|
+
out.write(
|
|
1061
1202
|
"| " + waitingLine + " ".repeat(contentWidth - waitingLine.length) + " |\n"
|
|
1062
1203
|
);
|
|
1063
|
-
|
|
1064
|
-
|
|
1204
|
+
out.write(emptyLine + "\n");
|
|
1205
|
+
out.write(bottomBorder + "\n\n");
|
|
1065
1206
|
}
|
|
1066
1207
|
__name(showFallbackMessage, "showFallbackMessage");
|
|
1067
1208
|
async function authWithQwenDeviceFlow(client, config) {
|
|
@@ -1321,6 +1462,11 @@ __name(getQwenCachedCredentialPath, "getQwenCachedCredentialPath");
|
|
|
1321
1462
|
var clearCachedCredentialFile = clearQwenCredentials;
|
|
1322
1463
|
|
|
1323
1464
|
export {
|
|
1465
|
+
wrapForMultiplexer,
|
|
1466
|
+
sanitizeForOsc,
|
|
1467
|
+
osc8Hyperlink,
|
|
1468
|
+
supportsHyperlinks,
|
|
1469
|
+
HYPERLINK_ENV_KEYS,
|
|
1324
1470
|
SharedTokenManager,
|
|
1325
1471
|
generateCodeVerifier,
|
|
1326
1472
|
generateCodeChallenge,
|
|
@@ -1335,6 +1481,7 @@ export {
|
|
|
1335
1481
|
QwenOAuth2Event,
|
|
1336
1482
|
qwenOAuth2Events,
|
|
1337
1483
|
getQwenOAuthClient,
|
|
1484
|
+
showFallbackMessage,
|
|
1338
1485
|
QWEN_CREDENTIAL_FILE_MODE,
|
|
1339
1486
|
cacheQwenCredentials,
|
|
1340
1487
|
clearQwenCredentials,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
STATUS_SCHEMA_VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VIA5XA4U.js";
|
|
6
6
|
import {
|
|
7
7
|
detectRuntime,
|
|
8
8
|
redactProxyCredentials
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2JZBVYTU.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-VGC4I5JJ.js";
|
|
6
6
|
import {
|
|
7
7
|
atomicWriteJSON
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A5L3JMUA.js";
|
|
9
9
|
import {
|
|
10
10
|
Storage,
|
|
11
11
|
getProjectHash
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NL7LTRLR.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -22,6 +22,8 @@ init_esbuild_shims();
|
|
|
22
22
|
import * as fs from "node:fs/promises";
|
|
23
23
|
import * as path from "node:path";
|
|
24
24
|
var MAX_TASK_RUNS = 20;
|
|
25
|
+
var MAX_CHANNEL_DELIVERY_NAME_LENGTH = 2048;
|
|
26
|
+
var MAX_CHANNEL_DELIVERY_TARGET_ID_LENGTH = 2048;
|
|
25
27
|
function appendCronRun(runs, entry) {
|
|
26
28
|
const base = Array.isArray(runs) ? runs : [];
|
|
27
29
|
const next = [...base, entry];
|
|
@@ -200,6 +202,19 @@ function isValidRuns(value) {
|
|
|
200
202
|
});
|
|
201
203
|
}
|
|
202
204
|
__name(isValidRuns, "isValidRuns");
|
|
205
|
+
function isValidDelivery(value) {
|
|
206
|
+
if (typeof value !== "object" || value === null) return false;
|
|
207
|
+
const delivery = value;
|
|
208
|
+
const rawTarget = delivery["target"];
|
|
209
|
+
if (delivery["kind"] !== "channel" || typeof rawTarget !== "object" || rawTarget === null || !Object.keys(delivery).every((key) => key === "kind" || key === "target")) {
|
|
210
|
+
return false;
|
|
211
|
+
}
|
|
212
|
+
const target = rawTarget;
|
|
213
|
+
return typeof target["channelName"] === "string" && target["channelName"].trim().length > 0 && target["channelName"].length <= MAX_CHANNEL_DELIVERY_NAME_LENGTH && (target["type"] === "user" || target["type"] === "chat") && typeof target["id"] === "string" && target["id"].trim().length > 0 && target["id"].length <= MAX_CHANNEL_DELIVERY_TARGET_ID_LENGTH && Object.keys(target).every(
|
|
214
|
+
(key) => key === "channelName" || key === "type" || key === "id"
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
__name(isValidDelivery, "isValidDelivery");
|
|
203
218
|
function isValidTask(value) {
|
|
204
219
|
if (typeof value !== "object" || value === null) return false;
|
|
205
220
|
const obj = value;
|
|
@@ -210,12 +225,14 @@ function isValidTask(value) {
|
|
|
210
225
|
(obj["name"] === void 0 || typeof obj["name"] === "string") && (obj["enabled"] === void 0 || typeof obj["enabled"] === "boolean") && (obj["disabledByArchive"] === void 0 || typeof obj["disabledByArchive"] === "boolean") && // A bound sessionId must be a NON-EMPTY string: an empty string would pass
|
|
211
226
|
// a bare `typeof` check but the scheduler's truthy `task.sessionId` guard
|
|
212
227
|
// would treat it as unbound, so a "bound" task would silently run unbound.
|
|
213
|
-
(obj["sessionId"] === void 0 || typeof obj["sessionId"] === "string" && obj["sessionId"].length > 0) && (obj["runs"] === void 0 || isValidRuns(obj["runs"]));
|
|
228
|
+
(obj["sessionId"] === void 0 || typeof obj["sessionId"] === "string" && obj["sessionId"].length > 0) && (obj["delivery"] === void 0 || isValidDelivery(obj["delivery"])) && (obj["runs"] === void 0 || isValidRuns(obj["runs"]));
|
|
214
229
|
}
|
|
215
230
|
__name(isValidTask, "isValidTask");
|
|
216
231
|
|
|
217
232
|
export {
|
|
218
233
|
MAX_TASK_RUNS,
|
|
234
|
+
MAX_CHANNEL_DELIVERY_NAME_LENGTH,
|
|
235
|
+
MAX_CHANNEL_DELIVERY_TARGET_ID_LENGTH,
|
|
219
236
|
appendCronRun,
|
|
220
237
|
taskHasLegacyCondition,
|
|
221
238
|
taskHasLegacyRunMode,
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
theme
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VAK25FTU.js";
|
|
6
6
|
import {
|
|
7
7
|
require_jsx_runtime
|
|
8
8
|
} from "./chunk-SV5PQVQE.js";
|
|
9
9
|
import {
|
|
10
10
|
Box_default,
|
|
11
11
|
Text
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6GMVPFB2.js";
|
|
13
13
|
import {
|
|
14
14
|
require_react
|
|
15
15
|
} from "./chunk-5QWWOFGG.js";
|
|
16
16
|
import {
|
|
17
17
|
toCodePoints
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IPUUTYMV.js";
|
|
19
19
|
import {
|
|
20
20
|
stringWidth
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2MIN6GRR.js";
|
|
22
22
|
import {
|
|
23
23
|
createDebugLogger
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NL7LTRLR.js";
|
|
25
25
|
import {
|
|
26
26
|
init_esbuild_shims
|
|
27
27
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -124,11 +124,15 @@ var MaxSizedBox = /* @__PURE__ */ __name(({
|
|
|
124
124
|
maxWidth,
|
|
125
125
|
maxHeight,
|
|
126
126
|
overflowDirection = "top",
|
|
127
|
-
additionalHiddenLinesCount = 0
|
|
127
|
+
additionalHiddenLinesCount = 0,
|
|
128
|
+
sourceBoundaries
|
|
128
129
|
}) => {
|
|
129
130
|
const id = (0, import_react2.useId)();
|
|
130
131
|
const { addOverflowingId, removeOverflowingId } = useOverflowActions() || {};
|
|
131
132
|
const laidOutStyledText = [];
|
|
133
|
+
const lineMetadata = /* @__PURE__ */ new Map();
|
|
134
|
+
let rowIndex = 0;
|
|
135
|
+
let sourceBoundaryIndex = 0;
|
|
132
136
|
const targetMaxHeight = Math.max(
|
|
133
137
|
Math.round(maxHeight ?? Number.MAX_SAFE_INTEGER),
|
|
134
138
|
MINIMUM_MAX_HEIGHT
|
|
@@ -145,7 +149,14 @@ var MaxSizedBox = /* @__PURE__ */ __name(({
|
|
|
145
149
|
return;
|
|
146
150
|
}
|
|
147
151
|
if (element.type === Box_default) {
|
|
148
|
-
layoutInkElementAsStyledText(
|
|
152
|
+
layoutInkElementAsStyledText(
|
|
153
|
+
element,
|
|
154
|
+
maxWidth,
|
|
155
|
+
laidOutStyledText,
|
|
156
|
+
lineMetadata,
|
|
157
|
+
`${id}:${rowIndex++}`,
|
|
158
|
+
() => sourceBoundaries?.[sourceBoundaryIndex++]
|
|
159
|
+
);
|
|
149
160
|
return;
|
|
150
161
|
}
|
|
151
162
|
debugReportError("MaxSizedBox children must be <Box> elements", element);
|
|
@@ -167,7 +178,29 @@ var MaxSizedBox = /* @__PURE__ */ __name(({
|
|
|
167
178
|
};
|
|
168
179
|
}, [id, totalHiddenLines, addOverflowingId, removeOverflowingId]);
|
|
169
180
|
const visibleStyledText = hiddenLinesCount > 0 ? overflowDirection === "top" ? laidOutStyledText.slice(hiddenLinesCount, laidOutStyledText.length) : laidOutStyledText.slice(0, visibleContentHeight) : laidOutStyledText;
|
|
170
|
-
const visibleLines = visibleStyledText.map((line, index) =>
|
|
181
|
+
const visibleLines = visibleStyledText.map((line, index) => {
|
|
182
|
+
const metadata = lineMetadata.get(line);
|
|
183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Box_default, { flexShrink: 0, children: line.length > 0 ? line.map((segment, segIndex) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
184
|
+
Text,
|
|
185
|
+
{
|
|
186
|
+
...segment.props,
|
|
187
|
+
selectionFlow: metadata.flowKey,
|
|
188
|
+
selectionBreakAfter: metadata.breakAfter,
|
|
189
|
+
selectionJoiner: metadata.joiner,
|
|
190
|
+
children: segment.text
|
|
191
|
+
},
|
|
192
|
+
segIndex
|
|
193
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
194
|
+
Text,
|
|
195
|
+
{
|
|
196
|
+
selectable: false,
|
|
197
|
+
selectionFlow: metadata.flowKey,
|
|
198
|
+
selectionBreakAfter: metadata.breakAfter,
|
|
199
|
+
selectionJoiner: metadata.joiner,
|
|
200
|
+
children: " "
|
|
201
|
+
}
|
|
202
|
+
) }, index);
|
|
203
|
+
});
|
|
171
204
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", width: maxWidth, flexShrink: 0, children: [
|
|
172
205
|
totalHiddenLines > 0 && overflowDirection === "top" && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Text, { color: theme.text.secondary, wrap: "truncate", children: [
|
|
173
206
|
"... first ",
|
|
@@ -284,10 +317,14 @@ function visitBoxRow(element) {
|
|
|
284
317
|
return row;
|
|
285
318
|
}
|
|
286
319
|
__name(visitBoxRow, "visitBoxRow");
|
|
287
|
-
function layoutInkElementAsStyledText(element, maxWidth, output) {
|
|
320
|
+
function layoutInkElementAsStyledText(element, maxWidth, output, lineMetadata, flowKey, nextSourceBoundary) {
|
|
321
|
+
const pushOutput = /* @__PURE__ */ __name((line, breakAfter, joiner) => {
|
|
322
|
+
output.push(line);
|
|
323
|
+
lineMetadata.set(line, { flowKey, breakAfter, joiner });
|
|
324
|
+
}, "pushOutput");
|
|
288
325
|
const row = visitBoxRow(element);
|
|
289
326
|
if (row.segments.length === 0 && row.noWrapSegments.length === 0) {
|
|
290
|
-
|
|
327
|
+
pushOutput([], "hard", "\n");
|
|
291
328
|
return;
|
|
292
329
|
}
|
|
293
330
|
const lines = [];
|
|
@@ -316,7 +353,7 @@ function layoutInkElementAsStyledText(element, maxWidth, output) {
|
|
|
316
353
|
lines2.push(currentLine);
|
|
317
354
|
}
|
|
318
355
|
for (const line of lines2) {
|
|
319
|
-
|
|
356
|
+
pushOutput(line, "hard", "\n");
|
|
320
357
|
}
|
|
321
358
|
return;
|
|
322
359
|
}
|
|
@@ -373,25 +410,33 @@ function layoutInkElementAsStyledText(element, maxWidth, output) {
|
|
|
373
410
|
lines2.push([{ text: "\u2026", props: {} }]);
|
|
374
411
|
}
|
|
375
412
|
for (const line of lines2) {
|
|
376
|
-
|
|
413
|
+
pushOutput(line, "hard", "\n");
|
|
377
414
|
}
|
|
378
415
|
return;
|
|
379
416
|
}
|
|
380
417
|
let wrappingPart = [];
|
|
381
418
|
let wrappingPartWidth = 0;
|
|
382
|
-
function addWrappingPartToLines() {
|
|
419
|
+
function addWrappingPartToLines(breakAfter, joiner) {
|
|
420
|
+
let line;
|
|
383
421
|
if (lines.length === 0) {
|
|
384
|
-
|
|
422
|
+
line = [...nonWrappingContent, ...wrappingPart];
|
|
385
423
|
} else {
|
|
386
424
|
if (noWrappingWidth > 0) {
|
|
387
|
-
|
|
388
|
-
...[
|
|
425
|
+
line = [
|
|
426
|
+
...[
|
|
427
|
+
{
|
|
428
|
+
text: " ".repeat(noWrappingWidth),
|
|
429
|
+
props: { selectable: false }
|
|
430
|
+
}
|
|
431
|
+
],
|
|
389
432
|
...wrappingPart
|
|
390
|
-
]
|
|
433
|
+
];
|
|
391
434
|
} else {
|
|
392
|
-
|
|
435
|
+
line = wrappingPart;
|
|
393
436
|
}
|
|
394
437
|
}
|
|
438
|
+
lines.push(line);
|
|
439
|
+
lineMetadata.set(line, { flowKey, breakAfter, joiner });
|
|
395
440
|
wrappingPart = [];
|
|
396
441
|
wrappingPartWidth = 0;
|
|
397
442
|
}
|
|
@@ -408,14 +453,18 @@ function layoutInkElementAsStyledText(element, maxWidth, output) {
|
|
|
408
453
|
const linesFromSegment = segment.text.split("\n");
|
|
409
454
|
linesFromSegment.forEach((lineText, lineIndex) => {
|
|
410
455
|
if (lineIndex > 0) {
|
|
411
|
-
|
|
456
|
+
const boundary = nextSourceBoundary() ?? {
|
|
457
|
+
kind: "hard",
|
|
458
|
+
joiner: "\n"
|
|
459
|
+
};
|
|
460
|
+
addWrappingPartToLines(boundary.kind, boundary.joiner);
|
|
412
461
|
}
|
|
413
462
|
const words = lineText.split(/(\s+)/);
|
|
414
463
|
words.forEach((word) => {
|
|
415
464
|
if (!word) return;
|
|
416
465
|
const wordWidth = stringWidth(word);
|
|
417
466
|
if (wrappingPartWidth + wordWidth > availableWidth && wrappingPartWidth > 0) {
|
|
418
|
-
addWrappingPartToLines();
|
|
467
|
+
addWrappingPartToLines("soft", /^\s+$/u.test(word) ? word : "");
|
|
419
468
|
if (/^\s+$/.test(word)) {
|
|
420
469
|
return;
|
|
421
470
|
}
|
|
@@ -441,7 +490,7 @@ function layoutInkElementAsStyledText(element, maxWidth, output) {
|
|
|
441
490
|
remainingWordAsCodePoints = remainingWordAsCodePoints.slice(splitIndex);
|
|
442
491
|
}
|
|
443
492
|
if (remainingWordAsCodePoints.length > 0) {
|
|
444
|
-
addWrappingPartToLines();
|
|
493
|
+
addWrappingPartToLines("soft", "");
|
|
445
494
|
}
|
|
446
495
|
}
|
|
447
496
|
} else {
|
|
@@ -451,11 +500,11 @@ function layoutInkElementAsStyledText(element, maxWidth, output) {
|
|
|
451
500
|
});
|
|
452
501
|
});
|
|
453
502
|
if (segment.text.endsWith("\n")) {
|
|
454
|
-
addWrappingPartToLines();
|
|
503
|
+
addWrappingPartToLines("hard", "\n");
|
|
455
504
|
}
|
|
456
505
|
});
|
|
457
506
|
if (wrappingPart.length > 0) {
|
|
458
|
-
addWrappingPartToLines();
|
|
507
|
+
addWrappingPartToLines("hard", "\n");
|
|
459
508
|
}
|
|
460
509
|
for (const line of lines) {
|
|
461
510
|
output.push(line);
|
|
@@ -7,28 +7,28 @@ import {
|
|
|
7
7
|
parseAcpBaseModelId,
|
|
8
8
|
resolveCliGenerationConfig,
|
|
9
9
|
sanitizeProviderBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KMQ33DO4.js";
|
|
11
11
|
import {
|
|
12
12
|
snapshotProcessEnv
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ETSW4KLJ.js";
|
|
14
14
|
import {
|
|
15
15
|
STATUS_SCHEMA_VERSION
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VIA5XA4U.js";
|
|
17
17
|
import {
|
|
18
18
|
loadSettings
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TEHGS6UP.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelsConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PHOF65IG.js";
|
|
23
23
|
import {
|
|
24
24
|
APPROVAL_MODES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-L26JL52R.js";
|
|
26
26
|
import {
|
|
27
27
|
tokenLimit
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UW5EOVUN.js";
|
|
29
29
|
import {
|
|
30
30
|
createDebugLogger
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NL7LTRLR.js";
|
|
32
32
|
import {
|
|
33
33
|
init_esbuild_shims
|
|
34
34
|
} from "./chunk-5O2XNYP6.js";
|