wizards 0.2.54 → 0.2.56

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 (106) hide show
  1. package/README.md +2 -2
  2. package/apps/runtime/dist/cli/autostart.js +1 -1
  3. package/apps/runtime/dist/cli/machine.js +5 -48
  4. package/apps/runtime/dist/cli/report.js +1 -1
  5. package/apps/runtime/dist/docs/dev/index.md +4 -4
  6. package/apps/runtime/dist/docs/dev/plugins/connections.md +4 -3
  7. package/apps/runtime/dist/docs/dev/plugins/events.md +1 -0
  8. package/apps/runtime/dist/docs/dev/plugins/examples.md +10 -9
  9. package/apps/runtime/dist/docs/dev/plugins/index.md +4 -3
  10. package/apps/runtime/dist/docs/dev/plugins/layout.md +2 -1
  11. package/apps/runtime/dist/docs/dev/plugins/meta.json +0 -1
  12. package/apps/runtime/dist/docs/dev/plugins/quick-start.md +4 -3
  13. package/apps/runtime/dist/docs/dev/plugins/reference.md +36 -14
  14. package/apps/runtime/dist/docs/dev/plugins/reloading.md +5 -5
  15. package/apps/runtime/dist/docs/dev/plugins/routes.md +30 -6
  16. package/apps/runtime/dist/docs/dev/plugins/runners.md +15 -10
  17. package/apps/runtime/dist/docs/dev/plugins/server.md +16 -7
  18. package/apps/runtime/dist/docs/dev/plugins/shipping.md +4 -26
  19. package/apps/runtime/dist/docs/dev/plugins/space.md +66 -53
  20. package/apps/runtime/dist/docs/dev/plugins/starters.md +10 -7
  21. package/apps/runtime/dist/docs/dev/plugins/studio.md +33 -12
  22. package/apps/runtime/dist/docs/dev/plugins/styling.md +19 -9
  23. package/apps/runtime/dist/docs/dev/plugins/tables.md +6 -4
  24. package/apps/runtime/dist/docs/dev/plugins/tools.md +22 -12
  25. package/apps/runtime/dist/docs/dev/wizard-format.md +3 -2
  26. package/apps/runtime/dist/docs/user/ai-apps.md +3 -1
  27. package/apps/runtime/dist/docs/user/assistant.md +5 -3
  28. package/apps/runtime/dist/docs/user/build-a-wizard.md +14 -2
  29. package/apps/runtime/dist/docs/user/command-line.md +16 -14
  30. package/apps/runtime/dist/docs/user/connectors.md +17 -12
  31. package/apps/runtime/dist/docs/user/data.md +14 -9
  32. package/apps/runtime/dist/docs/user/first-start.md +13 -6
  33. package/apps/runtime/dist/docs/user/index.md +2 -1
  34. package/apps/runtime/dist/docs/user/install.md +19 -11
  35. package/apps/runtime/dist/docs/user/models.md +44 -22
  36. package/apps/runtime/dist/docs/user/plugins.md +9 -4
  37. package/apps/runtime/dist/docs/user/run.md +14 -9
  38. package/apps/runtime/dist/docs/user/server.md +7 -5
  39. package/apps/runtime/dist/docs/user/space.md +15 -8
  40. package/apps/runtime/dist/docs/user/steps.md +33 -13
  41. package/apps/runtime/dist/docs/user/test-and-share.md +41 -25
  42. package/apps/runtime/dist/docs/user/troubleshooting.md +15 -7
  43. package/apps/runtime/dist/docs/user/wordpress.md +59 -49
  44. package/apps/runtime/dist/engine/runner.js +40 -18
  45. package/apps/runtime/dist/env.js +6 -3
  46. package/apps/runtime/dist/harness/apple.js +36 -21
  47. package/apps/runtime/dist/harness/claude.js +1 -1
  48. package/apps/runtime/dist/harness/model.js +2 -2
  49. package/apps/runtime/dist/limits.js +7 -4
  50. package/apps/runtime/dist/mcp/handler.js +2 -1
  51. package/apps/runtime/dist/mcp/tools.js +24 -11
  52. package/apps/runtime/dist/media/conversation.js +6 -5
  53. package/apps/runtime/dist/model-errors.js +22 -1
  54. package/apps/runtime/dist/models.js +30 -7
  55. package/apps/runtime/dist/plugins/pro-keys.js +1 -1
  56. package/apps/runtime/dist/plugins/pro-state.js +1 -1
  57. package/apps/runtime/dist/plugins/pro.js +1 -1
  58. package/apps/runtime/dist/plugins/runs.js +14 -10
  59. package/apps/runtime/dist/render/browser-path.js +54 -0
  60. package/apps/runtime/dist/routes/runs.js +51 -31
  61. package/apps/runtime/dist/routes/studio.js +7 -3
  62. package/apps/runtime/dist/services/api.js +3 -1
  63. package/apps/runtime/dist/services/package-file.js +8 -8
  64. package/apps/runtime/dist/update.js +1 -1
  65. package/apps/web/dist/assets/AboutDialog-Bv7p9iGr.js +1 -0
  66. package/apps/web/dist/assets/{ChangelogDialog-Da3M36M6.js → ChangelogDialog-D4sBrhi-.js} +1 -1
  67. package/apps/web/dist/assets/{ChatView-BGpIFoML.js → ChatView-Bntm0u8V.js} +1 -1
  68. package/apps/web/dist/assets/{EditorPage-DH6SrKPQ.js → EditorPage-DaVeNzHU.js} +2 -2
  69. package/apps/web/dist/assets/{FlowPreview-Cy_oSpCG.js → FlowPreview-C0tTz51A.js} +1 -1
  70. package/apps/web/dist/assets/{Harness-0TcBTo1Z.js → Harness-De-PsLFA.js} +1 -1
  71. package/apps/web/dist/assets/{Marketplace-D1iet5FD.js → Marketplace-7Bdv7Gd5.js} +2 -2
  72. package/apps/web/dist/assets/{NewWizardPage-CsuU51QL.js → NewWizardPage-CV7jrSkz.js} +1 -1
  73. package/apps/web/dist/assets/{ProjectPage-DCPKr4sC.js → ProjectPage-CBCd24oM.js} +1 -1
  74. package/apps/web/dist/assets/{PublicRunner-B6Er82D3.js → PublicRunner-CVmkHSnC.js} +1 -1
  75. package/apps/web/dist/assets/{ReadOnly-DiOfNtVr.js → ReadOnly-zQecD9OB.js} +1 -1
  76. package/apps/web/dist/assets/{RunDrawer-BbyQVQLN.js → RunDrawer-CvzuYc0d.js} +1 -1
  77. package/apps/web/dist/assets/{RunnerView-DdEKXIDX.js → RunnerView-BtZp1FD6.js} +1 -1
  78. package/apps/web/dist/assets/SettingsPage--Zj2pTgf.js +1 -0
  79. package/apps/web/dist/assets/SetupPage-F_e8f1to.js +1 -0
  80. package/apps/web/dist/assets/{SharePage-Bxnu_cet.js → SharePage-DLivbYu6.js} +1 -1
  81. package/apps/web/dist/assets/{brand-CwLcF9JR.js → brand-DIKyySmf.js} +1 -1
  82. package/apps/web/dist/assets/changelog-CWualFcc.js +1 -0
  83. package/apps/web/dist/assets/{circle-alert-BEDKtkJy.js → circle-alert-B9b9Vb9k.js} +1 -1
  84. package/apps/web/dist/assets/{esm-D2JnXDyS.js → esm-BMtXxAe0.js} +1 -1
  85. package/apps/web/dist/assets/{index-Cl4LqF22.js → index-MlQy_Qoy.js} +4 -4
  86. package/apps/web/dist/assets/{lock-Ce2ofIWG.js → lock-BNvsUKTg.js} +1 -1
  87. package/apps/web/dist/assets/session-CSbo-pmx.js +1 -0
  88. package/apps/web/dist/assets/{settings-menu-BT8cRZym.js → settings-menu-JtMfy9en.js} +1 -1
  89. package/apps/web/dist/assets/{ui-mkL5nF_f.js → ui-FW7ypPI6.js} +1 -1
  90. package/apps/web/dist/assets/{upload-BfrqabpO.js → upload-MQ_24gSb.js} +1 -1
  91. package/apps/web/dist/assets/{volume-2-C3GeMqc-.js → volume-2-B1mj20eS.js} +1 -1
  92. package/apps/web/dist/index.html +6 -6
  93. package/apps/web/dist/install.sh +2 -2
  94. package/apps/web/dist/mcp/flow.html +1 -1
  95. package/modules/calls/dist/client.css +1 -1
  96. package/modules/sms/dist/client.css +1 -1
  97. package/modules/whatsapp/dist/client.css +1 -1
  98. package/node_modules/@engenty-wizards/shared/dist/run.d.ts +152 -2
  99. package/node_modules/@engenty-wizards/shared/dist/run.js +135 -1
  100. package/package.json +2 -2
  101. package/apps/runtime/dist/docs/dev/plugins/pro-modules.md +0 -59
  102. package/apps/web/dist/assets/AboutDialog-BXpMzzUl.js +0 -1
  103. package/apps/web/dist/assets/SettingsPage-D6KuKcBL.js +0 -1
  104. package/apps/web/dist/assets/SetupPage-DuD0AD0f.js +0 -1
  105. package/apps/web/dist/assets/changelog-Cu_CVR3H.js +0 -1
  106. package/apps/web/dist/assets/session-BuVghS-e.js +0 -1
