@engenty/wizards-runtime 0.9.7 → 0.10.0

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 (124) hide show
  1. package/apps/runtime/dist/agents/architect.js +4 -2
  2. package/apps/runtime/dist/agents/company.js +1 -1
  3. package/apps/runtime/dist/agents/studio-assistant.js +1 -1
  4. package/apps/runtime/dist/app.js +18 -1
  5. package/apps/runtime/dist/assistant/primer.js +1 -1
  6. package/apps/runtime/dist/auth/index.js +10 -1
  7. package/apps/runtime/dist/authoring/example.js +2 -2
  8. package/apps/runtime/dist/authoring/guide.js +11 -11
  9. package/apps/runtime/dist/credits/estimate.js +5 -5
  10. package/apps/runtime/dist/db/adopt.js +4 -3
  11. package/apps/runtime/dist/db/client.js +9 -1
  12. package/apps/runtime/dist/db/migrations/control/0011_model_classes.sql +11 -0
  13. package/apps/runtime/dist/db/migrations/control/meta/0011_snapshot.json +600 -0
  14. package/apps/runtime/dist/db/migrations/control/meta/_journal.json +7 -0
  15. package/apps/runtime/dist/db/migrations/tenant/0021_model_classes.sql +41 -0
  16. package/apps/runtime/dist/db/migrations/tenant/0022_sync.sql +247 -0
  17. package/apps/runtime/dist/db/migrations/tenant/meta/0021_snapshot.json +3475 -0
  18. package/apps/runtime/dist/db/migrations/tenant/meta/0022_snapshot.json +3792 -0
  19. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +14 -0
  20. package/apps/runtime/dist/db/schema.js +60 -0
  21. package/apps/runtime/dist/docs/dev/plugins/quick-start.md +2 -2
  22. package/apps/runtime/dist/docs/dev/plugins/server.md +2 -2
  23. package/apps/runtime/dist/docs/dev/wizard-format/agent-steps.md +9 -5
  24. package/apps/runtime/dist/docs/dev/wizard-format/film-steps.md +2 -2
  25. package/apps/runtime/dist/docs/dev/wizard-format/index.md +14 -8
  26. package/apps/runtime/dist/docs/user-guide/cloud-sync.md +85 -0
  27. package/apps/runtime/dist/docs/user-guide/data.md +4 -4
  28. package/apps/runtime/dist/docs/user-guide/meta.json +1 -0
  29. package/apps/runtime/dist/docs/user-guide/models.md +22 -13
  30. package/apps/runtime/dist/docs/user-guide/steps.md +6 -6
  31. package/apps/runtime/dist/docs/user-guide/test-and-share.md +4 -14
  32. package/apps/runtime/dist/documents/parse.js +1 -1
  33. package/apps/runtime/dist/engine/requirements.js +11 -11
  34. package/apps/runtime/dist/engine/steps.js +4 -4
  35. package/apps/runtime/dist/env.js +4 -4
  36. package/apps/runtime/dist/files/blobs.js +13 -0
  37. package/apps/runtime/dist/film/step.js +1 -1
  38. package/apps/runtime/dist/harness/antigravity.js +3 -3
  39. package/apps/runtime/dist/harness/apple.js +1 -1
  40. package/apps/runtime/dist/harness/claude.js +2 -2
  41. package/apps/runtime/dist/harness/codex.js +3 -3
  42. package/apps/runtime/dist/harness/cursor.js +1 -1
  43. package/apps/runtime/dist/index.js +7 -1
  44. package/apps/runtime/dist/mcp/tools.js +6 -3
  45. package/apps/runtime/dist/models.js +64 -10
  46. package/apps/runtime/dist/plugins/jobs.js +7 -0
  47. package/apps/runtime/dist/plugins/loader.js +1 -1
  48. package/apps/runtime/dist/routes/api.js +107 -0
  49. package/apps/runtime/dist/routes/studio.js +78 -5
  50. package/apps/runtime/dist/services/assistant-chats.js +1 -1
  51. package/apps/runtime/dist/services/brand.js +1 -1
  52. package/apps/runtime/dist/services/cloud.js +39 -5
  53. package/apps/runtime/dist/services/knowledge-model.js +1 -1
  54. package/apps/runtime/dist/services/marketplace.js +3 -1
  55. package/apps/runtime/dist/services/project-files.js +1 -1
  56. package/apps/runtime/dist/services/projects.js +11 -0
  57. package/apps/runtime/dist/services/translations.js +2 -2
  58. package/apps/runtime/dist/services/wizards.js +2 -2
  59. package/apps/runtime/dist/sharing/agent.js +1 -1
  60. package/apps/runtime/dist/sync/apply.js +39 -0
  61. package/apps/runtime/dist/sync/client.js +828 -0
  62. package/apps/runtime/dist/sync/hub.js +324 -0
  63. package/apps/runtime/dist/sync/log.js +74 -0
  64. package/apps/runtime/dist/sync/records.js +943 -0
  65. package/apps/runtime/dist/sync/state.js +17 -0
  66. package/apps/runtime/dist/texts.js +12 -0
  67. package/apps/web/dist/assets/{AboutDialog-B3tljxg5.js → AboutDialog-D1YHT0jc.js} +1 -1
  68. package/apps/web/dist/assets/{ChangelogDialog-DfWTNzyl.js → ChangelogDialog-Bv02g8av.js} +1 -1
  69. package/apps/web/dist/assets/{EditorPage-XDdz2UM4.js → EditorPage-BThoZwqO.js} +4 -4
  70. package/apps/web/dist/assets/{FlowPreview-CKNVCFbp.js → FlowPreview-dc5C92kK.js} +1 -1
  71. package/apps/web/dist/assets/{Harness-BCec49Cq.js → Harness-D0nFOIVx.js} +1 -1
  72. package/apps/web/dist/assets/{Marketplace-BuYeaxK2.js → Marketplace-Cnd8BF3q.js} +2 -2
  73. package/apps/web/dist/assets/{NewWizardChannels-DRNji-bk.js → NewWizardChannels-i62Y_2DZ.js} +1 -1
  74. package/apps/web/dist/assets/{NewWizardPage-4TpgYOaI.js → NewWizardPage-BcpRA1fx.js} +1 -1
  75. package/apps/web/dist/assets/{OnboardingPage-Cf52NOIt.js → OnboardingPage-BcMDEXNq.js} +1 -1
  76. package/apps/web/dist/assets/PreviewPane-GHcVV2Hu.js +4 -0
  77. package/apps/web/dist/assets/{ProjectPage-D6Tah3QK.js → ProjectPage-TDywzUOd.js} +1 -1
  78. package/apps/web/dist/assets/{PublicRunner-Bftc1c4m.js → PublicRunner-B6JINLpR.js} +1 -1
  79. package/apps/web/dist/assets/{ReadOnly-DVQm9IYx.js → ReadOnly-Mv5M2OV9.js} +1 -1
  80. package/apps/web/dist/assets/SettingsPage-B-F1dLgt.js +2 -0
  81. package/apps/web/dist/assets/SetupPage-CVdsdVBW.js +1 -0
  82. package/apps/web/dist/assets/{SharePage-Cn-bqSyr.js → SharePage-CBSRK0wF.js} +1 -1
  83. package/apps/web/dist/assets/changelog-BR1lxaWv.js +1 -0
  84. package/apps/web/dist/assets/{coins-DgDTBbeg.js → coins-BGZKYmu6.js} +1 -1
  85. package/apps/web/dist/assets/index-D3-kv1WF.js +14 -0
  86. package/apps/web/dist/assets/index-DcUL6teA.css +1 -0
  87. package/apps/web/dist/assets/{phone-D1Drdiio.js → phone-BzHhwehj.js} +1 -1
  88. package/apps/web/dist/assets/{runners-CTd0YAiA.js → runners-C1-zIlry.js} +1 -1
  89. package/apps/web/dist/assets/{session-DX2BcTfz.js → session-B_JeZnJ0.js} +1 -1
  90. package/apps/web/dist/assets/{settings-menu-ay9jNbQu.js → settings-menu-BZRGhsIO.js} +1 -1
  91. package/apps/web/dist/assets/theme-HcCfZDzS.js +11 -0
  92. package/apps/web/dist/assets/{ui-CJCF3Mhe.js → ui-BI1RPFWT.js} +26 -26
  93. package/apps/web/dist/assets/{upload-Dj7KPL--.js → upload-CwT8oMz0.js} +1 -1
  94. package/apps/web/dist/assets/{useMutation-CUSQpD-i.js → useMutation-byk81dDj.js} +1 -1
  95. package/apps/web/dist/assets/{volume-2-CcHZOU2m.js → volume-2-B1Pz6Iwt.js} +1 -1
  96. package/apps/web/dist/assets/{wrench-CfJTFnMJ.js → wrench-CvzXRbWN.js} +1 -1
  97. package/apps/web/dist/index.html +8 -8
  98. package/apps/web/dist/mcp/flow.html +56 -56
  99. package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +2 -2
  100. package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +872 -18
  101. package/node_modules/@engenty/wizards-shared/dist/definition.js +52 -11
  102. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +6 -0
  103. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +6 -0
  104. package/node_modules/@engenty/wizards-shared/dist/json-schema.js +3 -3
  105. package/node_modules/@engenty/wizards-shared/dist/providers.d.ts +37 -0
  106. package/node_modules/@engenty/wizards-shared/dist/providers.js +64 -12
  107. package/node_modules/@engenty/wizards-shared/dist/run.d.ts +6 -0
  108. package/node_modules/@engenty/wizards-shared/dist/run.js +12 -0
  109. package/node_modules/@engenty/wizards-shared/dist/sync-merge.d.ts +55 -0
  110. package/node_modules/@engenty/wizards-shared/dist/sync-merge.js +214 -0
  111. package/node_modules/@engenty/wizards-shared/dist/sync.d.ts +166 -0
  112. package/node_modules/@engenty/wizards-shared/dist/sync.js +40 -0
  113. package/node_modules/@engenty/wizards-shared/dist/text-merge.d.ts +14 -0
  114. package/node_modules/@engenty/wizards-shared/dist/text-merge.js +137 -0
  115. package/package.json +1 -1
  116. package/plugin/.claude-plugin/plugin.json +1 -1
  117. package/plugin/plugin.json +1 -1
  118. package/apps/web/dist/assets/PreviewPane-C4yMcZPM.js +0 -4
  119. package/apps/web/dist/assets/SettingsPage-Cd-osLDu.js +0 -2
  120. package/apps/web/dist/assets/SetupPage-Dc8U5k5P.js +0 -1
  121. package/apps/web/dist/assets/changelog-CjSBB-a4.js +0 -1
  122. package/apps/web/dist/assets/index-DS3zUVw_.css +0 -1
  123. package/apps/web/dist/assets/index-Da7hPToW.js +0 -14
  124. package/apps/web/dist/assets/theme-DanjuO1H.js +0 -11
