@aidotnet/server-darwin-x64 0.15.1 → 0.15.3

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.
Files changed (51) hide show
  1. package/bin/astra-server +2 -2
  2. package/bin/wwwroot/assets/ClientsPage-DJ8OiYcX.js +11 -0
  3. package/bin/wwwroot/assets/KeyPage-5UvBWycd.js +1 -0
  4. package/bin/wwwroot/assets/{LibraryPage-zWB1AmNM.js → LibraryPage-JQxAvawG.js} +2 -2
  5. package/bin/wwwroot/assets/McpPage-oozJ21zq.js +9 -0
  6. package/bin/wwwroot/assets/{ModelDetailPage-DX2Tmcg8.js → ModelDetailPage-Cfz2zi0U.js} +1 -1
  7. package/bin/wwwroot/assets/{ModelsPage-DQ723Bep.js → ModelsPage-DAvS9uxX.js} +1 -1
  8. package/bin/wwwroot/assets/PluginsPage-DfBHZfb2.js +2 -0
  9. package/bin/wwwroot/assets/PrivacyPage-BgA0yvY0.js +1 -0
  10. package/bin/wwwroot/assets/ProviderDetailPage-bIxbjCzP.js +3 -0
  11. package/bin/wwwroot/assets/ProvidersPage-Uiuwx_Cd.js +3 -0
  12. package/bin/wwwroot/assets/{RoutingGroupsPage-BTUW7SzD.js → RoutingGroupsPage-DUdcBWYq.js} +3 -3
  13. package/bin/wwwroot/assets/SettingsPage-B0IMSAPT.js +2 -0
  14. package/bin/wwwroot/assets/SkillsPage-Ctyb7F5q.js +1 -0
  15. package/bin/wwwroot/assets/SmartRoutingPage-CPcCOOTH.js +2 -0
  16. package/bin/wwwroot/assets/TokenDetailPage-PLOYTNPK.js +1 -0
  17. package/bin/wwwroot/assets/{TokenPoolEditor-IFC01xaC.js → TokenPoolEditor-DzEkYZ9z.js} +1 -1
  18. package/bin/wwwroot/assets/TokensPage-DwZEaXdO.js +1 -0
  19. package/bin/wwwroot/assets/ToolsPage-DQwpPzFX.js +1 -0
  20. package/bin/wwwroot/assets/{TracesPage-BZrA-1-1.js → TracesPage-DbNt1DV8.js} +2 -2
  21. package/bin/wwwroot/assets/{TrayPanelPage-BZ5qX7RL.js → TrayPanelPage-D3T3wyqR.js} +1 -1
  22. package/bin/wwwroot/assets/{TrayPanelView-BCnCVX3H.js → TrayPanelView-wy6Co_3P.js} +1 -1
  23. package/bin/wwwroot/assets/TrayTitleSource-DleIYaE6.js +41 -0
  24. package/bin/wwwroot/assets/{checkbox-CgKXs5Sq.js → checkbox-DKNuVOmF.js} +1 -1
  25. package/bin/wwwroot/assets/confirm-morph-CpavTPxZ.js +1 -0
  26. package/bin/wwwroot/assets/{format-DFMHYFFs.js → format-BmuJU1J1.js} +4 -4
  27. package/bin/wwwroot/assets/index-CZ4Wdbud.js +124 -0
  28. package/bin/wwwroot/assets/{radio-cards-BvbUpDsv.js → radio-cards-BvgAI3-W.js} +1 -1
  29. package/bin/wwwroot/assets/{sortable.esm-DTOfU4E0.js → sortable.esm-CJQ90KMg.js} +1 -1
  30. package/bin/wwwroot/assets/square-check-big-qw-46oRI.js +1 -0
  31. package/bin/wwwroot/assets/use-transform-btbU40wQ.js +1 -0
  32. package/bin/wwwroot/index.html +4 -4
  33. package/package.json +1 -1
  34. package/bin/wwwroot/assets/ClientsPage-BTh-MAoi.js +0 -11
  35. package/bin/wwwroot/assets/KeyPage-DE781Xxu.js +0 -1
  36. package/bin/wwwroot/assets/McpPage-B9XqS9Bw.js +0 -9
  37. package/bin/wwwroot/assets/PluginsPage-DL2OpHwt.js +0 -2
  38. package/bin/wwwroot/assets/PrivacyPage-CLuKXL5L.js +0 -1
  39. package/bin/wwwroot/assets/ProviderDetailPage-k8pFYdq_.js +0 -3
  40. package/bin/wwwroot/assets/ProvidersPage-DPZUeWOI.js +0 -3
  41. package/bin/wwwroot/assets/SettingsPage-CZ14Qoi7.js +0 -2
  42. package/bin/wwwroot/assets/SkillsPage-D02hvfyt.js +0 -1
  43. package/bin/wwwroot/assets/SmartRoutingPage-C_WvZBQn.js +0 -2
  44. package/bin/wwwroot/assets/TokenDetailPage-Dx1dSnTW.js +0 -1
  45. package/bin/wwwroot/assets/TokensPage-ChYVyi0B.js +0 -1
  46. package/bin/wwwroot/assets/ToolsPage-eggyG1x7.js +0 -1
  47. package/bin/wwwroot/assets/TrayTitleSource-DPgZ1gwk.js +0 -41
  48. package/bin/wwwroot/assets/confirm-morph-DiY_OTKx.js +0 -1
  49. package/bin/wwwroot/assets/index-Dd8H-gQl.js +0 -124
  50. package/bin/wwwroot/assets/square-check-big-Bs2Ld6rG.js +0 -1
  51. package/bin/wwwroot/assets/use-transform-DAvHgos2.js +0 -1
