@qwen-code/qwen-code 0.21.1-simplify-system-prompt.0 → 0.21.2
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-TQBQ247P.js +88 -0
- package/chunks/{StandaloneSessionPicker-O6RKBPU4.js → StandaloneSessionPicker-2HPTKCLX.js} +71 -69
- package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-2C4A5ZTJ.js} +2 -2
- package/chunks/{acpAgent-HYFVXVDR.js → acpAgent-PS6EDGH3.js} +1628 -590
- package/chunks/agent-VDOUB35F.js +84 -0
- package/chunks/agent-headless-EO53EFS2.js +78 -0
- package/chunks/{anthropicContentGenerator-LXUXMOE7.js → anthropicContentGenerator-OFHSZJBF.js} +61 -20
- 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-W7AZSRZQ.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-G74LFADV.js → channel-management-service-5S7YCWX5.js} +20 -5
- package/chunks/channel-settings-store-JFVRSNER.js +91 -0
- package/chunks/{channel-worker-group-PTJIJSKC.js → channel-worker-group-OVWGYMZS.js} +9 -5
- package/chunks/{channel-worker-manager-WIMGM2FD.js → channel-worker-manager-H55GKOQA.js} +9 -5
- package/chunks/{channel-worker-supervisor-KUFTR6P5.js → channel-worker-supervisor-CABBXYHK.js} +5 -4
- package/chunks/{chunk-6GMVPFB2.js → chunk-2IIJTXYF.js} +45 -16
- package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
- package/chunks/{chunk-I7XZ3RY5.js → chunk-2KKCCLPT.js} +1 -1
- package/chunks/{chunk-MSLKI6C2.js → chunk-2LEOZTBT.js} +49 -26
- package/chunks/{chunk-3QMGYBFN.js → chunk-3APUUXRF.js} +1 -80
- package/chunks/{chunk-VV6XU5L7.js → chunk-3F2WDAV6.js} +16 -11
- package/chunks/{chunk-MUP3T3AD.js → chunk-3I6DUGQD.js} +1 -35
- package/chunks/{chunk-66RMLJHC.js → chunk-44F4LBWZ.js} +577 -208
- package/chunks/{chunk-VAK25FTU.js → chunk-45IOTAUS.js} +1 -1
- package/chunks/{chunk-JZA3JUDJ.js → chunk-4KP2F2TE.js} +1 -1
- package/chunks/{chunk-DM4Q4JJH.js → chunk-54YCNSK5.js} +36562 -45062
- package/chunks/{chunk-2Q3OT4OV.js → chunk-56Z7QEAQ.js} +200 -77
- 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-YAF5VNU7.js → chunk-6CQWRWUC.js} +4 -5
- package/chunks/chunk-6FMJLI5M.js +1591 -0
- package/chunks/{chunk-HV3G62R6.js → chunk-6MPDY6ZG.js} +1 -1
- package/chunks/{chunk-32MVHM4T.js → chunk-6PQPKTXP.js} +1 -1
- package/chunks/{chunk-LG4GZIVV.js → chunk-6TAASXWL.js} +4 -4
- package/chunks/{chunk-OJGCZBB7.js → chunk-77V3VIKL.js} +41 -36
- package/chunks/{chunk-2OM7GEXO.js → chunk-7KAXXBER.js} +3 -3
- package/chunks/{chunk-2JM6GZ5D.js → chunk-7SJN2IWT.js} +8 -13
- package/chunks/{chunk-UUUTRMI2.js → chunk-7ULQIS27.js} +1 -1
- package/chunks/{chunk-2YZJCM5T.js → chunk-A7Y5H4TX.js} +4 -4
- package/chunks/{chunk-TOFQCPDC.js → chunk-AOHY3QJ3.js} +14 -8
- package/chunks/chunk-AQ37AY7B.js +93 -0
- package/chunks/{chunk-B6ZJ7SI6.js → chunk-AUOULH6Q.js} +383 -320
- package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
- package/chunks/{chunk-UH3WSE5L.js → chunk-B4AJNNOL.js} +1 -6
- package/chunks/{chunk-7FZEBPKS.js → chunk-BBIQAX4V.js} +23 -18
- package/chunks/{chunk-L26JL52R.js → chunk-CBBP4BMC.js} +64 -67
- package/chunks/{chunk-ZD6UTE4A.js → chunk-CNTR4GR6.js} +1 -1
- package/chunks/{chunk-4M377AZG.js → chunk-CO2U743O.js} +6 -6
- package/chunks/{chunk-3SJ43L4W.js → chunk-CPZAH673.js} +6 -0
- package/chunks/{chunk-VFSJ5VRH.js → chunk-CU47KXB5.js} +3 -3
- package/chunks/{chunk-EPDRMGT4.js → chunk-D4HTUMGX.js} +4 -28
- package/chunks/{chunk-XHRTVPG2.js → chunk-D6MDRSZ6.js} +7 -7
- package/chunks/{chunk-BYFNTGKI.js → chunk-DEEABGH2.js} +3111 -989
- package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
- package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
- package/chunks/{chunk-B4UMZKMU.js → chunk-DQ2O5QOJ.js} +1 -1
- package/chunks/{chunk-DLWL3Z7A.js → chunk-DSFHVTWD.js} +3 -3
- package/chunks/{chunk-RWS5VYWC.js → chunk-DUNI4EBW.js} +950 -446
- package/chunks/{chunk-NL7LTRLR.js → chunk-E2BHWIDT.js} +48 -72
- package/chunks/{chunk-3MSHSCSN.js → chunk-E2FN6SM7.js} +93 -3
- package/chunks/{chunk-USTWD7QV.js → chunk-E6CJ2SMM.js} +26 -16
- package/chunks/{chunk-TF2X2WCT.js → chunk-EQNUDTL6.js} +2 -2
- package/chunks/{chunk-PANH4R3B.js → chunk-EU5TBFJI.js} +18 -12
- package/chunks/{chunk-W4CQXHT6.js → chunk-FANRZEAJ.js} +1 -1
- package/chunks/{chunk-WBL3FJEU.js → chunk-FC4KQFCS.js} +1 -1
- package/chunks/{chunk-N3FAY5CM.js → chunk-FCYYAB4S.js} +157 -4
- package/chunks/{chunk-OKY7HXPG.js → chunk-FJ5WUMUQ.js} +2 -2
- package/chunks/{chunk-M4UKFCZ2.js → chunk-FNDXMN7I.js} +231 -171
- package/chunks/{chunk-FQK6JAFG.js → chunk-FS674JW4.js} +4 -4
- package/chunks/chunk-FYJ7W2PI.js +194 -0
- package/chunks/{chunk-INADJJGW.js → chunk-G7XXKQYS.js} +2 -2
- package/chunks/{chunk-LNARWLZQ.js → chunk-GJ2GBPBD.js} +2 -2
- package/chunks/{chunk-E5WH5O3C.js → chunk-GL4JOZXU.js} +4 -4
- package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
- package/chunks/{chunk-KU5XMLDK.js → chunk-GURGAJTX.js} +4 -1
- package/chunks/{chunk-5THCYPLO.js → chunk-H6I4PGRV.js} +15 -8
- package/chunks/{chunk-A5L3JMUA.js → chunk-HC45LTEN.js} +18 -4
- package/chunks/{chunk-U7TXFVUN.js → chunk-HIVKI6O6.js} +118 -95
- package/chunks/{chunk-QY5MMZ6O.js → chunk-HX6RLYUO.js} +3 -3
- package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
- package/chunks/{chunk-ER5LWJR6.js → chunk-I5BT7ADR.js} +3 -3
- package/chunks/{chunk-L5UHQJTJ.js → chunk-IGTHU3T4.js} +1 -1
- package/chunks/{chunk-BIQWWWJN.js → chunk-IIUGIWWY.js} +1 -1
- package/chunks/{chunk-ML52PL6O.js → chunk-JCJ7LKNA.js} +5856 -5334
- package/chunks/{chunk-B7QDM6Z7.js → chunk-JE2CEOBO.js} +2 -2
- package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
- package/chunks/{chunk-P5V4T7NK.js → chunk-JJPKFJBT.js} +11 -3
- package/chunks/{chunk-J6D3VXCC.js → chunk-JLZ3RBQG.js} +18 -5
- package/chunks/{chunk-PWTZEM3C.js → chunk-JXVC2PL3.js} +3 -37
- package/chunks/chunk-JYBU6YUE.js +378 -0
- package/chunks/{chunk-JCW2R7WC.js → chunk-K623ENWT.js} +3 -79
- package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
- package/chunks/{chunk-Z5BLYMZM.js → chunk-KR32NIAN.js} +6 -6
- package/chunks/{chunk-MK7VQDN3.js → chunk-KWHKHSIS.js} +8 -6
- package/chunks/{chunk-5U4IPFBR.js → chunk-KXDONCPU.js} +4 -4
- package/chunks/{chunk-DHHOYAPR.js → chunk-L2E5GFAG.js} +7 -7
- package/chunks/{chunk-V6VRAM7B.js → chunk-L32VV3ZJ.js} +12 -12
- 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-CC4N4M36.js → chunk-LYI2PZDK.js} +1 -1
- package/chunks/{chunk-3JAQDSXN.js → chunk-MB32MS4U.js} +80 -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-C3NS4F2Q.js → chunk-NHFEMWAZ.js} +1 -1
- package/chunks/{chunk-6PSLCFQ2.js → chunk-NTDH4IML.js} +18 -9
- 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-ZE5WPL4I.js → chunk-OFZKFPYG.js} +3 -3
- package/chunks/{chunk-KIUFNBHR.js → chunk-P5VC5USY.js} +1 -1
- package/chunks/chunk-P755N4CS.js +2196 -0
- package/chunks/{chunk-BRRAJXPA.js → chunk-PCK4B6LR.js} +1 -1
- package/chunks/{chunk-TQCBGUHN.js → chunk-PJOHNFIY.js} +5 -5
- package/chunks/{chunk-G4WFQUYQ.js → chunk-PVNQRENX.js} +1 -1
- package/chunks/{chunk-DM22XS4K.js → chunk-PZEXDV3H.js} +357 -13
- package/chunks/{chunk-2JZBVYTU.js → chunk-Q3T5KA2V.js} +1 -8
- package/chunks/{chunk-SASBXAQL.js → chunk-Q5WZTTWE.js} +4 -4
- package/chunks/{chunk-SRZ6DXVG.js → chunk-QARJNL2V.js} +44 -136
- package/chunks/{chunk-YH6G52F2.js → chunk-QCXGC7QB.js} +4 -4
- package/chunks/{chunk-SQBYH7PX.js → chunk-QDK4F2N5.js} +1 -1
- package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
- package/chunks/{chunk-H5FFA6TH.js → chunk-QTHQ6Z5X.js} +16 -3
- package/chunks/{chunk-5I2IWRSH.js → chunk-R2XWGR75.js} +2 -2
- package/chunks/{chunk-PHVR5UUY.js → chunk-RDJOB6S3.js} +1 -1
- package/chunks/{chunk-GDIPH4JY.js → chunk-RG64CDT2.js} +6 -6
- package/chunks/{chunk-3HBZKBMQ.js → chunk-RSVPYAGK.js} +5 -5
- 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-OHNBB4XR.js → chunk-THVU3RNH.js} +1 -1
- package/chunks/{record-artifact-RQKFYO5B.js → chunk-TIRRPCFS.js} +22 -7
- package/chunks/chunk-TTJZAIFP.js +319 -0
- package/chunks/{chunk-63P4EL5V.js → chunk-TZTAV5RH.js} +1 -1
- package/chunks/{chunk-52O2CIUL.js → chunk-UV6KF7T3.js} +130 -5
- package/chunks/{chunk-QPDRAXDJ.js → chunk-V25K5ID7.js} +1 -1
- package/chunks/{chunk-3IXOIAKE.js → chunk-V4XNUDPE.js} +18 -6
- package/chunks/{chunk-WDSWXQU3.js → chunk-VEMNQMHA.js} +2 -2
- package/chunks/{chunk-LNURQEMZ.js → chunk-VMX5RZQH.js} +12 -10
- package/chunks/{chunk-JALU3ZDU.js → chunk-W3UKBMSI.js} +154 -16
- package/chunks/{chunk-DN6ZX5AY.js → chunk-WWCMSZII.js} +61 -14
- package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
- package/chunks/{chunk-FY3M44RD.js → chunk-XP4L6KS3.js} +3 -3
- package/chunks/{chunk-6FGBXPWM.js → chunk-XQK4XXTN.js} +38 -44
- package/chunks/{chunk-A6UO2C7C.js → chunk-XUGZYLDH.js} +167 -81
- package/chunks/{chunk-LZEMEFKY.js → chunk-YANIWTRZ.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-BJX6ZSUK.js → chunk-YUFIEIWC.js} +2 -2
- package/chunks/{chunk-BO4XCS7P.js → chunk-Z3S5EMOW.js} +20 -85
- package/chunks/chunk-Z4X5MTRT.js +133 -0
- package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
- package/chunks/{chunk-PSWQZHEA.js → chunk-ZMOJ7ISP.js} +1 -1
- package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
- package/chunks/{chunk-MVS3NS2N.js → chunk-ZPZ7ZJEE.js} +28 -5
- package/chunks/{computer-use-DOFAHZAB.js → computer-use-5QWCFNKD.js} +52 -50
- package/chunks/{config-utils-VFQXVGNR.js → config-utils-WADIDWGG.js} +4 -4
- package/chunks/contextCommand-4Z7T7TUM.js +83 -0
- package/chunks/core-runtime-6N4EFC2Q.js +137 -0
- package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-62YZWVAY.js} +3 -3
- package/chunks/{create-sub-session-7543K2QA.js → create-sub-session-AEREHZBQ.js} +49 -47
- 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-VOMQW7KZ.js → daemon-PCNCI5YU.js} +239 -18
- package/chunks/daemon-status-provider-DDF7C5M7.js +93 -0
- package/chunks/daemon-trust-policy-Q4KSOJTR.js +88 -0
- package/chunks/daemon-trust-policy-monitor-V6FTE3IY.js +175 -0
- package/chunks/{de-HGRCYDEJ.js → de-SY6O76BF.js} +6 -1
- package/chunks/deferred-core-runtime-GHJ5GQHK.js +92 -0
- package/chunks/dist-26BIMQT6.js +4487 -0
- package/chunks/{dist-KTYYJ2C5.js → dist-2PERFI23.js} +12 -9
- package/chunks/{dist-NNVBBOGU.js → dist-OAOC5OV4.js} +2 -2
- package/chunks/{dist-K6Y4E7FX.js → dist-PVEAFLHY.js} +5 -4
- package/chunks/{dist-RTJFMNEZ.js → dist-SL2LUMML.js} +1449 -14
- package/chunks/dist-ULIG4M5H.js +13415 -0
- package/chunks/{dist-ANLAT3GS.js → dist-WGMNT3JQ.js} +2 -1
- package/chunks/{dist-BRB6EXK4.js → dist-ZHXOBXDN.js} +3 -3
- package/chunks/earlyInputCapture-TQXLLISD.js +85 -0
- package/chunks/{edit-RIEOJWKB.js → edit-FJEUV6KZ.js} +51 -49
- package/chunks/{en-MTWBNGDO.js → en-NBK3JKCE.js} +9 -1
- package/chunks/{enter-worktree-OGK5FQ3R.js → enter-worktree-7GE3TZ4P.js} +51 -49
- package/chunks/{enterPlanMode-IWZYALIB.js → enterPlanMode-KR5TMPCJ.js} +51 -49
- package/chunks/environment-SWL3CMB3.js +105 -0
- package/chunks/errors-XQE7BGZV.js +91 -0
- package/chunks/esm-K5FARBNI.js +5548 -0
- package/chunks/{exit-worktree-4TEYVIVP.js → exit-worktree-CHKTYNCV.js} +51 -49
- package/chunks/exitPlanMode-QYAG6LWX.js +76 -0
- package/chunks/{fast-path-HYE7IFEV.js → fast-path-Z2K7W6DC.js} +13 -3
- package/chunks/{fr-45RLL55O.js → fr-4KG5V7UT.js} +6 -1
- package/chunks/{gemini-NGRQX3YJ.js → gemini-YU4XKEDG.js} +107 -103
- package/chunks/{geminiContentGenerator-FQHPFZSR.js → geminiContentGenerator-ZZX6NBO4.js} +7 -7
- 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-FRTM3X2E.js → glob-VYF5CXSX.js} +51 -49
- package/chunks/goal-tools-HGO6VXPB.js +335 -0
- package/chunks/{grep-RKWVROCW.js → grep-5DP5ZUTW.js} +53 -50
- package/chunks/handleAutoUpdate-UVBJ56DL.js +84 -0
- package/chunks/i18n-UQNYHEUD.js +100 -0
- package/chunks/{image-gen-WIEM7KZA.js → image-gen-WHPIZNWF.js} +12 -12
- package/chunks/initializer-GMIICF4W.js +89 -0
- package/chunks/installationInfo-4MGG4WVI.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-CPN2W334.js +92 -0
- package/chunks/{list-agents-5KJJHR6I.js → list-agents-PXJ7ZUFB.js} +3 -3
- package/chunks/loadedSettingsAdapter-ZQAV5NDO.js +86 -0
- package/chunks/{loggingContentGenerator-WGM27QAW.js → loggingContentGenerator-5E7W4IEP.js} +31 -30
- 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-JQ2CG3RH.js → managed-npm-update-MKKAXYXA.js} +50 -48
- package/chunks/mcp-V5NTJF6X.js +86 -0
- package/chunks/{monitor-7FEWXX5F.js → monitor-CO3ASY6E.js} +51 -49
- package/chunks/nonInteractiveCli-ZJYEOO7U.js +148 -0
- package/chunks/{notebook-edit-JGJV2K6J.js → notebook-edit-Z7AEE6FM.js} +51 -49
- package/chunks/{openaiContentGenerator-JPVXDTAO.js → openaiContentGenerator-CA3MQOP3.js} +25 -27
- package/chunks/pidfile-NL7MKDRU.js +89 -0
- package/chunks/process-registry-2CHQBXH5.js +157 -0
- package/chunks/{processUtils-V2LCK6T6.js → processUtils-PB5K2DYH.js} +2 -2
- package/chunks/{pt-22Q3FP73.js → pt-EQ33KWEN.js} +6 -1
- package/chunks/{qwenContentGenerator-TICV2W2Z.js → qwenContentGenerator-JYFNDCOS.js} +55 -53
- package/chunks/{qwenOAuth2-XGFI5XJG.js → qwenOAuth2-W2ALKQDD.js} +10 -10
- package/chunks/read-file-IEOR5H5W.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-BNBTP5AS.js +94 -0
- package/chunks/ripGrep-UMQODKEB.js +76 -0
- package/chunks/{ru-FZCNZHDC.js → ru-7OZAUKGG.js} +6 -1
- package/chunks/{run-qwen-serve-3VCV4I7E.js → run-qwen-serve-RN2R6QQW.js} +982 -263
- package/chunks/runtime-QFJ2MJF5.js +122 -0
- package/chunks/{scheduler-RS2I6RU5.js → scheduler-AMYUFOZI.js} +49 -47
- package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
- package/chunks/{sdk-exporters-http-FS6ZV7MF.js → sdk-exporters-http-4BQANSJ6.js} +7 -7
- package/chunks/{sdk-impl-7FZSCSXB.js → sdk-impl-Z4VXWVFX.js} +10 -10
- package/chunks/{send-message-Q6OOR6BR.js → send-message-PMP4ATVM.js} +8 -13
- package/chunks/serve-EIIYJVX3.js +92 -0
- package/chunks/{server-HRZ23U7M.js → server-EP2LLAPD.js} +4816 -1298
- package/chunks/{session-7XHZKTVV.js → session-GMPZBLOW.js} +101 -97
- package/chunks/{settings-7ZGZDXAS.js → settings-LN7RNKBS.js} +53 -51
- package/chunks/shell-EM2OWU5X.js +86 -0
- package/chunks/{skill-LIWXNLDW.js → skill-T5VPSK73.js} +22 -23
- package/chunks/skill-settings-GMR3GMNY.js +94 -0
- package/chunks/spawnChannel-YPCU62DI.js +85 -0
- package/chunks/standalone-update-JAKIM2NF.js +95 -0
- package/chunks/{startInteractiveUI-IW3CSKHA.js → startInteractiveUI-YETQWGYF.js} +1240 -903
- 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-O2FROQ4R.js → team-create-LFJ6HGNY.js} +53 -51
- package/chunks/{team-delete-QE2UXJL7.js → team-delete-DPGGRQBU.js} +7 -7
- package/chunks/{team-plan-approval-Q6WDBXTQ.js → team-plan-approval-C2KLSDGO.js} +51 -49
- package/chunks/theme-manager-JQ3ZGBP5.js +80 -0
- package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-2UO5G6G6.js} +34 -6
- package/chunks/{tool-search-APECNQ3Z.js → tool-search-FAZBFRJZ.js} +21 -22
- package/chunks/total-session-admission-5CALIVYO.js +88 -0
- package/chunks/{tree-sitter-FS4VPMZA.js → tree-sitter-4D7QS7F6.js} +1 -1
- package/chunks/{tree-sitter-bash-6B46JJCV.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
- package/chunks/trustedFolders-KOPSP44S.js +98 -0
- package/chunks/{update-relaunch-ON5MDJQG.js → update-relaunch-6QL2TICS.js} +5 -5
- package/chunks/updateCheck-4Q6RIKFW.js +95 -0
- package/chunks/useAutoAcceptIndicator-Q5BMKZV3.js +96 -0
- package/chunks/{validateNonInterActiveAuth-JBLKBKRD.js → validateNonInterActiveAuth-GKOC5F6Z.js} +95 -91
- package/chunks/{version-LTNUBQJY.js → version-VSATY2LD.js} +1 -1
- package/chunks/{web-fetch-L5UTI53V.js → web-fetch-JCLKL6NL.js} +19 -21
- package/chunks/{web-search-KM33JOS3.js → web-search-DSQTFUBX.js} +13 -13
- package/chunks/{workflow-K7FAWV77.js → workflow-M6QAVKVJ.js} +52 -50
- package/chunks/workspace-providers-status-YKLTLMJA.js +89 -0
- package/chunks/{workspace-registration-store-6TGVDJV5.js → workspace-registration-store-5DMGKU64.js} +1 -1
- package/chunks/workspace-registry-PTYUSYXX.js +96 -0
- package/chunks/workspace-service-25ML3T47.js +103 -0
- package/chunks/workspace-skills-status-YKZWOYRX.js +89 -0
- package/chunks/workspace-trust-reconciler-5FI2S3OS.js +349 -0
- package/chunks/write-file-AY7VLP5X.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-S4LJZMD5.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-BbHijhiN.js → arc-xjArKHU2.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-Cb4B_JD0.js → architectureDiagram-3BPJPVTR-BgrQDNYG.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-Dsjlh3H-.js → blockDiagram-GPEHLZMM-CXxWC-1_.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-Cp5AeR4U.js → c4Diagram-AAUBKEIU-Dx1tLm3v.js} +1 -1
- package/web-shell/assets/channel-B1cyk94G.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-CLcY7W2e.js → chunk-2J33WTMH-CBxjogVR.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BUhvY2LR.js → chunk-4BX2VUAB-izb-rY5W.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-kDIFC_71.js → chunk-55IACEB6-NzLyvSb8.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CIBO15f2.js → chunk-727SXJPM-DVyKb0dl.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BJ_T_slV.js → chunk-AQP2D5EJ-BtqL7NzB.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BEkW35J8.js → chunk-FMBD7UC4-iNpdKIO0.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-GGPxofay.js → chunk-ND2GUHAM-DI7cbFmX.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-Bifllrb6.js → chunk-QZHKN3VN-3Y_-xFYs.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BpBYZoRE.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BpBYZoRE.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-C-Add_Dp.js → cose-bilkent-S5V4N54A--raRatZn.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-B7MfwNq2.js → dagre-BM42HDAG-B8SU70mO.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-CY_0zuDz.js → diagram-2AECGRRQ-ewgoakXo.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-VyYSbCgA.js → diagram-5GNKFQAL-Bm_JLTnS.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CBiIZ2PL.js → diagram-KO2AKTUF-DEIUjUy9.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BL3CrVOx.js → diagram-LMA3HP47-C2Wmrpj-.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-CZUPx96P.js → diagram-OG6HWLK6-CtYe6bFx.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-B81xHr1-.js → erDiagram-TEJ5UH35-DfpHcWLV.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-EZWhir-J.js → flowDiagram-I6XJVG4X-CAiUhio5.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CVFSuIAg.js → ganttDiagram-6RSMTGT7-CYc7ezr4.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-C1H2uQDv.js → gitGraphDiagram-PVQCEYII-70lbkcRS.js} +1 -1
- package/web-shell/assets/index-C1k3PDuU.css +5 -0
- package/web-shell/assets/index-C2GE3DAF.js +74 -0
- package/web-shell/assets/index-DZLIXILO.js +1750 -0
- package/web-shell/assets/{index-BYo99NBH.js → index-Ww86nT9f.js} +1 -1
- package/web-shell/assets/{infoDiagram-5YYISTIA-BwyFMlF8.js → infoDiagram-5YYISTIA-C7e8DWPa.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CQ7Yhn2Y.js → ishikawaDiagram-YF4QCWOH-BYLr2op-.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CJn2sf0l.js → journeyDiagram-JHISSGLW-hEibAHKX.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-DaNRqwVN.js → kanban-definition-UN3LZRKU-F2rt8Uhp.js} +1 -1
- package/web-shell/assets/{linear-DCKODZe2.js → linear-DPhyNezd.js} +1 -1
- package/web-shell/assets/{mermaid.core-CTGJOk27.js → mermaid.core-ZUtnug0n.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BKU3_3rg.js → mindmap-definition-RKZ34NQL-DDWcMoi8.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-COcwBJ82.js → pieDiagram-4H26LBE5-CTRKzw1_.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CQnQ443x.js → quadrantDiagram-W4KKPZXB-CAEwYG_z.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CZ2oj5cD.js → requirementDiagram-4Y6WPE33-CRjnH9D9.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BxAv5mNu.js → sankeyDiagram-5OEKKPKP-LPQT_sOd.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CztaySPs.js → sequenceDiagram-3UESZ5HK-Ht2Iqvb0.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CTQT1oGD.js → stateDiagram-AJRCARHV-CIUdqOXu.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BmqqQZ6w.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-K9Mkex5A.js → timeline-definition-PNZ67QCA-BcilneZF.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-B2rVIw76.js → vennDiagram-CIIHVFJN-BljwiiH1.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-Z1w2JR4M.js → wardley-L42UT6IY-DeKjkYjq.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CIX9aKXf.js → wardleyDiagram-YWT4CUSO-L3U1H7KG.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-CI9DLIKB.js → xychartDiagram-2RQKCTM6-IJnWsgMT.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/MaxSizedBox-INHRH72H.js +0 -86
- package/chunks/agent-VXDAN5JK.js +0 -82
- package/chunks/agent-headless-K4ZMMNBD.js +0 -76
- package/chunks/bridge-LGPZCFHO.js +0 -91
- package/chunks/channel-settings-store-CHCDRTPY.js +0 -89
- package/chunks/chunk-SZRN75WQ.js +0 -29
- package/chunks/chunk-UGYMA4EI.js +0 -219
- package/chunks/chunk-VCBZUOSI.js +0 -8575
- package/chunks/contextCommand-QIZYHDR5.js +0 -81
- package/chunks/daemon-status-provider-OS5UWBHV.js +0 -90
- package/chunks/earlyInputCapture-WQT24RWD.js +0 -83
- package/chunks/environment-VZ7BRI4Q.js +0 -103
- package/chunks/errors-PCX25DVP.js +0 -89
- package/chunks/exitPlanMode-GHPUHBZJ.js +0 -423
- package/chunks/handleAutoUpdate-2CZQRJ66.js +0 -82
- package/chunks/i18n-XEQVMRKN.js +0 -98
- package/chunks/initializer-OVGZ4FLY.js +0 -87
- package/chunks/installationInfo-5UUQJI6Y.js +0 -81
- package/chunks/list-HODU6RXD.js +0 -90
- package/chunks/loadedSettingsAdapter-TYNLBALY.js +0 -84
- package/chunks/mcp-J3DFWX4A.js +0 -84
- package/chunks/nonInteractiveCli-F4GYSMHT.js +0 -144
- package/chunks/pidfile-4VNAR3EP.js +0 -87
- package/chunks/read-file-LZXUR4TO.js +0 -31
- package/chunks/resumeHistoryUtils-65OX3SGJ.js +0 -92
- package/chunks/ripGrep-2U2FRGMV.js +0 -74
- package/chunks/runtime-AXJWIEDU.js +0 -120
- package/chunks/serve-W2GC47CM.js +0 -90
- package/chunks/shell-45IPBDP5.js +0 -84
- package/chunks/spawnChannel-PVXQ5AGV.js +0 -83
- package/chunks/src-AY65BYR7.js +0 -3166
- package/chunks/standalone-update-ZMFNKAEY.js +0 -93
- package/chunks/task-create-N7WQSGYA.js +0 -25
- package/chunks/theme-manager-YYPZFBAH.js +0 -78
- package/chunks/total-session-admission-JXES723M.js +0 -85
- package/chunks/trustedFolders-HVI7IXUH.js +0 -94
- package/chunks/updateCheck-WUJGHWZZ.js +0 -93
- package/chunks/useAutoAcceptIndicator-CHSTZLZD.js +0 -94
- package/chunks/workspace-providers-status-GAKSF4LL.js +0 -87
- package/chunks/workspace-registry-A7NQUONG.js +0 -89
- package/chunks/workspace-service-STGVSO4N.js +0 -99
- package/chunks/workspace-skills-status-66AK3DUA.js +0 -86
- package/chunks/write-file-HUUCEG4P.js +0 -74
- package/web-shell/assets/channel-Bzdx6E8P.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Cd6wbiuK.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cd6wbiuK.js +0 -1
- package/web-shell/assets/index-B2bXx96W.js +0 -1249
- package/web-shell/assets/index-_8mKjx8q.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BjMdT6E_.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
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
SPAN_TOOL,
|
|
11
11
|
SPAN_TOOL_BLOCKED_ON_USER,
|
|
12
12
|
SPAN_TOOL_EXECUTION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-G7XXKQYS.js";
|
|
14
14
|
import {
|
|
15
15
|
createDebugLogger,
|
|
16
16
|
getCurrentSessionId,
|
|
17
17
|
setSessionContext,
|
|
18
18
|
setShellTracePropagation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-E2BHWIDT.js";
|
|
20
20
|
import {
|
|
21
21
|
DiagLogLevel,
|
|
22
22
|
ROOT_CONTEXT,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
init_esm,
|
|
30
30
|
metrics,
|
|
31
31
|
trace
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QUGAUQGJ.js";
|
|
33
33
|
import {
|
|
34
34
|
init_esbuild_shims
|
|
35
35
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -260,42 +260,6 @@ var PERFORMANCE_HISTOGRAM_DEFINITIONS = {
|
|
|
260
260
|
attributes: {}
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
|
-
var FileOperation = /* @__PURE__ */ ((FileOperation2) => {
|
|
264
|
-
FileOperation2["CREATE"] = "create";
|
|
265
|
-
FileOperation2["READ"] = "read";
|
|
266
|
-
FileOperation2["UPDATE"] = "update";
|
|
267
|
-
return FileOperation2;
|
|
268
|
-
})(FileOperation || {});
|
|
269
|
-
var PerformanceMetricType = /* @__PURE__ */ ((PerformanceMetricType2) => {
|
|
270
|
-
PerformanceMetricType2["STARTUP"] = "startup";
|
|
271
|
-
PerformanceMetricType2["MEMORY"] = "memory";
|
|
272
|
-
PerformanceMetricType2["CPU"] = "cpu";
|
|
273
|
-
PerformanceMetricType2["TOOL_EXECUTION"] = "tool_execution";
|
|
274
|
-
PerformanceMetricType2["API_REQUEST"] = "api_request";
|
|
275
|
-
PerformanceMetricType2["TOKEN_EFFICIENCY"] = "token_efficiency";
|
|
276
|
-
return PerformanceMetricType2;
|
|
277
|
-
})(PerformanceMetricType || {});
|
|
278
|
-
var MemoryMetricType = /* @__PURE__ */ ((MemoryMetricType2) => {
|
|
279
|
-
MemoryMetricType2["HEAP_USED"] = "heap_used";
|
|
280
|
-
MemoryMetricType2["HEAP_TOTAL"] = "heap_total";
|
|
281
|
-
MemoryMetricType2["EXTERNAL"] = "external";
|
|
282
|
-
MemoryMetricType2["RSS"] = "rss";
|
|
283
|
-
return MemoryMetricType2;
|
|
284
|
-
})(MemoryMetricType || {});
|
|
285
|
-
var ToolExecutionPhase = /* @__PURE__ */ ((ToolExecutionPhase2) => {
|
|
286
|
-
ToolExecutionPhase2["VALIDATION"] = "validation";
|
|
287
|
-
ToolExecutionPhase2["PREPARATION"] = "preparation";
|
|
288
|
-
ToolExecutionPhase2["EXECUTION"] = "execution";
|
|
289
|
-
ToolExecutionPhase2["RESULT_PROCESSING"] = "result_processing";
|
|
290
|
-
return ToolExecutionPhase2;
|
|
291
|
-
})(ToolExecutionPhase || {});
|
|
292
|
-
var ApiRequestPhase = /* @__PURE__ */ ((ApiRequestPhase2) => {
|
|
293
|
-
ApiRequestPhase2["REQUEST_PREPARATION"] = "request_preparation";
|
|
294
|
-
ApiRequestPhase2["NETWORK_LATENCY"] = "network_latency";
|
|
295
|
-
ApiRequestPhase2["RESPONSE_PROCESSING"] = "response_processing";
|
|
296
|
-
ApiRequestPhase2["TOKEN_PROCESSING"] = "token_processing";
|
|
297
|
-
return ApiRequestPhase2;
|
|
298
|
-
})(ApiRequestPhase || {});
|
|
299
263
|
var cliMeter;
|
|
300
264
|
var toolCallCounter;
|
|
301
265
|
var toolCallLatencyHistogram;
|
|
@@ -542,11 +506,6 @@ function recordFileOperationMetric(config, attributes) {
|
|
|
542
506
|
});
|
|
543
507
|
}
|
|
544
508
|
__name(recordFileOperationMetric, "recordFileOperationMetric");
|
|
545
|
-
function recordInvalidChunk(config) {
|
|
546
|
-
if (!invalidChunkCounter || !isMetricsInitialized) return;
|
|
547
|
-
invalidChunkCounter.add(1, baseMetricDefinition.getCommonAttributes(config));
|
|
548
|
-
}
|
|
549
|
-
__name(recordInvalidChunk, "recordInvalidChunk");
|
|
550
509
|
function recordContentRetry(config) {
|
|
551
510
|
if (!contentRetryCounter || !isMetricsInitialized) return;
|
|
552
511
|
contentRetryCounter.add(1, baseMetricDefinition.getCommonAttributes(config));
|
|
@@ -593,16 +552,6 @@ function initializePerformanceMonitoring(config) {
|
|
|
593
552
|
);
|
|
594
553
|
}
|
|
595
554
|
__name(initializePerformanceMonitoring, "initializePerformanceMonitoring");
|
|
596
|
-
function recordStartupPerformance(config, durationMs, attributes) {
|
|
597
|
-
if (!startupTimeHistogram || !isPerformanceMonitoringEnabled) return;
|
|
598
|
-
const metricAttributes = {
|
|
599
|
-
...baseMetricDefinition.getCommonAttributes(config),
|
|
600
|
-
phase: attributes.phase,
|
|
601
|
-
...attributes.details
|
|
602
|
-
};
|
|
603
|
-
startupTimeHistogram.record(durationMs, metricAttributes);
|
|
604
|
-
}
|
|
605
|
-
__name(recordStartupPerformance, "recordStartupPerformance");
|
|
606
555
|
function recordMemoryUsage(config, bytes, attributes) {
|
|
607
556
|
if (!memoryUsageGauge || !isPerformanceMonitoringEnabled) return;
|
|
608
557
|
const metricAttributes = {
|
|
@@ -621,33 +570,6 @@ function recordCpuUsage(config, percentage, attributes) {
|
|
|
621
570
|
cpuUsageGauge.record(percentage, metricAttributes);
|
|
622
571
|
}
|
|
623
572
|
__name(recordCpuUsage, "recordCpuUsage");
|
|
624
|
-
function recordToolQueueDepth(config, queueDepth) {
|
|
625
|
-
if (!toolQueueDepthGauge || !isPerformanceMonitoringEnabled) return;
|
|
626
|
-
const attributes = {
|
|
627
|
-
...baseMetricDefinition.getCommonAttributes(config)
|
|
628
|
-
};
|
|
629
|
-
toolQueueDepthGauge.record(queueDepth, attributes);
|
|
630
|
-
}
|
|
631
|
-
__name(recordToolQueueDepth, "recordToolQueueDepth");
|
|
632
|
-
function recordToolExecutionBreakdown(config, durationMs, attributes) {
|
|
633
|
-
if (!toolExecutionBreakdownHistogram || !isPerformanceMonitoringEnabled)
|
|
634
|
-
return;
|
|
635
|
-
const metricAttributes = {
|
|
636
|
-
...baseMetricDefinition.getCommonAttributes(config),
|
|
637
|
-
...attributes
|
|
638
|
-
};
|
|
639
|
-
toolExecutionBreakdownHistogram.record(durationMs, metricAttributes);
|
|
640
|
-
}
|
|
641
|
-
__name(recordToolExecutionBreakdown, "recordToolExecutionBreakdown");
|
|
642
|
-
function recordTokenEfficiency(config, value, attributes) {
|
|
643
|
-
if (!tokenEfficiencyHistogram || !isPerformanceMonitoringEnabled) return;
|
|
644
|
-
const metricAttributes = {
|
|
645
|
-
...baseMetricDefinition.getCommonAttributes(config),
|
|
646
|
-
...attributes
|
|
647
|
-
};
|
|
648
|
-
tokenEfficiencyHistogram.record(value, metricAttributes);
|
|
649
|
-
}
|
|
650
|
-
__name(recordTokenEfficiency, "recordTokenEfficiency");
|
|
651
573
|
function recordApiRequestBreakdown(config, durationMs, attributes) {
|
|
652
574
|
if (!apiRequestBreakdownHistogram || !isPerformanceMonitoringEnabled) return;
|
|
653
575
|
const metricAttributes = {
|
|
@@ -657,45 +579,6 @@ function recordApiRequestBreakdown(config, durationMs, attributes) {
|
|
|
657
579
|
apiRequestBreakdownHistogram.record(durationMs, metricAttributes);
|
|
658
580
|
}
|
|
659
581
|
__name(recordApiRequestBreakdown, "recordApiRequestBreakdown");
|
|
660
|
-
function recordPerformanceScore(config, score, attributes) {
|
|
661
|
-
if (!performanceScoreGauge || !isPerformanceMonitoringEnabled) return;
|
|
662
|
-
const metricAttributes = {
|
|
663
|
-
...baseMetricDefinition.getCommonAttributes(config),
|
|
664
|
-
...attributes
|
|
665
|
-
};
|
|
666
|
-
performanceScoreGauge.record(score, metricAttributes);
|
|
667
|
-
}
|
|
668
|
-
__name(recordPerformanceScore, "recordPerformanceScore");
|
|
669
|
-
function recordPerformanceRegression(config, attributes) {
|
|
670
|
-
if (!regressionDetectionCounter || !isPerformanceMonitoringEnabled) return;
|
|
671
|
-
const metricAttributes = {
|
|
672
|
-
...baseMetricDefinition.getCommonAttributes(config),
|
|
673
|
-
...attributes
|
|
674
|
-
};
|
|
675
|
-
regressionDetectionCounter.add(1, metricAttributes);
|
|
676
|
-
if (attributes.baseline_value !== 0 && regressionPercentageChangeHistogram) {
|
|
677
|
-
const percentageChange = (attributes.current_value - attributes.baseline_value) / attributes.baseline_value * 100;
|
|
678
|
-
regressionPercentageChangeHistogram.record(
|
|
679
|
-
percentageChange,
|
|
680
|
-
metricAttributes
|
|
681
|
-
);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
__name(recordPerformanceRegression, "recordPerformanceRegression");
|
|
685
|
-
function recordBaselineComparison(config, attributes) {
|
|
686
|
-
if (!baselineComparisonHistogram || !isPerformanceMonitoringEnabled) return;
|
|
687
|
-
if (attributes.baseline_value === 0) {
|
|
688
|
-
diag.warn("Baseline value is zero, skipping comparison.");
|
|
689
|
-
return;
|
|
690
|
-
}
|
|
691
|
-
const percentageChange = (attributes.current_value - attributes.baseline_value) / attributes.baseline_value * 100;
|
|
692
|
-
const metricAttributes = {
|
|
693
|
-
...baseMetricDefinition.getCommonAttributes(config),
|
|
694
|
-
...attributes
|
|
695
|
-
};
|
|
696
|
-
baselineComparisonHistogram.record(percentageChange, metricAttributes);
|
|
697
|
-
}
|
|
698
|
-
__name(recordBaselineComparison, "recordBaselineComparison");
|
|
699
582
|
function isPerformanceMonitoringActive() {
|
|
700
583
|
return isPerformanceMonitoringEnabled && isMetricsInitialized;
|
|
701
584
|
}
|
|
@@ -961,7 +844,7 @@ function initializeTelemetry(config) {
|
|
|
961
844
|
telemetryInitPromise ??= (async () => {
|
|
962
845
|
const debugLogger3 = createDebugLogger("OTEL");
|
|
963
846
|
try {
|
|
964
|
-
const { startTelemetrySdk } = await import("./sdk-impl-
|
|
847
|
+
const { startTelemetrySdk } = await import("./sdk-impl-Z4VXWVFX.js");
|
|
965
848
|
if (telemetryInitialized) return;
|
|
966
849
|
const started = await startTelemetrySdk(config);
|
|
967
850
|
if (!started) return;
|
|
@@ -1101,6 +984,7 @@ var NOOP_SPAN = trace.wrapSpanContext({
|
|
|
1101
984
|
var interactionContext = new AsyncLocalStorage();
|
|
1102
985
|
var toolContext = new AsyncLocalStorage();
|
|
1103
986
|
var subagentContext = new AsyncLocalStorage();
|
|
987
|
+
var interactionIdentityByPromptId = /* @__PURE__ */ new Map();
|
|
1104
988
|
function isInNativeSubagentSpan() {
|
|
1105
989
|
const ctx = subagentContext.getStore();
|
|
1106
990
|
return ctx !== void 0 && !ctx.ended;
|
|
@@ -1111,6 +995,12 @@ function resolveSessionId(parentCtx) {
|
|
|
1111
995
|
return typeof fromParent === "string" && fromParent ? fromParent : getCurrentSessionId();
|
|
1112
996
|
}
|
|
1113
997
|
__name(resolveSessionId, "resolveSessionId");
|
|
998
|
+
function resolveGenAiUserId(parentCtx, promptId) {
|
|
999
|
+
const logicalParent = parentCtx ?? (promptId ? interactionIdentityByPromptId.get(promptId) : void 0);
|
|
1000
|
+
const value = logicalParent?.attributes["gen_ai.user.id"];
|
|
1001
|
+
return typeof value === "string" && value ? value : void 0;
|
|
1002
|
+
}
|
|
1003
|
+
__name(resolveGenAiUserId, "resolveGenAiUserId");
|
|
1114
1004
|
var activeSpans = /* @__PURE__ */ new Map();
|
|
1115
1005
|
var strongSpans = /* @__PURE__ */ new Map();
|
|
1116
1006
|
var interactionSequence = 0;
|
|
@@ -1133,6 +1023,11 @@ function ttlFor(ctx) {
|
|
|
1133
1023
|
}
|
|
1134
1024
|
__name(ttlFor, "ttlFor");
|
|
1135
1025
|
function sweepStaleSpans(now) {
|
|
1026
|
+
for (const [promptId, ctx] of interactionIdentityByPromptId) {
|
|
1027
|
+
if (now - ctx.startTime >= SPAN_TTL_MS_DEFAULT) {
|
|
1028
|
+
interactionIdentityByPromptId.delete(promptId);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1136
1031
|
for (const [spanId, weakRef] of activeSpans) {
|
|
1137
1032
|
const ctx = weakRef.deref();
|
|
1138
1033
|
if (ctx === void 0) {
|
|
@@ -1222,8 +1117,10 @@ function startInteractionSpan(config, options) {
|
|
|
1222
1117
|
if (!isTelemetrySdkInitialized()) return;
|
|
1223
1118
|
ensureCleanupInterval();
|
|
1224
1119
|
interactionSequence++;
|
|
1120
|
+
const userId = config.getTelemetryUserId();
|
|
1225
1121
|
const attributes = {
|
|
1226
1122
|
"session.id": config.getSessionId(),
|
|
1123
|
+
...userId ? { "gen_ai.user.id": userId } : {},
|
|
1227
1124
|
"qwen-code.prompt_id": options.promptId,
|
|
1228
1125
|
"qwen-code.message_type": options.messageType,
|
|
1229
1126
|
"qwen-code.model": options.model,
|
|
@@ -1244,6 +1141,14 @@ function startInteractionSpan(config, options) {
|
|
|
1244
1141
|
};
|
|
1245
1142
|
activeSpans.set(spanId, new WeakRef(spanContextObj));
|
|
1246
1143
|
strongSpans.set(spanId, spanContextObj);
|
|
1144
|
+
if (userId) {
|
|
1145
|
+
interactionIdentityByPromptId.set(options.promptId, {
|
|
1146
|
+
startTime: spanContextObj.startTime,
|
|
1147
|
+
attributes: { "gen_ai.user.id": userId }
|
|
1148
|
+
});
|
|
1149
|
+
} else {
|
|
1150
|
+
interactionIdentityByPromptId.delete(options.promptId);
|
|
1151
|
+
}
|
|
1247
1152
|
lastInteractionCtx = spanContextObj;
|
|
1248
1153
|
interactionContext.enterWith(spanContextObj);
|
|
1249
1154
|
}
|
|
@@ -1283,8 +1188,10 @@ async function withInteractionSpan(config, options, fn, getResultStatus) {
|
|
|
1283
1188
|
if (!isTelemetrySdkInitialized()) return await fn();
|
|
1284
1189
|
ensureCleanupInterval();
|
|
1285
1190
|
interactionSequence++;
|
|
1191
|
+
const userId = config.getTelemetryUserId();
|
|
1286
1192
|
const attributes = {
|
|
1287
1193
|
"session.id": config.getSessionId(),
|
|
1194
|
+
...userId ? { "gen_ai.user.id": userId } : {},
|
|
1288
1195
|
"qwen-code.prompt_id": options.promptId,
|
|
1289
1196
|
"qwen-code.message_type": options.messageType,
|
|
1290
1197
|
"qwen-code.model": options.model,
|
|
@@ -1309,6 +1216,14 @@ async function withInteractionSpan(config, options, fn, getResultStatus) {
|
|
|
1309
1216
|
};
|
|
1310
1217
|
activeSpans.set(spanId, new WeakRef(spanContextObj));
|
|
1311
1218
|
strongSpans.set(spanId, spanContextObj);
|
|
1219
|
+
if (userId) {
|
|
1220
|
+
interactionIdentityByPromptId.set(options.promptId, {
|
|
1221
|
+
startTime: spanContextObj.startTime,
|
|
1222
|
+
attributes: { "gen_ai.user.id": userId }
|
|
1223
|
+
});
|
|
1224
|
+
} else {
|
|
1225
|
+
interactionIdentityByPromptId.delete(options.promptId);
|
|
1226
|
+
}
|
|
1312
1227
|
const activeContext = trace.setSpan(parentContext, span);
|
|
1313
1228
|
return await context.with(
|
|
1314
1229
|
activeContext,
|
|
@@ -1361,9 +1276,11 @@ function startLLMRequestSpan(model, promptId, options) {
|
|
|
1361
1276
|
const parentCtx = subagentContext.getStore() ?? interactionContext.getStore();
|
|
1362
1277
|
const ctx = resolveParentContext(parentCtx);
|
|
1363
1278
|
const sessionId = resolveSessionId(parentCtx);
|
|
1279
|
+
const userId = resolveGenAiUserId(parentCtx, promptId);
|
|
1364
1280
|
const attributes = {
|
|
1365
1281
|
...sessionId ? { "session.id": sessionId } : {},
|
|
1366
1282
|
...sessionId ? { "gen_ai.conversation.id": sessionId } : {},
|
|
1283
|
+
...userId ? { "gen_ai.user.id": userId } : {},
|
|
1367
1284
|
"qwen-code.prompt_id": promptId,
|
|
1368
1285
|
"llm_request.context": subagentContext.getStore() ? "subagent" : interactionContext.getStore() ? "interaction" : "standalone",
|
|
1369
1286
|
// Emit the version-pinned OTel GenAI semantic convention.
|
|
@@ -1516,16 +1433,18 @@ function endLLMRequestSpan(span, metadata) {
|
|
|
1516
1433
|
strongSpans.delete(spanId);
|
|
1517
1434
|
}
|
|
1518
1435
|
__name(endLLMRequestSpan, "endLLMRequestSpan");
|
|
1519
|
-
function startToolSpan(toolName, attrs, description) {
|
|
1436
|
+
function startToolSpan(toolName, attrs, description, promptId) {
|
|
1520
1437
|
if (!isTelemetrySdkInitialized()) {
|
|
1521
1438
|
return NOOP_SPAN;
|
|
1522
1439
|
}
|
|
1523
1440
|
const parentCtx = subagentContext.getStore() ?? interactionContext.getStore();
|
|
1524
1441
|
const ctx = resolveParentContext(parentCtx);
|
|
1525
1442
|
const sessionId = resolveSessionId(parentCtx);
|
|
1443
|
+
const userId = resolveGenAiUserId(parentCtx, promptId);
|
|
1526
1444
|
const attributes = {
|
|
1527
1445
|
...sessionId ? { "session.id": sessionId } : {},
|
|
1528
1446
|
...attrs,
|
|
1447
|
+
...userId ? { "gen_ai.user.id": userId } : {},
|
|
1529
1448
|
"gen_ai.operation.name": "execute_tool",
|
|
1530
1449
|
"gen_ai.tool.name": toolName,
|
|
1531
1450
|
"gen_ai.tool.type": "function",
|
|
@@ -1858,11 +1777,14 @@ __name(endHookSpan, "endHookSpan");
|
|
|
1858
1777
|
function startSubagentSpan(opts) {
|
|
1859
1778
|
if (!isTelemetrySdkInitialized()) return NOOP_SPAN;
|
|
1860
1779
|
ensureCleanupInterval();
|
|
1780
|
+
const parentCtx = subagentContext.getStore() ?? toolContext.getStore() ?? interactionContext.getStore();
|
|
1781
|
+
const userId = resolveGenAiUserId(parentCtx);
|
|
1861
1782
|
const attributes = {
|
|
1862
1783
|
// Spec-aligned (OTel GenAI Agent Spans, Development status).
|
|
1863
1784
|
"gen_ai.operation.name": "invoke_agent",
|
|
1864
1785
|
"gen_ai.agent.name": opts.subagentName,
|
|
1865
1786
|
"gen_ai.conversation.id": opts.sessionId,
|
|
1787
|
+
...userId ? { "gen_ai.user.id": userId } : {},
|
|
1866
1788
|
// Vendor identity and lifecycle. The per-invocation ID stays private;
|
|
1867
1789
|
// gen_ai.agent.id is reserved for a stable agent definition identity.
|
|
1868
1790
|
"qwen-code.subagent.id": opts.agentId,
|
|
@@ -1999,11 +1921,6 @@ function getActiveInteractionSpan() {
|
|
|
1999
1921
|
__name(getActiveInteractionSpan, "getActiveInteractionSpan");
|
|
2000
1922
|
|
|
2001
1923
|
export {
|
|
2002
|
-
FileOperation,
|
|
2003
|
-
PerformanceMetricType,
|
|
2004
|
-
MemoryMetricType,
|
|
2005
|
-
ToolExecutionPhase,
|
|
2006
|
-
ApiRequestPhase,
|
|
2007
1924
|
getMeter,
|
|
2008
1925
|
recordChatCompressionMetrics,
|
|
2009
1926
|
recordToolCallMetrics,
|
|
@@ -2011,21 +1928,12 @@ export {
|
|
|
2011
1928
|
recordApiResponseMetrics,
|
|
2012
1929
|
recordApiErrorMetrics,
|
|
2013
1930
|
recordFileOperationMetric,
|
|
2014
|
-
recordInvalidChunk,
|
|
2015
1931
|
recordContentRetry,
|
|
2016
1932
|
recordContentRetryFailure,
|
|
2017
1933
|
recordApiRetry,
|
|
2018
1934
|
recordModelSlashCommand,
|
|
2019
|
-
recordStartupPerformance,
|
|
2020
1935
|
recordMemoryUsage,
|
|
2021
1936
|
recordCpuUsage,
|
|
2022
|
-
recordToolQueueDepth,
|
|
2023
|
-
recordToolExecutionBreakdown,
|
|
2024
|
-
recordTokenEfficiency,
|
|
2025
|
-
recordApiRequestBreakdown,
|
|
2026
|
-
recordPerformanceScore,
|
|
2027
|
-
recordPerformanceRegression,
|
|
2028
|
-
recordBaselineComparison,
|
|
2029
1937
|
isPerformanceMonitoringActive,
|
|
2030
1938
|
recordSubagentExecutionMetrics,
|
|
2031
1939
|
recordArenaSessionStartedMetrics,
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createTask
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SHN4KHDK.js";
|
|
6
6
|
import {
|
|
7
7
|
getPlanRequiredTeammatePreApprovalMessage,
|
|
8
8
|
isPlanRequiredTeammateAwaitingApproval
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CBBP4BMC.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveActiveTeamName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S6LOFUVP.js";
|
|
13
13
|
import {
|
|
14
14
|
BaseDeclarativeTool,
|
|
15
15
|
BaseToolInvocation,
|
|
16
16
|
ToolDisplayNames,
|
|
17
17
|
ToolNames
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MM7TH7ZM.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -16,27 +16,34 @@ function parsePositiveInteger(token) {
|
|
|
16
16
|
return value > 0 ? value : void 0;
|
|
17
17
|
}
|
|
18
18
|
__name(parsePositiveInteger, "parsePositiveInteger");
|
|
19
|
+
function evenStepOf(token, unit) {
|
|
20
|
+
const n = parsePositiveInteger(token);
|
|
21
|
+
if (n === void 0 || n >= unit || unit % n !== 0) return void 0;
|
|
22
|
+
return n;
|
|
23
|
+
}
|
|
24
|
+
__name(evenStepOf, "evenStepOf");
|
|
25
|
+
function isEveryDayStep(token) {
|
|
26
|
+
return parsePositiveInteger(token) === 1;
|
|
27
|
+
}
|
|
28
|
+
__name(isEveryDayStep, "isEveryDayStep");
|
|
19
29
|
function humanReadableCron(cronExpr) {
|
|
20
30
|
const parts = cronExpr.trim().split(/\s+/);
|
|
21
31
|
if (parts.length !== 5) return cronExpr;
|
|
22
32
|
const [min, hour, dom, mon, dow] = parts;
|
|
23
33
|
if (min.startsWith("*/") && hour === "*" && dom === "*" && mon === "*" && dow === "*") {
|
|
24
|
-
const n =
|
|
34
|
+
const n = evenStepOf(min.slice(2), 60);
|
|
25
35
|
if (n !== void 0) {
|
|
26
36
|
return n === 1 ? "Every minute" : `Every ${n} minutes`;
|
|
27
37
|
}
|
|
28
38
|
}
|
|
29
39
|
if (/^\d+$/.test(min) && hour.startsWith("*/") && dom === "*" && mon === "*" && dow === "*") {
|
|
30
|
-
const n =
|
|
40
|
+
const n = evenStepOf(hour.slice(2), 24);
|
|
31
41
|
if (n !== void 0) {
|
|
32
42
|
return n === 1 ? "Every hour" : `Every ${n} hours`;
|
|
33
43
|
}
|
|
34
44
|
}
|
|
35
|
-
if (/^\d+$/.test(min) && /^\d+$/.test(hour) && dom.startsWith("*/") && mon === "*" && dow === "*") {
|
|
36
|
-
|
|
37
|
-
if (n !== void 0) {
|
|
38
|
-
return n === 1 ? "Every day" : `Every ${n} days`;
|
|
39
|
-
}
|
|
45
|
+
if (/^\d+$/.test(min) && /^\d+$/.test(hour) && dom.startsWith("*/") && mon === "*" && dow === "*" && isEveryDayStep(dom.slice(2))) {
|
|
46
|
+
return "Every day";
|
|
40
47
|
}
|
|
41
48
|
return cronExpr;
|
|
42
49
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createDebugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E2BHWIDT.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -795,7 +795,7 @@ function toOpenAPI30(schema) {
|
|
|
795
795
|
target["type"] = source["type"];
|
|
796
796
|
}
|
|
797
797
|
if (source["const"] !== void 0) {
|
|
798
|
-
target["enum"] = [source["const"]];
|
|
798
|
+
target["enum"] = [String(source["const"])];
|
|
799
799
|
delete target["const"];
|
|
800
800
|
}
|
|
801
801
|
if (typeof source["exclusiveMinimum"] === "number") {
|
|
@@ -815,10 +815,23 @@ function toOpenAPI30(schema) {
|
|
|
815
815
|
target["enum"] = source["enum"].map(String);
|
|
816
816
|
}
|
|
817
817
|
for (const [key, value] of Object.entries(source)) {
|
|
818
|
-
if (key === "
|
|
818
|
+
if ((key === "properties" || key === "$defs" || key === "definitions") && typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
819
|
+
const map = {};
|
|
820
|
+
for (const [mapKey, mapValue] of Object.entries(
|
|
821
|
+
value
|
|
822
|
+
)) {
|
|
823
|
+
map[mapKey] = convert(mapValue);
|
|
824
|
+
}
|
|
825
|
+
target[key] = map;
|
|
826
|
+
continue;
|
|
827
|
+
}
|
|
828
|
+
if (key === "type" || key === "const" || key === "items" || key === "enum" || key === "$schema" || key === "$id" || key === "default" || // Optional: Gemini sometimes complains about defaults conflicting with types
|
|
819
829
|
key === "dependencies" || key === "patternProperties") {
|
|
820
830
|
continue;
|
|
821
831
|
}
|
|
832
|
+
if ((key === "exclusiveMinimum" || key === "exclusiveMaximum") && typeof value === "number") {
|
|
833
|
+
continue;
|
|
834
|
+
}
|
|
822
835
|
target[key] = convert(value);
|
|
823
836
|
}
|
|
824
837
|
return target;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
atomicWriteFileSync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HC45LTEN.js";
|
|
6
6
|
import {
|
|
7
7
|
Storage,
|
|
8
8
|
createDebugLogger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E2BHWIDT.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3F2WDAV6.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionReferenceService,
|
|
8
8
|
SessionService,
|
|
9
9
|
readManyFiles,
|
|
10
10
|
stripTerminalControlSequences
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-54YCNSK5.js";
|
|
12
12
|
import {
|
|
13
13
|
emptyMcpResourceText,
|
|
14
14
|
formatMcpResourceContents,
|
|
15
15
|
summarizeMcpResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZPJWUGCS.js";
|
|
17
17
|
import {
|
|
18
18
|
shouldRunVisionBridge
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DUNI4EBW.js";
|
|
20
20
|
import {
|
|
21
21
|
Storage,
|
|
22
22
|
getErrorMessage,
|
|
23
23
|
isNodeError,
|
|
24
24
|
isSubpath,
|
|
25
25
|
unescapePath
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-E2BHWIDT.js";
|
|
27
27
|
import {
|
|
28
28
|
init_esbuild_shims
|
|
29
29
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -798,7 +798,7 @@ ${messages.join("\n")}`;
|
|
|
798
798
|
fileDisplays = result.files.map((file, index) => ({
|
|
799
799
|
callId: `client-read-${userMessageTimestamp}-${index}`,
|
|
800
800
|
name: file.isDirectory ? "Read Directory" : "Read File",
|
|
801
|
-
description:
|
|
801
|
+
description: `@${path.basename(file.filePath)}`,
|
|
802
802
|
status: file.error ? "Error" /* Error */ : "Success" /* Success */,
|
|
803
803
|
resultDisplay: file.error ? `Failed to read ${path.basename(file.filePath)}: ${file.error}` : void 0,
|
|
804
804
|
confirmationDetails: void 0
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import {
|
|
4
4
|
AUTO_THEME_NAME,
|
|
5
5
|
themeManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IGTHU3T4.js";
|
|
7
7
|
import {
|
|
8
8
|
initializeI18n,
|
|
9
9
|
resolveLanguageSetting,
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3F2WDAV6.js";
|
|
12
12
|
import {
|
|
13
13
|
IdeClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-54YCNSK5.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthEvent,
|
|
17
17
|
IdeConnectionEvent,
|
|
18
18
|
logAuth,
|
|
19
19
|
logIdeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DUNI4EBW.js";
|
|
21
21
|
import {
|
|
22
22
|
getErrorMessage
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E2BHWIDT.js";
|
|
24
24
|
import {
|
|
25
25
|
init_esbuild_shims
|
|
26
26
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -32,29 +32,17 @@ function resolveActiveTeamName(fallback) {
|
|
|
32
32
|
}
|
|
33
33
|
__name(resolveActiveTeamName, "resolveActiveTeamName");
|
|
34
34
|
var isTeammate = isInProcessTeammate;
|
|
35
|
-
function isTeamLead() {
|
|
36
|
-
return teammateIdentityStore.getStore()?.isTeamLead ?? false;
|
|
37
|
-
}
|
|
38
|
-
__name(isTeamLead, "isTeamLead");
|
|
39
|
-
function getTeammateColor() {
|
|
40
|
-
return teammateIdentityStore.getStore()?.color;
|
|
41
|
-
}
|
|
42
|
-
__name(getTeammateColor, "getTeammateColor");
|
|
43
35
|
function runWithTeammateIdentity(identity, fn) {
|
|
44
36
|
return teammateIdentityStore.run(identity, fn);
|
|
45
37
|
}
|
|
46
38
|
__name(runWithTeammateIdentity, "runWithTeammateIdentity");
|
|
47
39
|
|
|
48
40
|
export {
|
|
49
|
-
teammateIdentityStore,
|
|
50
41
|
getTeammateContext,
|
|
51
|
-
isInProcessTeammate,
|
|
52
42
|
getAgentName,
|
|
53
43
|
getTeamName,
|
|
54
44
|
resolveActiveTeamName,
|
|
55
45
|
isTeammate,
|
|
56
|
-
isTeamLead,
|
|
57
|
-
getTeammateColor,
|
|
58
46
|
runWithTeammateIdentity
|
|
59
47
|
};
|
|
60
48
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getTasksDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JXVC2PL3.js";
|
|
6
6
|
import {
|
|
7
7
|
require_proper_lockfile
|
|
8
8
|
} from "./chunk-KRXPRVGL.js";
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
} from "./chunk-VGC4I5JJ.js";
|
|
12
12
|
import {
|
|
13
13
|
atomicWriteJSON
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HC45LTEN.js";
|
|
15
15
|
import {
|
|
16
16
|
createDebugLogger,
|
|
17
17
|
isNodeError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E2BHWIDT.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -444,11 +444,6 @@ async function unblockDependents(teamName, completedId, dependentIds) {
|
|
|
444
444
|
notifyTasksUpdated(teamName);
|
|
445
445
|
}
|
|
446
446
|
__name(unblockDependents, "unblockDependents");
|
|
447
|
-
async function blockTask(teamName, fromId, toId) {
|
|
448
|
-
await updateTask(teamName, fromId, { addBlocks: [toId] });
|
|
449
|
-
await updateTask(teamName, toId, { addBlockedBy: [fromId] });
|
|
450
|
-
}
|
|
451
|
-
__name(blockTask, "blockTask");
|
|
452
447
|
async function claimTask(teamName, taskId, agentId, opts) {
|
|
453
448
|
if (opts?.checkAgentBusy) {
|
|
454
449
|
return getAgentClaimLock(agentId).runExclusive(
|
|
@@ -545,25 +540,6 @@ async function unassignTeammateTasks(teamName, agentId) {
|
|
|
545
540
|
return released;
|
|
546
541
|
}
|
|
547
542
|
__name(unassignTeammateTasks, "unassignTeammateTasks");
|
|
548
|
-
async function getAgentStatuses(teamName) {
|
|
549
|
-
const tasks = await listTasks(teamName);
|
|
550
|
-
const statuses = /* @__PURE__ */ new Map();
|
|
551
|
-
for (const task of tasks) {
|
|
552
|
-
if (!task.owner) continue;
|
|
553
|
-
const entry = statuses.get(task.owner) ?? {
|
|
554
|
-
inProgress: 0,
|
|
555
|
-
completed: 0
|
|
556
|
-
};
|
|
557
|
-
if (task.status === "in_progress") {
|
|
558
|
-
entry.inProgress++;
|
|
559
|
-
} else if (task.status === "completed") {
|
|
560
|
-
entry.completed++;
|
|
561
|
-
}
|
|
562
|
-
statuses.set(task.owner, entry);
|
|
563
|
-
}
|
|
564
|
-
return statuses;
|
|
565
|
-
}
|
|
566
|
-
__name(getAgentStatuses, "getAgentStatuses");
|
|
567
543
|
async function getNextTaskId(dir) {
|
|
568
544
|
let entries;
|
|
569
545
|
try {
|
|
@@ -586,9 +562,7 @@ __name(getNextTaskId, "getNextTaskId");
|
|
|
586
562
|
export {
|
|
587
563
|
RECIPROCAL_CALLER,
|
|
588
564
|
assertValidTaskId,
|
|
589
|
-
getTaskPath,
|
|
590
565
|
onTasksUpdated,
|
|
591
|
-
notifyTasksUpdated,
|
|
592
566
|
createTask,
|
|
593
567
|
getTask,
|
|
594
568
|
TaskOwnershipError,
|
|
@@ -596,11 +570,8 @@ export {
|
|
|
596
570
|
deleteTask,
|
|
597
571
|
listTasks,
|
|
598
572
|
resetTaskList,
|
|
599
|
-
blockTask,
|
|
600
573
|
claimTask,
|
|
601
|
-
|
|
602
|
-
unassignTeammateTasks,
|
|
603
|
-
getAgentStatuses
|
|
574
|
+
unassignTeammateTasks
|
|
604
575
|
};
|
|
605
576
|
/**
|
|
606
577
|
* @license
|