@kilocode/cli-darwin-x64-baseline 7.3.29 → 7.3.31

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.
@@ -10,7 +10,7 @@
10
10
  <path d="M12 2H2V18H18V8M6 11.3818V14H8.61818L18 4.61818L15.3818 2L6 11.3818Z" stroke="currentColor"/>`,"pencil-line":'<path d="M9.58301 17.9166H17.9163M17.9163 5.83325L14.1663 2.08325L2.08301 14.1666V17.9166H5.83301L17.9163 5.83325Z" stroke="currentColor" stroke-linecap="square"/>',mcp:'<g><path d="M0.972656 9.37176L9.5214 1.60019C10.7018 0.527151 12.6155 0.527151 13.7957 1.60019C14.9761 2.67321 14.9761 4.41295 13.7957 5.48599L7.3397 11.3552" stroke="currentColor" stroke-linecap="round"/><path d="M7.42871 11.2747L13.7957 5.48643C14.9761 4.41338 16.8898 4.41338 18.0702 5.48643L18.1147 5.52688C19.2951 6.59993 19.2951 8.33966 18.1147 9.4127L10.3831 16.4414C9.98966 16.7991 9.98966 17.379 10.3831 17.7366L11.9707 19.1799" stroke="currentColor" stroke-linecap="round"/><path d="M11.6587 3.54346L5.33619 9.29119C4.15584 10.3642 4.15584 12.1039 5.33619 13.177C6.51649 14.25 8.43019 14.25 9.61054 13.177L15.9331 7.42923" stroke="currentColor" stroke-linecap="round"/></g>',glasses:'<path d="M0.416626 7.91667H1.66663M19.5833 7.91667H18.3333M11.866 7.57987C11.3165 7.26398 10.6793 7.08333 9.99996 7.08333C9.32061 7.08333 8.68344 7.26398 8.13389 7.57987M8.74996 10C8.74996 12.0711 7.07103 13.75 4.99996 13.75C2.92889 13.75 1.24996 12.0711 1.24996 10C1.24996 7.92893 2.92889 6.25 4.99996 6.25C7.07103 6.25 8.74996 7.92893 8.74996 10ZM18.75 10C18.75 12.0711 17.071 13.75 15 13.75C12.9289 13.75 11.25 12.0711 11.25 10C11.25 7.92893 12.9289 6.25 15 6.25C17.071 6.25 18.75 7.92893 18.75 10Z" stroke="currentColor" stroke-linecap="square"/>',"magnifying-glass-menu":'<path d="M2.08325 10.0002H4.58325M2.08325 5.41683H5.41659M2.08325 14.5835H5.41659M16.4583 13.9585L18.7499 16.2502M17.9166 10.0002C17.9166 12.9917 15.4915 15.4168 12.4999 15.4168C9.50838 15.4168 7.08325 12.9917 7.08325 10.0002C7.08325 7.00862 9.50838 4.5835 12.4999 4.5835C15.4915 4.5835 17.9166 7.00862 17.9166 10.0002Z" stroke="currentColor" stroke-linecap="square"/>',"window-cursor":'<path d="M17.9166 10.4167V3.75H2.08325V17.0833H10.4166M17.9166 13.5897L11.6666 11.6667L13.5897 17.9167L15.032 15.0321L17.9166 13.5897Z" stroke="currentColor" stroke-width="1.07143" stroke-linecap="square"/><path d="M5.00024 6.125C5.29925 6.12518 5.54126 6.36795 5.54126 6.66699C5.54108 6.96589 5.29914 7.20783 5.00024 7.20801C4.7012 7.20801 4.45843 6.966 4.45825 6.66699C4.45825 6.36784 4.70109 6.125 5.00024 6.125ZM7.91626 6.125C8.21541 6.125 8.45825 6.36784 8.45825 6.66699C8.45808 6.966 8.21531 7.20801 7.91626 7.20801C7.61736 7.20783 7.37542 6.96589 7.37524 6.66699C7.37524 6.36795 7.61726 6.12518 7.91626 6.125ZM10.8333 6.125C11.1324 6.125 11.3752 6.36784 11.3752 6.66699C11.3751 6.966 11.1323 7.20801 10.8333 7.20801C10.5342 7.20801 10.2914 6.966 10.2913 6.66699C10.2913 6.36784 10.5341 6.125 10.8333 6.125Z" fill="currentColor" stroke="currentColor" stroke-width="0.25" stroke-linecap="square"/>',task:'<path d="M9.99992 2.0835V17.9168M7.08325 3.75016H2.08325V16.2502H7.08325M12.9166 16.2502H17.9166V3.75016H12.9166" stroke="currentColor" stroke-linecap="square"/>',play:'<path d="M6 4L16 10L6 16V4Z" fill="currentColor"/>',stop:'<rect x="5" y="5" width="10" height="10" fill="currentColor"/>',status:'<path d="M2 10V18H18V10M2 10V2H18V10M2 10H18M5 6H9M5 14H9" stroke="currentColor"/>',"status-active":`<path d="M18 2H2V10H18V2Z" fill="currentColor" fill-opacity="0.1"/>
11
11
  <path d="M2 18H18V10H2V18Z" fill="currentColor" fill-opacity="0.1"/>
12
12
  <path d="M2 10V18H18V10M2 10V2H18V10M2 10H18M5 6H9M5 14H9" stroke="currentColor"/>`,sidebar:'<path d="M7.86667 2H5.2H2V18H5.2H7.86667M7.86667 2H18V18H7.86667M7.86667 2V18" stroke="currentColor"/>',"sidebar-active":`<path d="M2 2V18H5.2H7.86667V2H5.2H2Z" fill="currentColor" fill-opacity="0.1"/>
