@qwen-code/qwen-code 0.21.0 → 0.21.1-nightly.20260731.702932cc7
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 +139 -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 +21 -1
- package/bundled/qc-helper/docs/features/hooks.md +72 -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 +42 -8
- 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-LAFHK4VO.js +88 -0
- package/chunks/{StandaloneSessionPicker-BIRMPLRD.js → StandaloneSessionPicker-EMNOBN3S.js} +71 -68
- package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-2C4A5ZTJ.js} +2 -2
- package/chunks/{acpAgent-6J2U72PQ.js → acpAgent-ERFA6HWV.js} +1674 -591
- package/chunks/agent-PLKF6JK4.js +84 -0
- package/chunks/agent-headless-JAORDQ63.js +78 -0
- package/chunks/{anthropicContentGenerator-75BKLTSP.js → anthropicContentGenerator-OFHSZJBF.js} +79 -27
- package/chunks/{artifact-tool-Y5T7GG7F.js → artifact-tool-RDN2W7ND.js} +4 -4
- package/chunks/{askUserQuestion-2H6747FR.js → askUserQuestion-OZERWH5R.js} +4 -4
- package/chunks/bridge-NYOBVRIT.js +94 -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-5S7YCWX5.js +418 -0
- package/chunks/channel-settings-store-NLOKYO23.js +91 -0
- package/chunks/{channel-worker-group-2ZD7TVAT.js → channel-worker-group-OVWGYMZS.js} +11 -6
- package/chunks/{channel-worker-manager-4OA4BCGB.js → channel-worker-manager-H55GKOQA.js} +11 -6
- package/chunks/{channel-worker-supervisor-V7KCFJTS.js → channel-worker-supervisor-CABBXYHK.js} +7 -5
- package/chunks/{chunk-RIBKPMRP.js → chunk-23F4XGWO.js} +19 -6
- package/chunks/{chunk-ACY3A37B.js → chunk-25VHI5T7.js} +23 -18
- package/chunks/{chunk-MZAXJAUM.js → chunk-26JK4RPD.js} +1 -1
- package/chunks/{chunk-6GMVPFB2.js → chunk-2IIJTXYF.js} +45 -16
- package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
- package/chunks/{chunk-2X55UKQE.js → chunk-2JZR3B4A.js} +3 -3
- package/chunks/{chunk-7JURR4JT.js → chunk-2OQUICDM.js} +167 -81
- package/chunks/{chunk-ZJHVAS7M.js → chunk-2YCYFWYZ.js} +4 -5
- package/chunks/{chunk-3QMGYBFN.js → chunk-3APUUXRF.js} +1 -80
- package/chunks/{chunk-MUP3T3AD.js → chunk-3I6DUGQD.js} +1 -35
- package/chunks/{chunk-JVPM2ULZ.js → chunk-3XZ5SSNR.js} +6 -6
- package/chunks/chunk-42VPM33K.js +319 -0
- package/chunks/{chunk-VAK25FTU.js → chunk-45IOTAUS.js} +1 -1
- package/chunks/chunk-45UYUCJ6.js +363 -0
- package/chunks/{chunk-JZA3JUDJ.js → chunk-4KP2F2TE.js} +1 -1
- package/chunks/{chunk-IO3IX5Q4.js → chunk-4YJQD2IO.js} +1 -1
- package/chunks/{chunk-JXJFVC6E.js → chunk-5G6XUGXO.js} +61 -14
- package/chunks/{chunk-ZOIFNCKL.js → chunk-5NNHICSA.js} +3 -23
- package/chunks/{chunk-A4UCTEB5.js → chunk-5WV5S2GT.js} +0 -1
- package/chunks/{chunk-RHLZR4E5.js → chunk-675H6PLP.js} +1 -1
- package/chunks/chunk-6FMJLI5M.js +1591 -0
- package/chunks/chunk-6MPDY6ZG.js +76 -0
- package/chunks/{chunk-PSOO6YXD.js → chunk-6NUWQ3R7.js} +9 -7
- package/chunks/{chunk-7MVVZO4N.js → chunk-6ZRWX46I.js} +4 -4
- package/chunks/{chunk-TPRQ7RZH.js → chunk-76E5Y3UZ.js} +3117 -993
- package/chunks/{chunk-UUUTRMI2.js → chunk-7ULQIS27.js} +1 -1
- package/chunks/{chunk-BKHWX6I2.js → chunk-A5BZ722X.js} +11 -3
- package/chunks/{chunk-TEHGS6UP.js → chunk-A5T5W7PR.js} +154 -16
- package/chunks/{chunk-VIA5XA4U.js → chunk-A5UODYG3.js} +4 -1
- package/chunks/{chunk-JLU636DO.js → chunk-ALMR3E6Q.js} +1 -0
- package/chunks/{chunk-EBJQ6AXW.js → chunk-ANDVK2JN.js} +358 -14
- package/chunks/{chunk-TOFQCPDC.js → chunk-AOHY3QJ3.js} +14 -8
- package/chunks/chunk-AQ37AY7B.js +93 -0
- package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
- package/chunks/{chunk-LKEJ26GS.js → chunk-B3TA3IF5.js} +16 -11
- package/chunks/{chunk-Q4M4MDQ4.js → chunk-B43QHWY6.js} +1 -1
- package/chunks/{chunk-UH3WSE5L.js → chunk-B4AJNNOL.js} +1 -6
- package/chunks/{chunk-K36B6G2O.js → chunk-B6FOGNGH.js} +5 -5
- package/chunks/{chunk-PWVFN2LF.js → chunk-BP2H5K25.js} +1 -1
- package/chunks/{chunk-LB6DUZ26.js → chunk-BTWSGZCT.js} +264 -185
- package/chunks/{chunk-ZNAUOR2I.js → chunk-BZBPT52P.js} +2 -2
- package/chunks/{chunk-L26JL52R.js → chunk-CBBP4BMC.js} +64 -67
- package/chunks/{chunk-ZD6UTE4A.js → chunk-CNTR4GR6.js} +1 -1
- package/chunks/{chunk-3SJ43L4W.js → chunk-CPZAH673.js} +6 -0
- package/chunks/{chunk-EPDRMGT4.js → chunk-D4HTUMGX.js} +4 -28
- package/chunks/{chunk-QAF7NMK7.js → chunk-D7CQTWRS.js} +1 -1
- package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
- package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
- package/chunks/{chunk-IKCX4CCL.js → chunk-DKPJUF5F.js} +118 -95
- package/chunks/{chunk-DLWL3Z7A.js → chunk-DSFHVTWD.js} +3 -3
- package/chunks/{chunk-FSITMZJH.js → chunk-DYRYLJ3O.js} +18 -9
- package/chunks/{chunk-NL7LTRLR.js → chunk-E2BHWIDT.js} +48 -72
- package/chunks/{chunk-UDX5OBWR.js → chunk-E2FN6SM7.js} +94 -4
- package/chunks/{chunk-USTWD7QV.js → chunk-E6CJ2SMM.js} +26 -16
- package/chunks/{chunk-KMQ33DO4.js → chunk-EDB7A72S.js} +4 -4
- 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-OKY7HXPG.js → chunk-FJ5WUMUQ.js} +2 -2
- package/chunks/{chunk-PHOF65IG.js → chunk-FRXG4ARO.js} +36273 -44436
- package/chunks/{chunk-FQK6JAFG.js → chunk-FS674JW4.js} +4 -4
- package/chunks/chunk-FYJ7W2PI.js +194 -0
- package/chunks/{chunk-BULDBTYC.js → chunk-G7XXKQYS.js} +3 -28
- package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
- package/chunks/{chunk-VRYUBFMC.js → chunk-GRUAVQQR.js} +1 -1
- package/chunks/{chunk-MVSUYZDT.js → chunk-GWV7DI3S.js} +4 -4
- package/chunks/{chunk-A5L3JMUA.js → chunk-HC45LTEN.js} +18 -4
- package/chunks/{chunk-PC6JANNU.js → chunk-HKRVXYDN.js} +4 -4
- package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
- package/chunks/{chunk-4WIZGAH3.js → chunk-I5BT7ADR.js} +6 -58
- package/chunks/{chunk-GSN55ZRI.js → chunk-ID3O7PRB.js} +19 -7
- package/chunks/{chunk-L5UHQJTJ.js → chunk-IGTHU3T4.js} +1 -1
- package/chunks/{chunk-BIQWWWJN.js → chunk-IIUGIWWY.js} +1 -1
- package/chunks/{chunk-RWTEFFPU.js → chunk-JCJ7LKNA.js} +6140 -5616
- package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
- package/chunks/{chunk-PWTZEM3C.js → chunk-JXVC2PL3.js} +3 -37
- package/chunks/chunk-JYBU6YUE.js +378 -0
- package/chunks/{chunk-RF3EXIHJ.js → chunk-K3PFMM5U.js} +49 -26
- package/chunks/{chunk-JCW2R7WC.js → chunk-K623ENWT.js} +3 -79
- package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
- package/chunks/chunk-KWHKHSIS.js +81 -0
- package/chunks/{chunk-DHHOYAPR.js → chunk-L2E5GFAG.js} +7 -7
- package/chunks/{chunk-2W3OOD4W.js → chunk-L55JWS76.js} +6 -3
- package/chunks/{chunk-E5TUC6CA.js → chunk-LHKCY7DY.js} +3 -3
- package/chunks/{chunk-NH6KE4JX.js → chunk-LOY7RWQG.js} +3 -3
- package/chunks/{chunk-U7M2DMGW.js → chunk-M4MSAE7U.js} +130 -5
- package/chunks/{chunk-IJTOWOD7.js → chunk-MB32MS4U.js} +92 -9
- package/chunks/{chunk-PR75REBZ.js → chunk-MM7TH7ZM.js} +12 -82
- package/chunks/{chunk-FODK6UMO.js → chunk-MPHPFVKK.js} +0 -2
- package/chunks/{chunk-M5JM7OSF.js → chunk-N4ACHWNH.js} +2 -3
- package/chunks/{chunk-JESCGQM3.js → chunk-NAVJD2PQ.js} +8 -7
- package/chunks/{chunk-J56UI34H.js → chunk-NBD76HUW.js} +4 -2
- package/chunks/{chunk-2SCDWPXI.js → chunk-NC4U4I3Y.js} +5 -5
- package/chunks/{chunk-H4SBPHSA.js → chunk-NNL7WPPK.js} +3 -3
- package/chunks/{chunk-YBL3QUDD.js → chunk-NQCXWP5D.js} +1 -1
- package/chunks/{chunk-CIKQ7KKO.js → chunk-NVFSGPIF.js} +954 -444
- package/chunks/{chunk-6OUGMXDC.js → chunk-NWNEANAT.js} +7 -7
- package/chunks/chunk-O6GEWCJA.js +21 -0
- package/chunks/chunk-OCPBI7J5.js +18 -0
- package/chunks/{chunk-KIM5GUMA.js → chunk-OE6F6ZWQ.js} +589 -220
- package/chunks/{chunk-SQCQ4KO2.js → chunk-P5DEY3NF.js} +380 -317
- package/chunks/{chunk-2JZBVYTU.js → chunk-Q3T5KA2V.js} +1 -8
- package/chunks/{chunk-MB4MZHMJ.js → chunk-QARJNL2V.js} +211 -522
- package/chunks/{chunk-YH6G52F2.js → chunk-QCXGC7QB.js} +4 -4
- package/chunks/chunk-QDK4F2N5.js +1252 -0
- package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
- package/chunks/{chunk-VULLI6WQ.js → chunk-QIERF2GQ.js} +6 -6
- package/chunks/{chunk-TGILQ3YH.js → chunk-QQTJK5GB.js} +200 -77
- package/chunks/{chunk-H5FFA6TH.js → chunk-QTHQ6Z5X.js} +16 -3
- package/chunks/{chunk-5I2IWRSH.js → chunk-R2XWGR75.js} +2 -2
- package/chunks/{chunk-YPE6A4GC.js → chunk-RT7FNC2O.js} +2 -2
- package/chunks/{chunk-OFDOK3VM.js → chunk-RX7NJOPE.js} +8 -13
- package/chunks/{chunk-6AM5D4ME.js → chunk-S6LOFUVP.js} +0 -12
- package/chunks/{chunk-K4XWPEWB.js → chunk-SHN4KHDK.js} +4 -33
- 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-FNQ6T3CV.js → chunk-TEGJSJDF.js} +10 -7
- package/chunks/{chunk-RZIX2G32.js → chunk-THPORXSI.js} +1 -1
- package/chunks/{chunk-OHNBB4XR.js → chunk-THVU3RNH.js} +1 -1
- package/chunks/{record-artifact-RQKFYO5B.js → chunk-TIRRPCFS.js} +22 -7
- package/chunks/{chunk-ETSW4KLJ.js → chunk-TUCOXPHJ.js} +2 -2
- package/chunks/{chunk-63P4EL5V.js → chunk-TZTAV5RH.js} +1 -1
- package/chunks/{chunk-LK7CHLVP.js → chunk-U4VTUMMK.js} +0 -60
- package/chunks/{chunk-3RN6GBKS.js → chunk-U5CODIJW.js} +1 -1
- package/chunks/chunk-UU2B5YG6.js +2196 -0
- package/chunks/{chunk-R5AFZNQW.js → chunk-VAVHTGU4.js} +15 -8
- package/chunks/{chunk-2NH6DYI4.js → chunk-VHPFWR2O.js} +12 -12
- package/chunks/{chunk-IKYJHJNF.js → chunk-VOMQ2P6B.js} +3 -3
- package/chunks/{chunk-ZFDTEDCF.js → chunk-VX22DUW2.js} +6 -6
- package/chunks/{chunk-HTR4WV6U.js → chunk-W4RQUHY3.js} +31 -1
- package/chunks/{chunk-M4FMGVY4.js → chunk-WQP7BKWA.js} +3 -3
- package/chunks/{chunk-LH2BYDQ5.js → chunk-X2E5TFJ5.js} +18 -12
- package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
- package/chunks/{chunk-YX324OPW.js → chunk-XDS22O52.js} +1 -1
- package/chunks/chunk-XP4L6KS3.js +463 -0
- package/chunks/{chunk-6FGBXPWM.js → chunk-XQK4XXTN.js} +38 -44
- package/chunks/{chunk-55DJUCI2.js → chunk-XWYPFDB5.js} +53 -43
- package/chunks/{chunk-Y34KJKDC.js → chunk-Y7BVNVVW.js} +1 -1
- package/chunks/{chunk-IPUUTYMV.js → chunk-YDLJGZHL.js} +1 -1
- package/chunks/{chunk-HIJQF5B5.js → chunk-YGE3IXJP.js} +1 -1
- package/chunks/{chunk-LQIW3YFY.js → chunk-YJFPRUWX.js} +9 -7
- package/chunks/{chunk-J24WCGIN.js → chunk-YQIIG4NA.js} +4 -4
- package/chunks/{chunk-BJX6ZSUK.js → chunk-YUFIEIWC.js} +2 -2
- package/chunks/{chunk-NIBLUX3Y.js → chunk-Z3S5EMOW.js} +148 -21
- package/chunks/{chunk-WCXCRJYB.js → chunk-Z3YLHKB7.js} +1 -1
- package/chunks/chunk-Z4X5MTRT.js +133 -0
- package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
- package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
- package/chunks/{chunk-X5XDDSSH.js → chunk-ZPZ7ZJEE.js} +28 -5
- package/chunks/{computer-use-SOQ4E3VX.js → computer-use-GOM42LNK.js} +53 -50
- package/chunks/{config-utils-7V7GGIW6.js → config-utils-WADIDWGG.js} +4 -3
- package/chunks/contextCommand-6LVPTIWD.js +83 -0
- package/chunks/core-runtime-253XV2DB.js +137 -0
- package/chunks/{create-sub-session-QRJLW5BV.js → create-sub-session-45POYEVP.js} +50 -47
- package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-62YZWVAY.js} +3 -3
- package/chunks/{cron-create-YIID5XAW.js → cron-create-6E7GIQTG.js} +6 -6
- package/chunks/{cron-delete-ZVHYCEP2.js → cron-delete-JD26XY3W.js} +5 -5
- package/chunks/{cron-list-XEGS463Q.js → cron-list-CUWFB44G.js} +6 -6
- package/chunks/{daemon-YO6433NF.js → daemon-PCNCI5YU.js} +428 -18
- package/chunks/daemon-status-provider-AKALDYJJ.js +93 -0
- package/chunks/daemon-trust-policy-XB7ZSQFQ.js +88 -0
- package/chunks/daemon-trust-policy-monitor-FUTKP42Q.js +175 -0
- package/chunks/{de-HGRCYDEJ.js → de-SY6O76BF.js} +6 -1
- package/chunks/deferred-core-runtime-RKLCO7V5.js +92 -0
- package/chunks/dist-26BIMQT6.js +4487 -0
- package/chunks/{dist-F6IBUDR4.js → dist-2PERFI23.js} +12 -9
- 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-FCWU47OB.js +85 -0
- package/chunks/{edit-OBDSQURM.js → edit-TTACM3LN.js} +51 -48
- package/chunks/{en-MTWBNGDO.js → en-NBK3JKCE.js} +9 -1
- package/chunks/{enter-worktree-U6MRPQ2P.js → enter-worktree-R34GFDX6.js} +51 -48
- package/chunks/{enterPlanMode-BC5QUZZ2.js → enterPlanMode-KJPBB6G5.js} +51 -48
- package/chunks/environment-IJG3N2PR.js +105 -0
- package/chunks/errors-MRON5OJD.js +91 -0
- package/chunks/esm-K5FARBNI.js +5548 -0
- package/chunks/{exit-worktree-DGNYMECB.js → exit-worktree-UBA66Y4I.js} +51 -48
- package/chunks/exitPlanMode-SMSPGNSK.js +76 -0
- package/chunks/{fast-path-JJZFJANL.js → fast-path-ZBAMZDCP.js} +16 -6
- package/chunks/{fr-45RLL55O.js → fr-4KG5V7UT.js} +6 -1
- package/chunks/{gemini-QS36EBZV.js → gemini-XFT7HRNL.js} +106 -99
- package/chunks/{geminiContentGenerator-AG4KB6CV.js → geminiContentGenerator-XD3MLYQX.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-HFKY7HXZ.js} +51 -48
- package/chunks/goal-tools-HGO6VXPB.js +335 -0
- package/chunks/{grep-QYPSK7OP.js → grep-EO5Z3PFV.js} +53 -49
- package/chunks/handleAutoUpdate-WRENFE6C.js +84 -0
- package/chunks/i18n-ZG5OTVSV.js +100 -0
- package/chunks/{image-gen-Z3VPGKRC.js → image-gen-CKWZ4MJI.js} +12 -12
- package/chunks/initializer-FYPLLRC7.js +89 -0
- package/chunks/installationInfo-5RV4HRMC.js +83 -0
- package/chunks/{ja-B7DF7DFG.js → ja-F3GSQXMF.js} +6 -1
- package/chunks/{keychain-token-storage-MDTG3WRM.js → keychain-token-storage-IKO4G53C.js} +3 -3
- package/chunks/lib-RUF3WZA6.js +9 -0
- package/chunks/list-ZNWVL3AT.js +92 -0
- package/chunks/{list-agents-5KJJHR6I.js → list-agents-PXJ7ZUFB.js} +3 -3
- package/chunks/loadedSettingsAdapter-GQGNHP5I.js +86 -0
- package/chunks/{loggingContentGenerator-HS3S5H3Q.js → loggingContentGenerator-MS5DFAWH.js} +78 -113
- package/chunks/{loop-wakeup-FXKNNYSY.js → loop-wakeup-Y26NQZ5I.js} +15 -8
- package/chunks/{ls-NTK6VOQJ.js → ls-ONQTTMQR.js} +5 -5
- package/chunks/{lsp-2JI24STP.js → lsp-YGHHRGMD.js} +3 -3
- package/chunks/{managed-npm-update-JYEMMXA3.js → managed-npm-update-67AK4GTL.js} +51 -48
- package/chunks/mcp-FVQ4VTLM.js +86 -0
- package/chunks/{monitor-R3ODH5U6.js → monitor-BXB33EOZ.js} +51 -48
- package/chunks/nonInteractiveCli-CN2GYSN3.js +148 -0
- package/chunks/{notebook-edit-BNOK452R.js → notebook-edit-FKYRBV4L.js} +51 -48
- package/chunks/{openaiContentGenerator-WMCU3O2H.js → openaiContentGenerator-UUXV5DGU.js} +26 -27
- package/chunks/pidfile-MV347TTZ.js +89 -0
- package/chunks/process-registry-2CHQBXH5.js +157 -0
- package/chunks/{processUtils-RT7UNCC2.js → processUtils-LKFG52RV.js} +2 -2
- package/chunks/{pt-22Q3FP73.js → pt-EQ33KWEN.js} +6 -1
- package/chunks/{qwenContentGenerator-HHCRK4SX.js → qwenContentGenerator-3WYI2HRW.js} +56 -53
- package/chunks/{qwenOAuth2-OWLB5AKH.js → qwenOAuth2-B46MW45O.js} +10 -10
- package/chunks/read-file-ACSHVWP3.js +29 -0
- package/chunks/{read-mcp-resource-4DKQWGHD.js → read-mcp-resource-U2IJN5HM.js} +4 -4
- package/chunks/record-artifact-MGPJ7EG4.js +21 -0
- package/chunks/resumeHistoryUtils-AMS4767B.js +94 -0
- package/chunks/ripGrep-BAPM2UKC.js +76 -0
- package/chunks/{ru-FZCNZHDC.js → ru-7OZAUKGG.js} +6 -1
- package/chunks/{run-qwen-serve-FU6HEM4J.js → run-qwen-serve-JEN6FO2A.js} +1018 -263
- package/chunks/runtime-WVP22ISH.js +122 -0
- package/chunks/{scheduler-G2ZS2Z7E.js → scheduler-HTX5ACVR.js} +50 -47
- package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
- package/chunks/{sdk-exporters-http-FYBSUCPD.js → sdk-exporters-http-4BQANSJ6.js} +7 -7
- package/chunks/{sdk-impl-GMVPB7NB.js → sdk-impl-Z4VXWVFX.js} +14 -14
- package/chunks/{send-message-Q6OOR6BR.js → send-message-PMP4ATVM.js} +8 -13
- package/chunks/serve-ELQIVNWN.js +92 -0
- package/chunks/{server-4UMH7OIZ.js → server-JNW2NOSQ.js} +5288 -1364
- package/chunks/{session-K3O3Q2SV.js → session-NC356XNS.js} +102 -95
- package/chunks/{settings-CR2EWTBA.js → settings-73RMIOJ6.js} +54 -51
- package/chunks/shell-NMHF5TFG.js +86 -0
- package/chunks/{skill-I3SDA4MB.js → skill-XPGXHEKO.js} +22 -22
- package/chunks/skill-settings-5IGIJDGA.js +94 -0
- package/chunks/spawnChannel-T5THBHFN.js +85 -0
- package/chunks/standalone-update-ODXEPDLP.js +95 -0
- package/chunks/{startInteractiveUI-SLZGHRPH.js → startInteractiveUI-S27DXVAE.js} +1241 -905
- package/chunks/{syntheticOutput-I3757IWH.js → syntheticOutput-D7E6ZFKR.js} +4 -4
- package/chunks/task-create-NFCYD43L.js +26 -0
- package/chunks/{task-list-FOPULZEP.js → task-list-TAVMGEVD.js} +7 -7
- package/chunks/{task-stop-H6RHXFVQ.js → task-stop-ZDF2UJRM.js} +3 -3
- package/chunks/{task-update-M57TFZJT.js → task-update-6L7LHGEX.js} +12 -11
- package/chunks/{team-create-YJALH5D2.js → team-create-CTLQWTJ2.js} +53 -50
- package/chunks/{team-delete-QE2UXJL7.js → team-delete-DPGGRQBU.js} +7 -7
- package/chunks/{team-plan-approval-34QFYKGN.js → team-plan-approval-WKRUAPJ4.js} +51 -48
- package/chunks/theme-manager-XQHXQQX6.js +80 -0
- package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-2UO5G6G6.js} +34 -6
- package/chunks/{tool-search-NF7GB6LE.js → tool-search-45YINAJA.js} +21 -22
- package/chunks/total-session-admission-QPUKGHKO.js +88 -0
- package/chunks/trustedFolders-YMUTRHEQ.js +98 -0
- package/chunks/{update-relaunch-WBUZJC5O.js → update-relaunch-PZUXTVHC.js} +5 -5
- package/chunks/updateCheck-IZAN4XTB.js +95 -0
- package/chunks/useAutoAcceptIndicator-CGL2MAYE.js +96 -0
- package/chunks/{validateNonInterActiveAuth-3R223G3R.js → validateNonInterActiveAuth-GBGNJ65K.js} +97 -90
- package/chunks/{version-HS7YSFHV.js → version-Z7EX24NZ.js} +1 -1
- package/chunks/{web-fetch-NKCSG7ZE.js → web-fetch-ETTT2H3V.js} +19 -21
- package/chunks/{web-search-S62WAP4S.js → web-search-Y3ZSVRJ6.js} +13 -13
- package/chunks/{workflow-QAGU5RU4.js → workflow-ATRJSAO7.js} +52 -49
- package/chunks/workspace-providers-status-YM3WLW3N.js +89 -0
- package/chunks/{workspace-registration-store-24JMHDGF.js → workspace-registration-store-4EGNCIPG.js} +1 -1
- package/chunks/workspace-registry-NGZOZKQP.js +96 -0
- package/chunks/workspace-service-SVWOXX2B.js +103 -0
- package/chunks/workspace-skills-status-YZHZ3PT5.js +89 -0
- package/chunks/workspace-trust-reconciler-GGBQV2U5.js +349 -0
- package/chunks/write-file-HLGCEB72.js +78 -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-LDECT475.js +224 -0
- package/cli.js +50 -16
- 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-Dpy_U6Bb.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-kMMF5sud.js → architectureDiagram-3BPJPVTR-DgDOg-c5.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-Htl9vTJS.js → blockDiagram-GPEHLZMM-tADd9Ja3.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BnZnm0mQ.js → c4Diagram-AAUBKEIU-68wj9MCU.js} +1 -1
- package/web-shell/assets/channel-Do7fFnFl.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DziB7kDG.js → chunk-2J33WTMH-DjJLOeVU.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-CmkD8daw.js → chunk-4BX2VUAB-CMbzGeVC.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-CHAd9A_U.js → chunk-55IACEB6-SlKgejv9.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-Dqaam3fE.js → chunk-727SXJPM-CijXssHZ.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-D_-saBYM.js → chunk-AQP2D5EJ-D8w25nvR.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-B9r_veWD.js → chunk-FMBD7UC4-Bv9dcx_e.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-B3EaCSpL.js → chunk-ND2GUHAM-Bzf6sAOd.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-CYq8x9mn.js → chunk-QZHKN3VN-whNoNeW5.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-By_XOP3X.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-By_XOP3X.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-D0ng4uiB.js → cose-bilkent-S5V4N54A-rpQS44Lz.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DCZollQv.js → dagre-BM42HDAG-Ck7VE6nT.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-Dfk2pWS0.js → diagram-2AECGRRQ-CgRrsodR.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-kX38ltWR.js → diagram-5GNKFQAL-CsTZtE5A.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CJz2vsXh.js → diagram-KO2AKTUF-D5EAdVq4.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BvMLZm_7.js → diagram-LMA3HP47-DNrjHC7Z.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-l7kfStkO.js → diagram-OG6HWLK6-ClJSJGgC.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BSVa8GGT.js → erDiagram-TEJ5UH35-DuVnos_y.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-CoawKIXH.js → flowDiagram-I6XJVG4X-DEpIVl1s.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DFUDH0zF.js → ganttDiagram-6RSMTGT7-COnQM2-C.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Y2pvpT4e.js → gitGraphDiagram-PVQCEYII-C-lX5H3_.js} +1 -1
- package/web-shell/assets/index-C2GE3DAF.js +74 -0
- package/web-shell/assets/{index-D0GX0zZf.js → index-DfcyS2E7.js} +1 -1
- package/web-shell/assets/index-Qxt6kN7i.js +1700 -0
- package/web-shell/assets/index-bo0Z8hfu.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CU8_zLiX.js → infoDiagram-5YYISTIA-D0WP-wmU.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-AVQiV0DU.js → ishikawaDiagram-YF4QCWOH-DgsI3Clu.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DQ0VSKa3.js → journeyDiagram-JHISSGLW-4yCoMZO6.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BqnWqsE_.js → kanban-definition-UN3LZRKU-D_05au1N.js} +1 -1
- package/web-shell/assets/{linear-BkoihsaA.js → linear-B38fDz0Q.js} +1 -1
- package/web-shell/assets/{mermaid.core-5RJs-31j.js → mermaid.core-aGNwTaHi.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D33Bxnpd.js → mindmap-definition-RKZ34NQL-C2yf_5WM.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-BuEAw3BH.js → pieDiagram-4H26LBE5-DiHABBT-.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-Kox_usEq.js → quadrantDiagram-W4KKPZXB-W9xkeAGe.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CNjeUif0.js → requirementDiagram-4Y6WPE33-BGmRXl9k.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BCd2OL_U.js → sankeyDiagram-5OEKKPKP-CvOmT43_.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CF2ZTsz0.js → sequenceDiagram-3UESZ5HK-C8pdd0Z-.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-qenSzHtm.js → stateDiagram-AJRCARHV-C-CYdFx2.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BieEHeN9.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-B5DyWdgs.js → timeline-definition-PNZ67QCA-w2KQn1cI.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DqP4I_o_.js → vennDiagram-CIIHVFJN-DuorhRku.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CJe2e4mg.js → wardley-L42UT6IY-BAXm2cWy.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BMDSw-Rr.js → wardleyDiagram-YWT4CUSO-8PHaOXn5.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BTVZYkxD.js → xychartDiagram-2RQKCTM6-Do84JFSc.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/environment-W5UFC2CH.js +0 -102
- 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/runtime-XXRRTNP6.js +0 -118
- 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/task-create-N7WQSGYA.js +0 -25
- 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
|
@@ -1011,9 +1011,9 @@ var DaemonClient = class {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
);
|
|
1013
1013
|
}
|
|
1014
|
-
async workspaceGit() {
|
|
1014
|
+
async workspaceGit(opts) {
|
|
1015
1015
|
return await this.jsonRequest(
|
|
1016
|
-
|
|
1016
|
+
`/workspace/git${opts?.wait ? "?wait=1" : ""}`,
|
|
1017
1017
|
"GET /workspace/git",
|
|
1018
1018
|
{ mode: "rest" }
|
|
1019
1019
|
);
|
|
@@ -1033,10 +1033,11 @@ var DaemonClient = class {
|
|
|
1033
1033
|
{ mode: "rest" }
|
|
1034
1034
|
);
|
|
1035
1035
|
}
|
|
1036
|
-
async workspaceGitLog(limit, skip) {
|
|
1036
|
+
async workspaceGitLog(limit, skip, range) {
|
|
1037
1037
|
const params = new URLSearchParams();
|
|
1038
1038
|
if (limit != null) params.set("limit", String(limit));
|
|
1039
1039
|
if (skip != null) params.set("skip", String(skip));
|
|
1040
|
+
if (range) params.set("range", range);
|
|
1040
1041
|
const qs = params.toString();
|
|
1041
1042
|
return await this.jsonRequest(
|
|
1042
1043
|
`/workspace/git/log${qs ? `?${qs}` : ""}`,
|
|
@@ -1051,6 +1052,48 @@ var DaemonClient = class {
|
|
|
1051
1052
|
{ mode: "rest" }
|
|
1052
1053
|
);
|
|
1053
1054
|
}
|
|
1055
|
+
async workspaceGitBranches() {
|
|
1056
|
+
return await this.jsonRequest(
|
|
1057
|
+
"/workspace/git/branches",
|
|
1058
|
+
"GET /workspace/git/branches",
|
|
1059
|
+
{ mode: "rest" }
|
|
1060
|
+
);
|
|
1061
|
+
}
|
|
1062
|
+
async workspaceGitCheckout(ref) {
|
|
1063
|
+
return await this.jsonRequest(
|
|
1064
|
+
"/workspace/git/checkout",
|
|
1065
|
+
"POST /workspace/git/checkout",
|
|
1066
|
+
{ method: "POST", body: { ref }, mode: "rest" }
|
|
1067
|
+
);
|
|
1068
|
+
}
|
|
1069
|
+
async workspaceGitCreateBranch(name, startPoint) {
|
|
1070
|
+
return await this.jsonRequest(
|
|
1071
|
+
"/workspace/git/branch",
|
|
1072
|
+
"POST /workspace/git/branch",
|
|
1073
|
+
{ method: "POST", body: { name, startPoint }, mode: "rest" }
|
|
1074
|
+
);
|
|
1075
|
+
}
|
|
1076
|
+
async workspaceGitPush(opts) {
|
|
1077
|
+
return await this.jsonRequest(
|
|
1078
|
+
"/workspace/git/push",
|
|
1079
|
+
"POST /workspace/git/push",
|
|
1080
|
+
{ method: "POST", body: opts ?? {}, mode: "rest" }
|
|
1081
|
+
);
|
|
1082
|
+
}
|
|
1083
|
+
async workspaceGitPull(opts) {
|
|
1084
|
+
return await this.jsonRequest(
|
|
1085
|
+
"/workspace/git/pull",
|
|
1086
|
+
"POST /workspace/git/pull",
|
|
1087
|
+
{ method: "POST", body: opts ?? {}, mode: "rest" }
|
|
1088
|
+
);
|
|
1089
|
+
}
|
|
1090
|
+
async workspaceGitCommit(message, opts) {
|
|
1091
|
+
return await this.jsonRequest(
|
|
1092
|
+
"/workspace/git/commit",
|
|
1093
|
+
"POST /workspace/git/commit",
|
|
1094
|
+
{ method: "POST", body: { message, ...opts }, mode: "rest" }
|
|
1095
|
+
);
|
|
1096
|
+
}
|
|
1054
1097
|
async workspaceMcpTools(serverName) {
|
|
1055
1098
|
return await this.fetchWithTimeout(
|
|
1056
1099
|
`${this.baseUrl}/workspace/mcp/${urlEncode(serverName)}/tools`,
|
|
@@ -1383,6 +1426,9 @@ var DaemonClient = class {
|
|
|
1383
1426
|
if (opts.limit !== void 0) {
|
|
1384
1427
|
url.searchParams.set("limit", String(opts.limit));
|
|
1385
1428
|
}
|
|
1429
|
+
if (opts.cursor !== void 0) {
|
|
1430
|
+
url.searchParams.set("cursor", opts.cursor);
|
|
1431
|
+
}
|
|
1386
1432
|
return await this.fetchWithTimeout(
|
|
1387
1433
|
url.toString(),
|
|
1388
1434
|
{ headers: this.headers({}, clientId) },
|
|
@@ -1452,6 +1498,18 @@ var DaemonClient = class {
|
|
|
1452
1498
|
}
|
|
1453
1499
|
);
|
|
1454
1500
|
}
|
|
1501
|
+
async workspaceDirectoryPicker() {
|
|
1502
|
+
return await this.jsonRequest(
|
|
1503
|
+
"/workspace-directory-picker",
|
|
1504
|
+
"POST /workspace-directory-picker",
|
|
1505
|
+
{
|
|
1506
|
+
method: "POST",
|
|
1507
|
+
body: {},
|
|
1508
|
+
timeoutMs: 31e4,
|
|
1509
|
+
mode: "rest"
|
|
1510
|
+
}
|
|
1511
|
+
);
|
|
1512
|
+
}
|
|
1455
1513
|
async glob(pattern) {
|
|
1456
1514
|
const url = new URL(`${this.baseUrl}/glob`);
|
|
1457
1515
|
url.searchParams.set("pattern", pattern);
|
|
@@ -1969,7 +2027,9 @@ var DaemonClient = class {
|
|
|
1969
2027
|
{
|
|
1970
2028
|
method: "POST",
|
|
1971
2029
|
headers: this.headers({ "Content-Type": "application/json" }, clientId),
|
|
1972
|
-
body: JSON.stringify({
|
|
2030
|
+
body: JSON.stringify({
|
|
2031
|
+
...req.name !== void 0 ? { name: req.name } : {}
|
|
2032
|
+
})
|
|
1973
2033
|
},
|
|
1974
2034
|
async (res) => {
|
|
1975
2035
|
if (!res.ok) {
|
|
@@ -1979,6 +2039,24 @@ var DaemonClient = class {
|
|
|
1979
2039
|
}
|
|
1980
2040
|
);
|
|
1981
2041
|
}
|
|
2042
|
+
async createSideTaskSession(sessionId, req = {}, clientId) {
|
|
2043
|
+
return await this.fetchWithTimeout(
|
|
2044
|
+
`${this.baseUrl}/session/${urlEncode(sessionId)}/side-task`,
|
|
2045
|
+
{
|
|
2046
|
+
method: "POST",
|
|
2047
|
+
headers: this.headers({ "Content-Type": "application/json" }, clientId),
|
|
2048
|
+
body: JSON.stringify({
|
|
2049
|
+
...req.name !== void 0 ? { name: req.name } : {}
|
|
2050
|
+
})
|
|
2051
|
+
},
|
|
2052
|
+
async (res) => {
|
|
2053
|
+
if (!res.ok) {
|
|
2054
|
+
throw await this.failOnError(res, "POST /session/:id/side-task");
|
|
2055
|
+
}
|
|
2056
|
+
return await res.json();
|
|
2057
|
+
}
|
|
2058
|
+
);
|
|
2059
|
+
}
|
|
1982
2060
|
async forkSession(sessionId, req, clientId) {
|
|
1983
2061
|
return await this.fetchWithTimeout(
|
|
1984
2062
|
`${this.baseUrl}/session/${urlEncode(sessionId)}/fork`,
|
|
@@ -2581,8 +2659,9 @@ var DaemonClient = class {
|
|
|
2581
2659
|
);
|
|
2582
2660
|
}
|
|
2583
2661
|
async workspaceTrust(opts) {
|
|
2662
|
+
const query = opts?.statusVersion === 2 ? "?statusVersion=2" : "";
|
|
2584
2663
|
return await this.fetchWithTimeout(
|
|
2585
|
-
`${this.baseUrl}/workspace/trust`,
|
|
2664
|
+
`${this.baseUrl}/workspace/trust${query}`,
|
|
2586
2665
|
{
|
|
2587
2666
|
method: "GET",
|
|
2588
2667
|
headers: this.headers({}, opts?.clientId)
|
|
@@ -2811,6 +2890,121 @@ var DaemonClient = class {
|
|
|
2811
2890
|
opts?.timeoutMs ?? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS
|
|
2812
2891
|
);
|
|
2813
2892
|
}
|
|
2893
|
+
workspaceChannelTypes(opts) {
|
|
2894
|
+
return this.jsonRequest(
|
|
2895
|
+
"/workspace/channel-types",
|
|
2896
|
+
"GET /workspace/channel-types",
|
|
2897
|
+
{ clientId: opts?.clientId, timeoutMs: opts?.timeoutMs, mode: "rest" }
|
|
2898
|
+
);
|
|
2899
|
+
}
|
|
2900
|
+
workspaceChannels(opts) {
|
|
2901
|
+
return this.jsonRequest(
|
|
2902
|
+
"/workspace/channels",
|
|
2903
|
+
"GET /workspace/channels",
|
|
2904
|
+
{ clientId: opts?.clientId, timeoutMs: opts?.timeoutMs, mode: "rest" }
|
|
2905
|
+
);
|
|
2906
|
+
}
|
|
2907
|
+
upsertWorkspaceChannel(name, request, opts) {
|
|
2908
|
+
return this.jsonRequest(
|
|
2909
|
+
`/workspace/channels/${urlEncode(name)}`,
|
|
2910
|
+
"PUT /workspace/channels/:name",
|
|
2911
|
+
{
|
|
2912
|
+
method: "PUT",
|
|
2913
|
+
body: request,
|
|
2914
|
+
clientId: opts?.clientId,
|
|
2915
|
+
timeoutMs: opts?.timeoutMs ?? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS,
|
|
2916
|
+
mode: "rest"
|
|
2917
|
+
}
|
|
2918
|
+
);
|
|
2919
|
+
}
|
|
2920
|
+
deleteWorkspaceChannel(name, request, opts) {
|
|
2921
|
+
return this.jsonRequest(
|
|
2922
|
+
`/workspace/channels/${urlEncode(name)}`,
|
|
2923
|
+
"DELETE /workspace/channels/:name",
|
|
2924
|
+
{
|
|
2925
|
+
method: "DELETE",
|
|
2926
|
+
body: request,
|
|
2927
|
+
clientId: opts?.clientId,
|
|
2928
|
+
timeoutMs: opts?.timeoutMs ?? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS,
|
|
2929
|
+
mode: "rest"
|
|
2930
|
+
}
|
|
2931
|
+
);
|
|
2932
|
+
}
|
|
2933
|
+
setWorkspaceChannelStartup(name, request, opts) {
|
|
2934
|
+
return this.jsonRequest(
|
|
2935
|
+
`/workspace/channels/${urlEncode(name)}/startup`,
|
|
2936
|
+
"PUT /workspace/channels/:name/startup",
|
|
2937
|
+
{
|
|
2938
|
+
method: "PUT",
|
|
2939
|
+
body: request,
|
|
2940
|
+
clientId: opts?.clientId,
|
|
2941
|
+
timeoutMs: opts?.timeoutMs ?? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS,
|
|
2942
|
+
mode: "rest"
|
|
2943
|
+
}
|
|
2944
|
+
);
|
|
2945
|
+
}
|
|
2946
|
+
startWorkspaceChannel(name, opts) {
|
|
2947
|
+
return this.workspaceChannelAction(name, "start", opts);
|
|
2948
|
+
}
|
|
2949
|
+
stopWorkspaceChannel(name, opts) {
|
|
2950
|
+
return this.workspaceChannelAction(name, "stop", opts);
|
|
2951
|
+
}
|
|
2952
|
+
restartWorkspaceChannel(name, opts) {
|
|
2953
|
+
return this.workspaceChannelAction(name, "restart", opts);
|
|
2954
|
+
}
|
|
2955
|
+
workspaceChannelPairingRequests(name, opts) {
|
|
2956
|
+
return this.jsonRequest(
|
|
2957
|
+
`/workspace/channels/${urlEncode(name)}/pairing-requests`,
|
|
2958
|
+
"GET /workspace/channels/:name/pairing-requests",
|
|
2959
|
+
{ clientId: opts?.clientId, timeoutMs: opts?.timeoutMs, mode: "rest" }
|
|
2960
|
+
);
|
|
2961
|
+
}
|
|
2962
|
+
approveWorkspaceChannelPairing(name, request, opts) {
|
|
2963
|
+
return this.jsonRequest(
|
|
2964
|
+
`/workspace/channels/${urlEncode(name)}/pairing-requests/approve`,
|
|
2965
|
+
"POST /workspace/channels/:name/pairing-requests/approve",
|
|
2966
|
+
{
|
|
2967
|
+
method: "POST",
|
|
2968
|
+
body: request,
|
|
2969
|
+
clientId: opts?.clientId,
|
|
2970
|
+
timeoutMs: opts?.timeoutMs ?? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS,
|
|
2971
|
+
mode: "rest"
|
|
2972
|
+
}
|
|
2973
|
+
);
|
|
2974
|
+
}
|
|
2975
|
+
workspaceChannelPairingApprovals(name, opts) {
|
|
2976
|
+
return this.jsonRequest(
|
|
2977
|
+
`/workspace/channels/${urlEncode(name)}/pairing-approvals`,
|
|
2978
|
+
"GET /workspace/channels/:name/pairing-approvals",
|
|
2979
|
+
{ clientId: opts?.clientId, timeoutMs: opts?.timeoutMs, mode: "rest" }
|
|
2980
|
+
);
|
|
2981
|
+
}
|
|
2982
|
+
revokeWorkspaceChannelPairingApproval(name, request, opts) {
|
|
2983
|
+
return this.jsonRequest(
|
|
2984
|
+
`/workspace/channels/${urlEncode(name)}/pairing-approvals`,
|
|
2985
|
+
"DELETE /workspace/channels/:name/pairing-approvals",
|
|
2986
|
+
{
|
|
2987
|
+
method: "DELETE",
|
|
2988
|
+
body: request,
|
|
2989
|
+
clientId: opts?.clientId,
|
|
2990
|
+
timeoutMs: opts?.timeoutMs ?? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS,
|
|
2991
|
+
mode: "rest"
|
|
2992
|
+
}
|
|
2993
|
+
);
|
|
2994
|
+
}
|
|
2995
|
+
workspaceChannelAction(name, action, opts) {
|
|
2996
|
+
return this.jsonRequest(
|
|
2997
|
+
`/workspace/channels/${urlEncode(name)}/${action}`,
|
|
2998
|
+
`POST /workspace/channels/:name/${action}`,
|
|
2999
|
+
{
|
|
3000
|
+
method: "POST",
|
|
3001
|
+
body: {},
|
|
3002
|
+
clientId: opts?.clientId,
|
|
3003
|
+
timeoutMs: opts?.timeoutMs ?? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS,
|
|
3004
|
+
mode: "rest"
|
|
3005
|
+
}
|
|
3006
|
+
);
|
|
3007
|
+
}
|
|
2814
3008
|
async manageMcpServer(serverName, action, opts) {
|
|
2815
3009
|
return await this.fetchWithTimeout(
|
|
2816
3010
|
`${this.baseUrl}/workspace/mcp/${urlEncode(serverName)}/${urlEncode(action)}`,
|
|
@@ -3559,6 +3753,108 @@ var WorkspaceDaemonClient = class {
|
|
|
3559
3753
|
}
|
|
3560
3754
|
);
|
|
3561
3755
|
}
|
|
3756
|
+
workspaceChannelTypes(opts) {
|
|
3757
|
+
return this.channelRequest(
|
|
3758
|
+
"/channel-types",
|
|
3759
|
+
"GET /workspaces/:workspace/channel-types",
|
|
3760
|
+
void 0,
|
|
3761
|
+
opts
|
|
3762
|
+
);
|
|
3763
|
+
}
|
|
3764
|
+
workspaceChannels(opts) {
|
|
3765
|
+
return this.channelRequest(
|
|
3766
|
+
"/channels",
|
|
3767
|
+
"GET /workspaces/:workspace/channels",
|
|
3768
|
+
void 0,
|
|
3769
|
+
opts
|
|
3770
|
+
);
|
|
3771
|
+
}
|
|
3772
|
+
upsertWorkspaceChannel(name, request, opts) {
|
|
3773
|
+
return this.channelRequest(
|
|
3774
|
+
`/channels/${urlEncode(name)}`,
|
|
3775
|
+
"PUT /workspaces/:workspace/channels/:name",
|
|
3776
|
+
{ method: "PUT", body: request },
|
|
3777
|
+
opts
|
|
3778
|
+
);
|
|
3779
|
+
}
|
|
3780
|
+
deleteWorkspaceChannel(name, request, opts) {
|
|
3781
|
+
return this.channelRequest(
|
|
3782
|
+
`/channels/${urlEncode(name)}`,
|
|
3783
|
+
"DELETE /workspaces/:workspace/channels/:name",
|
|
3784
|
+
{ method: "DELETE", body: request },
|
|
3785
|
+
opts
|
|
3786
|
+
);
|
|
3787
|
+
}
|
|
3788
|
+
setWorkspaceChannelStartup(name, request, opts) {
|
|
3789
|
+
return this.channelRequest(
|
|
3790
|
+
`/channels/${urlEncode(name)}/startup`,
|
|
3791
|
+
"PUT /workspaces/:workspace/channels/:name/startup",
|
|
3792
|
+
{ method: "PUT", body: request },
|
|
3793
|
+
opts
|
|
3794
|
+
);
|
|
3795
|
+
}
|
|
3796
|
+
startWorkspaceChannel(name, opts) {
|
|
3797
|
+
return this.channelAction(name, "start", opts);
|
|
3798
|
+
}
|
|
3799
|
+
stopWorkspaceChannel(name, opts) {
|
|
3800
|
+
return this.channelAction(name, "stop", opts);
|
|
3801
|
+
}
|
|
3802
|
+
restartWorkspaceChannel(name, opts) {
|
|
3803
|
+
return this.channelAction(name, "restart", opts);
|
|
3804
|
+
}
|
|
3805
|
+
workspaceChannelPairingRequests(name, opts) {
|
|
3806
|
+
return this.channelRequest(
|
|
3807
|
+
`/channels/${urlEncode(name)}/pairing-requests`,
|
|
3808
|
+
"GET /workspaces/:workspace/channels/:name/pairing-requests",
|
|
3809
|
+
void 0,
|
|
3810
|
+
opts
|
|
3811
|
+
);
|
|
3812
|
+
}
|
|
3813
|
+
approveWorkspaceChannelPairing(name, request, opts) {
|
|
3814
|
+
return this.channelRequest(
|
|
3815
|
+
`/channels/${urlEncode(name)}/pairing-requests/approve`,
|
|
3816
|
+
"POST /workspaces/:workspace/channels/:name/pairing-requests/approve",
|
|
3817
|
+
{ method: "POST", body: request },
|
|
3818
|
+
opts
|
|
3819
|
+
);
|
|
3820
|
+
}
|
|
3821
|
+
workspaceChannelPairingApprovals(name, opts) {
|
|
3822
|
+
return this.channelRequest(
|
|
3823
|
+
`/channels/${urlEncode(name)}/pairing-approvals`,
|
|
3824
|
+
"GET /workspaces/:workspace/channels/:name/pairing-approvals",
|
|
3825
|
+
void 0,
|
|
3826
|
+
opts
|
|
3827
|
+
);
|
|
3828
|
+
}
|
|
3829
|
+
revokeWorkspaceChannelPairingApproval(name, request, opts) {
|
|
3830
|
+
return this.channelRequest(
|
|
3831
|
+
`/channels/${urlEncode(name)}/pairing-approvals`,
|
|
3832
|
+
"DELETE /workspaces/:workspace/channels/:name/pairing-approvals",
|
|
3833
|
+
{ method: "DELETE", body: request },
|
|
3834
|
+
opts
|
|
3835
|
+
);
|
|
3836
|
+
}
|
|
3837
|
+
channelAction(name, action, opts) {
|
|
3838
|
+
return this.channelRequest(
|
|
3839
|
+
`/channels/${urlEncode(name)}/${action}`,
|
|
3840
|
+
`POST /workspaces/:workspace/channels/:name/${action}`,
|
|
3841
|
+
{ method: "POST", body: {} },
|
|
3842
|
+
opts
|
|
3843
|
+
);
|
|
3844
|
+
}
|
|
3845
|
+
channelRequest(path, label, request, opts) {
|
|
3846
|
+
return this.client.workspaceJsonRequest(
|
|
3847
|
+
this.workspaceSelector,
|
|
3848
|
+
path,
|
|
3849
|
+
label,
|
|
3850
|
+
{
|
|
3851
|
+
...request ?? {},
|
|
3852
|
+
clientId: opts?.clientId,
|
|
3853
|
+
timeoutMs: opts?.timeoutMs ?? (request ? CHANNEL_CONTROL_DEFAULT_TIMEOUT_MS : void 0),
|
|
3854
|
+
mode: "rest"
|
|
3855
|
+
}
|
|
3856
|
+
);
|
|
3857
|
+
}
|
|
3562
3858
|
initializeWorkspaceMcp() {
|
|
3563
3859
|
return this.post(
|
|
3564
3860
|
"/mcp/initialize",
|
|
@@ -3596,8 +3892,12 @@ var WorkspaceDaemonClient = class {
|
|
|
3596
3892
|
opts
|
|
3597
3893
|
);
|
|
3598
3894
|
}
|
|
3599
|
-
workspaceGit(
|
|
3600
|
-
const
|
|
3895
|
+
workspaceGit(opts) {
|
|
3896
|
+
const params = new URLSearchParams();
|
|
3897
|
+
if (opts?.cwd) params.set("cwd", opts.cwd);
|
|
3898
|
+
if (opts?.wait) params.set("wait", "1");
|
|
3899
|
+
const query = params.toString();
|
|
3900
|
+
const suffix = query ? `/git?${query}` : "/git";
|
|
3601
3901
|
return this.client.workspaceJsonRequest(
|
|
3602
3902
|
this.workspaceSelector,
|
|
3603
3903
|
suffix,
|
|
@@ -3605,16 +3905,17 @@ var WorkspaceDaemonClient = class {
|
|
|
3605
3905
|
{ mode: "rest" }
|
|
3606
3906
|
);
|
|
3607
3907
|
}
|
|
3608
|
-
workspaceGitDiff() {
|
|
3908
|
+
workspaceGitDiff(cwd) {
|
|
3909
|
+
const suffix = cwd != null ? `/git/diff?cwd=${urlEncode(cwd)}` : "/git/diff";
|
|
3609
3910
|
return this.client.workspaceJsonRequest(
|
|
3610
3911
|
this.workspaceSelector,
|
|
3611
|
-
|
|
3912
|
+
suffix,
|
|
3612
3913
|
"GET /workspaces/:workspace/git/diff",
|
|
3613
3914
|
{ mode: "rest" }
|
|
3614
3915
|
);
|
|
3615
3916
|
}
|
|
3616
|
-
workspaceGitDiffFile(path, oldPath) {
|
|
3617
|
-
const query = `/git/diff/file?path=${urlEncode(path)}` + (oldPath != null ? `&oldPath=${urlEncode(oldPath)}` : "");
|
|
3917
|
+
workspaceGitDiffFile(path, oldPath, cwd) {
|
|
3918
|
+
const query = `/git/diff/file?path=${urlEncode(path)}` + (oldPath != null ? `&oldPath=${urlEncode(oldPath)}` : "") + (cwd != null ? `&cwd=${urlEncode(cwd)}` : "");
|
|
3618
3919
|
return this.client.workspaceJsonRequest(
|
|
3619
3920
|
this.workspaceSelector,
|
|
3620
3921
|
query,
|
|
@@ -3622,10 +3923,12 @@ var WorkspaceDaemonClient = class {
|
|
|
3622
3923
|
{ mode: "rest" }
|
|
3623
3924
|
);
|
|
3624
3925
|
}
|
|
3625
|
-
workspaceGitLog(limit, skip) {
|
|
3926
|
+
workspaceGitLog(limit, skip, cwd, range) {
|
|
3626
3927
|
const params = new URLSearchParams();
|
|
3627
3928
|
if (limit != null) params.set("limit", String(limit));
|
|
3628
3929
|
if (skip != null) params.set("skip", String(skip));
|
|
3930
|
+
if (cwd != null) params.set("cwd", cwd);
|
|
3931
|
+
if (range) params.set("range", range);
|
|
3629
3932
|
const qs = params.toString();
|
|
3630
3933
|
return this.client.workspaceJsonRequest(
|
|
3631
3934
|
this.workspaceSelector,
|
|
@@ -3634,14 +3937,94 @@ var WorkspaceDaemonClient = class {
|
|
|
3634
3937
|
{ mode: "rest" }
|
|
3635
3938
|
);
|
|
3636
3939
|
}
|
|
3637
|
-
workspaceGitCommitDetail(sha) {
|
|
3940
|
+
workspaceGitCommitDetail(sha, cwd) {
|
|
3941
|
+
const query = `/git/log/commit?sha=${urlEncode(sha)}` + (cwd != null ? `&cwd=${urlEncode(cwd)}` : "");
|
|
3638
3942
|
return this.client.workspaceJsonRequest(
|
|
3639
3943
|
this.workspaceSelector,
|
|
3640
|
-
|
|
3944
|
+
query,
|
|
3641
3945
|
"GET /workspaces/:workspace/git/log/commit",
|
|
3642
3946
|
{ mode: "rest" }
|
|
3643
3947
|
);
|
|
3644
3948
|
}
|
|
3949
|
+
workspaceGitBranches(cwd) {
|
|
3950
|
+
const suffix = cwd != null ? `/git/branches?cwd=${urlEncode(cwd)}` : "/git/branches";
|
|
3951
|
+
return this.client.workspaceJsonRequest(
|
|
3952
|
+
this.workspaceSelector,
|
|
3953
|
+
suffix,
|
|
3954
|
+
"GET /workspaces/:workspace/git/branches",
|
|
3955
|
+
{ mode: "rest" }
|
|
3956
|
+
);
|
|
3957
|
+
}
|
|
3958
|
+
workspaceGitCheckout(ref, cwd) {
|
|
3959
|
+
const suffix = cwd != null ? `/git/checkout?cwd=${urlEncode(cwd)}` : "/git/checkout";
|
|
3960
|
+
return this.client.workspaceJsonRequest(
|
|
3961
|
+
this.workspaceSelector,
|
|
3962
|
+
suffix,
|
|
3963
|
+
"POST /workspaces/:workspace/git/checkout",
|
|
3964
|
+
{ method: "POST", body: { ref }, mode: "rest" }
|
|
3965
|
+
);
|
|
3966
|
+
}
|
|
3967
|
+
workspaceGitCreateBranch(name, startPoint, cwd) {
|
|
3968
|
+
const suffix = cwd != null ? `/git/branch?cwd=${urlEncode(cwd)}` : "/git/branch";
|
|
3969
|
+
return this.client.workspaceJsonRequest(
|
|
3970
|
+
this.workspaceSelector,
|
|
3971
|
+
suffix,
|
|
3972
|
+
"POST /workspaces/:workspace/git/branch",
|
|
3973
|
+
{ method: "POST", body: { name, startPoint }, mode: "rest" }
|
|
3974
|
+
);
|
|
3975
|
+
}
|
|
3976
|
+
workspaceGitPush(opts, cwd) {
|
|
3977
|
+
const suffix = cwd != null ? `/git/push?cwd=${urlEncode(cwd)}` : "/git/push";
|
|
3978
|
+
return this.client.workspaceJsonRequest(
|
|
3979
|
+
this.workspaceSelector,
|
|
3980
|
+
suffix,
|
|
3981
|
+
"POST /workspaces/:workspace/git/push",
|
|
3982
|
+
{ method: "POST", body: opts ?? {}, mode: "rest" }
|
|
3983
|
+
);
|
|
3984
|
+
}
|
|
3985
|
+
workspaceGitPull(opts, cwd) {
|
|
3986
|
+
const suffix = cwd != null ? `/git/pull?cwd=${urlEncode(cwd)}` : "/git/pull";
|
|
3987
|
+
return this.client.workspaceJsonRequest(
|
|
3988
|
+
this.workspaceSelector,
|
|
3989
|
+
suffix,
|
|
3990
|
+
"POST /workspaces/:workspace/git/pull",
|
|
3991
|
+
{ method: "POST", body: opts ?? {}, mode: "rest" }
|
|
3992
|
+
);
|
|
3993
|
+
}
|
|
3994
|
+
workspaceGitCommit(message, opts, cwd) {
|
|
3995
|
+
const suffix = cwd != null ? `/git/commit?cwd=${urlEncode(cwd)}` : "/git/commit";
|
|
3996
|
+
return this.client.workspaceJsonRequest(
|
|
3997
|
+
this.workspaceSelector,
|
|
3998
|
+
suffix,
|
|
3999
|
+
"POST /workspaces/:workspace/git/commit",
|
|
4000
|
+
{ method: "POST", body: { message, ...opts }, mode: "rest" }
|
|
4001
|
+
);
|
|
4002
|
+
}
|
|
4003
|
+
workspaceGitHubPullRequests() {
|
|
4004
|
+
return this.client.workspaceJsonRequest(
|
|
4005
|
+
this.workspaceSelector,
|
|
4006
|
+
"/github/prs",
|
|
4007
|
+
"GET /workspaces/:workspace/github/prs",
|
|
4008
|
+
{ mode: "rest" }
|
|
4009
|
+
);
|
|
4010
|
+
}
|
|
4011
|
+
workspaceGitHubCreatePullRequest(opts, cwd) {
|
|
4012
|
+
const suffix = cwd != null ? `/github/prs/create?cwd=${urlEncode(cwd)}` : "/github/prs/create";
|
|
4013
|
+
return this.client.workspaceJsonRequest(
|
|
4014
|
+
this.workspaceSelector,
|
|
4015
|
+
suffix,
|
|
4016
|
+
"POST /workspaces/:workspace/github/prs/create",
|
|
4017
|
+
{ method: "POST", body: opts, mode: "rest" }
|
|
4018
|
+
);
|
|
4019
|
+
}
|
|
4020
|
+
workspaceGitHubDefaultBranch() {
|
|
4021
|
+
return this.client.workspaceJsonRequest(
|
|
4022
|
+
this.workspaceSelector,
|
|
4023
|
+
"/github/default-branch",
|
|
4024
|
+
"GET /workspaces/:workspace/github/default-branch",
|
|
4025
|
+
{ mode: "rest" }
|
|
4026
|
+
);
|
|
4027
|
+
}
|
|
3645
4028
|
workspaceSkills() {
|
|
3646
4029
|
return this.get("/skills", "GET /workspaces/:workspace/skills");
|
|
3647
4030
|
}
|
|
@@ -3867,6 +4250,7 @@ var WorkspaceDaemonClient = class {
|
|
|
3867
4250
|
query.set("maxBytes", String(opts.maxBytes));
|
|
3868
4251
|
if (opts.line !== void 0) query.set("line", String(opts.line));
|
|
3869
4252
|
if (opts.limit !== void 0) query.set("limit", String(opts.limit));
|
|
4253
|
+
if (opts.cursor !== void 0) query.set("cursor", opts.cursor);
|
|
3870
4254
|
return this.get(
|
|
3871
4255
|
`/file?${query.toString()}`,
|
|
3872
4256
|
"GET /workspaces/:workspace/file",
|
|
@@ -3948,7 +4332,7 @@ var WorkspaceDaemonClient = class {
|
|
|
3948
4332
|
}
|
|
3949
4333
|
workspaceTrust(opts) {
|
|
3950
4334
|
return this.get(
|
|
3951
|
-
"/trust",
|
|
4335
|
+
opts?.statusVersion === 2 ? "/trust?statusVersion=2" : "/trust",
|
|
3952
4336
|
"GET /workspaces/:workspace/trust",
|
|
3953
4337
|
opts?.clientId
|
|
3954
4338
|
);
|
|
@@ -4139,6 +4523,13 @@ var DaemonSessionClient = class _DaemonSessionClient {
|
|
|
4139
4523
|
replaySnapshot;
|
|
4140
4524
|
hasActivePrompt;
|
|
4141
4525
|
historyHasMore;
|
|
4526
|
+
/**
|
|
4527
|
+
* Fallback pagination anchor from the daemon load response (see
|
|
4528
|
+
* {@link DaemonSessionClientOptions.historyAnchorRecordId}). Undefined
|
|
4529
|
+
* when the retained window already carries a recordId or the daemon
|
|
4530
|
+
* could not read one from the persisted transcript.
|
|
4531
|
+
*/
|
|
4532
|
+
historyAnchorRecordId;
|
|
4142
4533
|
/**
|
|
4143
4534
|
* True when the load response flagged the replay snapshot as degraded
|
|
4144
4535
|
* (`replayDegraded` — compaction failed at least once, so
|
|
@@ -4156,6 +4547,7 @@ var DaemonSessionClient = class _DaemonSessionClient {
|
|
|
4156
4547
|
subscriptionActive = false;
|
|
4157
4548
|
/** In-flight `reattach()` so concurrent prompts re-register only once. */
|
|
4158
4549
|
reattaching;
|
|
4550
|
+
cancelling;
|
|
4159
4551
|
promptLimit;
|
|
4160
4552
|
_pendingPrompts = /* @__PURE__ */ new Map();
|
|
4161
4553
|
constructor(opts) {
|
|
@@ -4164,6 +4556,7 @@ var DaemonSessionClient = class _DaemonSessionClient {
|
|
|
4164
4556
|
this.state = { ...opts.state ?? {} };
|
|
4165
4557
|
this.hasActivePrompt = opts.hasActivePrompt ?? false;
|
|
4166
4558
|
this.historyHasMore = opts.historyHasMore ?? false;
|
|
4559
|
+
this.historyAnchorRecordId = opts.historyAnchorRecordId;
|
|
4167
4560
|
this.replayDegraded = opts.replayDegraded ?? false;
|
|
4168
4561
|
this.replaySnapshot = opts.replaySnapshot ?? {
|
|
4169
4562
|
compactedReplay: [],
|
|
@@ -4202,6 +4595,7 @@ var DaemonSessionClient = class _DaemonSessionClient {
|
|
|
4202
4595
|
compactedReplay,
|
|
4203
4596
|
liveJournal,
|
|
4204
4597
|
historyHasMore,
|
|
4598
|
+
historyAnchorRecordId,
|
|
4205
4599
|
replayDegraded,
|
|
4206
4600
|
lastEventId: serverLastEventId,
|
|
4207
4601
|
eventEpoch,
|
|
@@ -4219,6 +4613,7 @@ var DaemonSessionClient = class _DaemonSessionClient {
|
|
|
4219
4613
|
liveJournal: liveJournal ?? []
|
|
4220
4614
|
},
|
|
4221
4615
|
historyHasMore,
|
|
4616
|
+
historyAnchorRecordId,
|
|
4222
4617
|
replayDegraded
|
|
4223
4618
|
});
|
|
4224
4619
|
}
|
|
@@ -4305,7 +4700,7 @@ var DaemonSessionClient = class _DaemonSessionClient {
|
|
|
4305
4700
|
const onAbort = /* @__PURE__ */ __name(() => {
|
|
4306
4701
|
const pending = this._pendingPrompts.get(accepted.promptId);
|
|
4307
4702
|
if (pending && this._pendingPrompts.delete(accepted.promptId)) {
|
|
4308
|
-
this.
|
|
4703
|
+
this.cancel().catch(() => {
|
|
4309
4704
|
});
|
|
4310
4705
|
pending.reject(
|
|
4311
4706
|
signal.reason ?? new DOMException("Aborted", "AbortError")
|
|
@@ -4387,7 +4782,15 @@ var DaemonSessionClient = class _DaemonSessionClient {
|
|
|
4387
4782
|
}
|
|
4388
4783
|
}
|
|
4389
4784
|
async cancel() {
|
|
4390
|
-
|
|
4785
|
+
const cancelling = this.cancelling ?? this.client.cancel(this.sessionId, this.clientId);
|
|
4786
|
+
this.cancelling = cancelling;
|
|
4787
|
+
try {
|
|
4788
|
+
await cancelling;
|
|
4789
|
+
} finally {
|
|
4790
|
+
if (this.cancelling === cancelling) {
|
|
4791
|
+
this.cancelling = void 0;
|
|
4792
|
+
}
|
|
4793
|
+
}
|
|
4391
4794
|
}
|
|
4392
4795
|
/**
|
|
4393
4796
|
* Bump the daemon's last-seen bookkeeping for this session. Adapters
|
|
@@ -4823,7 +5226,12 @@ var DAEMON_KNOWN_EVENT_TYPE_VALUES = [
|
|
|
4823
5226
|
// Carries `currentModelId` and `currentApprovalMode` so reconnecting
|
|
4824
5227
|
// clients can seed their reducer without an extra round-trip.
|
|
4825
5228
|
"session_snapshot",
|
|
4826
|
-
"git_branch_changed"
|
|
5229
|
+
"git_branch_changed",
|
|
5230
|
+
// Enriched working-tree summary push: the daemon recomputes `git status`
|
|
5231
|
+
// in the background (stale-while-revalidate on `GET …/git`) and publishes
|
|
5232
|
+
// this only when the summary changed. `data` is a DaemonWorkspaceGitStatus.
|
|
5233
|
+
// Old SDK consumers silently drop it via `asKnownDaemonEvent`.
|
|
5234
|
+
"git_status_changed"
|
|
4827
5235
|
];
|
|
4828
5236
|
var DAEMON_KNOWN_EVENT_TYPES = new Set(
|
|
4829
5237
|
DAEMON_KNOWN_EVENT_TYPE_VALUES
|
|
@@ -6315,6 +6723,8 @@ function normalizeDaemonEvent(event, opts = {}) {
|
|
|
6315
6723
|
// ── Workspace events ──────────────────────────────────────
|
|
6316
6724
|
case "git_branch_changed":
|
|
6317
6725
|
return [];
|
|
6726
|
+
case "git_status_changed":
|
|
6727
|
+
return [];
|
|
6318
6728
|
case "memory_changed":
|
|
6319
6729
|
return normalizeMemoryChanged(event, base);
|
|
6320
6730
|
case "agent_changed":
|