@engenty/wizards-runtime 0.11.0 → 0.11.2
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/app.js +5 -0
- 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 +60 -0
- package/apps/runtime/dist/docs/dev/meta.json +2 -1
- package/apps/runtime/dist/docs/dev/plugins/runners.md +2 -2
- package/apps/runtime/dist/docs/dev/wizard-format/index.md +4 -4
- package/apps/runtime/dist/docs/dev/wizard-format/meta.json +1 -1
- package/apps/runtime/dist/docs/dev/wizard-format/motion-graphics-steps.md +47 -0
- package/apps/runtime/dist/docs/dev/wizard-format/review-and-result.md +2 -2
- 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/space.md +5 -1
- package/apps/runtime/dist/docs/user-guide/steps.md +12 -12
- 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 +19 -0
- 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 +4 -3
- package/apps/runtime/dist/routes/reports.js +80 -0
- package/apps/runtime/dist/routes/runs.js +25 -1
- 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/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/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-Bx6j5lZO.js +1 -0
- package/apps/web/dist/assets/ChangelogDialog-C620Sw_A.js +1 -0
- package/apps/web/dist/assets/CodeEditor-DifBNaqQ.js +2 -0
- package/apps/web/dist/assets/EditorPage-DWf9QG-U.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-BV1NJ0rF.js → FlowPreview-ucwQ_dTr.js} +1 -1
- package/apps/web/dist/assets/{Harness-DYviBlHB.js → Harness-Br0Z_anI.js} +2 -2
- package/apps/web/dist/assets/Marketplace-CFDpVMWM.js +2 -0
- package/apps/web/dist/assets/NewWizardChannels-Cau6XSbl.js +1 -0
- package/apps/web/dist/assets/NewWizardPage-CrFqInHR.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-BZk42_R7.js +1 -0
- package/apps/web/dist/assets/PreviewPane-D9n6tylf.js +10 -0
- package/apps/web/dist/assets/ProjectPage-CteRfxpz.js +1 -0
- package/apps/web/dist/assets/PublicRunner-CNanj6-w.js +1 -0
- package/apps/web/dist/assets/ReadOnly-DGBDtXFP.js +1 -0
- package/apps/web/dist/assets/SettingsPage-ClFQewEL.js +2 -0
- package/apps/web/dist/assets/SetupPage-k9gyFvow.js +1 -0
- package/apps/web/dist/assets/SharePage-BhWeqF3w.js +1 -0
- package/apps/web/dist/assets/changelog-BrhGlZT6.js +1 -0
- package/apps/web/dist/assets/{coins-DQ91VJAB.js → coins-CwURUZyt.js} +1 -1
- package/apps/web/dist/assets/dist-BwhPmMDu.js +1 -0
- package/apps/web/dist/assets/dist-DVpDdhG9.js +1 -0
- package/apps/web/dist/assets/dist-DzdNG7Sf.js +10 -0
- package/apps/web/dist/assets/i18n-DEmaSTJV.js +55 -0
- package/apps/web/dist/assets/index-ClNm5JaU.js +34 -0
- package/apps/web/dist/assets/index-DImS12WR.css +1 -0
- package/apps/web/dist/assets/json-D2GVvTXK.js +1 -0
- package/apps/web/dist/assets/markdown-DwdMW7q0.js +29 -0
- package/apps/web/dist/assets/{oss-credits-C2JUsf2d.js → oss-credits-C6bPkfSE.js} +1 -1
- package/apps/web/dist/assets/{phone-jIuRIwyg.js → phone-DTxGRwhK.js} +1 -1
- package/apps/web/dist/assets/runners-BMOIT6Ze.js +1 -0
- package/apps/web/dist/assets/session-xJpGiTU_.js +2 -0
- package/apps/web/dist/assets/{settings-menu-CoLUNJGQ.js → settings-menu-DcPFhgGA.js} +1 -1
- package/apps/web/dist/assets/theme-DTi1Zdw8.js +11 -0
- package/apps/web/dist/assets/ui-gsqxnFnT.js +83 -0
- package/apps/web/dist/assets/{upload-BcOvBWHS.js → upload-BkwjFS-0.js} +1 -1
- package/apps/web/dist/assets/{useMutation-CD7HmAxR.js → useMutation-BS-U9g_a.js} +1 -1
- package/apps/web/dist/assets/{volume-2-D2To9w5D.js → volume-2-CYOgux-z.js} +1 -1
- package/apps/web/dist/assets/{wrench-B98ubRvB.js → wrench-DIfUvYPN.js} +1 -1
- package/apps/web/dist/index.html +9 -8
- package/apps/web/dist/mcp/flow.html +32 -32
- package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +1 -1
- 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/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 +9 -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/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/AboutDialog-9VcgySrQ.js +0 -1
- package/apps/web/dist/assets/ChangelogDialog-BXvT2VMU.js +0 -1
- package/apps/web/dist/assets/EditorPage-Cvzd0nah.js +0 -4
- package/apps/web/dist/assets/Marketplace-DTSg7_U7.js +0 -2
- package/apps/web/dist/assets/NewWizardChannels-DiujJzOR.js +0 -1
- package/apps/web/dist/assets/NewWizardPage-CngUh9g-.js +0 -7
- package/apps/web/dist/assets/OnboardingPage-DFKJnWtw.js +0 -1
- package/apps/web/dist/assets/PreviewPane-C0E9OLzB.js +0 -9
- package/apps/web/dist/assets/ProjectPage-CYDX-JYc.js +0 -1
- package/apps/web/dist/assets/PublicRunner-CkRO_Pw-.js +0 -1
- package/apps/web/dist/assets/ReadOnly-E-h9y_QO.js +0 -1
- package/apps/web/dist/assets/SettingsPage-BMgP3aRV.js +0 -2
- package/apps/web/dist/assets/SetupPage-DBO_rzj7.js +0 -1
- package/apps/web/dist/assets/SharePage-BvvmYB5N.js +0 -1
- package/apps/web/dist/assets/changelog-zllICQ4q.js +0 -1
- package/apps/web/dist/assets/index-Bjn557f1.js +0 -20
- package/apps/web/dist/assets/index-DN0VMwsS.css +0 -1
- package/apps/web/dist/assets/runners-DloOxEbh.js +0 -1
- package/apps/web/dist/assets/session-BpsCkDv6.js +0 -2
- package/apps/web/dist/assets/theme-2XjIQXH3.js +0 -11
- package/apps/web/dist/assets/ui-BIWmkPh6.js +0 -137
- /package/apps/runtime/dist/{film → motion-graphics}/skills.js +0 -0
|
@@ -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[];
|
|
@@ -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) {
|
|
@@ -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;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LANGS, pluginToolOf, } from "./definition.js";
|
|
2
|
+
import { CAPABILITY_IDS } from "./fit.js";
|
|
2
3
|
import { textOf } from "./texts.js";
|
|
3
4
|
/**
|
|
4
5
|
* The marketplace: wizards anyone can start from. What an entry is sorted by — formats, industry,
|
|
@@ -42,23 +43,6 @@ export const USE_CASE_IDS = [
|
|
|
42
43
|
"inquiries",
|
|
43
44
|
"advice",
|
|
44
45
|
];
|
|
45
|
-
/**
|
|
46
|
-
* What the models and tools behind a wizard must be able to do. `film`: a film the installed
|
|
47
|
-
* client makes, only on a computer with Claude Code, on its subscription.
|
|
48
|
-
*/
|
|
49
|
-
export const CAPABILITY_IDS = [
|
|
50
|
-
"text",
|
|
51
|
-
"web",
|
|
52
|
-
"browser",
|
|
53
|
-
"documents",
|
|
54
|
-
"image",
|
|
55
|
-
"video",
|
|
56
|
-
"speech",
|
|
57
|
-
"listening",
|
|
58
|
-
"code",
|
|
59
|
-
"connectors",
|
|
60
|
-
"film",
|
|
61
|
-
];
|
|
62
46
|
export const COST_TIER_IDS = ["low", "medium", "high"];
|
|
63
47
|
/**
|
|
64
48
|
* The plan a wizard needs. Free runs on what every runtime has; Pro needs plugins, which come
|
|
@@ -105,7 +89,7 @@ const MARKET_EN = {
|
|
|
105
89
|
"capability.listening": "Understands voice notes",
|
|
106
90
|
"capability.code": "Runs code",
|
|
107
91
|
"capability.connectors": "Connected accounts & systems",
|
|
108
|
-
"capability.
|
|
92
|
+
"capability.motion-graphics": "Motion graphics with Claude Code (on your subscription)",
|
|
109
93
|
"cost.low": "low cost",
|
|
110
94
|
"cost.medium": "medium cost",
|
|
111
95
|
"cost.high": "high cost",
|
|
@@ -157,7 +141,7 @@ const MARKET_DE = {
|
|
|
157
141
|
"capability.listening": "Sprachnotizen verstehen",
|
|
158
142
|
"capability.code": "Code ausführen",
|
|
159
143
|
"capability.connectors": "Verbundene Konten & Systeme",
|
|
160
|
-
"capability.
|
|
144
|
+
"capability.motion-graphics": "Motion-Grafik mit Claude Code (auf deinem Abo)",
|
|
161
145
|
"cost.low": "günstig",
|
|
162
146
|
"cost.medium": "mittel",
|
|
163
147
|
"cost.high": "teuer",
|
|
@@ -268,8 +252,8 @@ export function capabilitiesOf(def) {
|
|
|
268
252
|
found.add("text");
|
|
269
253
|
}
|
|
270
254
|
}
|
|
271
|
-
else if (step.type === "
|
|
272
|
-
found.add("
|
|
255
|
+
else if (step.type === "motion-graphics") {
|
|
256
|
+
found.add("motion-graphics");
|
|
273
257
|
}
|
|
274
258
|
}
|
|
275
259
|
if (def.connections?.length) {
|
|
@@ -336,8 +320,8 @@ export function effortOf(def) {
|
|
|
336
320
|
else if (step.type === "widget" && step.video) {
|
|
337
321
|
seconds += 60;
|
|
338
322
|
}
|
|
339
|
-
else if (step.type === "
|
|
340
|
-
// A client writing a
|
|
323
|
+
else if (step.type === "motion-graphics") {
|
|
324
|
+
// A client writing a video from a style kit: ten minutes to half an hour (2026-10 tests).
|
|
341
325
|
seconds += 25 * 60;
|
|
342
326
|
}
|
|
343
327
|
}
|
|
@@ -189,9 +189,9 @@ declare const NOTES_EN: {
|
|
|
189
189
|
readonly found: "{label}: {name}";
|
|
190
190
|
readonly listen: "Listening to “{label}”…";
|
|
191
191
|
readonly listenFailed: "“{label}” couldn’t be transcribed.";
|
|
192
|
-
readonly
|
|
193
|
-
readonly
|
|
194
|
-
readonly
|
|
192
|
+
readonly motionCutting: "Rendering the video – this takes about a minute.";
|
|
193
|
+
readonly motionProgress: "{pct} % rendered";
|
|
194
|
+
readonly motionError: "The video reports: {detail}";
|
|
195
195
|
readonly widgetError: "The widget reports an error: {detail}";
|
|
196
196
|
readonly mcpConnected: "Connected to {names}";
|
|
197
197
|
readonly mcpUnreachable: "MCP server unreachable: {detail}";
|
|
@@ -235,18 +235,19 @@ declare const NOTES_EN: {
|
|
|
235
235
|
readonly one: "Filing {count} file";
|
|
236
236
|
readonly other: "Filing {count} files";
|
|
237
237
|
};
|
|
238
|
-
readonly
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
238
|
+
readonly motionSetup: "Setting up the folder for the video";
|
|
239
|
+
readonly motionClient: "{client} is working on the video – this usually takes 10–40 minutes.";
|
|
240
|
+
readonly motionTask: "On the video: {task}";
|
|
241
|
+
readonly motionLooks: "Looking at frames of the video";
|
|
242
|
+
readonly motionFix: "The video didn’t render – Claude Code is fixing it";
|
|
243
|
+
readonly motionResume: "Picking the video up where it stopped";
|
|
244
244
|
readonly wizardUnavailable: "This wizard isn’t available right now.";
|
|
245
245
|
readonly translationFailed: "This wizard can’t be translated right now. It’s shown as it was written.";
|
|
246
246
|
readonly translationOff: "This wizard is only offered as it was written.";
|
|
247
247
|
readonly translationPlaceholder: "The translation of “{text}” needs every placeholder in curly brackets the original has.";
|
|
248
248
|
readonly wizardLimit: "This wizard has reached its limit for today. Try again tomorrow.";
|
|
249
249
|
readonly guestBudget: "This page has reached its limit for today. Try again tomorrow.";
|
|
250
|
+
readonly wizardPaused: "This wizard is paused for now. Try again later.";
|
|
250
251
|
readonly confirmHuman: "Confirm that you’re a person.";
|
|
251
252
|
readonly tooManyRuns: "You’ve started a lot of runs just now. Try again in an hour.";
|
|
252
253
|
readonly clientRefused: "This app may not start runs here.";
|
|
@@ -318,7 +319,7 @@ declare const NOTES_EN: {
|
|
|
318
319
|
readonly noOpenaiApiKey: "No OpenAI API key is set for voice conversations (Settings → Models).";
|
|
319
320
|
readonly modelNotAvailableAccount: "This model isn’t available with your account.";
|
|
320
321
|
readonly accountNoModelSet: "Your account has no model set up for this.";
|
|
321
|
-
readonly
|
|
322
|
+
readonly claudeCodeMakesMotion: "Claude Code makes motion graphics on this computer, using your subscription. Set it up as an AI subscription under Settings → Models.";
|
|
322
323
|
readonly macNeedsFfmpegTranscribe: "This Mac needs ffmpeg to transcribe recordings from Chrome or Firefox (WebM, Ogg). Safari and the app don’t. Install ffmpeg, e.g. with “brew install ffmpeg”.";
|
|
323
324
|
readonly fieldRequired: "Required";
|
|
324
325
|
readonly chooseAtLeast: "Choose at least {min}";
|
|
@@ -448,14 +449,14 @@ declare const NOTES_EN: {
|
|
|
448
449
|
readonly itemChangedMeantime: "This was changed elsewhere in the meantime.";
|
|
449
450
|
readonly valueNotExist: "This value doesn’t exist.";
|
|
450
451
|
readonly nothingFiledUnderValue: "Nothing is filed under this value yet.";
|
|
451
|
-
readonly
|
|
452
|
+
readonly motionNotRenderedNeeds: "The video couldn’t be rendered. It needs ffmpeg and a timeline in the widget.";
|
|
452
453
|
readonly signInRefused: "The sign-in was refused{host}. Are the address and (app) password right? Gmail and Google Workspace need an app password and IMAP turned on.{answer}";
|
|
453
454
|
readonly serverSaid: " The server said: {answer}";
|
|
454
455
|
readonly viaAccountFailed: "Connecting through your engenty account didn’t work ({code}).";
|
|
455
456
|
readonly pluginInvalidInput: "“{id}” got invalid input: {path} – {problem}";
|
|
456
|
-
readonly
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
457
|
+
readonly motionClientStopped: "{name} stopped working on the video: {detail}. The work is saved. A new try carries on from there.";
|
|
458
|
+
readonly motionWorkSaved: "{problem} The work is saved. A new try carries on from there.";
|
|
459
|
+
readonly motionRenderFailed: "The video couldn’t be rendered: {detail}";
|
|
459
460
|
readonly commandNotStarted: "The command couldn’t start: {detail}";
|
|
460
461
|
readonly providerKeyMissing: "{provider} is chosen for {makes}, but no API key is set.";
|
|
461
462
|
readonly noModelFor: "No model is set up for {makes}.";
|