@engenty/wizards-runtime 0.11.1 → 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.
- package/README.md +25 -6
- package/apps/runtime/dist/agents/studio-assistant.js +2 -2
- package/apps/runtime/dist/app.js +9 -0
- package/apps/runtime/dist/assistant/primer.js +2 -2
- package/apps/runtime/dist/auth/index.js +32 -7
- package/apps/runtime/dist/authoring/guide.js +19 -19
- package/apps/runtime/dist/docs/dev/index.md +1 -0
- package/apps/runtime/dist/docs/dev/licensing.md +85 -0
- package/apps/runtime/dist/docs/dev/meta.json +2 -1
- package/apps/runtime/dist/docs/dev/plugins/events.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/index.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/runners.md +2 -2
- package/apps/runtime/dist/docs/dev/plugins/space.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/studio.md +5 -4
- package/apps/runtime/dist/docs/dev/wizard-format/index.md +5 -5
- package/apps/runtime/dist/docs/dev/wizard-format/meta.json +1 -1
- package/apps/runtime/dist/docs/dev/wizard-format/motion-graphics-steps.md +55 -0
- package/apps/runtime/dist/docs/dev/wizard-format/review-and-result.md +2 -2
- package/apps/runtime/dist/docs/dev/wizard-format/themes.md +1 -1
- package/apps/runtime/dist/docs/dev/wizard-format/views-and-widgets.md +2 -2
- package/apps/runtime/dist/docs/dev/wizard-format/wizard-file.md +4 -4
- package/apps/runtime/dist/docs/user-guide/create-account.md +11 -4
- package/apps/runtime/dist/docs/user-guide/first-start.md +10 -2
- package/apps/runtime/dist/docs/user-guide/plugins.md +1 -1
- package/apps/runtime/dist/docs/user-guide/space.md +15 -7
- package/apps/runtime/dist/docs/user-guide/steps.md +17 -16
- package/apps/runtime/dist/docs/user-guide/troubleshooting.md +3 -3
- package/apps/runtime/dist/engine/requirements.js +7 -7
- package/apps/runtime/dist/engine/runner.js +8 -1
- package/apps/runtime/dist/engine/steps.js +3 -3
- package/apps/runtime/dist/files/storage.js +3 -3
- package/apps/runtime/dist/index.js +3 -0
- package/apps/runtime/dist/limits.js +16 -0
- package/apps/runtime/dist/manage.js +79 -2
- package/apps/runtime/dist/models.js +8 -8
- package/apps/runtime/dist/{film → motion-graphics}/project.js +54 -54
- package/apps/runtime/dist/{film → motion-graphics}/sounds.js +3 -3
- package/apps/runtime/dist/{film → motion-graphics}/step.js +37 -37
- package/apps/runtime/dist/{film → motion-graphics}/tools.js +1 -1
- package/apps/runtime/dist/render/downloads.js +2 -2
- package/apps/runtime/dist/render/guard.js +1 -1
- package/apps/runtime/dist/routes/delivery.js +1 -1
- package/apps/runtime/dist/routes/internal.js +1 -1
- package/apps/runtime/dist/routes/marketplace.js +29 -4
- package/apps/runtime/dist/routes/organization.js +114 -0
- package/apps/runtime/dist/routes/person.js +45 -0
- package/apps/runtime/dist/routes/reports.js +80 -0
- package/apps/runtime/dist/routes/runs.js +25 -1
- package/apps/runtime/dist/routes/studio.js +63 -7
- package/apps/runtime/dist/services/brand.js +1 -1
- package/apps/runtime/dist/services/manage-reports.js +190 -0
- package/apps/runtime/dist/services/marketplace.js +33 -1
- package/apps/runtime/dist/services/onboarding-find.js +123 -0
- package/apps/runtime/dist/services/onboarding.js +77 -16
- package/apps/runtime/dist/services/organization-context.js +40 -0
- package/apps/runtime/dist/services/pages.js +1 -1
- package/apps/runtime/dist/services/shipped-fonts.js +2 -1
- package/apps/runtime/dist/services/wizards.js +7 -0
- package/apps/runtime/dist/texts.js +12 -1
- package/apps/runtime/dist/widgets/render.js +9 -9
- package/apps/runtime/dist/widgets/runtime.js +3 -3
- package/apps/runtime/dist/widgets/step.js +20 -20
- package/apps/web/dist/assets/{AboutDialog-D2r8kBfV.js → AboutDialog-DlbfynVv.js} +1 -1
- package/apps/web/dist/assets/{ChangelogDialog-j7Z1YhNv.js → ChangelogDialog-DciD55wO.js} +1 -1
- package/apps/web/dist/assets/{CodeEditor-BTCMfVFJ.js → CodeEditor-9kXX-juf.js} +1 -1
- package/apps/web/dist/assets/EditorPage-ovstPrvJ.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-BtVgtW7P.js → FlowPreview-BY3kJO9l.js} +1 -1
- package/apps/web/dist/assets/{Harness-H4Ue1HOd.js → Harness-BqcSaPmJ.js} +2 -2
- package/apps/web/dist/assets/Marketplace-DxcNtFdJ.js +2 -0
- package/apps/web/dist/assets/{NewWizardChannels-K1HOzkXf.js → NewWizardChannels-CmeAOy0q.js} +1 -1
- package/apps/web/dist/assets/NewWizardPage-C2Ne-QFZ.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-CGEgLpx0.js +1 -0
- package/apps/web/dist/assets/PreviewPane-VnxYvrbF.js +10 -0
- package/apps/web/dist/assets/ProjectPage-CGpsFPJ4.js +1 -0
- package/apps/web/dist/assets/PublicRunner-b4vSNmVB.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-Duk1YpNM.js → ReadOnly-C7Kk-1Vg.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-Cgt3zVu5.js +2 -0
- package/apps/web/dist/assets/SetupPage-DmYnhiMq.js +1 -0
- package/apps/web/dist/assets/{SharePage-DvAUwrOl.js → SharePage-DMgm31Y_.js} +1 -1
- package/apps/web/dist/assets/changelog-CJYpF3Mx.js +1 -0
- package/apps/web/dist/assets/{coins-DSvwvqtQ.js → coins-Dd9IUAaR.js} +1 -1
- package/apps/web/dist/assets/i18n-QZC6TtrB.js +55 -0
- package/apps/web/dist/assets/index-Cfn8Jnfl.js +34 -0
- package/apps/web/dist/assets/index-DQc1EITf.css +1 -0
- package/apps/web/dist/assets/{oss-credits-BLVLXRzs.js → oss-credits-C6bPkfSE.js} +1 -1
- package/apps/web/dist/assets/{phone-xIUU1ZFn.js → phone-DKeaGjd9.js} +1 -1
- package/apps/web/dist/assets/runners-D2_oJdgS.js +1 -0
- package/apps/web/dist/assets/session-DBNhp6sF.js +2 -0
- package/apps/web/dist/assets/settings-menu-B09fSEin.js +1 -0
- package/apps/web/dist/assets/theme-CdWeSjNs.js +11 -0
- package/apps/web/dist/assets/{ui-6AgUKJhQ.js → ui-BPfapiMz.js} +6 -6
- package/apps/web/dist/assets/{upload-C8WgcG1g.js → upload-DCYRRi4d.js} +1 -1
- package/apps/web/dist/assets/{useMutation-BdCg6qrc.js → useMutation-BGqWiJkl.js} +1 -1
- package/apps/web/dist/assets/{volume-2-jlgQapiz.js → volume-2-D_FTVDPk.js} +1 -1
- package/apps/web/dist/assets/{wrench-Ca_TrBQk.js → wrench-BYwez0dN.js} +1 -1
- package/apps/web/dist/index.html +9 -9
- package/apps/web/dist/mcp/flow.html +32 -32
- package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +2 -2
- package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +5 -5
- package/node_modules/@engenty/wizards-shared/dist/addresses.d.ts +17 -0
- package/node_modules/@engenty/wizards-shared/dist/addresses.js +97 -0
- package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +11 -11
- package/node_modules/@engenty/wizards-shared/dist/definition.js +24 -23
- package/node_modules/@engenty/wizards-shared/dist/engenty/data-tables/columns-value.js +1 -0
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +9 -3
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +9 -3
- package/node_modules/@engenty/wizards-shared/dist/fit.d.ts +7 -2
- package/node_modules/@engenty/wizards-shared/dist/fit.js +23 -6
- package/node_modules/@engenty/wizards-shared/dist/marketplace-entry.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/marketplace-entry.js +1 -1
- package/node_modules/@engenty/wizards-shared/dist/marketplace.d.ts +16 -7
- package/node_modules/@engenty/wizards-shared/dist/marketplace.js +7 -23
- package/node_modules/@engenty/wizards-shared/dist/run.d.ts +15 -14
- package/node_modules/@engenty/wizards-shared/dist/run.js +30 -28
- package/node_modules/@engenty/wizards-shared/dist/runners.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/runners.js +5 -5
- package/node_modules/@engenty/wizards-shared/dist/sectors.d.ts +24 -0
- package/node_modules/@engenty/wizards-shared/dist/sectors.js +319 -0
- package/node_modules/@engenty/wizards-shared/dist/store.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/store.js +1 -2
- package/node_modules/@engenty/wizards-shared/dist/theme-look.d.ts +39 -0
- package/node_modules/@engenty/wizards-shared/dist/theme-look.js +112 -0
- package/node_modules/@engenty/wizards-shared/dist/theme.d.ts +0 -38
- package/node_modules/@engenty/wizards-shared/dist/theme.js +1 -108
- package/node_modules/@engenty/wizards-shared/dist/wizard-package.js +1 -0
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/apps/runtime/dist/docs/dev/wizard-format/film-steps.md +0 -47
- package/apps/web/dist/assets/EditorPage-mx6XuEIw.js +0 -3
- package/apps/web/dist/assets/Marketplace-YEZDpGm9.js +0 -2
- package/apps/web/dist/assets/NewWizardPage-DSHVwwnU.js +0 -7
- package/apps/web/dist/assets/OnboardingPage-CoBNtV_1.js +0 -1
- package/apps/web/dist/assets/PreviewPane-z0-Glj7p.js +0 -10
- package/apps/web/dist/assets/ProjectPage-DFaPSeda.js +0 -1
- package/apps/web/dist/assets/PublicRunner-DgT4CApp.js +0 -1
- package/apps/web/dist/assets/SettingsPage-FimvOhQq.js +0 -2
- package/apps/web/dist/assets/SetupPage-BxEMrMtA.js +0 -1
- package/apps/web/dist/assets/changelog-CS9GmnXd.js +0 -1
- package/apps/web/dist/assets/i18n-UTsgNY5M.js +0 -55
- package/apps/web/dist/assets/index-DHIXX69l.js +0 -20
- package/apps/web/dist/assets/index-Mt1sNdPx.css +0 -1
- package/apps/web/dist/assets/runners-CrSLA6HI.js +0 -1
- package/apps/web/dist/assets/session-CbWzkHl0.js +0 -2
- package/apps/web/dist/assets/settings-menu-DoRItnPf.js +0 -1
- package/apps/web/dist/assets/theme-znovbShL.js +0 -11
- /package/apps/runtime/dist/{film → motion-graphics}/skills.js +0 -0
|
@@ -197,7 +197,7 @@ export interface PluginSpaceContext {
|
|
|
197
197
|
*/
|
|
198
198
|
steps?: ("agent" | "html")[];
|
|
199
199
|
}
|
|
200
|
-
/** A space's brand as the studio's Info
|
|
200
|
+
/** A space's brand as the studio's Info and Brand have it: what a plugin draws or writes in its look. */
|
|
201
201
|
export interface PluginBrand {
|
|
202
202
|
/** The title end users see. */
|
|
203
203
|
name: string;
|
|
@@ -702,7 +702,7 @@ export interface PluginRunnerCapabilities {
|
|
|
702
702
|
/** The field kinds the runner asks itself (`text`, `select`, `image`, …); the rest hand off. */
|
|
703
703
|
input: string[];
|
|
704
704
|
output: {
|
|
705
|
-
/** What it shows as it is: `text`, `data`, `image`, `video`, `voice`, `document`, `dashboard`, `widget`, `
|
|
705
|
+
/** What it shows as it is: `text`, `data`, `image`, `video`, `voice`, `document`, `dashboard`, `widget`, `motion-graphics`, `surface`. */
|
|
706
706
|
shows: string[];
|
|
707
707
|
/** What it shows as a picture with a link to the real thing. Anything else is a link. */
|
|
708
708
|
pictures: string[];
|
|
@@ -36,11 +36,11 @@ export interface StudioSettingsSection {
|
|
|
36
36
|
menu?: boolean;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
-
* The parts of the space page: `info` (who the space is
|
|
40
|
-
* `knowledge` (its documents and what its steps search), `data` (what its wizards keep), `page`
|
|
39
|
+
* The parts of the space page: `info` (who the space is: its title, what it does, its facts),
|
|
40
|
+
* `brand` (how it looks: its logos, colours, type and assets), `knowledge` (its documents and what its steps search), `data` (what its wizards keep), `page`
|
|
41
41
|
* (its public page at `<organization>.wizards.page/<slug>`) and `results` (what its runs produced).
|
|
42
42
|
*/
|
|
43
|
-
export type StudioSpaceGroup = "info" | "knowledge" | "data" | "page" | "results";
|
|
43
|
+
export type StudioSpaceGroup = "info" | "brand" | "knowledge" | "data" | "page" | "results";
|
|
44
44
|
/**
|
|
45
45
|
* A section of the space page, in one of its parts, below the part's own sections. The studio
|
|
46
46
|
* draws its heading and hint above it, and its entry in the part's menu under the plugin's name;
|
|
@@ -57,7 +57,7 @@ export interface StudioSpaceSection {
|
|
|
57
57
|
component: ComponentType;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* A part of the space page of the plugin's own, beside Info
|
|
60
|
+
* A part of the space page of the plugin's own, beside Info, Brand, Knowledge, Data and
|
|
61
61
|
* Results: an entry in the parts' menu and a page at `/space/<id>`. The component draws the
|
|
62
62
|
* whole part; `useSpaceMenu` fills the part's menu with what it draws.
|
|
63
63
|
*/
|
|
@@ -159,7 +159,7 @@ export interface StudioAssistantCard {
|
|
|
159
159
|
tool: string;
|
|
160
160
|
component: ComponentType<StudioAssistantCardProps<any>>;
|
|
161
161
|
}
|
|
162
|
-
/** A space's brand as Info
|
|
162
|
+
/** A space's brand as Info and Brand have it: what a plugin draws in its look. */
|
|
163
163
|
export interface StudioBrand {
|
|
164
164
|
/** The title end users see. */
|
|
165
165
|
name: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The addresses an organization or a person is found under on the web: a website, a blog, its
|
|
3
|
+
* profiles on social networks. The studio's first visit offers them to tick and reads them into
|
|
4
|
+
* the space.
|
|
5
|
+
*/
|
|
6
|
+
/** Addresses anyone can have: they say nothing about a business. */
|
|
7
|
+
export declare const FREE_MAIL: Set<string>;
|
|
8
|
+
/** The domain of an e-mail address that belongs to an organization; null for free mail. */
|
|
9
|
+
export declare function organizationDomain(email: string): string | null;
|
|
10
|
+
export declare const ADDRESS_KINDS: readonly ["website", "blog", "linkedin", "instagram", "facebook", "youtube", "x", "xing", "tiktok"];
|
|
11
|
+
export type AddressKind = (typeof ADDRESS_KINDS)[number];
|
|
12
|
+
/** How a kind of address is called, the same in both languages. */
|
|
13
|
+
export declare const ADDRESS_NAMES: Record<AddressKind, string>;
|
|
14
|
+
/** An address as a full URL: `baeckerei-huber.at` becomes `https://baeckerei-huber.at/`; null when it is none. */
|
|
15
|
+
export declare function addressUrl(raw: string): string | null;
|
|
16
|
+
/** What an address is, by its host: a network's profile, a blog, else a website. */
|
|
17
|
+
export declare function addressKind(raw: string): AddressKind;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The addresses an organization or a person is found under on the web: a website, a blog, its
|
|
3
|
+
* profiles on social networks. The studio's first visit offers them to tick and reads them into
|
|
4
|
+
* the space.
|
|
5
|
+
*/
|
|
6
|
+
/** Addresses anyone can have: they say nothing about a business. */
|
|
7
|
+
export const FREE_MAIL = new Set([
|
|
8
|
+
"gmail.com",
|
|
9
|
+
"googlemail.com",
|
|
10
|
+
"gmx.at",
|
|
11
|
+
"gmx.de",
|
|
12
|
+
"gmx.net",
|
|
13
|
+
"web.de",
|
|
14
|
+
"outlook.com",
|
|
15
|
+
"hotmail.com",
|
|
16
|
+
"live.com",
|
|
17
|
+
"icloud.com",
|
|
18
|
+
"me.com",
|
|
19
|
+
"yahoo.com",
|
|
20
|
+
"yahoo.de",
|
|
21
|
+
"aon.at",
|
|
22
|
+
"a1.net",
|
|
23
|
+
"chello.at",
|
|
24
|
+
"t-online.de",
|
|
25
|
+
"proton.me",
|
|
26
|
+
"protonmail.com",
|
|
27
|
+
]);
|
|
28
|
+
/** The domain of an e-mail address that belongs to an organization; null for free mail. */
|
|
29
|
+
export function organizationDomain(email) {
|
|
30
|
+
const domain = (email.split("@")[1] ?? "").trim().toLowerCase();
|
|
31
|
+
return domain.includes(".") && !FREE_MAIL.has(domain) ? domain : null;
|
|
32
|
+
}
|
|
33
|
+
export const ADDRESS_KINDS = [
|
|
34
|
+
"website",
|
|
35
|
+
"blog",
|
|
36
|
+
"linkedin",
|
|
37
|
+
"instagram",
|
|
38
|
+
"facebook",
|
|
39
|
+
"youtube",
|
|
40
|
+
"x",
|
|
41
|
+
"xing",
|
|
42
|
+
"tiktok",
|
|
43
|
+
];
|
|
44
|
+
/** How a kind of address is called, the same in both languages. */
|
|
45
|
+
export const ADDRESS_NAMES = {
|
|
46
|
+
website: "Website",
|
|
47
|
+
blog: "Blog",
|
|
48
|
+
linkedin: "LinkedIn",
|
|
49
|
+
instagram: "Instagram",
|
|
50
|
+
facebook: "Facebook",
|
|
51
|
+
youtube: "YouTube",
|
|
52
|
+
x: "X",
|
|
53
|
+
xing: "XING",
|
|
54
|
+
tiktok: "TikTok",
|
|
55
|
+
};
|
|
56
|
+
const NETWORKS = [
|
|
57
|
+
["linkedin", /(^|\.)linkedin\.com$/],
|
|
58
|
+
["instagram", /(^|\.)instagram\.com$/],
|
|
59
|
+
["facebook", /(^|\.)(facebook|fb)\.com$/],
|
|
60
|
+
["youtube", /(^|\.)(youtube\.com|youtu\.be)$/],
|
|
61
|
+
["x", /(^|\.)(x|twitter)\.com$/],
|
|
62
|
+
["xing", /(^|\.)xing\.com$/],
|
|
63
|
+
["tiktok", /(^|\.)tiktok\.com$/],
|
|
64
|
+
];
|
|
65
|
+
/** An address as a full URL: `baeckerei-huber.at` becomes `https://baeckerei-huber.at/`; null when it is none. */
|
|
66
|
+
export function addressUrl(raw) {
|
|
67
|
+
const text = raw.trim();
|
|
68
|
+
if (!text || /\s/.test(text)) {
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
try {
|
|
72
|
+
const url = new URL(/^https?:\/\//i.test(text) ? text : `https://${text}`);
|
|
73
|
+
return url.hostname.includes(".") ? url.href : null;
|
|
74
|
+
}
|
|
75
|
+
catch {
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/** What an address is, by its host: a network's profile, a blog, else a website. */
|
|
80
|
+
export function addressKind(raw) {
|
|
81
|
+
const url = addressUrl(raw);
|
|
82
|
+
if (!url) {
|
|
83
|
+
return "website";
|
|
84
|
+
}
|
|
85
|
+
const { hostname, pathname } = new URL(url);
|
|
86
|
+
const host = hostname.toLowerCase().replace(/^www\./, "");
|
|
87
|
+
for (const [kind, pattern] of NETWORKS) {
|
|
88
|
+
if (pattern.test(host)) {
|
|
89
|
+
return kind;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return /^blog\./.test(host) ||
|
|
93
|
+
/^\/blog(\/|$)/.test(pathname) ||
|
|
94
|
+
/(^|\.)(medium|substack)\.com$/.test(host)
|
|
95
|
+
? "blog"
|
|
96
|
+
: "website";
|
|
97
|
+
}
|
|
@@ -757,19 +757,19 @@ export declare const widgetStepSchema: z.ZodObject<{
|
|
|
757
757
|
video: z.ZodOptional<z.ZodBoolean>;
|
|
758
758
|
working: z.ZodOptional<z.ZodString>;
|
|
759
759
|
}, z.core.$strip>;
|
|
760
|
-
/** Formats a
|
|
761
|
-
export declare const
|
|
762
|
-
export type
|
|
763
|
-
export declare const
|
|
760
|
+
/** Formats a motion-graphics step makes; the composition is drawn for this frame. */
|
|
761
|
+
export declare const MOTION_FORMATS: readonly ["16:9", "9:16", "1:1"];
|
|
762
|
+
export type MotionFormat = (typeof MOTION_FORMATS)[number];
|
|
763
|
+
export declare const MOTION_SIZES: Record<MotionFormat, {
|
|
764
764
|
width: number;
|
|
765
765
|
height: number;
|
|
766
766
|
}>;
|
|
767
767
|
/**
|
|
768
|
-
* A
|
|
768
|
+
* A video the AI client installed on this machine makes in a folder of its own: it writes the
|
|
769
769
|
* composition as code (HTML, CSS, JS) with the skills it is given, looks at its frames and fixes
|
|
770
770
|
* them; the runtime renders the MP4. It runs on the person's subscription, never on credits.
|
|
771
771
|
*/
|
|
772
|
-
export declare const
|
|
772
|
+
export declare const motionGraphicsStepSchema: z.ZodObject<{
|
|
773
773
|
id: z.ZodString;
|
|
774
774
|
title: z.ZodString;
|
|
775
775
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -805,7 +805,7 @@ export declare const filmStepSchema: z.ZodObject<{
|
|
|
805
805
|
goto: z.ZodString;
|
|
806
806
|
max: z.ZodOptional<z.ZodNumber>;
|
|
807
807
|
}, z.core.$strip>>>;
|
|
808
|
-
type: z.ZodLiteral<"
|
|
808
|
+
type: z.ZodLiteral<"motion-graphics">;
|
|
809
809
|
brief: z.ZodString;
|
|
810
810
|
skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
811
811
|
kit: z.ZodOptional<z.ZodString>;
|
|
@@ -1666,7 +1666,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1666
1666
|
goto: z.ZodString;
|
|
1667
1667
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1668
1668
|
}, z.core.$strip>>>;
|
|
1669
|
-
type: z.ZodLiteral<"
|
|
1669
|
+
type: z.ZodLiteral<"motion-graphics">;
|
|
1670
1670
|
brief: z.ZodString;
|
|
1671
1671
|
skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1672
1672
|
kit: z.ZodOptional<z.ZodString>;
|
|
@@ -1813,7 +1813,7 @@ export declare function stepShape(step: AgentStep): ObjectShape;
|
|
|
1813
1813
|
export declare function outputKeys(step: AgentStep): string[];
|
|
1814
1814
|
export type GenerateStep = z.infer<typeof generateStepSchema>;
|
|
1815
1815
|
export type WidgetStep = z.infer<typeof widgetStepSchema>;
|
|
1816
|
-
export type
|
|
1816
|
+
export type MotionGraphicsStep = z.infer<typeof motionGraphicsStepSchema>;
|
|
1817
1817
|
export type ReviewStep = z.infer<typeof reviewStepSchema>;
|
|
1818
1818
|
export type ResultStep = z.infer<typeof resultStepSchema>;
|
|
1819
1819
|
export type StepType = Step["type"];
|
|
@@ -2690,7 +2690,7 @@ export declare const currentWizardSchema: z.ZodObject<{
|
|
|
2690
2690
|
goto: z.ZodString;
|
|
2691
2691
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2692
2692
|
}, z.core.$strip>>>;
|
|
2693
|
-
type: z.ZodLiteral<"
|
|
2693
|
+
type: z.ZodLiteral<"motion-graphics">;
|
|
2694
2694
|
brief: z.ZodString;
|
|
2695
2695
|
skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2696
2696
|
kit: z.ZodOptional<z.ZodString>;
|
|
@@ -3532,7 +3532,7 @@ export declare const wizardSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
3532
3532
|
goto: z.ZodString;
|
|
3533
3533
|
max: z.ZodOptional<z.ZodNumber>;
|
|
3534
3534
|
}, z.core.$strip>>>;
|
|
3535
|
-
type: z.ZodLiteral<"
|
|
3535
|
+
type: z.ZodLiteral<"motion-graphics">;
|
|
3536
3536
|
brief: z.ZodString;
|
|
3537
3537
|
skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3538
3538
|
kit: z.ZodOptional<z.ZodString>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import { tableColumnsSchema } from "./engenty/data-tables/
|
|
3
|
+
import { tableColumnsSchema } from "./engenty/data-tables/columns.js";
|
|
4
4
|
import { readNumber } from "./numbers.js";
|
|
5
5
|
import { outputShapeSchema, shapeOfFields } from "./shape.js";
|
|
6
6
|
import { isShareTargetId } from "./sharing.js";
|
|
@@ -639,28 +639,28 @@ export const widgetStepSchema = z.object({
|
|
|
639
639
|
})
|
|
640
640
|
.optional(),
|
|
641
641
|
/**
|
|
642
|
-
* The result is a
|
|
642
|
+
* The result is a video: the timeline is rendered to an MP4 with sound when the step runs,
|
|
643
643
|
* and that video is what the person sees and downloads.
|
|
644
644
|
*/
|
|
645
645
|
video: z.boolean().optional(),
|
|
646
646
|
working: z.string().optional(),
|
|
647
647
|
});
|
|
648
|
-
/** Formats a
|
|
649
|
-
export const
|
|
650
|
-
export const
|
|
648
|
+
/** Formats a motion-graphics step makes; the composition is drawn for this frame. */
|
|
649
|
+
export const MOTION_FORMATS = ["16:9", "9:16", "1:1"];
|
|
650
|
+
export const MOTION_SIZES = {
|
|
651
651
|
"16:9": { width: 1920, height: 1080 },
|
|
652
652
|
"9:16": { width: 1080, height: 1920 },
|
|
653
653
|
"1:1": { width: 1080, height: 1080 },
|
|
654
654
|
};
|
|
655
655
|
/**
|
|
656
|
-
* A
|
|
656
|
+
* A video the AI client installed on this machine makes in a folder of its own: it writes the
|
|
657
657
|
* composition as code (HTML, CSS, JS) with the skills it is given, looks at its frames and fixes
|
|
658
658
|
* them; the runtime renders the MP4. It runs on the person's subscription, never on credits.
|
|
659
659
|
*/
|
|
660
|
-
export const
|
|
660
|
+
export const motionGraphicsStepSchema = z.object({
|
|
661
661
|
...stepBase,
|
|
662
|
-
type: z.literal("
|
|
663
|
-
/** What the
|
|
662
|
+
type: z.literal("motion-graphics"),
|
|
663
|
+
/** What the video is: story, look, what to use. A template. */
|
|
664
664
|
brief: z.string().min(1),
|
|
665
665
|
/**
|
|
666
666
|
* Skill packages the client reads: platform packages ("hyperframes") or a folder of the
|
|
@@ -669,22 +669,22 @@ export const filmStepSchema = z.object({
|
|
|
669
669
|
skills: z.array(z.string().min(1)).max(12).default(["hyperframes"]),
|
|
670
670
|
/**
|
|
671
671
|
* A style kit in the workspace — a showreel made once with its rules, helpers and stills, as
|
|
672
|
-
* a .zip — unpacked as `showcase/`: the bar every
|
|
672
|
+
* a .zip — unpacked as `showcase/`: the bar every video of this wizard is made to.
|
|
673
673
|
*/
|
|
674
674
|
kit: z.string().optional(),
|
|
675
675
|
/**
|
|
676
|
-
* What the
|
|
676
|
+
* What the video is made from: name → a field id or "steps.<id>". Files (uploads, voice lines,
|
|
677
677
|
* pictures) are copied into `input/<name>/`, text is written to `input/<name>.md`.
|
|
678
678
|
*/
|
|
679
679
|
inputs: z.record(z.string(), z.string()).default({}),
|
|
680
|
-
format: z.enum(
|
|
680
|
+
format: z.enum(MOTION_FORMATS).default("16:9"),
|
|
681
681
|
/**
|
|
682
|
-
* "steps.<id>" of an earlier
|
|
682
|
+
* "steps.<id>" of an earlier motion-graphics step: this video starts from that one's finished code and
|
|
683
683
|
* lays it out for its own format — scenes, timing and sound stay. Made from scratch when that
|
|
684
684
|
* step did not run.
|
|
685
685
|
*/
|
|
686
686
|
from: z.string().optional(),
|
|
687
|
-
/** About how long the
|
|
687
|
+
/** About how long the video runs, in seconds. */
|
|
688
688
|
seconds: z.number().int().min(3).max(600).optional(),
|
|
689
689
|
/** The model class; default `low` — the kit carries the craft. */
|
|
690
690
|
model: z.enum(TEXT_CLASSES).optional(),
|
|
@@ -772,7 +772,7 @@ export const stepSchema = z.discriminatedUnion("type", [
|
|
|
772
772
|
generateStepSchema,
|
|
773
773
|
widgetStepSchema,
|
|
774
774
|
surfaceStepSchema,
|
|
775
|
-
|
|
775
|
+
motionGraphicsStepSchema,
|
|
776
776
|
reviewStepSchema,
|
|
777
777
|
resultStepSchema,
|
|
778
778
|
]);
|
|
@@ -939,7 +939,7 @@ export function formatsFor(step) {
|
|
|
939
939
|
return ["html", "pdf", "png"];
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
|
-
if (step.type === "
|
|
942
|
+
if (step.type === "motion-graphics") {
|
|
943
943
|
return ["mp4"];
|
|
944
944
|
}
|
|
945
945
|
if (step.type === "widget") {
|
|
@@ -1493,13 +1493,13 @@ export function validateWizard(def, files) {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
break;
|
|
1495
1495
|
}
|
|
1496
|
-
case "
|
|
1496
|
+
case "motion-graphics":
|
|
1497
1497
|
checkTemplate(step, step.brief);
|
|
1498
1498
|
for (const [name, ref] of Object.entries(step.inputs)) {
|
|
1499
1499
|
if (!/^[a-z][a-z0-9-]{0,40}$/.test(name)) {
|
|
1500
1500
|
issues.push({
|
|
1501
1501
|
stepId: step.id,
|
|
1502
|
-
message: `
|
|
1502
|
+
message: `Motion-graphics input "${name}" is not a folder name (lowercase letters, digits, -).`,
|
|
1503
1503
|
});
|
|
1504
1504
|
}
|
|
1505
1505
|
const r = dataRef(ref);
|
|
@@ -1509,26 +1509,27 @@ export function validateWizard(def, files) {
|
|
|
1509
1509
|
else if (!seenFields.has(r)) {
|
|
1510
1510
|
issues.push({
|
|
1511
1511
|
stepId: step.id,
|
|
1512
|
-
message: `
|
|
1512
|
+
message: `Motion-graphics input "${name}": "${ref}" is not an earlier field or "steps.<id>".`,
|
|
1513
1513
|
});
|
|
1514
1514
|
}
|
|
1515
1515
|
}
|
|
1516
1516
|
if (step.from) {
|
|
1517
1517
|
const id = dataRef(step.from).replace(/^steps\./, "");
|
|
1518
|
-
if (!seenSteps.has(id) ||
|
|
1518
|
+
if (!seenSteps.has(id) ||
|
|
1519
|
+
def.steps.find((s) => s.id === id)?.type !== "motion-graphics") {
|
|
1519
1520
|
issues.push({
|
|
1520
1521
|
stepId: step.id,
|
|
1521
|
-
message: `
|
|
1522
|
+
message: `Motion-graphics "from" "${step.from}" is not an earlier motion-graphics step ("steps.<id>").`,
|
|
1522
1523
|
});
|
|
1523
1524
|
}
|
|
1524
1525
|
}
|
|
1525
1526
|
if (step.kit && !step.kit.endsWith(".zip")) {
|
|
1526
|
-
issues.push({ stepId: step.id, message: `
|
|
1527
|
+
issues.push({ stepId: step.id, message: `Motion-graphics kit "${step.kit}" is a .zip.` });
|
|
1527
1528
|
}
|
|
1528
1529
|
else if (files && step.kit && !files.includes(step.kit)) {
|
|
1529
1530
|
issues.push({
|
|
1530
1531
|
stepId: step.id,
|
|
1531
|
-
message: `
|
|
1532
|
+
message: `Motion-graphics kit "${step.kit}" is not in the workspace.`,
|
|
1532
1533
|
});
|
|
1533
1534
|
}
|
|
1534
1535
|
for (const skill of step.skills) {
|
|
@@ -57,22 +57,28 @@ export declare const FEATURES: {
|
|
|
57
57
|
readonly label: "Organization plans";
|
|
58
58
|
readonly hint: "The organization page in the cloud studio, and plans that carry this switch on the account pages.";
|
|
59
59
|
};
|
|
60
|
+
readonly organizationSettings: {
|
|
61
|
+
readonly kind: "release";
|
|
62
|
+
readonly default: false;
|
|
63
|
+
readonly label: "Organization settings in the studio";
|
|
64
|
+
readonly hint: "Settings › Organisation in the cloud studio: the organization's name, its members and invitations, changed there instead of on the account pages.";
|
|
65
|
+
};
|
|
60
66
|
readonly brandSections: {
|
|
61
67
|
readonly kind: "release";
|
|
62
68
|
readonly default: false;
|
|
63
|
-
readonly label: "Sections in
|
|
69
|
+
readonly label: "Sections in Brand";
|
|
64
70
|
readonly hint: "Sections of logos and of colours, gradients and patterns among them.";
|
|
65
71
|
};
|
|
66
72
|
readonly brandRules: {
|
|
67
73
|
readonly kind: "release";
|
|
68
74
|
readonly default: false;
|
|
69
|
-
readonly label: "Rules in
|
|
75
|
+
readonly label: "Rules in Brand";
|
|
70
76
|
readonly hint: "Rules for how the logos, the colours and the type may be used.";
|
|
71
77
|
};
|
|
72
78
|
readonly typography: {
|
|
73
79
|
readonly kind: "release";
|
|
74
80
|
readonly default: false;
|
|
75
|
-
readonly label: "Typography in
|
|
81
|
+
readonly label: "Typography in Brand";
|
|
76
82
|
readonly hint: "The brand's fonts, their licences and a type scale.";
|
|
77
83
|
};
|
|
78
84
|
readonly channelVoice: {
|
|
@@ -49,22 +49,28 @@ export const FEATURES = {
|
|
|
49
49
|
label: "Organization plans",
|
|
50
50
|
hint: "The organization page in the cloud studio, and plans that carry this switch on the account pages.",
|
|
51
51
|
},
|
|
52
|
+
organizationSettings: {
|
|
53
|
+
kind: "release",
|
|
54
|
+
default: false,
|
|
55
|
+
label: "Organization settings in the studio",
|
|
56
|
+
hint: "Settings › Organisation in the cloud studio: the organization's name, its members and invitations, changed there instead of on the account pages.",
|
|
57
|
+
},
|
|
52
58
|
brandSections: {
|
|
53
59
|
kind: "release",
|
|
54
60
|
default: false,
|
|
55
|
-
label: "Sections in
|
|
61
|
+
label: "Sections in Brand",
|
|
56
62
|
hint: "Sections of logos and of colours, gradients and patterns among them.",
|
|
57
63
|
},
|
|
58
64
|
brandRules: {
|
|
59
65
|
kind: "release",
|
|
60
66
|
default: false,
|
|
61
|
-
label: "Rules in
|
|
67
|
+
label: "Rules in Brand",
|
|
62
68
|
hint: "Rules for how the logos, the colours and the type may be used.",
|
|
63
69
|
},
|
|
64
70
|
typography: {
|
|
65
71
|
kind: "release",
|
|
66
72
|
default: false,
|
|
67
|
-
label: "Typography in
|
|
73
|
+
label: "Typography in Brand",
|
|
68
74
|
hint: "The brand's fonts, their licences and a type scale.",
|
|
69
75
|
},
|
|
70
76
|
channelVoice: {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { type AssetKind, type FieldKind, type Format, type ModelClass, type PageStep, type Step, type ToolId, type WizardDefinition } from "./definition.js";
|
|
2
|
-
import type { Capability } from "./marketplace.js";
|
|
3
2
|
import type { ClosedChoice } from "./run.js";
|
|
3
|
+
/**
|
|
4
|
+
* What the models and tools behind a wizard must be able to do. `motion-graphics`: an AI client
|
|
5
|
+
* writes a video as code and the runtime renders it (a motion-graphics step).
|
|
6
|
+
*/
|
|
7
|
+
export declare const CAPABILITY_IDS: readonly ["text", "web", "browser", "documents", "image", "video", "speech", "listening", "code", "connectors", "motion-graphics"];
|
|
8
|
+
export type Capability = (typeof CAPABILITY_IDS)[number];
|
|
4
9
|
/**
|
|
5
10
|
* What a wizard needs beyond a text model, and whether it runs where there is nothing else: a
|
|
6
11
|
* WordPress site with the AI Client, no tools, no plugins, no media models (docs/plans/
|
|
@@ -8,7 +13,7 @@ import type { ClosedChoice } from "./run.js";
|
|
|
8
13
|
* plugin and by the gallery, so every place gives the same answer.
|
|
9
14
|
*/
|
|
10
15
|
/** Something a step wants beyond a text model, as a stable id every app can word. */
|
|
11
|
-
export type Need = `tool:${ToolId}` | "mcp" | "connections" | `plugin:${string}` | `asset:${AssetKind}` | "
|
|
16
|
+
export type Need = `tool:${ToolId}` | "mcp" | "connections" | `plugin:${string}` | `asset:${AssetKind}` | "motion-graphics"
|
|
12
17
|
/** A widget runs in the runtime's widget host; the standalone runner has none yet. */
|
|
13
18
|
| "widget" | "widget:video" | `field:${Extract<FieldKind, "audio" | "connection" | "slot" | "location" | "image" | "file">}`
|
|
14
19
|
/** A file the person gives that a later thinking step reads: reading documents is the runtime's. */
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
2
|
import { conditionsOf, dataRef, isOtherwise, listRef, pluginToolOf, ruleMatches, templateRefs, } from "./definition.js";
|
|
3
|
+
/**
|
|
4
|
+
* What the models and tools behind a wizard must be able to do. `motion-graphics`: an AI client
|
|
5
|
+
* writes a video as code and the runtime renders it (a motion-graphics step).
|
|
6
|
+
*/
|
|
7
|
+
export const CAPABILITY_IDS = [
|
|
8
|
+
"text",
|
|
9
|
+
"web",
|
|
10
|
+
"browser",
|
|
11
|
+
"documents",
|
|
12
|
+
"image",
|
|
13
|
+
"video",
|
|
14
|
+
"speech",
|
|
15
|
+
"listening",
|
|
16
|
+
"code",
|
|
17
|
+
"connectors",
|
|
18
|
+
"motion-graphics",
|
|
19
|
+
];
|
|
3
20
|
/** What the standalone runner can hand over of a thinking step's text itself. */
|
|
4
21
|
const BASE_FORMATS = new Set(["html", "md", "txt", "csv", "json"]);
|
|
5
22
|
/**
|
|
@@ -22,7 +39,7 @@ function templatesOf(step) {
|
|
|
22
39
|
return [step.instructions, step.call ? JSON.stringify(step.call.input) : ""];
|
|
23
40
|
case "generate":
|
|
24
41
|
return [step.prompt, step.options?.style ?? ""];
|
|
25
|
-
case "
|
|
42
|
+
case "motion-graphics":
|
|
26
43
|
return [step.brief];
|
|
27
44
|
case "widget":
|
|
28
45
|
case "surface":
|
|
@@ -35,7 +52,7 @@ function templatesOf(step) {
|
|
|
35
52
|
function readsFilesLater(def, index) {
|
|
36
53
|
return def.steps
|
|
37
54
|
.slice(index + 1)
|
|
38
|
-
.some((s) => (s.type === "agent" && !s.call) || s.type === "generate" || s.type === "
|
|
55
|
+
.some((s) => (s.type === "agent" && !s.call) || s.type === "generate" || s.type === "motion-graphics");
|
|
39
56
|
}
|
|
40
57
|
/** What one step wants beyond a text model. */
|
|
41
58
|
export function needs(step, def) {
|
|
@@ -137,8 +154,8 @@ export function needs(step, def) {
|
|
|
137
154
|
add(`asset:${step.asset}`, true);
|
|
138
155
|
}
|
|
139
156
|
break;
|
|
140
|
-
case "
|
|
141
|
-
add("
|
|
157
|
+
case "motion-graphics":
|
|
158
|
+
add("motion-graphics", true);
|
|
142
159
|
break;
|
|
143
160
|
case "widget":
|
|
144
161
|
add(step.video ? "widget:video" : "widget", true);
|
|
@@ -160,7 +177,7 @@ export function needs(step, def) {
|
|
|
160
177
|
continue;
|
|
161
178
|
}
|
|
162
179
|
const from = def.steps.find((s) => s.id === d.from);
|
|
163
|
-
// What a media step, a widget or a
|
|
180
|
+
// What a media step, a widget or a video makes is the step's own need.
|
|
164
181
|
const written = from?.type === "agent" ||
|
|
165
182
|
(from?.type === "generate" && (from.asset === "document" || from.asset === "dashboard"));
|
|
166
183
|
if (!written) {
|
|
@@ -210,7 +227,7 @@ export function capabilityOf(need) {
|
|
|
210
227
|
case "asset:image":
|
|
211
228
|
return "image";
|
|
212
229
|
case "asset:video":
|
|
213
|
-
case "
|
|
230
|
+
case "motion-graphics":
|
|
214
231
|
case "widget:video":
|
|
215
232
|
return "video";
|
|
216
233
|
case "asset:voice":
|
|
@@ -7,7 +7,7 @@ export interface OutlineStep {
|
|
|
7
7
|
title: string;
|
|
8
8
|
/** What a generate step makes. */
|
|
9
9
|
asset?: string;
|
|
10
|
-
/** A widget step that
|
|
10
|
+
/** A widget step that renders a video. */
|
|
11
11
|
video?: boolean;
|
|
12
12
|
/** Where the flow goes on instead of the next step, and when. `to` is a step's id or `end`. */
|
|
13
13
|
branches?: {
|
|
@@ -71,7 +71,7 @@ function resultKind(definition, from) {
|
|
|
71
71
|
if (step?.type === "widget") {
|
|
72
72
|
return step.video ? "video" : "dashboard";
|
|
73
73
|
}
|
|
74
|
-
if (step?.type === "
|
|
74
|
+
if (step?.type === "motion-graphics") {
|
|
75
75
|
return "video";
|
|
76
76
|
}
|
|
77
77
|
return step?.type === "agent" && step.output.format === "json" ? "table" : "text";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type EngentyCostume, type Lang, type WizardDefinition } from "./definition.js";
|
|
2
|
+
import { type Capability } from "./fit.js";
|
|
2
3
|
import { type Gap, type Texts } from "./texts.js";
|
|
3
4
|
/**
|
|
4
5
|
* The marketplace: wizards anyone can start from. What an entry is sorted by — formats, industry,
|
|
@@ -14,12 +15,6 @@ export declare const INDUSTRY_IDS: readonly ["any", "trades", "gastronomy", "hos
|
|
|
14
15
|
export type Industry = (typeof INDUSTRY_IDS)[number];
|
|
15
16
|
export declare const USE_CASE_IDS: readonly ["marketing", "sales", "accounting", "service", "research", "hr", "operations", "website", "visuals", "inquiries", "advice"];
|
|
16
17
|
export type UseCase = (typeof USE_CASE_IDS)[number];
|
|
17
|
-
/**
|
|
18
|
-
* What the models and tools behind a wizard must be able to do. `film`: a film the installed
|
|
19
|
-
* client makes, only on a computer with Claude Code, on its subscription.
|
|
20
|
-
*/
|
|
21
|
-
export declare const CAPABILITY_IDS: readonly ["text", "web", "browser", "documents", "image", "video", "speech", "listening", "code", "connectors", "film"];
|
|
22
|
-
export type Capability = (typeof CAPABILITY_IDS)[number];
|
|
23
18
|
export declare const COST_TIER_IDS: readonly ["low", "medium", "high"];
|
|
24
19
|
export type CostTier = (typeof COST_TIER_IDS)[number];
|
|
25
20
|
/**
|
|
@@ -70,7 +65,7 @@ declare const MARKET_EN: {
|
|
|
70
65
|
readonly "capability.listening": "Understands voice notes";
|
|
71
66
|
readonly "capability.code": "Runs code";
|
|
72
67
|
readonly "capability.connectors": "Connected accounts & systems";
|
|
73
|
-
readonly "capability.
|
|
68
|
+
readonly "capability.motion-graphics": "Motion graphics with Claude Code (on your subscription)";
|
|
74
69
|
readonly "cost.low": "low cost";
|
|
75
70
|
readonly "cost.medium": "medium cost";
|
|
76
71
|
readonly "cost.high": "high cost";
|
|
@@ -120,6 +115,13 @@ export interface MarketplaceSummary {
|
|
|
120
115
|
updatedAt: string;
|
|
121
116
|
/** One of the entries an app keeps for offline use without being asked. */
|
|
122
117
|
starter: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* The level from which a team's catalog shows it (Manage's levels, 1 to 5). A marketplace older
|
|
120
|
+
* than this field leaves it out: read it as 1.
|
|
121
|
+
*/
|
|
122
|
+
level?: number;
|
|
123
|
+
/** Shown first, under "Recommended". Left out by an older marketplace: not featured. */
|
|
124
|
+
featured?: boolean;
|
|
123
125
|
/** The language of `title` and `pitch`; the entry's own where it is not translated. */
|
|
124
126
|
language: MarketplaceLang;
|
|
125
127
|
title: string;
|
|
@@ -130,6 +132,8 @@ export interface MarketplaceSummary {
|
|
|
130
132
|
costume?: EngentyCostume;
|
|
131
133
|
formats: ItemFormat[];
|
|
132
134
|
industries: Industry[];
|
|
135
|
+
/** The catalog sectors it is made for (`bakeries`, `lawFirms`, sectors.ts); left out: none in particular. */
|
|
136
|
+
sectors?: string[];
|
|
133
137
|
useCases: UseCase[];
|
|
134
138
|
capabilities: Capability[];
|
|
135
139
|
effort: Effort;
|
|
@@ -224,5 +228,10 @@ export interface MarketplaceEntry extends MarketplaceSummary {
|
|
|
224
228
|
};
|
|
225
229
|
/** The plugins it needs that this app does not have: a wizard made from it would not run. */
|
|
226
230
|
needs?: string[];
|
|
231
|
+
/**
|
|
232
|
+
* Why it stands where it does in the list for an organization (the new-wizard page): its
|
|
233
|
+
* sector, the industry of its sector, words of its wishes, or its kind.
|
|
234
|
+
*/
|
|
235
|
+
fit?: "sector" | "industry" | "wish" | "kind";
|
|
227
236
|
}
|
|
228
237
|
export {};
|