@@ -1 +1 @@
1
- import{in as e}from"./ui-mkL5nF_f.js";var t={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};t.node;var n=e(t);export{n as t};
1
+ import{in as e}from"./ui-FW7ypPI6.js";var t={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};t.node;var n=e(t);export{n as t};
@@ -0,0 +1 @@
1
+ import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t}from"./jsx-runtime-BNakU3Ej.js";import{r as n}from"./logo-C4V2_3Ar.js";import{F as r,a as i,f as a,tt as o,u as s}from"./ui-FW7ypPI6.js";var c=e(t(),1);function l(e){return Object.fromEntries(r.filter(t=>e[t]?.startsWith(`apple:`)).map(e=>[e,``]))}function u(e){return e.split(/\s+/).map(e=>e[0]??``).join(``).slice(0,2).toUpperCase()}function d(){let e=g().data?.limits.projects;return e===null||(e??1)>1}function f(){return g().data?.limits.build??!0}function p(){return g().data?.limits.create??!0}function m(){let e=g().data;return!e||e.mode===`local`||e.tenant.role!==`member`}function h(e){return e.mode===`managed`?e.credits:e.models?.source===`account`?e.account?.credits??null:null}function g(){return n({queryKey:[`me`],queryFn:async()=>{try{return await i.get(`/api/studio/me`)}catch(e){if(e instanceof o&&e.status===401)return null;throw e}},staleTime:3e4})}function _(e=!0){return n({queryKey:[`projects`],queryFn:()=>i.get(`/api/studio/projects`),enabled:e})}var v=`wz.project`;function y(){try{return localStorage.getItem(v)}catch{return null}}var b=y(),x=new Set;function S(e){b=e;try{localStorage.setItem(v,e)}catch{}for(let e of x)e()}function C(){let e=_(),t=(0,c.useSyncExternalStore)(e=>(x.add(e),()=>x.delete(e)),()=>b),n=e.data??[];return{project:n.find(e=>e.id===t)??n[0]??null,projects:n,select:S,loading:e.isLoading}}function w(e,t){return n({queryKey:[`cloud`,e],queryFn:()=>i.get(`/api/studio/wizards/${e}/cloud`),enabled:t})}function T(e){return e instanceof o&&e.body?.code===`read_only`?e.message:null}async function E(){await fetch(a(`/api/auth/sign-out`),{method:`POST`,credentials:`include`,headers:{"content-type":`application/json`},body:`{}`}),window.location.href=`${s}/`}function D(e=window.location.pathname){window.location.href=a(`/api/auth/login?return=${encodeURIComponent(e)}`)}export{h as a,m as c,p as d,g as f,E as i,d as l,l as m,T as n,w as o,_ as p,D as r,C as s,u as t,f as u};
@@ -1 +1 @@
1
- import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t,t as n}from"./jsx-runtime-BNakU3Ej.js";import{Xt as r,Yt as i,Zt as a,nn as o,on as s,yt as c}from"./ui-mkL5nF_f.js";import{ft as l}from"./index-Cl4LqF22.js";var u=e(t(),1),d=l(),f=e(n(),1),p=(0,u.createContext)({slot:null,narrow:!1,setDetail:()=>void 0});function m(){return(0,u.useContext)(p)}function h({children:e}){let{slot:t}=m();return t?(0,d.createPortal)(e,t):null}function g(e){let{setDetail:t}=m();(0,u.useEffect)(()=>(t(e),()=>t(null)),[e,t])}var _=`(max-width: 767px)`;function v(e){let t=window.matchMedia(_);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)}function y(){return(0,u.useSyncExternalStore)(v,()=>window.matchMedia(_).matches)}function b(e){return e===`deeper`?`animate-step-deeper`:e===`back`&&`animate-step-back`}function x({title:e,open:t,onBack:n}){return(0,f.jsxs)(`div`,{className:`mb-2 flex h-9 min-w-0 items-center px-1`,children:[(0,f.jsx)(`div`,{className:c(`shrink-0 overflow-hidden transition-[width,margin,opacity] duration-200 ease-out`,t?`-ml-1.5 mr-0.5 w-8 opacity-100`:`w-0 opacity-0`),children:(0,f.jsx)(`button`,{type:`button`,onClick:n,"aria-hidden":!t,tabIndex:t?void 0:-1,"aria-label":e,className:`grid size-8 place-items-center rounded-lg text-ink-3 transition hover:bg-accent hover:text-ink`,children:(0,f.jsx)(o,{className:`size-4`})})}),t?(0,f.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 font-medium text-[0.875rem]`,children:[(0,f.jsx)(t.icon,{className:`size-4 shrink-0 text-ember-strong`}),(0,f.jsx)(`span`,{className:`truncate`,children:t.label})]}):(0,f.jsx)(`span`,{className:`truncate font-medium text-[0.875rem]`,children:e})]})}function S({entries:e,current:t,onPick:n}){return(0,f.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:e.map(e=>(0,f.jsx)(`li`,{children:(0,f.jsxs)(s,{to:e.to,onClick:r=>{e.id===t?.id&&(r.preventDefault(),n(e))},"aria-current":e.id===t?.id?`page`:void 0,className:c(`group flex items-center gap-2 rounded-lg px-2 py-1 text-[0.875rem] transition max-md:py-2`,e.id===t?.id?`bg-paper-2 font-medium text-ink`:`text-ink-2 hover:bg-accent hover:text-ink`),children:[(0,f.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,f.jsx)(e.icon,{className:`size-4 transition-transform duration-200 ease-out group-hover:scale-110`})}),(0,f.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.label}),(0,f.jsx)(i,{className:`size-4 text-ink-4 md:hidden`})]})},e.id))})}function C({label:e,onBack:t}){return(0,f.jsxs)(`button`,{type:`button`,onClick:t,className:`-ml-1 flex items-center gap-1 rounded-lg py-1.5 pr-3 pl-1 text-[0.8125rem] text-ink-3 transition hover:text-ink`,children:[(0,f.jsx)(r,{className:`size-4`}),e]})}function w(e){let t=(0,u.useRef)({level:e,direction:null});return e!==t.current.level&&(t.current={level:e,direction:e>t.current.level?`deeper`:`back`}),t.current.direction}function T({label:e,collapsible:t,open:n=!0,count:r,children:i}){let[o,s]=(0,u.useState)(n),l=`font-medium text-[0.6875rem] text-ink-4 uppercase tracking-[0.12em]`;return(0,f.jsxs)(`div`,{className:`mt-5 first:mt-0`,children:[t?(0,f.jsxs)(`button`,{type:`button`,onClick:()=>s(!o),"aria-expanded":o,className:c(`mb-1 flex w-full items-center gap-1 px-2 text-left hover:text-ink-2`,l),children:[(0,f.jsx)(`span`,{className:`flex-1`,children:e}),o?null:(0,f.jsx)(`span`,{className:`tabular-nums tracking-normal`,children:r}),(0,f.jsx)(a,{className:c(`size-3.5 transition-transform`,o?null:`-rotate-90`)})]}):(0,f.jsx)(`p`,{className:c(`mb-1 px-2`,l),children:e}),o?(0,f.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:i}):null]})}function E({icon:e,label:t,badge:n,tone:r,toneLabel:a,selected:o,disabled:s,onPick:l}){return(0,f.jsx)(`li`,{children:(0,f.jsxs)(`button`,{type:`button`,onClick:l,disabled:s,"aria-current":o?`page`:void 0,className:c(`group flex w-full items-center gap-2 rounded-lg px-2 py-1 text-left text-[0.875rem] transition max-md:py-2`,o?`bg-paper-2 font-medium text-ink`:`text-ink-2 hover:bg-accent hover:text-ink`,s&&`cursor-default opacity-50 hover:bg-transparent hover:text-ink-2`),children:[(0,f.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,f.jsx)(e,{className:c(`size-4 transition-transform duration-200 ease-out`,!s&&`group-hover:scale-110`,o?`text-ember-strong`:`text-ink-3`)})}),(0,f.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:t}),n,r?(0,f.jsx)(`span`,{role:`img`,title:a,"aria-label":a,className:c(`size-2 shrink-0 rounded-full`,r===`done`&&`bg-moss`,r===`credits`&&`bg-amber`,r===`on`&&`bg-ember`,r===`off`&&`ring-1 ring-ink-4 ring-inset`)}):null,s?null:(0,f.jsx)(i,{className:`size-4 shrink-0 text-ink-4 md:hidden`})]})})}export{E as a,b as c,m as d,w as f,T as i,g as l,x as n,p as o,S as r,h as s,C as t,y as u};
1
+ import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t,t as n}from"./jsx-runtime-BNakU3Ej.js";import{Xt as r,Yt as i,Zt as a,nn as o,on as s,yt as c}from"./ui-FW7ypPI6.js";import{ft as l}from"./index-MlQy_Qoy.js";var u=e(t(),1),d=l(),f=e(n(),1),p=(0,u.createContext)({slot:null,narrow:!1,setDetail:()=>void 0});function m(){return(0,u.useContext)(p)}function h({children:e}){let{slot:t}=m();return t?(0,d.createPortal)(e,t):null}function g(e){let{setDetail:t}=m();(0,u.useEffect)(()=>(t(e),()=>t(null)),[e,t])}var _=`(max-width: 767px)`;function v(e){let t=window.matchMedia(_);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)}function y(){return(0,u.useSyncExternalStore)(v,()=>window.matchMedia(_).matches)}function b(e){return e===`deeper`?`animate-step-deeper`:e===`back`&&`animate-step-back`}function x({title:e,open:t,onBack:n}){return(0,f.jsxs)(`div`,{className:`mb-2 flex h-9 min-w-0 items-center px-1`,children:[(0,f.jsx)(`div`,{className:c(`shrink-0 overflow-hidden transition-[width,margin,opacity] duration-200 ease-out`,t?`-ml-1.5 mr-0.5 w-8 opacity-100`:`w-0 opacity-0`),children:(0,f.jsx)(`button`,{type:`button`,onClick:n,"aria-hidden":!t,tabIndex:t?void 0:-1,"aria-label":e,className:`grid size-8 place-items-center rounded-lg text-ink-3 transition hover:bg-accent hover:text-ink`,children:(0,f.jsx)(o,{className:`size-4`})})}),t?(0,f.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 font-medium text-[0.875rem]`,children:[(0,f.jsx)(t.icon,{className:`size-4 shrink-0 text-ember-strong`}),(0,f.jsx)(`span`,{className:`truncate`,children:t.label})]}):(0,f.jsx)(`span`,{className:`truncate font-medium text-[0.875rem]`,children:e})]})}function S({entries:e,current:t,onPick:n}){return(0,f.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:e.map(e=>(0,f.jsx)(`li`,{children:(0,f.jsxs)(s,{to:e.to,onClick:r=>{e.id===t?.id&&(r.preventDefault(),n(e))},"aria-current":e.id===t?.id?`page`:void 0,className:c(`group flex items-center gap-2 rounded-lg px-2 py-1 text-[0.875rem] transition max-md:py-2`,e.id===t?.id?`bg-paper-2 font-medium text-ink`:`text-ink-2 hover:bg-accent hover:text-ink`),children:[(0,f.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,f.jsx)(e.icon,{className:`size-4 transition-transform duration-200 ease-out group-hover:scale-110`})}),(0,f.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.label}),(0,f.jsx)(i,{className:`size-4 text-ink-4 md:hidden`})]})},e.id))})}function C({label:e,onBack:t}){return(0,f.jsxs)(`button`,{type:`button`,onClick:t,className:`-ml-1 flex items-center gap-1 rounded-lg py-1.5 pr-3 pl-1 text-[0.8125rem] text-ink-3 transition hover:text-ink`,children:[(0,f.jsx)(r,{className:`size-4`}),e]})}function w(e){let t=(0,u.useRef)({level:e,direction:null});return e!==t.current.level&&(t.current={level:e,direction:e>t.current.level?`deeper`:`back`}),t.current.direction}function T({label:e,collapsible:t,open:n=!0,count:r,children:i}){let[o,s]=(0,u.useState)(n),l=`font-medium text-[0.6875rem] text-ink-4 uppercase tracking-[0.12em]`;return(0,f.jsxs)(`div`,{className:`mt-5 first:mt-0`,children:[t?(0,f.jsxs)(`button`,{type:`button`,onClick:()=>s(!o),"aria-expanded":o,className:c(`mb-1 flex w-full items-center gap-1 px-2 text-left hover:text-ink-2`,l),children:[(0,f.jsx)(`span`,{className:`flex-1`,children:e}),o?null:(0,f.jsx)(`span`,{className:`tabular-nums tracking-normal`,children:r}),(0,f.jsx)(a,{className:c(`size-3.5 transition-transform`,o?null:`-rotate-90`)})]}):(0,f.jsx)(`p`,{className:c(`mb-1 px-2`,l),children:e}),o?(0,f.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:i}):null]})}function E({icon:e,label:t,badge:n,tone:r,toneLabel:a,selected:o,disabled:s,onPick:l}){return(0,f.jsx)(`li`,{children:(0,f.jsxs)(`button`,{type:`button`,onClick:l,disabled:s,"aria-current":o?`page`:void 0,className:c(`group flex w-full items-center gap-2 rounded-lg px-2 py-1 text-left text-[0.875rem] transition max-md:py-2`,o?`bg-paper-2 font-medium text-ink`:`text-ink-2 hover:bg-accent hover:text-ink`,s&&`cursor-default opacity-50 hover:bg-transparent hover:text-ink-2`),children:[(0,f.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,f.jsx)(e,{className:c(`size-4 transition-transform duration-200 ease-out`,!s&&`group-hover:scale-110`,o?`text-ember-strong`:`text-ink-3`)})}),(0,f.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:t}),n,r?(0,f.jsx)(`span`,{role:`img`,title:a,"aria-label":a,className:c(`size-2 shrink-0 rounded-full`,r===`done`&&`bg-moss`,r===`credits`&&`bg-amber`,r===`on`&&`bg-ember`,r===`off`&&`ring-1 ring-ink-4 ring-inset`)}):null,s?null:(0,f.jsx)(i,{className:`size-4 shrink-0 text-ink-4 md:hidden`})]})})}export{E as a,b as c,m as d,w as f,T as i,g as l,x as n,p as o,S as r,h as s,C as t,y as u};