@engenty/wizards-runtime 0.11.12 → 0.12.0

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 (76) hide show
  1. package/apps/runtime/dist/app.js +2 -0
  2. package/apps/runtime/dist/auth/index.js +14 -2
  3. package/apps/runtime/dist/cli/account.js +1 -1
  4. package/apps/runtime/dist/cli/features.js +45 -2
  5. package/apps/runtime/dist/docs/dev/plugins/reference.md +3 -3
  6. package/apps/runtime/dist/docs/dev/plugins/studio.md +1 -1
  7. package/apps/runtime/dist/docs/user-guide/models.md +22 -2
  8. package/apps/runtime/dist/docs/user-guide/server.md +15 -2
  9. package/apps/runtime/dist/features.js +9 -0
  10. package/apps/runtime/dist/index.js +7 -0
  11. package/apps/runtime/dist/local-models.js +192 -0
  12. package/apps/runtime/dist/models.js +250 -75
  13. package/apps/runtime/dist/plugins/install.js +120 -0
  14. package/apps/runtime/dist/plugins/loader.js +33 -3
  15. package/apps/runtime/dist/plugins/pro.js +9 -9
  16. package/apps/runtime/dist/prompts/tools.md +1 -1
  17. package/apps/runtime/dist/routes/plugins.js +110 -2
  18. package/apps/runtime/dist/routes/runtime-settings.js +108 -0
  19. package/apps/runtime/dist/routes/studio.js +64 -2
  20. package/apps/runtime/dist/services/project-files.js +11 -1
  21. package/apps/runtime/dist/services/project-index.js +47 -4
  22. package/apps/runtime/dist/texts.js +4 -0
  23. package/apps/runtime/dist/update.js +10 -2
  24. package/apps/web/dist/assets/AboutDialog-BOJjBIYk.js +1 -0
  25. package/apps/web/dist/assets/{ChangelogDialog-Dc66LqBg.js → ChangelogDialog-I9DEn_ra.js} +1 -1
  26. package/apps/web/dist/assets/{CodeEditor-BijLsoJX.js → CodeEditor-BgUofYLQ.js} +1 -1
  27. package/apps/web/dist/assets/EditorPage-DEOxHFXn.js +3 -0
  28. package/apps/web/dist/assets/{FlowPreview-Wjt28MdG.js → FlowPreview-C6DeATyk.js} +1 -1
  29. package/apps/web/dist/assets/{Marketplace-CpjRqTvn.js → Marketplace-Dt7ktvc3.js} +2 -2
  30. package/apps/web/dist/assets/{NewWizardChannels-g3CJzwr5.js → NewWizardChannels-BrVFc6PV.js} +1 -1
  31. package/apps/web/dist/assets/{NewWizardPage-DGHwvXLf.js → NewWizardPage-Dl8sMR2e.js} +1 -1
  32. package/apps/web/dist/assets/OnboardingPage-BN5IfLGL.js +1 -0
  33. package/apps/web/dist/assets/{PreviewPane-BgIEsVjy.js → PreviewPane-BDzDuTz1.js} +5 -5
  34. package/apps/web/dist/assets/ProjectPage-BqkkyEpP.js +1 -0
  35. package/apps/web/dist/assets/PublicRunner-bAakEGwv.js +1 -0
  36. package/apps/web/dist/assets/{ReadOnly-C3SYrBNk.js → ReadOnly-MBVPGEhw.js} +1 -1
  37. package/apps/web/dist/assets/SettingsPage-DDe1BC-3.js +2 -0
  38. package/apps/web/dist/assets/SetupPage-CmTC9K8_.js +1 -0
  39. package/apps/web/dist/assets/{SharePage-BDeYhYRB.js → SharePage-D9_IxO3M.js} +1 -1
  40. package/apps/web/dist/assets/changelog-iTu1De5h.js +1 -0
  41. package/apps/web/dist/assets/i18n-7CvqRUdn.js +55 -0
  42. package/apps/web/dist/assets/index-CNwXyMzH.js +49 -0
  43. package/apps/web/dist/assets/index-Dxwbli0m.css +1 -0
  44. package/apps/web/dist/assets/{wrench-Dr19y-10.js → lock-D1093O6-.js} +1 -1
  45. package/apps/web/dist/assets/{phone-JGS60FQU.js → phone-YeDiW-kN.js} +1 -1
  46. package/apps/web/dist/assets/{runners-CwTP03YR.js → runners-DP0vYvTF.js} +1 -1
  47. package/apps/web/dist/assets/session-Bio3Vaq1.js +2 -0
  48. package/apps/web/dist/assets/{theme-DftQJmEW.js → theme-AlaEfdLQ.js} +2 -2
  49. package/apps/web/dist/assets/{ui-Bhp_a_44.js → ui-CU-cIuyK.js} +2 -2
  50. package/apps/web/dist/assets/{upload-DPLDQsRT.js → upload-DbWtEr1f.js} +1 -1
  51. package/apps/web/dist/assets/{useMutation-Cmn8b7tT.js → useMutation-erJIov3t.js} +1 -1
  52. package/apps/web/dist/assets/{volume-2-DGqbhyPO.js → volume-2-V1P9DYWO.js} +1 -1
  53. package/apps/web/dist/index.html +8 -8
  54. package/apps/web/dist/manifest.webmanifest +1 -1
  55. package/apps/web/dist/mcp/flow.html +25 -25
  56. package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +1 -1
  57. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +6 -0
  58. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +6 -0
  59. package/package.json +1 -1
  60. package/plugin/.claude-plugin/plugin.json +1 -1
  61. package/plugin/plugin.json +1 -1
  62. package/apps/web/dist/assets/AboutDialog-DKGBCS3o.js +0 -1
  63. package/apps/web/dist/assets/EditorPage-CWtOGKs7.js +0 -3
  64. package/apps/web/dist/assets/Harness-BrP-ENHg.css +0 -1
  65. package/apps/web/dist/assets/Harness-CdmCoeEZ.js +0 -16
  66. package/apps/web/dist/assets/OnboardingPage-CoCBYKvL.js +0 -1
  67. package/apps/web/dist/assets/ProjectPage-Cmhm9qh1.js +0 -1
  68. package/apps/web/dist/assets/PublicRunner-C7i0QdlT.js +0 -1
  69. package/apps/web/dist/assets/SettingsPage-Ctul7RLy.js +0 -2
  70. package/apps/web/dist/assets/SetupPage-CuuQVDH2.js +0 -1
  71. package/apps/web/dist/assets/changelog-BXyvVCpB.js +0 -1
  72. package/apps/web/dist/assets/i18n-BYeH2Dmi.js +0 -55
  73. package/apps/web/dist/assets/index-BYZBN0xx.css +0 -1
  74. package/apps/web/dist/assets/index-C0yASttP.js +0 -34
  75. package/apps/web/dist/assets/session-CngLvd02.js +0 -2
  76. package/apps/web/dist/assets/settings-menu-C0yo5q3t.js +0 -1
