@zubriq/code 0.19.8-1 → 0.19.9-1
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/dist/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/dist/bundled/qc-helper/docs/features/channels/overview.md +23 -12
- package/dist/bundled/qc-helper/docs/features/channels/plugins.md +1 -0
- package/dist/bundled/qc-helper/docs/features/channels/wecom.md +111 -0
- package/dist/bundled/qc-helper/docs/features/hooks.md +36 -34
- package/dist/bundled/qc-helper/docs/features/memory.md +1 -1
- package/dist/bundled/qc-helper/docs/qwen-serve.md +17 -10
- package/dist/bundled/review/SKILL.md +6 -2
- package/dist/chunks/{MaxSizedBox-OWTCJQNO.js → MaxSizedBox-W6SAJMJC.js} +13 -11
- package/dist/chunks/{StandaloneSessionPicker-6NGEQFBH.js → StandaloneSessionPicker-YBKZZKIA.js} +28 -23
- package/dist/chunks/{acpAgent-XPRWSNOW.js → acpAgent-SQJQBOTS.js} +110 -80
- package/dist/chunks/{agent-TB6S4VXU.js → agent-QU7Q2RZN.js} +8 -8
- package/dist/chunks/{agent-headless-R3XYK5TT.js → agent-headless-PBHLWHND.js} +8 -8
- package/dist/chunks/{anthropicContentGenerator-FZQAEMYK.js → anthropicContentGenerator-52G6ZA3D.js} +31 -4
- package/dist/chunks/{artifact-tool-H2TNPNP5.js → artifact-tool-D233YJFH.js} +25 -6
- package/dist/chunks/{bridge-HVRG6SMU.js → bridge-LJLLDUMW.js} +17 -14
- package/dist/chunks/{ca-HCMB2I54.js → ca-MKD32FQL.js} +26 -1
- package/dist/chunks/{channel-worker-supervisor-B7MSMB5K.js → channel-worker-supervisor-NZQUOEFJ.js} +3 -3
- package/dist/chunks/{chunk-YRM6BC6H.js → chunk-27AYMAL6.js} +506 -63
- package/dist/chunks/{chunk-536GZ6UF.js → chunk-2MDC5WDB.js} +17 -111
- package/dist/chunks/{chunk-H3D6XAOL.js → chunk-2PRSBVPI.js} +3 -3
- package/dist/chunks/chunk-332PWN27.js +19 -0
- package/dist/chunks/{chunk-FVMWEHWU.js → chunk-3B26UVCX.js} +114 -12
- package/dist/chunks/{chunk-ZM5BPDXV.js → chunk-3F22JT4E.js} +1 -1
- package/dist/chunks/{chunk-W6RH6KHR.js → chunk-3GPVYALM.js} +4 -2
- package/dist/chunks/{chunk-G7ZG7CA6.js → chunk-3UP777ZS.js} +8 -7
- package/dist/chunks/{chunk-PA7QS4X5.js → chunk-43W4YSO6.js} +1 -12
- package/dist/chunks/{chunk-5EB2HK3X.js → chunk-4IK56VLC.js} +1 -1
- package/dist/chunks/{chunk-UE5TCZE6.js → chunk-5FAUIGXH.js} +5 -13
- package/dist/chunks/{chunk-VEB3NYSO.js → chunk-5MBO76SL.js} +5 -0
- package/dist/chunks/{chunk-PDITONOB.js → chunk-5MRUKUOG.js} +5347 -4132
- package/dist/chunks/{chunk-4UC3U66K.js → chunk-6EUMFVPJ.js} +5 -5
- package/dist/chunks/{chunk-YOGGIAGF.js → chunk-6JL5OVLX.js} +1 -1
- package/dist/chunks/{chunk-QG4ZO2EB.js → chunk-74E6VVF6.js} +11 -11
- package/dist/chunks/chunk-A2X3KLC3.js +3807 -0
- package/dist/chunks/{chunk-BA4HLTG2.js → chunk-B6B2MUUF.js} +5 -5
- package/dist/chunks/{chunk-XKYOIERV.js → chunk-BN5VYAOZ.js} +681 -1239
- package/dist/chunks/{chunk-IO76BGJ3.js → chunk-BYUA6YYS.js} +15 -9
- package/dist/chunks/{chunk-NCFY7PWS.js → chunk-CCGOFQV3.js} +51 -2
- package/dist/chunks/{chunk-66KNL43D.js → chunk-CD6USWHZ.js} +1 -1
- package/dist/chunks/{chunk-ZWSTIPSW.js → chunk-CEITMQ62.js} +2 -2
- package/dist/chunks/{chunk-7AQTBTVY.js → chunk-EJP6Z7NU.js} +4 -3
- package/dist/chunks/{chunk-RTW5ZXHO.js → chunk-EZTNYRHH.js} +6 -5
- package/dist/chunks/{chunk-MJQFA66Z.js → chunk-FAATDXYS.js} +308 -81
- package/dist/chunks/{chunk-DNV4FSN5.js → chunk-FBET5XZ2.js} +6 -4
- package/dist/chunks/{chunk-HTC4R67V.js → chunk-FES4YXJ3.js} +9 -9
- package/dist/chunks/{chunk-NBKE6QRZ.js → chunk-FHTUTVIQ.js} +10 -5
- package/dist/chunks/chunk-FII3C4E7.js +168 -0
- package/dist/chunks/{chunk-2NL7ED5Q.js → chunk-FV7425LN.js} +22 -1
- package/dist/chunks/{chunk-J6OET6C3.js → chunk-GAI76CFX.js} +4 -4
- package/dist/chunks/{chunk-B34OV7K2.js → chunk-GGQQA4JW.js} +13 -0
- package/dist/chunks/chunk-GLE2YUPU.js +34 -0
- package/dist/chunks/{chunk-X265R5C6.js → chunk-GN3F6PIU.js} +1 -1
- package/dist/chunks/{chunk-SM624MOZ.js → chunk-GWUN54UD.js} +1 -1
- package/dist/chunks/chunk-H3TELH3H.js +942 -0
- package/dist/chunks/{chunk-XZULYFIX.js → chunk-HD4DZI2L.js} +2 -2
- package/dist/chunks/{chunk-KLLLWQM2.js → chunk-HPQIVXSP.js} +1 -1
- package/dist/chunks/{chunk-WSVZFWN4.js → chunk-IBY3Q3HG.js} +693 -104
- package/dist/chunks/{chunk-JSEOX4CM.js → chunk-JGR6W4IX.js} +14 -8
- package/dist/chunks/chunk-K652V4NH.js +283 -0
- package/dist/chunks/{chunk-OCBJKHF2.js → chunk-KH2CZZDD.js} +2 -2
- package/dist/chunks/chunk-LGFAYIKX.js +115 -0
- package/dist/chunks/{chunk-QG5KDB6X.js → chunk-LZDW5TDV.js} +5 -5
- package/dist/chunks/{chunk-ENKWIF75.js → chunk-MA4AZNP7.js} +10 -10
- package/dist/chunks/{chunk-4RQIB5UZ.js → chunk-O2YT7VB4.js} +0 -34
- package/dist/chunks/{chunk-4KJ2BPIT.js → chunk-OACJLMLD.js} +2 -38
- package/dist/chunks/{chunk-ML2ZWH2K.js → chunk-PCWYMX57.js} +14 -153
- package/dist/chunks/{chunk-NHFBLJOI.js → chunk-Q3PQ5VGJ.js} +1 -1
- package/dist/chunks/{chunk-LGXBB2R2.js → chunk-QK3I36QG.js} +1 -1
- package/dist/chunks/chunk-RA7TR75G.js +8223 -0
- package/dist/chunks/{chunk-KSPVDFE4.js → chunk-SAIILPQ3.js} +0 -3
- package/dist/chunks/{chunk-DHKDK57Q.js → chunk-SNZPA74J.js} +146 -54
- package/dist/chunks/{chunk-PWR5MVM3.js → chunk-SSP3UT5C.js} +4 -4
- package/dist/chunks/{chunk-4LETJLG2.js → chunk-SUCRVT5L.js} +1 -1
- package/dist/chunks/{chunk-5YLZHETW.js → chunk-TRR5KGDN.js} +1 -1
- package/dist/chunks/chunk-UIDXQNMV.js +13 -0
- package/dist/chunks/{chunk-PIORL4OD.js → chunk-UKV3D7WB.js} +0 -44
- package/dist/chunks/chunk-UYNUIGUR.js +167 -0
- package/dist/chunks/chunk-V2TYBEWU.js +28 -0
- package/dist/chunks/chunk-V35MD7KN.js +13 -0
- package/dist/chunks/{chunk-N4HTVZDZ.js → chunk-VR3KCBHH.js} +1 -1
- package/dist/chunks/{chunk-APYUOROB.js → chunk-W4CTWW7M.js} +423 -61
- package/dist/chunks/{chunk-ABANKQYY.js → chunk-WJAW2O5H.js} +92 -465
- package/dist/chunks/{chunk-6RSBRKF5.js → chunk-WN4YJJGH.js} +2 -2
- package/dist/chunks/chunk-XNXVCNAT.js +88 -0
- package/dist/chunks/{chunk-TDGF35EN.js → chunk-XOHNA2S6.js} +1 -1
- package/dist/chunks/chunk-XQPMKWSV.js +487 -0
- package/dist/chunks/{chunk-4FQL7KUS.js → chunk-XWDHZP7P.js} +8 -8
- package/dist/chunks/{chunk-REPRY4F7.js → chunk-YCKKP4QA.js} +10 -10
- package/dist/chunks/{chunk-YNWQ3PUQ.js → chunk-YJWMOGGZ.js} +3 -3
- package/dist/chunks/{chunk-RFIL6REB.js → chunk-YKZIAK7C.js} +119 -29
- package/dist/chunks/{chunk-45YCXM2H.js → chunk-YZDBUH6S.js} +45 -9
- package/dist/chunks/chunk-Z3I3QJK3.js +47 -0
- package/dist/chunks/{chunk-G23FFNLT.js → chunk-ZDGPPCTW.js} +20 -8
- package/dist/chunks/chunk-ZL5HN75Q.js +61 -0
- package/dist/chunks/{chunk-IQX5S2RS.js → chunk-ZL7JCYWM.js} +66 -7
- package/dist/chunks/{computer-use-A72BECH4.js → computer-use-4B45EG2F.js} +8 -8
- package/dist/chunks/{contextCommand-RREXA4B7.js → contextCommand-GIVRWNTS.js} +12 -11
- package/dist/chunks/{cron-create-DDYU4DIR.js → cron-create-JSXEIPVS.js} +1 -1
- package/dist/chunks/{cron-delete-DFKOUZWN.js → cron-delete-OIFVEPGU.js} +1 -1
- package/dist/chunks/{cron-list-ME5QGAR5.js → cron-list-D4ZX4IOE.js} +1 -1
- package/dist/chunks/{daemon-XWG2EGFX.js → daemon-WPAENEBW.js} +71 -3
- package/dist/chunks/{daemon-status-provider-Y6AFXTET.js → daemon-status-provider-WBOAMCHE.js} +20 -17
- package/dist/chunks/{de-PLLFDERI.js → de-ZFPPQVSF.js} +26 -1
- package/dist/chunks/{dist-LPVU3L2M.js → dist-BEXOZXLQ.js} +6 -3792
- package/dist/chunks/{dist-7GU63KI5.js → dist-E6UANPIM.js} +1 -1
- package/dist/chunks/{dist-VHBP2PIG.js → dist-H2AEJCZ5.js} +2 -2
- package/dist/chunks/{dist-3UDX5T4T.js → dist-O2IRTRPP.js} +1 -1
- package/dist/chunks/dist-SCFLLYMK.js +3217 -0
- package/dist/chunks/{dist-H4HHZYCI.js → dist-Z34QPAQW.js} +2 -2
- package/dist/chunks/{earlyInputCapture-OAHBOGOO.js → earlyInputCapture-JWMCAJZR.js} +8 -8
- package/dist/chunks/{edit-SFYW3FOV.js → edit-O5FUVHBE.js} +9 -9
- package/dist/chunks/{en-AXARKOWO.js → en-N4EPZAQI.js} +31 -2
- package/dist/chunks/{enter-worktree-LUPPQ2NH.js → enter-worktree-LOJFRC3D.js} +8 -8
- package/dist/chunks/{enterPlanMode-44GEN5U6.js → enterPlanMode-VS3FAUPX.js} +8 -8
- package/dist/chunks/environment-WKW5TLSH.js +90 -0
- package/dist/chunks/{errors-H3Q3W3DL.js → errors-LEZXHJMR.js} +10 -10
- package/dist/chunks/{exit-worktree-34CVVWT4.js → exit-worktree-RN2NXRMP.js} +8 -8
- package/dist/chunks/{exitPlanMode-5G5BHNUP.js → exitPlanMode-EPC424I4.js} +8 -8
- package/dist/chunks/{fast-path-7PKGFBRM.js → fast-path-UUPAFOSQ.js} +12 -3
- package/dist/chunks/{fast-path-settings-RCRXH2JG.js → fast-path-settings-7RIFI3PK.js} +3 -2
- package/dist/chunks/{fr-MBMNQSQ6.js → fr-5WWMY53B.js} +30 -1
- package/dist/chunks/{gemini-2II6JH4H.js → gemini-QCKK4XNU.js} +438 -265
- package/dist/chunks/{geminiContentGenerator-SWEJVOC4.js → geminiContentGenerator-DX4SRXJA.js} +1 -1
- package/dist/chunks/{glob-5DFC7DXW.js → glob-4URMJWRX.js} +8 -8
- package/dist/chunks/{grep-QYVXGRRJ.js → grep-AEQB5KED.js} +8 -8
- package/dist/chunks/handleAutoUpdate-Y4YNG34Y.js +65 -0
- package/dist/chunks/{initializer-XX3UGUHE.js → initializer-NDEBMSOG.js} +17 -13
- package/dist/chunks/{ja-HFV5QCHR.js → ja-CUHZOLEJ.js} +30 -1
- package/dist/chunks/{list-AX5FWBVC.js → list-VSCBNOWT.js} +17 -15
- package/dist/chunks/{loadedSettingsAdapter-ISOM6GJ7.js → loadedSettingsAdapter-FDO752BA.js} +15 -13
- package/dist/chunks/{loop-wakeup-ZW5P6VPY.js → loop-wakeup-OHWEMFP5.js} +2 -2
- package/dist/chunks/{ls-L654WOAT.js → ls-7MFU2QYW.js} +1 -1
- package/dist/chunks/{lsp-M35KE54Y.js → lsp-XHDTPTGV.js} +2 -4
- package/dist/chunks/{mcp-74F6725E.js → mcp-MLPWTHUV.js} +15 -13
- package/dist/chunks/{monitor-W4WRSC2C.js → monitor-WCVHIJUJ.js} +16 -11
- package/dist/chunks/{nonInteractiveCli-4QMV6C4J.js → nonInteractiveCli-32HZK274.js} +52 -44
- package/dist/chunks/{notebook-edit-XBZEIP42.js → notebook-edit-NPOMPKS4.js} +9 -9
- package/dist/chunks/{openaiContentGenerator-RTUJDESE.js → openaiContentGenerator-6AIBSRQK.js} +6 -6
- package/dist/chunks/{pidfile-YWSGNTPK.js → pidfile-7Y3QEDSZ.js} +8 -8
- package/dist/chunks/{pt-2THT3YHA.js → pt-OLYN42DS.js} +26 -1
- package/dist/chunks/{qwenContentGenerator-4ZFYAZLY.js → qwenContentGenerator-OUYOAYT4.js} +10 -10
- package/dist/chunks/{read-file-D7DKDIAC.js → read-file-EESFA24L.js} +3 -3
- package/dist/chunks/{record-artifact-PP3LKHTS.js → record-artifact-SQ2OKRJW.js} +3 -3
- package/dist/chunks/{ripGrep-KG7JYNER.js → ripGrep-DLYV7ZZG.js} +8 -8
- package/dist/chunks/{ru-PER5I4OI.js → ru-MKM2HFDS.js} +26 -1
- package/dist/chunks/{run-qwen-serve-XGJSNF6S.js → run-qwen-serve-WUEHQROF.js} +602 -143
- package/dist/chunks/{scheduler-MOLWOE4G.js → scheduler-SK4Y66V4.js} +8 -8
- package/dist/chunks/{send-message-OA6MV4EU.js → send-message-76GT3JMC.js} +1 -1
- package/dist/chunks/{serve-4ZNVPYND.js → serve-UCDGVZFI.js} +17 -14
- package/dist/chunks/{server-ACWDFHIF.js → server-FVGFFVZ4.js} +1394 -328
- package/dist/chunks/{session-VYO2GRO2.js → session-RIGKDMGR.js} +53 -45
- package/dist/chunks/{settings-4J2O3K22.js → settings-LVFFGXGE.js} +24 -20
- package/dist/chunks/{shell-RKERJYXR.js → shell-PAWNAFYN.js} +8 -8
- package/dist/chunks/{skill-JYACZJ5V.js → skill-5YIN3Z6Y.js} +15 -5
- package/dist/chunks/{spawnChannel-BA3U3RGX.js → spawnChannel-KIMZHWNR.js} +10 -10
- package/dist/chunks/{src-3P337V4P.js → src-BIWCD3VX.js} +21 -9
- package/dist/chunks/{startInteractiveUI-SUSZ6FWB.js → startInteractiveUI-AFXLGUFI.js} +33759 -41620
- package/dist/chunks/{task-create-RPFZNB4B.js → task-create-WCHTB435.js} +2 -2
- package/dist/chunks/{task-update-5WUG5MVQ.js → task-update-XYWMHJGJ.js} +2 -2
- package/dist/chunks/{team-create-YVWGRZEA.js → team-create-26WOMISV.js} +8 -8
- package/dist/chunks/{team-plan-approval-VRF54TTI.js → team-plan-approval-B5XB6UQC.js} +8 -8
- package/dist/chunks/{theme-manager-JW2KOACL.js → theme-manager-4TJ5TEFD.js} +8 -8
- package/dist/chunks/{tool-search-KUSMAZBN.js → tool-search-FFU63E6M.js} +6 -23
- package/dist/chunks/total-session-admission-JOD7SMPJ.js +72 -0
- package/dist/chunks/{trustedFolders-ERGSUCDK.js → trustedFolders-IJ2QHXSC.js} +9 -9
- package/dist/chunks/updateCheck-5Z25DCBP.js +65 -0
- package/dist/chunks/{validateNonInterActiveAuth-DDI62H5X.js → validateNonInterActiveAuth-G5EY47DE.js} +49 -41
- package/dist/chunks/{version-VB3AHVUF.js → version-LGO3GOKQ.js} +2 -1
- package/dist/chunks/{workflow-WINKRCI4.js → workflow-ZTK3WT3D.js} +9 -9
- package/dist/chunks/{workspace-providers-status-ZVZPXKSO.js → workspace-providers-status-YMPTRKW2.js} +18 -15
- package/dist/chunks/workspace-registry-NBUL6LBH.js +74 -0
- package/dist/chunks/{workspace-service-GAS2LV2P.js → workspace-service-V6G2RCD4.js} +21 -19
- package/dist/chunks/{workspace-skills-status-4WGKYJVA.js → workspace-skills-status-ZCW44BCH.js} +16 -14
- package/dist/chunks/{write-file-UTLKVZNN.js → write-file-4FUTAEW6.js} +9 -9
- package/dist/chunks/{zh-RS3HZHFH.js → zh-J4F6QWQV.js} +31 -2
- package/dist/chunks/{zh-TW-L5GRQ4S4.js → zh-TW-XVDWOLSW.js} +31 -2
- package/dist/cli.js +11 -11
- package/dist/locales/ca.js +30 -0
- package/dist/locales/de.js +30 -0
- package/dist/locales/en.js +38 -2
- package/dist/locales/fr.js +36 -0
- package/dist/locales/ja.js +36 -0
- package/dist/locales/pt.js +30 -0
- package/dist/locales/ru.js +30 -0
- package/dist/locales/zh-TW.js +38 -2
- package/dist/locales/zh.js +38 -2
- package/dist/package.json +3 -3
- package/dist/web-shell/assets/{arc-C6tzvtOa.js → arc-BWyoJpY2.js} +1 -1
- package/dist/web-shell/assets/{architectureDiagram-3BPJPVTR-DSYQFGn9.js → architectureDiagram-3BPJPVTR-BT0mGrz2.js} +1 -1
- package/dist/web-shell/assets/{blockDiagram-GPEHLZMM-CHjBdXAD.js → blockDiagram-GPEHLZMM-BLgUWvyf.js} +1 -1
- package/dist/web-shell/assets/{c4Diagram-AAUBKEIU-BQzK6Yyb.js → c4Diagram-AAUBKEIU-DYx9M7oU.js} +1 -1
- package/dist/web-shell/assets/channel-wmPUGHtg.js +1 -0
- package/dist/web-shell/assets/{chunk-2J33WTMH-hpP2p3Ij.js → chunk-2J33WTMH-CfMHWbuZ.js} +1 -1
- package/dist/web-shell/assets/{chunk-4BX2VUAB-B5KtK1JJ.js → chunk-4BX2VUAB-B1URoqEV.js} +1 -1
- package/dist/web-shell/assets/{chunk-55IACEB6-BDv6Mfr2.js → chunk-55IACEB6-DAIaM4QF.js} +1 -1
- package/dist/web-shell/assets/{chunk-727SXJPM-BevPWfrX.js → chunk-727SXJPM-B2X34knw.js} +1 -1
- package/dist/web-shell/assets/{chunk-AQP2D5EJ-ChDrz2ad.js → chunk-AQP2D5EJ-Cif-zLTQ.js} +1 -1
- package/dist/web-shell/assets/{chunk-FMBD7UC4-ClMdVSDs.js → chunk-FMBD7UC4-H18WCXdY.js} +1 -1
- package/dist/web-shell/assets/{chunk-ND2GUHAM-BceV8kZS.js → chunk-ND2GUHAM-YFtetHi0.js} +1 -1
- package/dist/web-shell/assets/{chunk-QZHKN3VN-DtyK2wwc.js → chunk-QZHKN3VN-By2hiH3r.js} +1 -1
- package/dist/web-shell/assets/classDiagram-4FO5ZUOK-BA2ljEjW.js +1 -0
- package/dist/web-shell/assets/classDiagram-v2-Q7XG4LA2-BA2ljEjW.js +1 -0
- package/dist/web-shell/assets/{cose-bilkent-S5V4N54A-BGMsqwmE.js → cose-bilkent-S5V4N54A-VrcnnLZu.js} +1 -1
- package/dist/web-shell/assets/{dagre-BM42HDAG-C-71clpF.js → dagre-BM42HDAG-CGo-IaVV.js} +1 -1
- package/dist/web-shell/assets/{diagram-2AECGRRQ-WIzzlkec.js → diagram-2AECGRRQ-Dl4QjzIB.js} +1 -1
- package/dist/web-shell/assets/{diagram-5GNKFQAL-CtnhZUP1.js → diagram-5GNKFQAL-qMLmsO0u.js} +1 -1
- package/dist/web-shell/assets/{diagram-KO2AKTUF-CS_IUezp.js → diagram-KO2AKTUF-CHlmuxPI.js} +1 -1
- package/dist/web-shell/assets/{diagram-LMA3HP47-BQnGRwN9.js → diagram-LMA3HP47-BUwU3GwT.js} +1 -1
- package/dist/web-shell/assets/{diagram-OG6HWLK6-By2VIocq.js → diagram-OG6HWLK6-HEhwPDUM.js} +1 -1
- package/dist/web-shell/assets/{erDiagram-TEJ5UH35-Dy8WeNkr.js → erDiagram-TEJ5UH35-1n0llBmM.js} +1 -1
- package/dist/web-shell/assets/{flowDiagram-I6XJVG4X-Diu_4y0w.js → flowDiagram-I6XJVG4X-BN74uMnt.js} +1 -1
- package/dist/web-shell/assets/{ganttDiagram-6RSMTGT7-CH8euujP.js → ganttDiagram-6RSMTGT7-BoOq78i3.js} +1 -1
- package/dist/web-shell/assets/{gitGraphDiagram-PVQCEYII-DHiObZq1.js → gitGraphDiagram-PVQCEYII-CN8b00c8.js} +1 -1
- package/dist/web-shell/assets/index-CNwoO1Cn.js +783 -0
- package/dist/web-shell/assets/index-CWQ0z6kZ.css +5 -0
- package/dist/web-shell/assets/{infoDiagram-5YYISTIA-CvC9A6fh.js → infoDiagram-5YYISTIA-CCurnIna.js} +1 -1
- package/dist/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BK46kC4E.js → ishikawaDiagram-YF4QCWOH-AwuRqdUP.js} +1 -1
- package/dist/web-shell/assets/{journeyDiagram-JHISSGLW-B2TIiKq4.js → journeyDiagram-JHISSGLW-B7IICk-E.js} +1 -1
- package/dist/web-shell/assets/{kanban-definition-UN3LZRKU-Bh0WAulO.js → kanban-definition-UN3LZRKU-BYF0OKhx.js} +1 -1
- package/dist/web-shell/assets/{linear-Bxe9SHMk.js → linear-GWWguGfD.js} +1 -1
- package/dist/web-shell/assets/{mermaid.core-B1Pv6D5B.js → mermaid.core-JqtkxvCl.js} +5 -5
- package/dist/web-shell/assets/{mindmap-definition-RKZ34NQL-Bz0joLH8.js → mindmap-definition-RKZ34NQL-B0MmHsZ6.js} +1 -1
- package/dist/web-shell/assets/{pieDiagram-4H26LBE5-CnN4x-VS.js → pieDiagram-4H26LBE5-DhImUZLQ.js} +1 -1
- package/dist/web-shell/assets/{quadrantDiagram-W4KKPZXB-BYWD4xO4.js → quadrantDiagram-W4KKPZXB-DGeSC3DT.js} +1 -1
- package/dist/web-shell/assets/{requirementDiagram-4Y6WPE33-B4MEhI9h.js → requirementDiagram-4Y6WPE33-DkspY6Re.js} +1 -1
- package/dist/web-shell/assets/{sankeyDiagram-5OEKKPKP-Dk_FgKLp.js → sankeyDiagram-5OEKKPKP-CaOofS2x.js} +1 -1
- package/dist/web-shell/assets/{sequenceDiagram-3UESZ5HK-B4ksiBZQ.js → sequenceDiagram-3UESZ5HK-DFQ_kFnN.js} +1 -1
- package/dist/web-shell/assets/{stateDiagram-AJRCARHV-CYf0xSPl.js → stateDiagram-AJRCARHV-D3snw0Tz.js} +1 -1
- package/dist/web-shell/assets/stateDiagram-v2-BHNVJYJU-BbSm_9d0.js +1 -0
- package/dist/web-shell/assets/{timeline-definition-PNZ67QCA-0CXeWHNY.js → timeline-definition-PNZ67QCA-l4zH8nLM.js} +1 -1
- package/dist/web-shell/assets/{vennDiagram-CIIHVFJN-DHoYY9v2.js → vennDiagram-CIIHVFJN-BnRlA98M.js} +1 -1
- package/dist/web-shell/assets/{wardley-L42UT6IY-D_65qshr.js → wardley-L42UT6IY-BS0xUdmd.js} +1 -1
- package/dist/web-shell/assets/{wardleyDiagram-YWT4CUSO-Cv90x1sd.js → wardleyDiagram-YWT4CUSO-DKGBUWyQ.js} +1 -1
- package/dist/web-shell/assets/{xychartDiagram-2RQKCTM6-5FQCYJyh.js → xychartDiagram-2RQKCTM6-DVb2HuOB.js} +1 -1
- package/dist/web-shell/index.html +2 -2
- package/package.json +3 -2
- package/dist/web-shell/assets/channel-V-ZaJrA6.js +0 -1
- package/dist/web-shell/assets/classDiagram-4FO5ZUOK-s-H0snGT.js +0 -1
- package/dist/web-shell/assets/classDiagram-v2-Q7XG4LA2-s-H0snGT.js +0 -1
- package/dist/web-shell/assets/index-DW75jq0K.css +0 -5
- package/dist/web-shell/assets/index-tiCo0xbZ.js +0 -779
- package/dist/web-shell/assets/stateDiagram-v2-BHNVJYJU-CMtrFRUb.js +0 -1
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
relaunchApp
|
|
5
|
-
} from "./chunk-5YLZHETW.js";
|
|
6
3
|
import {
|
|
7
4
|
CODE_FENCE_RE,
|
|
8
5
|
SHELL_COMMAND_NAME,
|
|
9
6
|
SHELL_NAME,
|
|
7
|
+
TABLE_MAX_ROW_LINES,
|
|
10
8
|
TABLE_ROW_RE,
|
|
11
9
|
TABLE_SEPARATOR_RE,
|
|
12
10
|
TOOL_STATUS,
|
|
@@ -18,7 +16,7 @@ import {
|
|
|
18
16
|
getCommandSubcommandNames,
|
|
19
17
|
splitMarkdownTableRow,
|
|
20
18
|
useSessionStats
|
|
21
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YZDBUH6S.js";
|
|
22
20
|
import {
|
|
23
21
|
Colors,
|
|
24
22
|
RowMouseController,
|
|
@@ -27,7 +25,7 @@ import {
|
|
|
27
25
|
useMouseEvents,
|
|
28
26
|
useSettings,
|
|
29
27
|
useTerminalSize
|
|
30
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HD4DZI2L.js";
|
|
31
29
|
import {
|
|
32
30
|
buildResumedHistoryItems,
|
|
33
31
|
calculateAverageLatency,
|
|
@@ -40,14 +38,14 @@ import {
|
|
|
40
38
|
levelLabel,
|
|
41
39
|
useKeypress,
|
|
42
40
|
wrapForMultiplexer
|
|
43
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6EUMFVPJ.js";
|
|
44
42
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
43
|
+
relaunchApp
|
|
44
|
+
} from "./chunk-TRR5KGDN.js";
|
|
47
45
|
import {
|
|
48
46
|
MINIMUM_MAX_HEIGHT,
|
|
49
47
|
MaxSizedBox
|
|
50
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-CEITMQ62.js";
|
|
51
49
|
import {
|
|
52
50
|
theme
|
|
53
51
|
} from "./chunk-IFEWJXFS.js";
|
|
@@ -59,7 +57,10 @@ import {
|
|
|
59
57
|
require_jsx_runtime,
|
|
60
58
|
use_is_screen_reader_enabled_default,
|
|
61
59
|
use_stdin_default
|
|
62
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-5FAUIGXH.js";
|
|
61
|
+
import {
|
|
62
|
+
isTerminalGoalStatusKind
|
|
63
|
+
} from "./chunk-SAIILPQ3.js";
|
|
63
64
|
import {
|
|
64
65
|
require_react
|
|
65
66
|
} from "./chunk-KYMBIKIW.js";
|
|
@@ -67,14 +68,9 @@ import {
|
|
|
67
68
|
resolveColor,
|
|
68
69
|
themeManager
|
|
69
70
|
} from "./chunk-PC4ZXHU2.js";
|
|
70
|
-
import {
|
|
71
|
-
require_has_flag,
|
|
72
|
-
require_source
|
|
73
|
-
} from "./chunk-3GONHQOA.js";
|
|
74
71
|
import {
|
|
75
72
|
cpLen,
|
|
76
73
|
cpSlice,
|
|
77
|
-
eastAsianWidth,
|
|
78
74
|
escapeAnsiCtrlCodes,
|
|
79
75
|
getCachedStringWidth,
|
|
80
76
|
sanitizeSensitiveText,
|
|
@@ -82,7 +78,14 @@ import {
|
|
|
82
78
|
stripUnsafeCharacters,
|
|
83
79
|
toCodePoints,
|
|
84
80
|
wrapToVisualLines
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-2MDC5WDB.js";
|
|
82
|
+
import {
|
|
83
|
+
eastAsianWidth
|
|
84
|
+
} from "./chunk-LGFAYIKX.js";
|
|
85
|
+
import {
|
|
86
|
+
require_has_flag,
|
|
87
|
+
require_source
|
|
88
|
+
} from "./chunk-3GONHQOA.js";
|
|
86
89
|
import {
|
|
87
90
|
formatDuration,
|
|
88
91
|
formatMemoryUsage,
|
|
@@ -91,18 +94,18 @@ import {
|
|
|
91
94
|
} from "./chunk-KHDZHZMH.js";
|
|
92
95
|
import {
|
|
93
96
|
createLoadedSettingsAdapter
|
|
94
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-4IK56VLC.js";
|
|
95
98
|
import {
|
|
96
99
|
getPersistScopeForModelSelection
|
|
97
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-WJAW2O5H.js";
|
|
98
101
|
import {
|
|
99
102
|
getCurrentLanguage,
|
|
100
103
|
localizeToolDisplayName,
|
|
101
104
|
t
|
|
102
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-MA4AZNP7.js";
|
|
103
106
|
import {
|
|
104
107
|
isWorkspaceTrusted
|
|
105
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-VR3KCBHH.js";
|
|
106
109
|
import {
|
|
107
110
|
ALL_PROVIDERS,
|
|
108
111
|
IdeClient,
|
|
@@ -123,11 +126,11 @@ import {
|
|
|
123
126
|
resolveMetadataKey,
|
|
124
127
|
resolveOwnsModel,
|
|
125
128
|
stripAnsi
|
|
126
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-5MRUKUOG.js";
|
|
127
130
|
import {
|
|
128
131
|
MAIN_SOURCE,
|
|
129
132
|
getMCPServerStatus
|
|
130
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-27AYMAL6.js";
|
|
131
134
|
import {
|
|
132
135
|
ToolDisplayNames,
|
|
133
136
|
ToolNames,
|
|
@@ -5258,7 +5261,6 @@ __name(labelMayDeceive, "labelMayDeceive");
|
|
|
5258
5261
|
// packages/cli/src/ui/utils/TableRenderer.tsx
|
|
5259
5262
|
var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
|
|
5260
5263
|
var MIN_COLUMN_WIDTH = 3;
|
|
5261
|
-
var MAX_ROW_LINES = 4;
|
|
5262
5264
|
var ABSOLUTE_MIN_HORIZONTAL_TABLE_WIDTH = 24;
|
|
5263
5265
|
var SAFETY_MARGIN = 4;
|
|
5264
5266
|
var INLINE_MATH_MAX_CHARS = 1024;
|
|
@@ -5496,6 +5498,7 @@ var TableRenderer = /* @__PURE__ */ __name(({
|
|
|
5496
5498
|
contentWidth,
|
|
5497
5499
|
aligns,
|
|
5498
5500
|
enableInlineMath = false,
|
|
5501
|
+
isStreaming = false,
|
|
5499
5502
|
maxHeight
|
|
5500
5503
|
}) => {
|
|
5501
5504
|
const colCount = headers.length;
|
|
@@ -5584,18 +5587,23 @@ var TableRenderer = /* @__PURE__ */ __name(({
|
|
|
5584
5587
|
}
|
|
5585
5588
|
function calculateMaxRowLines() {
|
|
5586
5589
|
let maxLines = 1;
|
|
5590
|
+
const rowsToMeasure = isStreaming ? rowMetrics.slice(0, 1) : rowMetrics;
|
|
5587
5591
|
for (let i = 0; i < colCount; i++) {
|
|
5588
|
-
const
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
+
const headerWrapped = wrapText(
|
|
5593
|
+
headerMetrics[i].rendered,
|
|
5594
|
+
columnWidths[i],
|
|
5595
|
+
{
|
|
5596
|
+
hard: needsHardWrap
|
|
5597
|
+
}
|
|
5598
|
+
);
|
|
5599
|
+
maxLines = Math.max(maxLines, headerWrapped.length);
|
|
5592
5600
|
}
|
|
5593
|
-
for (const row of
|
|
5601
|
+
for (const row of rowsToMeasure) {
|
|
5594
5602
|
for (let i = 0; i < colCount; i++) {
|
|
5595
|
-
const
|
|
5603
|
+
const cellWrapped = wrapText(row[i].rendered, columnWidths[i], {
|
|
5596
5604
|
hard: needsHardWrap
|
|
5597
5605
|
});
|
|
5598
|
-
maxLines = Math.max(maxLines,
|
|
5606
|
+
maxLines = Math.max(maxLines, cellWrapped.length);
|
|
5599
5607
|
}
|
|
5600
5608
|
}
|
|
5601
5609
|
return maxLines;
|
|
@@ -5606,7 +5614,7 @@ var TableRenderer = /* @__PURE__ */ __name(({
|
|
|
5606
5614
|
ABSOLUTE_MIN_HORIZONTAL_TABLE_WIDTH,
|
|
5607
5615
|
colCount * MIN_COLUMN_WIDTH + borderOverhead + SAFETY_MARGIN
|
|
5608
5616
|
);
|
|
5609
|
-
const useVerticalFormat = contentWidth < minHorizontalTableWidth || maxRowLines >
|
|
5617
|
+
const useVerticalFormat = rowMetrics.length > 0 && (contentWidth < minHorizontalTableWidth || maxRowLines > TABLE_MAX_ROW_LINES);
|
|
5610
5618
|
const getAlign = /* @__PURE__ */ __name((colIndex) => aligns?.[colIndex] ?? "left", "getAlign");
|
|
5611
5619
|
function renderBorderLine(type) {
|
|
5612
5620
|
const [left, mid, cross, right] = {
|
|
@@ -5695,23 +5703,25 @@ var TableRenderer = /* @__PURE__ */ __name(({
|
|
|
5695
5703
|
const tableLines = [];
|
|
5696
5704
|
tableLines.push(renderBorderLine("top"));
|
|
5697
5705
|
tableLines.push(...renderRowLines(headerRendered, true));
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5706
|
+
if (rowMetrics.length > 0) {
|
|
5707
|
+
tableLines.push(renderBorderLine("middle"));
|
|
5708
|
+
rowMetrics.forEach((row, rowIndex) => {
|
|
5709
|
+
tableLines.push(
|
|
5710
|
+
...renderRowLines(
|
|
5711
|
+
row.map((m) => m.rendered),
|
|
5712
|
+
false
|
|
5713
|
+
)
|
|
5714
|
+
);
|
|
5715
|
+
if (rowIndex < rows.length - 1) {
|
|
5716
|
+
tableLines.push(renderBorderLine("middle"));
|
|
5717
|
+
}
|
|
5718
|
+
});
|
|
5719
|
+
}
|
|
5710
5720
|
tableLines.push(renderBorderLine("bottom"));
|
|
5711
5721
|
const maxLineWidth = Math.max(
|
|
5712
5722
|
...tableLines.map((line) => getCachedStringWidth(stripAnsi(line)))
|
|
5713
5723
|
);
|
|
5714
|
-
if (maxLineWidth > contentWidth - SAFETY_MARGIN) {
|
|
5724
|
+
if (rowMetrics.length > 0 && maxLineWidth > contentWidth - SAFETY_MARGIN) {
|
|
5715
5725
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Box_default, { marginY: 1, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: clampToMaxHeight(renderVerticalFormat()) }) });
|
|
5716
5726
|
}
|
|
5717
5727
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Box_default, { flexDirection: "column", marginY: 1, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: clampToMaxHeight(tableLines.join("\n")) }) });
|
|
@@ -8139,6 +8149,66 @@ var MarkdownDisplayInternal = /* @__PURE__ */ __name(({
|
|
|
8139
8149
|
lines = allLines.slice(0, keptLines);
|
|
8140
8150
|
}
|
|
8141
8151
|
}
|
|
8152
|
+
if (isPending && renderVisualBlocks && lines.length > 0) {
|
|
8153
|
+
let start = lines.length;
|
|
8154
|
+
while (start > 0 && /^\s*\|/.test(lines[start - 1])) start--;
|
|
8155
|
+
if (start < lines.length) {
|
|
8156
|
+
let activeCodeFence = "";
|
|
8157
|
+
let insideMathBlock = false;
|
|
8158
|
+
for (let i = 0; i < start; i++) {
|
|
8159
|
+
const line = lines[i];
|
|
8160
|
+
if (activeCodeFence) {
|
|
8161
|
+
const fenceMatch2 = line.match(codeFenceRegex);
|
|
8162
|
+
if (fenceMatch2 && fenceMatch2[1].startsWith(activeCodeFence[0]) && fenceMatch2[1].length >= activeCodeFence.length) {
|
|
8163
|
+
activeCodeFence = "";
|
|
8164
|
+
}
|
|
8165
|
+
continue;
|
|
8166
|
+
}
|
|
8167
|
+
if (insideMathBlock) {
|
|
8168
|
+
if (mathFenceRegex.test(line)) insideMathBlock = false;
|
|
8169
|
+
continue;
|
|
8170
|
+
}
|
|
8171
|
+
const fenceMatch = line.match(codeFenceRegex);
|
|
8172
|
+
if (fenceMatch) {
|
|
8173
|
+
activeCodeFence = fenceMatch[1];
|
|
8174
|
+
} else if (mathFenceRegex.test(line)) {
|
|
8175
|
+
insideMathBlock = true;
|
|
8176
|
+
}
|
|
8177
|
+
}
|
|
8178
|
+
const insideCodeFence = activeCodeFence !== "";
|
|
8179
|
+
let headerCells = 0;
|
|
8180
|
+
if (!insideCodeFence && !insideMathBlock) {
|
|
8181
|
+
let hdr = lines[start].replace(/^\s*\|/, "");
|
|
8182
|
+
if (/\|\s*$/.test(hdr)) hdr = hdr.replace(/\|\s*$/, "");
|
|
8183
|
+
headerCells = splitMarkdownTableRow(hdr).length;
|
|
8184
|
+
}
|
|
8185
|
+
if (headerCells >= 2) {
|
|
8186
|
+
const rest = lines.slice(start + 1);
|
|
8187
|
+
const hasMatchingSeparator = rest.some((l) => {
|
|
8188
|
+
if (!tableSeparatorRegex.test(l)) return false;
|
|
8189
|
+
const cols = splitMarkdownTableRow(l).filter(
|
|
8190
|
+
(c) => c.length > 0
|
|
8191
|
+
).length;
|
|
8192
|
+
return cols === headerCells;
|
|
8193
|
+
});
|
|
8194
|
+
const lineAfterHeader = rest[0];
|
|
8195
|
+
const separatorIsTrailing = rest.length === 1;
|
|
8196
|
+
const looksLikeSeparatorPrefix = lineAfterHeader !== void 0 && lineAfterHeader.includes("|") && /^[\s|:-]*$/.test(lineAfterHeader);
|
|
8197
|
+
let couldStillBeTable = lineAfterHeader === void 0 || tableSeparatorRegex.test(lineAfterHeader) || separatorIsTrailing && looksLikeSeparatorPrefix;
|
|
8198
|
+
if (couldStillBeTable && lineAfterHeader !== void 0 && /\|\s*$/.test(lineAfterHeader)) {
|
|
8199
|
+
const sepCols = splitMarkdownTableRow(lineAfterHeader).filter(
|
|
8200
|
+
(c) => c.length > 0
|
|
8201
|
+
).length;
|
|
8202
|
+
if (sepCols !== headerCells && (sepCols > headerCells || !separatorIsTrailing)) {
|
|
8203
|
+
couldStillBeTable = false;
|
|
8204
|
+
}
|
|
8205
|
+
}
|
|
8206
|
+
if (!hasMatchingSeparator && couldStillBeTable) {
|
|
8207
|
+
lines = lines.slice(0, start);
|
|
8208
|
+
}
|
|
8209
|
+
}
|
|
8210
|
+
}
|
|
8211
|
+
}
|
|
8142
8212
|
const parseTableAligns = /* @__PURE__ */ __name((line) => splitMarkdownTableRow(line).filter((cell) => cell.length > 0).map((cell) => {
|
|
8143
8213
|
const startsWithColon = cell.startsWith(":");
|
|
8144
8214
|
const endsWithColon = cell.endsWith(":");
|
|
@@ -8278,6 +8348,7 @@ var MarkdownDisplayInternal = /* @__PURE__ */ __name(({
|
|
|
8278
8348
|
}
|
|
8279
8349
|
} else if (inTable && tableSeparatorMatch) {
|
|
8280
8350
|
tableAligns = parseTableAligns(line);
|
|
8351
|
+
} else if (isPending && inTable && index === lines.length - 1 && tableHeaders.length > 0 && /^\s*\|/.test(line) && (!tableRowMatch || splitMarkdownTableRow(tableRowMatch[1]).length < tableHeaders.length)) {
|
|
8281
8352
|
} else if (inTable && tableRowMatch) {
|
|
8282
8353
|
const cells = splitMarkdownTableRow(tableRowMatch[1]);
|
|
8283
8354
|
while (cells.length < tableHeaders.length) {
|
|
@@ -8287,7 +8358,6 @@ var MarkdownDisplayInternal = /* @__PURE__ */ __name(({
|
|
|
8287
8358
|
cells.length = tableHeaders.length;
|
|
8288
8359
|
}
|
|
8289
8360
|
tableRows.push(cells);
|
|
8290
|
-
} else if (isPending && inTable && !tableRowMatch && index === lines.length - 1 && tableHeaders.length > 0 && /^\s*\|/.test(line)) {
|
|
8291
8361
|
} else if (inTable && !tableRowMatch) {
|
|
8292
8362
|
if (tableHeaders.length > 0 && tableRows.length > 0) {
|
|
8293
8363
|
addContentBlock(
|
|
@@ -8300,6 +8370,7 @@ var MarkdownDisplayInternal = /* @__PURE__ */ __name(({
|
|
|
8300
8370
|
aligns: tableAligns,
|
|
8301
8371
|
enableInlineMath: renderVisualBlocks,
|
|
8302
8372
|
isPending,
|
|
8373
|
+
isFrontier: false,
|
|
8303
8374
|
availableTerminalHeight
|
|
8304
8375
|
},
|
|
8305
8376
|
`table-${contentBlocks.length}`
|
|
@@ -8496,6 +8567,7 @@ var MarkdownDisplayInternal = /* @__PURE__ */ __name(({
|
|
|
8496
8567
|
aligns: tableAligns,
|
|
8497
8568
|
enableInlineMath: renderVisualBlocks,
|
|
8498
8569
|
isPending,
|
|
8570
|
+
isFrontier: true,
|
|
8499
8571
|
availableTerminalHeight
|
|
8500
8572
|
},
|
|
8501
8573
|
`table-${contentBlocks.length}`
|
|
@@ -8709,6 +8781,7 @@ var RenderTableInternal = /* @__PURE__ */ __name(({
|
|
|
8709
8781
|
aligns,
|
|
8710
8782
|
enableInlineMath = false,
|
|
8711
8783
|
isPending = false,
|
|
8784
|
+
isFrontier = true,
|
|
8712
8785
|
availableTerminalHeight
|
|
8713
8786
|
}) => {
|
|
8714
8787
|
const maxHeight = isPending && availableTerminalHeight !== void 0 ? Math.max(2, availableTerminalHeight - TABLE_PENDING_RESERVED_ROWS) : void 0;
|
|
@@ -8720,6 +8793,7 @@ var RenderTableInternal = /* @__PURE__ */ __name(({
|
|
|
8720
8793
|
contentWidth,
|
|
8721
8794
|
aligns,
|
|
8722
8795
|
enableInlineMath,
|
|
8796
|
+
isStreaming: isPending && isFrontier,
|
|
8723
8797
|
maxHeight
|
|
8724
8798
|
}
|
|
8725
8799
|
);
|
|
@@ -14151,25 +14225,43 @@ function isCollapsibleTool(toolName) {
|
|
|
14151
14225
|
return COLLAPSIBLE_CATEGORIES.has(getToolCategory(toolName));
|
|
14152
14226
|
}
|
|
14153
14227
|
__name(isCollapsibleTool, "isCollapsibleTool");
|
|
14228
|
+
function safeDescription(raw) {
|
|
14229
|
+
if (!raw) return void 0;
|
|
14230
|
+
const stripped = raw.replace(
|
|
14231
|
+
/\x1b\][^\x07]*\x07|\x1b[()][A-Z0-9]|\x1b\[[0-9;]*[a-zA-Z]|\x1b./g,
|
|
14232
|
+
""
|
|
14233
|
+
);
|
|
14234
|
+
const cleaned = stripped.replace(/[\x00-\x1f\x7f]/g, " ").trim();
|
|
14235
|
+
if (cleaned.startsWith("{") || cleaned.startsWith("[")) return void 0;
|
|
14236
|
+
return cleaned || void 0;
|
|
14237
|
+
}
|
|
14238
|
+
__name(safeDescription, "safeDescription");
|
|
14154
14239
|
function buildToolSummary(toolCalls, isActive) {
|
|
14155
14240
|
if (toolCalls.length === 0) return "";
|
|
14156
|
-
const
|
|
14241
|
+
const toolsByCategory = /* @__PURE__ */ new Map();
|
|
14157
14242
|
for (const tool of toolCalls) {
|
|
14158
14243
|
const cat = getToolCategory(tool.name);
|
|
14159
|
-
|
|
14244
|
+
const arr = toolsByCategory.get(cat) ?? [];
|
|
14245
|
+
arr.push(tool);
|
|
14246
|
+
toolsByCategory.set(cat, arr);
|
|
14160
14247
|
}
|
|
14161
14248
|
const parts = [];
|
|
14162
14249
|
for (const cat of CATEGORY_ORDER) {
|
|
14163
|
-
const
|
|
14164
|
-
if (!
|
|
14250
|
+
const tools = toolsByCategory.get(cat);
|
|
14251
|
+
if (!tools || tools.length === 0) continue;
|
|
14165
14252
|
const template = CATEGORY_TEMPLATES[cat];
|
|
14166
14253
|
const verb = isActive ? template.activeVerb : template.pastVerb;
|
|
14167
14254
|
const lower = parts.length > 0;
|
|
14168
14255
|
const v = lower ? verb.toLowerCase() : verb;
|
|
14169
|
-
if (
|
|
14170
|
-
|
|
14256
|
+
if (tools.length === 1) {
|
|
14257
|
+
const safeDesc = safeDescription(tools[0].description);
|
|
14258
|
+
if (safeDesc !== void 0) {
|
|
14259
|
+
parts.push(`${v} ${safeDesc}`);
|
|
14260
|
+
} else {
|
|
14261
|
+
parts.push(`${v} 1 ${template.singular}`);
|
|
14262
|
+
}
|
|
14171
14263
|
} else {
|
|
14172
|
-
parts.push(`${v} ${
|
|
14264
|
+
parts.push(`${v} ${tools.length} ${template.plural}`);
|
|
14173
14265
|
}
|
|
14174
14266
|
}
|
|
14175
14267
|
return parts.join(", ");
|
|
@@ -14392,12 +14484,12 @@ var SubagentScrollbackSummary = /* @__PURE__ */ __name(({ data }) => {
|
|
|
14392
14484
|
}
|
|
14393
14485
|
const tail = parts.length > 0 ? ` \xB7 ${parts.join(" \xB7 ")}` : "";
|
|
14394
14486
|
const typePrefix = data.subagentName ? `${escapeAnsiCtrlCodes(data.subagentName)}: ` : "";
|
|
14395
|
-
const
|
|
14487
|
+
const safeDescription2 = escapeAnsiCtrlCodes(data.taskDescription ?? "");
|
|
14396
14488
|
const reason = data.status !== "completed" && data.terminateReason ? ` \xB7 ${escapeAnsiCtrlCodes(data.terminateReason)}` : "";
|
|
14397
14489
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { paddingLeft: 1, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Text, { wrap: "truncate-end", children: [
|
|
14398
14490
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color, children: `${glyph} ` }),
|
|
14399
14491
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { bold: true, children: typePrefix }),
|
|
14400
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: theme.text.secondary, children:
|
|
14492
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: theme.text.secondary, children: safeDescription2 }),
|
|
14401
14493
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: theme.text.secondary, children: tail }),
|
|
14402
14494
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: theme.text.secondary, children: reason })
|
|
14403
14495
|
] }) });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
Colors,
|
|
5
5
|
RowMouseController
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HD4DZI2L.js";
|
|
7
7
|
import {
|
|
8
8
|
theme
|
|
9
9
|
} from "./chunk-IFEWJXFS.js";
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
Box_default,
|
|
12
12
|
Text,
|
|
13
13
|
require_jsx_runtime
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5FAUIGXH.js";
|
|
15
15
|
import {
|
|
16
16
|
require_react
|
|
17
17
|
} from "./chunk-KYMBIKIW.js";
|
|
18
18
|
import {
|
|
19
19
|
t
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MA4AZNP7.js";
|
|
21
21
|
import {
|
|
22
22
|
readManyFiles,
|
|
23
23
|
shouldRunVisionBridge,
|
|
24
24
|
stripTerminalControlSequences
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5MRUKUOG.js";
|
|
26
26
|
import {
|
|
27
27
|
emptyMcpResourceText,
|
|
28
28
|
formatMcpResourceContents,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-A4BMJM77.js";
|
|
6
|
+
|
|
7
|
+
// packages/cli/src/ui/commands/types.ts
|
|
8
|
+
init_esbuild_shims();
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
* Copyright 2025 Google LLC
|
|
12
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
13
|
+
*/
|
|
@@ -229,49 +229,6 @@ var DEFAULT_OPENAI_BASE_URL = "https://api.openai.com/v1";
|
|
|
229
229
|
var DEFAULT_DASHSCOPE_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1";
|
|
230
230
|
var DASHSCOPE_PROXY_BASE_URL = process.env["DASHSCOPE_PROXY_BASE_URL"];
|
|
231
231
|
|
|
232
|
-
// packages/core/src/utils/request-tokenizer/textTokenizer.ts
|
|
233
|
-
init_esbuild_shims();
|
|
234
|
-
var TextTokenizer = class {
|
|
235
|
-
static {
|
|
236
|
-
__name(this, "TextTokenizer");
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* Calculate tokens for text content
|
|
240
|
-
*
|
|
241
|
-
* @param text - The text to estimate tokens for
|
|
242
|
-
* @returns The estimated token count
|
|
243
|
-
*/
|
|
244
|
-
async calculateTokens(text) {
|
|
245
|
-
return this.calculateTokensSync(text);
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Calculate tokens for multiple text strings
|
|
249
|
-
*
|
|
250
|
-
* @param texts - Array of text strings to estimate tokens for
|
|
251
|
-
* @returns Array of token counts corresponding to each input text
|
|
252
|
-
*/
|
|
253
|
-
async calculateTokensBatch(texts) {
|
|
254
|
-
return texts.map((text) => this.calculateTokensSync(text));
|
|
255
|
-
}
|
|
256
|
-
calculateTokensSync(text) {
|
|
257
|
-
if (!text || text.length === 0) {
|
|
258
|
-
return 0;
|
|
259
|
-
}
|
|
260
|
-
let asciiChars = 0;
|
|
261
|
-
let nonAsciiChars = 0;
|
|
262
|
-
for (let i = 0; i < text.length; i++) {
|
|
263
|
-
const charCode = text.charCodeAt(i);
|
|
264
|
-
if (charCode < 128) {
|
|
265
|
-
asciiChars++;
|
|
266
|
-
} else {
|
|
267
|
-
nonAsciiChars++;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
const tokens = asciiChars / 4 + nonAsciiChars * 1.1;
|
|
271
|
-
return Math.ceil(tokens);
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
|
|
275
232
|
// packages/core/src/utils/request-tokenizer/supportedImageFormats.ts
|
|
276
233
|
init_esbuild_shims();
|
|
277
234
|
var SUPPORTED_IMAGE_MIME_TYPES = [
|
|
@@ -320,7 +277,6 @@ export {
|
|
|
320
277
|
DEFAULT_OPENAI_BASE_URL,
|
|
321
278
|
DEFAULT_DASHSCOPE_BASE_URL,
|
|
322
279
|
DASHSCOPE_PROXY_BASE_URL,
|
|
323
|
-
TextTokenizer,
|
|
324
280
|
SUPPORTED_IMAGE_MIME_TYPES,
|
|
325
281
|
isSupportedImageMimeType,
|
|
326
282
|
getSupportedImageFormatsString,
|