@@ -0,0 +1 @@
1
+ import{o as e,r as t}from"./createLucideIcon-7fjTeqBK.js";import{B as n,Bn as r,Eo as i,G as a,I as o,Ka as s,L as c,Lt as l,Mi as u,Ni as d,No as f,O as p,Rt as m,T as h,To as g,U as _,Vn as v,W as y,ca as b,k as x,nc as S,no as C,r as w,ro as T,z as E}from"./format-BmuJU1J1.js";import{B as D,R as O,U as k,W as A}from"./TrayTitleSource-DleIYaE6.js";import{t as j}from"./arrow-down-Def8Fl70.js";import{t as M}from"./arrow-up-DE65OgjV.js";import{t as N}from"./copy-48gwhhDO.js";import{t as P}from"./external-link-D6jQM2CZ.js";import{t as F}from"./grip-vertical-DFI2_ajd.js";import{t as I}from"./plus-c3HzV6VX.js";import{t as L}from"./refresh-cw-CoLAai2c.js";import{t as R}from"./trash-BHBJn5GS.js";import{t as z}from"./zap-BiWUNaKt.js";import{v as B}from"./index-CZ4Wdbud.js";var V=e(t(),1),H=S();function U(){return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(G,{}),(0,H.jsx)(J,{}),(0,H.jsx)(Q,{}),(0,H.jsx)($,{}),(0,H.jsx)(ee,{})]})}function W(){let{t:e}=h(),{toast:t}=A(),n=f();return{save:r=>n.mutate(r,{onSuccess:()=>t(e(`common.saved`),`success`),onError:e=>t(k(e),`error`)}),pending:n.isPending}}function G(){let{t:e}=h(),t=T(),{save:r,pending:i}=W();if(!t.data)return(0,H.jsx)(y,{});let s=t.data.search;return(0,H.jsxs)(o,{title:e(`tools.onBehalf.title`),footer:e(`tools.onBehalf.footer`),children:[(0,H.jsx)(n,{label:e(`tools.onBehalf.enable`),detail:e(`tools.onBehalf.enableHint`),children:(0,H.jsx)(a,{checked:s.onBehalf,disabled:i,label:e(`tools.onBehalf.enable`),onChange:e=>r({search:{onBehalf:e}})})}),(0,H.jsx)(n,{label:e(`tools.onBehalf.mode`),detail:e(`tools.onBehalf.modeHint`),children:(0,H.jsx)(_,{ariaLabel:e(`tools.onBehalf.mode`),value:s.mode,items:[{value:`auto`,label:e(`tools.onBehalf.mode.auto`)},{value:`always`,label:e(`tools.onBehalf.mode.always`)}],onChange:e=>r({search:{mode:e}})})}),(0,H.jsx)(n,{label:e(`tools.onBehalf.count`),detail:e(`tools.onBehalf.countHint`),children:(0,H.jsx)(E,{className:`w-20`,label:e(`tools.onBehalf.count`),min:1,value:s.resultCount,onChange:e=>e!==null&&r({search:{resultCount:e}})})})]})}function K(e,t,n){if(t===n)return null;let r=e.filter(e=>e!==t),i=r.indexOf(n);if(i<0||!e.includes(t))return null;let a=e.indexOf(t)<e.indexOf(n)?i+1:i;return[...r.slice(0,a),t,...r.slice(a)]}function q(e,t,n){let r=e.indexOf(t),i=r+n;if(r<0||i<0||i>=e.length)return null;let a=[...e];return[a[r],a[i]]=[a[i],a[r]],a}function J(){let{t:e}=h(),{toast:t}=A(),n=T(),r=l(),i=u(),[a,o]=(0,V.useState)(null),[s,d]=(0,V.useState)(null),[f,p]=(0,V.useState)(``);if(!n.data)return(0,H.jsx)(y,{});let{apis:m,available:g}=n.data.search,_=m.map(e=>e.vendor),v=e=>t(k(e),`error`),b=e=>e&&i.mutate(e,{onError:v}),S=g.find(e=>e.vendor===s)?.needsUrl===!0,C=(e,t)=>r.mutate({vendor:e,...t?{url:t}:{}},{onSuccess:()=>{d(null),p(``)},onError:v});return(0,H.jsxs)(`section`,{className:`mb-5`,children:[(0,H.jsxs)(`div`,{className:`mb-2 flex items-center justify-between px-1`,children:[(0,H.jsx)(`h3`,{className:`text-[12px] font-medium text-[var(--text-secondary)]`,children:e(`tools.search.title`)}),(0,H.jsx)(D,{label:e(`tools.search.add`),icon:(0,H.jsx)(I,{className:`size-3.5`}),items:g.map(t=>({id:t.vendor,label:t.plugin?`${t.name} (${e(`tools.search.fromPlugin`)})`:t.name,onSelect:()=>t.needsUrl?d(t.vendor):C(t.vendor)}))})]}),S&&(0,H.jsxs)(`div`,{className:`card mb-2 flex items-center gap-2 px-4 py-3`,children:[(0,H.jsx)(c,{label:e(`tools.search.url`),placeholder:`https://searx.example.com`,value:f,onChange:e=>p(e.target.value)}),(0,H.jsx)(x,{size:`sm`,variant:`primary`,disabled:f.trim().length===0,onClick:()=>C(s,f.trim()),children:e(`tools.search.add`)}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,onClick:()=>d(null),children:e(`common.cancel`)})]}),(0,H.jsx)(`p`,{className:`mb-2 px-1 text-[11px] text-[var(--text-muted)]`,children:e(`tools.search.hint`)}),m.length===0?(0,H.jsx)(`div`,{className:`card px-4 py-6 text-center text-[13px] text-[var(--text-muted)]`,children:e(`tools.search.empty`)}):(0,H.jsx)(`div`,{className:`card divide-y divide-[var(--border)]`,children:m.map(e=>(0,H.jsx)(`div`,{draggable:!0,onDragStart:t=>{o(e.vendor),t.dataTransfer.effectAllowed=`move`},onDragOver:e=>e.preventDefault(),onDrop:t=>{t.preventDefault(),a&&b(K(_,a,e.vendor)),o(null)},onDragEnd:()=>o(null),children:(0,H.jsx)(Y,{api:e,first:e.vendor===_[0],last:e.vendor===_[_.length-1],onMove:t=>b(q(_,e.vendor,t))})},e.vendor))})]})}function Y({api:e,first:t,last:i,onMove:o}){let{t:l,locale:u}=h(),{toast:d,confirm:f}=A(),v=g(),y=r(),S=m(),C=s(),[w,T]=(0,V.useState)(``),[E,D]=(0,V.useState)(e.url??``),O=b(e.vendor,e.canReadQuota&&e.keys.length>0);(0,V.useEffect)(()=>D(e.url??``),[e.url]);let N=e=>d(k(e),`error`),B=()=>C.mutate(e.vendor,{onSuccess:t=>t.ok?d(l(`tools.search.testOk`,{source:t.source??e.name,pages:t.pages,ms:t.elapsedMs}),`success`):d(l(`tools.search.testFailed`,{message:t.error??``}),`error`),onError:N}),U=async()=>{await f({title:l(`tools.search.removeConfirm`,{name:e.name}),detail:l(`tools.search.removeDetail`),confirmLabel:l(`common.delete`),destructive:!0})&&y.mutate(e.vendor,{onError:N})};return(0,H.jsxs)(`div`,{className:`px-4 py-3`,children:[(0,H.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,H.jsx)(F,{className:`size-4 shrink-0 cursor-grab text-[var(--text-muted)]`,"aria-hidden":!0}),(0,H.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,H.jsxs)(`div`,{className:`flex items-center gap-2 text-[13px] font-medium`,children:[(0,H.jsx)(`span`,{className:`truncate`,children:e.name}),e.plugin&&(0,H.jsx)(p,{children:l(`tools.search.fromPlugin`)}),!e.available&&(0,H.jsx)(p,{tone:`orange`,children:l(`tools.search.pluginOff`)})]}),(0,H.jsxs)(`div`,{className:`text-[11px] text-[var(--text-muted)]`,children:[e.keyOptional?l(`tools.search.keyOptional`):l(`tools.search.keysCount`,{count:e.keys.length}),e.keysUrl&&(0,H.jsxs)(`a`,{className:`ml-2 inline-flex items-center gap-0.5 underline`,href:e.keysUrl,target:`_blank`,rel:`noreferrer`,children:[l(`tools.search.getKey`),(0,H.jsx)(P,{className:`size-3`})]})]})]}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(M,{className:`size-3.5`}),"aria-label":l(`tools.search.moveUp`),disabled:t,onClick:()=>o(-1)}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(j,{className:`size-3.5`}),"aria-label":l(`tools.search.moveDown`),disabled:i,onClick:()=>o(1)}),(0,H.jsx)(x,{size:`sm`,icon:(0,H.jsx)(z,{className:`size-3.5`}),loading:C.isPending,onClick:B,children:l(`tools.search.test`)}),(0,H.jsx)(a,{checked:e.enabled,label:`${e.name}: ${l(`tools.search.enabled`)}`,onChange:t=>v.mutate({vendor:e.vendor,body:{enabled:t}},{onError:N})}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(R,{className:`size-3.5`}),"aria-label":l(`common.delete`),onClick:()=>void U()})]}),(0,H.jsxs)(`div`,{className:`mt-2 grid gap-2 pl-6`,children:[(e.needsUrl||e.vendor===`firecrawl`||e.vendor===`you`)&&(0,H.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,H.jsx)(c,{label:l(`tools.search.url`),placeholder:e.needsUrl?`https://searx.example.com`:l(`tools.search.urlDefault`),value:E,onChange:e=>D(e.target.value)}),(0,H.jsx)(x,{size:`sm`,disabled:E.trim()===(e.url??``),onClick:()=>v.mutate({vendor:e.vendor,body:{url:E.trim()}},{onError:N}),children:l(`common.save`)})]}),e.keys.length>1&&(0,H.jsx)(n,{label:l(`tools.search.pick`),detail:l(`tools.search.pickHint`),children:(0,H.jsx)(_,{ariaLabel:l(`tools.search.pick`),value:e.pick,items:[{value:`turns`,label:l(`tools.search.pick.turns`)},{value:`order`,label:l(`tools.search.pick.order`)}],onChange:t=>v.mutate({vendor:e.vendor,body:{pick:t}},{onError:N})})}),(0,H.jsx)(Z,{api:e,quota:O.data,locale:u}),(0,H.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,H.jsx)(c,{label:l(`tools.search.key`),mono:!0,type:`password`,autoComplete:`off`,placeholder:l(`tools.search.keyPlaceholder`),value:w,onChange:e=>T(e.target.value)}),(0,H.jsx)(x,{size:`sm`,variant:`primary`,icon:(0,H.jsx)(I,{className:`size-3.5`}),disabled:w.trim().length===0,loading:S.isPending,onClick:()=>S.mutate({vendor:e.vendor,key:w.trim()},{onSuccess:()=>T(``),onError:N}),children:l(`tools.search.addKey`)}),e.canReadQuota&&e.keys.length>0&&(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(L,{className:`size-3.5`}),"aria-label":l(`tools.search.refreshQuota`),onClick:()=>void O.refetch()})]})]})]})}function X(e,t){if(!e.known)return t(`tools.search.quotaUnknown`,{message:e.error??``});if(e.unlimited)return t(`tools.search.quotaUnlimited`,{used:e.used});let n=e.of===`plan`?t(`tools.search.quotaOfPlan`,{plan:e.plan??``}):t(`tools.search.quotaOfKey`);return`${t(`tools.search.quotaUsed`,{used:e.used,limit:e.limit})} ${n}`.trim()}function Z({api:e,quota:t,locale:n}){let{t:r}=h(),{toast:o}=A(),s=i(),c=v(),l=d(),[u,f]=(0,V.useState)(null),m=e.keys.map(e=>e.id),g=e=>o(k(e),`error`),_=t=>t&&l.mutate({vendor:e.vendor,order:t},{onError:g});return e.keys.length===0?null:(0,H.jsx)(`ul`,{className:`grid gap-1`,children:e.keys.map(i=>(0,H.jsxs)(`li`,{draggable:!0,onDragStart:e=>{f(i.id),e.stopPropagation()},onDragOver:e=>e.preventDefault(),onDrop:e=>{e.preventDefault(),e.stopPropagation(),u&&_(K(m,u,i.id)),f(null)},onDragEnd:()=>f(null),className:`flex items-center gap-2 rounded px-1 py-0.5 text-[12px]`,children:[(0,H.jsx)(F,{className:`size-3.5 shrink-0 cursor-grab text-[var(--text-muted)]`,"aria-hidden":!0}),(0,H.jsx)(`code`,{className:`font-mono`,children:i.masked}),i.resting&&(0,H.jsx)(p,{tone:`orange`,title:i.restUntil?w(i.restUntil,n):void 0,children:r(`tools.search.rest.${i.resting.replace(/ /g,`_`)}`)}),t?.[i.id]&&(0,H.jsx)(`span`,{className:`truncate text-[var(--text-muted)]`,children:X(t[i.id],r)}),(0,H.jsx)(`span`,{className:`flex-1`}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(M,{className:`size-3`}),"aria-label":r(`tools.search.moveUp`),disabled:i.id===m[0],onClick:()=>_(q(m,i.id,-1))}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(j,{className:`size-3`}),"aria-label":r(`tools.search.moveDown`),disabled:i.id===m[m.length-1],onClick:()=>_(q(m,i.id,1))}),(0,H.jsx)(a,{checked:i.enabled,label:`${i.masked}: ${r(`tools.search.enabled`)}`,onChange:t=>s.mutate({vendor:e.vendor,id:i.id,enabled:t},{onError:g})}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(R,{className:`size-3`}),"aria-label":r(`common.delete`),onClick:()=>c.mutate({vendor:e.vendor,id:i.id},{onError:g})})]},i.id))})}function Q(){let{t:e}=h(),t=T(),{save:r,pending:i}=W();if(!t.data)return(0,H.jsx)(y,{});let s=t.data.fetch;return(0,H.jsxs)(o,{title:e(`tools.fetch.title`),footer:e(`tools.fetch.footer`),children:[(0,H.jsx)(n,{label:e(`tools.fetch.chars`),detail:e(`tools.fetch.charsHint`),children:(0,H.jsx)(E,{className:`w-28`,label:e(`tools.fetch.chars`),min:1e3,step:1e3,value:s.maxChars,onChange:e=>e!==null&&r({fetch:{maxChars:e}})})}),(0,H.jsx)(n,{label:e(`tools.fetch.timeout`),detail:e(`tools.fetch.timeoutHint`),children:(0,H.jsx)(E,{className:`w-24`,label:e(`tools.fetch.timeout`),min:3,value:s.timeoutSeconds,onChange:e=>e!==null&&r({fetch:{timeoutSeconds:e}})})}),(0,H.jsx)(n,{label:e(`tools.fetch.bytes`),detail:e(`tools.fetch.bytesHint`),children:(0,H.jsx)(E,{className:`w-28`,label:e(`tools.fetch.bytes`),min:1,value:Math.round(s.maxBytes/1024/1024),onChange:e=>e!==null&&r({fetch:{maxBytes:e*1024*1024}})})}),(0,H.jsx)(n,{label:e(`tools.fetch.private`),detail:e(`tools.fetch.privateHint`),children:(0,H.jsx)(a,{checked:s.allowPrivate,disabled:i,label:e(`tools.fetch.private`),onChange:e=>r({fetch:{allowPrivate:e}})})})]})}function $(){let{t:e}=h(),t=T(),{save:r,pending:i}=W(),[a,s]=(0,V.useState)(``),[l,u]=(0,V.useState)(``),d=t.data?.image;return(0,V.useEffect)(()=>{s(d?.model??``),u(d?.size??``)},[d?.model,d?.size]),t.data?(0,H.jsxs)(o,{title:e(`tools.image.title`),footer:e(`tools.image.footer`),children:[(0,H.jsx)(n,{label:e(`tools.image.model`),detail:e(`tools.image.modelHint`),children:(0,H.jsx)(c,{className:`w-56`,label:e(`tools.image.model`),mono:!0,placeholder:`gpt-image-1`,value:a,onChange:e=>s(e.target.value)})}),(0,H.jsx)(n,{label:e(`tools.image.size`),detail:e(`tools.image.sizeHint`),children:(0,H.jsx)(c,{className:`w-40`,label:e(`tools.image.size`),mono:!0,placeholder:`1024x1024`,value:l,onChange:e=>u(e.target.value)})}),(0,H.jsx)(`div`,{className:`px-4 py-3`,children:(0,H.jsx)(x,{size:`sm`,disabled:i||a===d?.model&&l===d?.size,onClick:()=>r({image:{model:a,size:l}}),children:e(`common.save`)})})]}):(0,H.jsx)(y,{})}function ee(){let{t:e}=h(),{toast:t}=A(),r=C(),i=T();return(0,H.jsxs)(o,{title:e(`tools.list.title`),footer:e(`tools.list.footer`),children:[i.data&&(0,H.jsxs)(n,{label:e(`tools.list.endpoint`),detail:e(`tools.list.endpointHint`),children:[(0,H.jsx)(`code`,{className:`max-w-[22rem] truncate font-mono text-[12px]`,title:i.data.mcpEndpoint,children:i.data.mcpEndpoint}),(0,H.jsx)(x,{size:`sm`,variant:`plain`,icon:(0,H.jsx)(N,{className:`size-3.5`}),"aria-label":e(`mcp.gateway.copyEndpoint`),onClick:()=>void O.copy(i.data.mcpEndpoint).then(n=>n&&t(e(`mcp.gateway.copied`),`success`))})]}),r.data===void 0?(0,H.jsx)(`div`,{className:`px-4 py-3`,children:(0,H.jsx)(y,{})}):r.data.map(t=>(0,H.jsx)(n,{label:(0,H.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,H.jsx)(`span`,{className:`truncate font-mono`,children:t.name}),(0,H.jsx)(p,{children:t.source===`plugin`?e(`tools.list.plugin`):e(`tools.list.builtin`)}),!t.available&&(0,H.jsx)(p,{tone:`orange`,children:e(`tools.list.unavailable`)})]}),detail:t.available?t.description:t.name===`web_search`?e(`tools.reason.web_search`):t.name===`generate_image`?e(`tools.reason.generate_image`):t.reason},t.name))]})}function te(){let{t:e}=h();return(0,H.jsx)(B,{title:e(`nav.tools`),subtitle:e(`tools.subtitle`),children:(0,H.jsx)(U,{})})}export{te as ToolsPage};