@@ -118,12 +118,13 @@ export declare function pluginToolOf(id: string): {
118
118
  tool: string;
119
119
  } | null;
120
120
  /**
121
- * The kinds of model a step can ask for. A step names a class; which model serves it is bound
122
- * 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).
123
124
  */
124
- export declare const TEXT_CLASSES: readonly ["classifier", "standard", "high", "highest"];
125
+ export declare const TEXT_CLASSES: readonly ["classifier", "low", "standard", "high"];
125
126
  export type TextClass = (typeof TEXT_CLASSES)[number];
126
- 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"];
127
128
  export type ModelClass = (typeof MODEL_CLASSES)[number];
128
129
  /** How hard the model should think, where the bound model can be told. */
129
130
  export declare const EFFORTS: readonly ["low", "medium", "high"];
@@ -610,7 +611,7 @@ export declare const agentStepSchema: z.ZodObject<{
610
611
  model: z.ZodOptional<z.ZodEnum<{
611
612
  classifier: "classifier";
612
613
  high: "high";
613
- highest: "highest";
614
+ low: "low";
614
615
  standard: "standard";
615
616
  }>>;
616
617
  effort: z.ZodOptional<z.ZodEnum<{
@@ -695,7 +696,7 @@ export declare const generateStepSchema: z.ZodObject<{
695
696
  model: z.ZodOptional<z.ZodEnum<{
696
697
  classifier: "classifier";
697
698
  high: "high";
698
- highest: "highest";
699
+ low: "low";
699
700
  standard: "standard";
700
701
  }>>;
701
702
  effort: z.ZodOptional<z.ZodEnum<{
@@ -819,7 +820,7 @@ export declare const filmStepSchema: z.ZodObject<{
819
820
  model: z.ZodOptional<z.ZodEnum<{
820
821
  classifier: "classifier";
821
822
  high: "high";
822
- highest: "highest";
823
+ low: "low";
823
824
  standard: "standard";
824
825
  }>>;
825
826
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1370,7 +1371,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1370
1371
  model: z.ZodOptional<z.ZodEnum<{
1371
1372
  classifier: "classifier";
1372
1373
  high: "high";
1373
- highest: "highest";
1374
+ low: "low";
1374
1375
  standard: "standard";
1375
1376
  }>>;
1376
1377
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1454,7 +1455,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1454
1455
  model: z.ZodOptional<z.ZodEnum<{
1455
1456
  classifier: "classifier";
1456
1457
  high: "high";
1457
- highest: "highest";
1458
+ low: "low";
1458
1459
  standard: "standard";
1459
1460
  }>>;
1460
1461
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1680,7 +1681,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1680
1681
  model: z.ZodOptional<z.ZodEnum<{
1681
1682
  classifier: "classifier";
1682
1683
  high: "high";
1683
- highest: "highest";
1684
+ low: "low";
1684
1685
  standard: "standard";
1685
1686
  }>>;
1686
1687
  effort: z.ZodOptional<z.ZodEnum<{
@@ -1962,10 +1963,21 @@ export declare const connectionSchema: z.ZodObject<{
1962
1963
  title: z.ZodOptional<z.ZodString>;
1963
1964
  description: z.ZodOptional<z.ZodString>;
1964
1965
  }, z.core.$strip>;
1965
- /** The version of the definition this app writes and reads; raised only by a breaking change. */
1966
- export declare const DEFINITION_VERSION: 1;
1967
- export declare const wizardSchema: z.ZodObject<{
1968
- 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>>;
1969
1981
  title: z.ZodString;
1970
1982
  description: z.ZodDefault<z.ZodString>;
1971
1983
  avatar: z.ZodDefault<z.ZodEnum<{
@@ -2383,7 +2395,7 @@ export declare const wizardSchema: z.ZodObject<{
2383
2395
  model: z.ZodOptional<z.ZodEnum<{
2384
2396
  classifier: "classifier";
2385
2397
  high: "high";
2386
- highest: "highest";
2398
+ low: "low";
2387
2399
  standard: "standard";
2388
2400
  }>>;
2389
2401
  effort: z.ZodOptional<z.ZodEnum<{
@@ -2467,7 +2479,7 @@ export declare const wizardSchema: z.ZodObject<{
2467
2479
  model: z.ZodOptional<z.ZodEnum<{
2468
2480
  classifier: "classifier";
2469
2481
  high: "high";
2470
- highest: "highest";
2482
+ low: "low";
2471
2483
  standard: "standard";
2472
2484
  }>>;
2473
2485
  effort: z.ZodOptional<z.ZodEnum<{
@@ -2693,7 +2705,7 @@ export declare const wizardSchema: z.ZodObject<{
2693
2705
  model: z.ZodOptional<z.ZodEnum<{
2694
2706
  classifier: "classifier";
2695
2707
  high: "high";
2696
- highest: "highest";
2708
+ low: "low";
2697
2709
  standard: "standard";
2698
2710
  }>>;
2699
2711
  effort: z.ZodOptional<z.ZodEnum<{
@@ -2805,7 +2817,849 @@ export declare const wizardSchema: z.ZodObject<{
2805
2817
  }, z.core.$strip>>>;
2806
2818
  }, z.core.$strip>], "type">>;
2807
2819
  }, z.core.$strip>;
2808
- 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>;
2809
3663
  export declare const INTERACTIVE: ReadonlySet<StepType>;
2810
3664
  /** Which formats each producing step can be downloaded in. */
2811
3665
  export declare function formatsFor(step: Step): Format[];