@engenty/wizards-runtime 0.9.2 → 0.9.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 (73) hide show
  1. package/apps/runtime/dist/docs/dev/integration/openui.md +6 -2
  2. package/apps/runtime/dist/docs/user/build-a-wizard.md +25 -19
  3. package/apps/runtime/dist/docs/user/test-and-share.md +9 -7
  4. package/apps/runtime/dist/engine/runner.js +7 -4
  5. package/apps/runtime/dist/routes/runs.js +26 -0
  6. package/apps/runtime/dist/routes/studio.js +9 -2
  7. package/apps/runtime/dist/services/brand.js +20 -0
  8. package/apps/runtime/dist/services/runners.js +12 -2
  9. package/apps/runtime/dist/services/runs.js +73 -1
  10. package/apps/runtime/dist/services/shipped-fonts.js +33 -0
  11. package/apps/web/dist/assets/AboutDialog-DsGqq2Es.js +1 -0
  12. package/apps/web/dist/assets/{ChangelogDialog-ClkjHGE_.js → ChangelogDialog-Hn7oDuyx.js} +1 -1
  13. package/apps/web/dist/assets/EditorPage-DsJqhoXy.js +4 -0
  14. package/apps/web/dist/assets/{FlowPreview-DZRkWedM.js → FlowPreview-DZ1XL_o1.js} +1 -1
  15. package/apps/web/dist/assets/{Harness-FiDeF3LX.js → Harness-BBpl_EUW.js} +2 -2
  16. package/apps/web/dist/assets/Marketplace-BF0Rx0VR.js +2 -0
  17. package/apps/web/dist/assets/NewWizardChannels-WaAOvmzw.js +1 -0
  18. package/apps/web/dist/assets/NewWizardPage-kpm-UyQC.js +7 -0
  19. package/apps/web/dist/assets/OnboardingPage-Birm-hM5.js +1 -0
  20. package/apps/web/dist/assets/ProjectPage-CqtpxOq5.js +1 -0
  21. package/apps/web/dist/assets/PublicRunner-CXTHGYHv.js +1 -0
  22. package/apps/web/dist/assets/{ReadOnly-I-Lm7a8y.js → ReadOnly-CcW91P4l.js} +1 -1
  23. package/apps/web/dist/assets/RunDrawer-ByvmBv6e.js +4 -0
  24. package/apps/web/dist/assets/{RunnerView-DeDApA-9.js → RunnerView-DcduYZly.js} +1 -1
  25. package/apps/web/dist/assets/SettingsPage-Q2CUb7kK.js +2 -0
  26. package/apps/web/dist/assets/SetupPage-C7mzUoiR.js +1 -0
  27. package/apps/web/dist/assets/SharePage-CC7V2TYJ.js +1 -0
  28. package/apps/web/dist/assets/changelog-7DN_qWR2.js +1 -0
  29. package/apps/web/dist/assets/coins-RUupcqZx.js +1 -0
  30. package/apps/web/dist/assets/esm-BdxDT9Km.js +7 -0
  31. package/apps/web/dist/assets/index-myC3mJie.css +1 -0
  32. package/apps/web/dist/assets/index-qnpoZzuw.js +14 -0
  33. package/apps/web/dist/assets/logo-CGNoptDg.js +1 -0
  34. package/apps/web/dist/assets/media-Cej-H610.js +1 -0
  35. package/apps/web/dist/assets/oss-credits-D7izqI_0.js +1 -0
  36. package/apps/web/dist/assets/{phone-BprN_SDS.js → phone-ChnpShTU.js} +1 -1
  37. package/apps/web/dist/assets/react-dom-hf6EcyAr.js +1 -0
  38. package/apps/web/dist/assets/session-DekDyd9S.js +2 -0
  39. package/apps/web/dist/assets/settings-menu-CLw_oucZ.js +1 -0
  40. package/apps/web/dist/assets/theme-DjpqxoRe.js +11 -0
  41. package/apps/web/dist/assets/ui-DRYauuxF.js +137 -0
  42. package/apps/web/dist/assets/{upload-Cvztyjuj.js → upload-0sFU9K8-.js} +1 -1
  43. package/apps/web/dist/assets/useMutation-1jFwXbI6.js +1 -0
  44. package/apps/web/dist/assets/volume-2-C51sO2X0.js +1 -0
  45. package/apps/web/dist/assets/{wrench-CWT9IGKq.js → wrench-DdT-nErU.js} +1 -1
  46. package/apps/web/dist/index.html +11 -3
  47. package/apps/web/dist/mcp/flow.html +54 -54
  48. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +12 -0
  49. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +12 -0
  50. package/node_modules/@engenty/wizards-shared/dist/theme.d.ts +7 -0
  51. package/node_modules/@engenty/wizards-shared/dist/theme.js +11 -0
  52. package/package.json +16 -3
  53. package/plugin/.claude-plugin/plugin.json +1 -1
  54. package/plugin/plugin.json +1 -1
  55. package/apps/web/dist/assets/AboutDialog-BUdEn9X_.js +0 -1
  56. package/apps/web/dist/assets/EditorPage-j5HjqTMV.js +0 -4
  57. package/apps/web/dist/assets/NewWizardChannels-DeJP5h5I.js +0 -1
  58. package/apps/web/dist/assets/NewWizardPage-CIS3qNUz.js +0 -7
  59. package/apps/web/dist/assets/OnboardingPage-CoTYSubc.js +0 -1
  60. package/apps/web/dist/assets/ProjectPage-XVhe87S4.js +0 -1
  61. package/apps/web/dist/assets/PublicRunner-Bc-3e7UU.js +0 -1
  62. package/apps/web/dist/assets/RunDrawer-DXqyxTsm.js +0 -4
  63. package/apps/web/dist/assets/SettingsPage-ChpDzJVn.js +0 -2
  64. package/apps/web/dist/assets/SetupPage-E5JoQMBM.js +0 -1
  65. package/apps/web/dist/assets/SharePage-DW1b2g9t.js +0 -1
  66. package/apps/web/dist/assets/changelog-DuSV2HiU.js +0 -1
  67. package/apps/web/dist/assets/esm-yMT-rSPa.js +0 -7
  68. package/apps/web/dist/assets/index-D9oqYYa8.css +0 -1
  69. package/apps/web/dist/assets/index-DfHH4icT.js +0 -14
  70. package/apps/web/dist/assets/oss-credits-6A3pxilr.js +0 -1
  71. package/apps/web/dist/assets/settings-menu-CVl54phq.js +0 -1
  72. package/apps/web/dist/assets/theme-DZZXa238.js +0 -11
  73. package/apps/web/dist/assets/ui-kIzOrA_W.js +0 -137
