@softure-ai/marketing-kit 0.9.2 → 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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,21 @@ Newest first. Each version lists what changed for an app that uses `@softure-ai/
4
4
  production, the version gets a line `verified in: <app>@<commit>` ([docs/05](../../docs/05-adoption-playbook.md),
5
5
  "Definition of done"). Versions before the first one below are described in their GitHub Releases (`marketing-kit@x.y.z`).
6
6
 
7
+ ## 0.10.0
8
+
9
+ - **A failed footage ffmpeg step hands over what it ran (#1063):** `onFfmpegFailure` on `prepareFootage`,
10
+ `transcribeFootage`, `renderFootage`, `renderFootageFilm`, `renderFootageDraft` and `cutFootageFilm` gets an
11
+ `FfmpegFailure` for every failing ffmpeg step inside them, nested ones included (normalize, tone map LUT, cut
12
+ frames, cut preview, speech, music, picture, final pass, cover): `step`, the exact `args` (`-progress` included),
13
+ `cwd`, `code`, `signal`, the whole `stderr` (up to its last 2000 lines) and every `-i` input. The hook runs before
14
+ the step throws and a returned promise is awaited. New export `writeFfmpegFailure(dir, failure, { signal })` writes
15
+ `command.sh` (re-runs the command from its folder, the graph read from `filtergraph.txt`), `filtergraph.txt` (one
16
+ chain per line), `stderr.log` and `inputs.json` (ffprobe of each input). Every failure also writes one `log` line
17
+ with the step and its full command, with or without the hook. The thrown error text is unchanged. Also exported:
18
+ `FfmpegFailure`, `FfmpegFailureHook`, `withFfmpegFailureReporting` and `runFfmpeg`'s `onFailure`, for a direct
19
+ `runFfmpeg` caller; `formatFfmpegCommand`, `splitFilterGraph`, `buildFfmpegFailureScript`, `FFMPEG_FAILURE_FILES`.
20
+ README "Footage films in a worker" says what to keep. Nothing to change for an app that does not pass the hook.
21
+
7
22
  ## 0.9.2
8
23
 
9
24
  - **Drafts and renders with a `fade` work on ffmpeg 7.1 (#1057):** ffmpeg 7.1's `setpts` leaves a stream's frame
package/README.md CHANGED
@@ -834,6 +834,30 @@ const result = await renderFootageFilm(film, {
834
834
  a folder that is too small, and `renderFootage` checks both folders before anything is bought or built, ending with
835
835
  `not enough disk space to render: …` instead of hyperframes' exit code. `findLowDiskProblems` is the check on its
836
836
  own.
837
+ - **When an ffmpeg step fails.** The thrown error names the step and the last five stderr lines. To keep the whole
838
+ failure, pass `onFfmpegFailure` to `renderFootageFilm`, `prepareFootage`, `transcribeFootage`, `renderFootage`,
839
+ `renderFootageDraft` or `cutFootageFilm`: it gets an `FfmpegFailure` (`step`, the exact `args` ffmpeg was spawned
840
+ with, the `cwd` it ran in, `code`, `signal`, the whole `stderr` and every `-i` input) before the step throws, and
841
+ a promise it returns is awaited. `writeFfmpegFailure(dir, failure, { signal })` writes it for a person to run again;
842
+ keep that folder with the job (and the build folder's `clips/` and `draft/`, which the command reads):
843
+
844
+ ```ts
845
+ const result = await renderFootageFilm(film, {
846
+ ...options,
847
+ onFfmpegFailure: (failure) => writeFfmpegFailure(join(jobDir, "ffmpeg-failure"), failure, { signal: job.signal }),
848
+ });
849
+ ```
850
+
851
+ | File | What it holds |
852
+ | --- | --- |
853
+ | `command.sh` | the command, run from the folder it ran in (`sh command.sh` fails the same way) |
854
+ | `filtergraph.txt` | the `-filter_complex` graph, one chain per line, read with `-/filter_complex` on ffmpeg 7.1+ and `-filter_complex_script` before it |
855
+ | `stderr.log` | the whole stderr |
856
+ | `inputs.json` | ffprobe's facts of every input (or why it cannot read one) |
857
+
858
+ With or without the hook, `log` gets one line: `ffmpeg failed: <step>, in <cwd>: ffmpeg <args>`, so an app that keeps
859
+ only its log still has the command. A direct `runFfmpeg` caller passes `onFailure`, or wraps the calls in
860
+ `withFfmpegFailureReporting({ onFailure, log }, run)`.
837
861
  - **A CPU-limited container.** hyperframes picks its capture workers from the host's cores, not the container's CPU
838
862
  quota: set `PRODUCER_MAX_WORKERS` to the quota. `HYPERFRAMES_EXTRACT_CACHE_MAX_MB` caps the extraction cache
839
863
  (default 2048).
@@ -49,6 +49,7 @@ export type LocatorDescriptor = {
49
49
  export declare const locatorSchema: z.ZodPipe<z.ZodObject<{
50
50
  role: z.ZodOptional<z.ZodEnum<{
51
51
  caption: "caption";
52
+ log: "log";
52
53
  code: "code";
53
54
  none: "none";
54
55
  alert: "alert";
@@ -84,7 +85,6 @@ export declare const locatorSchema: z.ZodPipe<z.ZodObject<{
84
85
  list: "list";
85
86
  listbox: "listbox";
86
87
  listitem: "listitem";
87
- log: "log";
88
88
  main: "main";
89
89
  marquee: "marquee";
90
90
  math: "math";
@@ -177,7 +177,7 @@ export declare const locatorSchema: z.ZodPipe<z.ZodObject<{
177
177
  hasText: TextMatch | null;
178
178
  nth: number | null;
179
179
  }, {
180
- role?: "caption" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
180
+ role?: "caption" | "log" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
181
181
  name?: string | {
182
182
  regex: string;
183
183
  flags: string;
@@ -208,6 +208,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
208
208
  target: z.ZodPipe<z.ZodObject<{
209
209
  role: z.ZodOptional<z.ZodEnum<{
210
210
  caption: "caption";
211
+ log: "log";
211
212
  code: "code";
212
213
  none: "none";
213
214
  alert: "alert";
@@ -243,7 +244,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
243
244
  list: "list";
244
245
  listbox: "listbox";
245
246
  listitem: "listitem";
246
- log: "log";
247
247
  main: "main";
248
248
  marquee: "marquee";
249
249
  math: "math";
@@ -336,7 +336,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
336
336
  hasText: TextMatch | null;
337
337
  nth: number | null;
338
338
  }, {
339
- role?: "caption" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
339
+ role?: "caption" | "log" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
340
340
  name?: string | {
341
341
  regex: string;
342
342
  flags: string;
@@ -380,6 +380,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
380
380
  target: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
381
381
  role: z.ZodOptional<z.ZodEnum<{
382
382
  caption: "caption";
383
+ log: "log";
383
384
  code: "code";
384
385
  none: "none";
385
386
  alert: "alert";
@@ -415,7 +416,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
415
416
  list: "list";
416
417
  listbox: "listbox";
417
418
  listitem: "listitem";
418
- log: "log";
419
419
  main: "main";
420
420
  marquee: "marquee";
421
421
  math: "math";
@@ -508,7 +508,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
508
508
  hasText: TextMatch | null;
509
509
  nth: number | null;
510
510
  }, {
511
- role?: "caption" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
511
+ role?: "caption" | "log" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
512
512
  name?: string | {
513
513
  regex: string;
514
514
  flags: string;
@@ -532,6 +532,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
532
532
  }>>, z.ZodArray<z.ZodPipe<z.ZodObject<{
533
533
  role: z.ZodOptional<z.ZodEnum<{
534
534
  caption: "caption";
535
+ log: "log";
535
536
  code: "code";
536
537
  none: "none";
537
538
  alert: "alert";
@@ -567,7 +568,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
567
568
  list: "list";
568
569
  listbox: "listbox";
569
570
  listitem: "listitem";
570
- log: "log";
571
571
  main: "main";
572
572
  marquee: "marquee";
573
573
  math: "math";
@@ -660,7 +660,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
660
660
  hasText: TextMatch | null;
661
661
  nth: number | null;
662
662
  }, {
663
- role?: "caption" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
663
+ role?: "caption" | "log" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
664
664
  name?: string | {
665
665
  regex: string;
666
666
  flags: string;
@@ -689,6 +689,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
689
689
  target: z.ZodPipe<z.ZodObject<{
690
690
  role: z.ZodOptional<z.ZodEnum<{
691
691
  caption: "caption";
692
+ log: "log";
692
693
  code: "code";
693
694
  none: "none";
694
695
  alert: "alert";
@@ -724,7 +725,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
724
725
  list: "list";
725
726
  listbox: "listbox";
726
727
  listitem: "listitem";
727
- log: "log";
728
728
  main: "main";
729
729
  marquee: "marquee";
730
730
  math: "math";
@@ -817,7 +817,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
817
817
  hasText: TextMatch | null;
818
818
  nth: number | null;
819
819
  }, {
820
- role?: "caption" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
820
+ role?: "caption" | "log" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
821
821
  name?: string | {
822
822
  regex: string;
823
823
  flags: string;
@@ -847,6 +847,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
847
847
  target: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
848
848
  role: z.ZodOptional<z.ZodEnum<{
849
849
  caption: "caption";
850
+ log: "log";
850
851
  code: "code";
851
852
  none: "none";
852
853
  alert: "alert";
@@ -882,7 +883,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
882
883
  list: "list";
883
884
  listbox: "listbox";
884
885
  listitem: "listitem";
885
- log: "log";
886
886
  main: "main";
887
887
  marquee: "marquee";
888
888
  math: "math";
@@ -975,7 +975,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
975
975
  hasText: TextMatch | null;
976
976
  nth: number | null;
977
977
  }, {
978
- role?: "caption" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
978
+ role?: "caption" | "log" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
979
979
  name?: string | {
980
980
  regex: string;
981
981
  flags: string;
@@ -999,6 +999,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
999
999
  }>>, z.ZodArray<z.ZodPipe<z.ZodObject<{
1000
1000
  role: z.ZodOptional<z.ZodEnum<{
1001
1001
  caption: "caption";
1002
+ log: "log";
1002
1003
  code: "code";
1003
1004
  none: "none";
1004
1005
  alert: "alert";
@@ -1034,7 +1035,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1034
1035
  list: "list";
1035
1036
  listbox: "listbox";
1036
1037
  listitem: "listitem";
1037
- log: "log";
1038
1038
  main: "main";
1039
1039
  marquee: "marquee";
1040
1040
  math: "math";
@@ -1127,7 +1127,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1127
1127
  hasText: TextMatch | null;
1128
1128
  nth: number | null;
1129
1129
  }, {
1130
- role?: "caption" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
1130
+ role?: "caption" | "log" | "code" | "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
1131
1131
  name?: string | {
1132
1132
  regex: string;
1133
1133
  flags: string;