@@ -27,7 +27,7 @@ export interface StudioNavEntry {
27
27
  icon: Icon;
28
28
  }
29
29
  export interface StudioSettingsSection {
30
- /** Its address is `/settings/<id>`. */
30
+ /** It stands one level down in Settings › Plugins: `/settings/plugins?show=<id>`. */
31
31
  id: string;
32
32
  label: () => string;
33
33
  icon: Icon;
@@ -105,6 +105,12 @@ export declare const FEATURES: {
105
105
  readonly label: "WordPress plugin";
106
106
  readonly hint: "The plugin for WordPress sites, and a wizard as a package for one: offered in the share dialog and under Settings → Integrate.";
107
107
  };
108
+ readonly plugins: {
109
+ readonly kind: "release";
110
+ readonly default: false;
111
+ readonly label: "Plugins in the settings";
112
+ readonly hint: "Settings › Plugins, also before any plugin is installed. Installing a plugin turns it on.";
113
+ };
108
114
  readonly goose: {
109
115
  readonly kind: "release";
110
116
  readonly default: false;
@@ -97,6 +97,12 @@ export const FEATURES = {
97
97
  label: "WordPress plugin",
98
98
  hint: "The plugin for WordPress sites, and a wizard as a package for one: offered in the share dialog and under Settings → Integrate.",
99
99
  },
100
+ plugins: {
101
+ kind: "release",
102
+ default: false,
103
+ label: "Plugins in the settings",
104
+ hint: "Settings › Plugins, also before any plugin is installed. Installing a plugin turns it on.",
105
+ },
100
106
  goose: {
101
107
  kind: "release",
102
108
  default: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engenty/wizards-runtime",
3
- "version": "0.11.12",
3
+ "version": "0.12.0",
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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wizards",
3
3
  "displayName": "engenty wizards",
4
- "version": "0.11.12",
4
+ "version": "0.12.0",
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.11.12",
4
+ "version": "0.12.0",
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{Bn as r,Jt as i,Nn as a,Xt as o,Yt as s,in as c,on as l,qt as u,sn as d,tn as f}from"./ui-Bhp_a_44.js";import{t as p}from"./preload-helper-DpV6A1kQ.js";import{t as m}from"./logo-CGNoptDg.js";import{s as h}from"./i18n-BYeH2Dmi.js";import{_t as g,nt as _,vt as v}from"./index-C0yASttP.js";import{c as y,f as b}from"./settings-menu-C0yo5q3t.js";import{ReleaseNotes as x,loadReleases as S,releaseDate as C,releaseLabel as w}from"./ChangelogDialog-Dc66LqBg.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)(a,{"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:h(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),[r,a]=(0,T.useState)(``);(0,T.useEffect)(()=>{if(!e||t)return;let r=!1;return p(()=>import(`./oss-credits-Da4KrYmP.js`).then(e=>{r||n(e.default)}),[]),()=>{r=!0}},[e,t]),(0,T.useEffect)(()=>{e||a(``)},[e]);let s=r.trim().toLowerCase(),c=e=>s?e.filter(e=>k(s,e.name,e.license,h(e.description))):e,l=e=>s?e.filter(e=>k(s,e.name,e.license,e.version)):e,u=c(E),d=c(D),m=t?[{id:`shared`,label:h(`about.creditsShared`),packages:l(t.shared)},...t.groups.map(e=>({id:e.id,label:e.label,packages:l(e.packages)}))].filter(e=>e.packages.length>0):[],g=u.length===0&&d.length===0&&m.length===0;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`p`,{className:`mb-4 text-[0.875rem] text-ink-3`,children:h(`about.creditsHint`)}),(0,O.jsx)(o,{type:`search`,value:r,placeholder:h(`about.search`),onChange:e=>a(e.target.value)}),u.length>0?(0,O.jsx)(j,{title:h(`about.creditsProduct`),children:(0,O.jsx)(M,{credits:u})}):null,d.length>0?(0,O.jsx)(j,{title:h(`about.creditsBuiltWith`),children:(0,O.jsx)(M,{credits:d})}):null,t===null?(0,O.jsx)(`div`,{className:`flex justify-center py-10 text-ink-3`,children:(0,O.jsx)(f,{})}):m.length>0?(0,O.jsx)(j,{title:h(`about.creditsDeps`),hint:s?void 0:h(`about.creditsDepsHint`),children:m.map(e=>(0,O.jsx)(N,{label:e.label,packages:e.packages},e.id))}):null,t!==null&&g?(0,O.jsx)(i,{children:h(`about.noMatches`)}):null]})}var F=[`new`,`earlier`,`credits`],I=e=>h(e===`new`?`about.tab.new`:e===`earlier`?`about.tab.earlier`:`about.credits`),L=e=>e===1?h(`about.change`):h(`about.changes`,{n:e});function R({me:e,active:t,initialTab:n=`new`}){let i=e?.mode===`local`,{data:a,latest:o}=g(i&&t),[s,u]=(0,T.useState)(null),[d,p]=(0,T.useState)(n);(0,T.useEffect)(()=>p(n),[n]);let E=b(F.indexOf(d)),D=a?.newer&&o?o:v;(0,T.useEffect)(()=>{if(!t)return;let e=!1;return u(null),S(D===`0.11.12`?void 0:D).then(t=>{e||u(t)}),()=>{e=!0}},[t,D]);let k=s?.find(e=>e.version===`v${D}`)??s?.[0]??null,A=s?.filter(e=>e!==k)??[],j=i?a?.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)(m,{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:[h(`about.version`,{v}),j?` · ${h(`about.kind.${j}`)}`:``]})]}),i?(0,O.jsx)(`div`,{className:`mt-5`,children:(0,O.jsx)(_,{enabled:t})}):null,(0,O.jsx)(`div`,{className:`mt-6 flex justify-center`,children:(0,O.jsx)(c,{value:d,onChange:p,options:F.map(e=>({id:e,label:I(e)})),label:h(`about.title`)})}),(0,O.jsxs)(`div`,{className:l(`mt-5`,y(E)),children:[d===`new`?s===null?(0,O.jsx)(`div`,{className:`flex justify-center py-6 text-ink-3`,children:(0,O.jsx)(f,{})}):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:h(`about.changelogEmpty`)}):null,d===`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)(r,{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,d===`credits`?(0,O.jsx)(P,{active:!0}):null]},d)]})}function z({open:e,onClose:t,me:n}){return(0,O.jsxs)(u,{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)(s,{label:h(`common.close`),onClick:t,children:(0,O.jsx)(d,{className:`size-4`})})}),(0,O.jsx)(R,{me:n,active:e})]})}export{z as AboutDialog,R as AboutPanel};