@engenty/wizards-runtime 0.11.2 → 0.11.3

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 (89) hide show
  1. package/apps/runtime/dist/agents/studio-assistant.js +2 -2
  2. package/apps/runtime/dist/app.js +4 -0
  3. package/apps/runtime/dist/assistant/primer.js +2 -2
  4. package/apps/runtime/dist/auth/index.js +32 -7
  5. package/apps/runtime/dist/docs/dev/licensing.md +53 -28
  6. package/apps/runtime/dist/docs/dev/plugins/events.md +1 -1
  7. package/apps/runtime/dist/docs/dev/plugins/index.md +1 -1
  8. package/apps/runtime/dist/docs/dev/plugins/space.md +1 -1
  9. package/apps/runtime/dist/docs/dev/plugins/studio.md +5 -4
  10. package/apps/runtime/dist/docs/dev/wizard-format/index.md +5 -5
  11. package/apps/runtime/dist/docs/dev/wizard-format/motion-graphics-steps.md +17 -9
  12. package/apps/runtime/dist/docs/dev/wizard-format/themes.md +1 -1
  13. package/apps/runtime/dist/docs/user-guide/create-account.md +11 -4
  14. package/apps/runtime/dist/docs/user-guide/first-start.md +10 -2
  15. package/apps/runtime/dist/docs/user-guide/plugins.md +1 -1
  16. package/apps/runtime/dist/docs/user-guide/space.md +15 -7
  17. package/apps/runtime/dist/docs/user-guide/steps.md +10 -9
  18. package/apps/runtime/dist/docs/user-guide/troubleshooting.md +3 -3
  19. package/apps/runtime/dist/manage.js +60 -2
  20. package/apps/runtime/dist/routes/marketplace.js +26 -2
  21. package/apps/runtime/dist/routes/organization.js +114 -0
  22. package/apps/runtime/dist/routes/person.js +45 -0
  23. package/apps/runtime/dist/routes/studio.js +63 -7
  24. package/apps/runtime/dist/services/onboarding-find.js +123 -0
  25. package/apps/runtime/dist/services/onboarding.js +77 -16
  26. package/apps/runtime/dist/services/organization-context.js +40 -0
  27. package/apps/runtime/dist/texts.js +12 -1
  28. package/apps/web/dist/assets/{AboutDialog-Bx6j5lZO.js → AboutDialog-DlbfynVv.js} +1 -1
  29. package/apps/web/dist/assets/{ChangelogDialog-C620Sw_A.js → ChangelogDialog-DciD55wO.js} +1 -1
  30. package/apps/web/dist/assets/{CodeEditor-DifBNaqQ.js → CodeEditor-9kXX-juf.js} +1 -1
  31. package/apps/web/dist/assets/EditorPage-ovstPrvJ.js +3 -0
  32. package/apps/web/dist/assets/{FlowPreview-ucwQ_dTr.js → FlowPreview-BY3kJO9l.js} +1 -1
  33. package/apps/web/dist/assets/{Harness-Br0Z_anI.js → Harness-BqcSaPmJ.js} +2 -2
  34. package/apps/web/dist/assets/Marketplace-DxcNtFdJ.js +2 -0
  35. package/apps/web/dist/assets/{NewWizardChannels-Cau6XSbl.js → NewWizardChannels-CmeAOy0q.js} +1 -1
  36. package/apps/web/dist/assets/NewWizardPage-C2Ne-QFZ.js +7 -0
  37. package/apps/web/dist/assets/OnboardingPage-CGEgLpx0.js +1 -0
  38. package/apps/web/dist/assets/PreviewPane-VnxYvrbF.js +10 -0
  39. package/apps/web/dist/assets/ProjectPage-CGpsFPJ4.js +1 -0
  40. package/apps/web/dist/assets/PublicRunner-b4vSNmVB.js +1 -0
  41. package/apps/web/dist/assets/{ReadOnly-DGBDtXFP.js → ReadOnly-C7Kk-1Vg.js} +1 -1
  42. package/apps/web/dist/assets/SettingsPage-Cgt3zVu5.js +2 -0
  43. package/apps/web/dist/assets/SetupPage-DmYnhiMq.js +1 -0
  44. package/apps/web/dist/assets/{SharePage-BhWeqF3w.js → SharePage-DMgm31Y_.js} +1 -1
  45. package/apps/web/dist/assets/changelog-CJYpF3Mx.js +1 -0
  46. package/apps/web/dist/assets/{coins-CwURUZyt.js → coins-Dd9IUAaR.js} +1 -1
  47. package/apps/web/dist/assets/i18n-QZC6TtrB.js +55 -0
  48. package/apps/web/dist/assets/index-Cfn8Jnfl.js +34 -0
  49. package/apps/web/dist/assets/index-DQc1EITf.css +1 -0
  50. package/apps/web/dist/assets/{phone-DTxGRwhK.js → phone-DKeaGjd9.js} +1 -1
  51. package/apps/web/dist/assets/{runners-BMOIT6Ze.js → runners-D2_oJdgS.js} +1 -1
  52. package/apps/web/dist/assets/session-DBNhp6sF.js +2 -0
  53. package/apps/web/dist/assets/settings-menu-B09fSEin.js +1 -0
  54. package/apps/web/dist/assets/theme-CdWeSjNs.js +11 -0
  55. package/apps/web/dist/assets/{ui-gsqxnFnT.js → ui-BPfapiMz.js} +4 -4
  56. package/apps/web/dist/assets/{upload-BkwjFS-0.js → upload-DCYRRi4d.js} +1 -1
  57. package/apps/web/dist/assets/{useMutation-BS-U9g_a.js → useMutation-BGqWiJkl.js} +1 -1
  58. package/apps/web/dist/assets/{volume-2-CYOgux-z.js → volume-2-D_FTVDPk.js} +1 -1
  59. package/apps/web/dist/assets/{wrench-DIfUvYPN.js → wrench-BYwez0dN.js} +1 -1
  60. package/apps/web/dist/index.html +9 -9
  61. package/apps/web/dist/mcp/flow.html +2 -2
  62. package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +1 -1
  63. package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +5 -5
  64. package/node_modules/@engenty/wizards-shared/dist/addresses.d.ts +17 -0
  65. package/node_modules/@engenty/wizards-shared/dist/addresses.js +97 -0
  66. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +9 -3
  67. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +9 -3
  68. package/node_modules/@engenty/wizards-shared/dist/marketplace.d.ts +7 -0
  69. package/node_modules/@engenty/wizards-shared/dist/sectors.d.ts +24 -0
  70. package/node_modules/@engenty/wizards-shared/dist/sectors.js +319 -0
  71. package/package.json +1 -1
  72. package/plugin/.claude-plugin/plugin.json +1 -1
  73. package/plugin/plugin.json +1 -1
  74. package/apps/web/dist/assets/EditorPage-DWf9QG-U.js +0 -3
  75. package/apps/web/dist/assets/Marketplace-CFDpVMWM.js +0 -2
  76. package/apps/web/dist/assets/NewWizardPage-CrFqInHR.js +0 -7
  77. package/apps/web/dist/assets/OnboardingPage-BZk42_R7.js +0 -1
  78. package/apps/web/dist/assets/PreviewPane-D9n6tylf.js +0 -10
  79. package/apps/web/dist/assets/ProjectPage-CteRfxpz.js +0 -1
  80. package/apps/web/dist/assets/PublicRunner-CNanj6-w.js +0 -1
  81. package/apps/web/dist/assets/SettingsPage-ClFQewEL.js +0 -2
  82. package/apps/web/dist/assets/SetupPage-k9gyFvow.js +0 -1
  83. package/apps/web/dist/assets/changelog-BrhGlZT6.js +0 -1
  84. package/apps/web/dist/assets/i18n-DEmaSTJV.js +0 -55
  85. package/apps/web/dist/assets/index-ClNm5JaU.js +0 -34
  86. package/apps/web/dist/assets/index-DImS12WR.css +0 -1
  87. package/apps/web/dist/assets/session-xJpGiTU_.js +0 -2
  88. package/apps/web/dist/assets/settings-menu-DcPFhgGA.js +0 -1
  89. package/apps/web/dist/assets/theme-DTi1Zdw8.js +0 -11