13
- <path d="M7.86667 2H5.2H2V18H5.2H7.86667M7.86667 2H18V18H7.86667M7.86667 2V18" stroke="currentColor"/>`,"layout-left":'<path d="M2.91675 2.91699L2.91675 2.41699L2.41675 2.41699L2.41675 2.91699L2.91675 2.91699ZM17.0834 2.91699L17.5834 2.91699L17.5834 2.41699L17.0834 2.41699L17.0834 2.91699ZM17.0834 17.0837L17.0834 17.5837L17.5834 17.5837L17.5834 17.0837L17.0834 17.0837ZM2.91675 17.0837L2.41675 17.0837L2.41675 17.5837L2.91675 17.5837L2.91675 17.0837ZM7.41674 17.0837L7.41674 17.5837L8.41674 17.5837L8.41674 17.0837L7.91674 17.0837L7.41674 17.0837ZM8.41674 2.91699L8.41674 2.41699L7.41674 2.41699L7.41674 2.91699L7.91674 2.91699L8.41674 2.91699ZM2.91675 2.91699L2.91675 3.41699L17.0834 3.41699L17.0834 2.91699L17.0834 2.41699L2.91675 2.41699L2.91675 2.91699ZM17.0834 2.91699L16.5834 2.91699L16.5834 17.0837L17.0834 17.0837L17.5834 17.0837L17.5834 2.91699L17.0834 2.91699ZM17.0834 17.0837L17.0834 16.5837L2.91675 16.5837L2.91675 17.0837L2.91675 17.5837L17.0834 17.5837L17.0834 17.0837ZM2.91675 17.0837L3.41675 17.0837L3.41675 2.91699L2.91675 2.91699L2.41675 2.91699L2.41675 17.0837L2.91675 17.0837ZM7.91674 17.0837L8.41674 17.0837L8.41674 2.91699L7.91674 2.91699L7.41674 2.91699L7.41674 17.0837L7.91674 17.0837Z" fill="currentColor"/>',"layout-left-partial":'<path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/>',"layout-left-full":'<path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor"/><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/>',"layout-right":'<path d="M2.91536 2.91406H2.36536V2.36406H2.91536V2.91406ZM2.91536 17.0807V17.6307H2.36536V17.0807H2.91536ZM17.082 17.0807H17.632V17.6307H17.082V17.0807ZM17.082 2.91406V2.36406H17.632V2.91406H17.082ZM6.9987 2.91406H6.4487V2.36406H6.9987V2.91406ZM6.9987 17.0807V17.6307H6.4487V17.0807H6.9987ZM2.91536 2.91406H3.46536V17.0807H2.91536H2.36536V2.91406H2.91536ZM2.91536 17.0807V16.5307H17.082V17.0807V17.6307H2.91536V17.0807ZM17.082 17.0807H16.532V2.91406H17.082H17.632V17.0807H17.082ZM17.082 2.91406V3.46406H2.91536V2.91406V2.36406H17.082V2.91406ZM6.9987 2.91406H7.5487V17.0807H6.9987H6.4487V2.91406H6.9987ZM17.082 17.0807L17.082 17.6307L6.9987 17.6307V17.0807V16.5307L17.082 16.5307L17.082 17.0807ZM6.9987 2.91406V2.36406H17.082V2.91406V3.46406H6.9987V2.91406Z" fill="currentColor"/>',"layout-right-partial":'<path d="M17.082 17.0807L6.9987 17.0807V2.91406H17.082V17.0807Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91536 2.91406H2.36536V2.36406H2.91536V2.91406ZM2.91536 17.0807V17.6307H2.36536V17.0807H2.91536ZM17.082 17.0807H17.632V17.6307H17.082V17.0807ZM17.082 2.91406V2.36406H17.632V2.91406H17.082ZM6.9987 2.91406H6.4487V2.36406H6.9987V2.91406ZM6.9987 17.0807V17.6307H6.4487V17.0807H6.9987ZM2.91536 2.91406H3.46536V17.0807H2.91536H2.36536V2.91406H2.91536ZM2.91536 17.0807V16.5307H17.082V17.0807V17.6307H2.91536V17.0807ZM17.082 17.0807H16.532V2.91406H17.082H17.632V17.0807H17.082ZM17.082 2.91406V3.46406H2.91536V2.91406V2.36406H17.082V2.91406ZM6.9987 2.91406H7.5487V17.0807H6.9987H6.4487V2.91406H6.9987ZM17.082 17.0807L17.082 17.6307L6.9987 17.6307V17.0807V16.5307L17.082 16.5307L17.082 17.0807ZM6.9987 2.91406V2.36406H17.082V2.91406V3.46406H6.9987V2.91406Z" fill="currentColor" />',"layout-right-full":'<path d="M17.082 17.0807L6.9987 17.0807V2.91406H17.082V17.0807Z" fill="currentColor" /><path d="M2.91536 2.91406H2.36536V2.36406H2.91536V2.91406ZM2.91536 17.0807V17.6307H2.36536V17.0807H2.91536ZM17.082 17.0807H17.632V17.6307H17.082V17.0807ZM17.082 2.91406V2.36406H17.632V2.91406H17.082ZM6.9987 2.91406H6.4487V2.36406H6.9987V2.91406ZM6.9987 17.0807V17.6307H6.4487V17.0807H6.9987ZM2.91536 2.91406H3.46536V17.0807H2.91536H2.36536V2.91406H2.91536ZM2.91536 17.0807V16.5307H17.082V17.0807V17.6307H2.91536V17.0807ZM17.082 17.0807H16.532V2.91406H17.082H17.632V17.0807H17.082ZM17.082 2.91406V3.46406H2.91536V2.91406V2.36406H17.082V2.91406ZM6.9987 2.91406H7.5487V17.0807H6.9987H6.4487V2.91406H6.9987ZM17.082 17.0807L17.082 17.6307L6.9987 17.6307V17.0807V16.5307L17.082 16.5307L17.082 17.0807ZM6.9987 2.91406V2.36406H17.082V2.91406V3.46406H6.9987V2.91406Z" fill="currentColor" />',"square-arrow-top-right":'<path d="M7.91675 2.9165H2.91675V17.0832H17.0834V12.0832M12.0834 2.9165H17.0834V7.9165M9.58342 10.4165L16.6667 3.33317" stroke="currentColor" stroke-linecap="square"/>',"open-file":'<path d="M7.91602 2.91406H2.91602V17.0807H17.0827V12.0807M12.0827 2.91406H17.0827V7.91406M9.58268 10.4141L16.666 3.33073" stroke="currentColor" stroke-linecap="square"/>',"go-to-file":'<path d="M12.5 2.917H7.5V17.083H16.667V7.083L12.5 2.917ZM12.5 2.917V7.083H16.667M5 14.167V7.917M2.917 10L5 7.917L7.083 10" stroke="currentColor" stroke-linecap="square"/>',"speech-bubble":'<path d="M18.3334 10.0003C18.3334 5.57324 15.0927 2.91699 10.0001 2.91699C4.90749 2.91699 1.66675 5.57324 1.66675 10.0003C1.66675 11.1497 2.45578 13.1016 2.5771 13.3949C2.5878 13.4207 2.59839 13.4444 2.60802 13.4706C2.69194 13.6996 3.04282 14.9364 1.66675 16.7684C3.5186 17.6538 5.48526 16.1982 5.48526 16.1982C6.84592 16.9202 8.46491 17.0837 10.0001 17.0837C15.0927 17.0837 18.3334 14.4274 18.3334 10.0003Z" stroke="currentColor" stroke-linecap="square"/>',comment:'<path d="M16.25 3.75H3.75V16.25L6.875 14.4643H16.25V3.75Z" stroke="currentColor" stroke-linecap="square"/>',"folder-add-left":'<path d="M2.08333 9.58268V2.91602H8.33333L10 5.41602H17.9167V16.2493H8.75M3.75 12.0827V14.5827M3.75 14.5827V17.0827M3.75 14.5827H1.25M3.75 14.5827H6.25" stroke="currentColor" stroke-linecap="square"/>',github:'<path d="M10.0001 1.62549C14.6042 1.62549 18.3334 5.35465 18.3334 9.95882C18.333 11.7049 17.785 13.4068 16.7666 14.8251C15.7482 16.2434 14.3107 17.3066 12.6563 17.8651C12.2397 17.9484 12.0834 17.688 12.0834 17.4692C12.0834 17.188 12.0938 16.2922 12.0938 15.1776C12.0938 14.3963 11.8334 13.8963 11.5313 13.6359C13.3855 13.4276 15.3334 12.7192 15.3334 9.52132C15.3334 8.60465 15.0105 7.86507 14.4792 7.28174C14.5626 7.0734 14.8542 6.21924 14.3959 5.0734C14.3959 5.0734 13.698 4.84424 12.1042 5.92757C11.4376 5.74007 10.7292 5.64632 10.0209 5.64632C9.31258 5.64632 8.60425 5.74007 7.93758 5.92757C6.34383 4.85465 5.64592 5.0734 5.64592 5.0734C5.18758 6.21924 5.47925 7.0734 5.56258 7.28174C5.03133 7.86507 4.70842 8.61507 4.70842 9.52132C4.70842 12.7088 6.64592 13.4276 8.50008 13.6359C8.2605 13.8442 8.04175 14.2088 7.96883 14.7505C7.48967 14.9692 6.29175 15.3234 5.54175 14.063C5.3855 13.813 4.91675 13.1984 4.2605 13.2088C3.56258 13.2192 3.97925 13.6047 4.27092 13.7609C4.62508 13.9588 5.03133 14.6984 5.12508 14.938C5.29175 15.4067 5.83342 16.3026 7.92717 15.9172C7.92717 16.6151 7.93758 17.2713 7.93758 17.4692C7.93758 17.688 7.78133 17.938 7.36467 17.8651C5.70491 17.3126 4.26126 16.2515 3.23851 14.8324C2.21576 13.4133 1.66583 11.7081 1.66675 9.95882C1.66675 5.35465 5.39592 1.62549 10.0001 1.62549Z" fill="currentColor"/>',discord:'<path d="M16.0742 4.45014C14.9244 3.92097 13.7106 3.54556 12.4638 3.3335C12.2932 3.64011 12.1388 3.95557 12.0013 4.27856C10.6732 4.07738 9.32261 4.07738 7.99451 4.27856C7.85694 3.9556 7.70257 3.64014 7.53203 3.3335C6.28441 3.54735 5.06981 3.92365 3.91889 4.45291C1.63401 7.85128 1.01462 11.1652 1.32431 14.4322C2.6624 15.426 4.16009 16.1819 5.7523 16.6668C6.11082 16.1821 6.42806 15.6678 6.70066 15.1295C6.18289 14.9351 5.68315 14.6953 5.20723 14.4128C5.33249 14.3215 5.45499 14.2274 5.57336 14.136C6.95819 14.7907 8.46965 15.1302 9.99997 15.1302C11.5303 15.1302 13.0418 14.7907 14.4266 14.136C14.5463 14.2343 14.6688 14.3284 14.7927 14.4128C14.3159 14.6957 13.8152 14.9361 13.2965 15.1309C13.5688 15.669 13.8861 16.1828 14.2449 16.6668C15.8385 16.1838 17.3373 15.4283 18.6756 14.4335C19.039 10.645 18.0549 7.36145 16.0742 4.45014ZM7.09294 12.423C6.22992 12.423 5.51693 11.6357 5.51693 10.6671C5.51693 9.69852 6.20514 8.90427 7.09019 8.90427C7.97524 8.90427 8.68272 9.69852 8.66758 10.6671C8.65244 11.6357 7.97248 12.423 7.09294 12.423ZM12.907 12.423C12.0426 12.423 11.3324 11.6357 11.3324 10.6671C11.3324 9.69852 12.0206 8.90427 12.907 8.90427C13.7934 8.90427 14.4954 9.69852 14.4803 10.6671C14.4651 11.6357 13.7865 12.423 12.907 12.423Z" fill="currentColor"/>',"layout-bottom":'<path d="M2.91699 17.0832L2.41699 17.0832L2.41699 17.5832L2.91699 17.5832L2.91699 17.0832ZM2.91699 2.91653L2.91699 2.41653L2.41699 2.41653L2.41699 2.91653L2.91699 2.91653ZM17.0837 2.91653L17.5837 2.91653L17.5837 2.41653L17.0837 2.41653L17.0837 2.91653ZM17.0837 17.0832L17.5837 17.0832L17.5837 17.5832L17.0837 17.5832L17.0837 17.0832ZM17.0837 12.5827L17.5837 12.5827L17.5837 11.5827L17.0837 11.5827L17.0837 12.0827L17.0837 12.5827ZM2.91699 11.5827L2.41699 11.5827L2.41699 12.5827L2.91699 12.5827L2.91699 12.0827L2.91699 11.5827ZM2.91699 17.0832L3.41699 17.0832L3.41699 2.91653L2.91699 2.91653L2.41699 2.91653L2.41699 17.0832L2.91699 17.0832ZM2.91699 2.91653L2.91699 3.41653L17.0837 3.41653L17.0837 2.91653L17.0837 2.41653L2.91699 2.41653L2.91699 2.91653ZM17.0837 2.91653L16.5837 2.91653L16.5837 17.0832L17.0837 17.0832L17.5837 17.0832L17.5837 2.91653L17.0837 2.91653ZM17.0837 17.0832L17.0837 16.5832L2.91699 16.5832L2.91699 17.0832L2.91699 17.5832L17.0837 17.5832L17.0837 17.0832ZM17.0837 12.0827L17.0837 11.5827L2.91699 11.5827L2.91699 12.0827L2.91699 12.5827L17.0837 12.5827L17.0837 12.0827Z" fill="currentColor"/>',"layout-bottom-partial":'<path d="M2.91732 12.0827L17.084 12.0827L17.084 17.0827H2.91732L2.91732 12.0827Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M17.084 2.91602L17.084 17.0827M17.084 17.0827L2.91732 17.0827M2.91732 12.0827L17.084 12.0827" stroke="currentColor" stroke-linecap="square"/>',"layout-bottom-full":'<path d="M2.91732 12.0827L17.084 12.0827L17.084 17.0827H2.91732L2.91732 12.0827Z" fill="currentColor"/><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M17.084 2.91602L17.084 17.0827M17.084 17.0827L2.91732 17.0827M2.91732 12.0827L17.084 12.0827" stroke="currentColor" stroke-linecap="square"/>',"dot-grid":'<path d="M2.08398 9.16602H3.75065V10.8327H2.08398V9.16602Z" fill="currentColor"/><path d="M10.834 9.16602H9.16732V10.8327H10.834V9.16602Z" fill="currentColor"/><path d="M16.2507 9.16602H17.9173V10.8327H16.2507V9.16602Z" fill="currentColor"/><path d="M2.08398 9.16602H3.75065V10.8327H2.08398V9.16602Z" stroke="currentColor"/><path d="M10.834 9.16602H9.16732V10.8327H10.834V9.16602Z" stroke="currentColor"/><path d="M16.2507 9.16602H17.9173V10.8327H16.2507V9.16602Z" stroke="currentColor"/>',"circle-check":'<path d="M12.4987 7.91732L8.7487 12.5007L7.08203 10.834M17.9154 10.0007C17.9154 14.3729 14.371 17.9173 9.9987 17.9173C5.62644 17.9173 2.08203 14.3729 2.08203 10.0007C2.08203 5.6284 5.62644 2.08398 9.9987 2.08398C14.371 2.08398 17.9154 5.6284 17.9154 10.0007Z" stroke="currentColor" stroke-linecap="square"/>',copy:'<path d="M6.2513 6.24935V2.91602H17.0846V13.7493H13.7513M13.7513 6.24935V17.0827H2.91797V6.24935H13.7513Z" stroke="currentColor" stroke-linecap="round"/>',check:'<path d="M5 11.9657L8.37838 14.7529L15 5.83398" stroke="currentColor" stroke-linecap="square"/>',photo:'<path d="M16.6665 16.6666L11.6665 11.6666L9.99984 13.3333L6.6665 9.99996L3.08317 13.5833M2.9165 2.91663H17.0832V17.0833H2.9165V2.91663ZM13.3332 7.49996C13.3332 8.30537 12.6803 8.95829 11.8748 8.95829C11.0694 8.95829 10.4165 8.30537 10.4165 7.49996C10.4165 6.69454 11.0694 6.04163 11.8748 6.04163C12.6803 6.04163 13.3332 6.69454 13.3332 7.49996Z" stroke="currentColor" stroke-linecap="square"/>',share:'<path d="M10.0013 12.0846L10.0013 3.33464M13.7513 6.66797L10.0013 2.91797L6.2513 6.66797M17.0846 10.418V17.0846H2.91797V10.418" stroke="currentColor" stroke-linecap="square"/>',shield:'<path d="M7.49935 9.3737L9.16602 11.0404L12.4994 7.70703M9.99935 2.08203L17.0827 4.3737V9.92565C17.0827 14.0694 13.3327 16.2487 9.99935 18.047C6.66602 16.2487 2.91602 14.0694 2.91602 9.92565V4.3737L9.99935 2.08203Z" stroke="currentColor" stroke-linecap="square"/>',download:'<path d="M13.9583 10.6257L10 14.584L6.04167 10.6257M10 2.08398V13.959M16.25 17.9173H3.75" stroke="currentColor" stroke-linecap="square"/>',menu:'<path d="M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5" stroke="currentColor" stroke-linecap="square"/>',server:'<rect x="3.35547" y="1.92969" width="13.2857" height="16.1429" stroke="currentColor"/><rect x="3.35547" y="11.9297" width="13.2857" height="6.14286" stroke="currentColor"/><rect x="12.8555" y="14.2852" width="1.42857" height="1.42857" fill="currentColor"/><rect x="10" y="14.2852" width="1.42857" height="1.42857" fill="currentColor"/>',branch:'<path d="M14.2036 7.19987L14.2079 6.69989L13.2079 6.69132L13.2036 7.1913L13.7036 7.19559L14.2036 7.19987ZM8.14804 5.09032H7.64804C7.64804 5.75797 7.06861 6.34471 6.29619 6.34471V6.84471V7.34471C7.56926 7.34471 8.64804 6.36051 8.64804 5.09032H8.14804ZM6.29619 6.84471V6.34471C5.52376 6.34471 4.94434 5.75797 4.94434 5.09032H4.44434H3.94434C3.94434 6.36051 5.02311 7.34471 6.29619 7.34471V6.84471ZM4.44434 5.09032H4.94434C4.94434 4.42267 5.52376 3.83594 6.29619 3.83594V3.33594V2.83594C5.02311 2.83594 3.94434 3.82013 3.94434 5.09032H4.44434ZM6.29619 3.33594V3.83594C7.06861 3.83594 7.64804 4.42267 7.64804 5.09032H8.14804H8.64804C8.64804 3.82013 7.56926 2.83594 6.29619 2.83594V3.33594ZM8.14804 14.9149H7.64804C7.64804 15.5825 7.06861 16.1693 6.29619 16.1693V16.6693V17.1693C7.56926 17.1693 8.64804 16.1851 8.64804 14.9149H8.14804ZM6.29619 16.6693V16.1693C5.52376 16.1693 4.94434 15.5825 4.94434 14.9149H4.44434H3.94434C3.94434 16.1851 5.02311 17.1693 6.29619 17.1693V16.6693ZM4.44434 14.9149H4.94434C4.94434 14.2472 5.52376 13.6605 6.29619 13.6605V13.1605V12.6605C5.02311 12.6605 3.94434 13.6447 3.94434 14.9149H4.44434ZM6.29619 13.1605V13.6605C7.06861 13.6605 7.64804 14.2472 7.64804 14.9149H8.14804H8.64804C8.64804 13.6447 7.56926 12.6605 6.29619 12.6605V13.1605ZM15.5554 5.09032H15.0554C15.0554 5.75797 14.476 6.34471 13.7036 6.34471V6.84471V7.34471C14.9767 7.34471 16.0554 6.36051 16.0554 5.09032H15.5554ZM13.7036 6.84471V6.34471C12.9312 6.34471 12.3517 5.75797 12.3517 5.09032H11.8517H11.3517C11.3517 6.36051 12.4305 7.34471 13.7036 7.34471V6.84471ZM11.8517 5.09032H12.3517C12.3517 4.42267 12.9312 3.83594 13.7036 3.83594V3.33594V2.83594C12.4305 2.83594 11.3517 3.82013 11.3517 5.09032H11.8517ZM13.7036 3.33594V3.83594C14.476 3.83594 15.0554 4.42267 15.0554 5.09032H15.5554H16.0554C16.0554 3.82013 14.9767 2.83594 13.7036 2.83594V3.33594ZM13.7036 7.19559L13.2036 7.1913L13.1544 12.9277L13.6544 12.932L14.1544 12.9363L14.2036 7.19987L13.7036 7.19559ZM6.29619 6.84471H5.79619V13.1605H6.29619H6.79619V6.84471H6.29619ZM11.6545 14.9149V14.4149H8.14804V14.9149V15.4149H11.6545V14.9149ZM13.6544 12.932L13.1544 12.9277C13.1474 13.7511 12.4779 14.4149 11.6545 14.4149V14.9149V15.4149C13.0269 15.4149 14.1426 14.3086 14.1544 12.9363L13.6544 12.932Z" fill="currentColor"/>',edit:'<path d="M17.0832 17.0807V17.5807H17.5832V17.0807H17.0832ZM2.9165 17.0807H2.4165V17.5807H2.9165V17.0807ZM2.9165 2.91406V2.41406H2.4165V2.91406H2.9165ZM9.58317 3.41406H10.0832V2.41406H9.58317V2.91406V3.41406ZM17.5832 10.4141V9.91406H16.5832V10.4141H17.0832H17.5832ZM6.24984 11.2474L5.89628 10.8938L5.74984 11.0403V11.2474H6.24984ZM6.24984 13.7474H5.74984V14.2474H6.24984V13.7474ZM8.74984 13.7474V14.2474H8.95694L9.10339 14.101L8.74984 13.7474ZM15.2082 2.28906L15.5617 1.93551L15.2082 1.58196L14.8546 1.93551L15.2082 2.28906ZM17.7082 4.78906L18.0617 5.14262L18.4153 4.78906L18.0617 4.43551L17.7082 4.78906ZM17.0832 17.0807V16.5807H2.9165V17.0807V17.5807H17.0832V17.0807ZM2.9165 17.0807H3.4165V2.91406H2.9165H2.4165V17.0807H2.9165ZM2.9165 2.91406V3.41406H9.58317V2.91406V2.41406H2.9165V2.91406ZM17.0832 10.4141H16.5832V17.0807H17.0832H17.5832V10.4141H17.0832ZM6.24984 11.2474H5.74984V13.7474H6.24984H6.74984V11.2474H6.24984ZM6.24984 13.7474V14.2474H8.74984V13.7474V13.2474H6.24984V13.7474ZM6.24984 11.2474L6.60339 11.6009L15.5617 2.64262L15.2082 2.28906L14.8546 1.93551L5.89628 10.8938L6.24984 11.2474ZM15.2082 2.28906L14.8546 2.64262L17.3546 5.14262L17.7082 4.78906L18.0617 4.43551L15.5617 1.93551L15.2082 2.28906ZM17.7082 4.78906L17.3546 4.43551L8.39628 13.3938L8.74984 13.7474L9.10339 14.101L18.0617 5.14262L17.7082 4.78906Z" fill="currentColor"/>',history:'<path d="M10 3.33301C6.31811 3.33301 3.33337 6.31775 3.33337 9.99967C3.33337 13.6816 6.31811 16.6663 10 16.6663C13.682 16.6663 16.6667 13.6816 16.6667 9.99967H15.4167C15.4167 12.9912 12.9915 15.4163 10 15.4163C7.00851 15.4163 4.58337 12.9912 4.58337 9.99967C4.58337 7.00818 7.00851 4.58301 10 4.58301C11.6454 4.58301 13.1219 5.29453 14.1525 6.42634L12.0834 6.42634V7.67634H16.0417V3.74967H14.7917V5.52741C13.5128 4.15283 11.8556 3.33301 10 3.33301ZM10.625 7.08301H9.37504V10.2588L11.8413 12.7251L12.7252 11.8412L10.625 9.74106V7.08301Z" fill="currentColor"/>',help:'<path d="M7.91683 7.91927V6.2526H12.0835V8.7526L10.0002 10.0026V12.0859M10.0002 13.7526V13.7609M17.9168 10.0026C17.9168 14.3749 14.3724 17.9193 10.0002 17.9193C5.62791 17.9193 2.0835 14.3749 2.0835 10.0026C2.0835 5.63035 5.62791 2.08594 10.0002 2.08594C14.3724 2.08594 17.9168 5.63035 17.9168 10.0026Z" stroke="currentColor" stroke-linecap="square"/>',"settings-gear":'<path d="M7.62516 4.46094L5.05225 3.86719L3.86475 5.05469L4.4585 7.6276L2.0835 9.21094V10.7943L4.4585 12.3776L3.86475 14.9505L5.05225 16.138L7.62516 15.5443L9.2085 17.9193H10.7918L12.3752 15.5443L14.9481 16.138L16.1356 14.9505L15.5418 12.3776L17.9168 10.7943V9.21094L15.5418 7.6276L16.1356 5.05469L14.9481 3.86719L12.3752 4.46094L10.7918 2.08594H9.2085L7.62516 4.46094Z" stroke="currentColor"/><path d="M12.5002 10.0026C12.5002 11.3833 11.3809 12.5026 10.0002 12.5026C8.61945 12.5026 7.50016 11.3833 7.50016 10.0026C7.50016 8.62189 8.61945 7.5026 10.0002 7.5026C11.3809 7.5026 12.5002 8.62189 12.5002 10.0026Z" stroke="currentColor"/>',dash:'<rect x="5" y="9.5" width="10" height="1" fill="currentColor"/>',"cloud-upload":'<path d="M12.0833 16.25H15C17.0711 16.25 18.75 14.5711 18.75 12.5C18.75 10.5649 17.2843 8.97217 15.4025 8.77133C15.2 6.13103 12.8586 4.08333 10 4.08333C7.71532 4.08333 5.76101 5.49781 4.96501 7.49881C2.84892 7.90461 1.25 9.76559 1.25 11.6667C1.25 13.9813 3.30203 16.25 5.83333 16.25H7.91667M10 16.25V10.4167M12.0833 11.875L10 9.79167L7.91667 11.875" stroke="currentColor" stroke-linecap="square"/>',trash:'<path d="M4.58342 17.9134L4.58369 17.4134L4.22787 17.5384L4.22766 18.0384H4.58342V17.9134ZM15.4167 17.9134V18.0384H15.7725L15.7723 17.5384L15.4167 17.9134ZM2.08342 3.95508V3.45508H1.58342V3.95508H2.08342V4.45508V3.95508ZM17.9167 4.45508V4.95508H18.4167V4.45508H17.9167V3.95508V4.45508ZM4.16677 4.58008L3.66701 4.5996L4.22816 17.5379L4.72792 17.4934L5.22767 17.4489L4.66652 4.54055L4.16677 4.58008ZM4.58342 18.0384V17.9134H15.4167V18.0384V18.5384H4.58342V18.0384ZM15.4167 17.9134L15.8332 17.5379L16.2498 4.5996L15.7501 4.58008L15.2503 4.56055L14.8337 17.4989L15.4167 17.9134ZM15.8334 4.58008V4.08008H4.16677V4.58008V5.08008H15.8334V4.58008ZM2.08342 4.45508V4.95508H4.16677V4.58008V4.08008H2.08342V4.45508ZM15.8334 4.58008V5.08008H17.9167V4.45508V3.95508H15.8334V4.58008ZM6.83951 4.35149L7.432 4.55047C7.79251 3.47701 8.80699 2.70508 10.0001 2.70508V2.20508V1.70508C8.25392 1.70508 6.77335 2.83539 6.24702 4.15251L6.83951 4.35149ZM10.0001 2.20508V2.70508C11.1932 2.70508 12.2077 3.47701 12.5682 4.55047L13.1607 4.35149L13.7532 4.15251C13.2269 2.83539 11.7463 1.70508 10.0001 1.70508V2.20508Z" fill="currentColor"/>',sliders:'<path d="M3.625 6.25H10.9375M16.375 13.75H10.5625M3.625 13.75H4.9375M11.125 6.25C11.125 4.79969 12.2997 3.625 13.75 3.625C15.2003 3.625 16.375 4.79969 16.375 6.25C16.375 7.70031 15.2003 8.875 13.75 8.875C12.2997 8.875 11.125 7.70031 11.125 6.25ZM10.375 13.75C10.375 15.2003 9.20031 16.375 7.75 16.375C6.29969 16.375 5.125 15.2003 5.125 13.75C5.125 12.2997 6.29969 11.125 7.75 11.125C9.20031 11.125 10.375 12.2997 10.375 13.75Z" stroke="currentColor" stroke-linecap="square"/>',keyboard:'<path d="M5.125 7.375V4.375H14.875V2.875M8.3125 13.9375H11.6875M8.125 13.9375H11.875M2.125 7.375H17.875V17.125H2.125V7.375ZM5.5 10.375H5.125V10.75H5.5V10.375ZM8.5 10.375H8.125V10.75H8.5V10.375ZM11.875 10.375H11.5V10.75H11.875V10.375ZM14.875 10.375H14.5V10.75H14.875V10.375ZM14.875 13.75H14.5V14.125H14.875V13.75ZM5.5 13.75H5.125V14.125H5.5V13.75Z" stroke="currentColor" stroke-linecap="square"/>',selector:'<path d="M6.66626 12.5033L9.99959 15.8366L13.3329 12.5033M6.66626 7.50326L9.99959 4.16992L13.3329 7.50326" stroke="currentColor" stroke-linecap="square"/>',"arrow-down-to-line":'<path d="M15.2083 11.6667L10 16.875L4.79167 11.6667M10 16.25V3.125" stroke="currentColor" stroke-width="1.25" stroke-linecap="square"/>',star:'<path d="M10 2.5l2.35 4.76 5.25.77-3.8 3.7.9 5.24L10 14.64l-4.7 2.47.9-5.24-3.8-3.7 5.25-.77L10 2.5z" stroke="currentColor" stroke-linejoin="round"/>',"star-filled":'<path d="M10 2.5l2.35 4.76 5.25.77-3.8 3.7.9 5.24L10 14.64l-4.7 2.47.9-5.24-3.8-3.7 5.25-.77L10 2.5z" fill="currentColor" stroke="currentColor" stroke-linejoin="round"/>',warning:'<path d="M10 7.91667V11.6667M10 13.7417V13.75M10 2.5L1.875 16.25H18.125L10 2.5Z" stroke="currentColor" stroke-linecap="square"/>',reset:'<path d="M5.83333 4.16406L2.5 7.4974L5.83333 10.8307M3.33333 7.4974H17.9167V15.4141H10" stroke="currentColor" stroke-linecap="square"/>',link:'<path d="M2.08334 12.0833L1.72979 11.7298L1.37624 12.0833L1.72979 12.4369L2.08334 12.0833ZM7.91668 17.9167L7.56312 18.2702L7.91668 18.6238L8.27023 18.2702L7.91668 17.9167ZM17.9167 7.91666L18.2702 8.27022L18.6238 7.91666L18.2702 7.56311L17.9167 7.91666ZM12.0833 2.08333L12.4369 1.72977L12.0833 1.37622L11.7298 1.72977L12.0833 2.08333ZM8.39646 5.06311L8.0429 5.41666L8.75001 6.12377L9.10356 5.77021L8.75001 5.41666L8.39646 5.06311ZM5.77023 9.10355L6.12378 8.74999L5.41668 8.04289L5.06312 8.39644L5.41668 8.74999L5.77023 9.10355ZM14.2298 10.8964L13.8762 11.25L14.5833 11.9571L14.9369 11.6035L14.5833 11.25L14.2298 10.8964ZM11.6036 14.9369L11.9571 14.5833L11.25 13.8762L10.8965 14.2298L11.25 14.5833L11.6036 14.9369ZM7.14646 12.1464L6.7929 12.5L7.50001 13.2071L7.85356 12.8535L7.50001 12.5L7.14646 12.1464ZM12.8536 7.85355L13.2071 7.49999L12.5 6.79289L12.1465 7.14644L12.5 7.49999L12.8536 7.85355ZM2.08334 12.0833L1.72979 12.4369L7.56312 18.2702L7.91668 17.9167L8.27023 17.5631L2.4369 11.7298L2.08334 12.0833ZM17.9167 7.91666L18.2702 7.56311L12.4369 1.72977L12.0833 2.08333L11.7298 2.43688L17.5631 8.27022L17.9167 7.91666ZM12.0833 2.08333L11.7298 1.72977L8.39646 5.06311L8.75001 5.41666L9.10356 5.77021L12.4369 2.43688L12.0833 2.08333ZM5.41668 8.74999L5.06312 8.39644L1.72979 11.7298L2.08334 12.0833L2.4369 12.4369L5.77023 9.10355L5.41668 8.74999ZM14.5833 11.25L14.9369 11.6035L18.2702 8.27022L17.9167 7.91666L17.5631 7.56311L14.2298 10.8964L14.5833 11.25ZM7.91668 17.9167L8.27023 18.2702L11.6036 14.9369L11.25 14.5833L10.8965 14.2298L7.56312 17.5631L7.91668 17.9167ZM7.50001 12.5L7.85356 12.8535L12.8536 7.85355L12.5 7.49999L12.1465 7.14644L7.14646 12.1464L7.50001 12.5Z" fill="currentColor"/>',providers:'<path d="M10.0001 4.37562V2.875M13 4.37793V2.87793M7.00014 4.37793V2.875M10 17.1279V15.6279M13 17.1279V15.6279M7 17.1279V15.6279M15.625 13.0029H17.125M15.625 7.00293H17.125M15.625 10.0029H17.125M2.875 10.0029H4.375M2.875 13.0029H4.375M2.875 7.00293H4.375M4.375 4.37793H15.625V15.6279H4.375V4.37793ZM12.6241 10.0022C12.6241 11.4519 11.4488 12.6272 9.99908 12.6272C8.54934 12.6272 7.37408 11.4519 7.37408 10.0022C7.37408 8.55245 8.54934 7.3772 9.99908 7.3772C11.4488 7.3772 12.6241 8.55245 12.6241 10.0022Z" stroke="currentColor" stroke-linecap="square"/>',layers:'<path d="M10 2.5L2.5 6.25L10 10L17.5 6.25L10 2.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.5 13.75L10 17.5L17.5 13.75" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.5 10L10 13.75L17.5 10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',models:'<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 10C12.2917 10 10 12.2917 10 17.5C10 12.2917 7.70833 10 2.5 10C7.70833 10 10 7.70833 10 2.5C10 7.70833 12.2917 10 17.5 10Z" stroke="currentColor"/>',discard:'<path d="M7.5 5L4.167 8.333L7.5 11.667M4.583 8.333h6.667a4.167 4.167 0 0 1 4.167 4.167" stroke="currentColor" stroke-linecap="square"/>',"arrow-undo-down":'<path d="M4.08333 11.0859L1.75 8.7526L4.08333 6.41927M2.33333 8.7526L12.5417 8.7526L12.5417 3.21094L7 3.21094" stroke="currentColor" stroke-width="1" stroke-linecap="square"/>'};function r4(e){const[A,t]=G1(e,["name","size","class","classList"]),g=()=>A.name==="magnifying-glass"?"0 0 16 16":"0 0 20 20";return(()=>{var Q=s4(),i=Q.firstChild;return pe(i,n1({get classList(){return{...A.classList,[A.class??""]:!!A.class}},get viewBox(){return g()},get innerHTML(){return o4[A.name]}},t),!0,!1),H(()=>j(Q,"data-size",A.size||"normal")),Q})()}var a4=w("<div data-component=icon><svg data-slot=icon-svg fill=none aria-hidden=true>");const mg={"brain-circuit":{viewBox:"0 0 24 24",path:'<path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13a4.5 4.5 0 0 0 3-4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.477 10.896a4 4 0 0 1 .585-.396" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M6 18a4 4 0 0 1-1.967-.516" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 13h4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 18h6a2 2 0 0 1 2 2v1" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 8h8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 8V5a2 2 0 0 1 2-2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><circle cx="16" cy="13" r=".5" fill="currentColor"/><circle cx="18" cy="3" r=".5" fill="currentColor"/><circle cx="20" cy="21" r=".5" fill="currentColor"/><circle cx="20" cy="8" r=".5" fill="currentColor"/>'},"circuit-board":{viewBox:"0 0 16 16",path:'<path d="M12.5 1H3.5C2.121 1 1 2.121 1 3.5V12.5C1 13.879 2.121 15 3.5 15H12.5C13.879 15 15 13.879 15 12.5V3.5C15 2.121 13.879 1 12.5 1ZM6 6.5C6 6.775 5.775 7 5.5 7C5.225 7 5 6.775 5 6.5C5 6.225 5.225 6 5.5 6C5.775 6 6 6.225 6 6.5ZM12.5 14H6V11.5C6 11.225 6.225 11 6.5 11H9.092C9.299 11.581 9.849 12 10.5 12C11.327 12 12 11.327 12 10.5C12 9.673 11.327 9 10.5 9C9.849 9 9.299 9.419 9.092 10H6.5C5.673 10 5 10.673 5 11.5V14H3.5C2.673 14 2 13.327 2 12.5V3.5C2 2.673 2.673 2 3.5 2H5V5.092C4.419 5.299 4 5.849 4 6.5C4 7.327 4.673 8 5.5 8C6.327 8 7 7.327 7 6.5C7 5.849 6.581 5.299 6 5.092V2H12.5C13.327 2 14 2.673 14 3.5V6H10.908C10.701 5.419 10.151 5 9.5 5C8.673 5 8 5.673 8 6.5C8 7.327 8.673 8 9.5 8C10.151 8 10.701 7.581 10.908 7H14V12.5C14 13.327 13.327 14 12.5 14ZM10 10.5C10 10.225 10.225 10 10.5 10C10.775 10 11 10.225 11 10.5C11 10.775 10.775 11 10.5 11C10.225 11 10 10.775 10 10.5ZM10 6.5C10 6.775 9.775 7 9.5 7C9.225 7 9 6.775 9 6.5C9 6.225 9.225 6 9.5 6C9.775 6 10 6.225 10 6.5Z" fill="currentColor"/>'},organization:{viewBox:"0 0 16 16",path:'<path d="M6.00195 4.00002C6.00195 2.89655 6.89649 2.00201 7.99995 2.00201C9.10342 2.00201 9.99796 2.89655 9.99796 4.00002C9.99796 5.10348 9.10342 5.99802 7.99995 5.99802C6.89649 5.99802 6.00195 5.10348 6.00195 4.00002ZM7.99995 3.00201C7.44877 3.00201 7.00195 3.44883 7.00195 4.00002C7.00195 4.5512 7.44877 4.99802 7.99995 4.99802C8.55114 4.99802 8.99796 4.5512 8.99796 4.00002C8.99796 3.44883 8.55114 3.00201 7.99995 3.00201ZM11 4.5C11 3.67157 11.6716 3 12.5 3C13.3284 3 14 3.67157 14 4.5C14 5.32843 13.3284 6 12.5 6C11.6716 6 11 5.32843 11 4.5ZM12.5 4C12.2239 4 12 4.22386 12 4.5C12 4.77614 12.2239 5 12.5 5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4ZM3.5 3C2.67157 3 2 3.67157 2 4.5C2 5.32843 2.67157 6 3.5 6C4.32843 6 5 5.32843 5 4.5C5 3.67157 4.32843 3 3.5 3ZM3 4.5C3 4.22386 3.22386 4 3.5 4C3.77614 4 4 4.22386 4 4.5C4 4.77614 3.77614 5 3.5 5C3.22386 5 3 4.77614 3 4.5ZM4.26756 6.99969C4.09739 7.29387 4 7.63541 4 7.99969L2 7.99969V10.5C2 11.3285 2.67157 12 3.5 12C3.71194 12 3.91361 11.9561 4.09639 11.8768C4.1705 12.2082 4.28572 12.524 4.43643 12.8187C4.14721 12.9356 3.83112 13 3.5 13C2.11929 13 1 11.8807 1 10.5V7.99969C1 7.44741 1.44772 6.99969 2 6.99969H4.26756ZM11.5636 12.8187C11.8528 12.9356 12.1689 13 12.5 13C13.8807 13 15 11.8807 15 10.5V7.99969C15 7.44741 14.5523 6.99969 14 6.99969H11.7324C11.9026 7.29387 12 7.63541 12 7.9997L14 7.99969V10.5C14 11.3285 13.3284 12 12.5 12C12.2881 12 12.0864 11.9561 11.9036 11.8768C11.8295 12.2082 11.7143 12.524 11.5636 12.8187ZM6 6.99969C5.44772 6.99969 5 7.44741 5 7.99969V11C5 12.6569 6.34315 14 8 14C9.65685 14 11 12.6569 11 11V7.99969C11 7.44741 10.5523 6.99969 10 6.99969H6ZM6 7.99969L10 7.99969V11C10 12.1046 9.10457 13 8 13C6.89543 13 6 12.1046 6 11V7.99969Z" fill="currentColor"/>'},"thumbs-up":{viewBox:"0 0 20 20",path:'<path d="M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814.16-.432.248-.9.248-1.388Z" stroke="currentColor" fill="none" stroke-linejoin="round"/>'},"thumbs-down":{viewBox:"0 0 20 20",path:'<path d="M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 0 1 2.5 0v7.5ZM8.905 17v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826.204-.54-.166-1.174-.744-1.174h-2.52c-1.243 0-2.261-1.01-2.146-2.247a23.864 23.864 0 0 1 1.341-5.974C2.547 3.677 3.628 3 4.8 3h3.192a3 3 0 0 1 1.341.317l2.734 1.366A3 3 0 0 0 13.408 5H15v7h-.963c-.685 0-1.258.483-1.612 1.068a4.011 4.011 0 0 1-2.166 1.73c-.432.143-.853.386-1.011.814-.16.432-.248.9-.248 1.388Z" stroke="currentColor" fill="none" stroke-linejoin="round"/>'},"thumbs-up-filled":{viewBox:"0 0 20 20",path:'<path d="M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814.16-.432.248-.9.248-1.388Z" fill="currentColor"/>'},"thumbs-down-filled":{viewBox:"0 0 20 20",path:'<path d="M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 0 1 2.5 0v7.5ZM8.905 17v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826.204-.54-.166-1.174-.744-1.174h-2.52c-1.243 0-2.261-1.01-2.146-2.247a23.864 23.864 0 0 1 1.341-5.974C2.547 3.677 3.628 3 4.8 3h3.192a3 3 0 0 1 1.341.317l2.734 1.366A3 3 0 0 0 13.408 5H15v7h-.963c-.685 0-1.258.483-1.612 1.068a4.011 4.011 0 0 1-2.166 1.73c-.432.143-.853.386-1.011.814-.16.432-.248.9-.248 1.388Z" fill="currentColor"/>'},"files-expand":{viewBox:"0 0 16 16",path:'<path d="M15 6V11C15 13.21 13.21 15 11 15H6C5.26 15 4.62 14.6 4.27 14H11C12.65 14 14 12.65 14 11V4.27C14.6 4.62 15 5.26 15 6ZM11 13H4C2.897 13 2 12.103 2 11V4C2 2.897 2.897 2 4 2H11C12.103 2 13 2.897 13 4V11C13 12.103 12.103 13 11 13ZM4 12H11C11.551 12 12 11.552 12 11V4C12 3.449 11.551 3 11 3H4C3.449 3 3 3.449 3 4V11C3 11.552 3.449 12 4 12ZM9.5 7H8V5.5C8 5.224 7.776 5 7.5 5C7.224 5 7 5.224 7 5.5V7H5.5C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8H7V9.5C7 9.776 7.224 10 7.5 10C7.776 10 8 9.776 8 9.5V8H9.5C9.776 8 10 7.776 10 7.5C10 7.224 9.776 7 9.5 7Z" fill="currentColor"/>'},"files-collapse":{viewBox:"0 0 16 16",path:'<path d="M14 4.27051C14.5999 4.62053 15 5.26009 15 6V11C15 13.21 13.21 15 11 15H6C5.26009 15 4.62053 14.5999 4.27051 14H11C12.65 14 14 12.65 14 11V4.27051Z" fill="currentColor"/><path d="M9.5 7C9.776 7 10 7.224 10 7.5C10 7.776 9.776 8 9.5 8H5.5C5.224 8 5 7.776 5 7.5C5 7.224 5.224 7 5.5 7H9.5Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 2C12.103 2 13 2.897 13 4V11C13 12.103 12.103 13 11 13H4C2.897 13 2 12.103 2 11V4C2 2.897 2.897 2 4 2H11ZM4 3C3.449 3 3 3.449 3 4V11C3 11.552 3.449 12 4 12H11C11.551 12 12 11.552 12 11V4C12 3.449 11.551 3 11 3H4Z" fill="currentColor"/>'}};function De(e){const[A,t]=G1(e,["name","size","class","classList"]);return A.name in mg?(()=>{var g=a4(),Q=g.firstChild;return pe(Q,n1({get classList(){return{...A.classList,[A.class??""]:!!A.class}},get viewBox(){return mg[A.name].viewBox},get innerHTML(){return mg[A.name].path}},t),!0,!1),H(()=>j(g,"data-size",A.size||"normal")),g})():E(r4,n1(t,{get name(){return A.name},get size(){return A.size},get class(){return A.class},get classList(){return A.classList}}))}function E4(e){return!e||e==="normal"?"icon":e==="small"?"icon-sm":e==="large"?"icon-lg":e}function C4(e){return!e||e==="default"?"secondary":e}function g1(e){const[A,t]=G1(e,["variant","size","icon","iconSize","active","class","classList","children"]);return E(KQ,n1(t,{"data-component":"icon-button",get"data-size"(){return E4(A.size)},get"data-variant"(){return C4(A.variant)},get"data-active"(){return A.active||void 0},get"aria-pressed"(){return A.active||void 0},get classList(){return{...A.classList,[A.class??""]:!!A.class}},get children(){return[E(K,{get when(){return A.icon},children:g=>E(De,{get name(){return g()},get size(){return A.iconSize??"small"}})}),hA(()=>A.children)]}}))}const I4=({onRequest:e,onSseError:A,onSseEvent:t,responseTransformer:g,responseValidator:Q,sseDefaultRetryDelay:i,sseMaxRetryAttempts:n,sseMaxRetryDelay:B,sseSleepFn:s,url:o,...a})=>{let r;const C=s??(l=>new Promise(D=>setTimeout(D,l)));return{stream:async function*(){let l=i??3e3,D=0;const u=a.signal??new AbortController().signal;for(;!u.aborted;){D++;const y=a.headers instanceof Headers?a.headers:new Headers(a.headers);r!==void 0&&y.set("Last-Event-ID",r);try{const p={redirect:"follow",...a,body:a.serializedBody,headers:y,signal:u};let M=new Request(o,p);e&&(M=await e(o,p));const m=await(a.fetch??globalThis.fetch)(M);if(!m.ok)throw new Error(`SSE failed: ${m.status} ${m.statusText}`);if(!m.body)throw new Error("No body in SSE response");const O=m.body.pipeThrough(new TextDecoderStream).getReader();let S="";const G=()=>{try{O.cancel()}catch{}};u.addEventListener("abort",G);try{for(;;){const{done:x,value:F}=await O.read();if(x)break;S+=F,S=S.replace(/\r\n/g,`
13
+ <path d="M7.86667 2H5.2H2V18H5.2H7.86667M7.86667 2H18V18H7.86667M7.86667 2V18" stroke="currentColor"/>`,"layout-left":'<path d="M2.91675 2.91699L2.91675 2.41699L2.41675 2.41699L2.41675 2.91699L2.91675 2.91699ZM17.0834 2.91699L17.5834 2.91699L17.5834 2.41699L17.0834 2.41699L17.0834 2.91699ZM17.0834 17.0837L17.0834 17.5837L17.5834 17.5837L17.5834 17.0837L17.0834 17.0837ZM2.91675 17.0837L2.41675 17.0837L2.41675 17.5837L2.91675 17.5837L2.91675 17.0837ZM7.41674 17.0837L7.41674 17.5837L8.41674 17.5837L8.41674 17.0837L7.91674 17.0837L7.41674 17.0837ZM8.41674 2.91699L8.41674 2.41699L7.41674 2.41699L7.41674 2.91699L7.91674 2.91699L8.41674 2.91699ZM2.91675 2.91699L2.91675 3.41699L17.0834 3.41699L17.0834 2.91699L17.0834 2.41699L2.91675 2.41699L2.91675 2.91699ZM17.0834 2.91699L16.5834 2.91699L16.5834 17.0837L17.0834 17.0837L17.5834 17.0837L17.5834 2.91699L17.0834 2.91699ZM17.0834 17.0837L17.0834 16.5837L2.91675 16.5837L2.91675 17.0837L2.91675 17.5837L17.0834 17.5837L17.0834 17.0837ZM2.91675 17.0837L3.41675 17.0837L3.41675 2.91699L2.91675 2.91699L2.41675 2.91699L2.41675 17.0837L2.91675 17.0837ZM7.91674 17.0837L8.41674 17.0837L8.41674 2.91699L7.91674 2.91699L7.41674 2.91699L7.41674 17.0837L7.91674 17.0837Z" fill="currentColor"/>',"layout-left-partial":'<path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/>',"layout-left-full":'<path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor"/><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/>',"layout-right":'<path d="M2.91536 2.91406H2.36536V2.36406H2.91536V2.91406ZM2.91536 17.0807V17.6307H2.36536V17.0807H2.91536ZM17.082 17.0807H17.632V17.6307H17.082V17.0807ZM17.082 2.91406V2.36406H17.632V2.91406H17.082ZM6.9987 2.91406H6.4487V2.36406H6.9987V2.91406ZM6.9987 17.0807V17.6307H6.4487V17.0807H6.9987ZM2.91536 2.91406H3.46536V17.0807H2.91536H2.36536V2.91406H2.91536ZM2.91536 17.0807V16.5307H17.082V17.0807V17.6307H2.91536V17.0807ZM17.082 17.0807H16.532V2.91406H17.082H17.632V17.0807H17.082ZM17.082 2.91406V3.46406H2.91536V2.91406V2.36406H17.082V2.91406ZM6.9987 2.91406H7.5487V17.0807H6.9987H6.4487V2.91406H6.9987ZM17.082 17.0807L17.082 17.6307L6.9987 17.6307V17.0807V16.5307L17.082 16.5307L17.082 17.0807ZM6.9987 2.91406V2.36406H17.082V2.91406V3.46406H6.9987V2.91406Z" fill="currentColor"/>',"layout-right-partial":'<path d="M17.082 17.0807L6.9987 17.0807V2.91406H17.082V17.0807Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91536 2.91406H2.36536V2.36406H2.91536V2.91406ZM2.91536 17.0807V17.6307H2.36536V17.0807H2.91536ZM17.082 17.0807H17.632V17.6307H17.082V17.0807ZM17.082 2.91406V2.36406H17.632V2.91406H17.082ZM6.9987 2.91406H6.4487V2.36406H6.9987V2.91406ZM6.9987 17.0807V17.6307H6.4487V17.0807H6.9987ZM2.91536 2.91406H3.46536V17.0807H2.91536H2.36536V2.91406H2.91536ZM2.91536 17.0807V16.5307H17.082V17.0807V17.6307H2.91536V17.0807ZM17.082 17.0807H16.532V2.91406H17.082H17.632V17.0807H17.082ZM17.082 2.91406V3.46406H2.91536V2.91406V2.36406H17.082V2.91406ZM6.9987 2.91406H7.5487V17.0807H6.9987H6.4487V2.91406H6.9987ZM17.082 17.0807L17.082 17.6307L6.9987 17.6307V17.0807V16.5307L17.082 16.5307L17.082 17.0807ZM6.9987 2.91406V2.36406H17.082V2.91406V3.46406H6.9987V2.91406Z" fill="currentColor" />',"layout-right-full":'<path d="M17.082 17.0807L6.9987 17.0807V2.91406H17.082V17.0807Z" fill="currentColor" /><path d="M2.91536 2.91406H2.36536V2.36406H2.91536V2.91406ZM2.91536 17.0807V17.6307H2.36536V17.0807H2.91536ZM17.082 17.0807H17.632V17.6307H17.082V17.0807ZM17.082 2.91406V2.36406H17.632V2.91406H17.082ZM6.9987 2.91406H6.4487V2.36406H6.9987V2.91406ZM6.9987 17.0807V17.6307H6.4487V17.0807H6.9987ZM2.91536 2.91406H3.46536V17.0807H2.91536H2.36536V2.91406H2.91536ZM2.91536 17.0807V16.5307H17.082V17.0807V17.6307H2.91536V17.0807ZM17.082 17.0807H16.532V2.91406H17.082H17.632V17.0807H17.082ZM17.082 2.91406V3.46406H2.91536V2.91406V2.36406H17.082V2.91406ZM6.9987 2.91406H7.5487V17.0807H6.9987H6.4487V2.91406H6.9987ZM17.082 17.0807L17.082 17.6307L6.9987 17.6307V17.0807V16.5307L17.082 16.5307L17.082 17.0807ZM6.9987 2.91406V2.36406H17.082V2.91406V3.46406H6.9987V2.91406Z" fill="currentColor" />',"square-arrow-top-right":'<path d="M7.91675 2.9165H2.91675V17.0832H17.0834V12.0832M12.0834 2.9165H17.0834V7.9165M9.58342 10.4165L16.6667 3.33317" stroke="currentColor" stroke-linecap="square"/>',"open-file":'<path d="M7.91602 2.91406H2.91602V17.0807H17.0827V12.0807M12.0827 2.91406H17.0827V7.91406M9.58268 10.4141L16.666 3.33073" stroke="currentColor" stroke-linecap="square"/>',"go-to-file":'<path d="M12.5 2.917H7.5V17.083H16.667V7.083L12.5 2.917ZM12.5 2.917V7.083H16.667M5 14.167V7.917M2.917 10L5 7.917L7.083 10" stroke="currentColor" stroke-linecap="square"/>',"speech-bubble":'<path d="M18.3334 10.0003C18.3334 5.57324 15.0927 2.91699 10.0001 2.91699C4.90749 2.91699 1.66675 5.57324 1.66675 10.0003C1.66675 11.1497 2.45578 13.1016 2.5771 13.3949C2.5878 13.4207 2.59839 13.4444 2.60802 13.4706C2.69194 13.6996 3.04282 14.9364 1.66675 16.7684C3.5186 17.6538 5.48526 16.1982 5.48526 16.1982C6.84592 16.9202 8.46491 17.0837 10.0001 17.0837C15.0927 17.0837 18.3334 14.4274 18.3334 10.0003Z" stroke="currentColor" stroke-linecap="square"/>',comment:'<path d="M16.25 3.75H3.75V16.25L6.875 14.4643H16.25V3.75Z" stroke="currentColor" stroke-linecap="square"/>',"folder-add-left":'<path d="M2.08333 9.58268V2.91602H8.33333L10 5.41602H17.9167V16.2493H8.75M3.75 12.0827V14.5827M3.75 14.5827V17.0827M3.75 14.5827H1.25M3.75 14.5827H6.25" stroke="currentColor" stroke-linecap="square"/>',github:'<path d="M10.0001 1.62549C14.6042 1.62549 18.3334 5.35465 18.3334 9.95882C18.333 11.7049 17.785 13.4068 16.7666 14.8251C15.7482 16.2434 14.3107 17.3066 12.6563 17.8651C12.2397 17.9484 12.0834 17.688 12.0834 17.4692C12.0834 17.188 12.0938 16.2922 12.0938 15.1776C12.0938 14.3963 11.8334 13.8963 11.5313 13.6359C13.3855 13.4276 15.3334 12.7192 15.3334 9.52132C15.3334 8.60465 15.0105 7.86507 14.4792 7.28174C14.5626 7.0734 14.8542 6.21924 14.3959 5.0734C14.3959 5.0734 13.698 4.84424 12.1042 5.92757C11.4376 5.74007 10.7292 5.64632 10.0209 5.64632C9.31258 5.64632 8.60425 5.74007 7.93758 5.92757C6.34383 4.85465 5.64592 5.0734 5.64592 5.0734C5.18758 6.21924 5.47925 7.0734 5.56258 7.28174C5.03133 7.86507 4.70842 8.61507 4.70842 9.52132C4.70842 12.7088 6.64592 13.4276 8.50008 13.6359C8.2605 13.8442 8.04175 14.2088 7.96883 14.7505C7.48967 14.9692 6.29175 15.3234 5.54175 14.063C5.3855 13.813 4.91675 13.1984 4.2605 13.2088C3.56258 13.2192 3.97925 13.6047 4.27092 13.7609C4.62508 13.9588 5.03133 14.6984 5.12508 14.938C5.29175 15.4067 5.83342 16.3026 7.92717 15.9172C7.92717 16.6151 7.93758 17.2713 7.93758 17.4692C7.93758 17.688 7.78133 17.938 7.36467 17.8651C5.70491 17.3126 4.26126 16.2515 3.23851 14.8324C2.21576 13.4133 1.66583 11.7081 1.66675 9.95882C1.66675 5.35465 5.39592 1.62549 10.0001 1.62549Z" fill="currentColor"/>',discord:'<path d="M16.0742 4.45014C14.9244 3.92097 13.7106 3.54556 12.4638 3.3335C12.2932 3.64011 12.1388 3.95557 12.0013 4.27856C10.6732 4.07738 9.32261 4.07738 7.99451 4.27856C7.85694 3.9556 7.70257 3.64014 7.53203 3.3335C6.28441 3.54735 5.06981 3.92365 3.91889 4.45291C1.63401 7.85128 1.01462 11.1652 1.32431 14.4322C2.6624 15.426 4.16009 16.1819 5.7523 16.6668C6.11082 16.1821 6.42806 15.6678 6.70066 15.1295C6.18289 14.9351 5.68315 14.6953 5.20723 14.4128C5.33249 14.3215 5.45499 14.2274 5.57336 14.136C6.95819 14.7907 8.46965 15.1302 9.99997 15.1302C11.5303 15.1302 13.0418 14.7907 14.4266 14.136C14.5463 14.2343 14.6688 14.3284 14.7927 14.4128C14.3159 14.6957 13.8152 14.9361 13.2965 15.1309C13.5688 15.669 13.8861 16.1828 14.2449 16.6668C15.8385 16.1838 17.3373 15.4283 18.6756 14.4335C19.039 10.645 18.0549 7.36145 16.0742 4.45014ZM7.09294 12.423C6.22992 12.423 5.51693 11.6357 5.51693 10.6671C5.51693 9.69852 6.20514 8.90427 7.09019 8.90427C7.97524 8.90427 8.68272 9.69852 8.66758 10.6671C8.65244 11.6357 7.97248 12.423 7.09294 12.423ZM12.907 12.423C12.0426 12.423 11.3324 11.6357 11.3324 10.6671C11.3324 9.69852 12.0206 8.90427 12.907 8.90427C13.7934 8.90427 14.4954 9.69852 14.4803 10.6671C14.4651 11.6357 13.7865 12.423 12.907 12.423Z" fill="currentColor"/>',"layout-bottom":'<path d="M2.91699 17.0832L2.41699 17.0832L2.41699 17.5832L2.91699 17.5832L2.91699 17.0832ZM2.91699 2.91653L2.91699 2.41653L2.41699 2.41653L2.41699 2.91653L2.91699 2.91653ZM17.0837 2.91653L17.5837 2.91653L17.5837 2.41653L17.0837 2.41653L17.0837 2.91653ZM17.0837 17.0832L17.5837 17.0832L17.5837 17.5832L17.0837 17.5832L17.0837 17.0832ZM17.0837 12.5827L17.5837 12.5827L17.5837 11.5827L17.0837 11.5827L17.0837 12.0827L17.0837 12.5827ZM2.91699 11.5827L2.41699 11.5827L2.41699 12.5827L2.91699 12.5827L2.91699 12.0827L2.91699 11.5827ZM2.91699 17.0832L3.41699 17.0832L3.41699 2.91653L2.91699 2.91653L2.41699 2.91653L2.41699 17.0832L2.91699 17.0832ZM2.91699 2.91653L2.91699 3.41653L17.0837 3.41653L17.0837 2.91653L17.0837 2.41653L2.91699 2.41653L2.91699 2.91653ZM17.0837 2.91653L16.5837 2.91653L16.5837 17.0832L17.0837 17.0832L17.5837 17.0832L17.5837 2.91653L17.0837 2.91653ZM17.0837 17.0832L17.0837 16.5832L2.91699 16.5832L2.91699 17.0832L2.91699 17.5832L17.0837 17.5832L17.0837 17.0832ZM17.0837 12.0827L17.0837 11.5827L2.91699 11.5827L2.91699 12.0827L2.91699 12.5827L17.0837 12.5827L17.0837 12.0827Z" fill="currentColor"/>',"layout-bottom-partial":'<path d="M2.91732 12.0827L17.084 12.0827L17.084 17.0827H2.91732L2.91732 12.0827Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M17.084 2.91602L17.084 17.0827M17.084 17.0827L2.91732 17.0827M2.91732 12.0827L17.084 12.0827" stroke="currentColor" stroke-linecap="square"/>',"layout-bottom-full":'<path d="M2.91732 12.0827L17.084 12.0827L17.084 17.0827H2.91732L2.91732 12.0827Z" fill="currentColor"/><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M17.084 2.91602L17.084 17.0827M17.084 17.0827L2.91732 17.0827M2.91732 12.0827L17.084 12.0827" stroke="currentColor" stroke-linecap="square"/>',"dot-grid":'<path d="M2.08398 9.16602H3.75065V10.8327H2.08398V9.16602Z" fill="currentColor"/><path d="M10.834 9.16602H9.16732V10.8327H10.834V9.16602Z" fill="currentColor"/><path d="M16.2507 9.16602H17.9173V10.8327H16.2507V9.16602Z" fill="currentColor"/><path d="M2.08398 9.16602H3.75065V10.8327H2.08398V9.16602Z" stroke="currentColor"/><path d="M10.834 9.16602H9.16732V10.8327H10.834V9.16602Z" stroke="currentColor"/><path d="M16.2507 9.16602H17.9173V10.8327H16.2507V9.16602Z" stroke="currentColor"/>',"circle-check":'<path d="M12.4987 7.91732L8.7487 12.5007L7.08203 10.834M17.9154 10.0007C17.9154 14.3729 14.371 17.9173 9.9987 17.9173C5.62644 17.9173 2.08203 14.3729 2.08203 10.0007C2.08203 5.6284 5.62644 2.08398 9.9987 2.08398C14.371 2.08398 17.9154 5.6284 17.9154 10.0007Z" stroke="currentColor" stroke-linecap="square"/>',copy:'<path d="M6.2513 6.24935V2.91602H17.0846V13.7493H13.7513M13.7513 6.24935V17.0827H2.91797V6.24935H13.7513Z" stroke="currentColor" stroke-linecap="round"/>',check:'<path d="M5 11.9657L8.37838 14.7529L15 5.83398" stroke="currentColor" stroke-linecap="square"/>',photo:'<path d="M16.6665 16.6666L11.6665 11.6666L9.99984 13.3333L6.6665 9.99996L3.08317 13.5833M2.9165 2.91663H17.0832V17.0833H2.9165V2.91663ZM13.3332 7.49996C13.3332 8.30537 12.6803 8.95829 11.8748 8.95829C11.0694 8.95829 10.4165 8.30537 10.4165 7.49996C10.4165 6.69454 11.0694 6.04163 11.8748 6.04163C12.6803 6.04163 13.3332 6.69454 13.3332 7.49996Z" stroke="currentColor" stroke-linecap="square"/>',share:'<path d="M10.0013 12.0846L10.0013 3.33464M13.7513 6.66797L10.0013 2.91797L6.2513 6.66797M17.0846 10.418V17.0846H2.91797V10.418" stroke="currentColor" stroke-linecap="square"/>',shield:'<path d="M7.49935 9.3737L9.16602 11.0404L12.4994 7.70703M9.99935 2.08203L17.0827 4.3737V9.92565C17.0827 14.0694 13.3327 16.2487 9.99935 18.047C6.66602 16.2487 2.91602 14.0694 2.91602 9.92565V4.3737L9.99935 2.08203Z" stroke="currentColor" stroke-linecap="square"/>',download:'<path d="M13.9583 10.6257L10 14.584L6.04167 10.6257M10 2.08398V13.959M16.25 17.9173H3.75" stroke="currentColor" stroke-linecap="square"/>',menu:'<path d="M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5" stroke="currentColor" stroke-linecap="square"/>',server:'<rect x="3.35547" y="1.92969" width="13.2857" height="16.1429" stroke="currentColor"/><rect x="3.35547" y="11.9297" width="13.2857" height="6.14286" stroke="currentColor"/><rect x="12.8555" y="14.2852" width="1.42857" height="1.42857" fill="currentColor"/><rect x="10" y="14.2852" width="1.42857" height="1.42857" fill="currentColor"/>',branch:'<path d="M14.2036 7.19987L14.2079 6.69989L13.2079 6.69132L13.2036 7.1913L13.7036 7.19559L14.2036 7.19987ZM8.14804 5.09032H7.64804C7.64804 5.75797 7.06861 6.34471 6.29619 6.34471V6.84471V7.34471C7.56926 7.34471 8.64804 6.36051 8.64804 5.09032H8.14804ZM6.29619 6.84471V6.34471C5.52376 6.34471 4.94434 5.75797 4.94434 5.09032H4.44434H3.94434C3.94434 6.36051 5.02311 7.34471 6.29619 7.34471V6.84471ZM4.44434 5.09032H4.94434C4.94434 4.42267 5.52376 3.83594 6.29619 3.83594V3.33594V2.83594C5.02311 2.83594 3.94434 3.82013 3.94434 5.09032H4.44434ZM6.29619 3.33594V3.83594C7.06861 3.83594 7.64804 4.42267 7.64804 5.09032H8.14804H8.64804C8.64804 3.82013 7.56926 2.83594 6.29619 2.83594V3.33594ZM8.14804 14.9149H7.64804C7.64804 15.5825 7.06861 16.1693 6.29619 16.1693V16.6693V17.1693C7.56926 17.1693 8.64804 16.1851 8.64804 14.9149H8.14804ZM6.29619 16.6693V16.1693C5.52376 16.1693 4.94434 15.5825 4.94434 14.9149H4.44434H3.94434C3.94434 16.1851 5.02311 17.1693 6.29619 17.1693V16.6693ZM4.44434 14.9149H4.94434C4.94434 14.2472 5.52376 13.6605 6.29619 13.6605V13.1605V12.6605C5.02311 12.6605 3.94434 13.6447 3.94434 14.9149H4.44434ZM6.29619 13.1605V13.6605C7.06861 13.6605 7.64804 14.2472 7.64804 14.9149H8.14804H8.64804C8.64804 13.6447 7.56926 12.6605 6.29619 12.6605V13.1605ZM15.5554 5.09032H15.0554C15.0554 5.75797 14.476 6.34471 13.7036 6.34471V6.84471V7.34471C14.9767 7.34471 16.0554 6.36051 16.0554 5.09032H15.5554ZM13.7036 6.84471V6.34471C12.9312 6.34471 12.3517 5.75797 12.3517 5.09032H11.8517H11.3517C11.3517 6.36051 12.4305 7.34471 13.7036 7.34471V6.84471ZM11.8517 5.09032H12.3517C12.3517 4.42267 12.9312 3.83594 13.7036 3.83594V3.33594V2.83594C12.4305 2.83594 11.3517 3.82013 11.3517 5.09032H11.8517ZM13.7036 3.33594V3.83594C14.476 3.83594 15.0554 4.42267 15.0554 5.09032H15.5554H16.0554C16.0554 3.82013 14.9767 2.83594 13.7036 2.83594V3.33594ZM13.7036 7.19559L13.2036 7.1913L13.1544 12.9277L13.6544 12.932L14.1544 12.9363L14.2036 7.19987L13.7036 7.19559ZM6.29619 6.84471H5.79619V13.1605H6.29619H6.79619V6.84471H6.29619ZM11.6545 14.9149V14.4149H8.14804V14.9149V15.4149H11.6545V14.9149ZM13.6544 12.932L13.1544 12.9277C13.1474 13.7511 12.4779 14.4149 11.6545 14.4149V14.9149V15.4149C13.0269 15.4149 14.1426 14.3086 14.1544 12.9363L13.6544 12.932Z" fill="currentColor"/>',edit:'<path d="M17.0832 17.0807V17.5807H17.5832V17.0807H17.0832ZM2.9165 17.0807H2.4165V17.5807H2.9165V17.0807ZM2.9165 2.91406V2.41406H2.4165V2.91406H2.9165ZM9.58317 3.41406H10.0832V2.41406H9.58317V2.91406V3.41406ZM17.5832 10.4141V9.91406H16.5832V10.4141H17.0832H17.5832ZM6.24984 11.2474L5.89628 10.8938L5.74984 11.0403V11.2474H6.24984ZM6.24984 13.7474H5.74984V14.2474H6.24984V13.7474ZM8.74984 13.7474V14.2474H8.95694L9.10339 14.101L8.74984 13.7474ZM15.2082 2.28906L15.5617 1.93551L15.2082 1.58196L14.8546 1.93551L15.2082 2.28906ZM17.7082 4.78906L18.0617 5.14262L18.4153 4.78906L18.0617 4.43551L17.7082 4.78906ZM17.0832 17.0807V16.5807H2.9165V17.0807V17.5807H17.0832V17.0807ZM2.9165 17.0807H3.4165V2.91406H2.9165H2.4165V17.0807H2.9165ZM2.9165 2.91406V3.41406H9.58317V2.91406V2.41406H2.9165V2.91406ZM17.0832 10.4141H16.5832V17.0807H17.0832H17.5832V10.4141H17.0832ZM6.24984 11.2474H5.74984V13.7474H6.24984H6.74984V11.2474H6.24984ZM6.24984 13.7474V14.2474H8.74984V13.7474V13.2474H6.24984V13.7474ZM6.24984 11.2474L6.60339 11.6009L15.5617 2.64262L15.2082 2.28906L14.8546 1.93551L5.89628 10.8938L6.24984 11.2474ZM15.2082 2.28906L14.8546 2.64262L17.3546 5.14262L17.7082 4.78906L18.0617 4.43551L15.5617 1.93551L15.2082 2.28906ZM17.7082 4.78906L17.3546 4.43551L8.39628 13.3938L8.74984 13.7474L9.10339 14.101L18.0617 5.14262L17.7082 4.78906Z" fill="currentColor"/>',history:'<path d="M10 3.33301C6.31811 3.33301 3.33337 6.31775 3.33337 9.99967C3.33337 13.6816 6.31811 16.6663 10 16.6663C13.682 16.6663 16.6667 13.6816 16.6667 9.99967H15.4167C15.4167 12.9912 12.9915 15.4163 10 15.4163C7.00851 15.4163 4.58337 12.9912 4.58337 9.99967C4.58337 7.00818 7.00851 4.58301 10 4.58301C11.6454 4.58301 13.1219 5.29453 14.1525 6.42634L12.0834 6.42634V7.67634H16.0417V3.74967H14.7917V5.52741C13.5128 4.15283 11.8556 3.33301 10 3.33301ZM10.625 7.08301H9.37504V10.2588L11.8413 12.7251L12.7252 11.8412L10.625 9.74106V7.08301Z" fill="currentColor"/>',help:'<path d="M7.91683 7.91927V6.2526H12.0835V8.7526L10.0002 10.0026V12.0859M10.0002 13.7526V13.7609M17.9168 10.0026C17.9168 14.3749 14.3724 17.9193 10.0002 17.9193C5.62791 17.9193 2.0835 14.3749 2.0835 10.0026C2.0835 5.63035 5.62791 2.08594 10.0002 2.08594C14.3724 2.08594 17.9168 5.63035 17.9168 10.0026Z" stroke="currentColor" stroke-linecap="square"/>',"settings-gear":'<path d="M7.62516 4.46094L5.05225 3.86719L3.86475 5.05469L4.4585 7.6276L2.0835 9.21094V10.7943L4.4585 12.3776L3.86475 14.9505L5.05225 16.138L7.62516 15.5443L9.2085 17.9193H10.7918L12.3752 15.5443L14.9481 16.138L16.1356 14.9505L15.5418 12.3776L17.9168 10.7943V9.21094L15.5418 7.6276L16.1356 5.05469L14.9481 3.86719L12.3752 4.46094L10.7918 2.08594H9.2085L7.62516 4.46094Z" stroke="currentColor"/><path d="M12.5002 10.0026C12.5002 11.3833 11.3809 12.5026 10.0002 12.5026C8.61945 12.5026 7.50016 11.3833 7.50016 10.0026C7.50016 8.62189 8.61945 7.5026 10.0002 7.5026C11.3809 7.5026 12.5002 8.62189 12.5002 10.0026Z" stroke="currentColor"/>',dash:'<rect x="5" y="9.5" width="10" height="1" fill="currentColor"/>',"cloud-upload":'<path d="M12.0833 16.25H15C17.0711 16.25 18.75 14.5711 18.75 12.5C18.75 10.5649 17.2843 8.97217 15.4025 8.77133C15.2 6.13103 12.8586 4.08333 10 4.08333C7.71532 4.08333 5.76101 5.49781 4.96501 7.49881C2.84892 7.90461 1.25 9.76559 1.25 11.6667C1.25 13.9813 3.30203 16.25 5.83333 16.25H7.91667M10 16.25V10.4167M12.0833 11.875L10 9.79167L7.91667 11.875" stroke="currentColor" stroke-linecap="square"/>',trash:'<path d="M4.58342 17.9134L4.58369 17.4134L4.22787 17.5384L4.22766 18.0384H4.58342V17.9134ZM15.4167 17.9134V18.0384H15.7725L15.7723 17.5384L15.4167 17.9134ZM2.08342 3.95508V3.45508H1.58342V3.95508H2.08342V4.45508V3.95508ZM17.9167 4.45508V4.95508H18.4167V4.45508H17.9167V3.95508V4.45508ZM4.16677 4.58008L3.66701 4.5996L4.22816 17.5379L4.72792 17.4934L5.22767 17.4489L4.66652 4.54055L4.16677 4.58008ZM4.58342 18.0384V17.9134H15.4167V18.0384V18.5384H4.58342V18.0384ZM15.4167 17.9134L15.8332 17.5379L16.2498 4.5996L15.7501 4.58008L15.2503 4.56055L14.8337 17.4989L15.4167 17.9134ZM15.8334 4.58008V4.08008H4.16677V4.58008V5.08008H15.8334V4.58008ZM2.08342 4.45508V4.95508H4.16677V4.58008V4.08008H2.08342V4.45508ZM15.8334 4.58008V5.08008H17.9167V4.45508V3.95508H15.8334V4.58008ZM6.83951 4.35149L7.432 4.55047C7.79251 3.47701 8.80699 2.70508 10.0001 2.70508V2.20508V1.70508C8.25392 1.70508 6.77335 2.83539 6.24702 4.15251L6.83951 4.35149ZM10.0001 2.20508V2.70508C11.1932 2.70508 12.2077 3.47701 12.5682 4.55047L13.1607 4.35149L13.7532 4.15251C13.2269 2.83539 11.7463 1.70508 10.0001 1.70508V2.20508Z" fill="currentColor"/>',sliders:'<path d="M3.625 6.25H10.9375M16.375 13.75H10.5625M3.625 13.75H4.9375M11.125 6.25C11.125 4.79969 12.2997 3.625 13.75 3.625C15.2003 3.625 16.375 4.79969 16.375 6.25C16.375 7.70031 15.2003 8.875 13.75 8.875C12.2997 8.875 11.125 7.70031 11.125 6.25ZM10.375 13.75C10.375 15.2003 9.20031 16.375 7.75 16.375C6.29969 16.375 5.125 15.2003 5.125 13.75C5.125 12.2997 6.29969 11.125 7.75 11.125C9.20031 11.125 10.375 12.2997 10.375 13.75Z" stroke="currentColor" stroke-linecap="square"/>',keyboard:'<path d="M5.125 7.375V4.375H14.875V2.875M8.3125 13.9375H11.6875M8.125 13.9375H11.875M2.125 7.375H17.875V17.125H2.125V7.375ZM5.5 10.375H5.125V10.75H5.5V10.375ZM8.5 10.375H8.125V10.75H8.5V10.375ZM11.875 10.375H11.5V10.75H11.875V10.375ZM14.875 10.375H14.5V10.75H14.875V10.375ZM14.875 13.75H14.5V14.125H14.875V13.75ZM5.5 13.75H5.125V14.125H5.5V13.75Z" stroke="currentColor" stroke-linecap="square"/>',selector:'<path d="M6.66626 12.5033L9.99959 15.8366L13.3329 12.5033M6.66626 7.50326L9.99959 4.16992L13.3329 7.50326" stroke="currentColor" stroke-linecap="square"/>',"arrow-down-to-line":'<path d="M15.2083 11.6667L10 16.875L4.79167 11.6667M10 16.25V3.125" stroke="currentColor" stroke-width="1.25" stroke-linecap="square"/>',star:'<path d="M10 2.5l2.35 4.76 5.25.77-3.8 3.7.9 5.24L10 14.64l-4.7 2.47.9-5.24-3.8-3.7 5.25-.77L10 2.5z" stroke="currentColor" stroke-linejoin="round"/>',"star-filled":'<path d="M10 2.5l2.35 4.76 5.25.77-3.8 3.7.9 5.24L10 14.64l-4.7 2.47.9-5.24-3.8-3.7 5.25-.77L10 2.5z" fill="currentColor" stroke="currentColor" stroke-linejoin="round"/>',warning:'<path d="M10 7.91667V11.6667M10 13.7417V13.75M10 2.5L1.875 16.25H18.125L10 2.5Z" stroke="currentColor" stroke-linecap="square"/>',reset:'<path d="M5.83333 4.16406L2.5 7.4974L5.83333 10.8307M3.33333 7.4974H17.9167V15.4141H10" stroke="currentColor" stroke-linecap="square"/>',link:'<path d="M2.08334 12.0833L1.72979 11.7298L1.37624 12.0833L1.72979 12.4369L2.08334 12.0833ZM7.91668 17.9167L7.56312 18.2702L7.91668 18.6238L8.27023 18.2702L7.91668 17.9167ZM17.9167 7.91666L18.2702 8.27022L18.6238 7.91666L18.2702 7.56311L17.9167 7.91666ZM12.0833 2.08333L12.4369 1.72977L12.0833 1.37622L11.7298 1.72977L12.0833 2.08333ZM8.39646 5.06311L8.0429 5.41666L8.75001 6.12377L9.10356 5.77021L8.75001 5.41666L8.39646 5.06311ZM5.77023 9.10355L6.12378 8.74999L5.41668 8.04289L5.06312 8.39644L5.41668 8.74999L5.77023 9.10355ZM14.2298 10.8964L13.8762 11.25L14.5833 11.9571L14.9369 11.6035L14.5833 11.25L14.2298 10.8964ZM11.6036 14.9369L11.9571 14.5833L11.25 13.8762L10.8965 14.2298L11.25 14.5833L11.6036 14.9369ZM7.14646 12.1464L6.7929 12.5L7.50001 13.2071L7.85356 12.8535L7.50001 12.5L7.14646 12.1464ZM12.8536 7.85355L13.2071 7.49999L12.5 6.79289L12.1465 7.14644L12.5 7.49999L12.8536 7.85355ZM2.08334 12.0833L1.72979 12.4369L7.56312 18.2702L7.91668 17.9167L8.27023 17.5631L2.4369 11.7298L2.08334 12.0833ZM17.9167 7.91666L18.2702 7.56311L12.4369 1.72977L12.0833 2.08333L11.7298 2.43688L17.5631 8.27022L17.9167 7.91666ZM12.0833 2.08333L11.7298 1.72977L8.39646 5.06311L8.75001 5.41666L9.10356 5.77021L12.4369 2.43688L12.0833 2.08333ZM5.41668 8.74999L5.06312 8.39644L1.72979 11.7298L2.08334 12.0833L2.4369 12.4369L5.77023 9.10355L5.41668 8.74999ZM14.5833 11.25L14.9369 11.6035L18.2702 8.27022L17.9167 7.91666L17.5631 7.56311L14.2298 10.8964L14.5833 11.25ZM7.91668 17.9167L8.27023 18.2702L11.6036 14.9369L11.25 14.5833L10.8965 14.2298L7.56312 17.5631L7.91668 17.9167ZM7.50001 12.5L7.85356 12.8535L12.8536 7.85355L12.5 7.49999L12.1465 7.14644L7.14646 12.1464L7.50001 12.5Z" fill="currentColor"/>',providers:'<path d="M10.0001 4.37562V2.875M13 4.37793V2.87793M7.00014 4.37793V2.875M10 17.1279V15.6279M13 17.1279V15.6279M7 17.1279V15.6279M15.625 13.0029H17.125M15.625 7.00293H17.125M15.625 10.0029H17.125M2.875 10.0029H4.375M2.875 13.0029H4.375M2.875 7.00293H4.375M4.375 4.37793H15.625V15.6279H4.375V4.37793ZM12.6241 10.0022C12.6241 11.4519 11.4488 12.6272 9.99908 12.6272C8.54934 12.6272 7.37408 11.4519 7.37408 10.0022C7.37408 8.55245 8.54934 7.3772 9.99908 7.3772C11.4488 7.3772 12.6241 8.55245 12.6241 10.0022Z" stroke="currentColor" stroke-linecap="square"/>',layers:'<path d="M10 2.5L2.5 6.25L10 10L17.5 6.25L10 2.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.5 13.75L10 17.5L17.5 13.75" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.5 10L10 13.75L17.5 10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',models:'<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 10C12.2917 10 10 12.2917 10 17.5C10 12.2917 7.70833 10 2.5 10C7.70833 10 10 7.70833 10 2.5C10 7.70833 12.2917 10 17.5 10Z" stroke="currentColor"/>',discard:'<path d="M7.5 5L4.167 8.333L7.5 11.667M4.583 8.333h6.667a4.167 4.167 0 0 1 4.167 4.167" stroke="currentColor" stroke-linecap="square"/>',"arrow-undo-down":'<path d="M4.08333 11.0859L1.75 8.7526L4.08333 6.41927M2.33333 8.7526L12.5417 8.7526L12.5417 3.21094L7 3.21094" stroke="currentColor" stroke-width="1" stroke-linecap="square"/>'};function r4(e){const[A,t]=G1(e,["name","size","class","classList"]),g=()=>A.name==="magnifying-glass"?"0 0 16 16":"0 0 20 20";return(()=>{var Q=s4(),i=Q.firstChild;return pe(i,n1({get classList(){return{...A.classList,[A.class??""]:!!A.class}},get viewBox(){return g()},get innerHTML(){return o4[A.name]}},t),!0,!1),H(()=>j(Q,"data-size",A.size||"normal")),Q})()}var a4=w("<div data-component=icon><svg data-slot=icon-svg fill=none aria-hidden=true>");const mg={"book-open-check":{viewBox:"0 0 24 24",path:'<path d="M12 21V7" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m16 12 2 2 4-4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>'},"circuit-board":{viewBox:"0 0 16 16",path:'<path d="M12.5 1H3.5C2.121 1 1 2.121 1 3.5V12.5C1 13.879 2.121 15 3.5 15H12.5C13.879 15 15 13.879 15 12.5V3.5C15 2.121 13.879 1 12.5 1ZM6 6.5C6 6.775 5.775 7 5.5 7C5.225 7 5 6.775 5 6.5C5 6.225 5.225 6 5.5 6C5.775 6 6 6.225 6 6.5ZM12.5 14H6V11.5C6 11.225 6.225 11 6.5 11H9.092C9.299 11.581 9.849 12 10.5 12C11.327 12 12 11.327 12 10.5C12 9.673 11.327 9 10.5 9C9.849 9 9.299 9.419 9.092 10H6.5C5.673 10 5 10.673 5 11.5V14H3.5C2.673 14 2 13.327 2 12.5V3.5C2 2.673 2.673 2 3.5 2H5V5.092C4.419 5.299 4 5.849 4 6.5C4 7.327 4.673 8 5.5 8C6.327 8 7 7.327 7 6.5C7 5.849 6.581 5.299 6 5.092V2H12.5C13.327 2 14 2.673 14 3.5V6H10.908C10.701 5.419 10.151 5 9.5 5C8.673 5 8 5.673 8 6.5C8 7.327 8.673 8 9.5 8C10.151 8 10.701 7.581 10.908 7H14V12.5C14 13.327 13.327 14 12.5 14ZM10 10.5C10 10.225 10.225 10 10.5 10C10.775 10 11 10.225 11 10.5C11 10.775 10.775 11 10.5 11C10.225 11 10 10.775 10 10.5ZM10 6.5C10 6.775 9.775 7 9.5 7C9.225 7 9 6.775 9 6.5C9 6.225 9.225 6 9.5 6C9.775 6 10 6.225 10 6.5Z" fill="currentColor"/>'},organization:{viewBox:"0 0 16 16",path:'<path d="M6.00195 4.00002C6.00195 2.89655 6.89649 2.00201 7.99995 2.00201C9.10342 2.00201 9.99796 2.89655 9.99796 4.00002C9.99796 5.10348 9.10342 5.99802 7.99995 5.99802C6.89649 5.99802 6.00195 5.10348 6.00195 4.00002ZM7.99995 3.00201C7.44877 3.00201 7.00195 3.44883 7.00195 4.00002C7.00195 4.5512 7.44877 4.99802 7.99995 4.99802C8.55114 4.99802 8.99796 4.5512 8.99796 4.00002C8.99796 3.44883 8.55114 3.00201 7.99995 3.00201ZM11 4.5C11 3.67157 11.6716 3 12.5 3C13.3284 3 14 3.67157 14 4.5C14 5.32843 13.3284 6 12.5 6C11.6716 6 11 5.32843 11 4.5ZM12.5 4C12.2239 4 12 4.22386 12 4.5C12 4.77614 12.2239 5 12.5 5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4ZM3.5 3C2.67157 3 2 3.67157 2 4.5C2 5.32843 2.67157 6 3.5 6C4.32843 6 5 5.32843 5 4.5C5 3.67157 4.32843 3 3.5 3ZM3 4.5C3 4.22386 3.22386 4 3.5 4C3.77614 4 4 4.22386 4 4.5C4 4.77614 3.77614 5 3.5 5C3.22386 5 3 4.77614 3 4.5ZM4.26756 6.99969C4.09739 7.29387 4 7.63541 4 7.99969L2 7.99969V10.5C2 11.3285 2.67157 12 3.5 12C3.71194 12 3.91361 11.9561 4.09639 11.8768C4.1705 12.2082 4.28572 12.524 4.43643 12.8187C4.14721 12.9356 3.83112 13 3.5 13C2.11929 13 1 11.8807 1 10.5V7.99969C1 7.44741 1.44772 6.99969 2 6.99969H4.26756ZM11.5636 12.8187C11.8528 12.9356 12.1689 13 12.5 13C13.8807 13 15 11.8807 15 10.5V7.99969C15 7.44741 14.5523 6.99969 14 6.99969H11.7324C11.9026 7.29387 12 7.63541 12 7.9997L14 7.99969V10.5C14 11.3285 13.3284 12 12.5 12C12.2881 12 12.0864 11.9561 11.9036 11.8768C11.8295 12.2082 11.7143 12.524 11.5636 12.8187ZM6 6.99969C5.44772 6.99969 5 7.44741 5 7.99969V11C5 12.6569 6.34315 14 8 14C9.65685 14 11 12.6569 11 11V7.99969C11 7.44741 10.5523 6.99969 10 6.99969H6ZM6 7.99969L10 7.99969V11C10 12.1046 9.10457 13 8 13C6.89543 13 6 12.1046 6 11V7.99969Z" fill="currentColor"/>'},"thumbs-up":{viewBox:"0 0 20 20",path:'<path d="M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814.16-.432.248-.9.248-1.388Z" stroke="currentColor" fill="none" stroke-linejoin="round"/>'},"thumbs-down":{viewBox:"0 0 20 20",path:'<path d="M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 0 1 2.5 0v7.5ZM8.905 17v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826.204-.54-.166-1.174-.744-1.174h-2.52c-1.243 0-2.261-1.01-2.146-2.247a23.864 23.864 0 0 1 1.341-5.974C2.547 3.677 3.628 3 4.8 3h3.192a3 3 0 0 1 1.341.317l2.734 1.366A3 3 0 0 0 13.408 5H15v7h-.963c-.685 0-1.258.483-1.612 1.068a4.011 4.011 0 0 1-2.166 1.73c-.432.143-.853.386-1.011.814-.16.432-.248.9-.248 1.388Z" stroke="currentColor" fill="none" stroke-linejoin="round"/>'},"thumbs-up-filled":{viewBox:"0 0 20 20",path:'<path d="M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814.16-.432.248-.9.248-1.388Z" fill="currentColor"/>'},"thumbs-down-filled":{viewBox:"0 0 20 20",path:'<path d="M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 0 1 2.5 0v7.5ZM8.905 17v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826.204-.54-.166-1.174-.744-1.174h-2.52c-1.243 0-2.261-1.01-2.146-2.247a23.864 23.864 0 0 1 1.341-5.974C2.547 3.677 3.628 3 4.8 3h3.192a3 3 0 0 1 1.341.317l2.734 1.366A3 3 0 0 0 13.408 5H15v7h-.963c-.685 0-1.258.483-1.612 1.068a4.011 4.011 0 0 1-2.166 1.73c-.432.143-.853.386-1.011.814-.16.432-.248.9-.248 1.388Z" fill="currentColor"/>'},"files-expand":{viewBox:"0 0 16 16",path:'<path d="M15 6V11C15 13.21 13.21 15 11 15H6C5.26 15 4.62 14.6 4.27 14H11C12.65 14 14 12.65 14 11V4.27C14.6 4.62 15 5.26 15 6ZM11 13H4C2.897 13 2 12.103 2 11V4C2 2.897 2.897 2 4 2H11C12.103 2 13 2.897 13 4V11C13 12.103 12.103 13 11 13ZM4 12H11C11.551 12 12 11.552 12 11V4C12 3.449 11.551 3 11 3H4C3.449 3 3 3.449 3 4V11C3 11.552 3.449 12 4 12ZM9.5 7H8V5.5C8 5.224 7.776 5 7.5 5C7.224 5 7 5.224 7 5.5V7H5.5C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8H7V9.5C7 9.776 7.224 10 7.5 10C7.776 10 8 9.776 8 9.5V8H9.5C9.776 8 10 7.776 10 7.5C10 7.224 9.776 7 9.5 7Z" fill="currentColor"/>'},"files-collapse":{viewBox:"0 0 16 16",path:'<path d="M14 4.27051C14.5999 4.62053 15 5.26009 15 6V11C15 13.21 13.21 15 11 15H6C5.26009 15 4.62053 14.5999 4.27051 14H11C12.65 14 14 12.65 14 11V4.27051Z" fill="currentColor"/><path d="M9.5 7C9.776 7 10 7.224 10 7.5C10 7.776 9.776 8 9.5 8H5.5C5.224 8 5 7.776 5 7.5C5 7.224 5.224 7 5.5 7H9.5Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 2C12.103 2 13 2.897 13 4V11C13 12.103 12.103 13 11 13H4C2.897 13 2 12.103 2 11V4C2 2.897 2.897 2 4 2H11ZM4 3C3.449 3 3 3.449 3 4V11C3 11.552 3.449 12 4 12H11C11.551 12 12 11.552 12 11V4C12 3.449 11.551 3 11 3H4Z" fill="currentColor"/>'}};function De(e){const[A,t]=G1(e,["name","size","class","classList"]);return A.name in mg?(()=>{var g=a4(),Q=g.firstChild;return pe(Q,n1({get classList(){return{...A.classList,[A.class??""]:!!A.class}},get viewBox(){return mg[A.name].viewBox},get innerHTML(){return mg[A.name].path}},t),!0,!1),H(()=>j(g,"data-size",A.size||"normal")),g})():E(r4,n1(t,{get name(){return A.name},get size(){return A.size},get class(){return A.class},get classList(){return A.classList}}))}function E4(e){return!e||e==="normal"?"icon":e==="small"?"icon-sm":e==="large"?"icon-lg":e}function C4(e){return!e||e==="default"?"secondary":e}function g1(e){const[A,t]=G1(e,["variant","size","icon","iconSize","active","class","classList","children"]);return E(KQ,n1(t,{"data-component":"icon-button",get"data-size"(){return E4(A.size)},get"data-variant"(){return C4(A.variant)},get"data-active"(){return A.active||void 0},get"aria-pressed"(){return A.active||void 0},get classList(){return{...A.classList,[A.class??""]:!!A.class}},get children(){return[E(K,{get when(){return A.icon},children:g=>E(De,{get name(){return g()},get size(){return A.iconSize??"small"}})}),hA(()=>A.children)]}}))}const I4=({onRequest:e,onSseError:A,onSseEvent:t,responseTransformer:g,responseValidator:Q,sseDefaultRetryDelay:i,sseMaxRetryAttempts:n,sseMaxRetryDelay:B,sseSleepFn:s,url:o,...a})=>{let r;const C=s??(l=>new Promise(D=>setTimeout(D,l)));return{stream:async function*(){let l=i??3e3,D=0;const u=a.signal??new AbortController().signal;for(;!u.aborted;){D++;const y=a.headers instanceof Headers?a.headers:new Headers(a.headers);r!==void 0&&y.set("Last-Event-ID",r);try{const p={redirect:"follow",...a,body:a.serializedBody,headers:y,signal:u};let M=new Request(o,p);e&&(M=await e(o,p));const m=await(a.fetch??globalThis.fetch)(M);if(!m.ok)throw new Error(`SSE failed: ${m.status} ${m.statusText}`);if(!m.body)throw new Error("No body in SSE response");const O=m.body.pipeThrough(new TextDecoderStream).getReader();let S="";const G=()=>{try{O.cancel()}catch{}};u.addEventListener("abort",G);try{for(;;){const{done:x,value:F}=await O.read();if(x)break;S+=F,S=S.replace(/\r\n/g,`
14
14
  `).replace(/\r/g,`
