wizards 0.6.1 → 0.7.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 (97) hide show
  1. package/README.md +6 -2
  2. package/apps/runtime/dist/agents/architect.js +7 -29
  3. package/apps/runtime/dist/agents/studio-assistant.js +7 -24
  4. package/apps/runtime/dist/authoring/guide.js +1 -1
  5. package/apps/runtime/dist/cli/autostart.js +58 -12
  6. package/apps/runtime/dist/cli/autoupdate.js +221 -0
  7. package/apps/runtime/dist/cli/environment.js +5 -0
  8. package/apps/runtime/dist/cli/main.js +9 -2
  9. package/apps/runtime/dist/cli/menu.js +2 -2
  10. package/apps/runtime/dist/cli/processes.js +72 -0
  11. package/apps/runtime/dist/cli/setup.js +9 -4
  12. package/apps/runtime/dist/cli/start.js +18 -1
  13. package/apps/runtime/dist/cli/status.js +51 -17
  14. package/apps/runtime/dist/cli/uninstall-main.js +20 -0
  15. package/apps/runtime/dist/cli/uninstall.js +231 -0
  16. package/apps/runtime/dist/cli/update.js +25 -2
  17. package/apps/runtime/dist/cli/versions.js +106 -0
  18. package/apps/runtime/dist/docs/dev/wizard-format.md +6 -4
  19. package/apps/runtime/dist/docs/user/command-line.md +2 -1
  20. package/apps/runtime/dist/docs/user/data.md +1 -1
  21. package/apps/runtime/dist/docs/user/install.md +29 -6
  22. package/apps/runtime/dist/engine/input.js +4 -5
  23. package/apps/runtime/dist/engine/runner.js +5 -5
  24. package/apps/runtime/dist/engine/steps.js +5 -5
  25. package/apps/runtime/dist/engine/template.js +10 -15
  26. package/apps/runtime/dist/env.js +3 -20
  27. package/apps/runtime/dist/features.js +2 -2
  28. package/apps/runtime/dist/index.js +3 -1
  29. package/apps/runtime/dist/manage.js +7 -0
  30. package/apps/runtime/dist/media/conversation.js +2 -2
  31. package/apps/runtime/dist/models.js +12 -0
  32. package/apps/runtime/dist/plugins/runs.js +4 -4
  33. package/apps/runtime/dist/routes/runs.js +4 -2
  34. package/apps/runtime/dist/sandbox/docker.js +0 -2
  35. package/apps/runtime/dist/sandbox/index.js +3 -10
  36. package/apps/runtime/dist/services/api.js +2 -2
  37. package/apps/runtime/dist/services/runners.js +2 -2
  38. package/apps/runtime/dist/services/space-categories.js +3 -25
  39. package/apps/runtime/dist/services/translations.js +7 -4
  40. package/apps/runtime/dist/tools/browser.js +2 -14
  41. package/apps/runtime/dist/tools/index.js +1 -19
  42. package/apps/runtime/dist/tools/mail.js +1 -4
  43. package/apps/runtime/dist/tools/shared.js +30 -3
  44. package/apps/runtime/dist/update.js +10 -19
  45. package/apps/web/dist/assets/AboutDialog-CUVmdhzk.js +1 -0
  46. package/apps/web/dist/assets/{ChangelogDialog-jQk_bQpP.js → ChangelogDialog-DcQqFbiW.js} +1 -1
  47. package/apps/web/dist/assets/ChatView-DTPWjzWF.js +10 -0
  48. package/apps/web/dist/assets/EditorPage-SJHtft7P.js +3 -0
  49. package/apps/web/dist/assets/{FlowPreview-DA0sHtr7.js → FlowPreview-DvpjuQdC.js} +1 -1
  50. package/apps/web/dist/assets/{Harness-DmYkwU4x.js → Harness-D6fezoWO.js} +2 -2
  51. package/apps/web/dist/assets/{NewWizardChannels-BLS9sKhT.js → NewWizardChannels-BHeutZ7V.js} +1 -1
  52. package/apps/web/dist/assets/NewWizardPage-CzBxaPhH.js +7 -0
  53. package/apps/web/dist/assets/{OnboardingPage-CREvCCdX.js → OnboardingPage-DbR4N2Ms.js} +1 -1
  54. package/apps/web/dist/assets/ProjectPage-DG6_E7kA.js +1 -0
  55. package/apps/web/dist/assets/PublicRunner-19tV_8TR.js +1 -0
  56. package/apps/web/dist/assets/{ReadOnly-b7TjjRAk.js → ReadOnly-BMXFtKs0.js} +1 -1
  57. package/apps/web/dist/assets/RunDrawer-DqwLjFJb.js +4 -0
  58. package/apps/web/dist/assets/{RunnerView-CLfZzbKn.js → RunnerView-DRc4J-rg.js} +1 -1
  59. package/apps/web/dist/assets/SettingsPage-CCypPS9L.js +1 -0
  60. package/apps/web/dist/assets/SetupPage-D2Y2rev4.js +1 -0
  61. package/apps/web/dist/assets/{SharePage-B21QI97K.js → SharePage-DB5n6Oug.js} +1 -1
  62. package/apps/web/dist/assets/changelog-BDhd7tjO.js +1 -0
  63. package/apps/web/dist/assets/{esm-DqRvG-PU.js → esm-6TNBQNCD.js} +1 -1
  64. package/apps/web/dist/assets/index-mBRI7ZQp.js +14 -0
  65. package/apps/web/dist/assets/{lock-D_KjsGfU.js → lock-HLZib0u9.js} +1 -1
  66. package/apps/web/dist/assets/{phone-YRxkPQk6.js → phone-DsxbIcWi.js} +1 -1
  67. package/apps/web/dist/assets/settings-menu-BMMkIVP1.js +1 -0
  68. package/apps/web/dist/assets/ui-Brg2qM1A.js +137 -0
  69. package/apps/web/dist/assets/{upload-DDo14e2p.js → upload-BaGy0ppG.js} +1 -1
  70. package/apps/web/dist/index.html +2 -2
  71. package/apps/web/dist/install.sh +29 -11
  72. package/apps/web/dist/mcp/flow.html +11 -11
  73. package/bin/wizards.mjs +17 -3
  74. package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +18 -7
  75. package/node_modules/@engenty-wizards/shared/dist/definition.js +50 -21
  76. package/node_modules/@engenty-wizards/shared/dist/features.d.ts +6 -0
  77. package/node_modules/@engenty-wizards/shared/dist/features.js +12 -0
  78. package/node_modules/@engenty-wizards/shared/dist/numbers.d.ts +24 -0
  79. package/node_modules/@engenty-wizards/shared/dist/numbers.js +54 -0
  80. package/node_modules/@engenty-wizards/shared/dist/run.d.ts +4 -4
  81. package/node_modules/@engenty-wizards/shared/dist/store.d.ts +7 -0
  82. package/node_modules/@engenty-wizards/shared/dist/store.js +28 -0
  83. package/package.json +1 -1
  84. package/apps/runtime/dist/sandbox/agentos.js +0 -191
  85. package/apps/web/dist/assets/AboutDialog-CTuI-l3p.js +0 -1
  86. package/apps/web/dist/assets/ChatView-9TLi0B7K.js +0 -10
  87. package/apps/web/dist/assets/EditorPage-BVrzOfF3.js +0 -3
  88. package/apps/web/dist/assets/NewWizardPage-DWYZYiBF.js +0 -7
  89. package/apps/web/dist/assets/ProjectPage-BQkd55xR.js +0 -1
  90. package/apps/web/dist/assets/PublicRunner-sOlOC0zD.js +0 -1
  91. package/apps/web/dist/assets/RunDrawer-BPIVaan7.js +0 -4
  92. package/apps/web/dist/assets/SettingsPage-BO6TPmoj.js +0 -1
  93. package/apps/web/dist/assets/SetupPage-DlJHBYWH.js +0 -1
  94. package/apps/web/dist/assets/changelog-DeSoCsai.js +0 -1
  95. package/apps/web/dist/assets/index-CAUeJXCg.js +0 -14
  96. package/apps/web/dist/assets/settings-menu-CQgehwEX.js +0 -1
  97. package/apps/web/dist/assets/ui-DDUCc_4v.js +0 -137