@@ -56,7 +56,7 @@ THE SPACE
56
56
  - Asset sections are optional too: tabs of one kind each ("Icons", "Background images"), made with set_asset_sections only when the space holds enough assets of clearly different kinds or the person asks; a handful of pictures stay in the general tab.
57
57
  - Files the person attached are stored already; the message names them. look_at_file shows you a picture or a document's text. Give a file a description with describe_file when it has none or the person says what it is. Take facts from a document when asked.
58
58
  - Knowledge is what the wizards' steps look things up in: pages, tables and files, kept apart by typed categories. Documents the person attaches are read into Knowledge by themselves: say so; do not copy their text into facts unless asked. A website, a sitemap or a folder whose entries should go into Knowledge is a source: where a tool proposes sources, use it (the person takes the proposal on its card); where there is none, say that sources need the Sources plugin.
59
- - Talking from another page than Info & brand, change title, about, logos, colours and facts only when the person asks.
59
+ - Talking from another page than Info or Brand, change title, about, logos, colours and facts only when the person asks.
60
60
  - A space that is read-only (synced from a local install, or an organization that builds elsewhere) has no tools: say where it is changed.
61
61
 
62
62
  HOW YOU WORK
@@ -656,7 +656,7 @@ function traced(tools, input, record) {
656
656
  }
657
657
  /** The part of the space page a route stands on. */
658
658
  function partOf(route) {
659
- const m = route.match(/^\/space\/(info|knowledge|data|results)/);
659
+ const m = route.match(/^\/space\/(info|brand|knowledge|data|results)/);
660
660
  return m ? m[1] : route === "/space" ? "info" : null;
661
661
  }
662
662
  /** How large each tool is in the prompt: its description and its schema, in characters. */
@@ -27,6 +27,8 @@ import { internalRoutes } from "./routes/internal.js";
27
27
  import { notFoundAnswer, requestLang, say, spelledFor } from "./routes/lang.js";
28
28
  import { liveRoutes } from "./routes/live.js";
29
29
  import { marketplaceGuest, marketplaceStudio } from "./routes/marketplace.js";
30
+ import { organizationRoutes } from "./routes/organization.js";
31
+ import { personRoutes } from "./routes/person.js";
30
32
  import { publicPluginRoutes } from "./routes/plugin-public.js";
31
33
  import { pluginRoutes } from "./routes/plugins.js";
32
34
  import { reportRoutes } from "./routes/reports.js";
