@engenty/wizards-runtime 0.9.3 → 0.9.4

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 (109) hide show
  1. package/README.md +34 -39
  2. package/apps/runtime/dist/assistant/docs.js +1 -1
  3. package/apps/runtime/dist/assistant/primer.js +2 -2
  4. package/apps/runtime/dist/db/migrations/tenant/0020_project_page.sql +1 -0
  5. package/apps/runtime/dist/db/migrations/tenant/meta/0020_snapshot.json +3475 -0
  6. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +7 -0
  7. package/apps/runtime/dist/db/schema.js +2 -0
  8. package/apps/runtime/dist/docs/dev/api.md +1 -1
  9. package/apps/runtime/dist/docs/dev/integration/channels.md +4 -4
  10. package/apps/runtime/dist/docs/dev/integration/claude-code-plugin.md +1 -1
  11. package/apps/runtime/dist/docs/dev/integration/embed.md +1 -1
  12. package/apps/runtime/dist/docs/dev/integration/index.md +2 -3
  13. package/apps/runtime/dist/docs/dev/integration/link-and-share.md +1 -1
  14. package/apps/runtime/dist/docs/dev/integration/mcp-apps.md +1 -1
  15. package/apps/runtime/dist/docs/dev/integration/mcp.md +1 -1
  16. package/apps/runtime/dist/docs/dev/integration/meta.json +0 -1
  17. package/apps/runtime/dist/docs/dev/integration/openui.md +1 -1
  18. package/apps/runtime/dist/docs/dev/integration/results.md +1 -3
  19. package/apps/runtime/dist/docs/dev/plugins/routes.md +1 -1
  20. package/apps/runtime/dist/docs/dev/wizard-format/themes.md +2 -2
  21. package/apps/runtime/dist/docs/dev/wizard-format/validate.md +1 -1
  22. package/apps/runtime/dist/docs/meta.json +1 -1
  23. package/apps/runtime/dist/docs/{user → user-guide}/ai-apps.md +4 -5
  24. package/apps/runtime/dist/docs/{user → user-guide}/build-a-wizard.md +27 -28
  25. package/apps/runtime/dist/docs/{user → user-guide}/command-line.md +9 -8
  26. package/apps/runtime/dist/docs/{user → user-guide}/connectors.md +6 -6
  27. package/apps/runtime/dist/docs/{user → user-guide}/create-account.md +10 -11
  28. package/apps/runtime/dist/docs/{user → user-guide}/data.md +5 -5
  29. package/apps/runtime/dist/docs/{user → user-guide}/first-start.md +5 -5
  30. package/apps/runtime/dist/docs/{user → user-guide}/index.md +3 -3
  31. package/apps/runtime/dist/docs/{user → user-guide}/install.md +21 -25
  32. package/apps/runtime/dist/docs/{user → user-guide}/local-only.md +5 -6
  33. package/apps/runtime/dist/docs/{user → user-guide}/meta.json +0 -2
  34. package/apps/runtime/dist/docs/{user → user-guide}/models.md +13 -22
  35. package/apps/runtime/dist/docs/{user → user-guide}/plugins.md +2 -2
  36. package/apps/runtime/dist/docs/{user → user-guide}/run.md +21 -36
  37. package/apps/runtime/dist/docs/{user → user-guide}/server.md +1 -1
  38. package/apps/runtime/dist/docs/{user → user-guide}/space.md +17 -27
  39. package/apps/runtime/dist/docs/{user → user-guide}/steps.md +22 -34
  40. package/apps/runtime/dist/docs/{user → user-guide}/test-and-share.md +32 -75
  41. package/apps/runtime/dist/docs/{user → user-guide}/troubleshooting.md +3 -4
  42. package/apps/runtime/dist/manage.js +7 -0
  43. package/apps/runtime/dist/routes/studio.js +12 -0
  44. package/apps/runtime/dist/services/errors.js +1 -0
  45. package/apps/runtime/dist/services/pages.js +262 -0
  46. package/apps/runtime/dist/services/projects.js +73 -2
  47. package/apps/runtime/dist/services/runs.js +2 -0
  48. package/apps/runtime/dist/services/wizards.js +30 -1
  49. package/apps/web/dist/assets/{AboutDialog-DsGqq2Es.js → AboutDialog-CsqUDxPv.js} +1 -1
  50. package/apps/web/dist/assets/{ChangelogDialog-Hn7oDuyx.js → ChangelogDialog-vV9nXOBV.js} +1 -1
  51. package/apps/web/dist/assets/EditorPage-CfmubDLB.js +4 -0
  52. package/apps/web/dist/assets/{FlowPreview-DZ1XL_o1.js → FlowPreview-DoBlokAp.js} +1 -1
  53. package/apps/web/dist/assets/{Harness-BBpl_EUW.js → Harness-GnlSI4-P.js} +2 -2
  54. package/apps/web/dist/assets/Marketplace-CYsq0K7A.js +2 -0
  55. package/apps/web/dist/assets/NewWizardChannels-DUS3dRCj.js +1 -0
  56. package/apps/web/dist/assets/{NewWizardPage-kpm-UyQC.js → NewWizardPage-Cm9ydfUW.js} +2 -2
  57. package/apps/web/dist/assets/OnboardingPage-xI83C1V1.js +1 -0
  58. package/apps/web/dist/assets/PreviewPane-B-X0rChi.js +4 -0
  59. package/apps/web/dist/assets/ProjectPage-Bu6uD-Kb.js +1 -0
  60. package/apps/web/dist/assets/PublicRunner-BWBE74Kn.js +1 -0
  61. package/apps/web/dist/assets/{ReadOnly-CcW91P4l.js → ReadOnly-DKgWZ_1q.js} +1 -1
  62. package/apps/web/dist/assets/SettingsPage-B9euFl71.js +2 -0
  63. package/apps/web/dist/assets/SetupPage-C3XLbBTO.js +1 -0
  64. package/apps/web/dist/assets/{SharePage-CC7V2TYJ.js → SharePage-CSj1sAVS.js} +1 -1
  65. package/apps/web/dist/assets/changelog-pnMcOVO_.js +1 -0
  66. package/apps/web/dist/assets/{coins-RUupcqZx.js → coins-D0MI0EKw.js} +1 -1
  67. package/apps/web/dist/assets/index-DtjKnB3s.css +1 -0
  68. package/apps/web/dist/assets/index-qc7o4bkp.js +14 -0
  69. package/apps/web/dist/assets/{phone-ChnpShTU.js → phone-BZ-sPZr6.js} +1 -1
  70. package/apps/web/dist/assets/runners-CED2yPuf.js +1 -0
  71. package/apps/web/dist/assets/session-DyndueX0.js +2 -0
  72. package/apps/web/dist/assets/{settings-menu-CLw_oucZ.js → settings-menu-C960R1kx.js} +1 -1
  73. package/apps/web/dist/assets/theme-Zp5g-teI.js +11 -0
  74. package/apps/web/dist/assets/ui-DVkIZqDg.js +137 -0
  75. package/apps/web/dist/assets/{upload-0sFU9K8-.js → upload-HFTtsOaE.js} +1 -1
  76. package/apps/web/dist/assets/{useMutation-1jFwXbI6.js → useMutation-D3zIOVOt.js} +1 -1
  77. package/apps/web/dist/assets/{volume-2-C51sO2X0.js → volume-2-DazUIp6w.js} +1 -1
  78. package/apps/web/dist/assets/{wrench-DdT-nErU.js → wrench-BHe19Ol_.js} +1 -1
  79. package/apps/web/dist/index.html +8 -8
  80. package/apps/web/dist/mcp/flow.html +2 -2
  81. package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +3 -3
  82. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +12 -0
  83. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +12 -0
  84. package/node_modules/@engenty/wizards-shared/dist/projects.d.ts +36 -0
  85. package/node_modules/@engenty/wizards-shared/dist/projects.js +25 -0
  86. package/node_modules/@engenty/wizards-shared/dist/run.d.ts +3 -0
  87. package/node_modules/@engenty/wizards-shared/dist/run.js +6 -0
  88. package/package.json +1 -1
  89. package/plugin/.claude-plugin/plugin.json +1 -1
  90. package/plugin/plugin.json +2 -2
  91. package/apps/runtime/dist/docs/dev/integration/wordpress.md +0 -10
  92. package/apps/runtime/dist/docs/user/assistant.md +0 -77
  93. package/apps/runtime/dist/docs/user/wordpress.md +0 -121
  94. package/apps/web/dist/assets/EditorPage-DsJqhoXy.js +0 -4
  95. package/apps/web/dist/assets/Marketplace-BF0Rx0VR.js +0 -2
  96. package/apps/web/dist/assets/NewWizardChannels-WaAOvmzw.js +0 -1
  97. package/apps/web/dist/assets/OnboardingPage-Birm-hM5.js +0 -1
  98. package/apps/web/dist/assets/ProjectPage-CqtpxOq5.js +0 -1
  99. package/apps/web/dist/assets/PublicRunner-CXTHGYHv.js +0 -1
  100. package/apps/web/dist/assets/RunDrawer-ByvmBv6e.js +0 -4
  101. package/apps/web/dist/assets/RunnerView-DcduYZly.js +0 -1
  102. package/apps/web/dist/assets/SettingsPage-Q2CUb7kK.js +0 -2
  103. package/apps/web/dist/assets/SetupPage-C7mzUoiR.js +0 -1
  104. package/apps/web/dist/assets/changelog-7DN_qWR2.js +0 -1
  105. package/apps/web/dist/assets/index-myC3mJie.css +0 -1
  106. package/apps/web/dist/assets/index-qnpoZzuw.js +0 -14
  107. package/apps/web/dist/assets/session-DekDyd9S.js +0 -2
  108. package/apps/web/dist/assets/theme-DjpqxoRe.js +0 -11
  109. package/apps/web/dist/assets/ui-DRYauuxF.js +0 -137