15
15
  `);const b=S.split(`
16
16
 
@@ -157,7 +157,7 @@ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.pus
157
157
  &quot;scope&quot;: &quot;read&quot;
158
158
  }">`),JD=w('<aside class="provider-drawer mcp-drawer"aria-label="MCP server configuration"><header class=drawer-header><div><h2></h2><span></span></div></header><div class="provider-form mcp-config-form"><label class=required-field>Server ID<input placeholder=github></label><label class=required-field>Type</label><label class=optional-field>State</label><label class=optional-field>Timeout ms<input inputmode=numeric placeholder=30000></label></div><footer class=drawer-footer>'),UD=w("<span class=config-title-count>MCP Servers"),KD=w("<p class=empty>"),SD=w("<p class=mcp-server-error>"),xD=w('<article class="provider configured-provider mcp-server"><div class="provider-title mcp-title"><div><strong></strong><span></span><em></em></div></div><div class="tags mcp-server-tags"></div><div class="provider-actions mcp-server-actions">'),qD=w("<button class=mcp-tag-filter type=button>"),RD=w("<p class=empty>Loading marketplace MCP servers..."),OD=w("<p class=empty>No marketplace MCP servers match this filter."),HD=w('<article class=mcp-market-card><div class=mcp-market-card-head><div><strong></strong><span class=mcp-market-id></span></div></div><p></p><div class="tags mcp-market-card-tags"></div><div class=mcp-market-card-footer><div>'),YD=w("<span class=mcp-market-author>by "),_D=w("<a target=_blank rel=noreferrer>Source"),TD=w("<label>Installation method"),jD=w("<section class=mcp-install-section><span>Prerequisites</span><ul>"),VD=w("<section class=mcp-install-section><span>Parameters"),PD=w('<aside class="provider-drawer mcp-drawer"aria-label="MCP install parameters"><header class=drawer-header><div><h2></h2><span></span></div></header><div class="provider-auth mcp-install-form"><p></p></div><footer class=drawer-footer>'),zD=w("<li>"),ZD=w("<p>No parameters are required for this server."),WD=w("<label><input>"),$D=w('<label class="wide required-field">Command<input placeholder="npx -y @modelcontextprotocol/server-filesystem .">'),XD=w(`<label class="wide optional-field">Environment JSON<textarea placeholder="{
159
159
  &quot;GITHUB_TOKEN&quot;: &quot;{env:GITHUB_TOKEN}&quot;
160
- }">`);const Au=[{value:"all",label:"All"},{value:"installed",label:"Installed"},{value:"notInstalled",label:"Not installed"}],eu=[{value:"local",label:"Local command"},{value:"remote",label:"Remote URL"}],tu=[{value:"enabled",label:"Enabled"},{value:"disabled",label:"Disabled"}];function gu(){const e=mD();return E(K,{get when(){return e.snap()},children:A=>E(C1,{get title(){return(()=>{var t=UD();return t.firstChild,I(t,E($A,{get children(){return e.rows().length}}),null),t})()},description:"Install, configure, and manage Model Context Protocol servers available to Kilo agents.",get actions(){return[E(W,{icon:"plus",variant:"primary",get disabled(){return!!e.ctx.saving()},get onClick(){return e.openMarket},children:"Install MCP"}),E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},get onClick(){return e.openManual},children:"Manual server"})]},get children(){return[E(R1,{label:"Filter MCP servers",get value(){return e.search()},placeholder:"Filter by name, ID, command, URL, or status...",get onValue(){return e.setSearch}}),(()=>{var t=MD();return I(t,E(K,{get when(){return e.visible().length},get fallback(){return(()=>{var g=KD();return I(g,()=>e.rows().length?"No MCP servers match this filter.":"No MCP servers configured. Install one from the Marketplace or add a manual server."),g})()},get children(){return E(BA,{get each(){return e.visible()},children:g=>(()=>{var Q=xD(),i=Q.firstChild,n=i.firstChild,B=n.firstChild,s=B.nextSibling,o=s.nextSibling,a=i.nextSibling,r=a.nextSibling;return I(B,()=>g.name),I(s,()=>g.id),I(o,()=>g.summary),I(a,E(fe,{get source(){return g.source},get inherited(){return g.inherited},get overridden(){return g.overridden}}),null),I(a,E(vA,{get children(){return g.kind}}),null),I(a,E(e0,{get status(){return g.status?.status??(g.enabled?"configured":"disabled")}}),null),I(r,E(K,{get when(){return g.status?.status==="needs_auth"||g.status?.status==="needs_client_registration"},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.authenticate(g),children:"Authenticate"})}}),null),I(r,E(K,{get when(){return g.status?.status==="connected"},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.disconnect(g),children:"Disconnect"})}}),null),I(r,E(K,{get when(){return hA(()=>g.status?.status==="disabled")()&&g.enabled},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.connect(g),children:"Connect"})}}),null),I(r,E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.toggle(g),get children(){return g.enabled?"Disable":"Enable"}}),null),I(r,E(g1,{icon:"edit",variant:"ghost",get"aria-label"(){return`Configure ${g.name}`},get disabled(){return!!e.ctx.saving()||g.editable===!1||!g.config},onClick:()=>e.edit(g)}),null),I(r,E(g1,{icon:"trash",variant:"ghost",get"aria-label"(){return`${g.revert?"Revert":"Delete"} ${g.name}`},get disabled(){return!!e.ctx.saving()||!g.path||g.inherited&&!g.overridden},onClick:()=>e.ask(g)}),null),I(Q,E(K,{get when(){return g.status?.status==="failed"||g.status?.status==="needs_client_registration"},get children(){var C=SD();return I(C,(()=>{var c=hA(()=>!!(g.status&&"error"in g.status));return()=>c()?g.status.error:"Authentication setup is required."})()),C}}),null),H(()=>Q.classList.toggle("inherited",!!g.inherited)),Q})()})}})),t})(),E(K,{get when(){return e.mode()==="market"},get children(){return[(()=>{var t=Rg();return i1(t,"click",e.close,!0),t})(),(()=>{var t=GD(),g=t.firstChild;g.firstChild;var Q=g.nextSibling,i=Q.firstChild,n=i.firstChild;return n.firstChild,I(g,E(W,{variant:"ghost","aria-label":"Close MCP marketplace overlay",get onClick(){return e.close},children:"X"}),null),I(i,E(R1,{class:"drawer-search mcp-market-search",label:"Filter marketplace MCP servers",get value(){return e.filter()},variant:"drawer",placeholder:"Search marketplace by name, ID, author, or description...",get onValue(){return e.setFilter}}),n),I(n,E(Pe,{label:"Status filter",get value(){return e.status()},options:Au,class:"mcp-status-select",get onSelect(){return e.setStatus}}),null),I(Q,E(K,{get when(){return e.tags().length},get children(){var B=ND();return I(B,E(BA,{get each(){return e.tags()},children:s=>(()=>{var o=qD();return o.$$click=()=>e.toggleTag(s),I(o,E(vA,{children:s})),H(()=>o.classList.toggle("active",!!e.picked().includes(s))),o})()})),B}}),null),I(Q,E(K,{get when(){return e.marketError()},children:B=>E(WA,{class:"banner",variant:"info",get children(){return["Marketplace catalog could not be loaded: ",hA(()=>B())]}})}),null),I(Q,E(K,{get when(){return!e.catalog.loading},get fallback(){return RD()},get children(){return E(K,{get when(){return e.marketVisible().length},get fallback(){return OD()},get children(){var B=bD();return I(B,E(BA,{get each(){return e.marketVisible()},children:s=>(()=>{var o=HD(),a=o.firstChild,r=a.firstChild,C=r.firstChild,c=C.nextSibling,d=a.nextSibling,l=d.nextSibling,D=l.nextSibling,u=D.firstChild;return I(C,()=>s.name),I(r,E(K,{get when(){return s.author},children:y=>(()=>{var p=YD();return p.firstChild,I(p,y,null),p})()}),c),I(c,()=>s.id),I(a,E(K,{get when(){return e.installed().has(s.id)},get children(){return E(vA,{tone:"success",children:"Installed"})}}),null),I(d,()=>s.description),I(l,E(BA,{get each(){return s.tags??[]},children:y=>E(vA,{children:y})})),I(u,E(K,{get when(){return s.url},children:y=>(()=>{var p=_D();return H(()=>j(p,"href",y())),p})()}),null),I(u,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()||e.installed().has(s.id)},onClick:()=>e.openInstall(s),children:"Install"}),null),o})()})),B}})}}),null),t})()]}}),E(K,{get when(){return hA(()=>e.mode()==="install")()&&e.choice()},children:t=>[(()=>{var g=Rg();return i1(g,"click",e.close,!0),g})(),(()=>{var g=PD(),Q=g.firstChild,i=Q.firstChild,n=i.firstChild,B=n.nextSibling,s=Q.nextSibling,o=s.firstChild,a=s.nextSibling;return I(n,()=>t().name),I(B,()=>t().id),I(Q,E(W,{variant:"ghost","aria-label":"Close MCP install overlay",get onClick(){return e.close},children:"X"}),null),I(o,()=>t().description),I(s,E(K,{get when(){return e.methods().length>1},get children(){var r=TD();return r.firstChild,I(r,E(Pe,{label:"Installation method",get value(){return e.methodName()},get options(){return e.methods().map(C=>({value:C.name,label:C.name}))},get onSelect(){return e.setMethodName}}),null),r}}),null),I(s,E(K,{get when(){return e.prerequisites().length},get children(){var r=jD(),C=r.firstChild,c=C.nextSibling;return I(c,E(BA,{get each(){return e.prerequisites()},children:d=>(()=>{var l=zD();return I(l,d),l})()})),r}}),null),I(s,E(K,{get when(){return e.parameters().length},get fallback(){return ZD()},get children(){var r=VD();return r.firstChild,I(r,E(BA,{get each(){return e.parameters()},children:C=>(()=>{var c=WD(),d=c.firstChild;return I(c,()=>C.name,d),I(c,()=>C.optional?" (optional)":"",d),d.$$input=l=>e.setParam(C.key,l.currentTarget.value),j(d,"spellcheck",!1),H(l=>{var D=!C.optional,u=C.placeholder??C.key;return D!==l.e&&c.classList.toggle("required-field",l.e=D),u!==l.t&&j(d,"placeholder",l.t=u),l},{e:void 0,t:void 0}),H(()=>d.value=e.params()[C.key]??""),c})()}),null),r}}),null),I(a,E(W,{variant:"ghost",get onClick(){return e.openMarket},children:"Back"}),null),I(a,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()||!e.valid()},get onClick(){return e.install},children:"Install MCP"}),null),g})()]}),E(K,{get when(){return e.mode()==="config"},get children(){return[(()=>{var t=Rg();return i1(t,"click",e.close,!0),t})(),(()=>{var t=JD(),g=t.firstChild,Q=g.firstChild,i=Q.firstChild,n=i.nextSibling,B=g.nextSibling,s=B.firstChild,o=s.firstChild,a=o.nextSibling,r=s.nextSibling;r.firstChild;var C=r.nextSibling;C.firstChild;var c=C.nextSibling,d=c.firstChild,l=d.nextSibling,D=B.nextSibling;return I(i,()=>e.editing()?"Configure MCP server":"Add manual MCP server"),I(n,()=>e.editing()??"New MCP server"),I(g,E(W,{variant:"ghost","aria-label":"Close MCP configuration overlay",get onClick(){return e.close},children:"X"}),null),a.$$input=u=>e.setId(u.currentTarget.value),j(a,"spellcheck",!1),I(r,E(Pe,{label:"MCP server type",get value(){return e.type()},options:eu,class:"mcp-config-select",get onSelect(){return e.setType}}),null),I(C,E(Pe,{label:"MCP server state",get value(){return e.enabled()?"enabled":"disabled"},options:tu,class:"mcp-config-select",onSelect:u=>e.setEnabled(u==="enabled")}),null),l.$$input=u=>e.setLimit(u.currentTarget.value),I(B,E(K,{get when(){return e.type()==="remote"},get fallback(){return[(()=>{var u=$D(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setCommand(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.command()),u})(),(()=>{var u=XD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setEnv(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.env()),u})()]},get children(){return[(()=>{var u=FD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setUrl(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.url()),u})(),(()=>{var u=LD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setHeaders(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.headers()),u})(),(()=>{var u=vD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setAuth(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.auth()),u})()]}}),null),I(D,E(W,{variant:"ghost",get onClick(){return e.close},children:"Cancel"}),null),I(D,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()},get onClick(){return e.save},children:"Save MCP"}),null),H(()=>a.disabled=!!e.editing()),H(()=>a.value=e.id()),H(()=>l.value=e.limit()),t})()]}}),E(Es,{get open(){return!!e.pending()},get title(){return`${e.pending()?.revert?"Revert":"Delete"} MCP server ${e.pending()?.name??""}?`},get message(){return hA(()=>!!e.pending()?.revert)()?`This removes the current-scope override for ${e.pending()?.id??"the MCP server"}.`:`This removes ${e.pending()?.id??"the MCP server"} from the current configuration.`},get confirm(){return e.pending()?.revert?"Revert":"Delete"},get busy(){return!!e.ctx.saving()},get onCancel(){return e.cancel},get onConfirm(){return e.confirm}})]}})})}a1(["click","input"]);const Qu=["toolcall","attachment","temperature","interleaved","input:audio","input:image","input:video","input:pdf","output:audio","output:image","output:video","output:pdf"],iu=1e6;function nu(e,A){return e.id==="kilo"?-1:A.id==="kilo"?1:e.name.localeCompare(A.name)}function Bu(e,A){return A==="toolcall"?e.capabilities.toolcall:A==="attachment"?e.capabilities.attachment:A==="temperature"?e.capabilities.temperature:A==="interleaved"?!!e.capabilities.interleaved:A==="input:audio"?e.capabilities.input.audio:A==="input:image"?e.capabilities.input.image:A==="input:video"?e.capabilities.input.video:A==="input:pdf"?e.capabilities.input.pdf:A==="output:audio"?e.capabilities.output.audio:A==="output:image"?e.capabilities.output.image:A==="output:video"?e.capabilities.output.video:e.capabilities.output.pdf}function kn(e,A){return e.provider.id===A.providerID&&e.model.id===A.modelID?!0:e.model.providerID===A.providerID&&e.model.id===A.modelID}function Ws(){const e=E1(),A=()=>e.data(),[t,g]=U(""),[Q,i]=U("all"),[n,B]=U("all"),[s,o]=U(0),[a,r]=U(0),[C,c]=U("all"),[d,l]=U([]),[D,u]=U(!1),[y,p]=U("closed"),[M,f]=U("model"),[m,O]=U(""),[S,G]=U(""),x=J(()=>{const gA=A();if(!gA)return[];const $=new Set([...Object.keys(gA.effective.provider??{}),...gA.providers.connected]);return gA.providers.all.filter(JA=>$.has(JA.id)).filter(JA=>Object.keys(JA.models).length>0).sort(nu)}),F=J(()=>x().flatMap(gA=>Object.values(gA.models).map($=>({id:`${gA.id}/${$.id}`,provider:gA,model:$})))),b=J(()=>{const gA=F().map($=>$.model.limit.context);return gA.length?Math.min(Math.max(...gA),iu):0}),T=J(()=>Math.min(a()||b(),b())),Y=J(()=>Math.min(s(),T())),z=J(()=>T()>=b()?void 0:T()),AA=J(()=>A()?.modelState.favorite??[]),eA=gA=>AA().some($=>kn(gA,$)),FA=J(()=>{const gA=t().toLowerCase();return F().filter($=>Q()==="all"?!0:$.provider.id===Q()).filter($=>n()==="free"?$.model.isFree:!0).filter($=>n()==="paid"?!$.model.isFree:!0).filter($=>Y()>0?$.model.limit.context>=Y():!0).filter($=>z()!==void 0?$.model.limit.context<=z():!0).filter($=>C()==="reasoning"?$.model.capabilities.reasoning:!0).filter($=>C()==="standard"?!$.model.capabilities.reasoning:!0).filter($=>D()?eA($):!0).filter($=>d().every(JA=>Bu($.model,JA))).filter($=>gA?`${$.id} ${$.model.name} ${$.provider.name}`.toLowerCase().includes(gA):!0).sort(($,JA)=>{const QA=Number(eA(JA))-Number(eA($));return QA!==0?QA:$.model.name.localeCompare(JA.model.name)||$.provider.name.localeCompare(JA.provider.name)})}),oA=J(()=>{const gA=m().trim().toLowerCase();return F().filter($=>gA?`${$.id} ${$.model.name} ${$.provider.name}`.toLowerCase().includes(gA):!0).sort(($,JA)=>{const QA=Number(eA(JA))-Number(eA($));if(QA!==0)return QA;const h=$.model.name.localeCompare(JA.model.name);if(h!==0)return h;const lA=$.provider.name.localeCompare(JA.provider.name);return lA!==0?lA:$.id.localeCompare(JA.id)})}),cA=J(()=>M()==="model"?"Default model":"Small model");function wA(gA){if(typeof gA=="string")return F().find($=>$.id===gA||`${$.model.providerID}/${$.model.id}`===gA)}function P(gA){const $=new Set(d());if($.has(gA)){$.delete(gA),l([...$]);return}$.add(gA),l([...$])}function EA(gA){o(Math.max(0,Math.min(gA,T())))}function tA(gA){r(Math.min(b(),Math.max(gA,Y())))}function sA(gA){const $=e.query();if(!$)return;const JA=eA(gA)?AA().filter(QA=>!kn(gA,QA)):[{providerID:gA.provider.id,modelID:gA.model.id},...AA()];e.run("Saving favorite",()=>y6($,JA))}function dA(gA){const $=A()?.overlay.fields[gA]?.value;f(gA),O(""),G(typeof $=="string"?$:""),p("select")}function bA(){p("closed")}function YA(gA){G(gA.id)}function OA(){const gA=S();if(!gA){e.fail(`Select a ${cA().toLowerCase()} before saving.`);return}if(M()==="model"){e.save({model:gA}),bA();return}e.save({small_model:gA}),bA()}return{ctx:e,snap:A,search:t,setSearch:g,filter:Q,setFilter:i,price:n,setPrice:B,low:Y,high:a,top:T,setMin:EA,setMax:tA,reason:C,setReason:c,caps:d,setCaps:l,starred:D,setStarred:u,fav:eA,favorite:sA,max:b,providers:x,capabilities:Qu,toggle:P,models:FA,item:wA,mode:y,field:M,label:cA,picker:m,setPicker:O,choice:S,options:oA,edit:dA,close:bA,select:YA,save:OA}}var su=w("<div class=model-stat><span></span><strong>"),ou=w("<small>"),ru=w("<details class=models-select><summary></summary><div class=models-select-menu role=listbox>"),au=w("<button class=models-select-option type=button role=option>"),Eu=w('<div class="resolved-grid model-defaults model-default-fields">'),Cu=w("<div class=drawer-scrim>"),Iu=w('<aside class=provider-drawer><header class=drawer-header><div><h2></h2><span>Favorites are listed first, then models are sorted alphabetically.</span></div></header><div class="provider-picker model-picker"></div><footer class=drawer-footer>'),cu=w('<article class="resolved-card default-model-card"><header class=default-model-header><span></span><div class="tags default-model-actions"></div></header><div class=default-model-value>'),yn=w("<strong>"),lu=w("<span class=default-model-id>"),du=w("<p class=empty>No models match this filter."),hu=w('<button class="provider-option model-option"type=button><span class=model-star aria-hidden=true></span><div><strong></strong><span></span></div><div class=tags>'),Du=w('<section class=models-filter-card><div class="models-filter-row models-filter-primary"><label class="models-filter-field models-search-field"><span>Search</span><input placeholder="Search by name or ID..."></label><button class=models-favorite-filter type=button><span class=model-star aria-hidden=true></span>Favorites</button></div><div class="models-filter-row models-filter-secondary"><div class=models-context-filter><span>Context max</span><div class=context-range><span class=context-track aria-hidden=true></span><span class=context-fill aria-hidden=true></span><button class=context-max aria-label="Maximum context"aria-valuemin=0 role=slider type=button></button></div><strong class="models-context-value mono"></strong></div><div class=models-capabilities-filter><span>Capabilities</span><div class=models-capabilities-list>'),uu=w('<div class="models explore-models">'),wu=w("<span class=config-title-count>Explore models"),fu=w("<button class=models-capability-toggle type=button>"),ku=w("<p class=empty>No models match the current filters."),yu=w('<div class="tags model-capabilities">'),pu=w('<article class="model explore-model-card"><div class=model-main><div class=model-title><button class=model-star type=button></button><div><strong></strong><span></span></div></div><div class="tags model-tags"></div></div><div class=model-info-grid>'),mu=w("<p class=model-description>");function pn(e){return e===0?"$0.00":e<.01?`$${e.toFixed(4)}`:`$${e.toFixed(2)}`}function mn(e){return e>=1e6?`${(e/1e6).toFixed(e%1e6===0?0:1)}M`:e>=1e3?`${(e/1e3).toFixed(e%1e3===0?0:1)}K`:String(e)}function Mu(e){const A=new Date(e);return isNaN(A.getTime())?e:A.toLocaleDateString(void 0,{year:"numeric",month:"short"})}function Nu(e){return e.charAt(0).toUpperCase()+e.slice(1)}function bu(e){const A=e.options?.description;return typeof A=="string"&&A.trim()?A:null}function Mn(e){const A=[];return e.capabilities.toolcall&&A.push("toolcall"),e.capabilities.attachment&&A.push("attachment"),e.capabilities.input.image&&A.push("vision"),(e.capabilities.input.audio||e.capabilities.output.audio)&&A.push("audio"),A}function hQ(e){return e>=1e6?5e4:e>=1e5?1e4:1e3}const Gu=[{key:"model",label:"Default model"},{key:"small_model",label:"Small model"}];function Fu(e,A){return A<=0?0:Math.max(0,Math.min(100,e/A*100))}function Lu(e,A){const t=hQ(A);return Math.max(0,Math.min(A,Math.round(e/t)*t))}function vu(e,A,t){const g=A.getBoundingClientRect(),Q=(e.clientX-g.left)/g.width;return Lu(Q*t,t)}function st(e){return(()=>{var A=su(),t=A.firstChild,g=t.nextSibling;return I(t,()=>e.label),I(g,()=>e.value,null),I(g,E(K,{get when(){return e.sub},children:Q=>(()=>{var i=ou();return I(i,Q),i})()}),null),H(()=>g.classList.toggle("mono",!!e.mono)),A})()}const Ju=[{key:"toolcall",label:"toolcall"},{key:"attachment",label:"attachment"},{key:"input:image",label:"vision"},{key:"input:audio",label:"audio"}];function Og(e){const A=()=>e.options.find(Q=>Q.value===e.value)?.label??e.value;function t(Q,i){e.onSelect(Q),i.currentTarget.closest("details")?.removeAttribute("open")}function g(Q){Q.currentTarget.open&&Q.currentTarget.parentElement?.querySelectorAll(".models-select[open]").forEach(i=>{i!==Q.currentTarget&&i.removeAttribute("open")})}return(()=>{var Q=ru(),i=Q.firstChild,n=i.nextSibling;return Q.addEventListener("toggle",g),I(i,A),I(n,E(BA,{get each(){return e.options},children:B=>(()=>{var s=au();return s.$$click=o=>t(B.value,o),I(s,()=>B.label),H(o=>{var a=B.value===e.value,r=B.value===e.value;return a!==o.e&&s.classList.toggle("selected",o.e=a),r!==o.t&&j(s,"aria-selected",o.t=r),o},{e:void 0,t:void 0}),s})()})),H(B=>{var s=e.label,o=e.label;return s!==B.e&&j(i,"aria-label",B.e=s),o!==B.t&&j(n,"aria-label",B.t=o),B},{e:void 0,t:void 0}),Q})()}function Uu(){return E($s,{})}function $s(){const e=Ws();return E(K,{get when(){return e.snap()},get children(){return E(C1,{title:"Model defaults",description:"The models Kilo uses when an agent or command doesn't pin its own.",get children(){return[(()=>{var A=Eu();return I(A,E(BA,{each:Gu,children:t=>{const g=()=>e.snap()?.overlay.fields[t.key],Q=()=>e.item(g()?.value);return(()=>{var i=cu(),n=i.firstChild,B=n.firstChild,s=B.nextSibling,o=n.nextSibling;return I(B,()=>t.label),I(s,E(fe,{get source(){return g()?.source},get inherited(){return g()?.inherited},get overridden(){return g()?.overridden}}),null),I(s,E(K,{get when(){return hA(()=>e.ctx.query()?.scope==="project")()&&g()?.overridden},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.ctx.unset([[t.key]]),children:"Revert"})}}),null),I(s,E(g1,{icon:"edit",variant:"ghost",get"aria-label"(){return`Edit ${t.label}`},get disabled(){return!!e.ctx.saving()},onClick:()=>e.edit(t.key)}),null),I(o,E(K,{get when(){return Q()},get fallback(){return(()=>{var a=yn();return I(a,()=>ze(g()?.value)),a})()},children:a=>[(()=>{var r=yn();return I(r,()=>`${a().provider.name} / ${a().model.name}`),r})(),(()=>{var r=lu();return I(r,()=>a().id),r})()]})),H(()=>i.classList.toggle("inherited",!!g()?.inherited)),i})()}})),A})(),E(K,{get when(){return e.mode()!=="closed"},get children(){return[(()=>{var A=Cu();return i1(A,"click",e.close,!0),A})(),(()=>{var A=Iu(),t=A.firstChild,g=t.firstChild,Q=g.firstChild,i=t.nextSibling,n=i.nextSibling;return I(Q,()=>`Choose ${e.label()}`),I(t,E(W,{variant:"ghost","aria-label":"Close model selector",get onClick(){return e.close},children:"X"}),null),I(A,E(R1,{class:"drawer-search",hideLabel:!1,label:"Filter models",get value(){return e.picker()},variant:"drawer",placeholder:"Search by name, provider, or ID",get onValue(){return e.setPicker}}),i),I(i,E(K,{get when(){return e.options().length},get fallback(){return du()},get children(){return E(BA,{get each(){return e.options()},children:B=>(()=>{var s=hu(),o=s.firstChild,a=o.nextSibling,r=a.firstChild,C=r.nextSibling,c=a.nextSibling;return s.$$click=()=>e.select(B),I(r,()=>B.model.name),I(C,()=>B.id),I(c,E(vA,{get children(){return B.provider.name}}),null),I(c,E(vA,{get children(){return B.model.isFree?"free":"paid"}}),null),H(d=>{var l=e.choice()===B.id,D=!!e.fav(B);return l!==d.e&&s.classList.toggle("selected",d.e=l),D!==d.t&&o.classList.toggle("active",d.t=D),d},{e:void 0,t:void 0}),s})()})}})),I(n,E(W,{variant:"ghost",get onClick(){return e.close},children:"Cancel"}),null),I(n,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()||!e.choice()},get onClick(){return e.save},children:"Save"}),null),H(()=>j(A,"aria-label",`${e.label()} selector`)),A})()]}})]}})}})}function Ku(){const e=Ws();function A(g,Q){const i=Q.currentTarget.closest(".context-range");if(!(i instanceof HTMLElement))return;Q.preventDefault(),Q.currentTarget.setPointerCapture(Q.pointerId);const n=s=>{const o=vu(s,i,e.max());e.setMax(o)},B=()=>{window.removeEventListener("pointermove",n),window.removeEventListener("pointerup",B)};n(Q),window.addEventListener("pointermove",n),window.addEventListener("pointerup",B,{once:!0})}function t(g,Q){const i=Q.key==="ArrowLeft"?-hQ(e.max()):Q.key==="ArrowRight"?hQ(e.max()):0;i!==0&&(Q.preventDefault(),e.setMax(e.top()+i))}return E(K,{get when(){return e.snap()},get children(){return E(C1,{get title(){return(()=>{var g=wu();return g.firstChild,I(g,E(vA,{get children(){return e.models().length}}),null),g})()},description:"All models exposed by configured providers. Set defaults under Models > Defaults.",get children(){return[(()=>{var g=Du(),Q=g.firstChild,i=Q.firstChild,n=i.firstChild,B=n.nextSibling,s=i.nextSibling,o=s.firstChild,a=Q.nextSibling,r=a.firstChild,C=r.firstChild,c=C.nextSibling,d=c.firstChild,l=d.nextSibling,D=l.nextSibling,u=c.nextSibling,y=r.nextSibling,p=y.firstChild,M=p.nextSibling;return B.$$input=f=>e.setSearch(f.currentTarget.value),I(Q,E(Og,{label:"Provider",get value(){return e.filter()},get options(){return[{value:"all",label:"All providers"},...e.providers().map(f=>({value:f.id,label:f.name}))]},get onSelect(){return e.setFilter}}),s),I(Q,E(Og,{label:"Cost",get value(){return e.price()},options:[{value:"all",label:"Any cost"},{value:"free",label:"Free"},{value:"paid",label:"Paid"}],get onSelect(){return e.setPrice}}),s),I(Q,E(Og,{label:"Reasoning",get value(){return e.reason()},options:[{value:"all",label:"Reasoning · any"},{value:"reasoning",label:"Reasoning · yes"},{value:"standard",label:"Reasoning · no"}],get onSelect(){return e.setReason}}),s),s.$$click=()=>e.setStarred(!e.starred()),D.$$pointerdown=f=>A("max",f),D.$$keydown=f=>t("max",f),I(u,()=>mn(e.top())),I(M,E(BA,{each:Ju,children:f=>(()=>{var m=fu();return m.$$click=()=>e.toggle(f.key),I(m,()=>f.label),H(O=>{var S=!!e.caps().includes(f.key),G=e.caps().includes(f.key);return S!==O.e&&m.classList.toggle("selected",O.e=S),G!==O.t&&j(m,"aria-pressed",O.t=G),O},{e:void 0,t:void 0}),m})()})),H(f=>{var m=!!e.starred(),O=e.starred(),S=!!e.starred(),G=`--context-min: 0%; --context-max: ${Fu(e.top(),e.max())}%;`,x=e.max(),F=e.top(),b=e.max()===0;return m!==f.e&&s.classList.toggle("selected",f.e=m),O!==f.t&&j(s,"aria-pressed",f.t=O),S!==f.a&&o.classList.toggle("active",f.a=S),f.o=CB(c,G,f.o),x!==f.i&&j(D,"aria-valuemax",f.i=x),F!==f.n&&j(D,"aria-valuenow",f.n=F),b!==f.s&&(D.disabled=f.s=b),f},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),H(()=>B.value=e.search()),g})(),(()=>{var g=uu();return I(g,E(K,{get when(){return e.models().length},get fallback(){return ku()},get children(){return E(BA,{get each(){return e.models()},children:Q=>(()=>{var i=pu(),n=i.firstChild,B=n.firstChild,s=B.firstChild,o=s.nextSibling,a=o.firstChild,r=a.nextSibling,C=B.nextSibling,c=n.nextSibling;return s.$$click=()=>e.favorite(Q),I(a,()=>Q.model.name),I(r,()=>Q.id),I(C,E(vA,{tone:"brand",get children(){return Q.provider.id}}),null),I(C,E(vA,{get tone(){return Q.model.isFree?"success":"neutral"},get children(){return Q.model.isFree?"free":"paid"}}),null),I(i,E(K,{get when(){return bu(Q.model)},children:d=>(()=>{var l=mu();return I(l,d),l})()}),c),I(c,E(st,{label:"Family",get value(){return hA(()=>!!Q.model.family)()?Nu(Q.model.family):"Unknown"}}),null),I(c,E(st,{label:"Released",get value(){return hA(()=>!!Q.model.release_date)()?Mu(Q.model.release_date):"Unknown"}}),null),I(c,E(st,{label:"Context",get value(){return mn(Q.model.limit.context)},mono:!0}),null),I(c,E(st,{label:"Input",get value(){return pn(Q.model.cost.input)},sub:"/ 1M tok",mono:!0}),null),I(c,E(st,{label:"Output",get value(){return pn(Q.model.cost.output)},sub:"/ 1M tok",mono:!0}),null),I(c,E(st,{label:"Reasoning",get value(){return Q.model.capabilities.reasoning?"Yes":"No"}}),null),I(i,E(K,{get when(){return Mn(Q.model).length},get children(){var d=yu();return I(d,E(BA,{get each(){return Mn(Q.model)},children:l=>E(vA,{children:l})})),d}}),null),H(d=>{var l=e.fav(Q)?"Remove favorite":"Add favorite",D=e.fav(Q),u=!!e.fav(Q);return l!==d.e&&j(s,"aria-label",d.e=l),D!==d.t&&j(s,"aria-pressed",d.t=D),u!==d.a&&s.classList.toggle("active",d.a=u),d},{e:void 0,t:void 0,a:void 0}),i})()})}})),g})()]}})}})}a1(["click","input","keydown","pointerdown"]);var Su=w('<section class=server-strip aria-label="Server status"><div class=server-strip-info><span>Server</span><strong class=mono></strong><span class=server-strip-separator aria-hidden=true></span><span>Version</span><strong class=mono></strong></div><span class=server-strip-state>'),xu=w('<section class=metrics aria-label="Configuration metrics">'),qu=w("<div class=title><div><h2>Diagnostics</h2><p>Where the dashboard is talking to."),Ru=w("<dl class=facts>"),Ou=w("<section class=overview-details>"),Hu=w("<em>effective"),Yu=w("<div class=overview-banner>"),_u=w("<span class=overview-heading>Overview"),Tu=w("<span>"),ju=w("<strong>"),Vu=w("<div><dt></dt><dd>");function Pu(e){return e.split(/[\\/]/).filter(Boolean).at(-1)??"Project"}function zu(){const e=E1(),A=o0();return E(K,{get when(){return e.data()},children:t=>E(K,{get when(){return e.query()},children:g=>{const Q=()=>t().effective,i=()=>g().scope==="project",n=()=>{if(!i())return"Global";const r=g().dir;return b1(r?Pu(r):decodeURIComponent(A.project??"Project"))},B=()=>i()?`Effective configuration for ${n()}. Values inherited from global are marked.`:"Effective global configuration. Applies to all projects unless overridden.",s=()=>t().health.healthy?"healthy":"unhealthy",o=()=>[{label:"Default model",value:ze(Q().model),mono:!0},{label:"Small model",value:ze(Q().small_model),mono:!0},{label:"Default agent",value:ze(Q().default_agent),mono:!0},{label:"Providers",value:String(t().providers.all.length)},{label:"Agents",value:String(_i(Q().agent))},{label:"MCP servers",value:String(_i(Q().mcp))}],a=()=>[{term:"Scope",value:i()?`Project / ${n()}`:"Global"},{term:"Server URL",value:g().url,mono:!0},{term:"Server version",value:t().health.version,mono:!0},{term:"Config directory",value:g().dir||"Server default",mono:!!g().dir},{term:"Active project",value:i()?n():"None",mono:i()},{term:"Default model",value:ze(Q().model),mono:!0}];return E(C1,{get title(){return(()=>{var r=_u();return r.firstChild,I(r,E(e0,{get status(){return s()}}),null),r})()},get description(){return B()},get children(){return[(()=>{var r=Su(),C=r.firstChild,c=C.firstChild,d=c.nextSibling,l=d.nextSibling,D=l.nextSibling,u=D.nextSibling,y=C.nextSibling;return I(d,()=>g().url),I(u,()=>t().health.version),I(y,E(TB,{get tone(){return t().health.healthy?"success":"critical"}}),null),I(y,()=>t().health.healthy?"Online":"Unavailable",null),H(p=>{var M=g().url,f=t().health.version;return M!==p.e&&j(d,"title",p.e=M),f!==p.t&&j(u,"title",p.t=f),p},{e:void 0,t:void 0}),r})(),(()=>{var r=xu();return I(r,E(BA,{get each(){return o()},children:C=>E(WA,{class:"metric",padding:12,get children(){return[(()=>{var c=Tu();return I(c,()=>C.label),c})(),(()=>{var c=ju();return I(c,()=>C.value),H(d=>{var l=!!C.mono,D=C.value;return l!==d.e&&c.classList.toggle("mono",d.e=l),D!==d.t&&j(c,"title",d.t=D),d},{e:void 0,t:void 0}),c})()]}})})),r})(),(()=>{var r=Ou();return I(r,E(WA,{class:"panel",padding:0,get children(){return[qu(),(()=>{var C=Ru();return I(C,E(BA,{get each(){return a()},children:c=>(()=>{var d=Vu(),l=d.firstChild,D=l.nextSibling;return I(l,()=>c.term),I(D,()=>c.value),H(u=>{var y=!!c.mono,p=c.value;return y!==u.e&&D.classList.toggle("mono",u.e=y),p!==u.t&&j(D,"title",u.t=p),u},{e:void 0,t:void 0}),d})()})),C})()]}})),r})(),E(K,{get when(){return i()},get children(){var r=Yu();return I(r,E(X6,{tone:"info",get children(){return["Values shown here are ",Hu()," for this project. Use the section pages to see where each value comes from."]}})),r}})]}})}})})}const Zu="/console/assets/sprite-Bao6gt-c.svg",Wu=["zhipuai","zhipuai-coding-plan","zenmux","zai","zai-coding-plan","xiaomi","xiaomi-token-plan-sgp","xiaomi-token-plan-cn","xiaomi-token-plan-ams","xai","wandb","wafer.ai","vultr","vivgrid","vercel","venice","v0","upstage","togetherai","the-grid-ai","tencent-tokenhub","tencent-coding-plan","synthetic","submodel","stepfun","stackit","siliconflow","siliconflow-cn","scaleway","sap-ai-core","requesty","regolo-ai","qiniu-ai","qihang-ai","privatemode-ai","poe","perplexity","perplexity-agent","ovhcloud","openrouter","opencode","opencode-go","openai","ollama-cloud","nvidia","novita-ai","nova","neuralwatt","nebius","nano-gpt","morph","moonshotai","moonshotai-cn","modelscope","moark","mixlayer","mistral","minimax","minimax-coding-plan","minimax-cn","minimax-cn-coding-plan","meganova","lucidquery","lmstudio","llmgateway","llama","kuae-cloud-coding-plan","kiro","kimi-for-coding","kilo","jiekou","io-net","inference","inception","iflowcn","huggingface","hpc-ai","helicone","groq","google","google-vertex","google-vertex-anthropic","gitlab","github-models","github-copilot","frogbot","friendli","firmware","fireworks-ai","fastrouter","evroc","drun","dinference","digitalocean","deepseek","deepinfra","cortecs","cohere","cloudflare-workers-ai","cloudflare-ai-gateway","cloudferro-sherlock","clarifai","chutes","cerebras","berget","baseten","bailing","azure","azure-cognitive-services","anthropic","amazon-bedrock","alibaba","alibaba-coding-plan","alibaba-coding-plan-cn","alibaba-cn","aihubmix","abliteration-ai","abacus","302ai"];var $u=w("<svg data-component=provider-icon><use>");const Xu=e=>{const[A,t]=G1(e,["id","class","classList"]),g=J(()=>Wu.includes(A.id)?A.id:"synthetic");return(()=>{var Q=$u(),i=Q.firstChild;return pe(Q,n1(t,{get classList(){return{...A.classList,[A.class??""]:!!A.class}}}),!0,!0),H(()=>j(i,"href",`${Zu}#${g()}`)),Q})()};var Aw=w('<svg data-component=provider-icon data-provider=kilo viewBox="0 0 16 16"aria-hidden=true><rect width=16 height=16 rx=3 fill=var(--primary)></rect><text x=8 y=8.15 dominant-baseline=middle fill=var(--primary-foreground) font-size=10 font-weight=700 letter-spacing=-0.025em text-anchor=middle>K');const Hg=e=>{const[A,t]=G1(e,["id","class","classList"]);return A.id!=="kilo"?E(Xu,e):(()=>{var g=Aw();return pe(g,n1(t,{get classList(){return{...A.classList,[A.class??""]:!!A.class}}}),!0,!0),g})()},Nn=["kilo","anthropic","github-copilot","openai","google","openrouter","vercel"],ew=/^[a-z0-9][a-z0-9-_]*$/;function bn(e){const A=Nn.indexOf(e.toLowerCase());return A>=0?A:Nn.length}function Gn(e){return e.slice().sort((A,t)=>{const g=bn(A.id)-bn(t.id);return g!==0?g:A.name.localeCompare(t.name)})}function Fn(e){return!e||typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?"":JSON.stringify(e,null,2)}function Ln(e,A,t){const g=uA(e);if(!g)return{};try{const Q=JSON.parse(g);if(!Q||typeof Q!="object"||Array.isArray(Q)){t(`${A} must be a JSON object.`);return}return Q}catch(Q){t(`${A}: ${M1(Q)}`);return}}function tw(e){return Object.fromEntries(Object.entries(e??{}).filter(([A])=>A!=="apiKey"&&A!=="baseURL"))}function gw(e,A){const t=e.when;if(!t)return!0;const g=A[t.key]??"";return t.op==="eq"?g===t.value:g!==t.value}function Qw(){const e=E1(),A=()=>e.data(),[t,g]=U("closed"),[Q,i]=U(""),[n,B]=U(""),[s,o]=U(""),[a,r]=U(),[C,c]=U(""),[d,l]=U(""),[D,u]=U(""),[y,p]=U(""),[M,f]=U(""),[m,O]=U(""),[S,G]=U(""),[x,F]=U(""),[b,T]=U(""),[Y,z]=U(""),[AA,eA]=U(""),[FA,oA]=U(),[cA,wA]=U(),[P,EA]=U(),[tA,sA]=U(),[dA,bA]=U(""),[YA,OA]=U(""),[gA,$]=U({}),[JA,QA]=U(""),[h,lA]=U(""),kA=J(()=>{const Z=A();if(!Z)return[];const R=Z.effective.provider??{},V=new Map(Z.overlay.collections.provider.map(GA=>[GA.key,GA])),X=Object.entries(R).flatMap(([GA,F1])=>{if(!F1)return[];const k1=Z.providers.all.find(Qt=>Qt.id===GA),Y1=V.get(GA),ie=Object.keys(k1?.models??F1.models??{}).length;return[{id:GA,name:F1.name??k1?.name??GA,source:Y1?.source??k1?.source??"config",models:ie,config:F1,provider:k1,inherited:Y1?.inherited,overridden:Y1?.overridden,editable:Y1?.editable}]}),IA=new Set(X.map(GA=>GA.id)),xA=Z.providers.all.flatMap(GA=>IA.has(GA.id)?[]:Z.providers.connected.includes(GA.id)?[{id:GA.id,name:GA.name,source:GA.source,models:Object.keys(GA.models).length,config:{},provider:GA,editable:!0}]:[]);return Gn([...X,...xA])}),_A=J(()=>{const Z=n().trim().toLowerCase();return Z?kA().filter(R=>`${R.name} ${R.id}`.toLowerCase().includes(Z)):kA()}),PA=J(()=>{const Z=A();if(!Z)return[];const R=new Set(kA().map(X=>X.id)),V=Q().trim().toLowerCase();return Gn(Z.providers.all).filter(X=>!R.has(X.id)).filter(X=>V?`${X.name} ${X.id}`.toLowerCase().includes(V):!0)}),l1=J(()=>{const Z=C();return A()?.providers.all.find(R=>R.id===Z)}),te=J(()=>PA().find(Z=>Z.id===s())??PA()[0]),re=J(()=>A()?.authMethods[C()]??[]),ge=J(()=>{const Z=cA();return Z===void 0?void 0:re()[Z]}),ae=J(()=>ge()?.prompts?.filter(Z=>gw(Z,gA()))??[]),me=J(()=>re().length>0);function H1(){wA(void 0),EA(void 0),sA(void 0),bA(""),OA(""),$({}),QA(""),lA("")}function e1(Z,R,V){const X=R?.options??{};c(V||Z?.id||R?.id||""),l(R?.name??Z?.name??""),u((R?.env??Z?.env??[]).join(", ")),p(R?.api??""),f(R?.npm??""),O(typeof X.apiKey=="string"?X.apiKey:""),G(typeof X.baseURL=="string"?X.baseURL:""),F((R?.whitelist??[]).join(", ")),T((R?.blacklist??[]).join(", ")),z(Fn(tw(X))),eA(Fn(R?.models)),H1()}function Me(Z,R=C()){wA(Z),EA(void 0),QA(""),lA(""),(A()?.authMethods[R]??[])[Z]?.type==="oauth"&&(sA("authorizing"),e.run("Authorizing provider",async()=>{const X=await m6(e.target(),R,Z,gA());EA(X),sA(void 0),X.url&&window.open(X.url,"_blank","noopener,noreferrer"),X.method==="auto"&&RA(Z)},{refetch:!1}))}function qe(Z,R){$({...gA(),[Z]:R})}function Ee(Z){(A()?.authMethods[Z]??[]).length===1&&Me(0,Z)}function Re(){r(void 0),i(""),o(""),g("select")}function Qe(){g("closed")}function L(Z){r(void 0),e1(Z,void 0,Z.id),g("form"),Ee(Z.id)}function v(Z){o(Z.id)}function _(){const Z=te();Z&&L(Z)}function CA(Z){r(Z.id),e1(Z.provider,Z.config,Z.id),g("form"),Ee(Z.id)}function yA(){const Z=uA(dA());if(!Z){QA("Enter an API key before saving."),lA("apiKey");return}const R={};for(const V of ae()){const X=uA(gA()[V.key]??"");if(!X){QA(`${V.message} is required.`),lA(V.key);return}R[V.key]=X}sA("connecting"),e.run("Connecting provider",async()=>p6(e.target(),C(),Z,Object.keys(R).length?R:void 0)),Qe()}function RA(Z=cA()){if(Z===void 0)return;const R=uA(YA());if(P()?.method==="code"&&!R){QA("Enter the authorization code before saving."),lA("code");return}sA("connecting"),e.run("Connecting provider",async()=>M6(e.target(),C(),Z,P()?.method==="code"?R:void 0)),P()?.method==="code"&&Qe()}function SA(){const Z=uA(C());if(!Z||!ew.test(Z)){e.fail("Provider ID must start with a lowercase letter or number and contain only lowercase letters, numbers, dashes, or underscores.");return}const R=Ln(Y(),"Extra options",e.fail),V=Ln(AA(),"Model overrides",e.fail);if(!R||!V)return;const X=uA(m()),IA=uA(S());X&&(R.apiKey=X),IA&&(R.baseURL=IA);const xA={},GA=uA(d()),F1=ct(D()),k1=ct(x()),Y1=ct(b()),ie=uA(y()),Qt=uA(M());GA&&(xA.name=GA),F1.length&&(xA.env=F1),ie&&(xA.api=ie),Qt&&(xA.npm=Qt),k1.length&&(xA.whitelist=k1),Y1.length&&(xA.blacklist=Y1),Object.keys(R).length&&(xA.options=R),Object.keys(V).length&&(xA.models=V);const Ne=A();if(!Ne)return;const rA={...Ne.effective.provider??{}},TA=a();TA&&TA!==Z&&(rA[TA]=null),rA[Z]=xA,e.save({provider:rA,disabled_providers:(Ne.effective.disabled_providers??[]).filter(L1=>L1!==Z)}),Qe()}function zA(Z){oA(Z)}function d1(){oA(void 0)}function h1(){const Z=FA();if(!Z)return;const R=A();R&&(e.save({provider:{...R.effective.provider??{},[Z.id]:null}}),oA(void 0))}return{ctx:e,snap:A,mode:t,filter:Q,setFilter:i,search:n,setSearch:B,configured:kA,visible:_A,available:PA,selected:l1,target:te,auth:me,methods:re,method:ge,prompts:ae,methodIndex:cA,authorization:P,phase:tA,authKey:dA,setAuthKey:bA,authCode:YA,setAuthCode:OA,fields:gA,setField:qe,authError:JA,authField:h,id:C,setId:c,name:d,setName:l,env:D,setEnv:u,api:y,setApi:p,npm:M,setNpm:f,apiKey:m,setApiKey:O,baseURL:S,setBaseURL:G,whitelist:x,setWhitelist:F,blacklist:b,setBlacklist:T,options:Y,setOptions:z,models:AA,setModels:eA,pending:FA,add:Re,close:Qe,pick:L,choose:v,next:_,edit:CA,selectMethod:Me,connectAuth:yA,completeOAuth:RA,save:SA,ask:zA,cancel:d1,confirm:h1}}var iw=w("<div class=providers>"),nw=w("<div class=drawer-scrim>"),Bw=w('<header class="drawer-header provider-config-header"><div class="provider-title provider-drawer-title"><div><h2></h2><span>'),sw=w("<p>Select how to connect <!>."),ow=w("<div class=auth-methods>"),rw=w("<p>Preparing authorization..."),aw=w("<p>Connect <!> with an API key. Extra fields are provided by the server."),Ew=w('<label>API key<input type=password placeholder="Paste API key"autocomplete=off>'),Cw=w("<p>Open the authorization page and paste the code returned by <!>."),Iw=w("<a target=_blank rel=noreferrer>Open authorization page"),cw=w('<label>Authorization code<input placeholder="Paste authorization code">'),lw=w("<p>Complete authorization in the browser window. This page will refresh once the provider is connected."),dw=w("<div class=provider-auth>"),Yg=w("<footer class=drawer-footer>"),hw=w('<aside class=provider-drawer aria-label="Provider configuration">'),Dw=w("<span class=config-title-count>Providers"),uw=w("<p class=empty>No providers match this filter."),ww=w('<article class="provider configured-provider"><div class=provider-title><div><strong></strong><span></span></div></div><div class=tags><span class=provider-model-count></span></div><div class=provider-actions>'),fw=w("<header class=drawer-header><div><h2>Add provider</h2><span>Choose a provider, then enter credentials."),kw=w('<div class=add-provider-body><section class=add-provider-field><h3>Choose provider</h3><div class="provider-picker add-provider-picker">'),yw=w("<p class=empty>No available providers match."),pw=w('<button class="provider-option add-provider-option"type=button><div><strong></strong><span>'),mw=w("<span>Select a provider to enter credentials."),Mw=w("<span>Step 2 · enter credentials for <strong>"),Nw=w(`<div class=provider-form><label class=required-field>Provider ID<input></label><label class=required-field>Display name<input></label><label class=optional-field>Environment variables<input placeholder="ANTHROPIC_API_KEY, OPENAI_API_KEY"></label><label class=optional-field>API key<input placeholder="sk-... or {env:PROVIDER_API_KEY}"></label><label class=optional-field>Base URL<input placeholder=https://api.example.com/v1></label><label class=optional-field>NPM package<input placeholder=@ai-sdk/openai-compatible></label><label class=optional-field>API identifier<input placeholder=openai-compatible></label><label class=optional-field>Model whitelist<input placeholder="model-a, model-b"></label><label class=optional-field>Model blacklist<input placeholder="model-a, model-b"></label><label class="wide optional-field">Extra options JSON<textarea placeholder="{
160
+ }">`);const Au=[{value:"all",label:"All"},{value:"installed",label:"Installed"},{value:"notInstalled",label:"Not installed"}],eu=[{value:"local",label:"Local command"},{value:"remote",label:"Remote URL"}],tu=[{value:"enabled",label:"Enabled"},{value:"disabled",label:"Disabled"}];function gu(){const e=mD();return E(K,{get when(){return e.snap()},children:A=>E(C1,{get title(){return(()=>{var t=UD();return t.firstChild,I(t,E($A,{get children(){return e.rows().length}}),null),t})()},description:"Install, configure, and manage Model Context Protocol servers available to Kilo agents.",get actions(){return[E(W,{icon:"plus",variant:"primary",get disabled(){return!!e.ctx.saving()},get onClick(){return e.openMarket},children:"Install MCP"}),E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},get onClick(){return e.openManual},children:"Manual server"})]},get children(){return[E(R1,{label:"Filter MCP servers",get value(){return e.search()},placeholder:"Filter by name, ID, command, URL, or status...",get onValue(){return e.setSearch}}),(()=>{var t=MD();return I(t,E(K,{get when(){return e.visible().length},get fallback(){return(()=>{var g=KD();return I(g,()=>e.rows().length?"No MCP servers match this filter.":"No MCP servers configured. Install one from the Marketplace or add a manual server."),g})()},get children(){return E(BA,{get each(){return e.visible()},children:g=>(()=>{var Q=xD(),i=Q.firstChild,n=i.firstChild,B=n.firstChild,s=B.nextSibling,o=s.nextSibling,a=i.nextSibling,r=a.nextSibling;return I(B,()=>g.name),I(s,()=>g.id),I(o,()=>g.summary),I(a,E(fe,{get source(){return g.source},get inherited(){return g.inherited},get overridden(){return g.overridden}}),null),I(a,E(vA,{get children(){return g.kind}}),null),I(a,E(e0,{get status(){return g.status?.status??(g.enabled?"configured":"disabled")}}),null),I(r,E(K,{get when(){return g.status?.status==="needs_auth"||g.status?.status==="needs_client_registration"},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.authenticate(g),children:"Authenticate"})}}),null),I(r,E(K,{get when(){return g.status?.status==="connected"},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.disconnect(g),children:"Disconnect"})}}),null),I(r,E(K,{get when(){return hA(()=>g.status?.status==="disabled")()&&g.enabled},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.connect(g),children:"Connect"})}}),null),I(r,E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.toggle(g),get children(){return g.enabled?"Disable":"Enable"}}),null),I(r,E(g1,{icon:"edit",variant:"ghost",get"aria-label"(){return`Configure ${g.name}`},get disabled(){return!!e.ctx.saving()||g.editable===!1||!g.config},onClick:()=>e.edit(g)}),null),I(r,E(g1,{icon:"trash",variant:"ghost",get"aria-label"(){return`${g.revert?"Revert":"Delete"} ${g.name}`},get disabled(){return!!e.ctx.saving()||!g.path||g.inherited&&!g.overridden},onClick:()=>e.ask(g)}),null),I(Q,E(K,{get when(){return g.status?.status==="failed"||g.status?.status==="needs_client_registration"},get children(){var C=SD();return I(C,(()=>{var c=hA(()=>!!(g.status&&"error"in g.status));return()=>c()?g.status.error:"Authentication setup is required."})()),C}}),null),H(()=>Q.classList.toggle("inherited",!!g.inherited)),Q})()})}})),t})(),E(K,{get when(){return e.mode()==="market"},get children(){return[(()=>{var t=Rg();return i1(t,"click",e.close,!0),t})(),(()=>{var t=GD(),g=t.firstChild;g.firstChild;var Q=g.nextSibling,i=Q.firstChild,n=i.firstChild;return n.firstChild,I(g,E(W,{variant:"ghost","aria-label":"Close MCP marketplace overlay",get onClick(){return e.close},children:"X"}),null),I(i,E(R1,{class:"drawer-search mcp-market-search",label:"Filter marketplace MCP servers",get value(){return e.filter()},variant:"drawer",placeholder:"Search marketplace by name, ID, author, or description...",get onValue(){return e.setFilter}}),n),I(n,E(Pe,{label:"Status filter",get value(){return e.status()},options:Au,class:"mcp-status-select",get onSelect(){return e.setStatus}}),null),I(Q,E(K,{get when(){return e.tags().length},get children(){var B=ND();return I(B,E(BA,{get each(){return e.tags()},children:s=>(()=>{var o=qD();return o.$$click=()=>e.toggleTag(s),I(o,E(vA,{children:s})),H(()=>o.classList.toggle("active",!!e.picked().includes(s))),o})()})),B}}),null),I(Q,E(K,{get when(){return e.marketError()},children:B=>E(WA,{class:"banner",variant:"info",get children(){return["Marketplace catalog could not be loaded: ",hA(()=>B())]}})}),null),I(Q,E(K,{get when(){return!e.catalog.loading},get fallback(){return RD()},get children(){return E(K,{get when(){return e.marketVisible().length},get fallback(){return OD()},get children(){var B=bD();return I(B,E(BA,{get each(){return e.marketVisible()},children:s=>(()=>{var o=HD(),a=o.firstChild,r=a.firstChild,C=r.firstChild,c=C.nextSibling,d=a.nextSibling,l=d.nextSibling,D=l.nextSibling,u=D.firstChild;return I(C,()=>s.name),I(r,E(K,{get when(){return s.author},children:y=>(()=>{var p=YD();return p.firstChild,I(p,y,null),p})()}),c),I(c,()=>s.id),I(a,E(K,{get when(){return e.installed().has(s.id)},get children(){return E(vA,{tone:"success",children:"Installed"})}}),null),I(d,()=>s.description),I(l,E(BA,{get each(){return s.tags??[]},children:y=>E(vA,{children:y})})),I(u,E(K,{get when(){return s.url},children:y=>(()=>{var p=_D();return H(()=>j(p,"href",y())),p})()}),null),I(u,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()||e.installed().has(s.id)},onClick:()=>e.openInstall(s),children:"Install"}),null),o})()})),B}})}}),null),t})()]}}),E(K,{get when(){return hA(()=>e.mode()==="install")()&&e.choice()},children:t=>[(()=>{var g=Rg();return i1(g,"click",e.close,!0),g})(),(()=>{var g=PD(),Q=g.firstChild,i=Q.firstChild,n=i.firstChild,B=n.nextSibling,s=Q.nextSibling,o=s.firstChild,a=s.nextSibling;return I(n,()=>t().name),I(B,()=>t().id),I(Q,E(W,{variant:"ghost","aria-label":"Close MCP install overlay",get onClick(){return e.close},children:"X"}),null),I(o,()=>t().description),I(s,E(K,{get when(){return e.methods().length>1},get children(){var r=TD();return r.firstChild,I(r,E(Pe,{label:"Installation method",get value(){return e.methodName()},get options(){return e.methods().map(C=>({value:C.name,label:C.name}))},get onSelect(){return e.setMethodName}}),null),r}}),null),I(s,E(K,{get when(){return e.prerequisites().length},get children(){var r=jD(),C=r.firstChild,c=C.nextSibling;return I(c,E(BA,{get each(){return e.prerequisites()},children:d=>(()=>{var l=zD();return I(l,d),l})()})),r}}),null),I(s,E(K,{get when(){return e.parameters().length},get fallback(){return ZD()},get children(){var r=VD();return r.firstChild,I(r,E(BA,{get each(){return e.parameters()},children:C=>(()=>{var c=WD(),d=c.firstChild;return I(c,()=>C.name,d),I(c,()=>C.optional?" (optional)":"",d),d.$$input=l=>e.setParam(C.key,l.currentTarget.value),j(d,"spellcheck",!1),H(l=>{var D=!C.optional,u=C.placeholder??C.key;return D!==l.e&&c.classList.toggle("required-field",l.e=D),u!==l.t&&j(d,"placeholder",l.t=u),l},{e:void 0,t:void 0}),H(()=>d.value=e.params()[C.key]??""),c})()}),null),r}}),null),I(a,E(W,{variant:"ghost",get onClick(){return e.openMarket},children:"Back"}),null),I(a,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()||!e.valid()},get onClick(){return e.install},children:"Install MCP"}),null),g})()]}),E(K,{get when(){return e.mode()==="config"},get children(){return[(()=>{var t=Rg();return i1(t,"click",e.close,!0),t})(),(()=>{var t=JD(),g=t.firstChild,Q=g.firstChild,i=Q.firstChild,n=i.nextSibling,B=g.nextSibling,s=B.firstChild,o=s.firstChild,a=o.nextSibling,r=s.nextSibling;r.firstChild;var C=r.nextSibling;C.firstChild;var c=C.nextSibling,d=c.firstChild,l=d.nextSibling,D=B.nextSibling;return I(i,()=>e.editing()?"Configure MCP server":"Add manual MCP server"),I(n,()=>e.editing()??"New MCP server"),I(g,E(W,{variant:"ghost","aria-label":"Close MCP configuration overlay",get onClick(){return e.close},children:"X"}),null),a.$$input=u=>e.setId(u.currentTarget.value),j(a,"spellcheck",!1),I(r,E(Pe,{label:"MCP server type",get value(){return e.type()},options:eu,class:"mcp-config-select",get onSelect(){return e.setType}}),null),I(C,E(Pe,{label:"MCP server state",get value(){return e.enabled()?"enabled":"disabled"},options:tu,class:"mcp-config-select",onSelect:u=>e.setEnabled(u==="enabled")}),null),l.$$input=u=>e.setLimit(u.currentTarget.value),I(B,E(K,{get when(){return e.type()==="remote"},get fallback(){return[(()=>{var u=$D(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setCommand(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.command()),u})(),(()=>{var u=XD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setEnv(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.env()),u})()]},get children(){return[(()=>{var u=FD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setUrl(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.url()),u})(),(()=>{var u=LD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setHeaders(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.headers()),u})(),(()=>{var u=vD(),y=u.firstChild,p=y.nextSibling;return p.$$input=M=>e.setAuth(M.currentTarget.value),j(p,"spellcheck",!1),H(()=>p.value=e.auth()),u})()]}}),null),I(D,E(W,{variant:"ghost",get onClick(){return e.close},children:"Cancel"}),null),I(D,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()},get onClick(){return e.save},children:"Save MCP"}),null),H(()=>a.disabled=!!e.editing()),H(()=>a.value=e.id()),H(()=>l.value=e.limit()),t})()]}}),E(Es,{get open(){return!!e.pending()},get title(){return`${e.pending()?.revert?"Revert":"Delete"} MCP server ${e.pending()?.name??""}?`},get message(){return hA(()=>!!e.pending()?.revert)()?`This removes the current-scope override for ${e.pending()?.id??"the MCP server"}.`:`This removes ${e.pending()?.id??"the MCP server"} from the current configuration.`},get confirm(){return e.pending()?.revert?"Revert":"Delete"},get busy(){return!!e.ctx.saving()},get onCancel(){return e.cancel},get onConfirm(){return e.confirm}})]}})})}a1(["click","input"]);const Qu=["toolcall","attachment","temperature","interleaved","input:audio","input:image","input:video","input:pdf","output:audio","output:image","output:video","output:pdf"],iu=1e6;function nu(e,A){return e.id==="kilo"?-1:A.id==="kilo"?1:e.name.localeCompare(A.name)}function Bu(e,A){return A==="toolcall"?e.capabilities.toolcall:A==="attachment"?e.capabilities.attachment:A==="temperature"?e.capabilities.temperature:A==="interleaved"?!!e.capabilities.interleaved:A==="input:audio"?e.capabilities.input.audio:A==="input:image"?e.capabilities.input.image:A==="input:video"?e.capabilities.input.video:A==="input:pdf"?e.capabilities.input.pdf:A==="output:audio"?e.capabilities.output.audio:A==="output:image"?e.capabilities.output.image:A==="output:video"?e.capabilities.output.video:e.capabilities.output.pdf}function kn(e,A){return e.provider.id===A.providerID&&e.model.id===A.modelID?!0:e.model.providerID===A.providerID&&e.model.id===A.modelID}function Ws(){const e=E1(),A=()=>e.data(),[t,g]=U(""),[Q,i]=U("all"),[n,B]=U("all"),[s,o]=U(0),[a,r]=U(0),[C,c]=U("all"),[d,l]=U([]),[D,u]=U(!1),[y,p]=U("closed"),[M,f]=U("model"),[m,O]=U(""),[S,G]=U(""),x=J(()=>{const gA=A();if(!gA)return[];const $=new Set([...Object.keys(gA.effective.provider??{}),...gA.providers.connected]);return gA.providers.all.filter(JA=>$.has(JA.id)).filter(JA=>Object.keys(JA.models).length>0).sort(nu)}),F=J(()=>x().flatMap(gA=>Object.values(gA.models).map($=>({id:`${gA.id}/${$.id}`,provider:gA,model:$})))),b=J(()=>{const gA=F().map($=>$.model.limit.context);return gA.length?Math.min(Math.max(...gA),iu):0}),T=J(()=>Math.min(a()||b(),b())),Y=J(()=>Math.min(s(),T())),z=J(()=>T()>=b()?void 0:T()),AA=J(()=>A()?.modelState.favorite??[]),eA=gA=>AA().some($=>kn(gA,$)),FA=J(()=>{const gA=t().toLowerCase();return F().filter($=>Q()==="all"?!0:$.provider.id===Q()).filter($=>n()==="free"?$.model.isFree:!0).filter($=>n()==="paid"?!$.model.isFree:!0).filter($=>Y()>0?$.model.limit.context>=Y():!0).filter($=>z()!==void 0?$.model.limit.context<=z():!0).filter($=>C()==="reasoning"?$.model.capabilities.reasoning:!0).filter($=>C()==="standard"?!$.model.capabilities.reasoning:!0).filter($=>D()?eA($):!0).filter($=>d().every(JA=>Bu($.model,JA))).filter($=>gA?`${$.id} ${$.model.name} ${$.provider.name}`.toLowerCase().includes(gA):!0).sort(($,JA)=>{const QA=Number(eA(JA))-Number(eA($));return QA!==0?QA:$.model.name.localeCompare(JA.model.name)||$.provider.name.localeCompare(JA.provider.name)})}),oA=J(()=>{const gA=m().trim().toLowerCase();return F().filter($=>gA?`${$.id} ${$.model.name} ${$.provider.name}`.toLowerCase().includes(gA):!0).sort(($,JA)=>{const QA=Number(eA(JA))-Number(eA($));if(QA!==0)return QA;const h=$.model.name.localeCompare(JA.model.name);if(h!==0)return h;const lA=$.provider.name.localeCompare(JA.provider.name);return lA!==0?lA:$.id.localeCompare(JA.id)})}),cA=J(()=>M()==="model"?"Default model":"Small model");function wA(gA){if(typeof gA=="string")return F().find($=>$.id===gA||`${$.model.providerID}/${$.model.id}`===gA)}function P(gA){const $=new Set(d());if($.has(gA)){$.delete(gA),l([...$]);return}$.add(gA),l([...$])}function EA(gA){o(Math.max(0,Math.min(gA,T())))}function tA(gA){r(Math.min(b(),Math.max(gA,Y())))}function sA(gA){const $=e.query();if(!$)return;const JA=eA(gA)?AA().filter(QA=>!kn(gA,QA)):[{providerID:gA.provider.id,modelID:gA.model.id},...AA()];e.run("Saving favorite",()=>y6($,JA))}function dA(gA){const $=A()?.overlay.fields[gA]?.value;f(gA),O(""),G(typeof $=="string"?$:""),p("select")}function bA(){p("closed")}function YA(gA){G(gA.id)}function OA(){const gA=S();if(!gA){e.fail(`Select a ${cA().toLowerCase()} before saving.`);return}if(M()==="model"){e.save({model:gA}),bA();return}e.save({small_model:gA}),bA()}return{ctx:e,snap:A,search:t,setSearch:g,filter:Q,setFilter:i,price:n,setPrice:B,low:Y,high:a,top:T,setMin:EA,setMax:tA,reason:C,setReason:c,caps:d,setCaps:l,starred:D,setStarred:u,fav:eA,favorite:sA,max:b,providers:x,capabilities:Qu,toggle:P,models:FA,item:wA,mode:y,field:M,label:cA,picker:m,setPicker:O,choice:S,options:oA,edit:dA,close:bA,select:YA,save:OA}}var su=w("<div class=model-stat><span></span><strong>"),ou=w("<small>"),ru=w("<details class=models-select><summary></summary><div class=models-select-menu role=listbox>"),au=w("<button class=models-select-option type=button role=option>"),Eu=w('<div class="resolved-grid model-defaults model-default-fields">'),Cu=w("<div class=drawer-scrim>"),Iu=w('<aside class=provider-drawer><header class=drawer-header><div><h2></h2><span>Favorites are listed first, then models are sorted alphabetically.</span></div></header><div class="provider-picker model-picker"></div><footer class=drawer-footer>'),cu=w('<article class="resolved-card default-model-card"><header class=default-model-header><span></span><div class="tags default-model-actions"></div></header><div class=default-model-value>'),yn=w("<strong>"),lu=w("<span class=default-model-id>"),du=w("<p class=empty>No models match this filter."),hu=w('<button class="provider-option model-option"type=button><span class=model-star aria-hidden=true></span><div><strong></strong><span></span></div><div class=tags>'),Du=w('<section class=models-filter-card><div class="models-filter-row models-filter-primary"><label class="models-filter-field models-search-field"><span>Search</span><input placeholder="Search by name or ID..."></label><button class=models-favorite-filter type=button><span class=model-star aria-hidden=true></span>Favorites</button></div><div class="models-filter-row models-filter-secondary"><div class=models-context-filter><span>Context max</span><div class=context-range><span class=context-track aria-hidden=true></span><span class=context-fill aria-hidden=true></span><button class=context-max aria-label="Maximum context"aria-valuemin=0 role=slider type=button></button></div><strong class="models-context-value mono"></strong></div><div class=models-capabilities-filter><span>Capabilities</span><div class=models-capabilities-list>'),uu=w('<div class="models explore-models">'),wu=w("<span class=config-title-count>Explore models"),fu=w("<button class=models-capability-toggle type=button>"),ku=w("<p class=empty>No models match the current filters."),yu=w('<div class="tags model-capabilities">'),pu=w('<article class="model explore-model-card"><div class=model-main><div class=model-title><button class=model-star type=button></button><div><strong></strong><span></span></div></div><div class="tags model-tags"></div></div><div class=model-info-grid>'),mu=w("<p class=model-description>");function pn(e){return e===0?"$0.00":e<.01?`$${e.toFixed(4)}`:`$${e.toFixed(2)}`}function mn(e){return e>=1e6?`${(e/1e6).toFixed(e%1e6===0?0:1)}M`:e>=1e3?`${(e/1e3).toFixed(e%1e3===0?0:1)}K`:String(e)}function Mu(e){const A=new Date(e);return isNaN(A.getTime())?e:A.toLocaleDateString(void 0,{year:"numeric",month:"short"})}function Nu(e){return e.charAt(0).toUpperCase()+e.slice(1)}function bu(e){const A=e.options?.description;return typeof A=="string"&&A.trim()?A:null}function Mn(e){const A=[];return e.capabilities.toolcall&&A.push("toolcall"),e.capabilities.attachment&&A.push("attachment"),e.capabilities.input.image&&A.push("vision"),(e.capabilities.input.audio||e.capabilities.output.audio)&&A.push("audio"),A}function hQ(e){return e>=1e6?5e4:e>=1e5?1e4:1e3}const Gu=[{key:"model",label:"Default model"},{key:"small_model",label:"Small model"}];function Fu(e,A){return A<=0?0:Math.max(0,Math.min(100,e/A*100))}function Lu(e,A){const t=hQ(A);return Math.max(0,Math.min(A,Math.round(e/t)*t))}function vu(e,A,t){const g=A.getBoundingClientRect(),Q=(e.clientX-g.left)/g.width;return Lu(Q*t,t)}function st(e){return(()=>{var A=su(),t=A.firstChild,g=t.nextSibling;return I(t,()=>e.label),I(g,()=>e.value,null),I(g,E(K,{get when(){return e.sub},children:Q=>(()=>{var i=ou();return I(i,Q),i})()}),null),H(()=>g.classList.toggle("mono",!!e.mono)),A})()}const Ju=[{key:"toolcall",label:"toolcall"},{key:"attachment",label:"attachment"},{key:"input:image",label:"vision"},{key:"input:audio",label:"audio"}];function Og(e){const A=()=>e.options.find(Q=>Q.value===e.value)?.label??e.value;function t(Q,i){e.onSelect(Q),i.currentTarget.closest("details")?.removeAttribute("open")}function g(Q){Q.currentTarget.open&&Q.currentTarget.parentElement?.querySelectorAll(".models-select[open]").forEach(i=>{i!==Q.currentTarget&&i.removeAttribute("open")})}return(()=>{var Q=ru(),i=Q.firstChild,n=i.nextSibling;return Q.addEventListener("toggle",g),I(i,A),I(n,E(BA,{get each(){return e.options},children:B=>(()=>{var s=au();return s.$$click=o=>t(B.value,o),I(s,()=>B.label),H(o=>{var a=B.value===e.value,r=B.value===e.value;return a!==o.e&&s.classList.toggle("selected",o.e=a),r!==o.t&&j(s,"aria-selected",o.t=r),o},{e:void 0,t:void 0}),s})()})),H(B=>{var s=e.label,o=e.label;return s!==B.e&&j(i,"aria-label",B.e=s),o!==B.t&&j(n,"aria-label",B.t=o),B},{e:void 0,t:void 0}),Q})()}function Uu(){return E($s,{})}function $s(){const e=Ws();return E(K,{get when(){return e.snap()},get children(){return E(C1,{title:"Model defaults",description:"The models Kilo uses when an agent or command doesn't pin its own.",get children(){return[(()=>{var A=Eu();return I(A,E(BA,{each:Gu,children:t=>{const g=()=>e.snap()?.overlay.fields[t.key],Q=()=>e.item(g()?.value);return(()=>{var i=cu(),n=i.firstChild,B=n.firstChild,s=B.nextSibling,o=n.nextSibling;return I(B,()=>t.label),I(s,E(fe,{get source(){return g()?.source},get inherited(){return g()?.inherited},get overridden(){return g()?.overridden}}),null),I(s,E(K,{get when(){return hA(()=>e.ctx.query()?.scope==="project")()&&g()?.overridden},get children(){return E(W,{variant:"secondary",get disabled(){return!!e.ctx.saving()},onClick:()=>e.ctx.unset([[t.key]]),children:"Revert"})}}),null),I(s,E(g1,{icon:"edit",variant:"ghost",get"aria-label"(){return`Edit ${t.label}`},get disabled(){return!!e.ctx.saving()},onClick:()=>e.edit(t.key)}),null),I(o,E(K,{get when(){return Q()},get fallback(){return(()=>{var a=yn();return I(a,()=>ze(g()?.value)),a})()},children:a=>[(()=>{var r=yn();return I(r,()=>`${a().provider.name} / ${a().model.name}`),r})(),(()=>{var r=lu();return I(r,()=>a().id),r})()]})),H(()=>i.classList.toggle("inherited",!!g()?.inherited)),i})()}})),A})(),E(K,{get when(){return e.mode()!=="closed"},get children(){return[(()=>{var A=Cu();return i1(A,"click",e.close,!0),A})(),(()=>{var A=Iu(),t=A.firstChild,g=t.firstChild,Q=g.firstChild,i=t.nextSibling,n=i.nextSibling;return I(Q,()=>`Choose ${e.label()}`),I(t,E(W,{variant:"ghost","aria-label":"Close model selector",get onClick(){return e.close},children:"X"}),null),I(A,E(R1,{class:"drawer-search",hideLabel:!1,label:"Filter models",get value(){return e.picker()},variant:"drawer",placeholder:"Search by name, provider, or ID",get onValue(){return e.setPicker}}),i),I(i,E(K,{get when(){return e.options().length},get fallback(){return du()},get children(){return E(BA,{get each(){return e.options()},children:B=>(()=>{var s=hu(),o=s.firstChild,a=o.nextSibling,r=a.firstChild,C=r.nextSibling,c=a.nextSibling;return s.$$click=()=>e.select(B),I(r,()=>B.model.name),I(C,()=>B.id),I(c,E(vA,{get children(){return B.provider.name}}),null),I(c,E(vA,{get children(){return B.model.isFree?"free":"paid"}}),null),H(d=>{var l=e.choice()===B.id,D=!!e.fav(B);return l!==d.e&&s.classList.toggle("selected",d.e=l),D!==d.t&&o.classList.toggle("active",d.t=D),d},{e:void 0,t:void 0}),s})()})}})),I(n,E(W,{variant:"ghost",get onClick(){return e.close},children:"Cancel"}),null),I(n,E(W,{variant:"primary",get disabled(){return!!e.ctx.saving()||!e.choice()},get onClick(){return e.save},children:"Save"}),null),H(()=>j(A,"aria-label",`${e.label()} selector`)),A})()]}})]}})}})}function Ku(){const e=Ws();function A(g,Q){const i=Q.currentTarget.closest(".context-range");if(!(i instanceof HTMLElement))return;Q.preventDefault(),Q.currentTarget.setPointerCapture(Q.pointerId);const n=s=>{const o=vu(s,i,e.max());e.setMax(o)},B=()=>{window.removeEventListener("pointermove",n),window.removeEventListener("pointerup",B)};n(Q),window.addEventListener("pointermove",n),window.addEventListener("pointerup",B,{once:!0})}function t(g,Q){const i=Q.key==="ArrowLeft"?-hQ(e.max()):Q.key==="ArrowRight"?hQ(e.max()):0;i!==0&&(Q.preventDefault(),e.setMax(e.top()+i))}return E(K,{get when(){return e.snap()},get children(){return E(C1,{get title(){return(()=>{var g=wu();return g.firstChild,I(g,E(vA,{get children(){return e.models().length}}),null),g})()},description:"All models exposed by configured providers. Set defaults under Models > Defaults.",get children(){return[(()=>{var g=Du(),Q=g.firstChild,i=Q.firstChild,n=i.firstChild,B=n.nextSibling,s=i.nextSibling,o=s.firstChild,a=Q.nextSibling,r=a.firstChild,C=r.firstChild,c=C.nextSibling,d=c.firstChild,l=d.nextSibling,D=l.nextSibling,u=c.nextSibling,y=r.nextSibling,p=y.firstChild,M=p.nextSibling;return B.$$input=f=>e.setSearch(f.currentTarget.value),I(Q,E(Og,{label:"Provider",get value(){return e.filter()},get options(){return[{value:"all",label:"All providers"},...e.providers().map(f=>({value:f.id,label:f.name}))]},get onSelect(){return e.setFilter}}),s),I(Q,E(Og,{label:"Cost",get value(){return e.price()},options:[{value:"all",label:"Any cost"},{value:"free",label:"Free"},{value:"paid",label:"Paid"}],get onSelect(){return e.setPrice}}),s),I(Q,E(Og,{label:"Reasoning",get value(){return e.reason()},options:[{value:"all",label:"Reasoning · any"},{value:"reasoning",label:"Reasoning · yes"},{value:"standard",label:"Reasoning · no"}],get onSelect(){return e.setReason}}),s),s.$$click=()=>e.setStarred(!e.starred()),D.$$pointerdown=f=>A("max",f),D.$$keydown=f=>t("max",f),I(u,()=>mn(e.top())),I(M,E(BA,{each:Ju,children:f=>(()=>{var m=fu();return m.$$click=()=>e.toggle(f.key),I(m,()=>f.label),H(O=>{var S=!!e.caps().includes(f.key),G=e.caps().includes(f.key);return S!==O.e&&m.classList.toggle("selected",O.e=S),G!==O.t&&j(m,"aria-pressed",O.t=G),O},{e:void 0,t:void 0}),m})()})),H(f=>{var m=!!e.starred(),O=e.starred(),S=!!e.starred(),G=`--context-min: 0%; --context-max: ${Fu(e.top(),e.max())}%;`,x=e.max(),F=e.top(),b=e.max()===0;return m!==f.e&&s.classList.toggle("selected",f.e=m),O!==f.t&&j(s,"aria-pressed",f.t=O),S!==f.a&&o.classList.toggle("active",f.a=S),f.o=CB(c,G,f.o),x!==f.i&&j(D,"aria-valuemax",f.i=x),F!==f.n&&j(D,"aria-valuenow",f.n=F),b!==f.s&&(D.disabled=f.s=b),f},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),H(()=>B.value=e.search()),g})(),(()=>{var g=uu();return I(g,E(K,{get when(){return e.models().length},get fallback(){return ku()},get children(){return E(BA,{get each(){return e.models()},children:Q=>(()=>{var i=pu(),n=i.firstChild,B=n.firstChild,s=B.firstChild,o=s.nextSibling,a=o.firstChild,r=a.nextSibling,C=B.nextSibling,c=n.nextSibling;return s.$$click=()=>e.favorite(Q),I(a,()=>Q.model.name),I(r,()=>Q.id),I(C,E(vA,{tone:"brand",get children(){return Q.provider.id}}),null),I(C,E(vA,{get tone(){return Q.model.isFree?"success":"neutral"},get children(){return Q.model.isFree?"free":"paid"}}),null),I(i,E(K,{get when(){return bu(Q.model)},children:d=>(()=>{var l=mu();return I(l,d),l})()}),c),I(c,E(st,{label:"Family",get value(){return hA(()=>!!Q.model.family)()?Nu(Q.model.family):"Unknown"}}),null),I(c,E(st,{label:"Released",get value(){return hA(()=>!!Q.model.release_date)()?Mu(Q.model.release_date):"Unknown"}}),null),I(c,E(st,{label:"Context",get value(){return mn(Q.model.limit.context)},mono:!0}),null),I(c,E(st,{label:"Input",get value(){return pn(Q.model.cost.input)},sub:"/ 1M tok",mono:!0}),null),I(c,E(st,{label:"Output",get value(){return pn(Q.model.cost.output)},sub:"/ 1M tok",mono:!0}),null),I(c,E(st,{label:"Reasoning",get value(){return Q.model.capabilities.reasoning?"Yes":"No"}}),null),I(i,E(K,{get when(){return Mn(Q.model).length},get children(){var d=yu();return I(d,E(BA,{get each(){return Mn(Q.model)},children:l=>E(vA,{children:l})})),d}}),null),H(d=>{var l=e.fav(Q)?"Remove favorite":"Add favorite",D=e.fav(Q),u=!!e.fav(Q);return l!==d.e&&j(s,"aria-label",d.e=l),D!==d.t&&j(s,"aria-pressed",d.t=D),u!==d.a&&s.classList.toggle("active",d.a=u),d},{e:void 0,t:void 0,a:void 0}),i})()})}})),g})()]}})}})}a1(["click","input","keydown","pointerdown"]);var Su=w('<section class=server-strip aria-label="Server status"><div class=server-strip-info><span>Server</span><strong class=mono></strong><span class=server-strip-separator aria-hidden=true></span><span>Version</span><strong class=mono></strong></div><span class=server-strip-state>'),xu=w('<section class=metrics aria-label="Configuration metrics">'),qu=w("<div class=title><div><h2>Diagnostics</h2><p>Where the dashboard is talking to."),Ru=w("<dl class=facts>"),Ou=w("<section class=overview-details>"),Hu=w("<em>effective"),Yu=w("<div class=overview-banner>"),_u=w("<span class=overview-heading>Overview"),Tu=w("<span>"),ju=w("<strong>"),Vu=w("<div><dt></dt><dd>");function Pu(e){return e.split(/[\\/]/).filter(Boolean).at(-1)??"Project"}function zu(){const e=E1(),A=o0();return E(K,{get when(){return e.data()},children:t=>E(K,{get when(){return e.query()},children:g=>{const Q=()=>t().effective,i=()=>g().scope==="project",n=()=>{if(!i())return"Global";const r=g().dir;return b1(r?Pu(r):decodeURIComponent(A.project??"Project"))},B=()=>i()?`Effective configuration for ${n()}. Values inherited from global are marked.`:"Effective global configuration. Applies to all projects unless overridden.",s=()=>t().health.healthy?"healthy":"unhealthy",o=()=>[{label:"Default model",value:ze(Q().model),mono:!0},{label:"Small model",value:ze(Q().small_model),mono:!0},{label:"Default agent",value:ze(Q().default_agent),mono:!0},{label:"Providers",value:String(t().providers.all.length)},{label:"Agents",value:String(_i(Q().agent))},{label:"MCP servers",value:String(_i(Q().mcp))}],a=()=>[{term:"Scope",value:i()?`Project / ${n()}`:"Global"},{term:"Server URL",value:g().url,mono:!0},{term:"Server version",value:t().health.version,mono:!0},{term:"Config directory",value:g().dir||"Server default",mono:!!g().dir},{term:"Active project",value:i()?n():"None",mono:i()},{term:"Default model",value:ze(Q().model),mono:!0}];return E(C1,{get title(){return(()=>{var r=_u();return r.firstChild,I(r,E(e0,{get status(){return s()}}),null),r})()},get description(){return B()},get children(){return[(()=>{var r=Su(),C=r.firstChild,c=C.firstChild,d=c.nextSibling,l=d.nextSibling,D=l.nextSibling,u=D.nextSibling,y=C.nextSibling;return I(d,()=>g().url),I(u,()=>t().health.version),I(y,E(TB,{get tone(){return t().health.healthy?"success":"critical"}}),null),I(y,()=>t().health.healthy?"Online":"Unavailable",null),H(p=>{var M=g().url,f=t().health.version;return M!==p.e&&j(d,"title",p.e=M),f!==p.t&&j(u,"title",p.t=f),p},{e:void 0,t:void 0}),r})(),(()=>{var r=xu();return I(r,E(BA,{get each(){return o()},children:C=>E(WA,{class:"metric",padding:12,get children(){return[(()=>{var c=Tu();return I(c,()=>C.label),c})(),(()=>{var c=ju();return I(c,()=>C.value),H(d=>{var l=!!C.mono,D=C.value;return l!==d.e&&c.classList.toggle("mono",d.e=l),D!==d.t&&j(c,"title",d.t=D),d},{e:void 0,t:void 0}),c})()]}})})),r})(),(()=>{var r=Ou();return I(r,E(WA,{class:"panel",padding:0,get children(){return[qu(),(()=>{var C=Ru();return I(C,E(BA,{get each(){return a()},children:c=>(()=>{var d=Vu(),l=d.firstChild,D=l.nextSibling;return I(l,()=>c.term),I(D,()=>c.value),H(u=>{var y=!!c.mono,p=c.value;return y!==u.e&&D.classList.toggle("mono",u.e=y),p!==u.t&&j(D,"title",u.t=p),u},{e:void 0,t:void 0}),d})()})),C})()]}})),r})(),E(K,{get when(){return i()},get children(){var r=Yu();return I(r,E(X6,{tone:"info",get children(){return["Values shown here are ",Hu()," for this project. Use the section pages to see where each value comes from."]}})),r}})]}})}})})}const Zu="/console/assets/sprite-C8vjp2f0.svg",Wu=["zhipuai","zhipuai-coding-plan","zenmux","zai","zai-coding-plan","xiaomi","xiaomi-token-plan-sgp","xiaomi-token-plan-cn","xiaomi-token-plan-ams","xai","wandb","wafer.ai","vultr","vivgrid","vercel","venice","v0","upstage","togetherai","the-grid-ai","tencent-tokenhub","tencent-coding-plan","synthetic","submodel","stepfun","stackit","siliconflow","siliconflow-cn","scaleway","sap-ai-core","requesty","regolo-ai","qiniu-ai","qihang-ai","privatemode-ai","poe","perplexity","perplexity-agent","ovhcloud","openrouter","opencode","opencode-go","openai","ollama-cloud","nvidia","novita-ai","nova","neuralwatt","nebius","nano-gpt","morph","moonshotai","moonshotai-cn","modelscope","moark","mixlayer","mistral","minimax","minimax-coding-plan","minimax-cn","minimax-cn-coding-plan","meganova","lucidquery","lmstudio","llmgateway","llama","kuae-cloud-coding-plan","kiro","kimi-for-coding","kilo","jiekou","io-net","inference","inception","iflowcn","huggingface","hpc-ai","helicone","groq","google","google-vertex","google-vertex-anthropic","gitlab","github-models","github-copilot","frogbot","friendli","firmware","fireworks-ai","fastrouter","evroc","drun","dinference","digitalocean","deepseek","deepinfra","cortecs","cohere","cloudflare-workers-ai","cloudflare-ai-gateway","cloudferro-sherlock","clarifai","chutes","cerebras","berget","baseten","bailing","azure","azure-cognitive-services","atomic-chat","anthropic","amazon-bedrock","alibaba","alibaba-coding-plan","alibaba-coding-plan-cn","alibaba-cn","aihubmix","abliteration-ai","abacus","302ai"];var $u=w("<svg data-component=provider-icon><use>");const Xu=e=>{const[A,t]=G1(e,["id","class","classList"]),g=J(()=>Wu.includes(A.id)?A.id:"synthetic");return(()=>{var Q=$u(),i=Q.firstChild;return pe(Q,n1(t,{get classList(){return{...A.classList,[A.class??""]:!!A.class}}}),!0,!0),H(()=>j(i,"href",`${Zu}#${g()}`)),Q})()};var Aw=w('<svg data-component=provider-icon data-provider=kilo viewBox="0 0 16 16"aria-hidden=true><rect width=16 height=16 rx=3 fill=var(--primary)></rect><text x=8 y=8.15 dominant-baseline=middle fill=var(--primary-foreground) font-size=10 font-weight=700 letter-spacing=-0.025em text-anchor=middle>K');const Hg=e=>{const[A,t]=G1(e,["id","class","classList"]);return A.id!=="kilo"?E(Xu,e):(()=>{var g=Aw();return pe(g,n1(t,{get classList(){return{...A.classList,[A.class??""]:!!A.class}}}),!0,!0),g})()},Nn=["kilo","anthropic","github-copilot","openai","google","openrouter","vercel"],ew=/^[a-z0-9][a-z0-9-_]*$/;function bn(e){const A=Nn.indexOf(e.toLowerCase());return A>=0?A:Nn.length}function Gn(e){return e.slice().sort((A,t)=>{const g=bn(A.id)-bn(t.id);return g!==0?g:A.name.localeCompare(t.name)})}function Fn(e){return!e||typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?"":JSON.stringify(e,null,2)}function Ln(e,A,t){const g=uA(e);if(!g)return{};try{const Q=JSON.parse(g);if(!Q||typeof Q!="object"||Array.isArray(Q)){t(`${A} must be a JSON object.`);return}return Q}catch(Q){t(`${A}: ${M1(Q)}`);return}}function tw(e){return Object.fromEntries(Object.entries(e??{}).filter(([A])=>A!=="apiKey"&&A!=="baseURL"))}function gw(e,A){const t=e.when;if(!t)return!0;const g=A[t.key]??"";return t.op==="eq"?g===t.value:g!==t.value}function Qw(){const e=E1(),A=()=>e.data(),[t,g]=U("closed"),[Q,i]=U(""),[n,B]=U(""),[s,o]=U(""),[a,r]=U(),[C,c]=U(""),[d,l]=U(""),[D,u]=U(""),[y,p]=U(""),[M,f]=U(""),[m,O]=U(""),[S,G]=U(""),[x,F]=U(""),[b,T]=U(""),[Y,z]=U(""),[AA,eA]=U(""),[FA,oA]=U(),[cA,wA]=U(),[P,EA]=U(),[tA,sA]=U(),[dA,bA]=U(""),[YA,OA]=U(""),[gA,$]=U({}),[JA,QA]=U(""),[h,lA]=U(""),kA=J(()=>{const Z=A();if(!Z)return[];const R=Z.effective.provider??{},V=new Map(Z.overlay.collections.provider.map(GA=>[GA.key,GA])),X=Object.entries(R).flatMap(([GA,F1])=>{if(!F1)return[];const k1=Z.providers.all.find(Qt=>Qt.id===GA),Y1=V.get(GA),ie=Object.keys(k1?.models??F1.models??{}).length;return[{id:GA,name:F1.name??k1?.name??GA,source:Y1?.source??k1?.source??"config",models:ie,config:F1,provider:k1,inherited:Y1?.inherited,overridden:Y1?.overridden,editable:Y1?.editable}]}),IA=new Set(X.map(GA=>GA.id)),xA=Z.providers.all.flatMap(GA=>IA.has(GA.id)?[]:Z.providers.connected.includes(GA.id)?[{id:GA.id,name:GA.name,source:GA.source,models:Object.keys(GA.models).length,config:{},provider:GA,editable:!0}]:[]);return Gn([...X,...xA])}),_A=J(()=>{const Z=n().trim().toLowerCase();return Z?kA().filter(R=>`${R.name} ${R.id}`.toLowerCase().includes(Z)):kA()}),PA=J(()=>{const Z=A();if(!Z)return[];const R=new Set(kA().map(X=>X.id)),V=Q().trim().toLowerCase();return Gn(Z.providers.all).filter(X=>!R.has(X.id)).filter(X=>V?`${X.name} ${X.id}`.toLowerCase().includes(V):!0)}),l1=J(()=>{const Z=C();return A()?.providers.all.find(R=>R.id===Z)}),te=J(()=>PA().find(Z=>Z.id===s())??PA()[0]),re=J(()=>A()?.authMethods[C()]??[]),ge=J(()=>{const Z=cA();return Z===void 0?void 0:re()[Z]}),ae=J(()=>ge()?.prompts?.filter(Z=>gw(Z,gA()))??[]),me=J(()=>re().length>0);function H1(){wA(void 0),EA(void 0),sA(void 0),bA(""),OA(""),$({}),QA(""),lA("")}function e1(Z,R,V){const X=R?.options??{};c(V||Z?.id||R?.id||""),l(R?.name??Z?.name??""),u((R?.env??Z?.env??[]).join(", ")),p(R?.api??""),f(R?.npm??""),O(typeof X.apiKey=="string"?X.apiKey:""),G(typeof X.baseURL=="string"?X.baseURL:""),F((R?.whitelist??[]).join(", ")),T((R?.blacklist??[]).join(", ")),z(Fn(tw(X))),eA(Fn(R?.models)),H1()}function Me(Z,R=C()){wA(Z),EA(void 0),QA(""),lA(""),(A()?.authMethods[R]??[])[Z]?.type==="oauth"&&(sA("authorizing"),e.run("Authorizing provider",async()=>{const X=await m6(e.target(),R,Z,gA());EA(X),sA(void 0),X.url&&window.open(X.url,"_blank","noopener,noreferrer"),X.method==="auto"&&RA(Z)},{refetch:!1}))}function qe(Z,R){$({...gA(),[Z]:R})}function Ee(Z){(A()?.authMethods[Z]??[]).length===1&&Me(0,Z)}function Re(){r(void 0),i(""),o(""),g("select")}function Qe(){g("closed")}function L(Z){r(void 0),e1(Z,void 0,Z.id),g("form"),Ee(Z.id)}function v(Z){o(Z.id)}function _(){const Z=te();Z&&L(Z)}function CA(Z){r(Z.id),e1(Z.provider,Z.config,Z.id),g("form"),Ee(Z.id)}function yA(){const Z=uA(dA());if(!Z){QA("Enter an API key before saving."),lA("apiKey");return}const R={};for(const V of ae()){const X=uA(gA()[V.key]??"");if(!X){QA(`${V.message} is required.`),lA(V.key);return}R[V.key]=X}sA("connecting"),e.run("Connecting provider",async()=>p6(e.target(),C(),Z,Object.keys(R).length?R:void 0)),Qe()}function RA(Z=cA()){if(Z===void 0)return;const R=uA(YA());if(P()?.method==="code"&&!R){QA("Enter the authorization code before saving."),lA("code");return}sA("connecting"),e.run("Connecting provider",async()=>M6(e.target(),C(),Z,P()?.method==="code"?R:void 0)),P()?.method==="code"&&Qe()}function SA(){const Z=uA(C());if(!Z||!ew.test(Z)){e.fail("Provider ID must start with a lowercase letter or number and contain only lowercase letters, numbers, dashes, or underscores.");return}const R=Ln(Y(),"Extra options",e.fail),V=Ln(AA(),"Model overrides",e.fail);if(!R||!V)return;const X=uA(m()),IA=uA(S());X&&(R.apiKey=X),IA&&(R.baseURL=IA);const xA={},GA=uA(d()),F1=ct(D()),k1=ct(x()),Y1=ct(b()),ie=uA(y()),Qt=uA(M());GA&&(xA.name=GA),F1.length&&(xA.env=F1),ie&&(xA.api=ie),Qt&&(xA.npm=Qt),k1.length&&(xA.whitelist=k1),Y1.length&&(xA.blacklist=Y1),Object.keys(R).length&&(xA.options=R),Object.keys(V).length&&(xA.models=V);const Ne=A();if(!Ne)return;const rA={...Ne.effective.provider??{}},TA=a();TA&&TA!==Z&&(rA[TA]=null),rA[Z]=xA,e.save({provider:rA,disabled_providers:(Ne.effective.disabled_providers??[]).filter(L1=>L1!==Z)}),Qe()}function zA(Z){oA(Z)}function d1(){oA(void 0)}function h1(){const Z=FA();if(!Z)return;const R=A();R&&(e.save({provider:{...R.effective.provider??{},[Z.id]:null}}),oA(void 0))}return{ctx:e,snap:A,mode:t,filter:Q,setFilter:i,search:n,setSearch:B,configured:kA,visible:_A,available:PA,selected:l1,target:te,auth:me,methods:re,method:ge,prompts:ae,methodIndex:cA,authorization:P,phase:tA,authKey:dA,setAuthKey:bA,authCode:YA,setAuthCode:OA,fields:gA,setField:qe,authError:JA,authField:h,id:C,setId:c,name:d,setName:l,env:D,setEnv:u,api:y,setApi:p,npm:M,setNpm:f,apiKey:m,setApiKey:O,baseURL:S,setBaseURL:G,whitelist:x,setWhitelist:F,blacklist:b,setBlacklist:T,options:Y,setOptions:z,models:AA,setModels:eA,pending:FA,add:Re,close:Qe,pick:L,choose:v,next:_,edit:CA,selectMethod:Me,connectAuth:yA,completeOAuth:RA,save:SA,ask:zA,cancel:d1,confirm:h1}}var iw=w("<div class=providers>"),nw=w("<div class=drawer-scrim>"),Bw=w('<header class="drawer-header provider-config-header"><div class="provider-title provider-drawer-title"><div><h2></h2><span>'),sw=w("<p>Select how to connect <!>."),ow=w("<div class=auth-methods>"),rw=w("<p>Preparing authorization..."),aw=w("<p>Connect <!> with an API key. Extra fields are provided by the server."),Ew=w('<label>API key<input type=password placeholder="Paste API key"autocomplete=off>'),Cw=w("<p>Open the authorization page and paste the code returned by <!>."),Iw=w("<a target=_blank rel=noreferrer>Open authorization page"),cw=w('<label>Authorization code<input placeholder="Paste authorization code">'),lw=w("<p>Complete authorization in the browser window. This page will refresh once the provider is connected."),dw=w("<div class=provider-auth>"),Yg=w("<footer class=drawer-footer>"),hw=w('<aside class=provider-drawer aria-label="Provider configuration">'),Dw=w("<span class=config-title-count>Providers"),uw=w("<p class=empty>No providers match this filter."),ww=w('<article class="provider configured-provider"><div class=provider-title><div><strong></strong><span></span></div></div><div class=tags><span class=provider-model-count></span></div><div class=provider-actions>'),fw=w("<header class=drawer-header><div><h2>Add provider</h2><span>Choose a provider, then enter credentials."),kw=w('<div class=add-provider-body><section class=add-provider-field><h3>Choose provider</h3><div class="provider-picker add-provider-picker">'),yw=w("<p class=empty>No available providers match."),pw=w('<button class="provider-option add-provider-option"type=button><div><strong></strong><span>'),mw=w("<span>Select a provider to enter credentials."),Mw=w("<span>Step 2 · enter credentials for <strong>"),Nw=w(`<div class=provider-form><label class=required-field>Provider ID<input></label><label class=required-field>Display name<input></label><label class=optional-field>Environment variables<input placeholder="ANTHROPIC_API_KEY, OPENAI_API_KEY"></label><label class=optional-field>API key<input placeholder="sk-... or {env:PROVIDER_API_KEY}"></label><label class=optional-field>Base URL<input placeholder=https://api.example.com/v1></label><label class=optional-field>NPM package<input placeholder=@ai-sdk/openai-compatible></label><label class=optional-field>API identifier<input placeholder=openai-compatible></label><label class=optional-field>Model whitelist<input placeholder="model-a, model-b"></label><label class=optional-field>Model blacklist<input placeholder="model-a, model-b"></label><label class="wide optional-field">Extra options JSON<textarea placeholder="{
161
161
  &quot;timeout&quot;: 300000
