@engenty/wizards-runtime 0.9.6 → 0.9.8

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 (137) hide show
  1. package/apps/runtime/dist/agents/architect.js +5 -3
  2. package/apps/runtime/dist/agents/chat-clients.js +299 -0
  3. package/apps/runtime/dist/agents/company.js +111 -0
  4. package/apps/runtime/dist/agents/studio-assistant.js +8 -4
  5. package/apps/runtime/dist/agents/subscription.js +163 -134
  6. package/apps/runtime/dist/agents/website.js +571 -53
  7. package/apps/runtime/dist/app.js +6 -3
  8. package/apps/runtime/dist/assistant/knows.js +5 -5
  9. package/apps/runtime/dist/assistant/primer.js +4 -4
  10. package/apps/runtime/dist/auth/account.js +12 -12
  11. package/apps/runtime/dist/auth/keys.js +18 -8
  12. package/apps/runtime/dist/authoring/example.js +2 -2
  13. package/apps/runtime/dist/authoring/guide.js +11 -11
  14. package/apps/runtime/dist/cli/account.js +20 -18
  15. package/apps/runtime/dist/cli/features.js +3 -3
  16. package/apps/runtime/dist/cli/ui.js +6 -0
  17. package/apps/runtime/dist/credits/estimate.js +5 -5
  18. package/apps/runtime/dist/db/adopt.js +4 -3
  19. package/apps/runtime/dist/db/migrations/control/0011_model_classes.sql +11 -0
  20. package/apps/runtime/dist/db/migrations/control/meta/0011_snapshot.json +600 -0
  21. package/apps/runtime/dist/db/migrations/control/meta/_journal.json +7 -0
  22. package/apps/runtime/dist/db/migrations/tenant/0021_model_classes.sql +41 -0
  23. package/apps/runtime/dist/db/migrations/tenant/meta/0021_snapshot.json +3475 -0
  24. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +7 -0
  25. package/apps/runtime/dist/db/schema.js +1 -1
  26. package/apps/runtime/dist/docs/dev/plugins/index.md +1 -1
  27. package/apps/runtime/dist/docs/dev/plugins/quick-start.md +2 -2
  28. package/apps/runtime/dist/docs/dev/plugins/server.md +4 -4
  29. package/apps/runtime/dist/docs/dev/plugins/studio.md +1 -1
  30. package/apps/runtime/dist/docs/dev/wizard-format/agent-steps.md +9 -5
  31. package/apps/runtime/dist/docs/dev/wizard-format/film-steps.md +2 -2
  32. package/apps/runtime/dist/docs/dev/wizard-format/index.md +14 -8
  33. package/apps/runtime/dist/docs/user-guide/ai-apps.md +1 -1
  34. package/apps/runtime/dist/docs/user-guide/command-line.md +1 -1
  35. package/apps/runtime/dist/docs/user-guide/create-account.md +6 -6
  36. package/apps/runtime/dist/docs/user-guide/first-start.md +1 -1
  37. package/apps/runtime/dist/docs/user-guide/index.md +5 -5
  38. package/apps/runtime/dist/docs/user-guide/models.md +35 -20
  39. package/apps/runtime/dist/docs/user-guide/space.md +1 -1
  40. package/apps/runtime/dist/docs/user-guide/steps.md +6 -6
  41. package/apps/runtime/dist/documents/parse.js +1 -1
  42. package/apps/runtime/dist/engine/requirements.js +11 -11
  43. package/apps/runtime/dist/engine/steps.js +4 -4
  44. package/apps/runtime/dist/env.js +4 -4
  45. package/apps/runtime/dist/features.js +4 -4
  46. package/apps/runtime/dist/film/step.js +1 -1
  47. package/apps/runtime/dist/harness/antigravity.js +3 -3
  48. package/apps/runtime/dist/harness/apple.js +1 -1
  49. package/apps/runtime/dist/harness/claude.js +2 -2
  50. package/apps/runtime/dist/harness/codex.js +3 -3
  51. package/apps/runtime/dist/harness/cursor.js +5 -1
  52. package/apps/runtime/dist/manage.js +4 -4
  53. package/apps/runtime/dist/mcp/auth.js +1 -1
  54. package/apps/runtime/dist/mcp/tools.js +6 -3
  55. package/apps/runtime/dist/models.js +139 -15
  56. package/apps/runtime/dist/plugins/loader.js +1 -1
  57. package/apps/runtime/dist/routes/lang.js +13 -4
  58. package/apps/runtime/dist/routes/runs.js +1 -1
  59. package/apps/runtime/dist/routes/studio.js +81 -41
  60. package/apps/runtime/dist/services/access.js +3 -3
  61. package/apps/runtime/dist/services/architect.js +4 -2
  62. package/apps/runtime/dist/services/assistant-chats.js +11 -2
  63. package/apps/runtime/dist/services/brand.js +1 -1
  64. package/apps/runtime/dist/services/knowledge-model.js +1 -1
  65. package/apps/runtime/dist/services/marketplace.js +3 -1
  66. package/apps/runtime/dist/services/onboarding.js +268 -48
  67. package/apps/runtime/dist/services/pages.js +17 -15
  68. package/apps/runtime/dist/services/project-files.js +1 -1
  69. package/apps/runtime/dist/services/translations.js +2 -2
  70. package/apps/runtime/dist/services/wizards.js +4 -4
  71. package/apps/runtime/dist/sharing/agent.js +1 -1
  72. package/apps/runtime/dist/texts.js +54 -8
  73. package/apps/web/dist/assets/{AboutDialog-CZr1JFvY.js → AboutDialog-B_Ixp_Tb.js} +1 -1
  74. package/apps/web/dist/assets/{ChangelogDialog-0pKHVdhu.js → ChangelogDialog-BpEIbAZ8.js} +1 -1
  75. package/apps/web/dist/assets/EditorPage-CKHY4hn4.js +4 -0
  76. package/apps/web/dist/assets/{FlowPreview-BZZvY5U9.js → FlowPreview-APXdRflR.js} +1 -1
  77. package/apps/web/dist/assets/{Harness-DPRw6BmX.js → Harness-BsGXMlLg.js} +2 -2
  78. package/apps/web/dist/assets/Marketplace-Dr-Qnb-F.js +2 -0
  79. package/apps/web/dist/assets/{NewWizardChannels-K5vfNzaC.js → NewWizardChannels-0JrRdUFd.js} +1 -1
  80. package/apps/web/dist/assets/NewWizardPage-9igFL5O8.js +7 -0
  81. package/apps/web/dist/assets/OnboardingPage-BcK9FUnU.js +1 -0
  82. package/apps/web/dist/assets/PreviewPane-X4LBqA0D.js +4 -0
  83. package/apps/web/dist/assets/ProjectPage-CG0i-KhR.js +1 -0
  84. package/apps/web/dist/assets/{PublicRunner-_N7DyvWj.js → PublicRunner-CZR1ziQ4.js} +1 -1
  85. package/apps/web/dist/assets/{ReadOnly-CQ8lWsnZ.js → ReadOnly-BraZbEG_.js} +1 -1
  86. package/apps/web/dist/assets/SettingsPage-Bw4tdoV7.js +2 -0
  87. package/apps/web/dist/assets/SetupPage-CvkE2aKx.js +1 -0
  88. package/apps/web/dist/assets/{SharePage-BXkykFJC.js → SharePage-Dk7zC5Zo.js} +1 -1
  89. package/apps/web/dist/assets/changelog-DDXnAaHm.js +1 -0
  90. package/apps/web/dist/assets/{coins-Bo9_D-7S.js → coins-391m1e4_.js} +1 -1
  91. package/apps/web/dist/assets/index-BTUtot4r.js +14 -0
  92. package/apps/web/dist/assets/index-DcUL6teA.css +1 -0
  93. package/apps/web/dist/assets/{phone-BPybLMSm.js → phone-DvgrtyNO.js} +1 -1
  94. package/apps/web/dist/assets/{runners-53tvGeez.js → runners-4OBelIgF.js} +1 -1
  95. package/apps/web/dist/assets/{session-DvW7auj-.js → session-DvnGHbDz.js} +1 -1
  96. package/apps/web/dist/assets/{settings-menu-tSPDYTfT.js → settings-menu-xK9A-gaP.js} +1 -1
  97. package/apps/web/dist/assets/theme-D3yDT4QT.js +11 -0
  98. package/apps/web/dist/assets/ui-BVQk2DtW.js +137 -0
  99. package/apps/web/dist/assets/{upload-Ct_-rz05.js → upload-BgXbzG6C.js} +1 -1
  100. package/apps/web/dist/assets/{useMutation-DM9Anfo-.js → useMutation-DkwSQWoD.js} +1 -1
  101. package/apps/web/dist/assets/{volume-2-CHuzf68z.js → volume-2-DHGoe3Cg.js} +1 -1
  102. package/apps/web/dist/assets/{wrench-BAgonupx.js → wrench-Cf_aE3O0.js} +1 -1
  103. package/apps/web/dist/index.html +8 -8
  104. package/apps/web/dist/mcp/flow.html +56 -56
  105. package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +2 -2
  106. package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +1 -1
  107. package/node_modules/@engenty/wizards-shared/dist/assistant.d.ts +6 -0
  108. package/node_modules/@engenty/wizards-shared/dist/assistant.js +2 -0
  109. package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +876 -18
  110. package/node_modules/@engenty/wizards-shared/dist/definition.js +61 -11
  111. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +5 -5
  112. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +5 -5
  113. package/node_modules/@engenty/wizards-shared/dist/features.d.ts +1 -1
  114. package/node_modules/@engenty/wizards-shared/dist/features.js +1 -1
  115. package/node_modules/@engenty/wizards-shared/dist/json-schema.js +3 -3
  116. package/node_modules/@engenty/wizards-shared/dist/projects.d.ts +1 -1
  117. package/node_modules/@engenty/wizards-shared/dist/projects.js +2 -2
  118. package/node_modules/@engenty/wizards-shared/dist/providers.d.ts +38 -1
  119. package/node_modules/@engenty/wizards-shared/dist/providers.js +65 -13
  120. package/node_modules/@engenty/wizards-shared/dist/run.d.ts +2 -2
  121. package/node_modules/@engenty/wizards-shared/dist/run.js +4 -4
  122. package/package.json +1 -1
  123. package/plugin/.claude-plugin/plugin.json +1 -1
  124. package/plugin/plugin.json +1 -1
  125. package/apps/web/dist/assets/EditorPage-_qnWDno2.js +0 -4
  126. package/apps/web/dist/assets/Marketplace-BwbLRU2n.js +0 -2
  127. package/apps/web/dist/assets/NewWizardPage-zYwDoQTe.js +0 -7
  128. package/apps/web/dist/assets/OnboardingPage-jFgWaWJV.js +0 -1
  129. package/apps/web/dist/assets/PreviewPane-D5Kn9Ila.js +0 -4
  130. package/apps/web/dist/assets/ProjectPage-CyeEBVGi.js +0 -1
  131. package/apps/web/dist/assets/SettingsPage-haivwaZK.js +0 -2
  132. package/apps/web/dist/assets/SetupPage-Dy8KeG7z.js +0 -1
  133. package/apps/web/dist/assets/changelog-XRs8voQT.js +0 -1
  134. package/apps/web/dist/assets/index-CXA_do-X.js +0 -14
  135. package/apps/web/dist/assets/index-DG0i3S-z.css +0 -1
  136. package/apps/web/dist/assets/theme-CWGl7LyL.js +0 -11
  137. package/apps/web/dist/assets/ui-Bk08zclS.js +0 -137