package/README.md CHANGED
@@ -10,32 +10,41 @@
10
10
  Let AI do the work.
11
11
  </p>
12
12
 
13
+ **For personal use and small businesses**\
14
+ Turn a task you repeat into a wizard, or pick a ready one from the
15
+ [gallery](https://engenty.ai/wizards). Use it yourself or share it with colleagues and clients: the
16
+ wizard guides you step by step, you confirm its drafts, and you get the result.
17
+
18
+ **For developers**\
19
+ Wizards are skills on steroids: workflows with their own interface, built and run on your machine
20
+ with Codex, Claude Code or your own API key. They connect to other systems over MCP and HTTP. And
21
+ you can put them into other places, such as Claude and other AI chats, or your own website with an
22
+ embed code.
23
+
24
+ **For enterprises**\
25
+ Wizards make AI dependable. Your domain experts define the business processes themselves, without
26
+ waiting for developers. Host it in the cloud or inside your own walls, with any model provider.
27
+ [Get in touch](mailto:contact@engenty.ai).
28
+
13
29
  ## What it does
14
30
 
15
- - **Describe it, get a wizard.** Say in plain words what you do again and again – a post with
16
- an image, a research briefing, an invoice, a quote, a damage report – and engenty builds a
17
- wizard for it: pages that ask what it needs, AI steps that do the work.
18
- - **AI steps do the work.** They research the web, write, draw images, render video, read PDFs,
19
- scans and emails, build documents and dashboards, and write into other services over MCP, HTTP
20
- or a browser. Anything that changes an account asks first.
21
- - **Share it with a link.** Anyone can run a wizard in the browser, on a phone too: camera,
22
- code scan, voice notes, location and a drawn signature included. Results download as PDF,
23
- Word, HTML, Markdown, PNG, MP4, MP3, CSV, Excel or JSON, or go out as a link. Each wizard
24
- wears a theme of your space: its colours, fonts and effects.
25
- - **Send the result on.** From the result, by email, into Google Drive, OneDrive or S3, to a
26
- Slack channel, through any connected service, or onto a website the wizard opens in its
27
- browser – you sign in yourself and confirm before anything goes public.
28
- - **Runs on your machine, on your subscription.** It uses Codex, Claude Code, Antigravity
29
- or Cursor Agent when one is installed and signed in, so no API key is needed. Or bring a key
30
- (Vercel AI Gateway, OpenAI, Anthropic, Google), or a local model through Ollama. Your wizards and
31
- results stay in a folder on your machine.
31
+ <table>
32
+ <tr><td><strong>Wizards Studio</strong></td><td>Say in plain words what you need, and the studio builds the workflow and its pages. Preview every step and test it before you share.</td></tr>
33
+ <tr><td><strong>Any LLM</strong></td><td>Use any model provider. Each step gets the right model: a light one for simple work, a strong one where it counts, and no AI where none is needed.</td></tr>
34
+ <tr><td><strong>Works anywhere</strong></td><td>In the browser and on a phone, with the camera, voice notes and a signature. It even runs inside Claude, ChatGPT or your own chatbot.</td></tr>
35
+ <tr><td><strong>Create Results</strong></td><td>Reports, tables, images, videos, documents, dashboards: anything AI can make.</td></tr>
36
+ <tr><td><strong>Review &amp; Refine</strong></td><td>People confirm the AI’s drafts or ask for another try, and anything that changes an account or goes public asks first.</td></tr>
37
+ <tr><td><strong>Keeps Memory</strong></td><td>A wizard keeps notes and lists across all its runs.</td></tr>
38
+ <tr><td><strong>Your Look</strong></td><td>Each wizard wears your theme: colours, fonts and effects, in light and dark.</td></tr>
39
+ <tr><td><strong>Integrate &amp; Share</strong></td><td>Share a wizard as a link or an embed code, and send its results by email, to Drive or Slack, or through any connector.</td></tr>
40
+ </table>
32
41
 
33
42
  ## How it looks
34
43
 
35
- The studio: the conversation that changes a wizard, next to its steps as a flow with its branches.
44
+ The studio: the conversation that changes a wizard, the preview of each page as people see it, and its steps as a flow with its branches.
36
45
 
37
46
  <p align="center">
38
- <img src="docs/assets/studio.png" alt="The studio of engenty wizards: the assistant explains where a wizard that collects a month's receipts for bookkeeping looks for them; beside it the wizard's flow – two pages of questions, AI steps that branch to the mailbox and to customer portals, a review and the result">
47
+ <img src="docs/assets/studio.png" alt="The studio of engenty wizards: on the left the assistant explains where a wizard that turns property photos into a walkthrough video branches – an optional voice-over and two ways to animate the rooms; in the middle the preview of its first page, which property, with title, key facts and location; on the right the flow with those branches">
39
48
  </p>
40
49
 
41
50
  A wizard in use: it asks on one page, then on the next, and ends with the result to download or share.
@@ -73,7 +82,7 @@ then walks you through the rest:
73
82
  you publish on this computer then runs in the cloud too. Esc while it waits, or say no, and
74
83
  `wizards account sign-in` does it any time.
75
84
  `--local` leaves the account out: nothing leaves the computer, links answer on it only
76
- ([local only](https://engenty.ai/docs/user/local-only)).
85
+ ([local only](https://engenty.ai/docs/user-guide/local-only)).
77
86
  - **An AI client.** It looks for Codex, Claude Code, Antigravity and Cursor Agent and
78
87
  offers to install the missing ones – first the one whose app (Claude, ChatGPT, Antigravity,
79
88
  Cursor) is on your Mac, as its subscription is most likely yours already. The first page of the studio
@@ -132,25 +141,11 @@ Change it later under Settings → Models.
132
141
 
133
142
  ## Using it
134
143
 
135
- - **Make a wizard:** describe it in the studio’s chat, or start from one of the templates.
136
- You see the steps as a diagram and can change any of them.
137
- - **Run and share:** try it yourself, then share the link. Shared results are kept for 7 days
138
- for people without an account. “Share” on a result also sends it by email, saves it to a
139
- cloud folder or posts it: [Sharing a result](docs/development.md#sharing-a-result).
140
- - **Connect services:** Gmail, Google Drive, Calendar, Contacts, Outlook, OneDrive, Slack,
141
- GitHub, HubSpot and S3 are built in; any other service can be added from its API description
142
- or MCP server through the [integrations.sh](https://integrations.sh) registry. Services that
143
- sign in with OAuth need a few settings first: [Connectors](docs/development.md#connectors).
144
- - **Give it a look:** under “Look” a wizard wears a theme of your space – colours, fonts and
145
- effects – or ask the assistant, for example “Make it dark and spooky for Halloween.”
146
- - **Build from Claude Code or Codex:** Settings → Integrate adds engenty wizards to your AI
147
- apps (Claude Desktop, Claude Code, Codex, Cursor and others), or `wizards connect` from a
148
- terminal. In Claude Code, the plugin also lists your wizards beside the chat:
149
- `claude plugin marketplace add engenty/wizards`, then `claude plugin install wizards@engenty`.
150
-
151
- Your machine only answers on `localhost`. To let others open shared wizards, sign in with your
152
- account: every version that goes live also runs on engenty.ai, even while your computer is off.
153
- Or run it on a server.
144
+ The [user guide](https://engenty.ai/docs/user) shows how to
145
+ [build a wizard](https://engenty.ai/docs/user/build-a-wizard),
146
+ [test and share it](https://engenty.ai/docs/user/test-and-share),
147
+ [connect services](https://engenty.ai/docs/user/connectors) and
148
+ [use it from your AI apps](https://engenty.ai/docs/user/ai-apps).
154
149
 
155
150
  ## Your data
156
151
 
@@ -14,7 +14,7 @@ function contentDir() {
14
14
  join(here, "..", "docs"),
15
15
  join(here, "..", "..", "..", "..", "docs", "content"),
16
16
  ]) {
17
- if (existsSync(join(dir, "user"))) {
17
+ if (existsSync(join(dir, "user-guide"))) {
18
18
  return dir;
19
19
  }
20
20
  }
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * What engenty wizards is, on one page, in every turn of the studio assistant. Written from the
3
- * user guide (docs/content/user/index.md and the pages it links); the details are a docs_search
3
+ * user guide (docs/content/user-guide/index.md and the pages it links); the details are a docs_search
4
4
  * away.
5
5
  */
6
6
  export const PRIMER = `ENGENTY WIZARDS IN ONE PAGE
7
7
  engenty wizards turns something done again and again into a wizard: pages that ask what it needs, AI steps that do the work, and a link to share. It runs on the person's own computer (a "local install" at ~/.engenty/wizards, studio at /studio) or in the cloud at engenty.ai with an account.
8
8
 
9
9
  Words
10
- - Studio: where wizards are built. Home lists the space's wizards; the editor (/edit/<id>) shows a wizard's flow as a diagram with its own chat (the architect) that builds and changes it.
10
+ - Studio: where wizards are built. Home lists the space's wizards; the editor (/edit/<id>) has its own chat (the architect) that builds and changes the wizard, a preview of each step as people see it with the steps in a row above it, and beside it the flow as a diagram and the editor of the step chosen.
11
11
  - Wizard: a flow of steps a person walks through on a link. Step kinds: a page (fields to fill in), an AI step (an agent with tools: web search, reading files, writing documents, images, video, pages, other services), a review, and the result.
12
12
  - Run: one person going through a wizard once. Results lists every run that reached its result.
13
13
  - Space: what all wizards of a team know. Its page has four parts: Info & brand (title, about, logos, colours, assets, facts), Knowledge (pages, tables and files the AI steps look things up in, kept apart by typed categories), Data (tables and pages the wizards keep) and Results (finished runs).
@@ -0,0 +1 @@
1
+ ALTER TABLE `project` ADD `page` text;