@engenty/wizards-runtime 0.7.8 → 0.7.10
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.
- package/README.md +2 -1
- package/apps/runtime/dist/app.js +2 -2
- package/apps/runtime/dist/cli/autostart.js +90 -7
- package/apps/runtime/dist/cli/autoupdate.js +18 -5
- package/apps/runtime/dist/cli/clients.js +25 -6
- package/apps/runtime/dist/cli/connect.js +7 -2
- package/apps/runtime/dist/cli/environment.js +33 -2
- package/apps/runtime/dist/cli/exec.js +38 -1
- package/apps/runtime/dist/cli/home.js +15 -0
- package/apps/runtime/dist/cli/machine.js +18 -8
- package/apps/runtime/dist/cli/processes.js +23 -3
- package/apps/runtime/dist/cli/setup.js +11 -1
- package/apps/runtime/dist/cli/start.js +33 -7
- package/apps/runtime/dist/cli/uninstall.js +100 -6
- package/apps/runtime/dist/cli/update.js +28 -12
- package/apps/runtime/dist/cli/versions.js +16 -4
- package/apps/runtime/dist/clients.js +118 -0
- package/apps/runtime/dist/db/client.js +37 -3
- package/apps/runtime/dist/db/migrations/tenant/0017_run_client.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0017_snapshot.json +3333 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +7 -0
- package/apps/runtime/dist/db/schema.js +2 -0
- package/apps/runtime/dist/docs/dev/api.md +39 -0
- package/apps/runtime/dist/docs/dev/index.md +1 -0
- package/apps/runtime/dist/docs/dev/integration/openui.md +5 -3
- package/apps/runtime/dist/docs/dev/meta.json +1 -1
- package/apps/runtime/dist/docs/user/ai-apps.md +14 -3
- package/apps/runtime/dist/docs/user/install.md +18 -8
- package/apps/runtime/dist/engine/runner.js +1 -0
- package/apps/runtime/dist/harness/env.js +41 -8
- package/apps/runtime/dist/harness/index.js +10 -1
- package/apps/runtime/dist/harness/model.js +1 -1
- package/apps/runtime/dist/index.js +13 -4
- package/apps/runtime/dist/plugin.js +24 -8
- package/apps/runtime/dist/render/browser-path.js +43 -11
- package/apps/runtime/dist/routes/runs.js +9 -0
- package/apps/runtime/dist/update.js +4 -0
- package/apps/web/dist/assets/AboutDialog-B2LuZ_mC.js +1 -0
- package/apps/web/dist/assets/ChangelogDialog-B0lS0BdL.js +1 -0
- package/apps/web/dist/assets/ChatView-BcPDcU2d.js +10 -0
- package/apps/web/dist/assets/EditorPage-erduYKNM.js +4 -0
- package/apps/web/dist/assets/{FlowPreview-Dx8AjXvE.js → FlowPreview-oX_Emm7u.js} +1 -1
- package/apps/web/dist/assets/{Harness-NvIb36TG.js → Harness-Dv9ln5xB.js} +2 -2
- package/apps/web/dist/assets/{NewWizardChannels-B2YgtJlt.js → NewWizardChannels-JveYyh-U.js} +1 -1
- package/apps/web/dist/assets/NewWizardPage-Dfk-WOhX.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-CT9dL4ke.js +1 -0
- package/apps/web/dist/assets/ProjectPage-5_Wsk9Hv.js +1 -0
- package/apps/web/dist/assets/PublicRunner-Cw1WzTze.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-CGNHlgUT.js → ReadOnly-S9vGVQHr.js} +1 -1
- package/apps/web/dist/assets/RunDrawer-O4rEFCL8.js +4 -0
- package/apps/web/dist/assets/RunnerView-BW1h4x63.js +1 -0
- package/apps/web/dist/assets/SettingsPage-DmhN7OTy.js +1 -0
- package/apps/web/dist/assets/SetupPage-BlWd7Uln.js +1 -0
- package/apps/web/dist/assets/{SharePage-hG7Z6SLy.js → SharePage-ktqm-jWI.js} +1 -1
- package/apps/web/dist/assets/changelog-FJJS0Tpt.js +1 -0
- package/apps/web/dist/assets/engenty-WpMi3xwq.js +1 -0
- package/apps/web/dist/assets/{esm-DVk3RJij.js → esm-C-ZWeuhU.js} +1 -1
- package/apps/web/dist/assets/{fluffy-engenty-ClRou7yu.js → fluffy-engenty-DPNHytrz.js} +135 -16
- package/apps/web/dist/assets/goose-helmet-Cvc7KjUg.bin +0 -0
- package/apps/web/dist/assets/goose-helmet-livery-CZD9u0XS.webp +0 -0
- package/apps/web/dist/assets/index-C4aHMcg9.css +1 -0
- package/apps/web/dist/assets/index-xH9uN8Nh.js +14 -0
- package/apps/web/dist/assets/oss-credits-Bc05Qv5H.js +1 -0
- package/apps/web/dist/assets/{phone-CXXHXYnA.js → phone-BjmhIKuT.js} +1 -1
- package/apps/web/dist/assets/{settings-menu-DXzZCIMx.js → settings-menu-Dpkp3f56.js} +1 -1
- package/apps/web/dist/assets/{ui-DQ4L2npj.js → ui-DMmT-cSO.js} +4 -4
- package/apps/web/dist/assets/{upload-BnYHIfu5.js → upload-JX9BcMTq.js} +1 -1
- package/apps/web/dist/assets/{wrench-BrUJ7SV6.js → wrench-BSxnPs2_.js} +1 -1
- package/apps/web/dist/index.html +4 -4
- package/apps/web/dist/install.ps1 +307 -0
- package/apps/web/dist/mcp/flow.html +141 -22
- package/bin/wizards.mjs +59 -35
- package/node_modules/@engenty/wizards/package.json +1 -4
- package/node_modules/@engenty-wizards/shared/dist/claude-plugin.d.ts +7 -0
- package/node_modules/@engenty-wizards/shared/dist/claude-plugin.js +10 -0
- package/node_modules/@engenty-wizards/shared/dist/run.d.ts +2 -0
- package/node_modules/@engenty-wizards/shared/dist/run.js +4 -0
- package/package.json +2 -5
- package/plugin/.claude-plugin/plugin.json +28 -6
- package/plugin/README.md +58 -0
- package/plugin/hooks/engenty.ts +140 -0
- package/plugin/hooks/hooks.json +1 -0
- package/plugin/hooks/pane.test.tsx +177 -0
- package/plugin/hooks/register.tsx +396 -0
- package/plugin/types/index.d.ts +44 -0
- package/apps/web/dist/assets/AboutDialog-ByZyHXDj.js +0 -1
- package/apps/web/dist/assets/ChangelogDialog-QHYP0jAv.js +0 -1
- package/apps/web/dist/assets/ChatView-DupTtI8K.js +0 -10
- package/apps/web/dist/assets/EditorPage-k6qouLeS.js +0 -4
- package/apps/web/dist/assets/NewWizardPage-BgLY6SL6.js +0 -7
- package/apps/web/dist/assets/OnboardingPage-CxhwefJU.js +0 -1
- package/apps/web/dist/assets/ProjectPage-6ceSSS7W.js +0 -1
- package/apps/web/dist/assets/PublicRunner-6lQvReDx.js +0 -1
- package/apps/web/dist/assets/RunDrawer-TVGNnWyx.js +0 -4
- package/apps/web/dist/assets/RunnerView-DInSK0VZ.js +0 -1
- package/apps/web/dist/assets/SettingsPage-D3k5pXN5.js +0 -1
- package/apps/web/dist/assets/SetupPage-Bj5frdzY.js +0 -1
- package/apps/web/dist/assets/changelog-CO9vKjV0.js +0 -1
- package/apps/web/dist/assets/engenty-eXZ-EAwd.js +0 -1
- package/apps/web/dist/assets/index-DfaoPjNW.css +0 -1
- package/apps/web/dist/assets/index-DlDsr9Lc.js +0 -14
- package/apps/web/dist/assets/oss-credits-X2JPiMOR.js +0 -1
- package/node_modules/@engenty/wizards/dist/openui/Wizard.d.ts +0 -20
- package/node_modules/@engenty/wizards/dist/openui/Wizard.js +0 -62
- package/node_modules/@engenty/wizards/dist/openui/index.d.ts +0 -9
- package/node_modules/@engenty/wizards/dist/openui/index.js +0 -9
- package/node_modules/@engenty/wizards/dist/openui/message.d.ts +0 -11
- package/node_modules/@engenty/wizards/dist/openui/message.js +0 -69
- package/node_modules/@engenty/wizards/dist/openui/run.d.ts +0 -8
- package/node_modules/@engenty/wizards/dist/openui/run.js +0 -137
- package/node_modules/@engenty/wizards/dist/openui/server.d.ts +0 -37
- package/node_modules/@engenty/wizards/dist/openui/server.js +0 -77
- package/plugin/.mcp.json +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={shared:[{name:`@engenty/wizards`,version:``,license:`Unknown`},{name:`@modelcontextprotocol/client`,version:`2.2.0`,license:`MIT`,homepage:`https://modelcontextprotocol.io`},{name:`@modelcontextprotocol/ext-apps`,version:`2.0.3`,license:`MIT`,homepage:`https://github.com/modelcontextprotocol/ext-apps`},{name:`dompurify`,version:`3.4.16`,license:`(MPL-2.0 OR Apache-2.0)`,homepage:`https://github.com/cure53/DOMPurify`},{name:`fflate`,version:`0.8.3`,license:`MIT`,homepage:`https://101arrowz.github.io/fflate`},{name:`lucide-react`,version:`1.49.0`,license:`ISC`,homepage:`https://lucide.dev`},{name:`marked`,version:`18.0.14`,license:`MIT`,homepage:`https://marked.js.org`},{name:`pdfmake`,version:`0.3.11`,license:`MIT`,homepage:`http://pdfmake.org`},{name:`qr-scanner`,version:`1.4.2`,license:`MIT`,homepage:`https://github.com/nimiq/qr-scanner#readme`},{name:`zod`,version:`4.6.5`,license:`MIT`,homepage:`https://zod.dev`}],groups:[{id:`apps/runtime`,kind:`app`,label:`runtime`,packages:[{name:`@ai-sdk/anthropic`,version:`4.0.54`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`@ai-sdk/elevenlabs`,version:`3.0.42`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`@ai-sdk/fal`,version:`3.0.42`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`@ai-sdk/gateway`,version:`4.0.82`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`@ai-sdk/google`,version:`4.0.72`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`@ai-sdk/openai`,version:`4.0.67`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`@ai-sdk/replicate`,version:`3.0.42`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`@clack/prompts`,version:`1.8.1`,license:`MIT`,homepage:`https://github.com/bombshell-dev/clack/tree/main/packages/prompts#readme`},{name:`@executor-js/plugin-openapi`,version:`1.6.10`,license:`MIT`,homepage:`https://github.com/UsefulSoftwareCo/executor/tree/main/packages/plugins/openapi`},{name:`@hono/node-server`,version:`2.1.3`,license:`MIT`,homepage:`https://github.com/honojs/node-server`},{name:`@libsql/client`,version:`0.18.0`,license:`MIT`,homepage:`https://github.com/tursodatabase/libsql-client-ts#readme`},{name:`@mastra/core`,version:`1.77.0`,license:`Apache-2.0`,homepage:`https://mastra.ai`},{name:`@mastra/docker`,version:`0.8.0`,license:`Apache-2.0`,homepage:`https://mastra.ai`},{name:`@mastra/mcp`,version:`2.4.0`,license:`Apache-2.0`,homepage:`https://mastra.ai`},{name:`@mastra/quickjs`,version:`0.1.3`,license:`Apache-2.0`,homepage:`https://mastra.ai`},{name:`@modelcontextprotocol/server`,version:`2.2.0`,license:`MIT`,homepage:`https://modelcontextprotocol.io`},{name:`@napi-rs/canvas`,version:`0.1.80`,license:`MIT`,homepage:`https://github.com/Brooooooklyn/canvas#readme`},{name:`@turbodocx/html-to-docx`,version:`1.23.1`,license:`MIT`,homepage:`https://github.com/TurboDocx/html-to-docx#readme`},{name:`ai`,version:`7.0.102`,license:`Apache-2.0`,homepage:`https://ai-sdk.dev/docs`},{name:`aws4fetch`,version:`1.0.20`,license:`MIT`,homepage:`https://github.com/mhart/aws4fetch#readme`},{name:`cross-spawn`,version:`7.0.6`,license:`MIT`,homepage:`https://github.com/moxystudio/node-cross-spawn`},{name:`drizzle-orm`,version:`0.45.3`,license:`Apache-2.0`,homepage:`https://orm.drizzle.team`},{name:`effect`,version:`4.0.0-beta.59`,license:`MIT`,homepage:`https://effect.website`},{name:`exceljs`,version:`4.4.0`,license:`MIT`,homepage:`https://github.com/exceljs/exceljs#readme`},{name:`fast-xml-parser`,version:`5.11.2`,license:`MIT`,homepage:`https://github.com/NaturalIntelligence/fast-xml-parser#readme`},{name:`hono`,version:`4.13.12`,license:`MIT`,homepage:`https://hono.dev`},{name:`imapflow`,version:`2.2.1`,license:`MIT`,homepage:`https://imapflow.com/`},{name:`jiti`,version:`2.7.0`,license:`MIT`,homepage:`https://github.com/unjs/jiti#readme`},{name:`jose`,version:`6.2.12`,license:`MIT`,homepage:`https://github.com/panva/jose`},{name:`mammoth`,version:`1.13.0`,license:`BSD-2-Clause`,homepage:`https://github.com/mwilliamson/mammoth.js#readme`},{name:`nanoid`,version:`5.1.16`,license:`MIT`,homepage:`https://github.com/ai/nanoid#readme`},{name:`node-pty`,version:`1.1.0`,license:`MIT`,homepage:`https://github.com/microsoft/node-pty`},{name:`pdf-parse`,version:`2.4.5`,license:`Apache-2.0`,homepage:`https://mehmet-kozan.github.io/pdf-parse/`},{name:`playwright-core`,version:`1.63.0`,license:`Apache-2.0`,homepage:`https://playwright.dev`},{name:`postal-mime`,version:`4.0.2`,license:`MIT-0`,homepage:`https://postal-mime.postalsys.com`},{name:`rfc6902`,version:`5.3.0`,license:`MIT`,homepage:`https://github.com/chbrown/rfc6902`},{name:`turndown`,version:`7.2.4`,license:`MIT`,homepage:`https://github.com/mixmark-io/turndown#readme`},{name:`undici`,version:`8.12.2`,license:`MIT`,homepage:`https://undici.nodejs.org`}]},{id:`apps/web`,kind:`app`,label:`web`,packages:[{name:`@dagrejs/dagre`,version:`3.1.1`,license:`MIT`,homepage:`https://github.com/dagrejs/dagre#readme`},{name:`@tanstack/react-query`,version:`5.104.0`,license:`MIT`,homepage:`https://tanstack.com/query`},{name:`@xterm/addon-fit`,version:`0.11.0`,license:`MIT`,homepage:`https://github.com/xtermjs/xterm.js/tree/master#readme`},{name:`@xterm/addon-web-links`,version:`0.12.0`,license:`MIT`,homepage:`https://github.com/xtermjs/xterm.js/tree/master#readme`},{name:`@xterm/xterm`,version:`6.0.0`,license:`MIT`,homepage:`https://github.com/xtermjs/xterm.js#readme`},{name:`@xyflow/react`,version:`12.12.0`,license:`MIT`,homepage:`https://reactflow.dev`},{name:`react`,version:`19.3.0`,license:`MIT`,homepage:`https://react.dev/`},{name:`react-dom`,version:`19.3.0`,license:`MIT`,homepage:`https://react.dev/`},{name:`react-router`,version:`7.18.4`,license:`MIT`,homepage:`https://github.com/remix-run/react-router#readme`},{name:`uqr`,version:`0.1.3`,license:`MIT`,homepage:`https://github.com/unjs/uqr#readme`}]}]};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Nr as e}from"./ui-DMmT-cSO.js";var t={name:`phone`,size:24,node:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]};t.node;var n=e(t);export{n as t};
|
|
@@ -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{
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t,t as n}from"./jsx-runtime-BNakU3Ej.js";import{Cr as r,Fr as i,Qt as a,Tr as o,Wr as s,jr as c,s as l,wr as u}from"./ui-DMmT-cSO.js";var d=e(t(),1),f=s(),p=e(n(),1),m=(0,d.createContext)({slot:null,narrow:!1,setDetail:()=>void 0});function h(){return(0,d.useContext)(m)}function g({children:e}){let{slot:t}=h();return t?(0,f.createPortal)(e,t):null}function _(e){let{setDetail:t}=h();(0,d.useEffect)(()=>(t(e),()=>t(null)),[e,t])}function v(){return l(`(max-width: 767px)`)}function y(e){return e===`deeper`?`animate-step-deeper`:e===`back`&&`animate-step-back`}function b({title:e,open:t,onBack:n,root:r}){let i=t??r??null;return(0,p.jsxs)(`div`,{className:`mb-2 flex h-9 min-w-0 items-center px-1`,children:[(0,p.jsx)(`div`,{className:a(`shrink-0 overflow-hidden transition-[width,margin,opacity] duration-200 ease-out`,i?`-ml-1.5 mr-0.5 w-8 opacity-100`:`w-0 opacity-0`),children:(0,p.jsx)(`button`,{type:`button`,onClick:t?n:r?.onBack,"aria-hidden":!i,tabIndex:i?void 0:-1,"aria-label":t?e:r?.backLabel,className:`grid size-8 place-items-center rounded-lg text-ink-3 transition hover:bg-accent hover:text-ink`,children:(0,p.jsx)(c,{className:`size-4`})})}),i?(0,p.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 font-medium text-[0.875rem]`,children:[(0,p.jsx)(i.icon,{className:`size-4 shrink-0 text-ember-strong`}),(0,p.jsx)(`span`,{className:`truncate`,children:i.label})]}):(0,p.jsx)(`span`,{className:`truncate font-medium text-[0.875rem]`,children:e})]})}function x({entries:e,current:t,onPick:n}){return(0,p.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:e.map(e=>(0,p.jsx)(`li`,{children:(0,p.jsxs)(i,{to:e.to,onClick:r=>{e.id===t?.id&&(r.preventDefault(),n(e))},"aria-current":e.id===t?.id?`page`:void 0,className:a(`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,p.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,p.jsx)(e.icon,{className:`size-4 transition-transform duration-200 ease-out group-hover:scale-110`})}),(0,p.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.label}),(0,p.jsx)(r,{className:`size-4 text-ink-4 md:hidden`})]})},e.id))})}function S({label:e,onBack:t}){return(0,p.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,p.jsx)(u,{className:`size-4`}),e]})}function C(e){let t=(0,d.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 w({label:e,collapsible:t,open:n=!0,count:r,children:i}){let[s,c]=(0,d.useState)(n),l=`font-medium text-[0.6875rem] text-ink-4 uppercase tracking-[0.12em]`;return(0,p.jsxs)(`div`,{className:`mt-5 first:mt-0`,children:[t?(0,p.jsxs)(`button`,{type:`button`,onClick:()=>c(!s),"aria-expanded":s,className:a(`mb-1 flex w-full items-center gap-1 px-2 text-left hover:text-ink-2`,l),children:[(0,p.jsx)(`span`,{className:`flex-1`,children:e}),s?null:(0,p.jsx)(`span`,{className:`tabular-nums tracking-normal`,children:r}),(0,p.jsx)(o,{className:a(`size-3.5 transition-transform`,s?null:`-rotate-90`)})]}):(0,p.jsx)(`p`,{className:a(`mb-1 px-2`,l),children:e}),s?(0,p.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:i}):null]})}function T({icon:e,label:t,badge:n,tone:i,toneLabel:o,selected:s,disabled:c,onPick:l}){return(0,p.jsx)(`li`,{children:(0,p.jsxs)(`button`,{type:`button`,onClick:l,disabled:c,"aria-current":s?`page`:void 0,className:a(`group flex w-full items-center gap-2 rounded-lg px-2 py-1 text-left text-[0.875rem] transition max-md:py-2`,s?`bg-paper-2 font-medium text-ink`:`text-ink-2 hover:bg-accent hover:text-ink`,c&&`cursor-default opacity-50 hover:bg-transparent hover:text-ink-2`),children:[(0,p.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,p.jsx)(e,{className:a(`size-4 transition-transform duration-200 ease-out`,!c&&`group-hover:scale-110`,s?`text-ember-strong`:`text-ink-3`)})}),(0,p.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:t}),n,i?(0,p.jsx)(`span`,{role:`img`,title:o,"aria-label":o,className:a(`size-2 shrink-0 rounded-full`,i===`done`&&`bg-moss`,i===`credits`&&`bg-amber`,i===`on`&&`bg-ember`,i===`off`&&`ring-1 ring-ink-4 ring-inset`)}):null,c?null:(0,p.jsx)(r,{className:`size-4 shrink-0 text-ink-4 md:hidden`})]})})}export{T as a,y as c,h as d,C as f,w as i,_ as l,b as n,m as o,x as r,g as s,S as t,v as u};
|