@@ -25,6 +25,10 @@ export declare const SPEECH_LOCALES: Record<Lang, string>;
25
25
  export declare function isLang(value: unknown): value is Lang;
26
26
  /** The language of a tag such as "de-AT", "fr" or "pt_BR", where engenty speaks it. */
27
27
  export declare function langOf(tag: string | null | undefined): Lang | null;
28
+ /** Whether the reader's English is British: the first English one of their languages is en-GB (or en-UK). */
29
+ export declare function britishEnglish(languages: readonly string[]): boolean;
30
+ /** English as a British reader spells it: "organisation" where the copy says "organization". */
31
+ export declare function britishSpelling(text: string): string;
28
32
  /**
29
33
  * The languages a wizard is offered in when its author picks one: English, German and the main
30
34
  * languages of Europe. A wizard may name any other real language by its code as well.
@@ -114,12 +118,13 @@ export declare function pluginToolOf(id: string): {
114
118
  tool: string;
115
119
  } | null;
116
120
  /**
117
- * The kinds of model a step can ask for. A step names a class; which model serves it is bound
118
- * outside the wizard (the model-gateway, or the settings of a runtime that runs alone).
121
+ * The model classes a step can ask for (its `model`), cheapest first. A step names a class;
122
+ * which model serves it is bound outside the wizard (the model-gateway, or the settings of a
123
+ * runtime that runs alone).
119
124
  */
120
- export declare const TEXT_CLASSES: readonly ["classifier", "standard", "high", "highest"];
125
+ export declare const TEXT_CLASSES: readonly ["classifier", "low", "standard", "high"];
121
126
  export type TextClass = (typeof TEXT_CLASSES)[number];