162
162
  }"></textarea></label><label class="wide optional-field">Model overrides JSON<textarea placeholder="{
163
163
  &quot;model-id&quot;: { &quot;name&quot;: &quot;Model Name&quot; }
@@ -1859,6 +1859,15 @@ OjAwvs/J9QAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyNi0wMy0yNVQwODowMToxNyswMDowMOna
1859
1859
  stroke-linejoin="round"
1860
1860
  ></path>
1861
1861
  </symbol>
1862
+ <symbol viewBox="0 0 200 200" id="atomic-chat">
1863
+ <g fill="currentColor">
1864
+ <rect x="83" y="15" width="34" height="170" rx="17"></rect>
1865
+ <rect x="83" y="15" width="34" height="170" rx="17" transform="rotate(45 100 100)"></rect>
1866
+ <rect x="83" y="15" width="34" height="170" rx="17" transform="rotate(90 100 100)"></rect>
1867
+ <rect x="83" y="15" width="34" height="170" rx="17" transform="rotate(135 100 100)"></rect>
1868
+ <rect x="83" y="5" width="34" height="190" rx="17" transform="rotate(45 100 100)"></rect>
1869
+ </g>
1870
+ </symbol>
1862
1871
  <symbol viewBox="0 0 40 40" id="anthropic">
1863
1872
  <path
1864
1873
  d="M26.9568 9.88184H22.1265L30.7753 31.7848H35.4917L26.9568 9.88184ZM13.028 9.88184L4.4917 31.7848H9.32203L11.2305 27.1793H20.2166L22.0126 31.6724H26.8444L18.0832 9.88184H13.028ZM12.5783 23.1361L15.4987 15.3853L18.5315 23.1361H12.5783Z"
@@ -6,7 +6,7 @@
6
6
  <link rel="icon" type="image/svg+xml" href="/console/favicon.svg" />
7
7
  <link rel="icon" type="image/x-icon" href="/console/favicon.ico" />
8
8
  <title>Kilo Console</title>
9
- <script type="module" crossorigin src="/console/assets/index-DlBJ9g6S.js"></script>
9
+ <script type="module" crossorigin src="/console/assets/index-acXOc7Yb.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="/console/assets/index-DELi0OA9.css">
11
11
  </head>
12
12
  <body>
package/bin/kilo CHANGED
Binary file
package/package.json CHANGED
@@ -1,12 +1,30 @@
1
1
  {
2
2
  "name": "@kilocode/cli-darwin-x64-baseline",
3
- "version": "7.3.29",
3
+ "version": "7.3.31",
4
4
  "os": [
5
5
  "darwin"
6
6
  ],
7
7
  "cpu": [
8
8
  "x64"
9
9
  ],
10
+ "keywords": [
11
+ "cli",
12
+ "tui",
13
+ "terminal",
14
+ "ai",
15
+ "agent",
16
+ "assistant",
17
+ "coding-agent",
18
+ "kilo-code",
19
+ "kilo",
20
+ "opencode",
21
+ "ink",
22
+ "react",
23
+ "copilot",
24
+ "autocomplete",
25
+ "developer-tools"
26
+ ],
27
+ "private": false,
10
28
  "repository": {
11
29
  "type": "git",
12
30
  "url": "https://github.com/Kilo-Org/kilocode"