@@ -281,6 +283,8 @@ if (serves.studio) {
281
283
  // The same gallery for someone not signed in: the studio's start page for guests.
282
284
  app.route("/api/guest/marketplace", marketplaceGuest);
283
285
  app.route("/api/studio/plugins", pluginRoutes);
286
+ app.route("/api/studio/organization", organizationRoutes);
287
+ app.route("/api/studio/person", personRoutes);
284
288
  app.route("/api/studio", studio);
285
289
  app.route("/api/v1", apiRoutes);
286
290
  app.route("/api/local/debug", localDebugRoutes);
@@ -10,7 +10,7 @@ Words
10
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
- - Space: what all wizards of an organization 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).
13
+ - Space: what all wizards of an organization know. Its sources page (Quellen in German, the app bar's second place: where the wizards get what they know) has five parts: Info (title, about, facts, with the main logo to see), Brand (logos, colours, type, assets), 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).
14
14
  - Model class: the kind of model a step needs (Classifier, Low, Standard, High for text; Image, Video, Speech, Audio). Which model serves a class is a setting (Settings › Models), not part of the wizard.
15
15
 
16
16
  Thinking: an installed AI client on the person's subscription (Claude Code, Codex, Antigravity, Cursor Agent), own API keys (OpenAI, Anthropic, Google, fal.ai, ElevenLabs, Replicate, Vercel AI Gateway), a local model (Ollama), or engenty credits from an account. Settings › Models shows which way serves each class and what is missing.
@@ -23,4 +23,4 @@ Plugins add pages to the studio (a Shop, a Termin-Planer), settings sections, se
23
23
 
24
24
  Account and plans: an account is optional on a local install; it brings credits, cloud publishing, sync and Pro modules. In the cloud, organizations are on a plan (Free, Pro, Team) with monthly credits; credits can be topped up on the account's billing page. Plans, prices and the balance come from the account (tools: plans, account, usage), never from memory.
25
25
 
26
- Studio addresses: / (home), /new (a new wizard), /edit/<id> (the editor), /space/info, /space/knowledge, /space/data, /space/results, /settings/account, /settings/organization (cloud), /settings/connectors, /settings/models, /settings/integrate (AI apps), /settings/plugins, and the pages plugins add.`;
26
+ Studio addresses: / (home), /new (a new wizard), /edit/<id> (the editor), /space/info, /space/brand, /space/knowledge, /space/data, /space/results, /settings/account, /settings/organization (cloud), /settings/connectors, /settings/models, /settings/integrate (AI apps), /settings/plugins, and the pages plugins add.`;
@@ -8,6 +8,7 @@ import { control, controlDb, withTenant } from "../db/client.js";
8
8
  import { basePath, env } from "../env.js";
9
9
  import { discovery, managed, tokenRequest, verifyToken, } from "../manage.js";
10
10
  import { refreshPro } from "../plugins/pro.js";
11
+ import { requestLang, say } from "../routes/lang.js";
11
12
  import { seal, unseal } from "../secrets/crypto.js";
12
13
  import { LOCAL_TENANT } from "../tenants/tenant.js";
13
14
  import { finishLink } from "./account.js";
@@ -88,8 +89,16 @@ const cookiePath = basePath || "/";
88
89
  /** Where a sign-in and the local link lead: the studio. */
89
90
  const home = `${basePath}/studio/`;
90
91
  const callbackUrl = () => `${env.appUrl}/api/auth/callback`;
92
+ /** A sign-in returns into the studio or to a public wizard; any other address goes to the studio. */
93
+ const RETURN_INTO = [`${basePath}/studio`, `${basePath}/w/`, `${basePath}/s/`];
91
94
  function safeReturn(path) {
92
- return path?.startsWith("/") && !path.startsWith("//") ? path : home;
95
+ if (!path || path.startsWith("//") || path.includes("\\")) {
96
+ return home;
97
+ }
98
+ const into = RETURN_INTO.some((start) => start.endsWith("/")
99
+ ? path.startsWith(start)
100
+ : path === start || path.startsWith(`${start}/`) || path.startsWith(`${start}?`));
101
+ return into ? path : home;
93
102
  }
94
103
  function setSessionCookie(c, id) {
95
104
  setCookie(c, SESSION_COOKIE, id, {
@@ -160,6 +169,15 @@ async function sessionPrincipal(id) {
160
169
  image: row.image,
161
170
  };
162
171
  }
172
+ /** A new name for the person in every session of theirs here: the menu shows it at the next read. */
173
+ export async function renameSessions(userId, name) {
174
+ await controlDb.update(control.session).set({ name }).where(eq(control.session.userId, userId));
175
+ for (const [id, hit] of sessions) {
176
+ if (hit.row.userId === userId) {
177
+ sessions.delete(id);
178
+ }
179
+ }
180
+ }
163
181
  /** Sessions that ran out go once an hour, with the retention job. */
164
182
  export async function purgeSessions() {
165
183
  await controlDb.delete(control.session).where(lt(control.session.expiresAt, new Date()));
@@ -173,7 +191,8 @@ export async function principalOf(c) {
173
191
  const id = getCookie(c, SESSION_COOKIE);
174
192
  return id ? sessionPrincipal(id) : null;
175
193
  }
176
- const closePage = (message) => `<!doctype html><meta charset="utf-8"><title>engenty wizards</title>
194
+ /** One line on a page of its own, in the language the browser asks for. */
195
+ const closePage = (c, message) => `<!doctype html><html lang="${requestLang(c)}"><meta charset="utf-8"><title>engenty wizards</title>
177
196
  <body style="font:16px system-ui;display:grid;place-items:center;height:100vh;margin:0;color:#333">
178
197
  <p>${message}</p>`;
179
198
  export const authRoutes = new Hono()
@@ -195,7 +214,7 @@ export const authRoutes = new Hono()
195
214
  usedTickets.set(ticket, expires);
196
215
  }
197
216
  else if (managed || !accessKey || !sameValue(given, accessKey)) {
198
- return c.text("This link is no longer valid. Run wizards open to get a new one.", 403);
217
+ return c.html(closePage(c, say(c, "localLinkUsed")), 403);
199
218
  }
200
219
  else {
201
220
  accessKey = null;
@@ -276,6 +295,12 @@ export const authRoutes = new Hono()
276
295
  code_challenge_method: "S256",
277
296
  state: state.nonce,
278
297
  }).toString();
298
+ // The organization the sign-in is for (the studio's switcher): a member gets its token
299
+ // without the picker. Its id or address, nothing else.
300
+ const organization = c.req.query("organization") ?? "";
301
+ if (/^[A-Za-z0-9_-]{1,100}$/.test(organization)) {
302
+ url.searchParams.set("organization", organization);
303
+ }
279
304
  // What the person wants built (the studio's start page): the account's sign-in page shows it.
280
305
  const wish = (c.req.query("wish") ?? "").trim().slice(0, WISH_MAX);
281
306
  if (wish) {
@@ -289,7 +314,7 @@ export const authRoutes = new Hono()
289
314
  if (!managed) {
290
315
  // The linked account of a runtime that runs alone: the system browser lands here.
291
316
  if (!code) {
292
- return c.html(closePage("Sign-in cancelled. You can close this window."), 400);
317
+ return c.html(closePage(c, say(c, "accountSignInCancelled")), 400);
293
318
  }
294
319
  try {
295
320
  await finishLink(code, rawState);
@@ -297,11 +322,11 @@ export const authRoutes = new Hono()
297
322
  void firstSync();
298
323
  // The Pro modules the account's plan includes.
299
324
  void refreshPro();
300
- return c.html(closePage("Signed in. You can close this window."));
325
+ return c.html(closePage(c, say(c, "accountSignedIn")));
301
326
  }
302
327
  catch (err) {
303
328
  console.error("[account]", err);
304
- return c.html(closePage("The sign-in didn’t work. Try again."), 400);
329
+ return c.html(closePage(c, say(c, "accountSignInFailed")), 400);
305
330
  }
306
331
  }
307
332
  const state = unseal(getCookie(c, STATE_COOKIE) ?? "");
@@ -338,7 +363,7 @@ export const authRoutes = new Hono()
338
363
  exp: Date.now() + 2 * 60_000,
339
364
  });
340
365
  const link = `engenty-wizards://signin?code=${encodeURIComponent(code)}`;
341
- return c.html(`${closePage("Signed in. Go back to engenty wizards now.")}
366
+ return c.html(`${closePage(c, say(c, "desktopSignedIn"))}
342
367
  <script>location.href = ${JSON.stringify(link)};</script>`);
343
368
  }
344
369
  setSessionCookie(c, id);
@@ -1,32 +1,26 @@
1
1
  ---
2
2
  title: Licensing
3
- description: Which parts of engenty wizards are MIT, which are FSL-1.1-MIT, and what that means for your tools.
4
- version: 0.11.1
3
+ description: How we handle sharing the source and enable your usage.
4
+ version: 0.11.2
5
5
  ---
6
6
 
7
7
  The wizard format and the runner are under the MIT licence. Anyone may read, write and run
8
8
  wizards in their own tools, open or closed. The studio, the runtime and the rest of the code are
9
9
  source available under FSL-1.1-MIT.
10
10
 
11
- ## Which part is under which licence
11
+ ## MIT
12
12
 
13
- | What | Licence |
14
- |---|---|
15
- | The wizard format: the sixteen files of `packages/shared` that define a wizard, read it and pack it as a `.wizard` file | MIT or FSL-1.1-MIT, your choice ([LICENSE-MIT](https://github.com/engenty/wizards/blob/main/packages/shared/LICENSE-MIT)) |
16
- | The runner, `@engenty/wizards-runner` in `packages/runner` | MIT ([LICENSE](https://github.com/engenty/wizards/blob/main/packages/runner/LICENSE)) |
17
- | The plugin for the AI apps, `plugin/`, without the engenty figures in it | MIT ([LICENSE](https://github.com/engenty/wizards/blob/main/plugin/LICENSE)) |
18
- | Everything else: the studio, the runtime, the `wizards` command, `@engenty/wizards` on npm | FSL-1.1-MIT ([LICENSE](https://github.com/engenty/wizards/blob/main/LICENSE)) |
19
- | The engenty figures as artwork | CC BY 4.0 ([LICENSE-FIGURES](https://github.com/engenty/wizards/blob/main/LICENSE-FIGURES)) |
20
- | The name and the figures as a brand | Trademarks ([TRADEMARKS.md](https://github.com/engenty/wizards/blob/main/TRADEMARKS.md)) |
13
+ Use it, change it and share it in any app, open or closed. Keep the licence text with it.
21
14
 
22
- [COPYRIGHTS.md](https://github.com/engenty/wizards/blob/main/COPYRIGHTS.md) lists the exact
23
- files under each licence. Where it and this page differ, COPYRIGHTS.md and the licence files
24
- count.
15
+ | Part | Where | Licence |
16
+ |---|---|---|
17
+ | The wizard format | sixteen files in `packages/shared/src` | MIT or FSL-1.1-MIT, your choice ([LICENSE-MIT](https://github.com/engenty/wizards/blob/main/packages/shared/LICENSE-MIT)) |
18
+ | The runner | `@engenty/wizards-runner` in `packages/runner` | MIT ([LICENSE](https://github.com/engenty/wizards/blob/main/packages/runner/LICENSE)) |
19
+ | The plugin for the AI apps | `plugin/`, without the engenty figures in it | MIT ([LICENSE](https://github.com/engenty/wizards/blob/main/plugin/LICENSE)) |
25
20
 
26
- ## The wizard format
21
+ ### The wizard format
27
22
 
28
- These sixteen files in `packages/shared/src` define a wizard, read it and pack it as a
29
- `.wizard` file:
23
+ These sixteen files define a wizard, read it and pack it as a `.wizard` file:
30
24
 
31
25
  - `definition.ts`, `fit.ts`, `numbers.ts`, `run.ts`, `runner-texts.ts`, `shape.ts`
32
26
  - `sharing.ts`, `store.ts`, `surface.ts`, `texts.ts`, `translation.ts`
@@ -34,13 +28,12 @@ These sixteen files in `packages/shared/src` define a wizard, read it and pack i
34
28
  - `wizard-package.ts`: the `.wizard` file and its `wizard.json`
35
29
  - `engenty/data-tables/columns.ts`, `columns-format.ts`, `columns-value.ts`
36
30
 
37
- Each says `SPDX-License-Identifier: FSL-1.1-MIT OR MIT` in its first line. You choose which of
38
- the two licences you take them under. Take MIT, and you can use the format in any tool: an
39
- editor, a converter, your own runtime. These files import only each other and zod. The rest of
40
- `packages/shared` is FSL-1.1-MIT. That includes `theme-look.ts`, which turns a theme into the
41
- look of a run.
31
+ Each says `SPDX-License-Identifier: FSL-1.1-MIT OR MIT` in its first line, and you choose which
32
+ of the two licences you take them under. Take MIT, and you can use the format in any tool: an
33
+ editor, a converter, your own runtime. The files import only each other and zod, so they work
34
+ without the rest of engenty wizards.
42
35
 
43
- ## The runner
36
+ ### The runner
44
37
 
45
38
  `@engenty/wizards-runner` draws a wizard’s run: its pages, fields, reviews and results. It is
46
39
  MIT, the format files it bundles included. Your own app can draw runs with it
@@ -52,9 +45,41 @@ The Functional Source License lets you use the code for yourself and your compan
52
45
  change it. You may not offer it to others as a competing product or service. Each release
53
46
  becomes MIT two years after it is published.
54
47
 
55
- ## The name and the figures
48
+ | Part | Where |
49
+ |---|---|
50
+ | The studio | `apps/web` |
51
+ | The runtime and the `wizards` command | `apps/runtime`, `bin/` |
52
+ | What your code imports, `@engenty/wizards` on npm | `packages/wizards` |
53
+ | The rest of `packages/shared` | including `theme-look.ts`, which turns a theme into the look of a run |
54
+ | Everything else in the repository | unless COPYRIGHTS.md names another licence |
55
+
56
+ The licence: [LICENSE](https://github.com/engenty/wizards/blob/main/LICENSE).
57
+
58
+ ## CC BY 4.0
59
+
60
+ The engenty figures are free artwork. Use, change and share them, commercially too, with
61
+ credit.
62
+
63
+ | Part | Where |
64
+ |---|---|
65
+ | The engenty figures as artwork | the files that describe how they look, and their pictures |
66
+
67
+ The licence: [LICENSE-FIGURES](https://github.com/engenty/wizards/blob/main/LICENSE-FIGURES).
68
+
69
+ ## Trademarks
70
+
71
+ No licence grants rights to the name or the figures as a brand. Using them as your own brand,
72
+ logo or mascot needs permission.
73
+
74
+ | Part | Where |
75
+ |---|---|
76
+ | “engenty”, “engenty wizards” and the wordmark | everywhere they appear |
77
+ | The engenty figures as a brand | everywhere they appear |
78
+
79
+ The rules: [TRADEMARKS.md](https://github.com/engenty/wizards/blob/main/TRADEMARKS.md).
80
+
81
+ ## The exact files
56
82
 
57
- The engenty figures are free artwork under CC BY 4.0: use, change and share them, commercially
58
- too, with credit. No licence grants rights to the name or the figures as a brand. Using them
59
- as your own brand, logo or mascot needs permission
60
- ([TRADEMARKS.md](https://github.com/engenty/wizards/blob/main/TRADEMARKS.md)).
83
+ [COPYRIGHTS.md](https://github.com/engenty/wizards/blob/main/COPYRIGHTS.md) lists the exact
84
+ files under each licence. Where it and this page differ, COPYRIGHTS.md and the licence files
85
+ count.
@@ -36,7 +36,7 @@ server.on("run.done", async ({ run, wizard, values }) => {
36
36
  | Event | A space | Gets |
37
37
  |---|---|---|
38
38
  | `space.created` | was made here, or arrived from engenty wizards on someone’s computer | `{ space: { id } }` |
39
- | `space.updated` | changed its name, its brand (Info & brand), its facts or its connected systems, or arrived again from a computer | `{ space: { id } }` |
39
+ | `space.updated` | changed its name, its brand (Info and Brand), its facts or its connected systems, or arrived again from a computer | `{ space: { id } }` |
40
40
  | `space.deleted` | was deleted | `{ space: { id } }` |
41
41
  | `space.file.ready` | has a file that was read: a document is in the index now | `{ space: { id }, file: { id, name, kind, mime } }` |
42
42
  | `space.file.removed` | lost a file | `{ space: { id }, file: { id, name, kind, mime } }` |
@@ -28,7 +28,7 @@ loads them from their files and loads a plugin again when its files change.
28
28
  | A page of the studio | Behind an icon in the app bar, or at its address | [The studio half](./studio.md) |
29
29
  | A section of the settings | In the settings’ list | [The studio half](./studio.md) |
30
30
  | A section of the space page | In one of its parts, below the part’s own sections | [The studio half](./studio.md#the-space) |
31
- | A part of the space page | In the space’s menu, beside Info & brand, Knowledge, Data and Results | [The studio half](./studio.md#a-part-of-the-plugins-own) |
31
+ | A part of the space page | In the space’s menu, beside Info, Brand, Knowledge, Data and Results | [The studio half](./studio.md#a-part-of-the-plugins-own) |
32
32
 
33
33
  ## Two halves
34
34
 
@@ -99,7 +99,7 @@ server.registerSpaceContext({
99
99
 
100
100
  ## The space’s brand
101
101
 
102
- `server.spaces.brand(space)` reads what Info & brand holds of the space’s look, for a block, a
102
+ `server.spaces.brand(space)` reads what Info and Brand hold of the space’s look, for a block, a
103
103
  page or a model call in it:
104
104
 
105
105
  ```ts
@@ -123,11 +123,12 @@ studio.registerSettingsSection({
123
123
  ## The space
124
124
 
125
125
  A space holds what all its wizards share: a title, logos, colours, facts and Knowledge. The
126
- space page, behind the house icon (Space) in the app bar, shows them in four parts:
126
+ space page, behind the layers icon (Sources) in the app bar, shows them in five parts:
127
127
 
128
128
  | Part | `group` | Holds |
129
129
  |---|---|---|
130
- | Info & brand | `info` | Basics, Facts, Logos, Colours, Brand assets |
130
+ | Info | `info` | Basics, Facts |
131
+ | Brand | `brand` | Logos, Colours, Typography, Brand assets |
131
132
  | Knowledge | `knowledge` | Documents, pages, tables and files with their categories: what every AI step looks things up in |
132
133
  | Data | `data` | What the wizards keep |
133
134
  | Results | `results` | The runs that reached their result |
@@ -166,8 +167,8 @@ studio.registerSpaceSection({
166
167
  - `studio.useSpace()` is a hook: `{ id, name, readOnly, brand }`, or `null` while there is none.
167
168
  A component that calls it draws again when the person picks another space, or changes its
168
169
  brand. `readOnly`: the space is edited in engenty wizards on a computer and only shown here,
169
- or nothing is built on this runtime. Show it, but change nothing. `brand` is what Info & brand
170
- holds of the look: `name`, `colors` (`{ name, value }`, the first is the accent) and `fonts`
170
+ or nothing is built on this runtime. Show it, but change nothing. `brand` is what Info and Brand
171
+ hold of the look: `name`, `colors` (`{ name, value }`, the first is the accent) and `fonts`
171
172
  (`{ family, role, weights }`).
172
173
  - Every wizard belongs to a space: a [run event](./events.md) names it as
173
174
  `wizard.projectId`. Keep it with what the plugin stores to show a space’s part of it.
@@ -1,16 +1,16 @@
1
1
  ---
2
2
  title: The wizard format
3
3
  description: A wizard as one JSON document, what its keys mean, and where each part is described.
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  ---
6
6
 
7
7
  A wizard is one JSON document, its **definition**. The studio exports it as a `.wizard` file
8
8
  and imports one back. You can write either by hand or with a tool, check it in your editor
9
9
  against its [JSON Schema](#json-schema), and check it completely with `wizards validate`.
10
10
 
11
- The wizard format is open: the code that defines it and checks it is under the
12
- [MIT licence](https://github.com/engenty/wizards/blob/main/packages/shared/LICENSE-MIT), so any
13
- tool may read, write and run wizards. [Licensing](../licensing.md) says which files that covers.
11
+ The wizard format is open. The code that defines a wizard, checks it and packs it as a `.wizard`
12
+ file is under the [MIT licence](https://github.com/engenty/wizards/blob/main/packages/shared/LICENSE-MIT),
13
+ so any tool may read, write and run wizards. [Licensing](../licensing.md) lists the files.
14
14
 
15
15
  ## The definition
16
16
 
@@ -145,7 +145,7 @@ always a `result` step.
145
145
  | `generate` | Makes an image, a video, a voice-over, a document or a dashboard | [Images, video and documents](./generate-steps.md) |
146
146
  | `surface` | Shows a view built from the surface catalog | [Views and widgets](./views-and-widgets.md) |
147
147
  | `widget` | Shows an HTML app from the wizard’s workspace | [Views and widgets](./views-and-widgets.md) |
148
- | `motion-graphics` | Has the AI client on your computer make a motion-graphics video | [Motion graphics](./motion-graphics-steps.md) |
148
+ | `motion-graphics` | Makes an animated video as code: an explainer, a product spot, a short | [Motion graphics](./motion-graphics-steps.md) |
149
149
  | `review` | Shows earlier results to check, change or make again | [Review and result](./review-and-result.md) |
150
150
  | `result` | The last page: the message and the downloads | [Review and result](./review-and-result.md) |
151
151
 
@@ -1,15 +1,16 @@
1
1
  ---
2
2
  title: Motion graphics
3
- description: A motion-graphics step has the AI client on your computer write a video as code, and the runtime renders it.
4
- version: 0.11.1
3
+ description: A motion-graphics step has an AI client write an animated video as code, and the runtime renders it to MP4.
4
+ version: 0.11.2
5
5
  ---
6
6
 
7
- A `motion-graphics` step makes a motion-graphics video: an explainer, a product spot, a short.
8
- The AI client on your computer (Claude Code) writes the video as HTML, CSS and JavaScript in a folder of its own. It looks at its frames and fixes
9
- them, and engenty wizards renders the MP4.
7
+ A `motion-graphics` step makes an animated video: an explainer, a product spot, a short. An AI
8
+ client writes the video as a web page (HTML, CSS and JavaScript) in a folder of its own. It looks
9
+ at the frames and fixes them. The runtime then renders the page to an MP4.
10
10
 
11
- A motion-graphics step runs only where Claude Code is set up as your AI subscription. It never runs on
12
- credits or in the cloud, and it takes 5 to 40 minutes.
11
+ The format names no AI client. In engenty wizards, the step runs on your computer where Claude
12
+ Code is set up as your AI subscription. It never runs on credits or in the cloud. A video takes 5
13
+ to 40 minutes.
13
14
 
14
15
  ```json
15
16
  {
@@ -35,6 +36,12 @@ credits or in the cloud, and it takes 5 to 40 minutes.
35
36
  Files among the inputs (uploads, voice lines, pictures) are copied into `input/<name>/`. Text is
36
37
  written to `input/<name>.md`, JSON to `input/<name>.json`.
37
38
 
39
+ ## What it can draw
40
+
41
+ Anything a browser draws: type, shapes, your pictures, SVG and its animations, Lottie, and 3D
42
+ with Three.js. The skill packages say how. The default, `hyperframes`, brings CSS, SVG, GSAP,
43
+ Lottie and Three.js. Whatever the page uses, the result is an MP4 with sound.
44
+
38
45
  ## A video in steps
39
46
 
40
47
  A video that convinces is made in stages, each with its own review:
@@ -43,5 +50,6 @@ A video that convinces is made in stages, each with its own review:
43
50
  2. A `generate` step with `asset` `voice` reads the whole script.
44
51
  3. The motion-graphics step makes the video from the voice, the pictures and the script.
45
52
 
46
- The motion-graphics step finds the word timings in the voice-over itself. Sounds come from a fixed catalog.
47
- A video leaves the page as a video file, so it shows the EU’s “AI” label in the picture.
53
+ The motion-graphics step finds the word timings in the voice-over itself. Sounds come from a
54
+ fixed catalog. The MP4 is a file that leaves the page, so the EU’s “AI” label is drawn into the
55
+ picture itself.
@@ -109,7 +109,7 @@ headings.
109
109
 
110
110
  A space’s own font, for example the one its website uses, belongs to its brand, not to a theme:
111
111
  uploaded as a file, or loaded from the website’s address after you confirm the licence (see
112
- [Space](../../user-guide/space.md#info--brand)). A theme only names it, with `brand`. A theme that goes
112
+ [Space](../../user-guide/space.md#brand)). A theme only names it, with `brand`. A theme that goes
113
113
  to another space shows that space’s brand font, or a shipped font of the same kind.
114
114
 
115
115
  ### Effects
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Create an account
3
3
  description: Your organization, its space and your wizards live in your account at engenty.ai. Sign up with an invitation code, answer four questions, build.
4
- version: 0.9.3
4
+ version: 0.11.2
5
5
  ---
6
6
 
7
7
  engenty wizards is in a closed beta, so a new account needs an invitation code. “Get started” on
@@ -21,19 +21,26 @@ show them.
21
21
 
22
22
  ## The first visit
23
23
 
24
- The studio asks a few things in four steps. Everything after the first step can be skipped and
24
+ The studio asks a few things in five steps. Everything after the first step can be skipped and
25
25
  changed later.
26
26
 
27
27
  | Page | Asks | Goes to |
28
28
  |---|---|---|
29
- | Welcome | “What will you use engenty for?” (Just me, Club, Small business, Company), a few details, then “What’s your organization called?” (not asked for Just me) | Your organization at account.engenty.ai |
30
- | About you | “Where can the wizards read about you?”: your website. engenty reads your name, what you do, your logo, colours and fonts from it, and the facts your imprint states (address, VAT ID, company register, management, your profiles), or you write a line about yourself | [Space → Info & brand](./space.md#info--brand) |
29
+ | Welcome | “Build wizards for…” (myself, a club, a small business, a company), then “What’s your organization called?” (not asked for myself). With an email address of your organization’s own domain, the name its website gives is filled in | Your organization at account.engenty.ai |
30
+ | Brand | “Where can the wizards read about …?”: the website of your email address and what a web search finds for the name (website, profiles), to tick, and addresses of your own. engenty reads your name, what you do, your logo, colours and fonts, and the facts your imprint states; profiles are kept as facts. Nothing found: a few sentences about what you do, typed or spoken | [Sources → Info](./space.md#info) and [Brand](./space.md#brand) |
31
+ | Details | A few details that fit (size, sector, your role; a phone number for a company, optional) and “Wishes or questions”, typed or spoken: someone at engenty answers a question by email | Your organization at account.engenty.ai |
31
32
  | Knowledge | “What should the wizards know?”: documents the wizards may look things up in, such as price lists, your terms or an FAQ | [Space → Knowledge](./space.md#knowledge) |
32
33
  | Your space | Nothing. It explains the space that holds all of this, “My wizards” (“Meine Wizards” in German) | – |
33
34
 
34
35
  Then “Build your first wizard” opens the page for a new wizard: you describe a task in a
35
36
  sentence, or start from a template. See [Build a wizard](./build-a-wizard.md).
36
37
 
38
+ The questions about your organization are asked once, of the first admin who opens its studio.
39
+ In a second organization you are not greeted again and the space is not explained again: the
40
+ studio asks about that organization by its name and ends with its knowledge. Someone you invite,
41
+ and anyone who opens an organization that is set up already, sees one page instead: where they
42
+ are, who invited them, the spaces with their wizards and what their role may do.
43
+
37
44
  ## What the cloud does
38
45
 
39
46
  - Wizards you build here run behind a link that works day and night, on the organization’s credits.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: First start
3
3
  description: Choose how the AI runs on your computer. The studio opens once a test call works.
4
- version: 0.9.3
4
+ version: 0.11.2
5
5
  ---
6
6
 
7
7
  The first page of the studio on your computer is the setup, “Choose how the AI runs”. It asks
@@ -14,11 +14,14 @@ shows your name, your organization and your credits. If you aren’t signed in y
14
14
  has a “Sign in” button that opens your browser for it. If you set engenty wizards up
15
15
  [only for this computer](./local-only.md), the page shows nothing here.
16
16
 
17
+ Below the account, “Use local models” marks the rest of the list. These choices run on this
18
+ computer only. Wizards you publish run in the cloud and need your account.
19
+
17
20
  ## Choose how the AI runs
18
21
 
19
22
  | Choice | Runs on | Needs |
20
23
  |---|---|---|
21
- | engenty credits | Your account’s credits, as in the cloud | An account signed in. Shown only then |
24
+ | engenty credits | Your account’s credits, as in the cloud | An account signed in. Shown only then, under your account |
22
25
  | Claude Code | Your Claude subscription | The client installed and signed in |
23
26
  | Codex | Your ChatGPT subscription | The client installed and signed in |
24
27
  | Antigravity | Your Google AI subscription | The client (`agy`) installed and signed in |
@@ -42,6 +45,11 @@ has a “Sign in” button that opens your browser for it. If you set engenty wi
42
45
  After you connect, one short call checks that the model can be reached. The setup stays until
43
46
  that call works. Then “Open the studio” takes you in.
44
47
 
48
+ If you aren’t signed in to your account, “Open the studio” asks “Continue with your account?”
49
+ first. “Sign in” and “Create account” open your browser, and the studio opens once you are signed
50
+ in. “Continue on this computer only” opens the studio without an account. You can sign in later
51
+ under Settings → Account.
52
+
45
53
  With your own keys, each key has its own Test. It checks the key with the provider, stores it on
46
54
  this computer (on a Mac in the Keychain, elsewhere encrypted in your data folder) and sets that
47
55
  provider’s models for what no other key covers yet. One key that works is enough. Which model does
@@ -13,7 +13,7 @@ A plugin adds to engenty wizards without changing it:
13
13
  | A page | Behind an icon in the studio’s app bar |
14
14
  | A settings section | In the settings |
15
15
  | A section of the space page | In one of the space page’s parts |
16
- | A part of the space page | In the space’s menu, beside Info & brand, Knowledge, Data and Results |
16
+ | A part of the space page | In the space’s menu, beside Info, Brand, Knowledge, Data and Results |
17
17
  | A template | First among the templates of a new wizard |
18
18
  | A channel a wizard runs through | Under “How should it run?” on a new wizard, and under “How others reach it” in the share dialog, where “Set up” opens the plugin’s own setup |
19
19
  | Something that happens when a run ends, or again and again | Nowhere: it works in the background, for example posts a message |
@@ -10,14 +10,14 @@ wizard never has to ask for your company’s name or address.
10
10
  The app bar holds its places, below the space’s tile in its corner:
11
11
 
12
12
  - The house opens the space’s wizards: the list and “New wizard”.
13
- - The layers below it open the space’s page.
13
+ - The layers below it open the space’s sources (“Sources”): what your wizards know.
14
14
  - The tray below them opens the space’s results.
15
15
 
16
16
  On a phone the bar floats along the bottom with the house, the layers and “More” (⋯), which
17
17
  holds the results, the settings and the rest. The space’s tile and name sit at the top left, your
18
18
  picture at the top right.
19
19
 
20
- On the space’s page, the menu on the left shows its three parts. A part opens its own sections,
20
+ On Sources, the menu on the left shows its four parts. A part opens its own sections,
21
21
  and the arrow at the top leads back. On a phone, the parts, a part’s sections and the page take
22
22
  turns.
23
23
 
@@ -25,18 +25,26 @@ Results have no menu: the list above them picks one wizard or all of them.
25
25
 
26
26
  | Part | Sections | Used for |
27
27
  |---|---|---|
28
- | Info & brand | Basics, Facts, Logos, Colours, Brand assets | Who you are and how you look |
28
+ | Info | Basics, Facts | Who you are |
29
+ | Brand | Logos, Colours, Brand assets | How you look |
29
30
  | Knowledge | All, then each category, then the sections plugins add | What every AI step looks things up in |
30
31
  | Data | All data, then each wizard | Tables and pages the wizards keep |
31
32
 
32
- ## Info & brand
33
-
34
- Logos, Colours and Brand assets each have an “Add” menu in their head.
33
+ ## Info
35
34
 
36
35
  | Section | Holds | Used for |
37
36
  |---|---|---|
38
37
  | Basics | “Title” and “About”: what you do, for whom, and the tone you write in | Texts sound like you. People who run a wizard see the title too |
39
38
  | Facts | Labelled values: address, VAT ID, opening hours | Steps use them as written |
39
+
40
+ Beside the title stands your main logo. You change it in Brand: a click on it leads there.
41
+
42
+ ## Brand
43
+
44
+ Logos, Colours and Brand assets each have an “Add” menu in their head.
45
+
46
+ | Section | Holds | Used for |
47
+ |---|---|---|
40
48
  | Logos | One or several, each with a description of what it is for. Upload one, or take it from a web address (“Logo from URL”) | People see the main logo. The description tells a step what a variant is for |
41
49
  | Colours | Named colours, each with a note on its use. Add one, or read them off a web page (“Colours from URL”) | The first colour is the accent of documents, dashboards and public pages |
42
50
  | Brand assets | Images, videos, audio, PDFs, fonts, Lottie and 3D files, in tabs you can search | AI steps place pictures in documents and choose them by their description |
@@ -116,7 +124,7 @@ with its files.
116
124
  engenty wizards on your computer has one space, called “My computer” at first (“Mein Computer” in
117
125
  German). On engenty.ai the organization’s plan says how many spaces it may have. The space’s tile in the
118
126
  app bar opens a menu: it switches between spaces, “Rename space” renames this one, and “Add space”
119
- adds one while the plan has room. Each space has its own wizards, Info & brand, Knowledge, Data,
127
+ adds one while the plan has room. Each space has its own wizards, Info, Brand, Knowledge, Data,
120
128
  connectors and results. The account, the models and the plugins are the same for every space.
121
129
 
122
130
  When you publish wizards from your computer with an account signed in, their space shows up in
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Steps
3
3
  description: What a wizard is made of – pages, AI steps, generated media, widgets, reviews and the result.
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  ---
6
6
 
7
7
  A wizard runs its steps from top to bottom. The last step is always the result.
@@ -13,7 +13,7 @@ A wizard runs its steps from top to bottom. The last step is always the result.
13
13
  | Generate | Makes one thing: an image, a video, a voice-over, a document or a dashboard |
14
14
  | Widget | Shows an interactive view built once for this wizard: a map, a timeline, a calculator, a video |
15
15
  | View | Shows the results in the wizard’s own look: key figures, facts, a list, a chart |
16
- | Motion graphics | Has the AI client on your computer write a video as code, rendered to an MP4 |
16
+ | Motion graphics | Makes an animated video as code, rendered to an MP4: an explainer, a product spot |
17
17
  | Review | Shows what earlier steps made. The person accepts it, edits it or asks for a new version |
18
18
  | Result | The last page: what the person can download or share |
19
19
 
@@ -77,7 +77,7 @@ An AI step has instructions and the tools you allow it:
77
77
 
78
78
  Every AI step can also read and write the wizard’s lists, list its files and read documents:
79
79
  PDFs, scans and photos, Word, Excel, CSV and saved mails. Where the space has Knowledge, the step
80
- searches it too. Every AI step also knows the space’s Info & brand: its title, what it says
80
+ searches it too. Every AI step also knows the space’s Info and Brand: its title, what it says
81
81
  about itself, its facts and colours.
82
82
 
83
83
  Further tools come from three places:
@@ -148,12 +148,13 @@ video: its timeline is then rendered to an MP4 with sound. Ask the assistant for
148
148
 
149
149
  ## Motion graphics
150
150
 
151
- A motion-graphics step hands a brief, the run’s material (voice-overs, pictures, uploads, texts) and the
152
- space’s brand to the AI client installed on your computer (Claude Code). The client writes the
153
- video as code, looks at its frames and fixes them. engenty wizards then renders the MP4: 16:9,
154
- 9:16 or square. A motion-graphics step runs only where Claude Code is set up with your subscription, never
155
- on credits or in the cloud, and it takes 5 to 40 minutes. The voice comes from a generate step
156
- before it.
151
+ A motion-graphics step makes an animated video: an explainer, a product spot, a short. It hands
152
+ a brief, the run’s material (voice-overs, pictures, uploads, texts) and the space’s brand to the
153
+ AI client on your computer (Claude Code). The client writes the video as code, looks at its
154
+ frames and fixes them. engenty wizards then renders the MP4: 16:9, 9:16 or square.
155
+
156
+ The step runs only where Claude Code is set up with your subscription, never on credits or in
157
+ the cloud. A video takes 5 to 40 minutes. The voice comes from a generate step before it.
157
158
 
158
159
  ## Reviews
159
160