@qwen-code/qwen-code 0.22.2-preview.1 → 0.22.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/computer-use/SKILL.md +3 -3
- package/bundled/goal-draft/SKILL.md +109 -0
- package/bundled/qc-helper/docs/configuration/settings.md +37 -36
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/dws.md +2 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +34 -3
- package/bundled/qc-helper/docs/features/code-review.md +3 -3
- package/bundled/qc-helper/docs/features/commands.md +2 -1
- package/bundled/qc-helper/docs/features/computer-use.md +2 -2
- package/bundled/qc-helper/docs/features/goals.md +58 -0
- package/bundled/qc-helper/docs/features/headless.md +13 -11
- package/bundled/qc-helper/docs/features/status-line.md +3 -3
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +1 -1
- package/bundled/review/SKILL.md +81 -31
- package/bundled/review/references/persistence.md +7 -3
- package/bundled/review/references/posting.md +10 -4
- package/chunks/MaxSizedBox-X42SXBJH.js +110 -0
- package/chunks/{StandaloneSessionPicker-5D2L22SF.js → StandaloneSessionPicker-2FJAOLGG.js} +81 -83
- package/chunks/{acpAgent-4DCKLA32.js → acpAgent-2ZMIJAFV.js} +1153 -357
- package/chunks/{agent-B4AFZL6H.js → agent-X5WX3L2I.js} +44 -46
- package/chunks/agent-headless-IZM25LJA.js +85 -0
- package/chunks/{anthropicContentGenerator-U76GTVB6.js → anthropicContentGenerator-YVTB6QX7.js} +46 -50
- package/chunks/{artifact-tool-XDJCZZCF.js → artifact-tool-XSMPHZBT.js} +11 -3
- package/chunks/{askUserQuestion-ZXXERLEV.js → askUserQuestion-4SWJY65V.js} +2 -2
- package/chunks/bridge-ME6QXZNA.js +119 -0
- package/chunks/{channel-management-service-HXXS3HOZ.js → channel-management-service-HQ6KDS7C.js} +6 -6
- package/chunks/channel-settings-store-PEOI7XCG.js +120 -0
- package/chunks/{channel-worker-group-EVDC2P4K.js → channel-worker-group-6NA6BBZV.js} +8 -7
- package/chunks/{channel-worker-manager-IJJZHGEI.js → channel-worker-manager-NEZ2J6RK.js} +10 -8
- package/chunks/{channel-worker-supervisor-YSKB5GVB.js → channel-worker-supervisor-FKU7DIHJ.js} +6 -5
- package/chunks/{chunk-7QGEJI7M.js → chunk-23RFD54N.js} +1 -1
- package/chunks/{chunk-JLU3FPQR.js → chunk-2HYKTO7V.js} +5 -5
- package/chunks/chunk-2LNNVAUV.js +1584 -0
- package/chunks/{chunk-FJAITR4L.js → chunk-2OBKDPZZ.js} +2 -2
- package/chunks/{chunk-JSY43GMI.js → chunk-2OUD5T67.js} +185 -174
- package/chunks/{chunk-LJP2BBMK.js → chunk-2SXSLSQE.js} +4 -4
- package/chunks/chunk-2TNL5KPM.js +49 -0
- package/chunks/{chunk-XMSMTU6H.js → chunk-2YOHKHYR.js} +4 -4
- package/chunks/{chunk-MCKJTBZN.js → chunk-36GSQ3MM.js} +2 -2
- package/chunks/chunk-36LGBEM6.js +130 -0
- package/chunks/{chunk-ZWKGZB2K.js → chunk-3JXM2CVW.js} +3 -3
- package/chunks/{chunk-X3XGCJ32.js → chunk-3SZC4VP4.js} +28 -111
- package/chunks/{chunk-ILPXSKGQ.js → chunk-3WK3QDNV.js} +2 -2
- package/chunks/{chunk-IKN3IUJP.js → chunk-3XKLXHGK.js} +17 -9
- package/chunks/{chunk-ZLTEQYNC.js → chunk-42IDLQWS.js} +26 -20
- package/chunks/chunk-4CMJKUND.js +95 -0
- package/chunks/{chunk-77TOMRBG.js → chunk-4K7KNVWH.js} +3 -3
- package/chunks/{chunk-SQPOJ4ZI.js → chunk-4NDLQAY2.js} +27 -270
- package/chunks/{chunk-V3GINY6K.js → chunk-4QHPPXK2.js} +16 -8
- package/chunks/{chunk-VBF4KZRQ.js → chunk-4TT3IVGA.js} +1 -1
- package/chunks/{chunk-IOGKXPL3.js → chunk-4VPCTGH6.js} +6 -6
- package/chunks/chunk-4VQBQLIZ.js +293 -0
- package/chunks/{chunk-UCSV2IZW.js → chunk-62GQFYID.js} +3 -3
- package/chunks/{chunk-SLEWBQWM.js → chunk-6DIGWMGT.js} +2 -2
- package/chunks/{chunk-BRVWYMKV.js → chunk-6MBXY6WM.js} +1 -1
- package/chunks/{chunk-PVBT5QPD.js → chunk-6PJOTWAN.js} +1 -1
- package/chunks/{chunk-WZ3QKPMQ.js → chunk-6X7EU5TI.js} +19 -31
- package/chunks/{chunk-KQYW2GB5.js → chunk-6ZPDLGHN.js} +6 -6
- package/chunks/{chunk-AKQA3WCH.js → chunk-734C6JGI.js} +723 -3399
- package/chunks/{chunk-F7M6ZFGU.js → chunk-73RM4POK.js} +8 -8
- package/chunks/{chunk-ELY4QVIB.js → chunk-7EQQR46F.js} +1 -1
- package/chunks/{chunk-KGJGEEVR.js → chunk-7FA2II6K.js} +10 -1
- package/chunks/chunk-7J6OTNGO.js +424 -0
- package/chunks/{chunk-LWLEPXKK.js → chunk-7LOELM2I.js} +19 -2
- package/chunks/{chunk-DIMEPKCW.js → chunk-7S226YTK.js} +1 -1
- package/chunks/{chunk-AWFZDYSD.js → chunk-7T52W4SW.js} +1 -1
- package/chunks/{chunk-3JKUX4PB.js → chunk-7VMIMAVB.js} +9 -9
- package/chunks/{chunk-2MHGD7EE.js → chunk-A3LWD5MK.js} +1 -1
- package/chunks/{chunk-E4I5MVBR.js → chunk-ABS25QER.js} +1 -1
- package/chunks/{chunk-TDQBVEPK.js → chunk-AIAOIFY4.js} +10 -8
- package/chunks/{chunk-NEZZHGEI.js → chunk-AYFA7MZV.js} +6 -6
- package/chunks/{chunk-FVDQ5E67.js → chunk-B466ZSHZ.js} +3 -3
- package/chunks/{chunk-6US7BF3G.js → chunk-B5PHIJGI.js} +183 -5
- package/chunks/{chunk-4TPAG3O7.js → chunk-BFPESSTR.js} +1 -1
- package/chunks/{chunk-WBT3STGU.js → chunk-BKWNKLZB.js} +20 -20
- package/chunks/{chunk-T45CL2NT.js → chunk-BOWFGCEU.js} +3 -3
- package/chunks/{chunk-IPQA4SR5.js → chunk-BWORX6FA.js} +1 -1
- package/chunks/{chunk-BKDAF7ES.js → chunk-BXDAPVQU.js} +2 -2
- package/chunks/{chunk-ZEADBZLO.js → chunk-C2X7KY45.js} +3 -3
- package/chunks/{chunk-PTQF7WRA.js → chunk-C3PEFRKD.js} +6 -6
- package/chunks/{chunk-7OBH4AM2.js → chunk-CAJTKR6W.js} +5 -5
- package/chunks/{chunk-2FN2HNTI.js → chunk-CFJY4DGX.js} +2 -2
- package/chunks/{chunk-SUE2ZMUH.js → chunk-CIZCL2MW.js} +49 -31
- package/chunks/{chunk-W2WRNJKX.js → chunk-CLWO3B77.js} +6 -6
- package/chunks/{chunk-U45D46O5.js → chunk-CMHFCLBU.js} +1 -1
- package/chunks/{chunk-LRKMQPMD.js → chunk-CQH5KTKC.js} +1 -1
- package/chunks/{chunk-JECO75XD.js → chunk-D5LUXLUH.js} +2 -2
- package/chunks/chunk-DJBQCO2E.js +842 -0
- package/chunks/{chunk-BQBUZDDH.js → chunk-DJECZIJX.js} +42 -42
- package/chunks/{chunk-GTUZ3R6I.js → chunk-DJEZ55D4.js} +351 -113
- package/chunks/{chunk-HPECDZ6X.js → chunk-DJPASAUV.js} +3866 -1077
- package/chunks/{chunk-VYWCFWI5.js → chunk-DMLVSW7L.js} +542 -654
- package/chunks/{chunk-EB4VDXNI.js → chunk-DYXFD5RO.js} +182 -3
- package/chunks/{chunk-ZKAZP2ZG.js → chunk-EB6QRGHM.js} +3 -3
- package/chunks/{chunk-UWICO5KN.js → chunk-EFWRMA2I.js} +3 -3
- package/chunks/{chunk-3UZCLCXR.js → chunk-EKSCLBBF.js} +3 -3
- package/chunks/{chunk-ALTQLFEG.js → chunk-EQSBPBZ3.js} +5 -194
- package/chunks/{chunk-624NHDGB.js → chunk-ERFDKH32.js} +11 -0
- package/chunks/{chunk-4K44OMLI.js → chunk-FROAFEFB.js} +3 -3
- package/chunks/{chunk-MZS7GEC7.js → chunk-FTF2YIZ5.js} +1 -1
- package/chunks/{chunk-Z7VOMGDC.js → chunk-FTJMWDND.js} +0 -24
- package/chunks/{chunk-ZJG323IA.js → chunk-G6FECKTJ.js} +7 -5
- package/chunks/{chunk-TMGAS5TO.js → chunk-GBJBJ4HX.js} +26 -4
- package/chunks/{chunk-UCQOSV6A.js → chunk-GPGU4S2N.js} +3 -3
- package/chunks/{chunk-BHTJAO36.js → chunk-GVIVASYK.js} +7 -7
- package/chunks/chunk-H72BQNM3.js +645 -0
- package/chunks/{chunk-Z4X5MTRT.js → chunk-HCOBAG2L.js} +2 -4
- package/chunks/{chunk-FCSWZAS3.js → chunk-HP5LR5HL.js} +5 -5
- package/chunks/{chunk-7JPW6IYH.js → chunk-HVC3PNVC.js} +1 -1
- package/chunks/{chunk-OI2DR6QB.js → chunk-I6LYRJPB.js} +3 -3
- package/chunks/{chunk-E55H6BZ7.js → chunk-ICURCKIU.js} +1335 -119
- package/chunks/{chunk-PAJGKZAA.js → chunk-ISKH4QX3.js} +14 -12
- package/chunks/{chunk-AYVIGUUK.js → chunk-JB4JIVTJ.js} +1 -1
- package/chunks/{chunk-FN5C6C7G.js → chunk-JHYH6PYQ.js} +192 -478
- package/chunks/{chunk-T6OODF2U.js → chunk-JWALNCLT.js} +1 -1
- package/chunks/{chunk-SKNVVYIJ.js → chunk-K5KXUXWC.js} +3 -3
- package/chunks/{chunk-XUX6O2ZT.js → chunk-KID24ZFN.js} +4 -1
- package/chunks/{chunk-I6DY753S.js → chunk-KJO2LBUK.js} +944 -18
- package/chunks/{chunk-5T4LWWNX.js → chunk-KYWTPLBJ.js} +18 -21
- package/chunks/{chunk-CZFQ62RM.js → chunk-LHBUKJG2.js} +4 -4
- package/chunks/{chunk-TOF4UZHH.js → chunk-LUEHOUHM.js} +3 -3
- package/chunks/{chunk-2YDYDDE2.js → chunk-M3QRM3DE.js} +3 -3
- package/chunks/{chunk-GNMJNDZE.js → chunk-M6FOJXW3.js} +1 -1
- package/chunks/{chunk-ZGWDHSUM.js → chunk-MF7HCQWZ.js} +4 -4
- package/chunks/{chunk-66GIFJ63.js → chunk-MK2GIB46.js} +1 -1
- package/chunks/{chunk-TFV4RXPU.js → chunk-MO3FC2WT.js} +1 -1
- package/chunks/{chunk-TR7G7XFQ.js → chunk-MPNBVAEU.js} +5 -5
- package/chunks/{chunk-K3LPAED5.js → chunk-MQM5PJML.js} +24 -4
- package/chunks/{chunk-3WBMPR3S.js → chunk-MSBO7X2W.js} +1 -1
- package/chunks/{chunk-5PA6UEYA.js → chunk-MZCJWS5Y.js} +1 -1
- package/chunks/{chunk-BGXZBI5B.js → chunk-N4X7G4J2.js} +2 -1
- package/chunks/{chunk-27ONXAFY.js → chunk-NIFYWDYN.js} +1 -1
- package/chunks/{chunk-AP7WZONS.js → chunk-NMOD2FXQ.js} +19 -9
- package/chunks/{chunk-IJVDHPKD.js → chunk-NU7RKEZR.js} +2 -2
- package/chunks/{chunk-5URK47RN.js → chunk-NV55WWD6.js} +11595 -10375
- package/chunks/{chunk-HABT2Z7R.js → chunk-OU5APVWO.js} +4 -4
- package/chunks/{chunk-QR4AHMGQ.js → chunk-P2G476QN.js} +13 -13
- package/chunks/{chunk-5SM2AK65.js → chunk-PADPMMYM.js} +5 -5
- package/chunks/{chunk-RRKNX553.js → chunk-PDQGMSZK.js} +1 -1
- package/chunks/{chunk-GTUKW3I6.js → chunk-PPKZ7JOE.js} +1 -1
- package/chunks/{chunk-SAH4BD2J.js → chunk-PQEISIKS.js} +67 -0
- package/chunks/{chunk-XIRDDFRS.js → chunk-PZ66FRIC.js} +2644 -2296
- package/chunks/{chunk-H3HZ4AWW.js → chunk-Q2MSPKIJ.js} +1 -1
- package/chunks/{chunk-WEGXPP5E.js → chunk-QFCDF5PL.js} +1 -1
- package/chunks/{chunk-OF2DPXUS.js → chunk-QYMAKPY5.js} +119 -24
- package/chunks/{chunk-JVPFTDBK.js → chunk-RFIDDFAL.js} +1 -1
- package/chunks/chunk-RKFGE7JH.js +93 -0
- package/chunks/{chunk-CPPYZHBN.js → chunk-RU7BK6B3.js} +1 -1
- package/chunks/chunk-SEONHUS3.js +275 -0
- package/chunks/{chunk-DEYPMJPD.js → chunk-SMPR7SPO.js} +1 -1
- package/chunks/chunk-SS4MRMKE.js +3525 -0
- package/chunks/{chunk-BPMVPWBT.js → chunk-SS5SDCD3.js} +6 -6
- package/chunks/{chunk-J3CBIEDS.js → chunk-ST5MDGH3.js} +32 -15
- package/chunks/{chunk-J5352S3S.js → chunk-ST5V3ZOC.js} +3 -3
- package/chunks/{chunk-7CWEZQ6T.js → chunk-STUJ7IMZ.js} +0 -77
- package/chunks/{chunk-4K7NQDCG.js → chunk-T4EFG2P5.js} +18 -9
- package/chunks/{chunk-TWSKM647.js → chunk-T7KMERIX.js} +1 -1
- package/chunks/{chunk-5CMWFBML.js → chunk-TEBDFQBZ.js} +1 -1
- package/chunks/{chunk-EC5BONC3.js → chunk-TPI7O7HR.js} +1 -1
- package/chunks/{chunk-T2CRBIDJ.js → chunk-TTX2JUE6.js} +1 -1
- package/chunks/{chunk-VOEMVOM4.js → chunk-TVC6HQ2U.js} +2 -2
- package/chunks/{chunk-WXDZZFH3.js → chunk-TZBSGJ6C.js} +6 -6
- package/chunks/chunk-U54AYGEC.js +337 -0
- package/chunks/{chunk-2NNTE2ED.js → chunk-UHQFIS7N.js} +15 -0
- package/chunks/{chunk-76WGY6LW.js → chunk-URE3QBBB.js} +3 -3
- package/chunks/{chunk-KOJ6MHD5.js → chunk-UTLCH2FK.js} +1 -1
- package/chunks/{chunk-7DPKPBOQ.js → chunk-V2NDP3I4.js} +2 -2
- package/chunks/{chunk-FJWICLG7.js → chunk-V4264FEG.js} +9 -9
- package/chunks/{chunk-XR7OIAQF.js → chunk-V5J4J5TP.js} +2 -2
- package/chunks/{chunk-7UJTY5V3.js → chunk-V7EESTJV.js} +1 -1
- package/chunks/{chunk-Z6L3C4VF.js → chunk-VBCPNIQD.js} +39 -39
- package/chunks/{chunk-ATLGYSYH.js → chunk-VGIFXISB.js} +4 -4
- package/chunks/{chunk-X2UOOG5V.js → chunk-VQUGEVGR.js} +1 -1
- package/chunks/{chunk-XJS54K4A.js → chunk-VTHREBQM.js} +2 -2
- package/chunks/{chunk-AA7VBRBG.js → chunk-W3JH33JE.js} +8 -8
- package/chunks/{chunk-FPH6TXD3.js → chunk-WAOIHTJS.js} +1 -1
- package/chunks/{chunk-CDUN63IN.js → chunk-WGY3AVGM.js} +3 -3
- package/chunks/{chunk-JLGFGPZJ.js → chunk-WNPDGUJO.js} +22 -3
- package/chunks/{chunk-O3BUXIPM.js → chunk-WXEA74YB.js} +3 -3
- package/chunks/{chunk-YRLW2MSX.js → chunk-XBVNNDPK.js} +11 -4
- package/chunks/{chunk-VL4YX3FH.js → chunk-XF63PKEN.js} +1 -1
- package/chunks/{chunk-R7G7GKOX.js → chunk-XHF7WQ6B.js} +3 -3
- package/chunks/{chunk-3FSBMAYD.js → chunk-XQFT3QUF.js} +1 -1
- package/chunks/{chunk-3D6PDLNJ.js → chunk-XSG6G3G6.js} +49 -32
- package/chunks/{chunk-5JCZ3UKB.js → chunk-Y5S7LBOZ.js} +44 -7
- package/chunks/{chunk-OLS3MAXQ.js → chunk-YLSQLSH7.js} +15 -9
- package/chunks/{chunk-2SERYG4T.js → chunk-YTDVNSUQ.js} +1 -1
- package/chunks/{chunk-KPF2K55D.js → chunk-ZEYFMJQA.js} +39 -8
- package/chunks/{chunk-OT4YKUUV.js → chunk-ZU4UDIWX.js} +2 -2
- package/chunks/chunk-ZWJDJ6RU.js +2597 -0
- package/chunks/{chunk-R3T33BG5.js → chunk-ZYMLPEZQ.js} +3 -3
- package/chunks/{chunk-DID6IRGC.js → chunk-ZZMSC3RG.js} +56 -39
- package/chunks/{chunk-L436XFLJ.js → chunk-ZZUKP7HV.js} +1 -1
- package/chunks/config-utils-R6M3TA34.js +113 -0
- package/chunks/contextCommand-ZCAP23J6.js +106 -0
- package/chunks/{core-runtime-CEJRHCRF.js → core-runtime-AXB6SK5D.js} +59 -61
- package/chunks/{create-sub-session-RVHSWVAP.js → create-sub-session-23ITIELI.js} +3 -3
- package/chunks/{create-sub-session-DFZVIG56.js → create-sub-session-4QNE64MR.js} +164 -85
- package/chunks/{cron-create-IJGVR5R2.js → cron-create-KJ4IY6PP.js} +57 -10
- package/chunks/{cron-delete-4N5BI6GL.js → cron-delete-MBLQCAYY.js} +4 -4
- package/chunks/{cron-list-2CATIPUX.js → cron-list-DWH2PQ47.js} +4 -4
- package/chunks/{daemon-NAYK4XXU.js → daemon-3GNHB3M2.js} +523 -8
- package/chunks/{daemon-git-worktree-guard-L6ZUFKF7.js → daemon-git-worktree-guard-IVAJJWYK.js} +56 -58
- package/chunks/daemon-status-provider-K3SJ5C2U.js +117 -0
- package/chunks/daemon-trust-policy-DOR3YG62.js +112 -0
- package/chunks/{daemon-trust-policy-monitor-2G3EKQEU.js → daemon-trust-policy-monitor-KGGROSIV.js} +64 -66
- package/chunks/deferred-core-runtime-WOYLUQQ7.js +114 -0
- package/chunks/{display-image-6KHQNEAE.js → display-image-BE7I6ZB6.js} +5 -5
- package/chunks/{dist-DJBNNPLN.js → dist-4WXLCBDR.js} +1 -1
- package/chunks/{dist-TJUDJTCB.js → dist-5VXFRTWU.js} +280 -48
- package/chunks/{dist-6H6RZ5H6.js → dist-6BPYWHVD.js} +89 -65
- package/chunks/{dist-ZBVOXSKF.js → dist-GFN5DCBX.js} +74 -65
- package/chunks/{dist-SATKXKUR.js → dist-HZNT6GQS.js} +1 -1
- package/chunks/{dist-FVJZSIO4.js → dist-LVZCXVPF.js} +72 -20
- package/chunks/{dist-7CKN54NL.js → dist-N6W6E753.js} +71 -64
- package/chunks/{dist-4Q7NTUNB.js → dist-NSV4NBPK.js} +31 -14
- package/chunks/{dist-UQUFZDIY.js → dist-SWQMYP2Q.js} +18 -16
- package/chunks/earlyInputCapture-OHBEVO4K.js +107 -0
- package/chunks/{edit-ZERGX3RV.js → edit-LEQLAGPZ.js} +45 -47
- package/chunks/{en-6MDBWMTG.js → en-YLXBXM4Z.js} +2 -1
- package/chunks/{enter-worktree-UOZ6ZTP7.js → enter-worktree-35QCAAFP.js} +7 -7
- package/chunks/{enterPlanMode-W2RP3P5B.js → enterPlanMode-ONQN3WHE.js} +47 -49
- package/chunks/{environment-ZBJ23YVR.js → environment-UANTR7A4.js} +60 -62
- package/chunks/errors-WAK6KFBC.js +113 -0
- package/chunks/{exit-worktree-G2QATUCV.js → exit-worktree-XQD6D543.js} +7 -7
- package/chunks/exitPlanMode-UEYBG6P5.js +83 -0
- package/chunks/{fast-path-4MWBCEUF.js → fast-path-WUL7UZ6H.js} +7 -7
- package/chunks/{fast-path-settings-XMFBYFUH.js → fast-path-settings-XH426LUU.js} +3 -3
- package/chunks/{glob-DKTNG32L.js → glob-Y54QUWDY.js} +44 -46
- package/chunks/{goal-tools-CNVXMSZD.js → goal-tools-PTD3MBA7.js} +10 -8
- package/chunks/{grep-3NLSS32D.js → grep-5GPICQBU.js} +6 -6
- package/chunks/handleAutoUpdate-FP3NWNSG.js +109 -0
- package/chunks/i18n-INIU5X7A.js +124 -0
- package/chunks/{image-gen-63NN2H5N.js → image-gen-J6FDGUZP.js} +8 -10
- package/chunks/initializer-TYODV6GE.js +113 -0
- package/chunks/installationInfo-AAPKYDSZ.js +107 -0
- package/chunks/{keychain-token-storage-3MGFRYGM.js → keychain-token-storage-37XPR34V.js} +2 -2
- package/chunks/list-TUODDN6J.js +116 -0
- package/chunks/{list-agents-EXRSHIDJ.js → list-agents-DI3YFTDT.js} +2 -2
- package/chunks/{gemini-X5GQHQYF.js → llm-NSAVK5V3.js} +117 -114
- package/chunks/{geminiContentGenerator-UDSWXZXL.js → llm-content-generator-AY2QKXHE.js} +29 -29
- package/chunks/loadedSettingsAdapter-KJCLZ3C4.js +110 -0
- package/chunks/{loggingContentGenerator-73C7TKDK.js → loggingContentGenerator-DSFQHXIF.js} +328 -37
- package/chunks/{loop-wakeup-XBPB2BRO.js → loop-wakeup-XJFONSQ7.js} +5 -5
- package/chunks/{ls-WFONAND2.js → ls-3VAT2J7A.js} +4 -4
- package/chunks/{lsp-DUKPDUXN.js → lsp-5W7IRUBH.js} +2 -2
- package/chunks/{managed-npm-update-H2KOLQZU.js → managed-npm-update-TSWENTK5.js} +57 -59
- package/chunks/mcp-MWSAPFOL.js +110 -0
- package/chunks/{monitor-TGCMNJJH.js → monitor-RW4GWJHB.js} +44 -46
- package/chunks/nonInteractiveCli-JXKL343Q.js +185 -0
- package/chunks/{notebook-edit-YEUNZYDX.js → notebook-edit-CQNYS5OR.js} +45 -47
- package/chunks/{open-with-auth-4UI3KHUR.js → open-with-auth-YN3QZHVM.js} +1 -1
- package/chunks/{openaiContentGenerator-J7LD4VSL.js → openaiContentGenerator-J6QIF7EX.js} +26 -28
- package/chunks/pidfile-QOIQZFT2.js +111 -0
- package/chunks/process-registry-OAEG6WGC.js +662 -0
- package/chunks/{processUtils-ZHFC7CSL.js → processUtils-GPHNANKZ.js} +2 -2
- package/chunks/prompt-terminal-ledger-FOMFTYOM.js +105 -0
- package/chunks/{qwenContentGenerator-YEWWK3JQ.js → qwenContentGenerator-WWDXPYQI.js} +49 -51
- package/chunks/{qwenOAuth2-JIYAWXTW.js → qwenOAuth2-OF5WRBQT.js} +7 -9
- package/chunks/{read-file-ZQI3WPVK.js → read-file-FQUQHC6N.js} +13 -13
- package/chunks/{read-mcp-resource-7A7NFSFL.js → read-mcp-resource-XD257PGJ.js} +2 -2
- package/chunks/{record-artifact-CPJ4IJSD.js → record-artifact-VW23GS4F.js} +4 -4
- package/chunks/{report-findings-VFM5DENC.js → report-findings-AO5VYFLR.js} +9 -5
- package/chunks/{request-shutdown-6IW46GD7.js → request-shutdown-BCLA3JV2.js} +7 -7
- package/chunks/resumeHistoryUtils-NSGF3UCB.js +118 -0
- package/chunks/ripGrep-4CAT6SKV.js +39 -0
- package/chunks/{run-qwen-serve-WHWU7NZ6.js → run-qwen-serve-5X6IDZER.js} +371 -357
- package/chunks/{runtime-E7BSPWQP.js → runtime-HK27GMPF.js} +69 -71
- package/chunks/scheduled-tasks-MN2ZZ5P6.js +127 -0
- package/chunks/{scheduler-TJPATFOM.js → scheduler-WD4MHMO5.js} +58 -60
- package/chunks/{sdk-exporters-http-XXSKBD2C.js → sdk-exporters-http-TTU2CHBU.js} +2 -2
- package/chunks/{sdk-impl-VPNBLV7I.js → sdk-impl-UUMVYMAL.js} +11 -5
- package/chunks/{send-message-OXZK6USO.js → send-message-AJ4OCUBV.js} +25 -9
- package/chunks/serve-2XCHPPGG.js +118 -0
- package/chunks/{server-AXCN7QBJ.js → server-GO2N5DH7.js} +6080 -4964
- package/chunks/{session-HO4US3AG.js → session-IFNHTUBT.js} +112 -112
- package/chunks/session-pr-refresh-I3UBWMVP.js +364 -0
- package/chunks/{settings-B2PFJJN4.js → settings-L6N54CU6.js} +63 -65
- package/chunks/{shell-7XMSANI3.js → shell-4Y5LLW6N.js} +44 -46
- package/chunks/{skill-NL3VH562.js → skill-YOWTRAKQ.js} +68 -24
- package/chunks/skill-settings-ZL4JY5UE.js +118 -0
- package/chunks/spawnChannel-ZST6XJVJ.js +112 -0
- package/chunks/standalone-update-THVU3OKY.js +118 -0
- package/chunks/{startInteractiveUI-G2XKSCQ7.js → startInteractiveUI-XDFSHBZD.js} +3076 -2475
- package/chunks/{stdioHelpers-7A2EE64Z.js → stdioHelpers-AY6XCDY2.js} +3 -1
- package/chunks/{syntheticOutput-5AJ444QT.js → syntheticOutput-ML43GEFN.js} +3 -3
- package/chunks/{task-create-TY7P6UHG.js → task-create-QN4LYRSE.js} +11 -11
- package/chunks/{task-list-BELMPA75.js → task-list-JPLGK45U.js} +5 -5
- package/chunks/{task-stop-U3S3KZG2.js → task-stop-CXEH5L2D.js} +2 -2
- package/chunks/{task-update-O4IGDPCK.js → task-update-IWEOJFV2.js} +11 -11
- package/chunks/{team-create-IYBUOORE.js → team-create-OOPXCDBA.js} +44 -46
- package/chunks/{team-delete-YWFXX77L.js → team-delete-RZVVSGCY.js} +5 -5
- package/chunks/{team-plan-approval-YKU57LBM.js → team-plan-approval-DSX5EWAT.js} +44 -46
- package/chunks/terminal-image-renderer-KS25G33E.js +114 -0
- package/chunks/theme-manager-YMZNG45F.js +102 -0
- package/chunks/{todoWrite-435EO2CS.js → todoWrite-WDJNQEMW.js} +43 -25
- package/chunks/{tool-search-4Q3KASIQ.js → tool-search-J5Q6U7DN.js} +22 -22
- package/chunks/total-session-admission-PVN64JVV.js +114 -0
- package/chunks/trustedFolders-FATSC4YI.js +122 -0
- package/chunks/{types-WYCFCEHR.js → types-HKLPXZB3.js} +1 -3
- package/chunks/{update-relaunch-4DC2KKFS.js → update-relaunch-SIKHLHVR.js} +6 -6
- package/chunks/updateCheck-D3YG2WCD.js +118 -0
- package/chunks/useAutoAcceptIndicator-ILINOSAS.js +120 -0
- package/chunks/{validateNonInterActiveAuth-YAE4YPO3.js → validateNonInterActiveAuth-JUDQP6V4.js} +105 -105
- package/chunks/{version-QFP7OGWX.js → version-C63GDDWN.js} +1 -1
- package/chunks/{web-fetch-6T23IK6Q.js → web-fetch-FOQZMNSC.js} +16 -18
- package/chunks/{web-search-WBWTCZK2.js → web-search-PUJTBFUC.js} +9 -11
- package/chunks/{web-shell-static-A6QMUNNV.js → web-shell-static-HNB4FDOE.js} +2 -2
- package/chunks/{workflow-FMAA3D4R.js → workflow-Y5IPINVH.js} +128 -94
- package/chunks/workspace-providers-status-IJ4VHFMB.js +114 -0
- package/chunks/{workspace-registration-store-CMMX7EPX.js → workspace-registration-store-SMJWI2AI.js} +1 -1
- package/chunks/workspace-registry-BTGZIMPK.js +123 -0
- package/chunks/workspace-service-SIN67ITC.js +126 -0
- package/chunks/workspace-skills-status-F3RKCUIX.js +113 -0
- package/chunks/{workspace-trust-reconciler-PJDQUTJL.js → workspace-trust-reconciler-PLIDLJZX.js} +72 -72
- package/chunks/write-file-PAIGB33C.js +88 -0
- package/chunks/{zh-TW-MV4FWFB6.js → zh-TW-RPTMRTHG.js} +2 -1
- package/chunks/{zh-X3WGU6SI.js → zh-UNY63FR3.js} +2 -1
- package/chunks/{zoom-image-WVYVFRXF.js → zoom-image-LYQD7BQA.js} +13 -13
- package/cli.js +16 -16
- package/locales/en.js +2 -0
- package/locales/zh-TW.js +2 -0
- package/locales/zh.js +2 -0
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-d-8xa8uz.js → abnfDiagram-VCTEODGH-TRCMSA_6.js} +1 -1
- package/web-shell/assets/{arc-BhB7CrGK.js → arc-D9Uls5b3.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-BDCd_IcJ.js → architectureDiagram-5GKGNRK7-Bwb8jPXg.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-C-AHu6mi.js → blockDiagram-NRAW4CY4-DHj71TSX.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-CFjQt0vl.js → c4Diagram-UCG6FXSJ-uKBBdbyr.js} +1 -1
- package/web-shell/assets/channel-CXjVLaBa.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DRjwqaDq.js → chunk-2Q5K7J3B-BZd0Phrl.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-eHM9noJE.js → chunk-5VM5RSS4-7KNeNBqN.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-CcSWUYn1.js → chunk-F27PBJKO-BeboS7Fi.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-DNr-RF5S.js → chunk-G27WJ6UU-RV3JONoj.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-rVJHoNF8.js → chunk-JWPE2WC7-Yw9FCFsP.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-B2aX0Gzy.js → chunk-LCL6LL3I-GIMnydDe.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-DVp07n32.js → chunk-POPQ4Y6H-Cfrux7bL.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-C6QB_KUr.js → chunk-SVP7TREG-BlvIN0CO.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-CLVxDNCy.js → chunk-XXDRQBXY-DMs7Rr4t.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DANEijO3.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DANEijO3.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-B_aKX3A3.js → cose-bilkent-JH36ORCC-DNGqTNwI.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-BBw2pPUa.js → cynefin-OW5HDTMX-CojMpaoH.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-WWPiBTwk.js → cynefinDiagram-5FMLGOSQ-DF07YXGo.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-CPtIdka-.js → dagre-3AP2YEHR-17-4WtCH.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-Dj5og1Xi.js → diagram-S7CK7UJ4-G3Wuyz9m.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CC_x70YC.js → diagram-UQ7AKVKN-nyWIKZ8P.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-rXMfsO4n.js → diagram-VSXAHHWV-tKHhmYSC.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-DEmLYQbh.js → diagram-VX7I27RA-CpDf1hYk.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-B0ys6Vxx.js → diagram-Z3DM3KII-Cah2IFXG.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-Bq6y6lKH.js → ebnfDiagram-PWID7BFC-DNaCkgxy.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-l69JeBZ4.js → erDiagram-SSCWMZ5O-CAdRgcf1.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-Cm-EzGY4.js → flowDiagram-A5DVABFB-CMUJAShL.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BRS9ZOp7.js → ganttDiagram-EL5Y4UJY-o-_MUNey.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DAMRKgLk.js → gitGraphDiagram-WWUBYQGX-_aG-2Z7O.js} +1 -1
- package/web-shell/assets/{index-Bncx8E8M.js → index-BK_NKxiJ.js} +1 -1
- package/web-shell/assets/index-Ci-z4zWY.js +1913 -0
- package/web-shell/assets/index-LDlXZRHA.css +36 -0
- package/web-shell/assets/{infoDiagram-RXCK75RN-DasffaZp.js → infoDiagram-RXCK75RN-qJPeZbGP.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CmRUt3C-.js → ishikawaDiagram-5VMMS53U-7Om4vNo1.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-DzhE_c1Z.js → journeyDiagram-EYS64GPL-BNtXqmBW.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-BH5b6nn3.js → kanban-definition-3QL26DDD-COgFec8P.js} +1 -1
- package/web-shell/assets/{layout-BxoLK-LY.js → layout-B9n81PC9.js} +1 -1
- package/web-shell/assets/{linear-CqDPvVI7.js → linear-Bb6nXZQq.js} +1 -1
- package/web-shell/assets/{mermaid.core-DBoN4plo.js → mermaid.core-Cgrm3JVT.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DJJtXPEM.js → mindmap-definition-FBJOCRG2-TKwLTjnG.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-DmgPXP5l.js → pegDiagram-XKGWAZYB-BJPuvlpi.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-1ezjzcI5.js → pieDiagram-E7YTZNPT-D01VkNsW.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-ChKARz3k.js → quadrantDiagram-AXDQQJYC-C4hHsiv-.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-k7mNB_QT.js → railroadDiagram-O6MQD6OU-CuEO4xK2.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-B0XFsii0.js → requirementDiagram-EFPCY7ZU-D5J_vIo5.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-repJ2Ukk.js → sankeyDiagram-P5KCCOFB-DQKY223V.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-D0gUSKGu.js → sequenceDiagram-WJ2MYXX4-D27YV_cm.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-CE463F74.js → sizeCapture-X5ZJPWSS-TJg8UcwV.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-003zYtJa.js → stateDiagram-HBIQ2CUA-CmnPzUIx.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DNKPyrDc.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-DBj8MFpu.js → swimlanes-XN3QIQJK-ByeP3_Nu.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-ZL1HPC6w.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-D2aCh4a9.js → timeline-definition-24CTP7MA-BsFA5juR.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-BHMfWBpl.js → vennDiagram-4TSXK5OY-DREP2ECo.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-RdHAj66j.js → wardleyDiagram-VM6X3IG4-iyd9lKi2.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BgJWOvq0.js → xychartDiagram-S5SC5T6Z-CVr1_j9q.js} +1 -1
- package/web-shell/index.html +3 -3
- package/chunks/MaxSizedBox-BFVLZP2E.js +0 -112
- package/chunks/agent-headless-UCBCS4V4.js +0 -87
- package/chunks/bridge-FRNYLYY7.js +0 -119
- package/chunks/channel-settings-store-IV4KDL7N.js +0 -117
- package/chunks/chunk-I6VVOZDK.js +0 -202
- package/chunks/chunk-JS73NNWF.js +0 -30
- package/chunks/chunk-K2OJUPOE.js +0 -78
- package/chunks/chunk-P3QQPMQA.js +0 -19
- package/chunks/chunk-SDVF6A42.js +0 -945
- package/chunks/chunk-VGHZT6JR.js +0 -51
- package/chunks/config-utils-PMX4QZ5Y.js +0 -113
- package/chunks/contextCommand-NZRLVAFC.js +0 -108
- package/chunks/daemon-status-provider-FTTYZEKN.js +0 -118
- package/chunks/daemon-trust-policy-WMGFPA3Z.js +0 -114
- package/chunks/deferred-core-runtime-BUFEFYNA.js +0 -116
- package/chunks/earlyInputCapture-ROPLMXA7.js +0 -109
- package/chunks/errors-U5KNAADB.js +0 -115
- package/chunks/exitPlanMode-VFJ5R5DD.js +0 -85
- package/chunks/handleAutoUpdate-W4BUYFT7.js +0 -111
- package/chunks/i18n-KX7FEKJJ.js +0 -126
- package/chunks/initializer-SNVVLS7Y.js +0 -115
- package/chunks/installationInfo-D4XGQNHJ.js +0 -109
- package/chunks/list-WYECMLXZ.js +0 -118
- package/chunks/loadedSettingsAdapter-5WZBXBCR.js +0 -112
- package/chunks/mcp-CBWAROY3.js +0 -112
- package/chunks/nonInteractiveCli-O232UUV7.js +0 -185
- package/chunks/pidfile-MSPQ255Y.js +0 -113
- package/chunks/process-registry-PMJOA5CO.js +0 -172
- package/chunks/prompt-terminal-ledger-YPGMNDXT.js +0 -107
- package/chunks/resumeHistoryUtils-35D4KAVT.js +0 -120
- package/chunks/ripGrep-46N4FLOS.js +0 -39
- package/chunks/serve-WQ54UIYG.js +0 -120
- package/chunks/skill-settings-SKMN5YXC.js +0 -120
- package/chunks/spawnChannel-NE43EEO3.js +0 -113
- package/chunks/standalone-update-XOCWGXAH.js +0 -120
- package/chunks/terminal-image-renderer-NREKYTAD.js +0 -116
- package/chunks/theme-manager-IJS6OICX.js +0 -104
- package/chunks/total-session-admission-L5RPEFZ2.js +0 -114
- package/chunks/trustedFolders-OILZCHRD.js +0 -124
- package/chunks/updateCheck-AK4COHNK.js +0 -120
- package/chunks/useAutoAcceptIndicator-O2N2Q6KG.js +0 -122
- package/chunks/workspace-providers-status-OCFEWIPQ.js +0 -116
- package/chunks/workspace-registry-WJLZPRTG.js +0 -123
- package/chunks/workspace-service-5ZOBMMIB.js +0 -131
- package/chunks/workspace-skills-status-B6NJZD4B.js +0 -115
- package/chunks/write-file-B2RNX6SU.js +0 -90
- package/web-shell/assets/channel-CU-Zyv0r.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-C0J2_LKs.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-C0J2_LKs.js +0 -1
- package/web-shell/assets/index-C-XlQn24.css +0 -5
- package/web-shell/assets/index-gdvMN4J1.js +0 -1860
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-2uACDdJN.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-C4JJkavU.js +0 -8
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
GIT_COMMIT_INFO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TVC6HQ2U.js";
|
|
6
6
|
import {
|
|
7
7
|
getCliVersion
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q2MSPKIJ.js";
|
|
9
9
|
import {
|
|
10
10
|
IdeClient,
|
|
11
11
|
formatMemoryUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PZ66FRIC.js";
|
|
13
13
|
import {
|
|
14
14
|
createDebugLogger
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UHQFIS7N.js";
|
|
16
16
|
import {
|
|
17
17
|
init_esbuild_shims
|
|
18
18
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
isTeamAutoMemPath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6PJOTWAN.js";
|
|
6
6
|
import {
|
|
7
7
|
createDebugLogger
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UHQFIS7N.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-XZA32HII.js";
|
|
6
6
|
import {
|
|
7
7
|
preloadRuntimeFetchModule
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PPKZ7JOE.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -410,18 +410,18 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
410
410
|
try {
|
|
411
411
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
412
412
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
413
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
413
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-J6QIF7EX.js");
|
|
414
414
|
return createOpenAIContentGenerator(generatorConfig, config);
|
|
415
415
|
}, "loadBaseGenerator");
|
|
416
416
|
} else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
|
|
417
|
-
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-
|
|
417
|
+
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-OF5WRBQT.js");
|
|
418
418
|
try {
|
|
419
419
|
const qwenClient = await getQwenOauthClient(
|
|
420
420
|
config,
|
|
421
421
|
isInitialAuth ? { requireCachedCredentials: true } : void 0
|
|
422
422
|
);
|
|
423
423
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
424
|
-
const { QwenContentGenerator } = await import("./qwenContentGenerator-
|
|
424
|
+
const { QwenContentGenerator } = await import("./qwenContentGenerator-WWDXPYQI.js");
|
|
425
425
|
return new QwenContentGenerator(qwenClient, generatorConfig, config);
|
|
426
426
|
}, "loadBaseGenerator");
|
|
427
427
|
} catch (error) {
|
|
@@ -432,13 +432,13 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
432
432
|
}
|
|
433
433
|
} else if (authType === "anthropic" /* USE_ANTHROPIC */) {
|
|
434
434
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
435
|
-
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-
|
|
435
|
+
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-YVTB6QX7.js");
|
|
436
436
|
return createAnthropicContentGenerator(generatorConfig, config);
|
|
437
437
|
}, "loadBaseGenerator");
|
|
438
438
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
439
439
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
440
|
-
const {
|
|
441
|
-
return
|
|
440
|
+
const { createLlmContentGenerator } = await import("./llm-content-generator-AY2QKXHE.js");
|
|
441
|
+
return createLlmContentGenerator(generatorConfig, config);
|
|
442
442
|
}, "loadBaseGenerator");
|
|
443
443
|
} else {
|
|
444
444
|
throw new Error(
|
|
@@ -452,7 +452,7 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
452
452
|
try {
|
|
453
453
|
const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
|
|
454
454
|
loadBaseGenerator(),
|
|
455
|
-
import("./loggingContentGenerator-
|
|
455
|
+
import("./loggingContentGenerator-DSFQHXIF.js")
|
|
456
456
|
]);
|
|
457
457
|
return new LoggingContentGenerator(
|
|
458
458
|
baseGenerator,
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-E7REAOTN.js";
|
|
6
6
|
import {
|
|
7
7
|
t
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CLWO3B77.js";
|
|
9
9
|
import {
|
|
10
10
|
findProviderByCredentials,
|
|
11
11
|
resolveMetadataKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NV55WWD6.js";
|
|
13
13
|
import {
|
|
14
14
|
fetchGitDiff
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PZ66FRIC.js";
|
|
16
16
|
import {
|
|
17
17
|
init_esbuild_shims
|
|
18
18
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
hasControlCharacter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K5KXUXWC.js";
|
|
6
6
|
import {
|
|
7
7
|
BaseDeclarativeTool,
|
|
8
8
|
BaseToolInvocation,
|
|
9
9
|
ToolDisplayNames,
|
|
10
10
|
ToolNames
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UTLCH2FK.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esbuild_shims
|
|
14
14
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -36,6 +36,11 @@ var FINDING_SOURCES = [
|
|
|
36
36
|
"probe",
|
|
37
37
|
"lint"
|
|
38
38
|
];
|
|
39
|
+
var FINDING_DIRECTIONS = [
|
|
40
|
+
"certifies-falsely",
|
|
41
|
+
"fails-closed"
|
|
42
|
+
];
|
|
43
|
+
var FINDING_BASELINES = ["regression", "new-surface"];
|
|
39
44
|
var REPORT_FINDINGS_LEVELS = ["low", "medium", "high"];
|
|
40
45
|
var REPORT_FINDINGS_MAX = 50;
|
|
41
46
|
var SHORT_SUMMARY_MAX = 60;
|
|
@@ -53,7 +58,7 @@ function compressFindingSummary(summary, max = SHORT_SUMMARY_MAX) {
|
|
|
53
58
|
return `${cut.trimEnd()}\u2026`;
|
|
54
59
|
}
|
|
55
60
|
__name(compressFindingSummary, "compressFindingSummary");
|
|
56
|
-
var DESCRIPTION = `Reports code-review findings as typed data so clients (the terminal UI, the Web Shell, ACP hosts) can render a per-finding list. Use it only when an active review flow (such as the bundled review skill) instructs you to report findings with it; otherwise present findings as ordinary text. Call it once per report with the complete list, most severe first \u2014 a later call replaces the whole list, it never appends. When the review wrote a findings artifact, copy each field verbatim from it (id, severity, confidence, source, file/line, summary, shortSummary, failureScenario, category); do not re-derive or re-word values \u2014 the artifact is the oracle.
|
|
61
|
+
var DESCRIPTION = `Reports code-review findings as typed data so clients (the terminal UI, the Web Shell, ACP hosts) can render a per-finding list. Use it only when an active review flow (such as the bundled review skill) instructs you to report findings with it; otherwise present findings as ordinary text. Call it once per report with the complete list, most severe first \u2014 a later call replaces the whole list, it never appends. When the review wrote a findings artifact, copy each field verbatim from it (id, severity, confidence, source, file/line, summary, shortSummary, failureScenario, category, direction, baseline); do not re-derive or re-word values \u2014 the artifact is the oracle.
|
|
57
62
|
|
|
58
63
|
After fixes are applied \u2014 at the review's own fix step, or ANY later time in the session a reported finding's disposition changes \u2014 call it again with the same findings, each carrying "outcome" ("fixed", "skipped", or "no_change_needed"; "outcomeNote" for the reason). Client per-finding status trusts only a call that carries outcomes, and a call where some findings carry an outcome and others do not is refused: account for every finding.
|
|
59
64
|
|
|
@@ -109,6 +114,16 @@ var FINDING_ITEM_SCHEMA = {
|
|
|
109
114
|
maxLength: 64,
|
|
110
115
|
description: 'Free-form kebab-case tag ("correctness", "security", "test-coverage", \u2026).'
|
|
111
116
|
},
|
|
117
|
+
direction: {
|
|
118
|
+
type: "string",
|
|
119
|
+
enum: [...FINDING_DIRECTIONS],
|
|
120
|
+
description: 'Which way a Critical fails, from the artifact: "certifies-falsely" (a wrong result presented as correct) or "fails-closed" (refuses, wedges or degrades without a wrong result). Omit when the artifact carries none.'
|
|
121
|
+
},
|
|
122
|
+
baseline: {
|
|
123
|
+
type: "string",
|
|
124
|
+
enum: [...FINDING_BASELINES],
|
|
125
|
+
description: 'What a Critical is measured against, from the artifact: "regression" (the merge base handled the trigger correctly) or "new-surface" (the failing path does not exist at the merge base). Omit when the artifact carries none.'
|
|
126
|
+
},
|
|
112
127
|
outcome: {
|
|
113
128
|
type: "string",
|
|
114
129
|
enum: [...FINDING_OUTCOMES],
|
|
@@ -172,6 +187,8 @@ function normalizeFinding(raw) {
|
|
|
172
187
|
shortSummary: compressFindingSummary(shortSource),
|
|
173
188
|
failureScenario: raw.failureScenario.trim(),
|
|
174
189
|
...raw.category?.trim() ? { category: raw.category.trim() } : {},
|
|
190
|
+
...raw.direction ? { direction: raw.direction } : {},
|
|
191
|
+
...raw.baseline ? { baseline: raw.baseline } : {},
|
|
175
192
|
...raw.outcome ? { outcome: raw.outcome } : {},
|
|
176
193
|
...raw.outcomeNote?.trim() ? { outcomeNote: raw.outcomeNote.trim() } : {}
|
|
177
194
|
};
|
|
@@ -332,6 +349,8 @@ export {
|
|
|
332
349
|
FINDING_CONFIDENCES,
|
|
333
350
|
FINDING_OUTCOMES,
|
|
334
351
|
FINDING_SOURCES,
|
|
352
|
+
FINDING_DIRECTIONS,
|
|
353
|
+
FINDING_BASELINES,
|
|
335
354
|
REPORT_FINDINGS_LEVELS,
|
|
336
355
|
REPORT_FINDINGS_MAX,
|
|
337
356
|
SHORT_SUMMARY_MAX,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getTasksDir,
|
|
5
5
|
sanitizeName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-42IDLQWS.js";
|
|
7
7
|
import {
|
|
8
8
|
require_proper_lockfile
|
|
9
9
|
} from "./chunk-MLXTMF7H.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
} from "./chunk-VGC4I5JJ.js";
|
|
13
13
|
import {
|
|
14
14
|
atomicWriteJSON
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-23RFD54N.js";
|
|
16
16
|
import {
|
|
17
17
|
createDebugLogger,
|
|
18
18
|
isNodeError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UHQFIS7N.js";
|
|
20
20
|
import {
|
|
21
21
|
init_esbuild_shims
|
|
22
22
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -41,7 +41,9 @@ var MODALITY_PATTERNS = [
|
|
|
41
41
|
[/^qwen3\.5-plus/, { image: true, video: true }],
|
|
42
42
|
[/^qwen3\.6-plus/, { image: true, video: true }],
|
|
43
43
|
[/^qwen3\.7-plus/, { image: true, video: true }],
|
|
44
|
-
// Qwen
|
|
44
|
+
// Qwen 3.8 series: flash/plus support image + video; max supports image only
|
|
45
|
+
[/^qwen3\.8-flash/, { image: true, video: true }],
|
|
46
|
+
[/^qwen3\.8-plus/, { image: true, video: true }],
|
|
45
47
|
[/^qwen3\.8-max/, { image: true }],
|
|
46
48
|
[/^coder-model$/, { image: true, video: true }],
|
|
47
49
|
// Qwen VL (vision-language) models: image + video
|
|
@@ -53,13 +55,18 @@ var MODALITY_PATTERNS = [
|
|
|
53
55
|
[/^qwen3\.6-35b/, { image: true, video: true }],
|
|
54
56
|
[/^qwen/, {}],
|
|
55
57
|
// -------------------
|
|
56
|
-
// DeepSeek — text-only
|
|
58
|
+
// DeepSeek — text-only, except explicit vision variants
|
|
59
|
+
// (QwenLM/qwen-code#10270)
|
|
57
60
|
// -------------------
|
|
61
|
+
[/^deepseek-.*vision/, { image: true }],
|
|
58
62
|
[/^deepseek/, {}],
|
|
59
63
|
// -------------------
|
|
60
|
-
// Zhipu GLM
|
|
64
|
+
// Zhipu GLM — v-suffix ids are vision models; others are text-only
|
|
65
|
+
// (QwenLM/qwen-code#10270)
|
|
61
66
|
// -------------------
|
|
62
|
-
[/^glm-
|
|
67
|
+
[/^glm-[0-9.]+v/, { image: true }],
|
|
68
|
+
// glm-5.3-flash natively integrates vision input (no v suffix)
|
|
69
|
+
[/^glm-5\.3-flash/, { image: true }],
|
|
63
70
|
[/^glm-5(?:-|$)/, {}],
|
|
64
71
|
[/^glm-/, {}],
|
|
65
72
|
// -------------------
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
publishPendingCompileCache,
|
|
10
10
|
reportRejectedLoaderKeys,
|
|
11
11
|
resetLoaderKeyRejectionReportingForTesting
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MZCJWS5Y.js";
|
|
13
13
|
import {
|
|
14
14
|
isWorkspaceTrusted
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MF7HCQWZ.js";
|
|
16
16
|
import {
|
|
17
17
|
require_main
|
|
18
18
|
} from "./chunk-5M6IDOMF.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
QWEN_DIR,
|
|
21
21
|
Storage,
|
|
22
22
|
getErrorMessage
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UHQFIS7N.js";
|
|
24
24
|
import {
|
|
25
25
|
init_esbuild_shims
|
|
26
26
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-3SH53ANB.js";
|
|
6
6
|
import {
|
|
7
7
|
theme
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WAOIHTJS.js";
|
|
9
9
|
import {
|
|
10
10
|
require_jsx_runtime
|
|
11
11
|
} from "./chunk-SV5PQVQE.js";
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
Text,
|
|
15
15
|
use_is_screen_reader_enabled_default
|
|
16
16
|
} from "./chunk-5Q372OFJ.js";
|
|
17
|
-
import {
|
|
18
|
-
collectInlineImages,
|
|
19
|
-
extractInlineContentRuns
|
|
20
|
-
} from "./chunk-EC5BONC3.js";
|
|
21
17
|
import {
|
|
22
18
|
require_react
|
|
23
19
|
} from "./chunk-5QWWOFGG.js";
|
|
20
|
+
import {
|
|
21
|
+
collectInlineImages,
|
|
22
|
+
extractInlineContentRuns
|
|
23
|
+
} from "./chunk-TPI7O7HR.js";
|
|
24
24
|
import {
|
|
25
25
|
formatHistoryGapNotice,
|
|
26
26
|
indexGapsByChild
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZZUKP7HV.js";
|
|
28
28
|
import {
|
|
29
29
|
stringWidth
|
|
30
30
|
} from "./chunk-2MIN6GRR.js";
|
|
@@ -33,24 +33,26 @@ import {
|
|
|
33
33
|
} from "./chunk-QHTIBUWB.js";
|
|
34
34
|
import {
|
|
35
35
|
t
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-CLWO3B77.js";
|
|
37
37
|
import {
|
|
38
38
|
isGoalCheckpointBookkeepingRecord
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-NV55WWD6.js";
|
|
40
40
|
import {
|
|
41
41
|
getToolResponseDisplayText
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PZ66FRIC.js";
|
|
43
43
|
import {
|
|
44
44
|
stripAnsi
|
|
45
45
|
} from "./chunk-TWPJO254.js";
|
|
46
46
|
import {
|
|
47
47
|
GoalPersistenceUnavailableError,
|
|
48
|
-
parseGoalStateRecordPayloadV2
|
|
48
|
+
parseGoalStateRecordPayloadV2
|
|
49
|
+
} from "./chunk-JHYH6PYQ.js";
|
|
50
|
+
import {
|
|
49
51
|
projectUserTranscriptForDisplay
|
|
50
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7J6OTNGO.js";
|
|
51
53
|
import {
|
|
52
54
|
ToolDisplayNames
|
|
53
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-UTLCH2FK.js";
|
|
54
56
|
import {
|
|
55
57
|
init_esbuild_shims
|
|
56
58
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2423,7 +2425,7 @@ var ICON = {
|
|
|
2423
2425
|
// packages/cli/src/ui/components/shared/ToolStatusIndicator.tsx
|
|
2424
2426
|
init_esbuild_shims();
|
|
2425
2427
|
|
|
2426
|
-
// packages/cli/src/ui/components/
|
|
2428
|
+
// packages/cli/src/ui/components/RespondingSpinner.tsx
|
|
2427
2429
|
init_esbuild_shims();
|
|
2428
2430
|
var import_react3 = __toESM(require_react(), 1);
|
|
2429
2431
|
|
|
@@ -2473,27 +2475,24 @@ var SCREEN_READER_MODEL_PREFIX = "Model: ";
|
|
|
2473
2475
|
var SCREEN_READER_LOADING = "loading";
|
|
2474
2476
|
var SCREEN_READER_RESPONDING = "responding";
|
|
2475
2477
|
|
|
2476
|
-
// packages/cli/src/ui/components/
|
|
2478
|
+
// packages/cli/src/ui/components/RespondingSpinner.tsx
|
|
2477
2479
|
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
|
|
2478
2480
|
var TMUX_SPINNER_INTERVAL_MS = 750;
|
|
2479
2481
|
var TMUX_SPINNER_FRAMES = [". ", ".."];
|
|
2480
|
-
var
|
|
2482
|
+
var RespondingSpinner = /* @__PURE__ */ __name(({
|
|
2483
|
+
nonRespondingDisplay,
|
|
2484
|
+
spinnerType = "dots"
|
|
2485
|
+
}) => {
|
|
2481
2486
|
const streamingState = useStreamingContext();
|
|
2482
2487
|
const isScreenReaderEnabled = use_is_screen_reader_enabled_default();
|
|
2483
2488
|
if (streamingState === "responding" /* Responding */) {
|
|
2484
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2485
|
-
GeminiSpinner,
|
|
2486
|
-
{
|
|
2487
|
-
spinnerType,
|
|
2488
|
-
altText: SCREEN_READER_RESPONDING
|
|
2489
|
-
}
|
|
2490
|
-
);
|
|
2489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Spinner2, { spinnerType, altText: SCREEN_READER_RESPONDING });
|
|
2491
2490
|
} else if (nonRespondingDisplay) {
|
|
2492
2491
|
return isScreenReaderEnabled ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { children: SCREEN_READER_LOADING }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.text.primary, children: nonRespondingDisplay });
|
|
2493
2492
|
}
|
|
2494
2493
|
return null;
|
|
2495
|
-
}, "
|
|
2496
|
-
var
|
|
2494
|
+
}, "RespondingSpinner");
|
|
2495
|
+
var Spinner2 = /* @__PURE__ */ __name(({
|
|
2497
2496
|
spinnerType = "dots",
|
|
2498
2497
|
altText
|
|
2499
2498
|
}) => {
|
|
@@ -2516,7 +2515,7 @@ var GeminiSpinner = /* @__PURE__ */ __name(({
|
|
|
2516
2515
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.text.primary, children: TMUX_SPINNER_FRAMES[tmuxFrameIndex] });
|
|
2517
2516
|
}
|
|
2518
2517
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.text.primary, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(build_default, { type: spinnerType }) });
|
|
2519
|
-
}, "
|
|
2518
|
+
}, "Spinner");
|
|
2520
2519
|
|
|
2521
2520
|
// packages/cli/src/ui/components/shared/ToolStatusIndicator.tsx
|
|
2522
2521
|
var import_jsx_runtime2 = (
|
|
@@ -2534,7 +2533,7 @@ var ToolStatusIndicator = /* @__PURE__ */ __name(({
|
|
|
2534
2533
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { minWidth: STATUS_INDICATOR_WIDTH, flexShrink: 0, children: [
|
|
2535
2534
|
status === "Pending" /* Pending */ && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: theme.status.success, children: TOOL_STATUS.PENDING }),
|
|
2536
2535
|
status === "Executing" /* Executing */ && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
2537
|
-
|
|
2536
|
+
RespondingSpinner,
|
|
2538
2537
|
{
|
|
2539
2538
|
spinnerType: "toggle",
|
|
2540
2539
|
nonRespondingDisplay: TOOL_STATUS.EXECUTING
|
|
@@ -2988,11 +2987,29 @@ function shouldDisplayGoalStateCause(cause) {
|
|
|
2988
2987
|
}
|
|
2989
2988
|
}
|
|
2990
2989
|
__name(shouldDisplayGoalStateCause, "shouldDisplayGoalStateCause");
|
|
2991
|
-
async function waitForGoalRuntime(config) {
|
|
2990
|
+
async function waitForGoalRuntime(config, options = {}) {
|
|
2991
|
+
const awaitReady = /* @__PURE__ */ __name(async () => {
|
|
2992
|
+
try {
|
|
2993
|
+
await config.getGoalRuntimeReady();
|
|
2994
|
+
} catch (error) {
|
|
2995
|
+
if (!(error instanceof GoalPersistenceUnavailableError)) throw error;
|
|
2996
|
+
}
|
|
2997
|
+
}, "awaitReady");
|
|
2998
|
+
const { timeoutMs } = options;
|
|
2999
|
+
if (timeoutMs == null || timeoutMs <= 0) {
|
|
3000
|
+
await awaitReady();
|
|
3001
|
+
return true;
|
|
3002
|
+
}
|
|
3003
|
+
let timer;
|
|
3004
|
+
const timeout = new Promise((resolve) => {
|
|
3005
|
+
timer = setTimeout(() => resolve("timeout"), timeoutMs);
|
|
3006
|
+
timer.unref?.();
|
|
3007
|
+
});
|
|
2992
3008
|
try {
|
|
2993
|
-
await
|
|
2994
|
-
|
|
2995
|
-
|
|
3009
|
+
const winner = await Promise.race([awaitReady(), timeout]);
|
|
3010
|
+
return winner !== "timeout";
|
|
3011
|
+
} finally {
|
|
3012
|
+
if (timer) clearTimeout(timer);
|
|
2996
3013
|
}
|
|
2997
3014
|
}
|
|
2998
3015
|
__name(waitForGoalRuntime, "waitForGoalRuntime");
|
|
@@ -3481,8 +3498,8 @@ export {
|
|
|
3481
3498
|
build_default,
|
|
3482
3499
|
StreamingContext,
|
|
3483
3500
|
useStreamingContext,
|
|
3484
|
-
|
|
3485
|
-
|
|
3501
|
+
RespondingSpinner,
|
|
3502
|
+
Spinner2 as Spinner,
|
|
3486
3503
|
STATUS_INDICATOR_WIDTH,
|
|
3487
3504
|
ToolStatusIndicator,
|
|
3488
3505
|
ToolElapsedTime,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
resolveChannelCwd
|
|
5
|
-
} from "./chunk-7JPW6IYH.js";
|
|
6
3
|
import {
|
|
7
4
|
getPlugin,
|
|
8
5
|
supportedTypes
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3XKLXHGK.js";
|
|
7
|
+
import {
|
|
8
|
+
resolveChannelCwd
|
|
9
|
+
} from "./chunk-HVC3PNVC.js";
|
|
10
10
|
import {
|
|
11
11
|
APPROVAL_MODES
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V5J4J5TP.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -57,6 +57,26 @@ function resolveOptionalStringField(channelName, rawConfig, field, envResolution
|
|
|
57
57
|
}
|
|
58
58
|
__name(resolveOptionalStringField, "resolveOptionalStringField");
|
|
59
59
|
var KNOWN_CREDENTIAL_FIELDS = /* @__PURE__ */ new Set(["token", "clientId", "clientSecret"]);
|
|
60
|
+
function multiSessionCompatibilityError(name, config) {
|
|
61
|
+
if (!config.multiSession) return void 0;
|
|
62
|
+
if (config.sessionScope !== "user") {
|
|
63
|
+
return `Channel "${name}" requires sessionScope "user" when multiSession is enabled.`;
|
|
64
|
+
}
|
|
65
|
+
if (typeof config.groupHistoryLimit === "number" && config.groupHistoryLimit !== 0) {
|
|
66
|
+
return `Channel "${name}" cannot use groupHistoryLimit when multiSession is enabled.`;
|
|
67
|
+
}
|
|
68
|
+
for (const [groupId, group] of Object.entries(config.groups ?? {})) {
|
|
69
|
+
const groupHistoryLimit = group !== null && typeof group === "object" && !Array.isArray(group) ? group["groupHistoryLimit"] : void 0;
|
|
70
|
+
if (typeof groupHistoryLimit === "number" && groupHistoryLimit !== 0) {
|
|
71
|
+
return `Channel "${name}" group "${groupId}" cannot use groupHistoryLimit when multiSession is enabled.`;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
if (config.webhooks !== void 0 && config.webhooks !== null) {
|
|
75
|
+
return `Channel "${name}" cannot use webhooks when multiSession is enabled.`;
|
|
76
|
+
}
|
|
77
|
+
return void 0;
|
|
78
|
+
}
|
|
79
|
+
__name(multiSessionCompatibilityError, "multiSessionCompatibilityError");
|
|
60
80
|
function resolveConfigEnvVar(value, mode) {
|
|
61
81
|
if (mode === false) return value;
|
|
62
82
|
if (value.startsWith("$$")) return value.substring(1);
|
|
@@ -359,6 +379,21 @@ async function parseChannelConfig(name, rawConfig, defaultCwd = process.cwd(), o
|
|
|
359
379
|
envResolution
|
|
360
380
|
);
|
|
361
381
|
const configuredSessionScope = rawConfig["sessionScope"] || plugin.defaultSessionScope || "user";
|
|
382
|
+
const multiSession = optionalBooleanField(
|
|
383
|
+
name,
|
|
384
|
+
"multiSession",
|
|
385
|
+
rawConfig["multiSession"]
|
|
386
|
+
);
|
|
387
|
+
const groups = rawConfig["groups"] || {};
|
|
388
|
+
const webhooks = parseWebhookConfig(name, rawConfig);
|
|
389
|
+
const multiSessionError = multiSessionCompatibilityError(name, {
|
|
390
|
+
multiSession,
|
|
391
|
+
sessionScope: configuredSessionScope,
|
|
392
|
+
groupHistoryLimit: rawConfig["groupHistoryLimit"],
|
|
393
|
+
groups,
|
|
394
|
+
webhooks
|
|
395
|
+
});
|
|
396
|
+
if (multiSessionError) throw new Error(multiSessionError);
|
|
362
397
|
return {
|
|
363
398
|
...resolvedRawConfig,
|
|
364
399
|
type: channelType,
|
|
@@ -368,6 +403,7 @@ async function parseChannelConfig(name, rawConfig, defaultCwd = process.cwd(), o
|
|
|
368
403
|
senderPolicy: rawConfig["senderPolicy"] || "allowlist",
|
|
369
404
|
allowedUsers: rawConfig["allowedUsers"] || [],
|
|
370
405
|
sessionScope: configuredSessionScope,
|
|
406
|
+
multiSession,
|
|
371
407
|
cwd: resolveChannelCwd(rawConfig["cwd"], defaultCwd),
|
|
372
408
|
approvalMode: parseApprovalModeConfig(name, rawConfig),
|
|
373
409
|
instructions: rawConfig["instructions"],
|
|
@@ -380,14 +416,15 @@ async function parseChannelConfig(name, rawConfig, defaultCwd = process.cwd(), o
|
|
|
380
416
|
model: rawConfig["model"],
|
|
381
417
|
groupPolicy: rawConfig["groupPolicy"] || "disabled",
|
|
382
418
|
dmPolicy: rawConfig["dmPolicy"] || "open",
|
|
383
|
-
groups
|
|
384
|
-
webhooks
|
|
419
|
+
groups,
|
|
420
|
+
webhooks
|
|
385
421
|
};
|
|
386
422
|
}
|
|
387
423
|
__name(parseChannelConfig, "parseChannelConfig");
|
|
388
424
|
|
|
389
425
|
export {
|
|
390
426
|
resolveEnvVars,
|
|
427
|
+
multiSessionCompatibilityError,
|
|
391
428
|
parseChannelWebhookConfig,
|
|
392
429
|
parseChannelWebhookConfigLenient,
|
|
393
430
|
parseChannelConfig
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
buildModelReasoningConfigPreview
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T4EFG2P5.js";
|
|
6
6
|
import {
|
|
7
7
|
ACP_ROUTE_ID_PREFIX,
|
|
8
8
|
buildAcpModelOptions,
|
|
@@ -11,28 +11,28 @@ import {
|
|
|
11
11
|
parseAcpBaseModelId,
|
|
12
12
|
resolveCliGenerationConfig,
|
|
13
13
|
sanitizeProviderBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OU5APVWO.js";
|
|
15
15
|
import {
|
|
16
16
|
snapshotProcessEnv
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GPGU4S2N.js";
|
|
18
18
|
import {
|
|
19
19
|
STATUS_SCHEMA_VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KID24ZFN.js";
|
|
21
21
|
import {
|
|
22
22
|
loadSettings
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AIAOIFY4.js";
|
|
24
24
|
import {
|
|
25
25
|
ModelsConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PZ66FRIC.js";
|
|
27
27
|
import {
|
|
28
28
|
APPROVAL_MODES
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-V5J4J5TP.js";
|
|
30
30
|
import {
|
|
31
31
|
tokenLimit
|
|
32
32
|
} from "./chunk-FPGTNKCP.js";
|
|
33
33
|
import {
|
|
34
34
|
createDebugLogger
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-UHQFIS7N.js";
|
|
36
36
|
import {
|
|
37
37
|
init_esbuild_shims
|
|
38
38
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -120,7 +120,13 @@ function buildWorkspaceProvidersStatus(workspaceCwd, acpChannelLive, options) {
|
|
|
120
120
|
providers.set(authType, provider);
|
|
121
121
|
}
|
|
122
122
|
const isCurrent = currentAuth === model.authType && currentAcpModelId === modelId;
|
|
123
|
-
const configOptions = modelId.startsWith(ACP_ROUTE_ID_PREFIX) ? void 0 : buildModelReasoningConfigPreview(model.id
|
|
123
|
+
const configOptions = modelId.startsWith(ACP_ROUTE_ID_PREFIX) ? void 0 : buildModelReasoningConfigPreview(model.id, {
|
|
124
|
+
thinkingMandatory: modelsConfig.getResolvedModel(
|
|
125
|
+
model.authType,
|
|
126
|
+
model.id,
|
|
127
|
+
model.registryBaseUrl ?? model.baseUrl
|
|
128
|
+
)?.generationConfig.thinkingMandatory === true
|
|
129
|
+
});
|
|
124
130
|
const providerModel = {
|
|
125
131
|
modelId,
|
|
126
132
|
baseModelId: parseAcpBaseModelId(effectiveModelId),
|