@qwen-code/qwen-code 0.21.6 → 0.21.7-nightly.20260807.fca8f3c1f
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 +19 -9
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +1 -1
- package/bundled/qc-helper/docs/features/code-review.md +27 -0
- package/bundled/qc-helper/docs/qwen-serve.md +1 -1
- package/bundled/review/SKILL.md +48 -16
- package/chunks/{MaxSizedBox-2HFKP4LI.js → MaxSizedBox-NHT7OJY4.js} +38 -38
- package/chunks/{StandaloneSessionPicker-RBV72M5N.js → StandaloneSessionPicker-B2BHAP6E.js} +54 -53
- package/chunks/{acpAgent-WO6JFCVQ.js → acpAgent-ITFWQGW2.js} +80 -80
- package/chunks/{agent-AHGLYNZ4.js → agent-CQ66PAFN.js} +35 -35
- package/chunks/{agent-headless-NTXKKGRO.js → agent-headless-XFODWIW2.js} +35 -35
- package/chunks/{anthropicContentGenerator-3CAHEZBM.js → anthropicContentGenerator-DTMVEL5M.js} +7 -7
- package/chunks/{artifact-tool-RROCCJDA.js → artifact-tool-U4VOZIK5.js} +2 -2
- package/chunks/{askUserQuestion-2EPPBPUZ.js → askUserQuestion-XOBQLPFA.js} +2 -2
- package/chunks/{bridge-RPAU64CA.js → bridge-5XPZZ43S.js} +39 -39
- package/chunks/{channel-management-service-IGEUOVRT.js → channel-management-service-FSQ7SHYI.js} +1 -1
- package/chunks/{channel-settings-store-ON64MF7G.js → channel-settings-store-ZRWVDSMY.js} +41 -41
- package/chunks/{chunk-XC656O42.js → chunk-22NBYCPD.js} +3 -3
- package/chunks/chunk-2VSTGY6M.js +107 -0
- package/chunks/{chunk-MBEMTXQT.js → chunk-3K7FH2KQ.js} +1 -32
- package/chunks/{chunk-SKNE3KQC.js → chunk-3KY5HXE6.js} +4 -4
- package/chunks/{chunk-QYPT3QUD.js → chunk-3ULCB3NE.js} +3 -3
- package/chunks/{chunk-DVBEGGLG.js → chunk-4L3YFXQL.js} +10 -9
- package/chunks/{chunk-NGJOAKJY.js → chunk-4UKNQ2HI.js} +3 -3
- package/chunks/{chunk-QZKYZCN3.js → chunk-52AXQBAY.js} +3 -3
- package/chunks/{chunk-5MJGUQU5.js → chunk-5JFKVENR.js} +3 -3
- package/chunks/{chunk-TGGEZINK.js → chunk-5OYWFYX3.js} +7 -7
- package/chunks/{chunk-EXCEQD22.js → chunk-6IKXD7ZR.js} +4 -4
- package/chunks/{chunk-5L6CQ4ZU.js → chunk-6M26GBKX.js} +2 -2
- package/chunks/{chunk-XM2O73NC.js → chunk-7GXFPUOL.js} +2455 -1314
- package/chunks/{chunk-OP2OHZ7K.js → chunk-7HMDOAIC.js} +6 -6
- package/chunks/{chunk-33FNCQSY.js → chunk-7MH4J33A.js} +2 -2
- package/chunks/{chunk-2AGOQ7QO.js → chunk-7UFKAV7Y.js} +118 -6
- package/chunks/{chunk-JELIWHXD.js → chunk-AOHJKPKL.js} +1 -1
- package/chunks/{chunk-XA4TMLFN.js → chunk-ASSORJG6.js} +530 -388
- package/chunks/{chunk-GLNBDYUX.js → chunk-AXMWHKXA.js} +6 -2
- package/chunks/{chunk-H36SETQS.js → chunk-B2GJNDTV.js} +1 -1
- package/chunks/{chunk-3LZKY4V4.js → chunk-BDE433DP.js} +5 -5
- package/chunks/{chunk-DIT4V3XH.js → chunk-BEBG3YE6.js} +1 -1
- package/chunks/{chunk-QMBEW7EW.js → chunk-BGG4MBYD.js} +2 -2
- package/chunks/{chunk-6WBWIPBF.js → chunk-BVWVWGLE.js} +2 -2
- package/chunks/{chunk-GK2H5GRC.js → chunk-CFJIT7IA.js} +5 -5
- package/chunks/{chunk-2UISUFHQ.js → chunk-CJXIIILK.js} +3 -3
- package/chunks/{chunk-WK4TJUEA.js → chunk-CKASRHZI.js} +1 -1
- package/chunks/{chunk-Z7JILXGX.js → chunk-CNIID3TV.js} +3 -3
- package/chunks/{chunk-KKN2IE7Q.js → chunk-CTJLZLB5.js} +1 -1
- package/chunks/{chunk-4WTAQEHV.js → chunk-CYR3HI5X.js} +3 -3
- package/chunks/{chunk-4LKVQFHM.js → chunk-DREZZAZM.js} +2 -2
- package/chunks/{chunk-GESMMPAK.js → chunk-E24IQ3WV.js} +79 -59
- package/chunks/{chunk-T4JSA7KU.js → chunk-E2DXJHVN.js} +3 -3
- package/chunks/{chunk-SQC6K5HI.js → chunk-E33LOKRA.js} +1 -1
- package/chunks/{chunk-OWSW7EYP.js → chunk-ECTZI76Q.js} +6 -6
- package/chunks/{chunk-2DNKEBXY.js → chunk-EI3HZX6C.js} +1 -1
- package/chunks/{chunk-U25CMJYY.js → chunk-EKPKKXY2.js} +1 -1
- package/chunks/{chunk-432XCUHF.js → chunk-EQL65XGA.js} +1 -1
- package/chunks/{chunk-TYERNYH4.js → chunk-EUNWC2VS.js} +2 -2
- package/chunks/{chunk-KHUA3NQV.js → chunk-F4SQY4RB.js} +2 -2
- package/chunks/{chunk-YMBOEAF4.js → chunk-FBPPGNA4.js} +1 -1
- package/chunks/{chunk-WNU7TZTO.js → chunk-FCBM3ZRY.js} +3 -3
- package/chunks/{chunk-UH7Z7Y45.js → chunk-FOGU3LJX.js} +1 -1
- package/chunks/{chunk-PX5DNLSA.js → chunk-FTJUO7R2.js} +18 -10
- package/chunks/{chunk-E4WHKETF.js → chunk-FVKHVJZQ.js} +2 -49
- package/chunks/{chunk-YZQTA3ID.js → chunk-GDXET5XU.js} +31 -3396
- package/chunks/{chunk-A5YZ3FA2.js → chunk-GM463R2B.js} +1 -1
- package/chunks/{chunk-MOHAWIAW.js → chunk-GNPNYXJB.js} +2 -2
- package/chunks/{chunk-O7V7N4G7.js → chunk-GUHLKZ57.js} +198 -35
- package/chunks/{chunk-N2GJU6KI.js → chunk-HCVI44SK.js} +12 -12
- package/chunks/{chunk-OXX3FG2N.js → chunk-HMUV7245.js} +3 -3
- package/chunks/{chunk-A4VTILZT.js → chunk-I3LJQR5I.js} +115 -85
- package/chunks/{chunk-D7D7RXIJ.js → chunk-IC4Z6LX6.js} +1 -1
- package/chunks/{chunk-HU5TUALO.js → chunk-IIJEYBNH.js} +3 -3
- package/chunks/{chunk-EMYZIABH.js → chunk-IUFV6FYU.js} +1 -1
- package/chunks/{chunk-4S4OEQ6U.js → chunk-J6SZID63.js} +2 -2
- package/chunks/{chunk-G5NNWEYE.js → chunk-KGT25P47.js} +4 -4
- package/chunks/{chunk-BFHXDAR7.js → chunk-KKBPOU75.js} +1 -1
- package/chunks/{chunk-3UOLYNTF.js → chunk-KNTWLSVD.js} +6 -6
- package/chunks/{chunk-NKSF7HYF.js → chunk-KU4MUGRF.js} +1 -1
- package/chunks/{chunk-MGSSJT27.js → chunk-L4N6TIP7.js} +5 -3
- package/chunks/{chunk-VNQCPBC2.js → chunk-LFVXMYII.js} +3 -3
- package/chunks/{chunk-WVAESIM6.js → chunk-LZC3B5N2.js} +4 -4
- package/chunks/{chunk-U4AF3QLU.js → chunk-M5RUXX6P.js} +8 -8
- package/chunks/{chunk-6O5DVH27.js → chunk-M6HMMKVG.js} +1 -1
- package/chunks/{chunk-SLSWFHDF.js → chunk-MA5SUU2Q.js} +4 -4
- package/chunks/{chunk-C4CBJQKY.js → chunk-MPLEQFEL.js} +1 -1
- package/chunks/{chunk-T5U6IM4C.js → chunk-MVUQRLOH.js} +3 -3
- package/chunks/{chunk-GLWP3FDB.js → chunk-MZSJ43WV.js} +31 -2
- package/chunks/{chunk-ZPPP6VCL.js → chunk-NG2R4N5O.js} +1 -1
- package/chunks/{chunk-UGTWD35F.js → chunk-NLREQJFK.js} +1 -1
- package/chunks/{chunk-RK2EE3T7.js → chunk-OCEXSMWS.js} +2 -2
- package/chunks/{chunk-3RXUYQJI.js → chunk-OIVKILPI.js} +49 -0
- package/chunks/{chunk-LBWNSLJK.js → chunk-ONSZH6VM.js} +2 -2
- package/chunks/{chunk-R5RBXLNC.js → chunk-ORTYIRZU.js} +5 -5
- package/chunks/{chunk-HY25ULVN.js → chunk-ORYNZTB7.js} +131 -48
- package/chunks/{chunk-DYA25Y7U.js → chunk-OWMAZHIX.js} +1 -1
- package/chunks/{chunk-SQOMTWQT.js → chunk-P2PTEG3P.js} +4 -4
- package/chunks/{chunk-IMOQO6YL.js → chunk-P4PAGFDT.js} +1 -1
- package/chunks/{chunk-BOGOR4HB.js → chunk-PRYJZGR4.js} +7 -7
- package/chunks/{chunk-K2B3X3E7.js → chunk-PVNUY34T.js} +4 -4
- package/chunks/{chunk-WO2B5E5B.js → chunk-Q3JQ7OSU.js} +1 -1
- package/chunks/{chunk-GWRHVJY2.js → chunk-QBUXNKTM.js} +20 -20
- package/chunks/{chunk-75QMRMO7.js → chunk-QT34NLGU.js} +3 -3
- package/chunks/{chunk-CJ5WLD5Y.js → chunk-RFA3YH5R.js} +2 -2
- package/chunks/chunk-RGSBTHSU.js +3381 -0
- package/chunks/{chunk-Q5RM32DR.js → chunk-SDSQ7C4Y.js} +1 -1
- package/chunks/{chunk-YAVY33G4.js → chunk-SEZ556DZ.js} +1 -1
- package/chunks/chunk-SOORFWKY.js +155 -0
- package/chunks/{chunk-VGFPFM4U.js → chunk-ST774VGY.js} +42 -16
- package/chunks/{chunk-CA4UIDFU.js → chunk-T444EKH5.js} +1 -1
- package/chunks/{chunk-ODPXHGLL.js → chunk-T7WJWZCG.js} +2 -2
- package/chunks/{chunk-RFUHDCNF.js → chunk-TPQ6RO65.js} +1 -1
- package/chunks/{chunk-KVUBYJDM.js → chunk-TZEZYNYD.js} +1 -1
- package/chunks/{chunk-PPUOYL77.js → chunk-U5G2PZAQ.js} +49 -18
- package/chunks/{chunk-XC2VAFVZ.js → chunk-UVX4Y6IN.js} +1 -1
- package/chunks/{chunk-4JH77A2U.js → chunk-VHINCBEK.js} +1 -1
- package/chunks/{chunk-2POQWYM6.js → chunk-VIOH2OOE.js} +3 -3
- package/chunks/{chunk-URN76TKR.js → chunk-WCG5O7IP.js} +2 -2
- package/chunks/{chunk-RHTTKJTP.js → chunk-WIAN5MYB.js} +1 -1
- package/chunks/{chunk-JE44IPH6.js → chunk-WLAO54CV.js} +2 -2
- package/chunks/{chunk-W5DXUTXD.js → chunk-X26KCG3L.js} +8 -8
- package/chunks/{chunk-TOGZTG4X.js → chunk-X6VISCPN.js} +2 -2
- package/chunks/{chunk-TSERKWCX.js → chunk-XCWO3SMQ.js} +3 -3
- package/chunks/{chunk-VSALQLT7.js → chunk-XR4VN3GB.js} +1 -1
- package/chunks/{chunk-536SWZTA.js → chunk-Y4F5PBY5.js} +4 -4
- package/chunks/{chunk-3PRJYMXC.js → chunk-Y4NGLFGJ.js} +1 -1
- package/chunks/{chunk-ULPQQSDN.js → chunk-YD26XH5B.js} +3 -3
- package/chunks/{chunk-3LGZEYOF.js → chunk-YHEEE624.js} +2 -2
- package/chunks/{chunk-FZFP7RZI.js → chunk-YPQ4IEVV.js} +3 -3
- package/chunks/{chunk-SUKEUUAA.js → chunk-Z2MB7HS7.js} +1 -1
- package/chunks/{chunk-ACZRB7AD.js → chunk-ZFJBQATO.js} +3 -3
- package/chunks/{chunk-LAAFLUQV.js → chunk-ZXU5UHMI.js} +1 -1
- package/chunks/{computer-use-5HXJ2P4X.js → computer-use-4WCG6FX3.js} +35 -35
- package/chunks/{config-utils-VXD4SPVR.js → config-utils-K7SCOWHD.js} +2 -2
- package/chunks/{contextCommand-7BEHRX2H.js → contextCommand-MLJEOUZY.js} +37 -37
- package/chunks/{core-runtime-U4VJ5TIV.js → core-runtime-LKSDQXFB.js} +35 -35
- package/chunks/{create-sub-session-6EWLAZD5.js → create-sub-session-E4PBYXV5.js} +2 -2
- package/chunks/{create-sub-session-QZNQY332.js → create-sub-session-ZJ7OYXRW.js} +35 -35
- package/chunks/{cron-create-CCRIULJE.js → cron-create-GRBWYMIJ.js} +4 -4
- package/chunks/{cron-delete-FCFW6BGP.js → cron-delete-4CMKBR2M.js} +4 -4
- package/chunks/{cron-list-QDBVCHRF.js → cron-list-W7K4ASOA.js} +4 -4
- package/chunks/{daemon-YI5RY62O.js → daemon-SCTQMM7Z.js} +50 -2
- package/chunks/{daemon-status-provider-UJUGTDTL.js → daemon-status-provider-2TPABSC6.js} +43 -43
- package/chunks/{daemon-trust-policy-ZHDD5VYQ.js → daemon-trust-policy-U5Q3LRKV.js} +40 -40
- package/chunks/{daemon-trust-policy-monitor-5SHYBDGA.js → daemon-trust-policy-monitor-REIZABHN.js} +40 -40
- package/chunks/{deferred-core-runtime-QWAEBTR5.js → deferred-core-runtime-ONWSGDPN.js} +35 -35
- package/chunks/{display-image-GUJA352B.js → display-image-O2XFPQTC.js} +4 -4
- package/chunks/{dist-A7H2KKUC.js → dist-K4WWQBHS.js} +277 -98
- package/chunks/{earlyInputCapture-5BMSGKOI.js → earlyInputCapture-Q7CO2QN4.js} +36 -36
- package/chunks/{edit-IVQQVYYK.js → edit-PBU33DGY.js} +35 -35
- package/chunks/{enter-worktree-P3DF2N6O.js → enter-worktree-WCRF2AA5.js} +35 -35
- package/chunks/{enterPlanMode-KKTDVLAD.js → enterPlanMode-E2RXSZSG.js} +35 -35
- package/chunks/{environment-W5TRDM3G.js → environment-KA6OBBY4.js} +37 -37
- package/chunks/{errors-GJJB36IG.js → errors-XYCANYTN.js} +37 -37
- package/chunks/{exit-worktree-LV5RLOCU.js → exit-worktree-CQLRKE26.js} +35 -35
- package/chunks/{exitPlanMode-TUGOB2LL.js → exitPlanMode-AP7XQVRL.js} +35 -35
- package/chunks/{fast-path-2FU23PAQ.js → fast-path-DHKCBUUQ.js} +2 -2
- package/chunks/{gemini-KDULDQPP.js → gemini-RGYIKOL6.js} +72 -72
- package/chunks/{geminiContentGenerator-LOCFHNVA.js → geminiContentGenerator-ZLI7NARI.js} +6 -6
- package/chunks/{glob-Z4NQFKWS.js → glob-R4R7OG4W.js} +35 -35
- package/chunks/{goal-tools-3AZKX5WQ.js → goal-tools-APOW6UXL.js} +3 -3
- package/chunks/{grep-Z67Z7EN6.js → grep-BO5M2UCN.js} +35 -35
- package/chunks/{handleAutoUpdate-DFUZE6I6.js → handleAutoUpdate-ZTHIKBZM.js} +39 -39
- package/chunks/{i18n-R4FMZ7N2.js → i18n-GNC2NNVA.js} +36 -36
- package/chunks/{image-gen-4CQJPQP5.js → image-gen-2XYVOLT5.js} +9 -9
- package/chunks/{initializer-DK672ZVE.js → initializer-VXLEBSSB.js} +41 -41
- package/chunks/{installationInfo-PO4Z3ES7.js → installationInfo-QBJ7GECU.js} +36 -36
- package/chunks/{keychain-token-storage-7BT4TQ2A.js → keychain-token-storage-TVAMTNP7.js} +2 -2
- package/chunks/{list-QXQF6C53.js → list-VLARA3NO.js} +43 -43
- package/chunks/{list-agents-GC4BRET7.js → list-agents-KFFIIS2G.js} +2 -2
- package/chunks/{loadedSettingsAdapter-4D7GUGW6.js → loadedSettingsAdapter-AQWO3DKQ.js} +40 -40
- package/chunks/{loggingContentGenerator-2P3MNACM.js → loggingContentGenerator-JPOQJB44.js} +17 -17
- package/chunks/{loop-wakeup-SQQSBMEY.js → loop-wakeup-TLMJPMMP.js} +5 -5
- package/chunks/{ls-63CC3NNX.js → ls-UVVE2XGE.js} +4 -4
- package/chunks/{lsp-P6NVJVNT.js → lsp-QMEA2VLB.js} +2 -2
- package/chunks/{managed-npm-update-LWVJQTWO.js → managed-npm-update-LEIM7R7Z.js} +36 -36
- package/chunks/{mcp-GHETAR6V.js → mcp-WDSZDEUK.js} +40 -40
- package/chunks/{monitor-4T7W4M6Q.js → monitor-XEIMDJKT.js} +35 -35
- package/chunks/{nonInteractiveCli-P4UKCJFM.js → nonInteractiveCli-GA7CHB27.js} +72 -72
- package/chunks/{notebook-edit-OC2V7U5D.js → notebook-edit-HBVYJEYN.js} +35 -35
- package/chunks/{openaiContentGenerator-RAJUFWQY.js → openaiContentGenerator-D6DYXZD3.js} +19 -19
- package/chunks/{pidfile-HVPYVRLS.js → pidfile-DWDNVKET.js} +36 -36
- package/chunks/{processUtils-VIQ4JHVX.js → processUtils-Y2SQQ2RR.js} +2 -2
- package/chunks/{qwenContentGenerator-2QLCUFNZ.js → qwenContentGenerator-MTXRA2IT.js} +40 -40
- package/chunks/{qwenOAuth2-J2X3EN43.js → qwenOAuth2-HQSYUQ2E.js} +8 -8
- package/chunks/{read-file-ZNAN2B26.js → read-file-IUAEEXBO.js} +10 -10
- package/chunks/{read-mcp-resource-RTSSEER5.js → read-mcp-resource-2TNSJTC3.js} +2 -2
- package/chunks/{record-artifact-E6AWQU2Z.js → record-artifact-RAON52FC.js} +3 -3
- package/chunks/{resumeHistoryUtils-RCY7AL5Y.js → resumeHistoryUtils-J244DBOH.js} +41 -40
- package/chunks/{ripGrep-C3KMLZM5.js → ripGrep-NBENZCHO.js} +35 -35
- package/chunks/{run-qwen-serve-3JN75CIQ.js → run-qwen-serve-2G754FJE.js} +65 -43
- package/chunks/{runtime-VUA4WQYD.js → runtime-KBSESBIX.js} +43 -43
- package/chunks/{scheduler-Z4IBXCOY.js → scheduler-INHLDC26.js} +35 -35
- package/chunks/{sdk-exporters-http-IL2346MJ.js → sdk-exporters-http-KHAB5JSD.js} +2 -2
- package/chunks/{sdk-impl-SYKGVWOZ.js → sdk-impl-KD7FSTC3.js} +2 -2
- package/chunks/{send-message-TL6FIMMN.js → send-message-ZM7MRUGP.js} +5 -5
- package/chunks/{serve-67T3P7XI.js → serve-G2BCUQNM.js} +41 -41
- package/chunks/{server-46ZO2CLV.js → server-3BD6DIW3.js} +621 -332
- package/chunks/{session-B4IFAFC4.js → session-HGXANTYW.js} +73 -73
- package/chunks/{settings-AI2BTBOZ.js → settings-VYFBEZ2R.js} +39 -39
- package/chunks/{shell-BKII3B6E.js → shell-3LBKDXAW.js} +35 -35
- package/chunks/{skill-6CFOWVGA.js → skill-W576UXSL.js} +14 -14
- package/chunks/{skill-settings-6BFQWMW4.js → skill-settings-ZNUIJMJT.js} +39 -39
- package/chunks/{spawnChannel-FJXW35U7.js → spawnChannel-AUUVHV5S.js} +37 -37
- package/chunks/{standalone-update-WVINHRNS.js → standalone-update-WEQVL7DN.js} +37 -37
- package/chunks/{startInteractiveUI-YE57CJ57.js → startInteractiveUI-V3B5M5PY.js} +399 -159
- package/chunks/{syntheticOutput-BN7E626U.js → syntheticOutput-ZLCUTKO2.js} +3 -3
- package/chunks/{task-create-Q727MXHJ.js → task-create-CQP5UEA3.js} +9 -9
- package/chunks/{task-list-G6KPQ5JT.js → task-list-XLEZOJXP.js} +5 -5
- package/chunks/{task-stop-TNXRNAL2.js → task-stop-7ZQM5CFF.js} +2 -2
- package/chunks/{task-update-YB7PXO4R.js → task-update-JA75U2SN.js} +9 -9
- package/chunks/{team-create-GNC7NFY6.js → team-create-4TEVQYI5.js} +35 -35
- package/chunks/{team-delete-GDO7H2T4.js → team-delete-MHY3UZGY.js} +5 -5
- package/chunks/{team-plan-approval-ECALJLIO.js → team-plan-approval-UOSTAB7R.js} +35 -35
- package/chunks/{terminal-image-renderer-II74TFVW.js → terminal-image-renderer-VO6W4YSM.js} +41 -36
- package/chunks/{theme-manager-2MGEDD22.js → theme-manager-HOYUCAJ5.js} +36 -36
- package/chunks/{todoWrite-MHWHO5UO.js → todoWrite-UPVOHYGD.js} +4 -4
- package/chunks/{tool-search-S6LRRACA.js → tool-search-NRMWTH3L.js} +13 -13
- package/chunks/{total-session-admission-7WVAWQPU.js → total-session-admission-KHBGXD6A.js} +39 -39
- package/chunks/{trustedFolders-NFS4KHO4.js → trustedFolders-AH242HLO.js} +36 -36
- package/chunks/{update-relaunch-Q5HLZ6UW.js → update-relaunch-R3M25PND.js} +5 -5
- package/chunks/{updateCheck-UOVZSTP7.js → updateCheck-4O2CMHMG.js} +38 -38
- package/chunks/{useAutoAcceptIndicator-PC6MOJCO.js → useAutoAcceptIndicator-KZSKP3RY.js} +42 -42
- package/chunks/{validateNonInterActiveAuth-YMQP3ZM7.js → validateNonInterActiveAuth-7AXUFNBE.js} +69 -69
- package/chunks/{version-T4AQFZJH.js → version-BE7H2MTM.js} +1 -1
- package/chunks/{web-fetch-JQCJHEEX.js → web-fetch-C7FQ24BP.js} +13 -13
- package/chunks/{web-search-QGZ2KY4G.js → web-search-7FPW6ECJ.js} +9 -9
- package/chunks/web-shell-static-O73YPVVC.js +33 -0
- package/chunks/{workflow-YIT27YWZ.js → workflow-3LAE5AL7.js} +36 -36
- package/chunks/{workspace-providers-status-FIDZQ2PL.js → workspace-providers-status-UXZKS6SE.js} +43 -43
- package/chunks/{workspace-registration-store-RCSPE4DU.js → workspace-registration-store-DSS57KLV.js} +1 -1
- package/chunks/{workspace-registry-5PEUCY6E.js → workspace-registry-VOSOZ4WU.js} +39 -39
- package/chunks/{workspace-service-LANDVPL7.js → workspace-service-MWWHXZGQ.js} +45 -45
- package/chunks/{workspace-skills-status-2IQVJNIN.js → workspace-skills-status-DN56VF74.js} +41 -41
- package/chunks/{workspace-trust-reconciler-CZPZZCZC.js → workspace-trust-reconciler-3GOQYMND.js} +45 -45
- package/chunks/{write-file-G5VNGCOG.js → write-file-B4YZQZ2K.js} +35 -35
- package/chunks/{zoom-image-6RBLD7X6.js → zoom-image-L4QKXYG2.js} +10 -10
- package/cli.js +12 -12
- package/package.json +3 -3
- package/web-shell/assets/{arc-B-Vtkp1W.js → arc-Ip-FFDJ0.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-qmTXIj64.js → architectureDiagram-3BPJPVTR-CChqgwIb.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-ZlnXEtdP.js → blockDiagram-GPEHLZMM-BHN-Tfss.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-Wyoirf6Z.js → c4Diagram-AAUBKEIU-BhyjzDjN.js} +1 -1
- package/web-shell/assets/channel-Cu8qd6OB.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-WQwbq9d8.js → chunk-2J33WTMH-BB9eyHrx.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DQKnAXC4.js → chunk-4BX2VUAB-BeV7ce_J.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DIdgXNcO.js → chunk-55IACEB6-DO7kXDiV.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CUwGOLEd.js → chunk-727SXJPM-B27MPznD.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CCBGZFZ4.js → chunk-AQP2D5EJ-DHIjqjD_.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-DMGXProk.js → chunk-FMBD7UC4-DabMqyN2.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-yejcFqsh.js → chunk-ND2GUHAM-Dw7Nnnxc.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-DxCyqTf7.js → chunk-QZHKN3VN-DdaZew1Q.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BI3KrXhq.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BI3KrXhq.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-DOrF3cg_.js → cose-bilkent-S5V4N54A-CgBpCYH5.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-Be6CdYQ_.js → dagre-BM42HDAG-BB4IU8G0.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-B_Rjsft2.js → diagram-2AECGRRQ-BcUTHU37.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BvQbKSm1.js → diagram-5GNKFQAL-B6Lyihyv.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BsdmMdpS.js → diagram-KO2AKTUF-CRIJOjpG.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-CrQlBaNr.js → diagram-LMA3HP47-DdNiwWWT.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-aB1MD_DL.js → diagram-OG6HWLK6-Dz4b32Do.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-F-eUUn9n.js → erDiagram-TEJ5UH35-D-8NGw77.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-DY_d8lUK.js → flowDiagram-I6XJVG4X-Dun26LyM.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-Dqu7KBPg.js → ganttDiagram-6RSMTGT7-F10Hu1Gc.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-2IkU_VEj.js → gitGraphDiagram-PVQCEYII-Bf8Ez6-D.js} +1 -1
- package/web-shell/assets/{index-BuSbqggh.js → index-BXqw-nGq.js} +1 -1
- package/web-shell/assets/{index-DrfC2e9s.js → index-hcgjV7vS.js} +333 -333
- package/web-shell/assets/{infoDiagram-5YYISTIA-C4orwzPw.js → infoDiagram-5YYISTIA-DVgTMLvj.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-fXUEfef_.js → ishikawaDiagram-YF4QCWOH-uT-KepvK.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-Bs0I1_J5.js → journeyDiagram-JHISSGLW-Vg_XadQf.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BPRj1dw_.js → kanban-definition-UN3LZRKU-Dyv1ESBE.js} +1 -1
- package/web-shell/assets/{linear-DFS6ZDpW.js → linear-BMIepYX3.js} +1 -1
- package/web-shell/assets/{mermaid.core-CZxjWMaO.js → mermaid.core-zA8pJ9ag.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-Dsr3PmNs.js → mindmap-definition-RKZ34NQL-BCW_BZ_5.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-D5Ngpz5Y.js → pieDiagram-4H26LBE5-DseNEGp2.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-WJK9I25z.js → quadrantDiagram-W4KKPZXB-6Z7wr1Fi.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CmrYcwOH.js → requirementDiagram-4Y6WPE33-CVOlCRPf.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-7SjCc4Mv.js → sankeyDiagram-5OEKKPKP-CGhgrUJZ.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-Dl9E0IRM.js → sequenceDiagram-3UESZ5HK-dlqmpLuQ.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CRRio7yV.js → stateDiagram-AJRCARHV-B9EW10Xb.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CJTZJJ5X.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DVyXjjfq.js → timeline-definition-PNZ67QCA-BBRh0mgZ.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-Nb2Lckzq.js → vennDiagram-CIIHVFJN-B8Gs-REP.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-DuL_otIP.js → wardley-L42UT6IY-D_y80Ur7.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DVI9Q4Aa.js → wardleyDiagram-YWT4CUSO-D-CNfHJ-.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BNjAm7KD.js → xychartDiagram-2RQKCTM6-DQ5CvELo.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/assets/channel-DXaHnfjS.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BigU82A0.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BigU82A0.js +0 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-1atT7XaU.js +0 -1
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DashScopeOpenAICompatibleProvider,
|
|
5
5
|
DefaultOpenAICompatibleProvider
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IIJEYBNH.js";
|
|
7
7
|
import {
|
|
8
8
|
RequestTokenizer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B2GJNDTV.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_STREAM_IDLE_TIMEOUT_MS,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
DEFAULT_STREAM_MAX_LIFETIME_MS,
|
|
13
|
+
MAX_STREAM_GUARD_TIMEOUT_MS,
|
|
14
|
+
QWEN_STREAM_IDLE_TIMEOUT_MS_ENV,
|
|
15
|
+
QWEN_STREAM_MAX_LIFETIME_MS_ENV
|
|
16
|
+
} from "./chunk-AXMWHKXA.js";
|
|
15
17
|
import {
|
|
16
18
|
createChildAbortController
|
|
17
19
|
} from "./chunk-DJ2GSRLV.js";
|
|
@@ -19,16 +21,16 @@ import {
|
|
|
19
21
|
OpenAIContentConverter,
|
|
20
22
|
TaggedThinkingParser,
|
|
21
23
|
openaiRequestCaptureContext
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DREZZAZM.js";
|
|
23
25
|
import {
|
|
24
26
|
InvalidStreamError
|
|
25
27
|
} from "./chunk-2J3OJGTL.js";
|
|
26
28
|
import {
|
|
27
29
|
getRateLimitErrorDetails
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-M6HMMKVG.js";
|
|
29
31
|
import {
|
|
30
32
|
safeJsonParse
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-CKASRHZI.js";
|
|
32
34
|
import {
|
|
33
35
|
getToolCallPreparations,
|
|
34
36
|
runtimeDiagnostics
|
|
@@ -37,11 +39,11 @@ import {
|
|
|
37
39
|
reportOpenAiChunk,
|
|
38
40
|
reportOpenAiRequest,
|
|
39
41
|
reportOpenAiResponse
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WCG5O7IP.js";
|
|
41
43
|
import {
|
|
42
44
|
ProtocolTagSanitizedEvent,
|
|
43
45
|
logProtocolTagSanitized
|
|
44
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FTJUO7R2.js";
|
|
45
47
|
import {
|
|
46
48
|
isQwenFamilyWireModel,
|
|
47
49
|
isTieredEffortWireModel
|
|
@@ -51,14 +53,14 @@ import {
|
|
|
51
53
|
} from "./chunk-ZBVS26BY.js";
|
|
52
54
|
import {
|
|
53
55
|
redactProxyError
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-KKBPOU75.js";
|
|
55
57
|
import {
|
|
56
58
|
createDebugLogger,
|
|
57
59
|
getErrorMessage,
|
|
58
60
|
getErrorStatus,
|
|
59
61
|
getErrorType,
|
|
60
62
|
isAbortError
|
|
61
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-OIVKILPI.js";
|
|
62
64
|
import {
|
|
63
65
|
GenerateContentResponse
|
|
64
66
|
} from "./chunk-22C7BQ6D.js";
|
|
@@ -940,6 +942,21 @@ var StreamInactivityTimeoutError = class extends Error {
|
|
|
940
942
|
}
|
|
941
943
|
code = "ETIMEDOUT";
|
|
942
944
|
};
|
|
945
|
+
var StreamLifetimeExceededError = class extends Error {
|
|
946
|
+
constructor(maxLifetimeMs, chunksReceived, streamLifetimeMs) {
|
|
947
|
+
super(
|
|
948
|
+
`Stream exceeded its ${maxLifetimeMs}ms upstream-wait cap after ${chunksReceived} chunks without completing (wall clock: ${streamLifetimeMs}ms). Set ${QWEN_STREAM_MAX_LIFETIME_MS_ENV} to increase this cap (or 0 to disable it).`
|
|
949
|
+
);
|
|
950
|
+
this.maxLifetimeMs = maxLifetimeMs;
|
|
951
|
+
this.chunksReceived = chunksReceived;
|
|
952
|
+
this.streamLifetimeMs = streamLifetimeMs;
|
|
953
|
+
this.name = "StreamLifetimeExceededError";
|
|
954
|
+
}
|
|
955
|
+
static {
|
|
956
|
+
__name(this, "StreamLifetimeExceededError");
|
|
957
|
+
}
|
|
958
|
+
code = "ETIMEDOUT";
|
|
959
|
+
};
|
|
943
960
|
var NON_SSE_BODY_PREFIX_LIMIT = 512;
|
|
944
961
|
function isSSECompatibleContentType(contentType) {
|
|
945
962
|
if (!contentType) return true;
|
|
@@ -985,57 +1002,108 @@ function clampProviderOutputBudgetKeys(samplingParams, requestMaxTokens) {
|
|
|
985
1002
|
return samplingParams;
|
|
986
1003
|
}
|
|
987
1004
|
__name(clampProviderOutputBudgetKeys, "clampProviderOutputBudgetKeys");
|
|
988
|
-
function
|
|
989
|
-
const fromConfig = config.streamIdleTimeoutMs;
|
|
1005
|
+
function resolveStreamGuardMs(fromConfig, configLabel, envName, defaultMs) {
|
|
990
1006
|
if (typeof fromConfig === "number") {
|
|
991
|
-
if (Number.isInteger(fromConfig) && fromConfig <=
|
|
1007
|
+
if (Number.isInteger(fromConfig) && fromConfig <= MAX_STREAM_GUARD_TIMEOUT_MS) {
|
|
992
1008
|
return fromConfig;
|
|
993
1009
|
}
|
|
994
1010
|
console.warn(
|
|
995
|
-
`[qwen-code] Ignoring out-of-range
|
|
1011
|
+
`[qwen-code] Ignoring out-of-range ${configLabel}=${fromConfig} (expected an integer in (-\u221E, ${MAX_STREAM_GUARD_TIMEOUT_MS}]); falling back to ${envName}/default.`
|
|
996
1012
|
);
|
|
997
1013
|
}
|
|
998
|
-
const raw = process.env[
|
|
1014
|
+
const raw = process.env[envName];
|
|
999
1015
|
const trimmed = raw?.trim();
|
|
1000
1016
|
if (trimmed) {
|
|
1001
1017
|
if (/^\d+$/.test(trimmed)) {
|
|
1002
1018
|
const parsed = Number(trimmed);
|
|
1003
|
-
if (parsed <=
|
|
1019
|
+
if (parsed <= MAX_STREAM_GUARD_TIMEOUT_MS) {
|
|
1004
1020
|
return parsed;
|
|
1005
1021
|
}
|
|
1006
1022
|
}
|
|
1007
1023
|
console.warn(
|
|
1008
|
-
`[qwen-code] Ignoring invalid ${
|
|
1024
|
+
`[qwen-code] Ignoring invalid ${envName}="${raw}" (expected an integer of milliseconds in [0, ${MAX_STREAM_GUARD_TIMEOUT_MS}]); using default ${defaultMs}ms.`
|
|
1009
1025
|
);
|
|
1010
1026
|
}
|
|
1011
|
-
return
|
|
1027
|
+
return defaultMs;
|
|
1028
|
+
}
|
|
1029
|
+
__name(resolveStreamGuardMs, "resolveStreamGuardMs");
|
|
1030
|
+
function resolveStreamIdleTimeoutMs(config) {
|
|
1031
|
+
return resolveStreamGuardMs(
|
|
1032
|
+
config.streamIdleTimeoutMs,
|
|
1033
|
+
"streamIdleTimeoutMs",
|
|
1034
|
+
QWEN_STREAM_IDLE_TIMEOUT_MS_ENV,
|
|
1035
|
+
DEFAULT_STREAM_IDLE_TIMEOUT_MS
|
|
1036
|
+
);
|
|
1012
1037
|
}
|
|
1013
1038
|
__name(resolveStreamIdleTimeoutMs, "resolveStreamIdleTimeoutMs");
|
|
1014
|
-
|
|
1039
|
+
function resolveStreamMaxLifetimeMs(config) {
|
|
1040
|
+
return resolveStreamGuardMs(
|
|
1041
|
+
config.streamMaxLifetimeMs,
|
|
1042
|
+
"streamMaxLifetimeMs",
|
|
1043
|
+
QWEN_STREAM_MAX_LIFETIME_MS_ENV,
|
|
1044
|
+
DEFAULT_STREAM_MAX_LIFETIME_MS
|
|
1045
|
+
);
|
|
1046
|
+
}
|
|
1047
|
+
__name(resolveStreamMaxLifetimeMs, "resolveStreamMaxLifetimeMs");
|
|
1048
|
+
async function* withStreamGuards(source, idleMs, maxLifetimeMs, abortRequest, parentSignal) {
|
|
1049
|
+
if (idleMs <= 0 && maxLifetimeMs <= 0) {
|
|
1050
|
+
yield* source;
|
|
1051
|
+
return;
|
|
1052
|
+
}
|
|
1015
1053
|
const it = source[Symbol.asyncIterator]();
|
|
1016
|
-
const streamStartedAt =
|
|
1054
|
+
const streamStartedAt = performance.now();
|
|
1055
|
+
let upstreamMs = 0;
|
|
1017
1056
|
let chunksReceived = 0;
|
|
1018
1057
|
try {
|
|
1019
1058
|
while (true) {
|
|
1059
|
+
const remainingMs = maxLifetimeMs > 0 ? maxLifetimeMs - upstreamMs : Number.POSITIVE_INFINITY;
|
|
1060
|
+
if (remainingMs <= 0) {
|
|
1061
|
+
if (parentSignal?.aborted) {
|
|
1062
|
+
const abortErr = new Error("Aborted");
|
|
1063
|
+
abortErr.name = "AbortError";
|
|
1064
|
+
throw abortErr;
|
|
1065
|
+
}
|
|
1066
|
+
abortRequest();
|
|
1067
|
+
throw new StreamLifetimeExceededError(
|
|
1068
|
+
maxLifetimeMs,
|
|
1069
|
+
chunksReceived,
|
|
1070
|
+
performance.now() - streamStartedAt
|
|
1071
|
+
);
|
|
1072
|
+
}
|
|
1020
1073
|
const nextPromise = it.next();
|
|
1074
|
+
const awaitedAt = performance.now();
|
|
1021
1075
|
let timer;
|
|
1022
1076
|
const timeout = new Promise((_resolve, reject) => {
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1077
|
+
const idleIn = idleMs > 0 ? idleMs : Number.POSITIVE_INFINITY;
|
|
1078
|
+
const wait = Math.min(idleIn, remainingMs);
|
|
1079
|
+
timer = setTimeout(
|
|
1080
|
+
() => {
|
|
1081
|
+
if (parentSignal?.aborted) {
|
|
1082
|
+
const abortErr = new Error("Aborted");
|
|
1083
|
+
abortErr.name = "AbortError";
|
|
1084
|
+
reject(abortErr);
|
|
1085
|
+
} else if (remainingMs <= idleIn) {
|
|
1086
|
+
abortRequest();
|
|
1087
|
+
reject(
|
|
1088
|
+
new StreamLifetimeExceededError(
|
|
1089
|
+
maxLifetimeMs,
|
|
1090
|
+
chunksReceived,
|
|
1091
|
+
performance.now() - streamStartedAt
|
|
1092
|
+
)
|
|
1093
|
+
);
|
|
1094
|
+
} else {
|
|
1095
|
+
abortRequest();
|
|
1096
|
+
reject(
|
|
1097
|
+
new StreamInactivityTimeoutError(
|
|
1098
|
+
idleMs,
|
|
1099
|
+
chunksReceived,
|
|
1100
|
+
performance.now() - streamStartedAt
|
|
1101
|
+
)
|
|
1102
|
+
);
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
Math.max(wait, 0)
|
|
1106
|
+
);
|
|
1039
1107
|
timer.unref?.();
|
|
1040
1108
|
});
|
|
1041
1109
|
let result;
|
|
@@ -1049,6 +1117,7 @@ async function* withStreamInactivityTimeout(source, idleMs, abortRequest, parent
|
|
|
1049
1117
|
if (timer !== void 0) clearTimeout(timer);
|
|
1050
1118
|
}
|
|
1051
1119
|
if (result.done) return;
|
|
1120
|
+
upstreamMs += performance.now() - awaitedAt;
|
|
1052
1121
|
chunksReceived += 1;
|
|
1053
1122
|
yield result.value;
|
|
1054
1123
|
}
|
|
@@ -1060,7 +1129,7 @@ async function* withStreamInactivityTimeout(source, idleMs, abortRequest, parent
|
|
|
1060
1129
|
}
|
|
1061
1130
|
}
|
|
1062
1131
|
}
|
|
1063
|
-
__name(
|
|
1132
|
+
__name(withStreamGuards, "withStreamGuards");
|
|
1064
1133
|
var ContentGenerationPipeline = class {
|
|
1065
1134
|
constructor(config) {
|
|
1066
1135
|
this.config = config;
|
|
@@ -1069,6 +1138,9 @@ var ContentGenerationPipeline = class {
|
|
|
1069
1138
|
this.streamIdleTimeoutMs = resolveStreamIdleTimeoutMs(
|
|
1070
1139
|
this.contentGeneratorConfig
|
|
1071
1140
|
);
|
|
1141
|
+
this.streamMaxLifetimeMs = resolveStreamMaxLifetimeMs(
|
|
1142
|
+
this.contentGeneratorConfig
|
|
1143
|
+
);
|
|
1072
1144
|
}
|
|
1073
1145
|
static {
|
|
1074
1146
|
__name(this, "ContentGenerationPipeline");
|
|
@@ -1079,6 +1151,7 @@ var ContentGenerationPipeline = class {
|
|
|
1079
1151
|
// Resolved once (config field > env > default) so the env read + any
|
|
1080
1152
|
// invalid-value warning happen per pipeline, not per streaming request.
|
|
1081
1153
|
streamIdleTimeoutMs;
|
|
1154
|
+
streamMaxLifetimeMs;
|
|
1082
1155
|
async execute(request, userPromptId) {
|
|
1083
1156
|
return this.executeWithErrorHandling(
|
|
1084
1157
|
request,
|
|
@@ -1156,9 +1229,11 @@ var ContentGenerationPipeline = class {
|
|
|
1156
1229
|
throw e;
|
|
1157
1230
|
}
|
|
1158
1231
|
const idleMs = this.streamIdleTimeoutMs;
|
|
1159
|
-
const
|
|
1232
|
+
const maxLifetimeMs = this.streamMaxLifetimeMs;
|
|
1233
|
+
const guarded = idleMs > 0 || maxLifetimeMs > 0 ? withStreamGuards(
|
|
1160
1234
|
stream,
|
|
1161
1235
|
idleMs,
|
|
1236
|
+
maxLifetimeMs,
|
|
1162
1237
|
() => perRequestAc.abort(),
|
|
1163
1238
|
parentSignal
|
|
1164
1239
|
) : stream;
|
|
@@ -1305,6 +1380,22 @@ var ContentGenerationPipeline = class {
|
|
|
1305
1380
|
if (error instanceof StreamContentError) {
|
|
1306
1381
|
throw redactProxyError(error);
|
|
1307
1382
|
}
|
|
1383
|
+
if (error instanceof StreamInactivityTimeoutError || error instanceof StreamLifetimeExceededError) {
|
|
1384
|
+
const isLifetime = error instanceof StreamLifetimeExceededError;
|
|
1385
|
+
debugLogger3.warn(
|
|
1386
|
+
isLifetime ? "OpenAI stream lifetime cap exceeded" : "OpenAI stream inactivity timeout",
|
|
1387
|
+
{
|
|
1388
|
+
chunksReceived: error.chunksReceived,
|
|
1389
|
+
// Wall clock, labelled apart from the cap so the two numbers in
|
|
1390
|
+
// the log reconcile the same way the error message does.
|
|
1391
|
+
wallClockMs: error.streamLifetimeMs,
|
|
1392
|
+
...isLifetime ? {
|
|
1393
|
+
maxLifetimeMs: error.maxLifetimeMs
|
|
1394
|
+
} : { idleMs: error.idleMs }
|
|
1395
|
+
}
|
|
1396
|
+
);
|
|
1397
|
+
throw redactProxyError(error);
|
|
1398
|
+
}
|
|
1308
1399
|
if (context.pendingThinkingTagCandidate?.closingTagName && request.config?.abortSignal?.aborted !== true) {
|
|
1309
1400
|
context.pendingThinkingTagCandidate = void 0;
|
|
1310
1401
|
context.pendingUntrustedResponseParts = void 0;
|
|
@@ -1313,14 +1404,6 @@ var ContentGenerationPipeline = class {
|
|
|
1313
1404
|
"PROTOCOL_TAG_LEAK"
|
|
1314
1405
|
);
|
|
1315
1406
|
}
|
|
1316
|
-
if (error instanceof StreamInactivityTimeoutError) {
|
|
1317
|
-
debugLogger3.warn("OpenAI stream inactivity timeout", {
|
|
1318
|
-
idleMs: error.idleMs,
|
|
1319
|
-
chunksReceived: error.chunksReceived,
|
|
1320
|
-
streamLifetimeMs: error.streamLifetimeMs
|
|
1321
|
-
});
|
|
1322
|
-
throw redactProxyError(error);
|
|
1323
|
-
}
|
|
1324
1407
|
await this.handleError(error, context, request);
|
|
1325
1408
|
}
|
|
1326
1409
|
}
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getGitVersion,
|
|
5
5
|
getNpmVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PVNUY34T.js";
|
|
7
7
|
import {
|
|
8
8
|
buildEnvStatusFromEnv,
|
|
9
9
|
snapshotProcessEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YD26XH5B.js";
|
|
11
11
|
import {
|
|
12
12
|
mapDomainErrorToErrorKind
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NLREQJFK.js";
|
|
14
14
|
import {
|
|
15
15
|
canUseRipgrep
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I3LJQR5I.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
19
19
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
preloadRuntimeFetchModule
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KKBPOU75.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -407,18 +407,18 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
407
407
|
try {
|
|
408
408
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
409
409
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
410
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
410
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-D6DYXZD3.js");
|
|
411
411
|
return createOpenAIContentGenerator(generatorConfig, config);
|
|
412
412
|
}, "loadBaseGenerator");
|
|
413
413
|
} else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
|
|
414
|
-
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-
|
|
414
|
+
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-HQSYUQ2E.js");
|
|
415
415
|
try {
|
|
416
416
|
const qwenClient = await getQwenOauthClient(
|
|
417
417
|
config,
|
|
418
418
|
isInitialAuth ? { requireCachedCredentials: true } : void 0
|
|
419
419
|
);
|
|
420
420
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
421
|
-
const { QwenContentGenerator } = await import("./qwenContentGenerator-
|
|
421
|
+
const { QwenContentGenerator } = await import("./qwenContentGenerator-MTXRA2IT.js");
|
|
422
422
|
return new QwenContentGenerator(qwenClient, generatorConfig, config);
|
|
423
423
|
}, "loadBaseGenerator");
|
|
424
424
|
} catch (error) {
|
|
@@ -429,12 +429,12 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
429
429
|
}
|
|
430
430
|
} else if (authType === "anthropic" /* USE_ANTHROPIC */) {
|
|
431
431
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
432
|
-
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-
|
|
432
|
+
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-DTMVEL5M.js");
|
|
433
433
|
return createAnthropicContentGenerator(generatorConfig, config);
|
|
434
434
|
}, "loadBaseGenerator");
|
|
435
435
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
436
436
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
437
|
-
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-
|
|
437
|
+
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-ZLI7NARI.js");
|
|
438
438
|
return createGeminiContentGenerator(generatorConfig, config);
|
|
439
439
|
}, "loadBaseGenerator");
|
|
440
440
|
} else {
|
|
@@ -450,7 +450,7 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
450
450
|
try {
|
|
451
451
|
const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
|
|
452
452
|
loadBaseGenerator(),
|
|
453
|
-
import("./loggingContentGenerator-
|
|
453
|
+
import("./loggingContentGenerator-JPOQJB44.js")
|
|
454
454
|
]);
|
|
455
455
|
return new LoggingContentGenerator(
|
|
456
456
|
baseGenerator,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getCliVersion
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FBPPGNA4.js";
|
|
6
6
|
import {
|
|
7
7
|
IdeClient,
|
|
8
8
|
formatMemoryUsage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I3LJQR5I.js";
|
|
10
10
|
import {
|
|
11
11
|
createDebugLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OIVKILPI.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -25,7 +25,7 @@ import { execFile } from "node:child_process";
|
|
|
25
25
|
|
|
26
26
|
// packages/cli/src/generated/git-commit.ts
|
|
27
27
|
init_esbuild_shims();
|
|
28
|
-
var GIT_COMMIT_INFO = "
|
|
28
|
+
var GIT_COMMIT_INFO = "990122963";
|
|
29
29
|
|
|
30
30
|
// packages/cli/src/utils/systemInfo.ts
|
|
31
31
|
var debugLogger = createDebugLogger("STATUS");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
JsonOutputAdapter
|
|
5
|
+
} from "./chunk-SDSQ7C4Y.js";
|
|
3
6
|
import {
|
|
4
7
|
settleChatRecording,
|
|
5
8
|
subscribeToHeadlessChatRecordingFailures
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
handleAtCommand
|
|
9
|
-
} from "./chunk-SLSWFHDF.js";
|
|
10
|
-
import {
|
|
11
|
-
JsonOutputAdapter
|
|
12
|
-
} from "./chunk-Q5RM32DR.js";
|
|
9
|
+
} from "./chunk-T7WJWZCG.js";
|
|
13
10
|
import {
|
|
14
11
|
StreamJsonOutputAdapter
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4UKNQ2HI.js";
|
|
13
|
+
import {
|
|
14
|
+
handleAtCommand
|
|
15
|
+
} from "./chunk-MA5SUU2Q.js";
|
|
16
16
|
import {
|
|
17
17
|
buildInitialSystemReminders,
|
|
18
18
|
buildSystemMessage,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
insertAfterFunctionResponses,
|
|
25
25
|
isSlashCommand,
|
|
26
26
|
normalizePartList
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-E24IQ3WV.js";
|
|
28
28
|
import {
|
|
29
29
|
RunBudgetEnforcer,
|
|
30
30
|
cleanupReviewWorktreeLeases
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7GXFPUOL.js";
|
|
32
32
|
import {
|
|
33
33
|
AlreadyReportedError,
|
|
34
34
|
handleBudgetExceededError,
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
handleError,
|
|
37
37
|
handleMaxTurnsExceededError,
|
|
38
38
|
handleToolError
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YPQ4IEVV.js";
|
|
40
40
|
import {
|
|
41
41
|
isInlineModelOverrideAllowed
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5JFKVENR.js";
|
|
43
43
|
import {
|
|
44
44
|
PLAN_MODE_ENTRY_SIBLING_SKIP_MESSAGE,
|
|
45
45
|
buildSessionRecoveryPlanFromApiHistory,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
parseAndFormatApiError,
|
|
58
58
|
partitionByConcurrencySafety,
|
|
59
59
|
restoreWorktreeContext
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-I3LJQR5I.js";
|
|
61
61
|
import {
|
|
62
62
|
parsePositiveIntegerEnv
|
|
63
63
|
} from "./chunk-6PVPNMXU.js";
|
|
@@ -66,10 +66,10 @@ import {
|
|
|
66
66
|
} from "./chunk-O6GEWCJA.js";
|
|
67
67
|
import {
|
|
68
68
|
GoalPersistenceUnavailableError
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-3K7FH2KQ.js";
|
|
70
70
|
import {
|
|
71
71
|
isSystemReminderContent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-LZC3B5N2.js";
|
|
73
73
|
import {
|
|
74
74
|
formatFullTurnVisionNotice,
|
|
75
75
|
formatVisionBridgeNotice,
|
|
@@ -79,21 +79,21 @@ import {
|
|
|
79
79
|
shouldRunVisionBridge,
|
|
80
80
|
splitImageParts,
|
|
81
81
|
uiTelemetryService
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-FTJUO7R2.js";
|
|
83
83
|
import {
|
|
84
84
|
ToolNames
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-IC4Z6LX6.js";
|
|
86
86
|
import {
|
|
87
87
|
isTelemetrySdkInitialized,
|
|
88
88
|
shutdownTelemetry
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-6M26GBKX.js";
|
|
90
90
|
import {
|
|
91
91
|
FatalInputError,
|
|
92
92
|
createDebugLogger
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-OIVKILPI.js";
|
|
94
94
|
import {
|
|
95
95
|
registerCleanup
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-WIAN5MYB.js";
|
|
97
97
|
import {
|
|
98
98
|
init_esbuild_shims
|
|
99
99
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
MODIFIER_SHIFT_BIT,
|
|
17
17
|
MODIFIER_SUPER_BIT,
|
|
18
18
|
clipboardHasImage
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YHEEE624.js";
|
|
20
20
|
import {
|
|
21
21
|
noteInteraction
|
|
22
22
|
} from "./chunk-KW7NOTN6.js";
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
KittySequenceOverflowEvent,
|
|
35
35
|
logKittySequenceOverflow
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FTJUO7R2.js";
|
|
37
37
|
import {
|
|
38
38
|
createDebugLogger
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-OIVKILPI.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esbuild_shims
|
|
42
42
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getPlugin
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IUFV6FYU.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettings,
|
|
8
8
|
saveSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U5G2PZAQ.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-5O2XNYP6.js";
|