122
- export declare const MODEL_CLASSES: readonly ["classifier", "standard", "high", "highest", "image", "video", "audio", "speech"];
127
+ export declare const MODEL_CLASSES: readonly ["classifier", "low", "standard", "high", "image", "video", "audio", "speech"];
123
128
  export type ModelClass = (typeof MODEL_CLASSES)[number];
124
129
  /** How hard the model should think, where the bound model can be told. */
125
130
  export declare const EFFORTS: readonly ["low", "medium", "high"];
@@ -606,7 +611,7 @@ export declare const agentStepSchema: z.ZodObject<{
606
611
  model: z.ZodOptional<z.ZodEnum<{
607
612
  classifier: "classifier";
608
613
  high: "high";
609
- highest: "highest";
614
+ low: "low";
610
615
  standard: "standard";
611
616
  }>>;
612
617
  effort: z.ZodOptional<z.ZodEnum<{
@@ -691,7 +696,7 @@ export declare const generateStepSchema: z.ZodObject<{
691
696
  model: z.ZodOptional<z.ZodEnum<{
692
697
  classifier: "classifier";
693
698
  high: "high";
694
- highest: "highest";
699
+ low: "low";
695
700
  standard: "standard";
696
701
  }>>;
697
702
  effort: z.ZodOptional<z.ZodEnum<{
@@ -815,7 +820,7 @@ export declare const filmStepSchema: z.ZodObject<{
815
820
  model: z.ZodOptional<z.ZodEnum<{
816
821
  classifier: "classifier";
817
822
  high: "high";
818
- highest: "highest";
823
+ low: "low";
819
824
  standard: "standard";
820
825
  }>>;
821
826
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1366,7 +1371,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1366
1371
  model: z.ZodOptional<z.ZodEnum<{
1367
1372
  classifier: "classifier";
1368
1373
  high: "high";
1369
- highest: "highest";
1374
+ low: "low";
1370
1375
  standard: "standard";
1371
1376
  }>>;
1372
1377
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1450,7 +1455,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1450
1455
  model: z.ZodOptional<z.ZodEnum<{
1451
1456
  classifier: "classifier";
1452
1457
  high: "high";
1453
- highest: "highest";
1458
+ low: "low";
1454
1459
  standard: "standard";
1455
1460
  }>>;
1456
1461
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1676,7 +1681,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1676
1681
  model: z.ZodOptional<z.ZodEnum<{
1677
1682
  classifier: "classifier";
1678
1683
  high: "high";
1679
- highest: "highest";
1684
+ low: "low";
1680
1685
  standard: "standard";
1681
1686
  }>>;
1682
1687
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1958,10 +1963,21 @@ export declare const connectionSchema: z.ZodObject<{
1958
1963
  title: z.ZodOptional<z.ZodString>;
1959
1964
  description: z.ZodOptional<z.ZodString>;
1960
1965
  }, z.core.$strip>;
1961
- /** The version of the definition this app writes and reads; raised only by a breaking change. */
1962
- export declare const DEFINITION_VERSION: 1;
1963
- export declare const wizardSchema: z.ZodObject<{
1964
- version: z.ZodDefault<z.ZodLiteral<1>>;
1966
+ /**
1967
+ * The version of the definition this app writes; raised only by a breaking change. It reads the
1968
+ * earlier ones too (`upgradeDefinition`). Version 1 named the text classes one step lower: its
1969
+ * `standard`, `high` and `highest` are `low`, `standard` and `high` since version 2.
1970
+ */
1971
+ export declare const DEFINITION_VERSION: 2;
1972
+ /**
1973
+ * A definition of an earlier version, brought to this one; anything else comes back as it is.
1974
+ * One without a version is of version 1, unless `unversioned` says which one its writer read:
1975
+ * a model that wrote it from today's authoring guide writes today's (`DEFINITION_VERSION`).
1976
+ */
1977
+ export declare function upgradeDefinition(raw: unknown, unversioned?: number): unknown;
1978
+ /** A definition of this version, as it is written: what the JSON Schema describes. */
1979
+ export declare const currentWizardSchema: z.ZodObject<{
1980
+ version: z.ZodDefault<z.ZodLiteral<2>>;
1965
1981
  title: z.ZodString;
1966
1982
  description: z.ZodDefault<z.ZodString>;
1967
1983
  avatar: z.ZodDefault<z.ZodEnum<{
@@ -2379,7 +2395,7 @@ export declare const wizardSchema: z.ZodObject<{
2379
2395
  model: z.ZodOptional<z.ZodEnum<{
2380
2396
  classifier: "classifier";
2381
2397
  high: "high";
2382
- highest: "highest";
2398
+ low: "low";
2383
2399
  standard: "standard";
2384
2400
  }>>;
2385
2401
  effort: z.ZodOptional<z.ZodEnum<{
@@ -2463,7 +2479,7 @@ export declare const wizardSchema: z.ZodObject<{
2463
2479
  model: z.ZodOptional<z.ZodEnum<{
2464
2480
  classifier: "classifier";
2465
2481
  high: "high";
2466
- highest: "highest";
2482
+ low: "low";
2467
2483
  standard: "standard";
2468
2484
  }>>;
2469
2485
  effort: z.ZodOptional<z.ZodEnum<{
@@ -2689,7 +2705,7 @@ export declare const wizardSchema: z.ZodObject<{
2689
2705
  model: z.ZodOptional<z.ZodEnum<{
2690
2706
  classifier: "classifier";
2691
2707
  high: "high";
2692
- highest: "highest";
2708
+ low: "low";
2693
2709
  standard: "standard";
2694
2710
  }>>;
2695
2711
  effort: z.ZodOptional<z.ZodEnum<{
@@ -2801,7 +2817,849 @@ export declare const wizardSchema: z.ZodObject<{
2801
2817
  }, z.core.$strip>>>;
2802
2818
  }, z.core.$strip>], "type">>;
2803
2819
  }, z.core.$strip>;
2804
- export type WizardDefinition = z.infer<typeof wizardSchema>;
2820
+ /** A definition of any version this app reads, brought to this one. */
2821
+ export declare const wizardSchema: z.ZodPreprocess<z.ZodObject<{
2822
+ version: z.ZodDefault<z.ZodLiteral<2>>;
2823
+ title: z.ZodString;
2824
+ description: z.ZodDefault<z.ZodString>;
2825
+ avatar: z.ZodDefault<z.ZodEnum<{
2826
+ bean: "bean";
2827
+ dome: "dome";
2828
+ drop: "drop";
2829
+ flame: "flame";
2830
+ oval: "oval";
2831
+ pebble: "pebble";
2832
+ round: "round";
2833
+ sprout: "sprout";
2834
+ tower: "tower";
2835
+ wedge: "wedge";
2836
+ }>>;
2837
+ costume: z.ZodOptional<z.ZodEnum<{
2838
+ bat: "bat";
2839
+ devil: "devil";
2840
+ pumpkin: "pumpkin";
2841
+ witch: "witch";
2842
+ }>>;
2843
+ intro: z.ZodOptional<z.ZodString>;
2844
+ lang: z.ZodOptional<z.ZodString>;
2845
+ lists: z.ZodOptional<z.ZodArray<z.ZodObject<{
2846
+ id: z.ZodString;
2847
+ title: z.ZodString;
2848
+ description: z.ZodOptional<z.ZodString>;
2849
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2850
+ description: z.ZodOptional<z.ZodString>;
2851
+ edit: z.ZodOptional<z.ZodEnum<{
2852
+ inline: "inline";
2853
+ popout: "popout";
2854
+ }>>;
2855
+ id: z.ZodString;
2856
+ name: z.ZodString;
2857
+ required: z.ZodOptional<z.ZodBoolean>;
2858
+ format: z.ZodOptional<z.ZodObject<{
2859
+ style: z.ZodDefault<z.ZodEnum<{
2860
+ markdown: "markdown";
2861
+ multiline: "multiline";
2862
+ single: "single";
2863
+ }>>;
2864
+ }, z.core.$strip>>;
2865
+ type: z.ZodLiteral<"text">;
2866
+ }, z.core.$strip>, z.ZodObject<{
2867
+ description: z.ZodOptional<z.ZodString>;
2868
+ edit: z.ZodOptional<z.ZodEnum<{
2869
+ inline: "inline";
2870
+ popout: "popout";
2871
+ }>>;
2872
+ id: z.ZodString;
2873
+ name: z.ZodString;
2874
+ required: z.ZodOptional<z.ZodBoolean>;
2875
+ format: z.ZodObject<{
2876
+ currency: z.ZodOptional<z.ZodString>;
2877
+ fractionDigits: z.ZodOptional<z.ZodNumber>;
2878
+ grouping: z.ZodOptional<z.ZodBoolean>;
2879
+ style: z.ZodEnum<{
2880
+ currency: "currency";
2881
+ decimal: "decimal";
2882
+ integer: "integer";
2883
+ percent: "percent";
2884
+ }>;
2885
+ }, z.core.$strip>;
2886
+ type: z.ZodLiteral<"number">;
2887
+ }, z.core.$strip>, z.ZodObject<{
2888
+ description: z.ZodOptional<z.ZodString>;
2889
+ edit: z.ZodOptional<z.ZodEnum<{
2890
+ inline: "inline";
2891
+ popout: "popout";
2892
+ }>>;
2893
+ id: z.ZodString;
2894
+ name: z.ZodString;
2895
+ required: z.ZodOptional<z.ZodBoolean>;
2896
+ format: z.ZodObject<{
2897
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2898
+ iso: "iso";
2899
+ long: "long";
2900
+ medium: "medium";
2901
+ short: "short";
2902
+ }>>;
2903
+ kind: z.ZodEnum<{
2904
+ date: "date";
2905
+ datetime: "datetime";
2906
+ time: "time";
2907
+ }>;
2908
+ timePrecision: z.ZodOptional<z.ZodEnum<{
2909
+ hours: "hours";
2910
+ minutes: "minutes";
2911
+ seconds: "seconds";
2912
+ }>>;
2913
+ }, z.core.$strip>;
2914
+ type: z.ZodLiteral<"date">;
2915
+ }, z.core.$strip>, z.ZodObject<{
2916
+ description: z.ZodOptional<z.ZodString>;
2917
+ edit: z.ZodOptional<z.ZodEnum<{
2918
+ inline: "inline";
2919
+ popout: "popout";
2920
+ }>>;
2921
+ id: z.ZodString;
2922
+ name: z.ZodString;
2923
+ required: z.ZodOptional<z.ZodBoolean>;
2924
+ format: z.ZodObject<{
2925
+ display: z.ZodEnum<{
2926
+ "decimal-hours": "decimal-hours";
2927
+ hms: "hms";
2928
+ hours: "hours";
2929
+ iso: "iso";
2930
+ minutes: "minutes";
2931
+ }>;
2932
+ inputUnit: z.ZodEnum<{
2933
+ days: "days";
2934
+ hours: "hours";
2935
+ milliseconds: "milliseconds";
2936
+ minutes: "minutes";
2937
+ seconds: "seconds";
2938
+ }>;
2939
+ }, z.core.$strip>;
2940
+ type: z.ZodLiteral<"duration">;
2941
+ }, z.core.$strip>, z.ZodObject<{
2942
+ description: z.ZodOptional<z.ZodString>;
2943
+ edit: z.ZodOptional<z.ZodEnum<{
2944
+ inline: "inline";
2945
+ popout: "popout";
2946
+ }>>;
2947
+ id: z.ZodString;
2948
+ name: z.ZodString;
2949
+ required: z.ZodOptional<z.ZodBoolean>;
2950
+ format: z.ZodObject<{
2951
+ allowCustom: z.ZodBoolean;
2952
+ multiple: z.ZodOptional<z.ZodBoolean>;
2953
+ options: z.ZodArray<z.ZodObject<{
2954
+ id: z.ZodString;
2955
+ label: z.ZodString;
2956
+ }, z.core.$strip>>;
2957
+ }, z.core.$strip>;
2958
+ type: z.ZodLiteral<"select">;
2959
+ }, z.core.$strip>, z.ZodObject<{
2960
+ description: z.ZodOptional<z.ZodString>;
2961
+ edit: z.ZodOptional<z.ZodEnum<{
2962
+ inline: "inline";
2963
+ popout: "popout";
2964
+ }>>;
2965
+ id: z.ZodString;
2966
+ name: z.ZodString;
2967
+ required: z.ZodOptional<z.ZodBoolean>;
2968
+ type: z.ZodLiteral<"boolean">;
2969
+ }, z.core.$strip>], "type">>;
2970
+ key: z.ZodOptional<z.ZodString>;
2971
+ check: z.ZodOptional<z.ZodObject<{
2972
+ file: z.ZodOptional<z.ZodString>;
2973
+ status: z.ZodOptional<z.ZodString>;
2974
+ }, z.core.$strip>>;
2975
+ shared: z.ZodOptional<z.ZodBoolean>;
2976
+ }, z.core.$strip>>>;
2977
+ connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
2978
+ id: z.ZodString;
2979
+ kind: z.ZodOptional<z.ZodEnum<{
2980
+ mail: "mail";
2981
+ }>>;
2982
+ connector: z.ZodOptional<z.ZodString>;
2983
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2984
+ policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
2985
+ allow: "allow";
2986
+ ask: "ask";
2987
+ }>>>;
2988
+ title: z.ZodOptional<z.ZodString>;
2989
+ description: z.ZodOptional<z.ZodString>;
2990
+ }, z.core.$strip>>>;
2991
+ themes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2992
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2993
+ id: z.ZodString;
2994
+ title: z.ZodString;
2995
+ description: z.ZodOptional<z.ZodString>;
2996
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
2997
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2998
+ field: z.ZodString;
2999
+ op: z.ZodEnum<{
3000
+ contains: "contains";
3001
+ empty: "empty";
3002
+ equals: "equals";
3003
+ gt: "gt";
3004
+ in: "in";
3005
+ lt: "lt";
3006
+ notEmpty: "notEmpty";
3007
+ notEquals: "notEquals";
3008
+ }>;
3009
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3010
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3011
+ field: z.ZodString;
3012
+ op: z.ZodEnum<{
3013
+ contains: "contains";
3014
+ empty: "empty";
3015
+ equals: "equals";
3016
+ gt: "gt";
3017
+ in: "in";
3018
+ lt: "lt";
3019
+ notEmpty: "notEmpty";
3020
+ notEquals: "notEquals";
3021
+ }>;
3022
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3023
+ }, z.core.$strip>>]>>;
3024
+ ask: z.ZodOptional<z.ZodString>;
3025
+ goto: z.ZodString;
3026
+ max: z.ZodOptional<z.ZodNumber>;
3027
+ }, z.core.$strip>>>;
3028
+ type: z.ZodLiteral<"page">;
3029
+ fields: z.ZodArray<z.ZodObject<{
3030
+ id: z.ZodString;
3031
+ label: z.ZodString;
3032
+ kind: z.ZodEnum<{
3033
+ audio: "audio";
3034
+ color: "color";
3035
+ connection: "connection";
3036
+ date: "date";
3037
+ email: "email";
3038
+ file: "file";
3039
+ image: "image";
3040
+ items: "items";
3041
+ list: "list";
3042
+ location: "location";
3043
+ multiselect: "multiselect";
3044
+ number: "number";
3045
+ select: "select";
3046
+ signature: "signature";
3047
+ slot: "slot";
3048
+ text: "text";
3049
+ textarea: "textarea";
3050
+ toggle: "toggle";
3051
+ url: "url";
3052
+ }>;
3053
+ required: z.ZodOptional<z.ZodBoolean>;
3054
+ placeholder: z.ZodOptional<z.ZodString>;
3055
+ help: z.ZodOptional<z.ZodString>;
3056
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
3057
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3058
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
3059
+ id: z.ZodString;
3060
+ label: z.ZodString;
3061
+ kind: z.ZodEnum<{
3062
+ money: "money";
3063
+ number: "number";
3064
+ text: "text";
3065
+ }>;
3066
+ }, z.core.$strip>>>;
3067
+ vat: z.ZodOptional<z.ZodObject<{
3068
+ rate: z.ZodOptional<z.ZodNumber>;
3069
+ field: z.ZodOptional<z.ZodString>;
3070
+ }, z.core.$strip>>;
3071
+ currency: z.ZodOptional<z.ZodString>;
3072
+ multiple: z.ZodOptional<z.ZodBoolean>;
3073
+ min: z.ZodOptional<z.ZodNumber>;
3074
+ max: z.ZodOptional<z.ZodNumber>;
3075
+ camera: z.ZodOptional<z.ZodBoolean>;
3076
+ video: z.ZodOptional<z.ZodBoolean>;
3077
+ listen: z.ZodOptional<z.ZodBoolean>;
3078
+ scan: z.ZodOptional<z.ZodBoolean>;
3079
+ connection: z.ZodOptional<z.ZodString>;
3080
+ list: z.ZodOptional<z.ZodString>;
3081
+ prefill: z.ZodOptional<z.ZodString>;
3082
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3083
+ field: z.ZodString;
3084
+ op: z.ZodEnum<{
3085
+ contains: "contains";
3086
+ empty: "empty";
3087
+ equals: "equals";
3088
+ gt: "gt";
3089
+ in: "in";
3090
+ lt: "lt";
3091
+ notEmpty: "notEmpty";
3092
+ notEquals: "notEquals";
3093
+ }>;
3094
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3095
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3096
+ field: z.ZodString;
3097
+ op: z.ZodEnum<{
3098
+ contains: "contains";
3099
+ empty: "empty";
3100
+ equals: "equals";
3101
+ gt: "gt";
3102
+ in: "in";
3103
+ lt: "lt";
3104
+ notEmpty: "notEmpty";
3105
+ notEquals: "notEquals";
3106
+ }>;
3107
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3108
+ }, z.core.$strip>>]>>;
3109
+ optionsFrom: z.ZodOptional<z.ZodString>;
3110
+ cards: z.ZodOptional<z.ZodObject<{
3111
+ label: z.ZodString;
3112
+ value: z.ZodOptional<z.ZodString>;
3113
+ image: z.ZodOptional<z.ZodString>;
3114
+ subtitle: z.ZodOptional<z.ZodString>;
3115
+ meta: z.ZodOptional<z.ZodString>;
3116
+ link: z.ZodOptional<z.ZodString>;
3117
+ }, z.core.$strip>>;
3118
+ ask: z.ZodOptional<z.ZodString>;
3119
+ group: z.ZodOptional<z.ZodString>;
3120
+ }, z.core.$strip>>;
3121
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
3122
+ id: z.ZodString;
3123
+ instructions: z.ZodString;
3124
+ optional: z.ZodOptional<z.ZodBoolean>;
3125
+ }, z.core.$strip>>>;
3126
+ cta: z.ZodOptional<z.ZodString>;
3127
+ }, z.core.$strip>, z.ZodObject<{
3128
+ id: z.ZodString;
3129
+ title: z.ZodString;
3130
+ description: z.ZodOptional<z.ZodString>;
3131
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
3132
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3133
+ field: z.ZodString;
3134
+ op: z.ZodEnum<{
3135
+ contains: "contains";
3136
+ empty: "empty";
3137
+ equals: "equals";
3138
+ gt: "gt";
3139
+ in: "in";
3140
+ lt: "lt";
3141
+ notEmpty: "notEmpty";
3142
+ notEquals: "notEquals";
3143
+ }>;
3144
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3145
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3146
+ field: z.ZodString;
3147
+ op: z.ZodEnum<{
3148
+ contains: "contains";
3149
+ empty: "empty";
3150
+ equals: "equals";
3151
+ gt: "gt";
3152
+ in: "in";
3153
+ lt: "lt";
3154
+ notEmpty: "notEmpty";
3155
+ notEquals: "notEquals";
3156
+ }>;
3157
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3158
+ }, z.core.$strip>>]>>;
3159
+ ask: z.ZodOptional<z.ZodString>;
3160
+ goto: z.ZodString;
3161
+ max: z.ZodOptional<z.ZodNumber>;
3162
+ }, z.core.$strip>>>;
3163
+ type: z.ZodLiteral<"agent">;
3164
+ instructions: z.ZodDefault<z.ZodString>;
3165
+ call: z.ZodOptional<z.ZodObject<{
3166
+ tool: z.ZodTemplateLiteral<`${string}.${string}`>;
3167
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3168
+ }, z.core.$strip>>;
3169
+ tools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
3170
+ browser: "browser";
3171
+ code: "code";
3172
+ http: "http";
3173
+ image: "image";
3174
+ pages: "pages";
3175
+ sandbox: "sandbox";
3176
+ web_fetch: "web_fetch";
3177
+ web_search: "web_search";
3178
+ }>, z.ZodTemplateLiteral<`${string}.${string}`>]>>>;
3179
+ mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
3180
+ connections: z.ZodOptional<z.ZodArray<z.ZodString>>;
3181
+ output: z.ZodDefault<z.ZodObject<{
3182
+ format: z.ZodEnum<{
3183
+ json: "json";
3184
+ markdown: "markdown";
3185
+ text: "text";
3186
+ }>;
3187
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3188
+ id: z.ZodString;
3189
+ kind: z.ZodEnum<{
3190
+ choice: "choice";
3191
+ list: "list";
3192
+ number: "number";
3193
+ score: "score";
3194
+ table: "table";
3195
+ text: "text";
3196
+ yesno: "yesno";
3197
+ }>;
3198
+ description: z.ZodOptional<z.ZodString>;
3199
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
3200
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
3201
+ }, z.core.$strip>>>;
3202
+ schema: z.ZodOptional<z.ZodType<ObjectShape, unknown, z.core.$ZodTypeInternals<ObjectShape, unknown>>>;
3203
+ surface: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodObject<{
3204
+ id: z.ZodString;
3205
+ component: z.ZodEnum<{
3206
+ Actions: "Actions";
3207
+ Badge: "Badge";
3208
+ BarChart: "BarChart";
3209
+ Button: "Button";
3210
+ Callout: "Callout";
3211
+ Card: "Card";
3212
+ Checklist: "Checklist";
3213
+ Chips: "Chips";
3214
+ Column: "Column";
3215
+ DetailGrid: "DetailGrid";
3216
+ DonutChart: "DonutChart";
3217
+ Fold: "Fold";
3218
+ Grid: "Grid";
3219
+ Group: "Group";
3220
+ Image: "Image";
3221
+ LineChart: "LineChart";
3222
+ Link: "Link";
3223
+ List: "List";
3224
+ Metric: "Metric";
3225
+ Row: "Row";
3226
+ Steps: "Steps";
3227
+ Table: "Table";
3228
+ Tabs: "Tabs";
3229
+ Text: "Text";
3230
+ }>;
3231
+ children: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
3232
+ path: z.ZodString;
3233
+ componentId: z.ZodString;
3234
+ }, z.core.$strip>]>>;
3235
+ }, z.core.$loose>>]>>;
3236
+ }, z.core.$strip>>;
3237
+ model: z.ZodOptional<z.ZodEnum<{
3238
+ classifier: "classifier";
3239
+ high: "high";
3240
+ low: "low";
3241
+ standard: "standard";
3242
+ }>>;
3243
+ effort: z.ZodOptional<z.ZodEnum<{
3244
+ high: "high";
3245
+ low: "low";
3246
+ medium: "medium";
3247
+ }>>;
3248
+ each: z.ZodOptional<z.ZodString>;
3249
+ working: z.ZodOptional<z.ZodString>;
3250
+ }, z.core.$strip>, z.ZodObject<{
3251
+ id: z.ZodString;
3252
+ title: z.ZodString;
3253
+ description: z.ZodOptional<z.ZodString>;
3254
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
3255
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3256
+ field: z.ZodString;
3257
+ op: z.ZodEnum<{
3258
+ contains: "contains";
3259
+ empty: "empty";
3260
+ equals: "equals";
3261
+ gt: "gt";
3262
+ in: "in";
3263
+ lt: "lt";
3264
+ notEmpty: "notEmpty";
3265
+ notEquals: "notEquals";
3266
+ }>;
3267
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3268
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3269
+ field: z.ZodString;
3270
+ op: z.ZodEnum<{
3271
+ contains: "contains";
3272
+ empty: "empty";
3273
+ equals: "equals";
3274
+ gt: "gt";
3275
+ in: "in";
3276
+ lt: "lt";
3277
+ notEmpty: "notEmpty";
3278
+ notEquals: "notEquals";
3279
+ }>;
3280
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3281
+ }, z.core.$strip>>]>>;
3282
+ ask: z.ZodOptional<z.ZodString>;
3283
+ goto: z.ZodString;
3284
+ max: z.ZodOptional<z.ZodNumber>;
3285
+ }, z.core.$strip>>>;
3286
+ type: z.ZodLiteral<"generate">;
3287
+ asset: z.ZodEnum<{
3288
+ dashboard: "dashboard";
3289
+ document: "document";
3290
+ image: "image";
3291
+ video: "video";
3292
+ voice: "voice";
3293
+ }>;
3294
+ prompt: z.ZodString;
3295
+ options: z.ZodOptional<z.ZodObject<{
3296
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
3297
+ "16:9": "16:9";
3298
+ "1:1": "1:1";
3299
+ "2:3": "2:3";
3300
+ "3:2": "3:2";
3301
+ "4:5": "4:5";
3302
+ "9:16": "9:16";
3303
+ }>>;
3304
+ duration: z.ZodOptional<z.ZodNumber>;
3305
+ resolution: z.ZodOptional<z.ZodEnum<{
3306
+ "480p": "480p";
3307
+ "720p": "720p";
3308
+ }>>;
3309
+ style: z.ZodOptional<z.ZodString>;
3310
+ template: z.ZodOptional<z.ZodEnum<{
3311
+ briefing: "briefing";
3312
+ free: "free";
3313
+ invoice: "invoice";
3314
+ letter: "letter";
3315
+ offer: "offer";
3316
+ report: "report";
3317
+ }>>;
3318
+ }, z.core.$strip>>;
3319
+ referenceImage: z.ZodOptional<z.ZodString>;
3320
+ each: z.ZodOptional<z.ZodString>;
3321
+ model: z.ZodOptional<z.ZodEnum<{
3322
+ classifier: "classifier";
3323
+ high: "high";
3324
+ low: "low";
3325
+ standard: "standard";
3326
+ }>>;
3327
+ effort: z.ZodOptional<z.ZodEnum<{
3328
+ high: "high";
3329
+ low: "low";
3330
+ medium: "medium";
3331
+ }>>;
3332
+ working: z.ZodOptional<z.ZodString>;
3333
+ }, z.core.$strip>, z.ZodObject<{
3334
+ id: z.ZodString;
3335
+ title: z.ZodString;
3336
+ description: z.ZodOptional<z.ZodString>;
3337
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
3338
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3339
+ field: z.ZodString;
3340
+ op: z.ZodEnum<{
3341
+ contains: "contains";
3342
+ empty: "empty";
3343
+ equals: "equals";
3344
+ gt: "gt";
3345
+ in: "in";
3346
+ lt: "lt";
3347
+ notEmpty: "notEmpty";
3348
+ notEquals: "notEquals";
3349
+ }>;
3350
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3351
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3352
+ field: z.ZodString;
3353
+ op: z.ZodEnum<{
3354
+ contains: "contains";
3355
+ empty: "empty";
3356
+ equals: "equals";
3357
+ gt: "gt";
3358
+ in: "in";
3359
+ lt: "lt";
3360
+ notEmpty: "notEmpty";
3361
+ notEquals: "notEquals";
3362
+ }>;
3363
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3364
+ }, z.core.$strip>>]>>;
3365
+ ask: z.ZodOptional<z.ZodString>;
3366
+ goto: z.ZodString;
3367
+ max: z.ZodOptional<z.ZodNumber>;
3368
+ }, z.core.$strip>>>;
3369
+ type: z.ZodLiteral<"widget">;
3370
+ entry: z.ZodString;
3371
+ data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3372
+ sample: z.ZodOptional<z.ZodString>;
3373
+ layout: z.ZodOptional<z.ZodEnum<{
3374
+ fixed: "fixed";
3375
+ page: "page";
3376
+ }>>;
3377
+ size: z.ZodOptional<z.ZodObject<{
3378
+ width: z.ZodNumber;
3379
+ height: z.ZodNumber;
3380
+ }, z.core.$strip>>;
3381
+ video: z.ZodOptional<z.ZodBoolean>;
3382
+ working: z.ZodOptional<z.ZodString>;
3383
+ }, z.core.$strip>, z.ZodObject<{
3384
+ id: z.ZodString;
3385
+ title: z.ZodString;
3386
+ description: z.ZodOptional<z.ZodString>;
3387
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
3388
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3389
+ field: z.ZodString;
3390
+ op: z.ZodEnum<{
3391
+ contains: "contains";
3392
+ empty: "empty";
3393
+ equals: "equals";
3394
+ gt: "gt";
3395
+ in: "in";
3396
+ lt: "lt";
3397
+ notEmpty: "notEmpty";
3398
+ notEquals: "notEquals";
3399
+ }>;
3400
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3401
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3402
+ field: z.ZodString;
3403
+ op: z.ZodEnum<{
3404
+ contains: "contains";
3405
+ empty: "empty";
3406
+ equals: "equals";
3407
+ gt: "gt";
3408
+ in: "in";
3409
+ lt: "lt";
3410
+ notEmpty: "notEmpty";
3411
+ notEquals: "notEquals";
3412
+ }>;
3413
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3414
+ }, z.core.$strip>>]>>;
3415
+ ask: z.ZodOptional<z.ZodString>;
3416
+ goto: z.ZodString;
3417
+ max: z.ZodOptional<z.ZodNumber>;
3418
+ }, z.core.$strip>>>;
3419
+ type: z.ZodLiteral<"surface">;
3420
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
3421
+ id: z.ZodString;
3422
+ component: z.ZodEnum<{
3423
+ Actions: "Actions";
3424
+ Badge: "Badge";
3425
+ BarChart: "BarChart";
3426
+ Button: "Button";
3427
+ Callout: "Callout";
3428
+ Card: "Card";
3429
+ Checklist: "Checklist";
3430
+ Chips: "Chips";
3431
+ Column: "Column";
3432
+ DetailGrid: "DetailGrid";
3433
+ DonutChart: "DonutChart";
3434
+ Fold: "Fold";
3435
+ Grid: "Grid";
3436
+ Group: "Group";
3437
+ Image: "Image";
3438
+ LineChart: "LineChart";
3439
+ Link: "Link";
3440
+ List: "List";
3441
+ Metric: "Metric";
3442
+ Row: "Row";
3443
+ Steps: "Steps";
3444
+ Table: "Table";
3445
+ Tabs: "Tabs";
3446
+ Text: "Text";
3447
+ }>;
3448
+ children: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
3449
+ path: z.ZodString;
3450
+ componentId: z.ZodString;
3451
+ }, z.core.$strip>]>>;
3452
+ }, z.core.$loose>>>;
3453
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
3454
+ id: z.ZodString;
3455
+ description: z.ZodString;
3456
+ components: z.ZodArray<z.ZodObject<{
3457
+ id: z.ZodString;
3458
+ component: z.ZodEnum<{
3459
+ Actions: "Actions";
3460
+ Badge: "Badge";
3461
+ BarChart: "BarChart";
3462
+ Button: "Button";
3463
+ Callout: "Callout";
3464
+ Card: "Card";
3465
+ Checklist: "Checklist";
3466
+ Chips: "Chips";
3467
+ Column: "Column";
3468
+ DetailGrid: "DetailGrid";
3469
+ DonutChart: "DonutChart";
3470
+ Fold: "Fold";
3471
+ Grid: "Grid";
3472
+ Group: "Group";
3473
+ Image: "Image";
3474
+ LineChart: "LineChart";
3475
+ Link: "Link";
3476
+ List: "List";
3477
+ Metric: "Metric";
3478
+ Row: "Row";
3479
+ Steps: "Steps";
3480
+ Table: "Table";
3481
+ Tabs: "Tabs";
3482
+ Text: "Text";
3483
+ }>;
3484
+ children: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
3485
+ path: z.ZodString;
3486
+ componentId: z.ZodString;
3487
+ }, z.core.$strip>]>>;
3488
+ }, z.core.$loose>>;
3489
+ group: z.ZodOptional<z.ZodString>;
3490
+ required: z.ZodOptional<z.ZodBoolean>;
3491
+ }, z.core.$strip>>>;
3492
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
3493
+ id: z.ZodString;
3494
+ instructions: z.ZodString;
3495
+ optional: z.ZodOptional<z.ZodBoolean>;
3496
+ }, z.core.$strip>>>;
3497
+ data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3498
+ working: z.ZodOptional<z.ZodString>;
3499
+ }, z.core.$strip>, z.ZodObject<{
3500
+ id: z.ZodString;
3501
+ title: z.ZodString;
3502
+ description: z.ZodOptional<z.ZodString>;
3503
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
3504
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3505
+ field: z.ZodString;
3506
+ op: z.ZodEnum<{
3507
+ contains: "contains";
3508
+ empty: "empty";
3509
+ equals: "equals";
3510
+ gt: "gt";
3511
+ in: "in";
3512
+ lt: "lt";
3513
+ notEmpty: "notEmpty";
3514
+ notEquals: "notEquals";
3515
+ }>;
3516
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3517
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3518
+ field: z.ZodString;
3519
+ op: z.ZodEnum<{
3520
+ contains: "contains";
3521
+ empty: "empty";
3522
+ equals: "equals";
3523
+ gt: "gt";
3524
+ in: "in";
3525
+ lt: "lt";
3526
+ notEmpty: "notEmpty";
3527
+ notEquals: "notEquals";
3528
+ }>;
3529
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3530
+ }, z.core.$strip>>]>>;
3531
+ ask: z.ZodOptional<z.ZodString>;
3532
+ goto: z.ZodString;
3533
+ max: z.ZodOptional<z.ZodNumber>;
3534
+ }, z.core.$strip>>>;
3535
+ type: z.ZodLiteral<"film">;
3536
+ brief: z.ZodString;
3537
+ skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
3538
+ kit: z.ZodOptional<z.ZodString>;
3539
+ inputs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3540
+ format: z.ZodDefault<z.ZodEnum<{
3541
+ "16:9": "16:9";
3542
+ "1:1": "1:1";
3543
+ "9:16": "9:16";
3544
+ }>>;
3545
+ from: z.ZodOptional<z.ZodString>;
3546
+ seconds: z.ZodOptional<z.ZodNumber>;
3547
+ model: z.ZodOptional<z.ZodEnum<{
3548
+ classifier: "classifier";
3549
+ high: "high";
3550
+ low: "low";
3551
+ standard: "standard";
3552
+ }>>;
3553
+ effort: z.ZodOptional<z.ZodEnum<{
3554
+ high: "high";
3555
+ low: "low";
3556
+ medium: "medium";
3557
+ }>>;
3558
+ working: z.ZodOptional<z.ZodString>;
3559
+ }, z.core.$strip>, z.ZodObject<{
3560
+ id: z.ZodString;
3561
+ title: z.ZodString;
3562
+ description: z.ZodOptional<z.ZodString>;
3563
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
3564
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3565
+ field: z.ZodString;
3566
+ op: z.ZodEnum<{
3567
+ contains: "contains";
3568
+ empty: "empty";
3569
+ equals: "equals";
3570
+ gt: "gt";
3571
+ in: "in";
3572
+ lt: "lt";
3573
+ notEmpty: "notEmpty";
3574
+ notEquals: "notEquals";
3575
+ }>;
3576
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3577
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3578
+ field: z.ZodString;
3579
+ op: z.ZodEnum<{
3580
+ contains: "contains";
3581
+ empty: "empty";
3582
+ equals: "equals";
3583
+ gt: "gt";
3584
+ in: "in";
3585
+ lt: "lt";
3586
+ notEmpty: "notEmpty";
3587
+ notEquals: "notEquals";
3588
+ }>;
3589
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3590
+ }, z.core.$strip>>]>>;
3591
+ ask: z.ZodOptional<z.ZodString>;
3592
+ goto: z.ZodString;
3593
+ max: z.ZodOptional<z.ZodNumber>;
3594
+ }, z.core.$strip>>>;
3595
+ type: z.ZodLiteral<"review">;
3596
+ show: z.ZodArray<z.ZodString>;
3597
+ edit: z.ZodOptional<z.ZodBoolean>;
3598
+ regenerate: z.ZodOptional<z.ZodBoolean>;
3599
+ }, z.core.$strip>, z.ZodObject<{
3600
+ id: z.ZodString;
3601
+ title: z.ZodString;
3602
+ description: z.ZodOptional<z.ZodString>;
3603
+ next: z.ZodOptional<z.ZodArray<z.ZodObject<{
3604
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3605
+ field: z.ZodString;
3606
+ op: z.ZodEnum<{
3607
+ contains: "contains";
3608
+ empty: "empty";
3609
+ equals: "equals";
3610
+ gt: "gt";
3611
+ in: "in";
3612
+ lt: "lt";
3613
+ notEmpty: "notEmpty";
3614
+ notEquals: "notEquals";
3615
+ }>;
3616
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3617
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3618
+ field: z.ZodString;
3619
+ op: z.ZodEnum<{
3620
+ contains: "contains";
3621
+ empty: "empty";
3622
+ equals: "equals";
3623
+ gt: "gt";
3624
+ in: "in";
3625
+ lt: "lt";
3626
+ notEmpty: "notEmpty";
3627
+ notEquals: "notEquals";
3628
+ }>;
3629
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3630
+ }, z.core.$strip>>]>>;
3631
+ ask: z.ZodOptional<z.ZodString>;
3632
+ goto: z.ZodString;
3633
+ max: z.ZodOptional<z.ZodNumber>;
3634
+ }, z.core.$strip>>>;
3635
+ type: z.ZodLiteral<"result">;
3636
+ message: z.ZodOptional<z.ZodString>;
3637
+ deliverables: z.ZodArray<z.ZodObject<{
3638
+ from: z.ZodString;
3639
+ label: z.ZodOptional<z.ZodString>;
3640
+ formats: z.ZodArray<z.ZodEnum<{
3641
+ csv: "csv";
3642
+ docx: "docx";
3643
+ html: "html";
3644
+ json: "json";
3645
+ md: "md";
3646
+ mp3: "mp3";
3647
+ mp4: "mp4";
3648
+ pdf: "pdf";
3649
+ png: "png";
3650
+ txt: "txt";
3651
+ xlsx: "xlsx";
3652
+ zip: "zip";
3653
+ }>>;
3654
+ }, z.core.$strip>>;
3655
+ share: z.ZodOptional<z.ZodArray<z.ZodObject<{
3656
+ target: z.ZodString;
3657
+ label: z.ZodOptional<z.ZodString>;
3658
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3659
+ }, z.core.$strip>>>;
3660
+ }, z.core.$strip>], "type">>;
3661
+ }, z.core.$strip>, unknown>;
3662
+ export type WizardDefinition = z.infer<typeof currentWizardSchema>;
2805
3663
  export declare const INTERACTIVE: ReadonlySet<StepType>;
2806
3664
  /** Which formats each producing step can be downloaded in. */
2807
3665
  export declare function formatsFor(step: Step): Format[];