@@ -63,6 +63,18 @@ export declare const FEATURES: {
63
63
  readonly label: "Typography in Info & brand";
64
64
  readonly hint: "The brand's fonts, their licences and a type scale.";
65
65
  };
66
+ readonly channelVoice: {
67
+ readonly kind: "release";
68
+ readonly default: false;
69
+ readonly label: "Live voice";
70
+ readonly hint: "Wizards run as a spoken conversation in the browser: offered when building and sharing.";
71
+ };
72
+ readonly channelVideo: {
73
+ readonly kind: "release";
74
+ readonly default: false;
75
+ readonly label: "Video call";
76
+ readonly hint: "Wizards run as a video call in the browser: offered when building and sharing.";
77
+ };
66
78
  readonly goose: {
67
79
  readonly kind: "release";
68
80
  readonly default: false;
@@ -55,6 +55,18 @@ export const FEATURES = {
55
55
  label: "Typography in Info & brand",
56
56
  hint: "The brand's fonts, their licences and a type scale.",
57
57
  },
58
+ channelVoice: {
59
+ kind: "release",
60
+ default: false,
61
+ label: "Live voice",
62
+ hint: "Wizards run as a spoken conversation in the browser: offered when building and sharing.",
63
+ },
64
+ channelVideo: {
65
+ kind: "release",
66
+ default: false,
67
+ label: "Video call",
68
+ hint: "Wizards run as a video call in the browser: offered when building and sharing.",
69
+ },
58
70
  goose: {
59
71
  kind: "release",
60
72
  default: false,
@@ -153,6 +153,13 @@ export declare function themedLook(brand: RunTheme, theme: Theme | BuiltInTheme
153
153
  export declare const serifFamily: (family: string) => boolean;
154
154
  /** The shipped font that shows where a brand font does not load: one of its kind. */
155
155
  export declare const shippedLike: (family: string) => ShippedFont;
156
+ /** A shipped font's name in its package and its files: "Bricolage Grotesque" → bricolage-grotesque. */
157
+ export declare const shippedFontSlug: (family: ShippedFont) => string;
158
+ /**
159
+ * Where the runtime serves a shipped font's stylesheet, for pages that are not its own (a host's
160
+ * OpenUI chat); null for a family that is not one of ours. Its files sit next to it.
161
+ */
162
+ export declare function shippedFontStylesheet(family: string): string | null;
156
163
  /**
157
164
  * A family as CSS takes it, with a fallback of its kind while it loads or where it is missing. A
158
165
  * brand font with a source (`faces`) names the shipped font of its kind next: it shows if the
@@ -242,6 +242,17 @@ const SERIFS = /serif|fraunces|playfair|lora|garamond|antiqua|baskerville|caslon
242
242
  export const serifFamily = (family) => SERIFS.test(family) && !/sans/i.test(family);
243
243
  /** The shipped font that shows where a brand font does not load: one of its kind. */
244
244
  export const shippedLike = (family) => serifFamily(family) ? "Lora" : "Inter";
245
+ /** A shipped font's name in its package and its files: "Bricolage Grotesque" → bricolage-grotesque. */
246
+ export const shippedFontSlug = (family) => family.toLowerCase().replace(/ /g, "-");
247
+ /**
248
+ * Where the runtime serves a shipped font's stylesheet, for pages that are not its own (a host's
249
+ * OpenUI chat); null for a family that is not one of ours. Its files sit next to it.
250
+ */
251
+ export function shippedFontStylesheet(family) {
252
+ return SHIPPED_FONTS.includes(family)
253
+ ? `/api/public/fonts/shipped/${shippedFontSlug(family)}.css`
254
+ : null;
255
+ }
245
256
  /**
246
257
  * A family as CSS takes it, with a fallback of its kind while it loads or where it is missing. A
247
258
  * brand font with a source (`faces`) names the shipped font of its kind next: it shows if the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engenty/wizards-runtime",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Make a wish. Get your wizard. It guides you step by step. Let AI do the work. Runs on your machine, on the AI subscription you already have. The runtime, which `npx wizards` installs.",
5
5
  "license": "FSL-1.1-MIT AND CC-BY-4.0",
6
6
  "homepage": "https://engenty.ai",
@@ -35,6 +35,19 @@
35
35
  "@engenty/wizards": "0.1.0",
36
36
  "@engenty/wizards-shared": "0.1.0",
37
37
  "@executor-js/plugin-openapi": "1.6.10",
38
+ "@fontsource/bricolage-grotesque": "5.3.0",
39
+ "@fontsource/caveat": "5.3.0",
40
+ "@fontsource/creepster": "5.3.0",
41
+ "@fontsource/dm-sans": "5.3.0",
42
+ "@fontsource/figtree": "5.3.0",
43
+ "@fontsource/fraunces": "5.3.0",
44
+ "@fontsource/fredoka": "5.3.0",
45
+ "@fontsource/inter": "5.3.0",
46
+ "@fontsource/lora": "5.3.0",
47
+ "@fontsource/nosifer": "5.3.0",
48
+ "@fontsource/nunito": "5.3.0",
49
+ "@fontsource/playfair-display": "5.3.0",
50
+ "@fontsource/young-serif": "5.3.0",
38
51
  "@hono/node-server": "2.1.3",
39
52
  "@libsql/client": "0.18.0",
40
53
  "@lydell/node-pty": "1.1.0",
@@ -72,7 +85,7 @@
72
85
  "zod": "4.6.5"
73
86
  },
74
87
  "bundleDependencies": [
75
- "@engenty/wizards-shared",
76
- "@engenty/wizards"
88
+ "@engenty/wizards",
89
+ "@engenty/wizards-shared"
77
90
  ]
78
91
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wizards",
3
3
  "displayName": "engenty wizards",
4
- "version": "0.9.2",
4
+ "version": "0.9.3",
5
5
  "description": "Build page-by-page AI wizards that people open on a shared link — designed, tested and published from Claude Code — run your published ones in the chat, and keep them in a pane beside it.",
6
6
  "author": {
7
7
  "name": "engenty"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "engenty-wizards",
4
- "version": "0.9.2",
4
+ "version": "0.9.3",
5
5
  "description": "Build page-by-page AI wizards that people open on a shared link, test and publish them from the chat, and run your published ones here.",
6
6
  "author": {
7
7
  "name": "engenty",
@@ -1 +0,0 @@
1
- import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t,t as n}from"./jsx-runtime-BNakU3Ej.js";import{Bt as r,Gt as i,Jt as a,Lt as o,Rt as s,Tr as c,Xt as l,er as u,jr as d,rn as f,zt as p}from"./ui-kIzOrA_W.js";import{t as m}from"./preload-helper-CNEI7N0N.js";import{Rt as h,dt as g,ft as _,tt as v}from"./index-DfHH4icT.js";import{c as y,f as b}from"./settings-menu-CVl54phq.js";import{ReleaseNotes as x,loadReleases as S,releaseDate as C,releaseLabel as w}from"./ChangelogDialog-ClkjHGE_.js";var T=e(t(),1),E=[{name:`engenty wizards`,description:`credit.engenty-wizards`,homepage:`https://github.com/engenty/wizards`,license:`FSL-1.1-MIT`},{name:`engenty`,description:`credit.engenty`,homepage:`https://github.com/engenty/engenty`,license:`FSL-1.1-MIT`}],D=[{name:`Mastra`,description:`credit.mastra`,homepage:`https://github.com/mastra-ai/mastra`,license:`Apache-2.0`},{name:`AI SDK`,description:`credit.ai-sdk`,homepage:`https://github.com/vercel/ai`,license:`Apache-2.0`},{name:`Model Context Protocol`,description:`credit.model-context-protocol`,homepage:`https://github.com/modelcontextprotocol/typescript-sdk`,license:`MIT`},{name:`Hono`,description:`credit.hono`,homepage:`https://github.com/honojs/hono`,license:`MIT`},{name:`Drizzle ORM`,description:`credit.drizzle-orm`,homepage:`https://github.com/drizzle-team/drizzle-orm`,license:`Apache-2.0`},{name:`libSQL`,description:`credit.libsql`,homepage:`https://github.com/tursodatabase/libsql`,license:`MIT`},{name:`Playwright`,description:`credit.playwright`,homepage:`https://github.com/microsoft/playwright`,license:`Apache-2.0`},{name:`React`,description:`credit.react`,homepage:`https://github.com/facebook/react`,license:`MIT`},{name:`Vite`,description:`credit.vite`,homepage:`https://github.com/vitejs/vite`,license:`MIT`},{name:`Tailwind CSS`,description:`credit.tailwind-css`,homepage:`https://github.com/tailwindlabs/tailwindcss`,license:`MIT`},{name:`React Flow`,description:`credit.react-flow`,homepage:`https://github.com/xyflow/xyflow`,license:`MIT`},{name:`TanStack Query`,description:`credit.tanstack-query`,homepage:`https://github.com/TanStack/query`,license:`MIT`},{name:`xterm.js`,description:`credit.xterm-js`,homepage:`https://github.com/xtermjs/xterm.js`,license:`MIT`},{name:`Lucide`,description:`credit.lucide`,homepage:`https://github.com/lucide-icons/lucide`,license:`ISC`},{name:`Geist & Geist Mono`,description:`credit.geist-geist-mono`,homepage:`https://github.com/vercel/geist-font`,license:`OFL-1.1`},{name:`Space Grotesk`,description:`credit.space-grotesk`,homepage:`https://github.com/floriankarsten/space-grotesk`,license:`OFL-1.1`},{name:`git-cliff`,description:`credit.git-cliff`,homepage:`https://github.com/orhun/git-cliff`,license:`MIT OR Apache-2.0`}],O=e(n(),1),k=(e,...t)=>t.some(t=>t?.toLowerCase().includes(e));function A({name:e,homepage:t,version:n,license:r,description:i}){return(0,O.jsxs)(`li`,{className:`py-2.5`,children:[(0,O.jsxs)(`div`,{className:`flex flex-wrap items-baseline gap-x-2.5 gap-y-0.5`,children:[t?(0,O.jsxs)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-1 font-medium text-[0.875rem] text-ink underline-offset-4 hover:underline`,children:[e,(0,O.jsx)(c,{"aria-hidden":!0,className:`size-3 text-ink-4`})]}):(0,O.jsx)(`span`,{className:`font-medium text-[0.875rem] text-ink`,children:e}),n?(0,O.jsx)(`span`,{className:`text-[0.75rem] text-ink-3 tabular-nums`,children:n}):null,(0,O.jsx)(`span`,{className:`text-[0.75rem] text-ink-3`,children:r})]}),i?(0,O.jsx)(`p`,{className:`mt-0.5 text-[0.8125rem] text-ink-3`,children:i}):null]})}function j({title:e,hint:t,children:n}){return(0,O.jsxs)(`section`,{className:`mt-6`,children:[(0,O.jsx)(`h3`,{className:`border-border-soft border-b pb-2 font-display font-semibold text-[1rem]`,children:e}),t?(0,O.jsx)(`p`,{className:`mt-2 text-[0.8125rem] text-ink-3`,children:t}):null,n]})}function M({credits:e}){return(0,O.jsx)(`ul`,{className:`divide-y divide-border-soft`,children:e.map(e=>(0,O.jsx)(A,{name:e.name,homepage:e.homepage,license:e.license,description:f(e.description)},e.name))})}function N({label:e,packages:t}){return(0,O.jsxs)(`div`,{className:`mt-4`,children:[(0,O.jsx)(`h4`,{className:`font-medium text-[0.75rem] text-ink-3 tracking-wide`,children:e}),(0,O.jsx)(`ul`,{className:`divide-y divide-border-soft`,children:t.map(e=>(0,O.jsx)(A,{...e},e.name))})]})}function P({active:e}){let[t,n]=(0,T.useState)(null),[a,o]=(0,T.useState)(``);(0,T.useEffect)(()=>{if(!e||t)return;let r=!1;return m(()=>import(`./oss-credits-6A3pxilr.js`).then(e=>{r||n(e.default)}),[]),()=>{r=!0}},[e,t]),(0,T.useEffect)(()=>{e||o(``)},[e]);let c=a.trim().toLowerCase(),l=e=>c?e.filter(e=>k(c,e.name,e.license,f(e.description))):e,u=e=>c?e.filter(e=>k(c,e.name,e.license,e.version)):e,d=l(E),p=l(D),h=t?[{id:`shared`,label:f(`about.creditsShared`),packages:u(t.shared)},...t.groups.map(e=>({id:e.id,label:e.label,packages:u(e.packages)}))].filter(e=>e.packages.length>0):[],g=d.length===0&&p.length===0&&h.length===0;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`p`,{className:`mb-4 text-[0.875rem] text-ink-3`,children:f(`about.creditsHint`)}),(0,O.jsx)(r,{type:`search`,value:a,placeholder:f(`about.search`),onChange:e=>o(e.target.value)}),d.length>0?(0,O.jsx)(j,{title:f(`about.creditsProduct`),children:(0,O.jsx)(M,{credits:d})}):null,p.length>0?(0,O.jsx)(j,{title:f(`about.creditsBuiltWith`),children:(0,O.jsx)(M,{credits:p})}):null,t===null?(0,O.jsx)(`div`,{className:`flex justify-center py-10 text-ink-3`,children:(0,O.jsx)(i,{})}):h.length>0?(0,O.jsx)(j,{title:f(`about.creditsDeps`),hint:c?void 0:f(`about.creditsDepsHint`),children:h.map(e=>(0,O.jsx)(N,{label:e.label,packages:e.packages},e.id))}):null,t!==null&&g?(0,O.jsx)(s,{children:f(`about.noMatches`)}):null]})}var F=[`new`,`earlier`,`credits`],I=e=>f(e===`new`?`about.tab.new`:e===`earlier`?`about.tab.earlier`:`about.credits`),L=e=>e===1?f(`about.change`):f(`about.changes`,{n:e});function R({me:e,active:t,initialTab:n=`new`}){let r=e?.mode===`local`,{data:o,latest:s}=g(r&&t),[c,u]=(0,T.useState)(null),[p,m]=(0,T.useState)(n);(0,T.useEffect)(()=>m(n),[n]);let E=b(F.indexOf(p)),D=o?.newer&&s?s:_;(0,T.useEffect)(()=>{if(!t)return;let e=!1;return u(null),S(D===`0.9.2`?void 0:D).then(t=>{e||u(t)}),()=>{e=!0}},[t,D]);let k=c?.find(e=>e.version===`v${D}`)??c?.[0]??null,A=c?.filter(e=>e!==k)??[],j=r?o?.kind??null:`cloud`;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(`div`,{className:`flex flex-col items-center pt-4 text-center`,children:[(0,O.jsx)(h,{size:96}),(0,O.jsxs)(`div`,{className:`mt-4 font-display font-semibold text-[1.5rem] tracking-tight`,children:[`engenty`,(0,O.jsx)(`span`,{className:`text-ember`,children:`.`}),(0,O.jsx)(`span`,{className:`ml-1.5 font-normal text-ink-3`,children:`wizards`})]}),(0,O.jsxs)(`div`,{className:`mt-1 text-[0.9375rem] text-ink-3 tabular-nums`,children:[f(`about.version`,{v:_}),j?` · ${f(`about.kind.${j}`)}`:``]})]}),r?(0,O.jsx)(`div`,{className:`mt-5`,children:(0,O.jsx)(v,{enabled:t})}):null,(0,O.jsx)(`div`,{className:`mt-6 flex justify-center`,children:(0,O.jsx)(a,{value:p,onChange:m,options:F.map(e=>({id:e,label:I(e)})),label:f(`about.title`)})}),(0,O.jsxs)(`div`,{className:l(`mt-5`,y(E)),children:[p===`new`?c===null?(0,O.jsx)(`div`,{className:`flex justify-center py-6 text-ink-3`,children:(0,O.jsx)(i,{})}):k?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(`h3`,{className:`flex items-baseline gap-3 border-border-soft border-b pb-2 font-display font-semibold text-[1rem]`,children:[w(k),(0,O.jsx)(`span`,{className:`font-normal font-sans text-[0.8125rem] text-ink-3 tabular-nums`,children:C(k)})]}),(0,O.jsx)(`div`,{className:`mt-3`,children:(0,O.jsx)(x,{release:k})})]}):(0,O.jsx)(`p`,{className:`text-[0.875rem] text-ink-3`,children:f(`about.changelogEmpty`)}):null,p===`earlier`?(0,O.jsx)(`div`,{className:`flex flex-col divide-y divide-border-soft`,children:A.map(e=>(0,O.jsxs)(`details`,{className:`group/r py-2`,children:[(0,O.jsxs)(`summary`,{className:`flex cursor-pointer list-none items-baseline gap-3 text-[0.875rem] [&::-webkit-details-marker]:hidden`,children:[(0,O.jsx)(d,{className:`size-3.5 shrink-0 self-center text-ink-4 transition group-open/r:rotate-90`}),(0,O.jsx)(`span`,{className:`font-medium text-ink tabular-nums`,children:w(e)}),(0,O.jsx)(`span`,{className:`text-[0.8125rem] text-ink-3 tabular-nums`,children:C(e)}),(0,O.jsx)(`span`,{className:`ml-auto text-[0.8125rem] text-ink-4`,children:L(e.commits.length)})]}),(0,O.jsx)(`div`,{className:`mt-2 pl-6`,children:(0,O.jsx)(x,{release:e})})]},e.version??`unreleased`))}):null,p===`credits`?(0,O.jsx)(P,{active:!0}):null]},p)]})}function z({open:e,onClose:t,me:n}){return(0,O.jsxs)(o,{open:e,onClose:t,wide:!0,height:`tall`,children:[(0,O.jsx)(`div`,{className:`-mt-2 -mr-2 sticky top-0 z-10 flex h-0 justify-end`,children:(0,O.jsx)(p,{label:f(`common.close`),onClick:t,children:(0,O.jsx)(u,{className:`size-4`})})}),(0,O.jsx)(R,{me:n,active:e})]})}export{z as AboutDialog,R as AboutPanel};