@qwen-code/qwen-code 0.21.0 → 0.21.1-nightly.20260730.1643a6c9a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/model-providers.md +2 -0
- package/bundled/qc-helper/docs/configuration/settings.md +39 -28
- package/bundled/qc-helper/docs/features/channels/_meta.ts +2 -0
- package/bundled/qc-helper/docs/features/channels/github.md +117 -0
- package/bundled/qc-helper/docs/features/channels/gitlab.md +171 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +61 -6
- package/bundled/qc-helper/docs/features/code-review.md +1 -1
- package/bundled/qc-helper/docs/features/hooks.md +70 -15
- package/bundled/qc-helper/docs/features/mcp.md +9 -1
- package/bundled/qc-helper/docs/features/scheduled-tasks.md +3 -1
- package/bundled/qc-helper/docs/features/sub-agents.md +20 -0
- package/bundled/qc-helper/docs/qwen-serve.md +11 -7
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +2 -2
- package/bundled/qc-helper/docs/support/troubleshooting.md +2 -1
- package/bundled/review/DESIGN.md +19 -0
- package/bundled/review/SKILL.md +120 -61
- package/chunks/MaxSizedBox-H77LGFDG.js +86 -0
- package/chunks/{StandaloneSessionPicker-BIRMPLRD.js → StandaloneSessionPicker-NGKLCYX4.js} +68 -67
- package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-DFVPFQ6C.js} +2 -2
- package/chunks/{acpAgent-6J2U72PQ.js → acpAgent-RUN53PRW.js} +1381 -543
- package/chunks/agent-4CFRD2OG.js +82 -0
- package/chunks/agent-headless-XPUCIZLL.js +76 -0
- package/chunks/{anthropicContentGenerator-75BKLTSP.js → anthropicContentGenerator-V2QOGVYD.js} +79 -27
- package/chunks/{artifact-tool-Y5T7GG7F.js → artifact-tool-6K6U7XYJ.js} +4 -4
- package/chunks/{askUserQuestion-2H6747FR.js → askUserQuestion-GD2IJJ7I.js} +4 -4
- package/chunks/bridge-B2YJLSLT.js +92 -0
- package/chunks/{build-RV63TIRH.js → build-GDBLPA24.js} +1 -1
- package/chunks/{ca-25EDXPFZ.js → ca-6W3SK7OQ.js} +6 -1
- package/chunks/channel-management-service-RAPKQK24.js +418 -0
- package/chunks/channel-settings-store-KJQKY6NN.js +89 -0
- package/chunks/{channel-worker-group-2ZD7TVAT.js → channel-worker-group-7SZ7MR3K.js} +11 -6
- package/chunks/{channel-worker-manager-4OA4BCGB.js → channel-worker-manager-RN5KJYPF.js} +11 -6
- package/chunks/{channel-worker-supervisor-V7KCFJTS.js → channel-worker-supervisor-CABBXYHK.js} +7 -5
- package/chunks/{chunk-M5JM7OSF.js → chunk-2DN4J57Y.js} +2 -3
- package/chunks/{chunk-6GMVPFB2.js → chunk-2IIJTXYF.js} +45 -16
- package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
- package/chunks/{chunk-EPDRMGT4.js → chunk-2LKVPASC.js} +4 -28
- package/chunks/{chunk-PWTZEM3C.js → chunk-2LQTH543.js} +3 -37
- package/chunks/{chunk-CIKQ7KKO.js → chunk-2Q4CZ3V6.js} +713 -419
- package/chunks/{chunk-HIJQF5B5.js → chunk-3L2SPEBH.js} +1 -1
- package/chunks/{chunk-JXJFVC6E.js → chunk-3QDXECUB.js} +46 -11
- package/chunks/{chunk-PSOO6YXD.js → chunk-3RMX26V7.js} +9 -7
- package/chunks/{chunk-PC6JANNU.js → chunk-4755HD5V.js} +4 -4
- package/chunks/{chunk-GSN55ZRI.js → chunk-4D3MHM5F.js} +19 -7
- package/chunks/{chunk-EBJQ6AXW.js → chunk-4FQ4OKOU.js} +260 -14
- package/chunks/{chunk-BIQWWWJN.js → chunk-4G2BISNC.js} +1 -1
- package/chunks/{chunk-IKYJHJNF.js → chunk-5EHIP3GX.js} +3 -3
- package/chunks/chunk-5IDU2UGL.js +2196 -0
- package/chunks/{chunk-DHHOYAPR.js → chunk-5TBMQLGG.js} +7 -7
- package/chunks/{chunk-A4UCTEB5.js → chunk-5WV5S2GT.js} +0 -1
- package/chunks/chunk-5YKDXHUY.js +463 -0
- package/chunks/{chunk-K36B6G2O.js → chunk-5ZEFGTII.js} +5 -5
- package/chunks/{chunk-K4XWPEWB.js → chunk-64LQLPL7.js} +4 -33
- package/chunks/{chunk-TGILQ3YH.js → chunk-6CH6PHMZ.js} +141 -64
- package/chunks/chunk-6FMJLI5M.js +1591 -0
- package/chunks/chunk-6MPDY6ZG.js +76 -0
- package/chunks/{chunk-2NH6DYI4.js → chunk-6OF62NPQ.js} +12 -12
- package/chunks/{chunk-JZA3JUDJ.js → chunk-6QIGFD5W.js} +1 -1
- package/chunks/{chunk-ETSW4KLJ.js → chunk-72E7TSGG.js} +2 -2
- package/chunks/{chunk-OHNBB4XR.js → chunk-75GFAX4R.js} +1 -1
- package/chunks/{chunk-UDX5OBWR.js → chunk-77IMMLN2.js} +94 -4
- package/chunks/{chunk-TEHGS6UP.js → chunk-7A4V5CJY.js} +154 -16
- package/chunks/{chunk-QAF7NMK7.js → chunk-7BV2P4S3.js} +1 -1
- package/chunks/{chunk-RIBKPMRP.js → chunk-7RFNMXPU.js} +19 -6
- package/chunks/{chunk-KMQ33DO4.js → chunk-7UKQW4JU.js} +4 -4
- package/chunks/{chunk-A5L3JMUA.js → chunk-7XATOOE7.js} +18 -4
- package/chunks/{chunk-5I2IWRSH.js → chunk-A3NDJ5SB.js} +2 -2
- package/chunks/{chunk-JLU636DO.js → chunk-ALMR3E6Q.js} +1 -0
- package/chunks/{chunk-TPRQ7RZH.js → chunk-ANND7YTH.js} +2341 -940
- package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
- package/chunks/{chunk-KIM5GUMA.js → chunk-B47WVQ7T.js} +400 -162
- package/chunks/{chunk-UH3WSE5L.js → chunk-B4AJNNOL.js} +1 -6
- package/chunks/{chunk-BJX6ZSUK.js → chunk-BCZFQXWK.js} +2 -2
- package/chunks/{chunk-BKHWX6I2.js → chunk-CAEQL6GZ.js} +11 -3
- package/chunks/{chunk-J56UI34H.js → chunk-CI2PGI7Z.js} +4 -2
- package/chunks/{chunk-2SCDWPXI.js → chunk-CUWGNCKW.js} +5 -5
- package/chunks/{chunk-TOFQCPDC.js → chunk-CVHIL5IG.js} +4 -5
- package/chunks/{chunk-VRYUBFMC.js → chunk-CYIBLZBR.js} +1 -1
- package/chunks/{chunk-YBL3QUDD.js → chunk-CYPJYJIX.js} +1 -1
- package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
- package/chunks/{chunk-7MVVZO4N.js → chunk-DGV27C34.js} +4 -4
- package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
- package/chunks/chunk-DZLYR4U3.js +1252 -0
- package/chunks/{chunk-PHOF65IG.js → chunk-EYGWU66Z.js} +41594 -50416
- package/chunks/{chunk-7ZCNENPP.js → chunk-FANRZEAJ.js} +1 -1
- package/chunks/{chunk-WBL3FJEU.js → chunk-FC4KQFCS.js} +1 -1
- package/chunks/{chunk-5NBDS5S6.js → chunk-FCYYAB4S.js} +162 -7
- package/chunks/{chunk-L26JL52R.js → chunk-FH6SU2OG.js} +48 -61
- package/chunks/{chunk-OKY7HXPG.js → chunk-FNMZK765.js} +2 -2
- package/chunks/chunk-FYJ7W2PI.js +194 -0
- package/chunks/{chunk-BULDBTYC.js → chunk-G7XXKQYS.js} +3 -28
- package/chunks/{chunk-L5UHQJTJ.js → chunk-GATT5TKW.js} +1 -1
- package/chunks/{chunk-MVSUYZDT.js → chunk-GKWLJW7Z.js} +4 -4
- package/chunks/{chunk-VAK25FTU.js → chunk-GKX7E4CO.js} +1 -1
- package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
- package/chunks/{chunk-FSITMZJH.js → chunk-GOXRFPH5.js} +18 -9
- package/chunks/{chunk-3RN6GBKS.js → chunk-HFAV3POZ.js} +1 -1
- package/chunks/{chunk-YX324OPW.js → chunk-HGQIL6NG.js} +1 -1
- package/chunks/{chunk-55DJUCI2.js → chunk-HOSENQJL.js} +53 -43
- package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
- package/chunks/{chunk-YH6G52F2.js → chunk-I3V7RKRZ.js} +4 -4
- package/chunks/{chunk-RF3EXIHJ.js → chunk-IQMYZTDI.js} +30 -19
- package/chunks/{chunk-RWTEFFPU.js → chunk-JCJ7LKNA.js} +6140 -5616
- package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
- package/chunks/{chunk-63P4EL5V.js → chunk-JMONIXMJ.js} +1 -1
- package/chunks/{chunk-OFDOK3VM.js → chunk-JQTW5CA5.js} +8 -13
- package/chunks/chunk-JYBU6YUE.js +378 -0
- package/chunks/chunk-JZQUOT4B.js +81 -0
- package/chunks/{chunk-Q4M4MDQ4.js → chunk-K4GTOFKY.js} +1 -1
- package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
- package/chunks/{chunk-YPE6A4GC.js → chunk-KLESQCW6.js} +2 -2
- package/chunks/{chunk-JVPM2ULZ.js → chunk-KQGB3ME2.js} +6 -6
- package/chunks/{chunk-2W3OOD4W.js → chunk-L55JWS76.js} +6 -3
- package/chunks/{chunk-RHLZR4E5.js → chunk-LGAOC3ZS.js} +1 -1
- package/chunks/{chunk-LB6DUZ26.js → chunk-LI53FGDL.js} +258 -184
- package/chunks/{chunk-2X55UKQE.js → chunk-LIJID5PD.js} +3 -3
- package/chunks/{chunk-NH6KE4JX.js → chunk-LW3RFMG7.js} +3 -3
- package/chunks/{chunk-MZAXJAUM.js → chunk-LW67T6GH.js} +1 -1
- package/chunks/{chunk-RZIX2G32.js → chunk-M4O2DCE3.js} +1 -1
- package/chunks/{chunk-4WIZGAH3.js → chunk-MFW7APBA.js} +6 -58
- package/chunks/{chunk-VIA5XA4U.js → chunk-MKQOXP2O.js} +3 -1
- package/chunks/{chunk-FODK6UMO.js → chunk-MPHPFVKK.js} +0 -2
- package/chunks/{chunk-JESCGQM3.js → chunk-NAVJD2PQ.js} +8 -7
- package/chunks/{chunk-H5FFA6TH.js → chunk-NOKIVHOL.js} +16 -3
- package/chunks/{chunk-6OUGMXDC.js → chunk-NWNEANAT.js} +7 -7
- package/chunks/{chunk-LQIW3YFY.js → chunk-OAOPCTG6.js} +9 -7
- package/chunks/chunk-OCPBI7J5.js +18 -0
- package/chunks/{chunk-WCXCRJYB.js → chunk-OCUM7TJA.js} +1 -1
- package/chunks/{chunk-R5AFZNQW.js → chunk-OIG257JR.js} +14 -7
- package/chunks/{chunk-IKCX4CCL.js → chunk-OINT3ZNV.js} +118 -95
- package/chunks/{chunk-E5TUC6CA.js → chunk-OKF7JF3R.js} +3 -3
- package/chunks/chunk-PEK4ARMZ.js +319 -0
- package/chunks/chunk-PGHTM673.js +363 -0
- package/chunks/{record-artifact-RQKFYO5B.js → chunk-PMGFWLAZ.js} +22 -7
- package/chunks/{chunk-FNQ6T3CV.js → chunk-PONHVBRT.js} +10 -7
- package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
- package/chunks/{chunk-ZFDTEDCF.js → chunk-RF4FA22B.js} +6 -6
- package/chunks/{chunk-6FGBXPWM.js → chunk-RPLGZJV2.js} +38 -44
- package/chunks/{chunk-NIBLUX3Y.js → chunk-RQLRERVY.js} +148 -21
- package/chunks/{chunk-LKEJ26GS.js → chunk-RWZPM2BP.js} +16 -11
- package/chunks/{chunk-6AM5D4ME.js → chunk-S6LOFUVP.js} +0 -12
- package/chunks/{chunk-IO3IX5Q4.js → chunk-S7G7Z3MP.js} +1 -1
- package/chunks/{chunk-MUP3T3AD.js → chunk-SGFT55XI.js} +1 -35
- package/chunks/{chunk-PWVFN2LF.js → chunk-SMWPUA2A.js} +1 -1
- package/chunks/{chunk-U7M2DMGW.js → chunk-SWRHIQDT.js} +130 -5
- package/chunks/{chunk-VYPFXUCB.js → chunk-SZ3KHTDR.js} +1 -1
- package/chunks/chunk-T26EAKDL.js +13 -0
- package/chunks/chunk-T3CHYWJZ.js +758 -0
- package/chunks/{chunk-SQCQ4KO2.js → chunk-TCBP4Q3K.js} +380 -317
- package/chunks/{chunk-ZNAUOR2I.js → chunk-TJHLQ45J.js} +2 -2
- package/chunks/{chunk-LK7CHLVP.js → chunk-U4VTUMMK.js} +0 -60
- package/chunks/{chunk-NL7LTRLR.js → chunk-UHUSJ6X7.js} +29 -68
- package/chunks/{chunk-LH2BYDQ5.js → chunk-UJBURGBH.js} +18 -12
- package/chunks/{chunk-ZOIFNCKL.js → chunk-UPUG4GXM.js} +3 -23
- package/chunks/{chunk-FQK6JAFG.js → chunk-URPQ5QZM.js} +4 -4
- package/chunks/{chunk-M4FMGVY4.js → chunk-V47JGII4.js} +3 -3
- package/chunks/{chunk-Y34KJKDC.js → chunk-VBX5IFEN.js} +1 -1
- package/chunks/{chunk-USTWD7QV.js → chunk-W4MIWP6M.js} +26 -16
- package/chunks/{chunk-HTR4WV6U.js → chunk-W4RQUHY3.js} +31 -1
- package/chunks/{chunk-J24WCGIN.js → chunk-W7D7QTCH.js} +4 -4
- package/chunks/{chunk-DLWL3Z7A.js → chunk-WBSMNTSV.js} +3 -3
- package/chunks/{chunk-2JZBVYTU.js → chunk-WZRWHXFE.js} +1 -8
- package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
- package/chunks/{chunk-IJTOWOD7.js → chunk-XTLTBZIH.js} +83 -9
- package/chunks/{chunk-H4SBPHSA.js → chunk-XVYRMUI5.js} +3 -3
- package/chunks/{chunk-3QMGYBFN.js → chunk-XWWKIXVD.js} +1 -80
- package/chunks/{chunk-VULLI6WQ.js → chunk-XZB72HUB.js} +6 -6
- package/chunks/{chunk-3SJ43L4W.js → chunk-XZC5VLBZ.js} +2 -0
- package/chunks/{chunk-UUUTRMI2.js → chunk-Y4IHBGBP.js} +1 -1
- package/chunks/{chunk-PR75REBZ.js → chunk-Y6AXW2OG.js} +12 -82
- package/chunks/{chunk-IPUUTYMV.js → chunk-YDLJGZHL.js} +1 -1
- package/chunks/{chunk-MB4MZHMJ.js → chunk-YX4DHA6S.js} +211 -522
- package/chunks/chunk-Z4X5MTRT.js +133 -0
- package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
- package/chunks/{chunk-ZD6UTE4A.js → chunk-ZHBO7WVX.js} +1 -1
- package/chunks/{chunk-7JURR4JT.js → chunk-ZM63TFJH.js} +167 -81
- package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
- package/chunks/{chunk-X5XDDSSH.js → chunk-ZPZ7ZJEE.js} +28 -5
- package/chunks/{chunk-ACY3A37B.js → chunk-ZS6Q44DY.js} +23 -18
- package/chunks/{chunk-ZJHVAS7M.js → chunk-ZWUDSQBD.js} +4 -5
- package/chunks/{computer-use-SOQ4E3VX.js → computer-use-HRVGY7OB.js} +50 -49
- package/chunks/{config-utils-7V7GGIW6.js → config-utils-RUFMEUYD.js} +4 -3
- package/chunks/contextCommand-V3N7Q3UM.js +81 -0
- package/chunks/core-runtime-QGEW6WBW.js +135 -0
- package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-SBYUMSSS.js} +3 -3
- package/chunks/{create-sub-session-QRJLW5BV.js → create-sub-session-ZUWDNFO2.js} +47 -46
- package/chunks/{cron-create-YIID5XAW.js → cron-create-2QK6TCEC.js} +6 -6
- package/chunks/{cron-delete-ZVHYCEP2.js → cron-delete-FDCDFYMG.js} +5 -5
- package/chunks/{cron-list-XEGS463Q.js → cron-list-XN3WVBTP.js} +6 -6
- package/chunks/{daemon-YO6433NF.js → daemon-QH2G5B5E.js} +403 -17
- package/chunks/daemon-status-provider-MB54AMNV.js +91 -0
- package/chunks/daemon-trust-policy-3VFDF5LU.js +86 -0
- package/chunks/daemon-trust-policy-monitor-4KX2OK7G.js +173 -0
- package/chunks/{de-HGRCYDEJ.js → de-SY6O76BF.js} +6 -1
- package/chunks/deferred-core-runtime-UIJL6EEU.js +90 -0
- package/chunks/{dist-F6IBUDR4.js → dist-2PERFI23.js} +12 -9
- package/chunks/dist-AOOUOG5S.js +4389 -0
- package/chunks/{dist-46NQKLTW.js → dist-OAOC5OV4.js} +2 -2
- package/chunks/{dist-YFNEUWSE.js → dist-PVEAFLHY.js} +5 -4
- package/chunks/{dist-AIKFMUKK.js → dist-SL2LUMML.js} +1449 -14
- package/chunks/dist-ULIG4M5H.js +13415 -0
- package/chunks/{dist-WEAHOXDM.js → dist-WGMNT3JQ.js} +2 -1
- package/chunks/{dist-BBLXMS3N.js → dist-ZHXOBXDN.js} +3 -3
- package/chunks/earlyInputCapture-QBC4ZCV7.js +83 -0
- package/chunks/{edit-OBDSQURM.js → edit-7ABV72VV.js} +48 -47
- package/chunks/{en-MTWBNGDO.js → en-NBK3JKCE.js} +9 -1
- package/chunks/{enter-worktree-U6MRPQ2P.js → enter-worktree-4NOWT6I2.js} +48 -47
- package/chunks/{enterPlanMode-BC5QUZZ2.js → enterPlanMode-4NOQ6A56.js} +48 -47
- package/chunks/{environment-W5UFC2CH.js → environment-ABMFNOJO.js} +49 -48
- package/chunks/errors-UAX4AR5Q.js +89 -0
- package/chunks/esm-K5FARBNI.js +5548 -0
- package/chunks/{exit-worktree-DGNYMECB.js → exit-worktree-CF2O5AQM.js} +48 -47
- package/chunks/exitPlanMode-5KEF5DLM.js +74 -0
- package/chunks/{fast-path-JJZFJANL.js → fast-path-RWZGR7A6.js} +16 -6
- package/chunks/{fr-45RLL55O.js → fr-4KG5V7UT.js} +6 -1
- package/chunks/{gemini-QS36EBZV.js → gemini-A4LXWU5S.js} +103 -98
- package/chunks/{geminiContentGenerator-AG4KB6CV.js → geminiContentGenerator-VPXAS3BM.js} +40 -11
- package/chunks/{getMachineId-bsd-V7W3GODC.js → getMachineId-bsd-FG7IUY6U.js} +1 -1
- package/chunks/{getMachineId-darwin-TDO75DQP.js → getMachineId-darwin-GLCJI2RA.js} +1 -1
- package/chunks/{getMachineId-linux-TF43WQT2.js → getMachineId-linux-O6OPPAKO.js} +1 -1
- package/chunks/{getMachineId-unsupported-ZGUO3TXT.js → getMachineId-unsupported-S6CKYVGC.js} +1 -1
- package/chunks/{getMachineId-win-ECFYZZFQ.js → getMachineId-win-X5SRNEH7.js} +1 -1
- package/chunks/{glob-V7R3PSK3.js → glob-P6ZPQOPR.js} +48 -47
- package/chunks/goal-tools-H2NHZKGN.js +335 -0
- package/chunks/{grep-QYPSK7OP.js → grep-56M3IJ36.js} +50 -48
- package/chunks/handleAutoUpdate-N3IMC273.js +82 -0
- package/chunks/i18n-UFV5QINW.js +98 -0
- package/chunks/{image-gen-Z3VPGKRC.js → image-gen-GPYAKETO.js} +12 -12
- package/chunks/initializer-OXWZKLEX.js +87 -0
- package/chunks/installationInfo-V2YEC52N.js +81 -0
- package/chunks/{ja-B7DF7DFG.js → ja-F3GSQXMF.js} +6 -1
- package/chunks/{keychain-token-storage-MDTG3WRM.js → keychain-token-storage-72IYCAZV.js} +3 -3
- package/chunks/lib-RUF3WZA6.js +9 -0
- package/chunks/list-UN6EJ6WB.js +90 -0
- package/chunks/{list-agents-5KJJHR6I.js → list-agents-R6KDXQR3.js} +3 -3
- package/chunks/loadedSettingsAdapter-LZK2PMOY.js +84 -0
- package/chunks/{loggingContentGenerator-HS3S5H3Q.js → loggingContentGenerator-PSFMRX7M.js} +78 -113
- package/chunks/{loop-wakeup-FXKNNYSY.js → loop-wakeup-3IQKCYAH.js} +7 -7
- package/chunks/{ls-NTK6VOQJ.js → ls-DKZ37A7N.js} +5 -5
- package/chunks/{lsp-2JI24STP.js → lsp-QNWN7KN3.js} +3 -3
- package/chunks/{managed-npm-update-JYEMMXA3.js → managed-npm-update-D2AO3F47.js} +48 -47
- package/chunks/mcp-A2VAOKMH.js +84 -0
- package/chunks/{monitor-R3ODH5U6.js → monitor-7EJ3WBER.js} +48 -47
- package/chunks/nonInteractiveCli-43LIVN4A.js +146 -0
- package/chunks/{notebook-edit-BNOK452R.js → notebook-edit-IQD53ULF.js} +48 -47
- package/chunks/{openaiContentGenerator-WMCU3O2H.js → openaiContentGenerator-YPCMNGEZ.js} +26 -27
- package/chunks/pidfile-3SOOBWZA.js +87 -0
- package/chunks/process-registry-2CHQBXH5.js +157 -0
- package/chunks/{processUtils-RT7UNCC2.js → processUtils-FGVHFR4V.js} +2 -2
- package/chunks/{pt-22Q3FP73.js → pt-EQ33KWEN.js} +6 -1
- package/chunks/{qwenContentGenerator-HHCRK4SX.js → qwenContentGenerator-M6YW4D6A.js} +53 -52
- package/chunks/{qwenOAuth2-OWLB5AKH.js → qwenOAuth2-XSYKLMNR.js} +10 -10
- package/chunks/read-file-XOMBFIS7.js +29 -0
- package/chunks/{read-mcp-resource-4DKQWGHD.js → read-mcp-resource-GFTWYXMK.js} +4 -4
- package/chunks/record-artifact-JANPGVS4.js +21 -0
- package/chunks/resumeHistoryUtils-E4EVA4PO.js +92 -0
- package/chunks/ripGrep-M4NYA6AM.js +74 -0
- package/chunks/{ru-FZCNZHDC.js → ru-7OZAUKGG.js} +6 -1
- package/chunks/{run-qwen-serve-FU6HEM4J.js → run-qwen-serve-QLCU2BAZ.js} +953 -248
- package/chunks/{runtime-XXRRTNP6.js → runtime-T36WUYIO.js} +57 -55
- package/chunks/{scheduler-G2ZS2Z7E.js → scheduler-C3J45Z5W.js} +47 -46
- package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
- package/chunks/{sdk-exporters-http-FYBSUCPD.js → sdk-exporters-http-BFOKQFRD.js} +7 -7
- package/chunks/{sdk-impl-GMVPB7NB.js → sdk-impl-6CJ3JQZL.js} +14 -14
- package/chunks/{send-message-Q6OOR6BR.js → send-message-RJ2R4PIV.js} +6 -12
- package/chunks/serve-7SWJTL3K.js +90 -0
- package/chunks/{server-4UMH7OIZ.js → server-T2B64F4O.js} +3887 -852
- package/chunks/{session-K3O3Q2SV.js → session-D546I4HT.js} +99 -94
- package/chunks/{settings-CR2EWTBA.js → settings-ZQOOTRR7.js} +51 -50
- package/chunks/shell-5OR4RAKF.js +84 -0
- package/chunks/{skill-I3SDA4MB.js → skill-X4E5JMKV.js} +20 -21
- package/chunks/skill-settings-ZS3XPDMT.js +92 -0
- package/chunks/spawnChannel-MILVKB3G.js +83 -0
- package/chunks/standalone-update-UTYCSPUO.js +93 -0
- package/chunks/{startInteractiveUI-SLZGHRPH.js → startInteractiveUI-S4R5J4EN.js} +1220 -895
- package/chunks/{syntheticOutput-I3757IWH.js → syntheticOutput-355CB6CJ.js} +4 -4
- package/chunks/{task-create-N7WQSGYA.js → task-create-KUQIS7RA.js} +10 -10
- package/chunks/{task-list-FOPULZEP.js → task-list-5XNNGTF4.js} +7 -7
- package/chunks/{task-stop-H6RHXFVQ.js → task-stop-4ROAOBXH.js} +3 -3
- package/chunks/{task-update-M57TFZJT.js → task-update-4FPFYGE3.js} +10 -10
- package/chunks/{team-create-YJALH5D2.js → team-create-MGD3Q7W4.js} +50 -49
- package/chunks/{team-delete-QE2UXJL7.js → team-delete-S2RCXA4P.js} +7 -7
- package/chunks/{team-plan-approval-34QFYKGN.js → team-plan-approval-VMVGLPDQ.js} +48 -47
- package/chunks/theme-manager-U4QE2YSY.js +78 -0
- package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-7WM3VDMY.js} +7 -7
- package/chunks/{tool-search-NF7GB6LE.js → tool-search-6T7VYTYZ.js} +19 -21
- package/chunks/total-session-admission-PLKO4EET.js +86 -0
- package/chunks/trustedFolders-QZU6BO46.js +96 -0
- package/chunks/{update-relaunch-WBUZJC5O.js → update-relaunch-NWPFNM5L.js} +5 -5
- package/chunks/updateCheck-KEOCGBZR.js +93 -0
- package/chunks/useAutoAcceptIndicator-O6XISZEA.js +94 -0
- package/chunks/{validateNonInterActiveAuth-3R223G3R.js → validateNonInterActiveAuth-WCHAHO75.js} +94 -89
- package/chunks/{version-HS7YSFHV.js → version-VP3VZ2BM.js} +1 -1
- package/chunks/{web-fetch-NKCSG7ZE.js → web-fetch-KM2FSOKS.js} +19 -21
- package/chunks/{web-search-S62WAP4S.js → web-search-WUR6PYBO.js} +13 -13
- package/chunks/{workflow-QAGU5RU4.js → workflow-S6XMX55R.js} +49 -48
- package/chunks/workspace-providers-status-JGIZRHVT.js +87 -0
- package/chunks/{workspace-registration-store-24JMHDGF.js → workspace-registration-store-JDEMOOFX.js} +1 -1
- package/chunks/workspace-registry-NIL6253M.js +94 -0
- package/chunks/workspace-service-UYB6MMWL.js +101 -0
- package/chunks/workspace-skills-status-GSJRWER4.js +87 -0
- package/chunks/workspace-trust-reconciler-V2TICK2A.js +347 -0
- package/chunks/write-file-QHD5ELJS.js +76 -0
- package/chunks/xterm-headless-NTYVIBT3.js +3475 -0
- package/chunks/{zh-LUIGBD55.js → zh-H3YDK5QW.js} +9 -1
- package/chunks/{zh-TW-F5KG2IYD.js → zh-TW-JYCP7XUA.js} +9 -1
- package/chunks/zoom-image-236QXDRH.js +224 -0
- package/cli.js +13 -13
- package/locales/ca.js +7 -2
- package/locales/de.js +7 -2
- package/locales/en.js +10 -2
- package/locales/fr.js +7 -2
- package/locales/ja.js +7 -2
- package/locales/pt.js +7 -2
- package/locales/ru.js +7 -2
- package/locales/zh-TW.js +10 -2
- package/locales/zh.js +10 -2
- package/package.json +5 -4
- package/web-shell/assets/{arc-DcbWnB9T.js → arc-DQN8gc5j.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-kMMF5sud.js → architectureDiagram-3BPJPVTR-C6Z867cc.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-Htl9vTJS.js → blockDiagram-GPEHLZMM-BkyNf4_J.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BnZnm0mQ.js → c4Diagram-AAUBKEIU-BA7aurej.js} +1 -1
- package/web-shell/assets/channel-YzToqAUt.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DziB7kDG.js → chunk-2J33WTMH-Dp_LERgD.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-CmkD8daw.js → chunk-4BX2VUAB-CCwcnkeW.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-CHAd9A_U.js → chunk-55IACEB6-e0ytWiup.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-Dqaam3fE.js → chunk-727SXJPM-DBoZrQ--.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-D_-saBYM.js → chunk-AQP2D5EJ-dmHU5zKq.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-B9r_veWD.js → chunk-FMBD7UC4-PP3UKzsN.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-B3EaCSpL.js → chunk-ND2GUHAM-Bjy0PNsP.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-CYq8x9mn.js → chunk-QZHKN3VN-CM0H6wrK.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-_le9LVNU.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-_le9LVNU.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-D0ng4uiB.js → cose-bilkent-S5V4N54A-B1B_Fozz.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DCZollQv.js → dagre-BM42HDAG-DGFk7aBN.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-Dfk2pWS0.js → diagram-2AECGRRQ-VdlYGHdV.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-kX38ltWR.js → diagram-5GNKFQAL-xcEMWz6m.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CJz2vsXh.js → diagram-KO2AKTUF-B6Dd23eT.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BvMLZm_7.js → diagram-LMA3HP47-C3bjiNTc.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-l7kfStkO.js → diagram-OG6HWLK6-ChXfX8H6.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BSVa8GGT.js → erDiagram-TEJ5UH35-D7RBC3FG.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-CoawKIXH.js → flowDiagram-I6XJVG4X-bNsx8Fqb.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DFUDH0zF.js → ganttDiagram-6RSMTGT7-C_m4liOj.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Y2pvpT4e.js → gitGraphDiagram-PVQCEYII-CzAqOmDr.js} +1 -1
- package/web-shell/assets/{index-D0GX0zZf.js → index-BArKGy43.js} +1 -1
- package/web-shell/assets/index-C2GE3DAF.js +74 -0
- package/web-shell/assets/index-_dIfJ82-.js +1625 -0
- package/web-shell/assets/index-heP6zO4t.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CU8_zLiX.js → infoDiagram-5YYISTIA-BBw9H4RT.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-AVQiV0DU.js → ishikawaDiagram-YF4QCWOH-C8Ns7cDb.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DQ0VSKa3.js → journeyDiagram-JHISSGLW-BkW5h5si.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BqnWqsE_.js → kanban-definition-UN3LZRKU-IUhsF7tq.js} +1 -1
- package/web-shell/assets/{linear-BkoihsaA.js → linear-CeDsMMjT.js} +1 -1
- package/web-shell/assets/{mermaid.core-5RJs-31j.js → mermaid.core-VTPU82QL.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D33Bxnpd.js → mindmap-definition-RKZ34NQL-DVohXDmC.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-BuEAw3BH.js → pieDiagram-4H26LBE5-SxBFaID8.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-Kox_usEq.js → quadrantDiagram-W4KKPZXB-BJt8o3Cs.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CNjeUif0.js → requirementDiagram-4Y6WPE33-B02G8M7E.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BCd2OL_U.js → sankeyDiagram-5OEKKPKP-CzMCGPib.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CF2ZTsz0.js → sequenceDiagram-3UESZ5HK-CzbJgSkE.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-qenSzHtm.js → stateDiagram-AJRCARHV-DhiXBOKS.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DILbnhvR.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-B5DyWdgs.js → timeline-definition-PNZ67QCA-Btj5idQV.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DqP4I_o_.js → vennDiagram-CIIHVFJN-CJz2YZq4.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CJe2e4mg.js → wardley-L42UT6IY-CavIou7m.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BMDSw-Rr.js → wardleyDiagram-YWT4CUSO-BRf62x8X.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BTVZYkxD.js → xychartDiagram-2RQKCTM6-ItOGZPM_.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/MaxSizedBox-5DPPWPGT.js +0 -85
- package/chunks/agent-6ODUANDO.js +0 -81
- package/chunks/agent-headless-7BYQTMHW.js +0 -75
- package/chunks/bridge-ZUB64FAE.js +0 -90
- package/chunks/chunk-LEH5C7FV.js +0 -232
- package/chunks/chunk-SZRN75WQ.js +0 -29
- package/chunks/chunk-UGYMA4EI.js +0 -219
- package/chunks/chunk-Z2BC6UJ5.js +0 -8575
- package/chunks/contextCommand-JLHYA34Z.js +0 -80
- package/chunks/daemon-status-provider-2233Q37D.js +0 -89
- package/chunks/earlyInputCapture-A7NDU3PF.js +0 -82
- package/chunks/errors-M7CLORXH.js +0 -88
- package/chunks/exitPlanMode-GXTBWQAR.js +0 -403
- package/chunks/handleAutoUpdate-6DBEZYPV.js +0 -81
- package/chunks/i18n-VUJJZIMU.js +0 -97
- package/chunks/initializer-UWAK5U5O.js +0 -86
- package/chunks/installationInfo-6O2YAA52.js +0 -80
- package/chunks/list-GB4ESM3T.js +0 -89
- package/chunks/loadedSettingsAdapter-OT6JVQ7U.js +0 -83
- package/chunks/mcp-6DBDJPFU.js +0 -83
- package/chunks/nonInteractiveCli-MOYCYBBU.js +0 -141
- package/chunks/pidfile-TFRZZZIO.js +0 -86
- package/chunks/read-file-APMO3PSX.js +0 -31
- package/chunks/resumeHistoryUtils-6KRYEAWZ.js +0 -91
- package/chunks/ripGrep-BEJDEDXW.js +0 -73
- package/chunks/serve-7BSTXJ4T.js +0 -89
- package/chunks/shell-HH3PF3A2.js +0 -83
- package/chunks/spawnChannel-RWNDBXGA.js +0 -82
- package/chunks/src-GE4TTTML.js +0 -3147
- package/chunks/standalone-update-Q6WFRZZQ.js +0 -92
- package/chunks/theme-manager-SWRILQHI.js +0 -77
- package/chunks/total-session-admission-DLHHHLD3.js +0 -84
- package/chunks/trustedFolders-KHXHY6PY.js +0 -93
- package/chunks/updateCheck-RKL6M5XN.js +0 -92
- package/chunks/useAutoAcceptIndicator-CFQ5BUJL.js +0 -93
- package/chunks/workspace-providers-status-QSVZUETE.js +0 -86
- package/chunks/workspace-registry-UT4RBNBM.js +0 -88
- package/chunks/workspace-service-JFWRUS4V.js +0 -98
- package/chunks/workspace-skills-status-ZBBKJOI2.js +0 -85
- package/chunks/write-file-VHIXW5M7.js +0 -73
- package/web-shell/assets/channel-Cq7YKtfC.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CQ9aC1Tg.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ9aC1Tg.js +0 -1
- package/web-shell/assets/index-D9haPt0X.css +0 -5
- package/web-shell/assets/index-ckX9Pq5k.js +0 -1230
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B7W4zlCr.js +0 -1
- package/chunks/{chunk-TARRHLLG.js → chunk-QUGAUQGJ.js} +25 -25
- package/chunks/{chunk-U7ZFW55U.js → chunk-VOQXFAY5.js} +977 -977
- /package/chunks/{chunk-LXXMOYPL.js → chunk-VXZBKKQR.js} +0 -0
|
@@ -7,6 +7,40 @@ import {
|
|
|
7
7
|
logEventSizingFailed,
|
|
8
8
|
serializedBridgeEventByteLength
|
|
9
9
|
} from "./chunk-GLWP3FDB.js";
|
|
10
|
+
import {
|
|
11
|
+
normalizeCompactedReplayMaxBytes,
|
|
12
|
+
normalizeMaxJournalBytes,
|
|
13
|
+
normalizeMaxJournalEvents
|
|
14
|
+
} from "./chunk-XCGIMOLN.js";
|
|
15
|
+
import {
|
|
16
|
+
MCP_RESTART_SERVER_DEADLINE_MS
|
|
17
|
+
} from "./chunk-OCPBI7J5.js";
|
|
18
|
+
import {
|
|
19
|
+
defaultSpawnChannelFactory
|
|
20
|
+
} from "./chunk-ZM63TFJH.js";
|
|
21
|
+
import {
|
|
22
|
+
BridgeChannelClosedError,
|
|
23
|
+
BridgeTimeoutError,
|
|
24
|
+
SERVE_CONTROL_EXT_METHODS,
|
|
25
|
+
SERVE_STATUS_EXT_METHODS,
|
|
26
|
+
STATUS_SCHEMA_VERSION,
|
|
27
|
+
createIdleWorkspaceExtensionsStatus,
|
|
28
|
+
createIdleWorkspaceHooksStatus
|
|
29
|
+
} from "./chunk-MKQOXP2O.js";
|
|
30
|
+
import {
|
|
31
|
+
CHANNEL_STARTUP_PROFILE_META_KEY,
|
|
32
|
+
CHANNEL_STARTUP_PROFILE_VERSION,
|
|
33
|
+
DAEMON_CHANNEL_DELIVERY_META_KEY,
|
|
34
|
+
LOAD_REPLAY_BULK_MODE,
|
|
35
|
+
LOAD_REPLAY_META_KEY,
|
|
36
|
+
LOAD_REPLAY_MODE_META_KEY,
|
|
37
|
+
LOAD_REPLAY_PAGE_SIZE_META_KEY,
|
|
38
|
+
LOAD_REPLAY_VERSION,
|
|
39
|
+
MID_TURN_QUEUE_DRAIN_METHOD,
|
|
40
|
+
PROMPT_CANCEL_METHOD,
|
|
41
|
+
TODO_STOP_GUARD_CONTINUATION_CLAIM_METHOD,
|
|
42
|
+
TODO_STOP_GUARD_QUEUE_RELEASE_METHOD
|
|
43
|
+
} from "./chunk-XZC5VLBZ.js";
|
|
10
44
|
import {
|
|
11
45
|
BranchWhilePromptActiveError,
|
|
12
46
|
CancelSentinelCollisionError,
|
|
@@ -16,7 +50,6 @@ import {
|
|
|
16
50
|
InvalidRewindTargetError,
|
|
17
51
|
InvalidSessionMetadataError,
|
|
18
52
|
InvalidSessionScopeError,
|
|
19
|
-
MCP_RESTART_SERVER_DEADLINE_MS,
|
|
20
53
|
PermissionForbiddenError,
|
|
21
54
|
PromptDeadlineExceededError,
|
|
22
55
|
PromptQueueFullError,
|
|
@@ -28,35 +61,7 @@ import {
|
|
|
28
61
|
SessionShellDisabledError,
|
|
29
62
|
WorkspaceMismatchError,
|
|
30
63
|
isNotCurrentlyGeneratingCancelError
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
normalizeCompactedReplayMaxBytes
|
|
34
|
-
} from "./chunk-COH43MRJ.js";
|
|
35
|
-
import {
|
|
36
|
-
CHANNEL_STARTUP_PROFILE_META_KEY,
|
|
37
|
-
CHANNEL_STARTUP_PROFILE_VERSION,
|
|
38
|
-
DAEMON_CHANNEL_DELIVERY_META_KEY,
|
|
39
|
-
LOAD_REPLAY_BULK_MODE,
|
|
40
|
-
LOAD_REPLAY_META_KEY,
|
|
41
|
-
LOAD_REPLAY_MODE_META_KEY,
|
|
42
|
-
LOAD_REPLAY_PAGE_SIZE_META_KEY,
|
|
43
|
-
LOAD_REPLAY_VERSION,
|
|
44
|
-
MID_TURN_QUEUE_DRAIN_METHOD,
|
|
45
|
-
PROMPT_CANCEL_METHOD,
|
|
46
|
-
TODO_STOP_GUARD_QUEUE_RELEASE_METHOD
|
|
47
|
-
} from "./chunk-3SJ43L4W.js";
|
|
48
|
-
import {
|
|
49
|
-
defaultSpawnChannelFactory
|
|
50
|
-
} from "./chunk-7JURR4JT.js";
|
|
51
|
-
import {
|
|
52
|
-
BridgeChannelClosedError,
|
|
53
|
-
BridgeTimeoutError,
|
|
54
|
-
SERVE_CONTROL_EXT_METHODS,
|
|
55
|
-
SERVE_STATUS_EXT_METHODS,
|
|
56
|
-
STATUS_SCHEMA_VERSION,
|
|
57
|
-
createIdleWorkspaceExtensionsStatus,
|
|
58
|
-
createIdleWorkspaceHooksStatus
|
|
59
|
-
} from "./chunk-VIA5XA4U.js";
|
|
64
|
+
} from "./chunk-B4AJNNOL.js";
|
|
60
65
|
import {
|
|
61
66
|
canonicalizeWorkspace,
|
|
62
67
|
translateAndCheckAbsoluteWorkspacePath
|
|
@@ -82,16 +87,16 @@ import {
|
|
|
82
87
|
metadataBudgetBytes,
|
|
83
88
|
normalizeSnapshotPayload,
|
|
84
89
|
stableSessionArtifactId
|
|
85
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-EYGWU66Z.js";
|
|
86
91
|
import {
|
|
87
92
|
DAEMON_TRACEPARENT_META_KEY,
|
|
88
93
|
DAEMON_TRACESTATE_META_KEY
|
|
89
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-RQLRERVY.js";
|
|
90
95
|
import {
|
|
91
96
|
INVOCATION_CONTEXT_META_KEY,
|
|
92
97
|
PRIVATE_ACP_CAPABILITY_ENV,
|
|
93
98
|
PRIVATE_PARENT_CAPABILITY_META_KEY
|
|
94
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-2Q4CZ3V6.js";
|
|
95
100
|
import {
|
|
96
101
|
init_esbuild_shims
|
|
97
102
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -136,16 +141,14 @@ function replayRecordId(event) {
|
|
|
136
141
|
return typeof recordId === "string" ? recordId : void 0;
|
|
137
142
|
}
|
|
138
143
|
__name(replayRecordId, "replayRecordId");
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
if (!Number.isSafeInteger(value) || value < 1) {
|
|
144
|
-
throw new TypeError(`${name} must be a positive safe integer`);
|
|
144
|
+
function lastRecordIdIn(events) {
|
|
145
|
+
for (let i = events.length - 1; i >= 0; i--) {
|
|
146
|
+
const id = replayRecordId(events[i]);
|
|
147
|
+
if (id !== void 0) return id;
|
|
145
148
|
}
|
|
146
|
-
return
|
|
149
|
+
return void 0;
|
|
147
150
|
}
|
|
148
|
-
__name(
|
|
151
|
+
__name(lastRecordIdIn, "lastRecordIdIn");
|
|
149
152
|
var TurnBoundaryCompactionEngine = class {
|
|
150
153
|
static {
|
|
151
154
|
__name(this, "TurnBoundaryCompactionEngine");
|
|
@@ -166,6 +169,24 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
166
169
|
closed = false;
|
|
167
170
|
truncatedEvents = 0;
|
|
168
171
|
truncatedTurns = 0;
|
|
172
|
+
// Most recent `qwen.session.recordId` observed on an ingested or seeded
|
|
173
|
+
// `session_update`. Surfaced on the `history_truncated` marker emitted by
|
|
174
|
+
// `snapshot()` so clients that lost every turn-boundary event from their
|
|
175
|
+
// retained window (e.g. a live-journal truncation during a single long
|
|
176
|
+
// in-flight turn) still have an anchor for `beforeRecordId` transcript
|
|
177
|
+
// pagination. Undefined until at least one recordId has been observed;
|
|
178
|
+
// omitted from the marker in that case.
|
|
179
|
+
activeRecordId;
|
|
180
|
+
// Pagination anchor for the replay-path `history_truncated` marker,
|
|
181
|
+
// frozen at the first replay-window eviction. Prefers the first
|
|
182
|
+
// retained recordId (the eviction boundary, so `beforeRecordId`
|
|
183
|
+
// fetches exactly the dropped records with no overlap); falls back to
|
|
184
|
+
// the last dropped recordId when the retained window carries no
|
|
185
|
+
// recordId. Deliberately NOT `activeRecordId` — that one is advanced
|
|
186
|
+
// by `ingest()` on every turn boundary and, when a retained segment
|
|
187
|
+
// carries the last seed recordId, would place the anchor inside the
|
|
188
|
+
// retained window and re-fetch records the client already displays.
|
|
189
|
+
replayAnchorRecordId;
|
|
169
190
|
slots = [];
|
|
170
191
|
toolSlotIndex = /* @__PURE__ */ new Map();
|
|
171
192
|
textSlotIndex = {
|
|
@@ -174,16 +195,8 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
174
195
|
};
|
|
175
196
|
constructor(opts = {}) {
|
|
176
197
|
this.maxReplayBytes = normalizeCompactedReplayMaxBytes(opts.maxReplayBytes);
|
|
177
|
-
this.maxJournalEvents =
|
|
178
|
-
|
|
179
|
-
DEFAULT_MAX_JOURNAL_EVENTS,
|
|
180
|
-
"maxJournalEvents"
|
|
181
|
-
);
|
|
182
|
-
this.maxJournalBytes = normalizeJournalCap(
|
|
183
|
-
opts.maxJournalBytes,
|
|
184
|
-
DEFAULT_MAX_JOURNAL_BYTES,
|
|
185
|
-
"maxJournalBytes"
|
|
186
|
-
);
|
|
198
|
+
this.maxJournalEvents = normalizeMaxJournalEvents(opts.maxJournalEvents);
|
|
199
|
+
this.maxJournalBytes = normalizeMaxJournalBytes(opts.maxJournalBytes);
|
|
187
200
|
this.onReplayWindowEviction = opts.onReplayWindowEviction;
|
|
188
201
|
}
|
|
189
202
|
ingest(event, byteLength) {
|
|
@@ -192,6 +205,10 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
192
205
|
this.lastEventId = event.id;
|
|
193
206
|
}
|
|
194
207
|
if (TRANSIENT_TYPES.has(event.type)) return;
|
|
208
|
+
const seenRecordId = replayRecordId(event);
|
|
209
|
+
if (seenRecordId !== void 0) {
|
|
210
|
+
this.activeRecordId = seenRecordId;
|
|
211
|
+
}
|
|
195
212
|
this.liveJournal.push(event);
|
|
196
213
|
const bytes = byteLength ?? serializedBridgeEventByteLength(event) ?? 0;
|
|
197
214
|
this.journalEntryBytes.push(bytes);
|
|
@@ -230,6 +247,8 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
230
247
|
retainedEvents: this.liveJournal.length,
|
|
231
248
|
maxBytes: this.maxJournalBytes,
|
|
232
249
|
maxEvents: this.maxJournalEvents,
|
|
250
|
+
// Pagination anchor — see makeHistoryTruncatedEvent.
|
|
251
|
+
...this.activeRecordId !== void 0 ? { recordId: this.activeRecordId } : {},
|
|
233
252
|
fullTranscriptAvailable: true
|
|
234
253
|
}
|
|
235
254
|
});
|
|
@@ -244,6 +263,8 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
244
263
|
if (this.closed) return;
|
|
245
264
|
this.resetReplayWindow();
|
|
246
265
|
this.lastEventId = snapshot.lastEventId;
|
|
266
|
+
this.activeRecordId = void 0;
|
|
267
|
+
this.activeRecordId = lastRecordIdIn(snapshot.compactedTurns);
|
|
247
268
|
for (const event of snapshot.compactedTurns) {
|
|
248
269
|
if (TRANSIENT_TYPES.has(event.type)) continue;
|
|
249
270
|
this.addReplaySegment([event], 0);
|
|
@@ -256,6 +277,8 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
256
277
|
seedReplayEvents(events) {
|
|
257
278
|
if (this.closed) return;
|
|
258
279
|
this.resetReplayWindow();
|
|
280
|
+
this.activeRecordId = void 0;
|
|
281
|
+
this.activeRecordId = lastRecordIdIn(events);
|
|
259
282
|
let recordEvents = [];
|
|
260
283
|
let recordId;
|
|
261
284
|
const flushRecord = /* @__PURE__ */ __name(() => {
|
|
@@ -289,6 +312,7 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
289
312
|
this.closed = true;
|
|
290
313
|
this.resetReplayWindow();
|
|
291
314
|
this.resetJournal();
|
|
315
|
+
this.activeRecordId = void 0;
|
|
292
316
|
this.slots = [];
|
|
293
317
|
this.toolSlotIndex.clear();
|
|
294
318
|
this.clearTextSlotIndex();
|
|
@@ -487,6 +511,7 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
487
511
|
let droppedBytes = 0;
|
|
488
512
|
let droppedEvents = 0;
|
|
489
513
|
let droppedTurns = 0;
|
|
514
|
+
let lastDroppedRecordId;
|
|
490
515
|
while (this.replayBytes > this.maxReplayBytes && this.activeReplaySegmentCount() > 1) {
|
|
491
516
|
const dropped = this.replaySegments[this.replaySegmentStart];
|
|
492
517
|
this.replaySegmentStart += 1;
|
|
@@ -497,8 +522,13 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
497
522
|
this.replayBytes -= dropped.bytes;
|
|
498
523
|
this.truncatedEvents += dropped.events.length;
|
|
499
524
|
this.truncatedTurns += dropped.turnCount;
|
|
525
|
+
const droppedRecordId = lastRecordIdIn(dropped.events);
|
|
526
|
+
if (droppedRecordId !== void 0) {
|
|
527
|
+
lastDroppedRecordId = droppedRecordId;
|
|
528
|
+
}
|
|
500
529
|
}
|
|
501
530
|
if (droppedSegmentCount > 0) {
|
|
531
|
+
this.replayAnchorRecordId ??= this.firstRetainedReplayRecordId() ?? lastDroppedRecordId;
|
|
502
532
|
this.compactReplaySegmentQueueIfNeeded();
|
|
503
533
|
this.notifyReplayWindowEviction({
|
|
504
534
|
droppedBytes,
|
|
@@ -511,6 +541,13 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
511
541
|
});
|
|
512
542
|
}
|
|
513
543
|
}
|
|
544
|
+
firstRetainedReplayRecordId() {
|
|
545
|
+
for (let i = this.replaySegmentStart; i < this.replaySegments.length; i++) {
|
|
546
|
+
const recordId = lastRecordIdIn(this.replaySegments[i].events);
|
|
547
|
+
if (recordId !== void 0) return recordId;
|
|
548
|
+
}
|
|
549
|
+
return void 0;
|
|
550
|
+
}
|
|
514
551
|
flattenReplaySegments() {
|
|
515
552
|
return this.replaySegments.slice(this.replaySegmentStart).flatMap((segment) => segment.events);
|
|
516
553
|
}
|
|
@@ -538,6 +575,15 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
538
575
|
retainedEvents,
|
|
539
576
|
maxBytes: this.maxReplayBytes,
|
|
540
577
|
...this.truncatedTurns > 0 ? { truncatedTurns: this.truncatedTurns } : {},
|
|
578
|
+
// Pagination anchor for clients whose retained window lost every
|
|
579
|
+
// turn-boundary event (e.g. live-journal truncation during one
|
|
580
|
+
// long in-flight turn). Uses the eviction-time anchor, not
|
|
581
|
+
// `activeRecordId`, so a post-seed `ingest()` can't push it past
|
|
582
|
+
// records the client already displays. Undefined when no recordId
|
|
583
|
+
// was observed before the first eviction — the field is
|
|
584
|
+
// intentionally omitted in that case so old clients continue to
|
|
585
|
+
// validate the marker shape.
|
|
586
|
+
...this.replayAnchorRecordId !== void 0 ? { recordId: this.replayAnchorRecordId } : {},
|
|
541
587
|
fullTranscriptAvailable: true
|
|
542
588
|
}
|
|
543
589
|
};
|
|
@@ -548,6 +594,7 @@ var TurnBoundaryCompactionEngine = class {
|
|
|
548
594
|
this.replayBytes = 0;
|
|
549
595
|
this.truncatedEvents = 0;
|
|
550
596
|
this.truncatedTurns = 0;
|
|
597
|
+
this.replayAnchorRecordId = void 0;
|
|
551
598
|
}
|
|
552
599
|
clearTextSlotIndex() {
|
|
553
600
|
this.textSlotIndex.text.clear();
|
|
@@ -693,6 +740,7 @@ __name(mergeTranscriptUpdateMeta, "mergeTranscriptUpdateMeta");
|
|
|
693
740
|
|
|
694
741
|
// packages/acp-bridge/src/session-source.ts
|
|
695
742
|
init_esbuild_shims();
|
|
743
|
+
var SESSION_SOURCE_META_KEY = "qwen.session.source";
|
|
696
744
|
var SESSION_SOURCE_TYPE_PATTERN = /^[a-z][a-z0-9_-]{0,63}$/;
|
|
697
745
|
var MAX_SESSION_SOURCE_ID_LENGTH = 256;
|
|
698
746
|
function parseSessionSource(sourceType, sourceId) {
|
|
@@ -1760,7 +1808,7 @@ function sliceLineRange(content, startLine, endLine) {
|
|
|
1760
1808
|
}
|
|
1761
1809
|
__name(sliceLineRange, "sliceLineRange");
|
|
1762
1810
|
var BridgeClient = class {
|
|
1763
|
-
constructor(resolveEntry, resolvePendingRestoreEvents, mediator, permissionTimeoutMs, maxPendingPerSession, fileSystem, onModelPromoted, onModePromoted, clientMcpSender, ownsSession = () => true, onTokenUsage, onCreateSubSession, onGenerationEvent, onWorkspaceGenerationEvent, onChannelDelivery) {
|
|
1811
|
+
constructor(resolveEntry, resolvePendingRestoreEvents, mediator, permissionTimeoutMs, maxPendingPerSession, fileSystem, onModelPromoted, onModePromoted, clientMcpSender, ownsSession = () => true, onTokenUsage, onCreateSubSession, onGenerationEvent, onWorkspaceGenerationEvent, onChannelDelivery, hasSessionSpawnInFlight = () => false) {
|
|
1764
1812
|
this.resolveEntry = resolveEntry;
|
|
1765
1813
|
this.resolvePendingRestoreEvents = resolvePendingRestoreEvents;
|
|
1766
1814
|
this.mediator = mediator;
|
|
@@ -1776,6 +1824,7 @@ var BridgeClient = class {
|
|
|
1776
1824
|
this.onGenerationEvent = onGenerationEvent;
|
|
1777
1825
|
this.onWorkspaceGenerationEvent = onWorkspaceGenerationEvent;
|
|
1778
1826
|
this.onChannelDelivery = onChannelDelivery;
|
|
1827
|
+
this.hasSessionSpawnInFlight = hasSessionSpawnInFlight;
|
|
1779
1828
|
}
|
|
1780
1829
|
static {
|
|
1781
1830
|
__name(this, "BridgeClient");
|
|
@@ -2056,6 +2105,9 @@ var BridgeClient = class {
|
|
|
2056
2105
|
if (method === SERVE_CONTROL_EXT_METHODS.channelDelivery) {
|
|
2057
2106
|
return this.handleChannelDelivery(params);
|
|
2058
2107
|
}
|
|
2108
|
+
if (method === TODO_STOP_GUARD_CONTINUATION_CLAIM_METHOD) {
|
|
2109
|
+
return this.handleTodoStopGuardContinuationClaim(params);
|
|
2110
|
+
}
|
|
2059
2111
|
if (method !== MID_TURN_QUEUE_DRAIN_METHOD) {
|
|
2060
2112
|
throw RequestError.methodNotFound(method);
|
|
2061
2113
|
}
|
|
@@ -2068,9 +2120,6 @@ var BridgeClient = class {
|
|
|
2068
2120
|
const hasQueuedPrompt = entry.pendingPromptList.some(
|
|
2069
2121
|
(prompt) => prompt.state === "queued" && !prompt.abortController.signal.aborted
|
|
2070
2122
|
);
|
|
2071
|
-
if (params["todoStopGuardWatchQueuedPrompt"] === true) {
|
|
2072
|
-
entry.todoStopGuardAwaitingQueuedPrompt = hasQueuedPrompt;
|
|
2073
|
-
}
|
|
2074
2123
|
if (drained.length > 0) {
|
|
2075
2124
|
const byOriginator = /* @__PURE__ */ new Map();
|
|
2076
2125
|
for (const item of drained) {
|
|
@@ -2092,6 +2141,45 @@ var BridgeClient = class {
|
|
|
2092
2141
|
}
|
|
2093
2142
|
return { messages, hasQueuedPrompt };
|
|
2094
2143
|
}
|
|
2144
|
+
handleTodoStopGuardContinuationClaim(params) {
|
|
2145
|
+
const sessionId = typeof params["sessionId"] === "string" && params["sessionId"].length > 0 ? params["sessionId"] : void 0;
|
|
2146
|
+
if (!sessionId) return { claimed: false, hasQueuedPrompt: false };
|
|
2147
|
+
if (!this.ownsSession(sessionId)) {
|
|
2148
|
+
return { claimed: false, hasQueuedPrompt: false };
|
|
2149
|
+
}
|
|
2150
|
+
const entry = this.resolveEntry(sessionId);
|
|
2151
|
+
if (!entry) return { claimed: false, hasQueuedPrompt: false };
|
|
2152
|
+
const livePrompts = entry.pendingPromptList.filter(
|
|
2153
|
+
(prompt) => !prompt.abortController.signal.aborted
|
|
2154
|
+
);
|
|
2155
|
+
const promptId = typeof params["promptId"] === "string" && params["promptId"].length > 0 ? params["promptId"] : void 0;
|
|
2156
|
+
if (promptId) {
|
|
2157
|
+
const ownsRunningPrompt = entry.activePromptId === promptId && livePrompts.some(
|
|
2158
|
+
(prompt) => prompt.promptId === promptId && prompt.state === "running"
|
|
2159
|
+
);
|
|
2160
|
+
const hasCompetingRunningPrompt = livePrompts.some(
|
|
2161
|
+
(prompt) => prompt.promptId !== promptId && prompt.state === "running"
|
|
2162
|
+
);
|
|
2163
|
+
if (!ownsRunningPrompt || hasCompetingRunningPrompt) {
|
|
2164
|
+
return { claimed: false, hasQueuedPrompt: false };
|
|
2165
|
+
}
|
|
2166
|
+
const hasQueuedPrompt = livePrompts.some(
|
|
2167
|
+
(prompt) => prompt.state === "queued"
|
|
2168
|
+
);
|
|
2169
|
+
if (hasQueuedPrompt) {
|
|
2170
|
+
entry.todoStopGuardAwaitingQueuedPromptOwnerPromptId = promptId;
|
|
2171
|
+
return { claimed: false, hasQueuedPrompt: true };
|
|
2172
|
+
}
|
|
2173
|
+
if (entry.todoStopGuardAwaitingQueuedPromptOwnerPromptId === promptId) {
|
|
2174
|
+
delete entry.todoStopGuardAwaitingQueuedPromptOwnerPromptId;
|
|
2175
|
+
}
|
|
2176
|
+
return { claimed: true, hasQueuedPrompt: false };
|
|
2177
|
+
}
|
|
2178
|
+
if (entry.promptActive || livePrompts.length > 0) {
|
|
2179
|
+
return { claimed: false, hasQueuedPrompt: false };
|
|
2180
|
+
}
|
|
2181
|
+
return { claimed: true, hasQueuedPrompt: false };
|
|
2182
|
+
}
|
|
2095
2183
|
async handleChannelDelivery(params) {
|
|
2096
2184
|
if (!this.onChannelDelivery) {
|
|
2097
2185
|
throw RequestError.methodNotFound(
|
|
@@ -2227,7 +2315,29 @@ var BridgeClient = class {
|
|
|
2227
2315
|
`client-hosted MCP server '${server}' is not currently connected`
|
|
2228
2316
|
);
|
|
2229
2317
|
}
|
|
2230
|
-
const
|
|
2318
|
+
const sessionId = params["sessionId"];
|
|
2319
|
+
if (sessionId !== void 0 && (typeof sessionId !== "string" || sessionId.length === 0)) {
|
|
2320
|
+
throw RequestError.invalidParams(
|
|
2321
|
+
void 0,
|
|
2322
|
+
"`sessionId` must be a non-empty string when provided"
|
|
2323
|
+
);
|
|
2324
|
+
}
|
|
2325
|
+
const ownsSession = typeof sessionId === "string" && this.ownsSession(sessionId);
|
|
2326
|
+
if (typeof sessionId === "string" && !ownsSession && !this.hasSessionSpawnInFlight()) {
|
|
2327
|
+
throw RequestError.invalidParams(
|
|
2328
|
+
void 0,
|
|
2329
|
+
`Session not owned by this channel: ${sessionId}`
|
|
2330
|
+
);
|
|
2331
|
+
}
|
|
2332
|
+
if (typeof sessionId === "string" && !ownsSession) {
|
|
2333
|
+
writeStderrLine(
|
|
2334
|
+
`[demux] session=${sessionId} type=client_mcp_message action=forwarded_without_session reason=session_registration_pending`
|
|
2335
|
+
);
|
|
2336
|
+
}
|
|
2337
|
+
const response = await send(
|
|
2338
|
+
payload,
|
|
2339
|
+
typeof sessionId === "string" && ownsSession ? { sessionId } : void 0
|
|
2340
|
+
);
|
|
2231
2341
|
return { payload: response };
|
|
2232
2342
|
}
|
|
2233
2343
|
/**
|
|
@@ -5315,6 +5425,15 @@ function isRecord3(value) {
|
|
|
5315
5425
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5316
5426
|
}
|
|
5317
5427
|
__name(isRecord3, "isRecord");
|
|
5428
|
+
function sessionSourceRequestMeta(sourceType, sourceId) {
|
|
5429
|
+
return sourceType ? {
|
|
5430
|
+
[SESSION_SOURCE_META_KEY]: {
|
|
5431
|
+
sourceType,
|
|
5432
|
+
...sourceId !== void 0 ? { sourceId } : {}
|
|
5433
|
+
}
|
|
5434
|
+
} : {};
|
|
5435
|
+
}
|
|
5436
|
+
__name(sessionSourceRequestMeta, "sessionSourceRequestMeta");
|
|
5318
5437
|
function isDefinitiveAcpRequestError(error) {
|
|
5319
5438
|
if (error instanceof RequestError) return true;
|
|
5320
5439
|
if (!isRecord3(error)) return false;
|
|
@@ -5844,6 +5963,8 @@ function createAcpSessionBridge(opts) {
|
|
|
5844
5963
|
const compactedReplayMaxBytes = normalizeCompactedReplayMaxBytes(
|
|
5845
5964
|
opts.compactedReplayMaxBytes
|
|
5846
5965
|
);
|
|
5966
|
+
const maxJournalEvents = normalizeMaxJournalEvents(opts.maxJournalEvents);
|
|
5967
|
+
const maxJournalBytes = normalizeMaxJournalBytes(opts.maxJournalBytes);
|
|
5847
5968
|
const channelFactory = opts.channelFactory ?? defaultSpawnChannelFactory;
|
|
5848
5969
|
const childEnvOverrides = opts.childEnvOverrides ? Object.freeze({ ...opts.childEnvOverrides }) : Object.freeze({});
|
|
5849
5970
|
const initTimeoutMs = opts.initializeTimeoutMs ?? DEFAULT_INIT_TIMEOUT_MS;
|
|
@@ -6259,98 +6380,124 @@ function createAcpSessionBridge(opts) {
|
|
|
6259
6380
|
})
|
|
6260
6381
|
);
|
|
6261
6382
|
const sessionIds = /* @__PURE__ */ new Set();
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6383
|
+
let client;
|
|
6384
|
+
let connection;
|
|
6385
|
+
try {
|
|
6386
|
+
client = new BridgeClient(
|
|
6387
|
+
// BfFut: ACP today carries a sessionId on every per-session
|
|
6388
|
+
// notification / request, so the no-sessionId branch is
|
|
6389
|
+
// technically unreachable. But the channel is multi-session
|
|
6390
|
+
// (Stage 1.5 multiplex), so if ACP ever grows a no-sessionId
|
|
6391
|
+
// call we'd silently drop it on a multi-session channel
|
|
6392
|
+
// instead of throwing. Surface that ambiguity loudly.
|
|
6393
|
+
(sessionId) => {
|
|
6394
|
+
if (sessionId) return byId.get(sessionId);
|
|
6395
|
+
if (channelInfo && channelInfo.sessionIds.size > 1) {
|
|
6396
|
+
throw new Error(
|
|
6397
|
+
"BridgeClient: ACP call without sessionId on a multi-session channel cannot be routed \u2014 workspace=" + boundWorkspace
|
|
6398
|
+
);
|
|
6399
|
+
}
|
|
6400
|
+
return void 0;
|
|
6401
|
+
},
|
|
6402
|
+
(sessionId) => sessionId ? pendingRestoreEvents.get(sessionId) : void 0,
|
|
6403
|
+
permissionMediator,
|
|
6404
|
+
permissionTimeoutMs,
|
|
6405
|
+
maxPendingPerSession,
|
|
6406
|
+
// Forward the optional `BridgeFileSystem` injection so
|
|
6407
|
+
// production `qwen serve` can wire the `WorkspaceFileSystem`
|
|
6408
|
+
// adapter into BridgeClient's fs proxy methods. Tests + Mode A
|
|
6409
|
+
// consumers + channels / IDE companion omit it; BridgeClient
|
|
6410
|
+
// falls back to its inline fs proxy.
|
|
6411
|
+
opts.fileSystem,
|
|
6412
|
+
// §2.3: centralised model_switched publish — keeps cache + generation
|
|
6413
|
+
// update atomic. BridgeClient calls this instead of inlining publish.
|
|
6414
|
+
(entry, modelId, originator) => publishModelSwitched(entry, modelId, originator),
|
|
6415
|
+
// A2: centralised approval_mode_changed publish on in-session mode
|
|
6416
|
+
// promotion. `previous` is read from the bridge state cache.
|
|
6417
|
+
(entry, modeId, originator) => {
|
|
6418
|
+
const se = entry;
|
|
6419
|
+
publishApprovalModeChanged(
|
|
6420
|
+
se,
|
|
6421
|
+
{
|
|
6422
|
+
previous: se.currentApprovalMode ?? "default",
|
|
6423
|
+
next: modeId,
|
|
6424
|
+
persisted: false
|
|
6425
|
+
},
|
|
6426
|
+
originator
|
|
6274
6427
|
);
|
|
6275
|
-
}
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6428
|
+
},
|
|
6429
|
+
// Reverse tool channel (issue #5626, Phase 2): forward the optional
|
|
6430
|
+
// client-hosted-MCP sender lookup so `BridgeClient.extMethod` can
|
|
6431
|
+
// answer `qwen/control/client_mcp/message` from the child by reaching
|
|
6432
|
+
// the per-WS-connection `ClientMcpRegistrar`. Omitted callers (tests,
|
|
6433
|
+
// Mode A) never host a client MCP server, so the method stays
|
|
6434
|
+
// unreachable.
|
|
6435
|
+
opts.clientMcpSender,
|
|
6436
|
+
(sessionId) => sessionIds.has(sessionId),
|
|
6437
|
+
// Daemon token-burn accounting: forward per-round token usage observed
|
|
6438
|
+
// at the session/update fan-in to the daemon host's metrics ring via
|
|
6439
|
+
// the telemetry seam. Optional-chained so non-daemon callers (tests,
|
|
6440
|
+
// Mode A) that wire no `tokenUsage` metric are a silent no-op.
|
|
6441
|
+
(inputTokens, outputTokens, durationMs, apiErrors, apiRetries) => telemetry.metrics?.tokenUsage?.(
|
|
6442
|
+
inputTokens,
|
|
6443
|
+
outputTokens,
|
|
6444
|
+
durationMs,
|
|
6445
|
+
apiErrors,
|
|
6446
|
+
apiRetries
|
|
6447
|
+
),
|
|
6448
|
+
// `create_sub_session` tool: forward the request/response hook so a child
|
|
6449
|
+
// tool can ask the daemon to spawn a sub-session and (for 'first-turn')
|
|
6450
|
+
// return its result. Omitted → the method reports daemon-only.
|
|
6451
|
+
opts.onCreateSubSession,
|
|
6452
|
+
(sessionId, event) => {
|
|
6453
|
+
const request = generationRequests.get(event.requestId);
|
|
6454
|
+
if (!request || request.sessionId !== sessionId) return;
|
|
6455
|
+
if (request.queue.push(event)) return;
|
|
6456
|
+
request.settled = true;
|
|
6457
|
+
generationRequests.delete(event.requestId);
|
|
6458
|
+
request.queue.fail(
|
|
6459
|
+
new Error("Generation stream consumer too slow")
|
|
6460
|
+
);
|
|
6461
|
+
void request.connection.extMethod(SERVE_CONTROL_EXT_METHODS.sessionGenerationCancel, {
|
|
6462
|
+
sessionId,
|
|
6463
|
+
requestId: event.requestId
|
|
6464
|
+
}).catch(() => void 0);
|
|
6465
|
+
},
|
|
6466
|
+
(event) => {
|
|
6467
|
+
const request = workspaceGenerationRequests.get(event.requestId);
|
|
6468
|
+
if (!request) return;
|
|
6469
|
+
if (request.queue.push(event)) return;
|
|
6470
|
+
request.settled = true;
|
|
6471
|
+
workspaceGenerationRequests.delete(event.requestId);
|
|
6472
|
+
request.queue.fail(
|
|
6473
|
+
new Error("Generation stream consumer too slow")
|
|
6474
|
+
);
|
|
6475
|
+
void request.connection?.extMethod(SERVE_CONTROL_EXT_METHODS.workspaceGenerationCancel, {
|
|
6476
|
+
requestId: event.requestId
|
|
6477
|
+
}).catch(() => void 0);
|
|
6478
|
+
},
|
|
6479
|
+
opts.onChannelDelivery,
|
|
6480
|
+
() => channelInfo?.sessionIds === sessionIds && channelInfo.sessionSpawnsInFlight > 0
|
|
6481
|
+
);
|
|
6482
|
+
connection = new ClientSideConnection(() => client, channel.stream);
|
|
6483
|
+
} catch (error) {
|
|
6484
|
+
try {
|
|
6485
|
+
channel.killSync();
|
|
6486
|
+
} catch {
|
|
6487
|
+
}
|
|
6488
|
+
try {
|
|
6489
|
+
await Promise.race([
|
|
6490
|
+
channel.exited.then(() => void 0),
|
|
6491
|
+
channel.kill()
|
|
6492
|
+
]);
|
|
6493
|
+
} catch (teardownError) {
|
|
6494
|
+
throw new AggregateError(
|
|
6495
|
+
[error, teardownError],
|
|
6496
|
+
"ACP channel construction and teardown failed"
|
|
6303
6497
|
);
|
|
6304
|
-
}
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
// answer `qwen/control/client_mcp/message` from the child by reaching
|
|
6308
|
-
// the per-WS-connection `ClientMcpRegistrar`. Omitted callers (tests,
|
|
6309
|
-
// Mode A) never host a client MCP server, so the method stays
|
|
6310
|
-
// unreachable.
|
|
6311
|
-
opts.clientMcpSender,
|
|
6312
|
-
(sessionId) => sessionIds.has(sessionId),
|
|
6313
|
-
// Daemon token-burn accounting: forward per-round token usage observed
|
|
6314
|
-
// at the session/update fan-in to the daemon host's metrics ring via
|
|
6315
|
-
// the telemetry seam. Optional-chained so non-daemon callers (tests,
|
|
6316
|
-
// Mode A) that wire no `tokenUsage` metric are a silent no-op.
|
|
6317
|
-
(inputTokens, outputTokens, durationMs, apiErrors, apiRetries) => telemetry.metrics?.tokenUsage?.(
|
|
6318
|
-
inputTokens,
|
|
6319
|
-
outputTokens,
|
|
6320
|
-
durationMs,
|
|
6321
|
-
apiErrors,
|
|
6322
|
-
apiRetries
|
|
6323
|
-
),
|
|
6324
|
-
// `create_sub_session` tool: forward the request/response hook so a child
|
|
6325
|
-
// tool can ask the daemon to spawn a sub-session and (for 'first-turn')
|
|
6326
|
-
// return its result. Omitted → the method reports daemon-only.
|
|
6327
|
-
opts.onCreateSubSession,
|
|
6328
|
-
(sessionId, event) => {
|
|
6329
|
-
const request = generationRequests.get(event.requestId);
|
|
6330
|
-
if (!request || request.sessionId !== sessionId) return;
|
|
6331
|
-
if (request.queue.push(event)) return;
|
|
6332
|
-
request.settled = true;
|
|
6333
|
-
generationRequests.delete(event.requestId);
|
|
6334
|
-
request.queue.fail(new Error("Generation stream consumer too slow"));
|
|
6335
|
-
void request.connection.extMethod(SERVE_CONTROL_EXT_METHODS.sessionGenerationCancel, {
|
|
6336
|
-
sessionId,
|
|
6337
|
-
requestId: event.requestId
|
|
6338
|
-
}).catch(() => void 0);
|
|
6339
|
-
},
|
|
6340
|
-
(event) => {
|
|
6341
|
-
const request = workspaceGenerationRequests.get(event.requestId);
|
|
6342
|
-
if (!request) return;
|
|
6343
|
-
if (request.queue.push(event)) return;
|
|
6344
|
-
request.settled = true;
|
|
6345
|
-
workspaceGenerationRequests.delete(event.requestId);
|
|
6346
|
-
request.queue.fail(new Error("Generation stream consumer too slow"));
|
|
6347
|
-
void request.connection?.extMethod(SERVE_CONTROL_EXT_METHODS.workspaceGenerationCancel, {
|
|
6348
|
-
requestId: event.requestId
|
|
6349
|
-
}).catch(() => void 0);
|
|
6350
|
-
},
|
|
6351
|
-
opts.onChannelDelivery
|
|
6352
|
-
);
|
|
6353
|
-
const connection = new ClientSideConnection(() => client, channel.stream);
|
|
6498
|
+
}
|
|
6499
|
+
throw error;
|
|
6500
|
+
}
|
|
6354
6501
|
const info = {
|
|
6355
6502
|
id: acpChannelId,
|
|
6356
6503
|
channel,
|
|
@@ -6537,7 +6684,10 @@ function createAcpSessionBridge(opts) {
|
|
|
6537
6684
|
ci.connection.newSession(
|
|
6538
6685
|
telemetry.injectPromptContext({
|
|
6539
6686
|
cwd: boundWorkspace,
|
|
6540
|
-
mcpServers: []
|
|
6687
|
+
mcpServers: [],
|
|
6688
|
+
...sourceType ? {
|
|
6689
|
+
_meta: sessionSourceRequestMeta(sourceType, sourceId)
|
|
6690
|
+
} : {}
|
|
6541
6691
|
})
|
|
6542
6692
|
),
|
|
6543
6693
|
initTimeoutMs,
|
|
@@ -7109,7 +7259,7 @@ function createAcpSessionBridge(opts) {
|
|
|
7109
7259
|
cpuPercent: info.childCpuPercent ?? 0
|
|
7110
7260
|
};
|
|
7111
7261
|
}, "getChildResourceSnapshot");
|
|
7112
|
-
const requestSessionStatus = /* @__PURE__ */ __name(async (sessionId, method, params = {}) => {
|
|
7262
|
+
const requestSessionStatus = /* @__PURE__ */ __name(async (sessionId, method, params = {}, timeoutMs = initTimeoutMs) => {
|
|
7113
7263
|
const entry = byId.get(sessionId);
|
|
7114
7264
|
if (!entry) throw new SessionNotFoundError(sessionId);
|
|
7115
7265
|
const info = channelInfoForEntry(entry);
|
|
@@ -7117,7 +7267,7 @@ function createAcpSessionBridge(opts) {
|
|
|
7117
7267
|
const response = await Promise.race([
|
|
7118
7268
|
withTimeout(
|
|
7119
7269
|
entry.connection.extMethod(method, { ...params, sessionId }),
|
|
7120
|
-
|
|
7270
|
+
timeoutMs,
|
|
7121
7271
|
method
|
|
7122
7272
|
),
|
|
7123
7273
|
getTransportClosedReject(entry)
|
|
@@ -7207,6 +7357,8 @@ function createAcpSessionBridge(opts) {
|
|
|
7207
7357
|
void 0,
|
|
7208
7358
|
new TurnBoundaryCompactionEngine({
|
|
7209
7359
|
maxReplayBytes: compactedReplayMaxBytes,
|
|
7360
|
+
maxJournalEvents,
|
|
7361
|
+
maxJournalBytes,
|
|
7210
7362
|
onReplayWindowEviction: /* @__PURE__ */ __name((eviction) => {
|
|
7211
7363
|
teeServeDebugLine(
|
|
7212
7364
|
`replay window evicted ${JSON.stringify(eviction)}`
|
|
@@ -7592,6 +7744,46 @@ function createAcpSessionBridge(opts) {
|
|
|
7592
7744
|
return replayFieldsFor(entry, "load");
|
|
7593
7745
|
}
|
|
7594
7746
|
__name(refreshedReplayFieldsFor, "refreshedReplayFieldsFor");
|
|
7747
|
+
function transcriptEventRecordId(event) {
|
|
7748
|
+
if (event.type !== "session_update") return void 0;
|
|
7749
|
+
const data = event.data;
|
|
7750
|
+
if (!data || typeof data !== "object" || Array.isArray(data))
|
|
7751
|
+
return void 0;
|
|
7752
|
+
const rec = data;
|
|
7753
|
+
const update = rec["update"];
|
|
7754
|
+
const meta = update && typeof update === "object" && !Array.isArray(update) ? update["_meta"] : rec["_meta"];
|
|
7755
|
+
if (!meta || typeof meta !== "object" || Array.isArray(meta))
|
|
7756
|
+
return void 0;
|
|
7757
|
+
const recordId = meta["qwen.session.recordId"];
|
|
7758
|
+
return typeof recordId === "string" ? recordId : void 0;
|
|
7759
|
+
}
|
|
7760
|
+
__name(transcriptEventRecordId, "transcriptEventRecordId");
|
|
7761
|
+
async function resolveHistoryAnchorRecordId(entry, replayFields) {
|
|
7762
|
+
const events = [
|
|
7763
|
+
...replayFields.compactedReplay ?? [],
|
|
7764
|
+
...replayFields.liveJournal ?? []
|
|
7765
|
+
];
|
|
7766
|
+
const hasMarker = events.some((e) => e.type === "history_truncated");
|
|
7767
|
+
if (!hasMarker) return void 0;
|
|
7768
|
+
const hasRecordId = events.some(
|
|
7769
|
+
(e) => transcriptEventRecordId(e) !== void 0 || e.type === "history_truncated" && isRecord3(e.data) && typeof e.data["recordId"] === "string"
|
|
7770
|
+
);
|
|
7771
|
+
if (hasRecordId) return void 0;
|
|
7772
|
+
try {
|
|
7773
|
+
const page = await requestSessionTranscriptPage({
|
|
7774
|
+
sessionId: entry.sessionId,
|
|
7775
|
+
direction: "backward",
|
|
7776
|
+
limit: 50
|
|
7777
|
+
});
|
|
7778
|
+
for (const event of page.events) {
|
|
7779
|
+
const recordId = transcriptEventRecordId(event);
|
|
7780
|
+
if (recordId !== void 0) return recordId;
|
|
7781
|
+
}
|
|
7782
|
+
} catch {
|
|
7783
|
+
}
|
|
7784
|
+
return void 0;
|
|
7785
|
+
}
|
|
7786
|
+
__name(resolveHistoryAnchorRecordId, "resolveHistoryAnchorRecordId");
|
|
7595
7787
|
async function restoreSession(action, req, options = {}) {
|
|
7596
7788
|
if (shuttingDown) {
|
|
7597
7789
|
throw new Error("AcpSessionBridge is shutting down");
|
|
@@ -7612,6 +7804,7 @@ function createAcpSessionBridge(opts) {
|
|
|
7612
7804
|
);
|
|
7613
7805
|
}
|
|
7614
7806
|
const replayFields = action === "load" && req.historyPageSize !== void 0 ? await refreshedReplayFieldsFor(existing, req.historyPageSize) : replayFieldsFor(existing, action);
|
|
7807
|
+
const historyAnchorRecordId = action === "load" ? await resolveHistoryAnchorRecordId(existing, replayFields) : void 0;
|
|
7615
7808
|
if (byId.get(req.sessionId) !== existing || existing.closing) {
|
|
7616
7809
|
throw new SessionNotFoundError(req.sessionId);
|
|
7617
7810
|
}
|
|
@@ -7633,7 +7826,8 @@ function createAcpSessionBridge(opts) {
|
|
|
7633
7826
|
// caller saw; spawn-only sessions don't carry a state payload.
|
|
7634
7827
|
state: existing.restoreState ?? {},
|
|
7635
7828
|
hasActivePrompt: existing.promptActive,
|
|
7636
|
-
...replayFields
|
|
7829
|
+
...replayFields,
|
|
7830
|
+
...historyAnchorRecordId !== void 0 ? { historyAnchorRecordId } : {}
|
|
7637
7831
|
};
|
|
7638
7832
|
}
|
|
7639
7833
|
const inFlight = inFlightRestores.get(req.sessionId);
|
|
@@ -7720,11 +7914,17 @@ function createAcpSessionBridge(opts) {
|
|
|
7720
7914
|
// intentionally has no `mcpServers` field for the
|
|
7721
7915
|
// same reason.
|
|
7722
7916
|
mcpServers: [],
|
|
7723
|
-
...historyReplay === "response" ? {
|
|
7917
|
+
...historyReplay === "response" || req.sourceType ? {
|
|
7724
7918
|
_meta: {
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7919
|
+
...sessionSourceRequestMeta(
|
|
7920
|
+
req.sourceType,
|
|
7921
|
+
req.sourceId
|
|
7922
|
+
),
|
|
7923
|
+
...historyReplay === "response" ? {
|
|
7924
|
+
[LOAD_REPLAY_MODE_META_KEY]: LOAD_REPLAY_BULK_MODE,
|
|
7925
|
+
...req.historyPageSize !== void 0 ? {
|
|
7926
|
+
[LOAD_REPLAY_PAGE_SIZE_META_KEY]: req.historyPageSize
|
|
7927
|
+
} : {}
|
|
7728
7928
|
} : {}
|
|
7729
7929
|
}
|
|
7730
7930
|
} : {}
|
|
@@ -7740,7 +7940,13 @@ function createAcpSessionBridge(opts) {
|
|
|
7740
7940
|
ci.connection.unstable_resumeSession({
|
|
7741
7941
|
sessionId: req.sessionId,
|
|
7742
7942
|
cwd: workspaceKey,
|
|
7743
|
-
mcpServers: []
|
|
7943
|
+
mcpServers: [],
|
|
7944
|
+
...req.sourceType ? {
|
|
7945
|
+
_meta: sessionSourceRequestMeta(
|
|
7946
|
+
req.sourceType,
|
|
7947
|
+
req.sourceId
|
|
7948
|
+
)
|
|
7949
|
+
} : {}
|
|
7744
7950
|
}),
|
|
7745
7951
|
initTimeoutMs,
|
|
7746
7952
|
"resumeSession"
|
|
@@ -8046,6 +8252,8 @@ function createAcpSessionBridge(opts) {
|
|
|
8046
8252
|
maxPendingPromptsPerSession: maxPendingPromptsPerSession === Infinity ? null : maxPendingPromptsPerSession,
|
|
8047
8253
|
eventRingSize,
|
|
8048
8254
|
compactedReplayMaxBytes,
|
|
8255
|
+
maxJournalEvents,
|
|
8256
|
+
maxJournalBytes,
|
|
8049
8257
|
channelIdleTimeoutMs: resolvedChannelIdleTimeoutMs(),
|
|
8050
8258
|
sessionIdleTimeoutMs
|
|
8051
8259
|
},
|
|
@@ -8348,13 +8556,17 @@ function createAcpSessionBridge(opts) {
|
|
|
8348
8556
|
"abort",
|
|
8349
8557
|
() => {
|
|
8350
8558
|
if (pendingEntry.state !== "queued") return;
|
|
8351
|
-
|
|
8559
|
+
const waitingOwnerPromptId = entry.todoStopGuardAwaitingQueuedPromptOwnerPromptId;
|
|
8560
|
+
if (!waitingOwnerPromptId) return;
|
|
8352
8561
|
const hasAnotherQueuedPrompt = entry.pendingPromptList.some(
|
|
8353
8562
|
(candidate) => candidate !== pendingEntry && candidate.state === "queued" && !candidate.abortController.signal.aborted
|
|
8354
8563
|
);
|
|
8355
8564
|
if (hasAnotherQueuedPrompt) return;
|
|
8356
|
-
entry.
|
|
8357
|
-
void entry.connection.extMethod(TODO_STOP_GUARD_QUEUE_RELEASE_METHOD, {
|
|
8565
|
+
delete entry.todoStopGuardAwaitingQueuedPromptOwnerPromptId;
|
|
8566
|
+
void entry.connection.extMethod(TODO_STOP_GUARD_QUEUE_RELEASE_METHOD, {
|
|
8567
|
+
sessionId,
|
|
8568
|
+
promptId: waitingOwnerPromptId
|
|
8569
|
+
}).catch((error) => {
|
|
8358
8570
|
writeStderrLine(
|
|
8359
8571
|
`qwen serve: Todo Stop Guard queued-prompt release failed for ${JSON.stringify(sessionId)}: ${error instanceof Error ? error.message : String(error)}`
|
|
8360
8572
|
);
|
|
@@ -8385,7 +8597,7 @@ function createAcpSessionBridge(opts) {
|
|
|
8385
8597
|
throw new DOMException("Prompt aborted", "AbortError");
|
|
8386
8598
|
}
|
|
8387
8599
|
if (pendingEntry.state === "queued") {
|
|
8388
|
-
entry.
|
|
8600
|
+
delete entry.todoStopGuardAwaitingQueuedPromptOwnerPromptId;
|
|
8389
8601
|
pendingEntry.state = "running";
|
|
8390
8602
|
entry.events.publish({
|
|
8391
8603
|
type: "pending_prompt_started",
|
|
@@ -10398,6 +10610,22 @@ function createAcpSessionBridge(opts) {
|
|
|
10398
10610
|
}
|
|
10399
10611
|
return response;
|
|
10400
10612
|
},
|
|
10613
|
+
async addSessionRuntimeMcpServer(sessionId, name, config, originatorClientId) {
|
|
10614
|
+
return requestSessionStatus(
|
|
10615
|
+
sessionId,
|
|
10616
|
+
SERVE_CONTROL_EXT_METHODS.sessionMcpRuntimeAdd,
|
|
10617
|
+
{ name, config, originatorClientId },
|
|
10618
|
+
MCP_RESTART_SERVER_DEADLINE_MS
|
|
10619
|
+
);
|
|
10620
|
+
},
|
|
10621
|
+
async removeSessionRuntimeMcpServer(sessionId, name, originatorClientId) {
|
|
10622
|
+
return requestSessionStatus(
|
|
10623
|
+
sessionId,
|
|
10624
|
+
SERVE_CONTROL_EXT_METHODS.sessionMcpRuntimeRemove,
|
|
10625
|
+
{ name, originatorClientId },
|
|
10626
|
+
MCP_RESTART_SERVER_DEADLINE_MS
|
|
10627
|
+
);
|
|
10628
|
+
},
|
|
10401
10629
|
async killSession(sessionId, opts2) {
|
|
10402
10630
|
const entry = byId.get(sessionId);
|
|
10403
10631
|
if (!entry) return false;
|
|
@@ -10583,13 +10811,22 @@ function createAcpSessionBridge(opts) {
|
|
|
10583
10811
|
() => void 0,
|
|
10584
10812
|
() => void 0
|
|
10585
10813
|
) : Promise.resolve();
|
|
10586
|
-
await Promise.
|
|
10587
|
-
...channels.map((ci) => ci.channel.kill()
|
|
10588
|
-
})),
|
|
10814
|
+
const teardownResults = await Promise.allSettled([
|
|
10815
|
+
...channels.map((ci) => ci.channel.kill()),
|
|
10589
10816
|
...inFlightSessionAwaits,
|
|
10590
10817
|
...inFlightRestoreAwaits,
|
|
10591
10818
|
inFlightChannelAwait
|
|
10592
10819
|
]);
|
|
10820
|
+
const teardownFailures = teardownResults.flatMap(
|
|
10821
|
+
(result) => result.status === "rejected" ? [result.reason] : []
|
|
10822
|
+
);
|
|
10823
|
+
if (teardownFailures.length === 1) throw teardownFailures[0];
|
|
10824
|
+
if (teardownFailures.length > 1) {
|
|
10825
|
+
throw new AggregateError(
|
|
10826
|
+
teardownFailures,
|
|
10827
|
+
"ACP bridge shutdown failed"
|
|
10828
|
+
);
|
|
10829
|
+
}
|
|
10593
10830
|
})().then(resolveShutdown, rejectShutdown);
|
|
10594
10831
|
return shutdownPromise;
|
|
10595
10832
|
},
|
|
@@ -10628,6 +10865,7 @@ var createHttpAcpBridge = createAcpSessionBridge;
|
|
|
10628
10865
|
export {
|
|
10629
10866
|
SessionArtifactValidationError,
|
|
10630
10867
|
SessionArtifactAuthorizationError,
|
|
10868
|
+
SESSION_SOURCE_META_KEY,
|
|
10631
10869
|
parseSessionSource,
|
|
10632
10870
|
extractErrorMessage,
|
|
10633
10871
|
extractErrorCode,
|