@engenty/wizards-runtime 0.9.3 → 0.9.5
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 +34 -39
- package/apps/runtime/dist/assistant/docs.js +1 -1
- package/apps/runtime/dist/assistant/primer.js +2 -2
- package/apps/runtime/dist/cli/main.js +2 -0
- package/apps/runtime/dist/credits/credits.js +9 -3
- package/apps/runtime/dist/db/migrations/tenant/0020_project_page.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0020_snapshot.json +3475 -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 +1 -1
- package/apps/runtime/dist/docs/dev/integration/channels.md +4 -4
- package/apps/runtime/dist/docs/dev/integration/claude-code-plugin.md +1 -1
- package/apps/runtime/dist/docs/dev/integration/embed.md +1 -1
- package/apps/runtime/dist/docs/dev/integration/index.md +2 -3
- package/apps/runtime/dist/docs/dev/integration/link-and-share.md +1 -1
- package/apps/runtime/dist/docs/dev/integration/mcp-apps.md +1 -1
- package/apps/runtime/dist/docs/dev/integration/mcp.md +1 -1
- package/apps/runtime/dist/docs/dev/integration/meta.json +0 -1
- package/apps/runtime/dist/docs/dev/integration/openui.md +1 -1
- package/apps/runtime/dist/docs/dev/integration/results.md +1 -3
- package/apps/runtime/dist/docs/dev/plugins/routes.md +1 -1
- package/apps/runtime/dist/docs/dev/wizard-format/themes.md +2 -2
- package/apps/runtime/dist/docs/dev/wizard-format/validate.md +1 -1
- package/apps/runtime/dist/docs/meta.json +1 -1
- package/apps/runtime/dist/docs/{user → user-guide}/ai-apps.md +4 -5
- package/apps/runtime/dist/docs/{user → user-guide}/build-a-wizard.md +27 -28
- package/apps/runtime/dist/docs/{user → user-guide}/command-line.md +9 -8
- package/apps/runtime/dist/docs/{user → user-guide}/connectors.md +6 -6
- package/apps/runtime/dist/docs/{user → user-guide}/create-account.md +10 -11
- package/apps/runtime/dist/docs/{user → user-guide}/data.md +5 -5
- package/apps/runtime/dist/docs/{user → user-guide}/first-start.md +5 -5
- package/apps/runtime/dist/docs/{user → user-guide}/index.md +3 -3
- package/apps/runtime/dist/docs/{user → user-guide}/install.md +21 -25
- package/apps/runtime/dist/docs/{user → user-guide}/local-only.md +5 -6
- package/apps/runtime/dist/docs/{user → user-guide}/meta.json +0 -2
- package/apps/runtime/dist/docs/{user → user-guide}/models.md +13 -22
- package/apps/runtime/dist/docs/{user → user-guide}/plugins.md +2 -2
- package/apps/runtime/dist/docs/{user → user-guide}/run.md +21 -36
- package/apps/runtime/dist/docs/{user → user-guide}/server.md +1 -1
- package/apps/runtime/dist/docs/{user → user-guide}/space.md +17 -27
- package/apps/runtime/dist/docs/{user → user-guide}/steps.md +22 -34
- package/apps/runtime/dist/docs/{user → user-guide}/test-and-share.md +32 -75
- package/apps/runtime/dist/docs/{user → user-guide}/troubleshooting.md +3 -4
- package/apps/runtime/dist/engine/runner.js +11 -1
- package/apps/runtime/dist/manage.js +15 -2
- package/apps/runtime/dist/plugins/runs.js +4 -1
- package/apps/runtime/dist/routes/runs.js +4 -1
- package/apps/runtime/dist/routes/studio.js +12 -0
- package/apps/runtime/dist/services/errors.js +1 -0
- package/apps/runtime/dist/services/pages.js +262 -0
- package/apps/runtime/dist/services/projects.js +73 -2
- package/apps/runtime/dist/services/runs.js +2 -0
- package/apps/runtime/dist/services/wizards.js +30 -1
- package/apps/web/dist/assets/{AboutDialog-DsGqq2Es.js → AboutDialog-lUBGgvKu.js} +1 -1
- package/apps/web/dist/assets/{ChangelogDialog-Hn7oDuyx.js → ChangelogDialog-B2IJbKX8.js} +1 -1
- package/apps/web/dist/assets/EditorPage-B1syriTz.js +4 -0
- package/apps/web/dist/assets/{FlowPreview-DZ1XL_o1.js → FlowPreview-BUKI8h6o.js} +1 -1
- package/apps/web/dist/assets/{Harness-BBpl_EUW.js → Harness-D35I3Jlp.js} +2 -2
- package/apps/web/dist/assets/Marketplace-C-ft5u_6.js +2 -0
- package/apps/web/dist/assets/NewWizardChannels-PDeL4f5D.js +1 -0
- package/apps/web/dist/assets/{NewWizardPage-kpm-UyQC.js → NewWizardPage-BHw086HN.js} +2 -2
- package/apps/web/dist/assets/OnboardingPage-BYa8Xekc.js +1 -0
- package/apps/web/dist/assets/PreviewPane-Cuatuhi-.js +4 -0
- package/apps/web/dist/assets/ProjectPage-DTbTN9rE.js +1 -0
- package/apps/web/dist/assets/PublicRunner-BnT-zZrI.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-CcW91P4l.js → ReadOnly-C5fdw_kg.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-Bkd5LuRn.js +2 -0
- package/apps/web/dist/assets/SetupPage-CHnbGccO.js +1 -0
- package/apps/web/dist/assets/{SharePage-CC7V2TYJ.js → SharePage-BiPJsotS.js} +1 -1
- package/apps/web/dist/assets/changelog-Do_saoEi.js +1 -0
- package/apps/web/dist/assets/{coins-RUupcqZx.js → coins-DVGgwSrK.js} +1 -1
- package/apps/web/dist/assets/index-C-u3ZXBZ.js +14 -0
- package/apps/web/dist/assets/index-DtjKnB3s.css +1 -0
- package/apps/web/dist/assets/{phone-ChnpShTU.js → phone-DD2g0U0Q.js} +1 -1
- package/apps/web/dist/assets/runners-D6mK0B73.js +1 -0
- package/apps/web/dist/assets/session-BHCBxqVb.js +2 -0
- package/apps/web/dist/assets/{settings-menu-CLw_oucZ.js → settings-menu-DGDn2688.js} +1 -1
- package/apps/web/dist/assets/theme-DQ10nO_L.js +11 -0
- package/apps/web/dist/assets/ui-BV4KP5n2.js +137 -0
- package/apps/web/dist/assets/{upload-0sFU9K8-.js → upload-uc9uftDy.js} +1 -1
- package/apps/web/dist/assets/{useMutation-1jFwXbI6.js → useMutation-BfQIRblT.js} +1 -1
- package/apps/web/dist/assets/{volume-2-C51sO2X0.js → volume-2-BlaOos9n.js} +1 -1
- package/apps/web/dist/assets/{wrench-DdT-nErU.js → wrench-Cfpkphyw.js} +1 -1
- package/apps/web/dist/index.html +8 -8
- package/apps/web/dist/install.ps1 +1 -1
- package/apps/web/dist/install.sh +1 -1
- package/apps/web/dist/mcp/flow.html +2 -2
- package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +3 -3
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +12 -0
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +12 -0
- package/node_modules/@engenty/wizards-shared/dist/projects.d.ts +36 -0
- package/node_modules/@engenty/wizards-shared/dist/projects.js +25 -0
- package/node_modules/@engenty/wizards-shared/dist/run.d.ts +4 -0
- package/node_modules/@engenty/wizards-shared/dist/run.js +8 -0
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +2 -2
- package/apps/runtime/dist/docs/dev/integration/wordpress.md +0 -10
- package/apps/runtime/dist/docs/user/assistant.md +0 -77
- package/apps/runtime/dist/docs/user/wordpress.md +0 -121
- package/apps/web/dist/assets/EditorPage-DsJqhoXy.js +0 -4
- package/apps/web/dist/assets/Marketplace-BF0Rx0VR.js +0 -2
- package/apps/web/dist/assets/NewWizardChannels-WaAOvmzw.js +0 -1
- package/apps/web/dist/assets/OnboardingPage-Birm-hM5.js +0 -1
- package/apps/web/dist/assets/ProjectPage-CqtpxOq5.js +0 -1
- package/apps/web/dist/assets/PublicRunner-CXTHGYHv.js +0 -1
- package/apps/web/dist/assets/RunDrawer-ByvmBv6e.js +0 -4
- package/apps/web/dist/assets/RunnerView-DcduYZly.js +0 -1
- package/apps/web/dist/assets/SettingsPage-Q2CUb7kK.js +0 -2
- package/apps/web/dist/assets/SetupPage-C7mzUoiR.js +0 -1
- package/apps/web/dist/assets/changelog-7DN_qWR2.js +0 -1
- package/apps/web/dist/assets/index-myC3mJie.css +0 -1
- package/apps/web/dist/assets/index-qnpoZzuw.js +0 -14
- package/apps/web/dist/assets/session-DekDyd9S.js +0 -2
- package/apps/web/dist/assets/theme-DjpqxoRe.js +0 -11
- 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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
or
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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 & 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 & 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,
|
|
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
|
|
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
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
|
|
@@ -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>)
|
|
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).
|
|
@@ -31,19 +31,25 @@ export async function balanceCredits() {
|
|
|
31
31
|
}
|
|
32
32
|
return (await tenantInfo(currentTenant(), true).catch(() => null))?.balanceCredits ?? null;
|
|
33
33
|
}
|
|
34
|
-
/**
|
|
35
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Holds credits for a run before it starts. False = the free balance does not cover it;
|
|
36
|
+
* "guest_budget" = a visitor's run past what visitors may spend on this tenant's wizards.
|
|
37
|
+
*/
|
|
38
|
+
export async function reserveForRun(runId, credits, guest = false) {
|
|
36
39
|
if (!managed || credits <= 0) {
|
|
37
40
|
return true;
|
|
38
41
|
}
|
|
39
42
|
try {
|
|
40
|
-
await reserve(currentTenant(), runId, Math.ceil(credits));
|
|
43
|
+
await reserve(currentTenant(), runId, Math.ceil(credits), guest);
|
|
41
44
|
return true;
|
|
42
45
|
}
|
|
43
46
|
catch (err) {
|
|
44
47
|
if (err instanceof ManageError && err.status === 402) {
|
|
45
48
|
return false;
|
|
46
49
|
}
|
|
50
|
+
if (err instanceof ManageError && err.code === "guest_budget") {
|
|
51
|
+
return "guest_budget";
|
|
52
|
+
}
|
|
47
53
|
throw err;
|
|
48
54
|
}
|
|
49
55
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALTER TABLE `project` ADD `page` text;
|