@@ -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{Kt as r,Nr as i,br as a,fr as o,mr as s,pr as c,wr as l}from"./ui-DDUCc_4v.js";var u=e(t(),1),d=i(),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,root:i}){let o=t??i??null;return(0,f.jsxs)(`div`,{className:`mb-2 flex h-9 min-w-0 items-center px-1`,children:[(0,f.jsx)(`div`,{className:r(`shrink-0 overflow-hidden transition-[width,margin,opacity] duration-200 ease-out`,o?`-ml-1.5 mr-0.5 w-8 opacity-100`:`w-0 opacity-0`),children:(0,f.jsx)(`button`,{type:`button`,onClick:t?n:i?.onBack,"aria-hidden":!o,tabIndex:o?void 0:-1,"aria-label":t?e:i?.backLabel,className:`grid size-8 place-items-center rounded-lg text-ink-3 transition hover:bg-accent hover:text-ink`,children:(0,f.jsx)(a,{className:`size-4`})})}),o?(0,f.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 font-medium text-[0.875rem]`,children:[(0,f.jsx)(o.icon,{className:`size-4 shrink-0 text-ember-strong`}),(0,f.jsx)(`span`,{className:`truncate`,children:o.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)(l,{to:e.to,onClick:r=>{e.id===t?.id&&(r.preventDefault(),n(e))},"aria-current":e.id===t?.id?`page`:void 0,className:r(`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)(o,{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)(c,{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:i,children:a}){let[o,c]=(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:()=>c(!o),"aria-expanded":o,className:r(`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:i}),(0,f.jsx)(s,{className:r(`size-3.5 transition-transform`,o?null:`-rotate-90`)})]}):(0,f.jsx)(`p`,{className:r(`mb-1 px-2`,l),children:e}),o?(0,f.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:a}):null]})}function E({icon:e,label:t,badge:n,tone:i,toneLabel:a,selected:s,disabled:c,onPick:l}){return(0,f.jsx)(`li`,{children:(0,f.jsxs)(`button`,{type:`button`,onClick:l,disabled:c,"aria-current":s?`page`:void 0,className:r(`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,f.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,f.jsx)(e,{className:r(`size-4 transition-transform duration-200 ease-out`,!c&&`group-hover:scale-110`,s?`text-ember-strong`:`text-ink-3`)})}),(0,f.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:t}),n,i?(0,f.jsx)(`span`,{role:`img`,title:a,"aria-label":a,className:r(`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,f.jsx)(o,{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};