@cueframe/kernel 0.2.28 → 0.2.30
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/dist/_members/errors/registry.d.ts +636 -0
- package/dist/authoring/scene.js +1 -1
- package/dist/authoring.js +3 -3
- package/dist/{chunk-2RVANTUG.js → chunk-2FKR6UTY.js} +1 -1
- package/dist/{chunk-QAALM5BW.js → chunk-3SXCFAND.js} +1 -1
- package/dist/{chunk-USAXWI4T.js → chunk-4MK6YGKV.js} +11 -1
- package/dist/{chunk-PMBPLTKU.js → chunk-I3TP2HIJ.js} +1 -1
- package/dist/{chunk-XT3SK7HR.js → chunk-LB54TVWM.js} +2 -2
- package/dist/{chunk-QSQFZAZV.js → chunk-SYOAAD5J.js} +1 -1
- package/dist/{chunk-ABJBQCW2.js → chunk-TABHHNVY.js} +132 -0
- package/dist/{chunk-JEJKLW2N.js → chunk-ZS2WRJZ4.js} +1 -1
- package/dist/compose.js +1 -1
- package/dist/composition/projection.js +2 -2
- package/dist/composition-ops.js +3 -3
- package/dist/composition.js +2 -2
- package/dist/core/render.js +3 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +3 -3
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +3 -3
- package/dist/errors.js +1 -1
- package/dist/render-harness/cardAssetAdmission.js +2 -2
- package/dist/render-harness.js +4 -4
- package/package.json +11 -11
|
@@ -403,6 +403,642 @@ export declare const ERROR_CODES: {
|
|
|
403
403
|
readonly retryable: false;
|
|
404
404
|
readonly httpStatus: 422;
|
|
405
405
|
};
|
|
406
|
+
readonly brief_not_found: {
|
|
407
|
+
readonly stage: "validate";
|
|
408
|
+
readonly category: "authoring";
|
|
409
|
+
readonly retryable: false;
|
|
410
|
+
readonly httpStatus: 404;
|
|
411
|
+
};
|
|
412
|
+
readonly brief_modified: {
|
|
413
|
+
readonly stage: "validate";
|
|
414
|
+
readonly category: "authoring";
|
|
415
|
+
readonly retryable: false;
|
|
416
|
+
readonly httpStatus: 409;
|
|
417
|
+
};
|
|
418
|
+
readonly brief_media_missing: {
|
|
419
|
+
readonly stage: "validate";
|
|
420
|
+
readonly category: "authoring";
|
|
421
|
+
readonly retryable: false;
|
|
422
|
+
readonly httpStatus: 422;
|
|
423
|
+
};
|
|
424
|
+
readonly brief_audio_media_invalid: {
|
|
425
|
+
readonly stage: "validate";
|
|
426
|
+
readonly category: "authoring";
|
|
427
|
+
readonly retryable: false;
|
|
428
|
+
readonly httpStatus: 422;
|
|
429
|
+
};
|
|
430
|
+
readonly brief_no_window: {
|
|
431
|
+
readonly stage: "validate";
|
|
432
|
+
readonly category: "authoring";
|
|
433
|
+
readonly retryable: false;
|
|
434
|
+
readonly httpStatus: 422;
|
|
435
|
+
};
|
|
436
|
+
readonly brief_multi_source: {
|
|
437
|
+
readonly stage: "validate";
|
|
438
|
+
readonly category: "authoring";
|
|
439
|
+
readonly retryable: false;
|
|
440
|
+
readonly httpStatus: 422;
|
|
441
|
+
};
|
|
442
|
+
readonly brief_beats_invalid_window: {
|
|
443
|
+
readonly stage: "validate";
|
|
444
|
+
readonly category: "authoring";
|
|
445
|
+
readonly retryable: false;
|
|
446
|
+
readonly httpStatus: 422;
|
|
447
|
+
};
|
|
448
|
+
readonly brief_beats_noncontiguous: {
|
|
449
|
+
readonly stage: "validate";
|
|
450
|
+
readonly category: "authoring";
|
|
451
|
+
readonly retryable: false;
|
|
452
|
+
readonly httpStatus: 422;
|
|
453
|
+
};
|
|
454
|
+
readonly brief_beat_duration_unhonorable: {
|
|
455
|
+
readonly stage: "validate";
|
|
456
|
+
readonly category: "authoring";
|
|
457
|
+
readonly retryable: false;
|
|
458
|
+
readonly httpStatus: 422;
|
|
459
|
+
};
|
|
460
|
+
readonly brief_duration_unhonorable: {
|
|
461
|
+
readonly stage: "validate";
|
|
462
|
+
readonly category: "authoring";
|
|
463
|
+
readonly retryable: false;
|
|
464
|
+
readonly httpStatus: 422;
|
|
465
|
+
};
|
|
466
|
+
readonly brief_captions_conflict: {
|
|
467
|
+
readonly stage: "validate";
|
|
468
|
+
readonly category: "authoring";
|
|
469
|
+
readonly retryable: false;
|
|
470
|
+
readonly httpStatus: 422;
|
|
471
|
+
};
|
|
472
|
+
readonly brief_gates_conflict: {
|
|
473
|
+
readonly stage: "validate";
|
|
474
|
+
readonly category: "authoring";
|
|
475
|
+
readonly retryable: false;
|
|
476
|
+
readonly httpStatus: 422;
|
|
477
|
+
};
|
|
478
|
+
readonly brief_graphic_conflict: {
|
|
479
|
+
readonly stage: "validate";
|
|
480
|
+
readonly category: "authoring";
|
|
481
|
+
readonly retryable: false;
|
|
482
|
+
readonly httpStatus: 422;
|
|
483
|
+
};
|
|
484
|
+
readonly brief_graphic_excluded: {
|
|
485
|
+
readonly stage: "validate";
|
|
486
|
+
readonly category: "authoring";
|
|
487
|
+
readonly retryable: false;
|
|
488
|
+
readonly httpStatus: 422;
|
|
489
|
+
};
|
|
490
|
+
readonly brief_graphic_invalid_role: {
|
|
491
|
+
readonly stage: "validate";
|
|
492
|
+
readonly category: "authoring";
|
|
493
|
+
readonly retryable: false;
|
|
494
|
+
readonly httpStatus: 422;
|
|
495
|
+
};
|
|
496
|
+
readonly invalid_clip_window: {
|
|
497
|
+
readonly stage: "validate";
|
|
498
|
+
readonly category: "authoring";
|
|
499
|
+
readonly retryable: false;
|
|
500
|
+
readonly httpStatus: 422;
|
|
501
|
+
};
|
|
502
|
+
readonly invalid_trim_bounds: {
|
|
503
|
+
readonly stage: "validate";
|
|
504
|
+
readonly category: "authoring";
|
|
505
|
+
readonly retryable: false;
|
|
506
|
+
readonly httpStatus: 422;
|
|
507
|
+
};
|
|
508
|
+
readonly invalid_window: {
|
|
509
|
+
readonly stage: "validate";
|
|
510
|
+
readonly category: "authoring";
|
|
511
|
+
readonly retryable: false;
|
|
512
|
+
readonly httpStatus: 422;
|
|
513
|
+
};
|
|
514
|
+
readonly window_out_of_range: {
|
|
515
|
+
readonly stage: "validate";
|
|
516
|
+
readonly category: "authoring";
|
|
517
|
+
readonly retryable: false;
|
|
518
|
+
readonly httpStatus: 422;
|
|
519
|
+
};
|
|
520
|
+
readonly timeline_empty: {
|
|
521
|
+
readonly stage: "validate";
|
|
522
|
+
readonly category: "authoring";
|
|
523
|
+
readonly retryable: false;
|
|
524
|
+
readonly httpStatus: 422;
|
|
525
|
+
};
|
|
526
|
+
readonly timeline_too_long: {
|
|
527
|
+
readonly stage: "validate";
|
|
528
|
+
readonly category: "authoring";
|
|
529
|
+
readonly retryable: false;
|
|
530
|
+
readonly httpStatus: 422;
|
|
531
|
+
};
|
|
532
|
+
readonly invalid_transition: {
|
|
533
|
+
readonly stage: "validate";
|
|
534
|
+
readonly category: "authoring";
|
|
535
|
+
readonly retryable: false;
|
|
536
|
+
readonly httpStatus: 422;
|
|
537
|
+
};
|
|
538
|
+
readonly composition_active: {
|
|
539
|
+
readonly stage: "validate";
|
|
540
|
+
readonly category: "authoring";
|
|
541
|
+
readonly retryable: false;
|
|
542
|
+
readonly httpStatus: 409;
|
|
543
|
+
};
|
|
544
|
+
readonly composition_not_found: {
|
|
545
|
+
readonly stage: "validate";
|
|
546
|
+
readonly category: "authoring";
|
|
547
|
+
readonly retryable: false;
|
|
548
|
+
readonly httpStatus: 404;
|
|
549
|
+
};
|
|
550
|
+
readonly no_composition: {
|
|
551
|
+
readonly stage: "validate";
|
|
552
|
+
readonly category: "authoring";
|
|
553
|
+
readonly retryable: false;
|
|
554
|
+
readonly httpStatus: 422;
|
|
555
|
+
};
|
|
556
|
+
readonly scratch_not_found: {
|
|
557
|
+
readonly stage: "validate";
|
|
558
|
+
readonly category: "authoring";
|
|
559
|
+
readonly retryable: false;
|
|
560
|
+
readonly httpStatus: 404;
|
|
561
|
+
};
|
|
562
|
+
readonly stale_revision: {
|
|
563
|
+
readonly stage: "validate";
|
|
564
|
+
readonly category: "authoring";
|
|
565
|
+
readonly retryable: false;
|
|
566
|
+
readonly httpStatus: 409;
|
|
567
|
+
};
|
|
568
|
+
readonly project_not_found: {
|
|
569
|
+
readonly stage: "validate";
|
|
570
|
+
readonly category: "authoring";
|
|
571
|
+
readonly retryable: false;
|
|
572
|
+
readonly httpStatus: 404;
|
|
573
|
+
};
|
|
574
|
+
readonly batch_too_large: {
|
|
575
|
+
readonly stage: "validate";
|
|
576
|
+
readonly category: "authoring";
|
|
577
|
+
readonly retryable: false;
|
|
578
|
+
readonly httpStatus: 413;
|
|
579
|
+
};
|
|
580
|
+
readonly payload_too_large: {
|
|
581
|
+
readonly stage: "validate";
|
|
582
|
+
readonly category: "authoring";
|
|
583
|
+
readonly retryable: false;
|
|
584
|
+
readonly httpStatus: 413;
|
|
585
|
+
};
|
|
586
|
+
readonly invalid_media_id: {
|
|
587
|
+
readonly stage: "validate";
|
|
588
|
+
readonly category: "authoring";
|
|
589
|
+
readonly retryable: false;
|
|
590
|
+
readonly httpStatus: 422;
|
|
591
|
+
};
|
|
592
|
+
readonly invalid_webhook_url: {
|
|
593
|
+
readonly stage: "validate";
|
|
594
|
+
readonly category: "authoring";
|
|
595
|
+
readonly retryable: false;
|
|
596
|
+
readonly httpStatus: 422;
|
|
597
|
+
};
|
|
598
|
+
readonly invalid_age: {
|
|
599
|
+
readonly stage: "validate";
|
|
600
|
+
readonly category: "authoring";
|
|
601
|
+
readonly retryable: false;
|
|
602
|
+
readonly httpStatus: 422;
|
|
603
|
+
};
|
|
604
|
+
readonly unsupported_fact_scope: {
|
|
605
|
+
readonly stage: "validate";
|
|
606
|
+
readonly category: "authoring";
|
|
607
|
+
readonly retryable: false;
|
|
608
|
+
readonly httpStatus: 422;
|
|
609
|
+
};
|
|
610
|
+
readonly media_not_found: {
|
|
611
|
+
readonly stage: "import";
|
|
612
|
+
readonly category: "authoring";
|
|
613
|
+
readonly retryable: false;
|
|
614
|
+
readonly httpStatus: 404;
|
|
615
|
+
};
|
|
616
|
+
readonly media_unavailable: {
|
|
617
|
+
readonly stage: "import";
|
|
618
|
+
readonly category: "authoring";
|
|
619
|
+
readonly retryable: false;
|
|
620
|
+
readonly httpStatus: 422;
|
|
621
|
+
};
|
|
622
|
+
readonly no_bytes_uploaded: {
|
|
623
|
+
readonly stage: "import";
|
|
624
|
+
readonly category: "authoring";
|
|
625
|
+
readonly retryable: false;
|
|
626
|
+
readonly httpStatus: 422;
|
|
627
|
+
};
|
|
628
|
+
readonly no_audio_role: {
|
|
629
|
+
readonly stage: "import";
|
|
630
|
+
readonly category: "authoring";
|
|
631
|
+
readonly retryable: false;
|
|
632
|
+
readonly httpStatus: 422;
|
|
633
|
+
};
|
|
634
|
+
readonly no_video_roles: {
|
|
635
|
+
readonly stage: "import";
|
|
636
|
+
readonly category: "authoring";
|
|
637
|
+
readonly retryable: false;
|
|
638
|
+
readonly httpStatus: 422;
|
|
639
|
+
};
|
|
640
|
+
readonly not_ready: {
|
|
641
|
+
readonly stage: "import";
|
|
642
|
+
readonly category: "authoring";
|
|
643
|
+
readonly retryable: false;
|
|
644
|
+
readonly httpStatus: 409;
|
|
645
|
+
};
|
|
646
|
+
readonly suggestion_not_found: {
|
|
647
|
+
readonly stage: "import";
|
|
648
|
+
readonly category: "authoring";
|
|
649
|
+
readonly retryable: false;
|
|
650
|
+
readonly httpStatus: 404;
|
|
651
|
+
};
|
|
652
|
+
readonly transcript_payload_unavailable: {
|
|
653
|
+
readonly stage: "import";
|
|
654
|
+
readonly category: "authoring";
|
|
655
|
+
readonly retryable: false;
|
|
656
|
+
readonly httpStatus: 422;
|
|
657
|
+
};
|
|
658
|
+
readonly fact_not_found: {
|
|
659
|
+
readonly stage: "import";
|
|
660
|
+
readonly category: "authoring";
|
|
661
|
+
readonly retryable: false;
|
|
662
|
+
readonly httpStatus: 404;
|
|
663
|
+
};
|
|
664
|
+
readonly fact_media_ownership_mismatch: {
|
|
665
|
+
readonly stage: "import";
|
|
666
|
+
readonly category: "authoring";
|
|
667
|
+
readonly retryable: false;
|
|
668
|
+
readonly httpStatus: 403;
|
|
669
|
+
};
|
|
670
|
+
readonly fact_org_mismatch: {
|
|
671
|
+
readonly stage: "import";
|
|
672
|
+
readonly category: "authoring";
|
|
673
|
+
readonly retryable: false;
|
|
674
|
+
readonly httpStatus: 403;
|
|
675
|
+
};
|
|
676
|
+
readonly fact_scope_mismatch: {
|
|
677
|
+
readonly stage: "import";
|
|
678
|
+
readonly category: "authoring";
|
|
679
|
+
readonly retryable: false;
|
|
680
|
+
readonly httpStatus: 422;
|
|
681
|
+
};
|
|
682
|
+
readonly job_not_found: {
|
|
683
|
+
readonly stage: "compose";
|
|
684
|
+
readonly category: "authoring";
|
|
685
|
+
readonly retryable: false;
|
|
686
|
+
readonly httpStatus: 404;
|
|
687
|
+
};
|
|
688
|
+
readonly compose_job_not_found: {
|
|
689
|
+
readonly stage: "compose";
|
|
690
|
+
readonly category: "authoring";
|
|
691
|
+
readonly retryable: false;
|
|
692
|
+
readonly httpStatus: 404;
|
|
693
|
+
};
|
|
694
|
+
readonly render_job_not_found: {
|
|
695
|
+
readonly stage: "render";
|
|
696
|
+
readonly category: "authoring";
|
|
697
|
+
readonly retryable: false;
|
|
698
|
+
readonly httpStatus: 404;
|
|
699
|
+
};
|
|
700
|
+
readonly invalid_job_terminal: {
|
|
701
|
+
readonly stage: "compose";
|
|
702
|
+
readonly category: "authoring";
|
|
703
|
+
readonly retryable: false;
|
|
704
|
+
readonly httpStatus: 409;
|
|
705
|
+
};
|
|
706
|
+
readonly not_awaiting: {
|
|
707
|
+
readonly stage: "compose";
|
|
708
|
+
readonly category: "authoring";
|
|
709
|
+
readonly retryable: false;
|
|
710
|
+
readonly httpStatus: 409;
|
|
711
|
+
};
|
|
712
|
+
readonly not_refreshable: {
|
|
713
|
+
readonly stage: "render";
|
|
714
|
+
readonly category: "authoring";
|
|
715
|
+
readonly retryable: false;
|
|
716
|
+
readonly httpStatus: 409;
|
|
717
|
+
};
|
|
718
|
+
readonly generation_in_flight: {
|
|
719
|
+
readonly stage: "compose";
|
|
720
|
+
readonly category: "authoring";
|
|
721
|
+
readonly retryable: false;
|
|
722
|
+
readonly httpStatus: 409;
|
|
723
|
+
};
|
|
724
|
+
readonly renders_in_flight: {
|
|
725
|
+
readonly stage: "render";
|
|
726
|
+
readonly category: "authoring";
|
|
727
|
+
readonly retryable: false;
|
|
728
|
+
readonly httpStatus: 409;
|
|
729
|
+
};
|
|
730
|
+
readonly revision_cycles_exhausted: {
|
|
731
|
+
readonly stage: "compose";
|
|
732
|
+
readonly category: "authoring";
|
|
733
|
+
readonly retryable: false;
|
|
734
|
+
readonly httpStatus: 422;
|
|
735
|
+
};
|
|
736
|
+
readonly generation_insufficient_balance: {
|
|
737
|
+
readonly stage: "billing";
|
|
738
|
+
readonly category: "authoring";
|
|
739
|
+
readonly retryable: false;
|
|
740
|
+
readonly httpStatus: 402;
|
|
741
|
+
};
|
|
742
|
+
readonly render_insufficient_balance: {
|
|
743
|
+
readonly stage: "billing";
|
|
744
|
+
readonly category: "authoring";
|
|
745
|
+
readonly retryable: false;
|
|
746
|
+
readonly httpStatus: 402;
|
|
747
|
+
};
|
|
748
|
+
readonly missing_payment_blob: {
|
|
749
|
+
readonly stage: "billing";
|
|
750
|
+
readonly category: "authoring";
|
|
751
|
+
readonly retryable: false;
|
|
752
|
+
readonly httpStatus: 402;
|
|
753
|
+
};
|
|
754
|
+
readonly nonce_replay: {
|
|
755
|
+
readonly stage: "billing";
|
|
756
|
+
readonly category: "authoring";
|
|
757
|
+
readonly retryable: false;
|
|
758
|
+
readonly httpStatus: 409;
|
|
759
|
+
};
|
|
760
|
+
readonly x402_row_not_found: {
|
|
761
|
+
readonly stage: "billing";
|
|
762
|
+
readonly category: "authoring";
|
|
763
|
+
readonly retryable: false;
|
|
764
|
+
readonly httpStatus: 404;
|
|
765
|
+
};
|
|
766
|
+
readonly facilitator_missing_amount: {
|
|
767
|
+
readonly stage: "billing";
|
|
768
|
+
readonly category: "authoring";
|
|
769
|
+
readonly retryable: false;
|
|
770
|
+
readonly httpStatus: 402;
|
|
771
|
+
};
|
|
772
|
+
readonly facilitator_missing_nonce: {
|
|
773
|
+
readonly stage: "billing";
|
|
774
|
+
readonly category: "authoring";
|
|
775
|
+
readonly retryable: false;
|
|
776
|
+
readonly httpStatus: 402;
|
|
777
|
+
};
|
|
778
|
+
readonly facilitator_missing_payer: {
|
|
779
|
+
readonly stage: "billing";
|
|
780
|
+
readonly category: "authoring";
|
|
781
|
+
readonly retryable: false;
|
|
782
|
+
readonly httpStatus: 402;
|
|
783
|
+
};
|
|
784
|
+
readonly facilitator_missing_valid_before: {
|
|
785
|
+
readonly stage: "billing";
|
|
786
|
+
readonly category: "authoring";
|
|
787
|
+
readonly retryable: false;
|
|
788
|
+
readonly httpStatus: 402;
|
|
789
|
+
};
|
|
790
|
+
readonly unauthenticated: {
|
|
791
|
+
readonly stage: "auth";
|
|
792
|
+
readonly category: "authoring";
|
|
793
|
+
readonly retryable: false;
|
|
794
|
+
readonly httpStatus: 401;
|
|
795
|
+
};
|
|
796
|
+
readonly webhook_unverified: {
|
|
797
|
+
readonly stage: "auth";
|
|
798
|
+
readonly category: "authoring";
|
|
799
|
+
readonly retryable: false;
|
|
800
|
+
readonly httpStatus: 401;
|
|
801
|
+
};
|
|
802
|
+
readonly embedding_dimension_mismatch: {
|
|
803
|
+
readonly stage: "validate";
|
|
804
|
+
readonly category: "authoring";
|
|
805
|
+
readonly retryable: false;
|
|
806
|
+
readonly httpStatus: 422;
|
|
807
|
+
};
|
|
808
|
+
readonly embedding_model_mismatch: {
|
|
809
|
+
readonly stage: "validate";
|
|
810
|
+
readonly category: "authoring";
|
|
811
|
+
readonly retryable: false;
|
|
812
|
+
readonly httpStatus: 422;
|
|
813
|
+
};
|
|
814
|
+
readonly facilitator_verify_failed: {
|
|
815
|
+
readonly stage: "billing";
|
|
816
|
+
readonly category: "transient";
|
|
817
|
+
readonly retryable: true;
|
|
818
|
+
readonly httpStatus: 503;
|
|
819
|
+
};
|
|
820
|
+
readonly facilitator_settle_failed: {
|
|
821
|
+
readonly stage: "billing";
|
|
822
|
+
readonly category: "transient";
|
|
823
|
+
readonly retryable: true;
|
|
824
|
+
readonly httpStatus: 503;
|
|
825
|
+
};
|
|
826
|
+
readonly embedding_provider_failed: {
|
|
827
|
+
readonly stage: "validate";
|
|
828
|
+
readonly category: "transient";
|
|
829
|
+
readonly retryable: true;
|
|
830
|
+
readonly httpStatus: 503;
|
|
831
|
+
};
|
|
832
|
+
readonly generator_unavailable: {
|
|
833
|
+
readonly stage: "compose";
|
|
834
|
+
readonly category: "transient";
|
|
835
|
+
readonly retryable: true;
|
|
836
|
+
readonly httpStatus: 503;
|
|
837
|
+
};
|
|
838
|
+
readonly pipeline_unavailable: {
|
|
839
|
+
readonly stage: "import";
|
|
840
|
+
readonly category: "transient";
|
|
841
|
+
readonly retryable: true;
|
|
842
|
+
readonly httpStatus: 503;
|
|
843
|
+
};
|
|
844
|
+
readonly mux_unavailable: {
|
|
845
|
+
readonly stage: "export";
|
|
846
|
+
readonly category: "transient";
|
|
847
|
+
readonly retryable: true;
|
|
848
|
+
readonly httpStatus: 503;
|
|
849
|
+
};
|
|
850
|
+
readonly import_unavailable: {
|
|
851
|
+
readonly stage: "import";
|
|
852
|
+
readonly category: "transient";
|
|
853
|
+
readonly retryable: true;
|
|
854
|
+
readonly httpStatus: 503;
|
|
855
|
+
};
|
|
856
|
+
readonly analysis_unconfigured: {
|
|
857
|
+
readonly stage: "compose";
|
|
858
|
+
readonly category: "transient";
|
|
859
|
+
readonly retryable: true;
|
|
860
|
+
readonly httpStatus: 503;
|
|
861
|
+
};
|
|
862
|
+
readonly search_unconfigured: {
|
|
863
|
+
readonly stage: "validate";
|
|
864
|
+
readonly category: "transient";
|
|
865
|
+
readonly retryable: true;
|
|
866
|
+
readonly httpStatus: 503;
|
|
867
|
+
};
|
|
868
|
+
readonly cdp_not_configured: {
|
|
869
|
+
readonly stage: "billing";
|
|
870
|
+
readonly category: "transient";
|
|
871
|
+
readonly retryable: false;
|
|
872
|
+
readonly httpStatus: 503;
|
|
873
|
+
};
|
|
874
|
+
readonly cdp_not_implemented: {
|
|
875
|
+
readonly stage: "billing";
|
|
876
|
+
readonly category: "internal";
|
|
877
|
+
readonly retryable: false;
|
|
878
|
+
readonly httpStatus: 501;
|
|
879
|
+
};
|
|
880
|
+
readonly analysis_failed: {
|
|
881
|
+
readonly stage: "compose";
|
|
882
|
+
readonly category: "internal";
|
|
883
|
+
readonly retryable: true;
|
|
884
|
+
readonly httpStatus: 500;
|
|
885
|
+
};
|
|
886
|
+
readonly generator_dispatch_failed: {
|
|
887
|
+
readonly stage: "compose";
|
|
888
|
+
readonly category: "internal";
|
|
889
|
+
readonly retryable: true;
|
|
890
|
+
readonly httpStatus: 500;
|
|
891
|
+
};
|
|
892
|
+
readonly import_dispatch_failed: {
|
|
893
|
+
readonly stage: "import";
|
|
894
|
+
readonly category: "internal";
|
|
895
|
+
readonly retryable: true;
|
|
896
|
+
readonly httpStatus: 500;
|
|
897
|
+
};
|
|
898
|
+
readonly mux_dispatch_failed: {
|
|
899
|
+
readonly stage: "export";
|
|
900
|
+
readonly category: "internal";
|
|
901
|
+
readonly retryable: true;
|
|
902
|
+
readonly httpStatus: 500;
|
|
903
|
+
};
|
|
904
|
+
readonly trigger_failed: {
|
|
905
|
+
readonly stage: "compose";
|
|
906
|
+
readonly category: "internal";
|
|
907
|
+
readonly retryable: true;
|
|
908
|
+
readonly httpStatus: 500;
|
|
909
|
+
};
|
|
910
|
+
readonly cancel_unreachable: {
|
|
911
|
+
readonly stage: "compose";
|
|
912
|
+
readonly category: "internal";
|
|
913
|
+
readonly retryable: true;
|
|
914
|
+
readonly httpStatus: 500;
|
|
915
|
+
};
|
|
916
|
+
readonly presign_failed: {
|
|
917
|
+
readonly stage: "import";
|
|
918
|
+
readonly category: "internal";
|
|
919
|
+
readonly retryable: true;
|
|
920
|
+
readonly httpStatus: 500;
|
|
921
|
+
};
|
|
922
|
+
readonly refresh_failed: {
|
|
923
|
+
readonly stage: "render";
|
|
924
|
+
readonly category: "internal";
|
|
925
|
+
readonly retryable: true;
|
|
926
|
+
readonly httpStatus: 500;
|
|
927
|
+
};
|
|
928
|
+
readonly sweep_failed: {
|
|
929
|
+
readonly stage: "system";
|
|
930
|
+
readonly category: "internal";
|
|
931
|
+
readonly retryable: true;
|
|
932
|
+
readonly httpStatus: 500;
|
|
933
|
+
};
|
|
934
|
+
readonly create_failed: {
|
|
935
|
+
readonly stage: "auth";
|
|
936
|
+
readonly category: "internal";
|
|
937
|
+
readonly retryable: true;
|
|
938
|
+
readonly httpStatus: 500;
|
|
939
|
+
};
|
|
940
|
+
readonly transcription_result_missing: {
|
|
941
|
+
readonly stage: "import";
|
|
942
|
+
readonly category: "internal";
|
|
943
|
+
readonly retryable: true;
|
|
944
|
+
readonly httpStatus: 500;
|
|
945
|
+
};
|
|
946
|
+
readonly transcript_model_missing: {
|
|
947
|
+
readonly stage: "import";
|
|
948
|
+
readonly category: "internal";
|
|
949
|
+
readonly retryable: false;
|
|
950
|
+
readonly httpStatus: 500;
|
|
951
|
+
};
|
|
952
|
+
readonly output_missing: {
|
|
953
|
+
readonly stage: "render";
|
|
954
|
+
readonly category: "internal";
|
|
955
|
+
readonly retryable: false;
|
|
956
|
+
readonly httpStatus: 500;
|
|
957
|
+
};
|
|
958
|
+
readonly snapshot_missing: {
|
|
959
|
+
readonly stage: "render";
|
|
960
|
+
readonly category: "internal";
|
|
961
|
+
readonly retryable: false;
|
|
962
|
+
readonly httpStatus: 500;
|
|
963
|
+
};
|
|
964
|
+
readonly snapshot_assets_missing: {
|
|
965
|
+
readonly stage: "render";
|
|
966
|
+
readonly category: "internal";
|
|
967
|
+
readonly retryable: false;
|
|
968
|
+
readonly httpStatus: 500;
|
|
969
|
+
};
|
|
970
|
+
readonly matte_clip_id_missing: {
|
|
971
|
+
readonly stage: "render";
|
|
972
|
+
readonly category: "internal";
|
|
973
|
+
readonly retryable: false;
|
|
974
|
+
readonly httpStatus: 500;
|
|
975
|
+
};
|
|
976
|
+
readonly matte_consumers_missing: {
|
|
977
|
+
readonly stage: "render";
|
|
978
|
+
readonly category: "internal";
|
|
979
|
+
readonly retryable: false;
|
|
980
|
+
readonly httpStatus: 500;
|
|
981
|
+
};
|
|
982
|
+
readonly intent_key_drift: {
|
|
983
|
+
readonly stage: "render";
|
|
984
|
+
readonly category: "internal";
|
|
985
|
+
readonly retryable: false;
|
|
986
|
+
readonly httpStatus: 500;
|
|
987
|
+
};
|
|
988
|
+
readonly content_anchor: {
|
|
989
|
+
readonly stage: "compose";
|
|
990
|
+
readonly category: "internal";
|
|
991
|
+
readonly retryable: false;
|
|
992
|
+
readonly httpStatus: 500;
|
|
993
|
+
};
|
|
994
|
+
readonly card_params_corrupt: {
|
|
995
|
+
readonly stage: "validate";
|
|
996
|
+
readonly category: "internal";
|
|
997
|
+
readonly retryable: false;
|
|
998
|
+
readonly httpStatus: 500;
|
|
999
|
+
};
|
|
1000
|
+
readonly original_row_missing: {
|
|
1001
|
+
readonly stage: "system";
|
|
1002
|
+
readonly category: "internal";
|
|
1003
|
+
readonly retryable: false;
|
|
1004
|
+
readonly httpStatus: 500;
|
|
1005
|
+
};
|
|
1006
|
+
readonly malformed_pending_fact: {
|
|
1007
|
+
readonly stage: "system";
|
|
1008
|
+
readonly category: "internal";
|
|
1009
|
+
readonly retryable: false;
|
|
1010
|
+
readonly httpStatus: 500;
|
|
1011
|
+
};
|
|
1012
|
+
readonly fact_identity_collision: {
|
|
1013
|
+
readonly stage: "system";
|
|
1014
|
+
readonly category: "internal";
|
|
1015
|
+
readonly retryable: false;
|
|
1016
|
+
readonly httpStatus: 500;
|
|
1017
|
+
};
|
|
1018
|
+
readonly fact_request_cause_mismatch: {
|
|
1019
|
+
readonly stage: "system";
|
|
1020
|
+
readonly category: "internal";
|
|
1021
|
+
readonly retryable: false;
|
|
1022
|
+
readonly httpStatus: 500;
|
|
1023
|
+
};
|
|
1024
|
+
readonly fact_dispatch_fence_rejected: {
|
|
1025
|
+
readonly stage: "system";
|
|
1026
|
+
readonly category: "internal";
|
|
1027
|
+
readonly retryable: false;
|
|
1028
|
+
readonly httpStatus: 409;
|
|
1029
|
+
};
|
|
1030
|
+
readonly mux_state_drift: {
|
|
1031
|
+
readonly stage: "export";
|
|
1032
|
+
readonly category: "internal";
|
|
1033
|
+
readonly retryable: false;
|
|
1034
|
+
readonly httpStatus: 500;
|
|
1035
|
+
};
|
|
1036
|
+
readonly corrupt_session: {
|
|
1037
|
+
readonly stage: "compose";
|
|
1038
|
+
readonly category: "internal";
|
|
1039
|
+
readonly retryable: false;
|
|
1040
|
+
readonly httpStatus: 500;
|
|
1041
|
+
};
|
|
406
1042
|
readonly component_deadline_exceeded: {
|
|
407
1043
|
readonly stage: "render";
|
|
408
1044
|
readonly category: "transient";
|
package/dist/authoring/scene.js
CHANGED
package/dist/authoring.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
hasSceneOp,
|
|
5
5
|
isSceneOp,
|
|
6
6
|
materializeSceneOpsCore
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4MK6YGKV.js";
|
|
8
8
|
import {
|
|
9
9
|
ZERO_USAGE,
|
|
10
10
|
buildDirectorTools,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
formatPlanSteps,
|
|
49
49
|
initCodeGenPrompts
|
|
50
50
|
} from "./chunk-Y4HPN4BC.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-SYOAAD5J.js";
|
|
52
52
|
import {
|
|
53
53
|
cssLayoutVars
|
|
54
54
|
} from "./chunk-W5W3FDDI.js";
|
|
@@ -62,7 +62,7 @@ import "./chunk-WPZKOVYF.js";
|
|
|
62
62
|
import "./chunk-B7J5UUUV.js";
|
|
63
63
|
import "./chunk-KYRDKK2D.js";
|
|
64
64
|
import "./chunk-WREYUH2E.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-TABHHNVY.js";
|
|
66
66
|
import "./chunk-7PA7FGLD.js";
|
|
67
67
|
import {
|
|
68
68
|
collectSceneClipIssues,
|
|
@@ -260,7 +260,17 @@ async function materializeSceneOpsCore(composition, ops, deps) {
|
|
|
260
260
|
for (let i = 0; i < ops.length; i++) {
|
|
261
261
|
const op = ops[i];
|
|
262
262
|
if (!isSceneOp(op)) {
|
|
263
|
-
|
|
263
|
+
try {
|
|
264
|
+
current = emit(op, current);
|
|
265
|
+
} catch (error) {
|
|
266
|
+
if (error instanceof SceneAuthoringError) throw error;
|
|
267
|
+
throw new SceneAuthoringError(
|
|
268
|
+
"invalid_composition",
|
|
269
|
+
`ops[${i}]`,
|
|
270
|
+
error instanceof Error ? error.message : String(error),
|
|
271
|
+
{ opIndex: i }
|
|
272
|
+
);
|
|
273
|
+
}
|
|
264
274
|
continue;
|
|
265
275
|
}
|
|
266
276
|
try {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
scoreAndRank,
|
|
25
25
|
segmentShots,
|
|
26
26
|
stabilizeSelectionHysteresis
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3SXCFAND.js";
|
|
28
28
|
import {
|
|
29
29
|
compositionHasVo,
|
|
30
30
|
roleDefaultGainDb
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
CueframeError,
|
|
38
38
|
encodeError
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TABHHNVY.js";
|
|
40
40
|
import {
|
|
41
41
|
SCENE_CAPTURE_IDENTITY_FIELDS_V1,
|
|
42
42
|
SCENE_PRESET_TRIANGLES,
|
|
@@ -66,6 +66,138 @@ var ERROR_CODES = {
|
|
|
66
66
|
component_runtime_error: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
67
67
|
component_source_unavailable: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
68
68
|
scene_materialization_failed: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
69
|
+
// ── CUE-28: codes that were thrown typed and arrived as internal_error 500 ──
|
|
70
|
+
//
|
|
71
|
+
// Every entry below was already a deliberate `ConvexError({ code })` at its
|
|
72
|
+
// throw site. Without a registry row `translateToEnvelope` resolved none of
|
|
73
|
+
// them, so all of them reached the caller as an opaque 500 with the message
|
|
74
|
+
// replaced — the CUE-12 defect, 103 times over.
|
|
75
|
+
//
|
|
76
|
+
// `category` is the load-bearing field, not `httpStatus`: `authoring` puts the
|
|
77
|
+
// throw site's sentence on the wire (scrubbed), everything else replaces it
|
|
78
|
+
// with a generic string. So it is set to `authoring` only where the caller's
|
|
79
|
+
// own request explains the failure, and left `internal` where the message
|
|
80
|
+
// would describe our infrastructure instead.
|
|
81
|
+
// Brief validation — each of these throws with a full `message:` naming the
|
|
82
|
+
// offending field and value. They were the most expensive to lose.
|
|
83
|
+
brief_not_found: { stage: "validate", category: "authoring", retryable: false, httpStatus: 404 },
|
|
84
|
+
brief_modified: { stage: "validate", category: "authoring", retryable: false, httpStatus: 409 },
|
|
85
|
+
brief_media_missing: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
86
|
+
brief_audio_media_invalid: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
87
|
+
brief_no_window: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
88
|
+
brief_multi_source: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
89
|
+
brief_beats_invalid_window: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
90
|
+
brief_beats_noncontiguous: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
91
|
+
brief_beat_duration_unhonorable: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
92
|
+
brief_duration_unhonorable: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
93
|
+
brief_captions_conflict: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
94
|
+
brief_gates_conflict: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
95
|
+
brief_graphic_conflict: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
96
|
+
brief_graphic_excluded: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
97
|
+
brief_graphic_invalid_role: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
98
|
+
// Composition / timeline authoring
|
|
99
|
+
invalid_clip_window: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
100
|
+
invalid_trim_bounds: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
101
|
+
invalid_window: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
102
|
+
window_out_of_range: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
103
|
+
timeline_empty: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
104
|
+
timeline_too_long: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
105
|
+
invalid_transition: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
106
|
+
composition_active: { stage: "validate", category: "authoring", retryable: false, httpStatus: 409 },
|
|
107
|
+
composition_not_found: { stage: "validate", category: "authoring", retryable: false, httpStatus: 404 },
|
|
108
|
+
no_composition: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
109
|
+
scratch_not_found: { stage: "validate", category: "authoring", retryable: false, httpStatus: 404 },
|
|
110
|
+
stale_revision: { stage: "validate", category: "authoring", retryable: false, httpStatus: 409 },
|
|
111
|
+
project_not_found: { stage: "validate", category: "authoring", retryable: false, httpStatus: 404 },
|
|
112
|
+
batch_too_large: { stage: "validate", category: "authoring", retryable: false, httpStatus: 413 },
|
|
113
|
+
payload_too_large: { stage: "validate", category: "authoring", retryable: false, httpStatus: 413 },
|
|
114
|
+
invalid_media_id: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
115
|
+
invalid_webhook_url: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
116
|
+
invalid_age: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
117
|
+
unsupported_fact_scope: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
118
|
+
// Media lifecycle
|
|
119
|
+
media_not_found: { stage: "import", category: "authoring", retryable: false, httpStatus: 404 },
|
|
120
|
+
media_unavailable: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
121
|
+
no_bytes_uploaded: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
122
|
+
no_audio_role: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
123
|
+
no_video_roles: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
124
|
+
not_ready: { stage: "import", category: "authoring", retryable: false, httpStatus: 409 },
|
|
125
|
+
suggestion_not_found: { stage: "import", category: "authoring", retryable: false, httpStatus: 404 },
|
|
126
|
+
transcript_payload_unavailable: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
127
|
+
fact_not_found: { stage: "import", category: "authoring", retryable: false, httpStatus: 404 },
|
|
128
|
+
fact_media_ownership_mismatch: { stage: "import", category: "authoring", retryable: false, httpStatus: 403 },
|
|
129
|
+
fact_org_mismatch: { stage: "import", category: "authoring", retryable: false, httpStatus: 403 },
|
|
130
|
+
fact_scope_mismatch: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
131
|
+
// Job / lifecycle state the caller can reconcile by re-reading
|
|
132
|
+
job_not_found: { stage: "compose", category: "authoring", retryable: false, httpStatus: 404 },
|
|
133
|
+
compose_job_not_found: { stage: "compose", category: "authoring", retryable: false, httpStatus: 404 },
|
|
134
|
+
render_job_not_found: { stage: "render", category: "authoring", retryable: false, httpStatus: 404 },
|
|
135
|
+
invalid_job_terminal: { stage: "compose", category: "authoring", retryable: false, httpStatus: 409 },
|
|
136
|
+
not_awaiting: { stage: "compose", category: "authoring", retryable: false, httpStatus: 409 },
|
|
137
|
+
not_refreshable: { stage: "render", category: "authoring", retryable: false, httpStatus: 409 },
|
|
138
|
+
generation_in_flight: { stage: "compose", category: "authoring", retryable: false, httpStatus: 409 },
|
|
139
|
+
renders_in_flight: { stage: "render", category: "authoring", retryable: false, httpStatus: 409 },
|
|
140
|
+
revision_cycles_exhausted: { stage: "compose", category: "authoring", retryable: false, httpStatus: 422 },
|
|
141
|
+
// Billing — the caller's balance explains these
|
|
142
|
+
generation_insufficient_balance: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
143
|
+
render_insufficient_balance: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
144
|
+
// x402 — the payload the caller signed explains these
|
|
145
|
+
missing_payment_blob: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
146
|
+
nonce_replay: { stage: "billing", category: "authoring", retryable: false, httpStatus: 409 },
|
|
147
|
+
x402_row_not_found: { stage: "billing", category: "authoring", retryable: false, httpStatus: 404 },
|
|
148
|
+
facilitator_missing_amount: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
149
|
+
facilitator_missing_nonce: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
150
|
+
facilitator_missing_payer: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
151
|
+
facilitator_missing_valid_before: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
152
|
+
// Auth
|
|
153
|
+
unauthenticated: { stage: "auth", category: "authoring", retryable: false, httpStatus: 401 },
|
|
154
|
+
webhook_unverified: { stage: "auth", category: "authoring", retryable: false, httpStatus: 401 },
|
|
155
|
+
// Embedding / search — the request's own vector or model explains these
|
|
156
|
+
embedding_dimension_mismatch: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
157
|
+
embedding_model_mismatch: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
158
|
+
// ── TRANSIENT: ours, but retrying is the right response ──
|
|
159
|
+
facilitator_verify_failed: { stage: "billing", category: "transient", retryable: true, httpStatus: 503 },
|
|
160
|
+
facilitator_settle_failed: { stage: "billing", category: "transient", retryable: true, httpStatus: 503 },
|
|
161
|
+
embedding_provider_failed: { stage: "validate", category: "transient", retryable: true, httpStatus: 503 },
|
|
162
|
+
generator_unavailable: { stage: "compose", category: "transient", retryable: true, httpStatus: 503 },
|
|
163
|
+
pipeline_unavailable: { stage: "import", category: "transient", retryable: true, httpStatus: 503 },
|
|
164
|
+
mux_unavailable: { stage: "export", category: "transient", retryable: true, httpStatus: 503 },
|
|
165
|
+
import_unavailable: { stage: "import", category: "transient", retryable: true, httpStatus: 503 },
|
|
166
|
+
analysis_unconfigured: { stage: "compose", category: "transient", retryable: true, httpStatus: 503 },
|
|
167
|
+
search_unconfigured: { stage: "validate", category: "transient", retryable: true, httpStatus: 503 },
|
|
168
|
+
cdp_not_configured: { stage: "billing", category: "transient", retryable: false, httpStatus: 503 },
|
|
169
|
+
cdp_not_implemented: { stage: "billing", category: "internal", retryable: false, httpStatus: 501 },
|
|
170
|
+
// ── INTERNAL: the message would describe our infrastructure, not the request.
|
|
171
|
+
// Registered anyway, so the CODE and `retryable` are still honest even though
|
|
172
|
+
// the message is replaced — a caller can at least tell these apart from one
|
|
173
|
+
// another and knows whether to retry.
|
|
174
|
+
analysis_failed: { stage: "compose", category: "internal", retryable: true, httpStatus: 500 },
|
|
175
|
+
generator_dispatch_failed: { stage: "compose", category: "internal", retryable: true, httpStatus: 500 },
|
|
176
|
+
import_dispatch_failed: { stage: "import", category: "internal", retryable: true, httpStatus: 500 },
|
|
177
|
+
mux_dispatch_failed: { stage: "export", category: "internal", retryable: true, httpStatus: 500 },
|
|
178
|
+
trigger_failed: { stage: "compose", category: "internal", retryable: true, httpStatus: 500 },
|
|
179
|
+
cancel_unreachable: { stage: "compose", category: "internal", retryable: true, httpStatus: 500 },
|
|
180
|
+
presign_failed: { stage: "import", category: "internal", retryable: true, httpStatus: 500 },
|
|
181
|
+
refresh_failed: { stage: "render", category: "internal", retryable: true, httpStatus: 500 },
|
|
182
|
+
sweep_failed: { stage: "system", category: "internal", retryable: true, httpStatus: 500 },
|
|
183
|
+
create_failed: { stage: "auth", category: "internal", retryable: true, httpStatus: 500 },
|
|
184
|
+
transcription_result_missing: { stage: "import", category: "internal", retryable: true, httpStatus: 500 },
|
|
185
|
+
transcript_model_missing: { stage: "import", category: "internal", retryable: false, httpStatus: 500 },
|
|
186
|
+
output_missing: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
|
|
187
|
+
snapshot_missing: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
|
|
188
|
+
snapshot_assets_missing: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
|
|
189
|
+
matte_clip_id_missing: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
|
|
190
|
+
matte_consumers_missing: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
|
|
191
|
+
intent_key_drift: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
|
|
192
|
+
content_anchor: { stage: "compose", category: "internal", retryable: false, httpStatus: 500 },
|
|
193
|
+
card_params_corrupt: { stage: "validate", category: "internal", retryable: false, httpStatus: 500 },
|
|
194
|
+
original_row_missing: { stage: "system", category: "internal", retryable: false, httpStatus: 500 },
|
|
195
|
+
malformed_pending_fact: { stage: "system", category: "internal", retryable: false, httpStatus: 500 },
|
|
196
|
+
fact_identity_collision: { stage: "system", category: "internal", retryable: false, httpStatus: 500 },
|
|
197
|
+
fact_request_cause_mismatch: { stage: "system", category: "internal", retryable: false, httpStatus: 500 },
|
|
198
|
+
fact_dispatch_fence_rejected: { stage: "system", category: "internal", retryable: false, httpStatus: 409 },
|
|
199
|
+
mux_state_drift: { stage: "export", category: "internal", retryable: false, httpStatus: 500 },
|
|
200
|
+
corrupt_session: { stage: "compose", category: "internal", retryable: false, httpStatus: 500 },
|
|
69
201
|
component_deadline_exceeded: { stage: "render", category: "transient", retryable: true, httpStatus: 503 },
|
|
70
202
|
component_resource_exhausted: { stage: "render", category: "transient", retryable: true, httpStatus: 503 },
|
|
71
203
|
component_asset_undeclared: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
package/dist/compose.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
silhouetteKeepOutForWindow,
|
|
33
33
|
sourceRectToOutput,
|
|
34
34
|
sourceWindowKey
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-SYOAAD5J.js";
|
|
36
36
|
import {
|
|
37
37
|
BRAND_TOKEN_REFS,
|
|
38
38
|
BRAND_TOKEN_ROOT_KEYS,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
contrastRatio
|
|
75
75
|
} from "../chunk-ILO4NEZ3.js";
|
|
76
76
|
import "../chunk-VG2ND6PX.js";
|
|
77
|
-
import "../chunk-
|
|
77
|
+
import "../chunk-TABHHNVY.js";
|
|
78
78
|
import "../chunk-AVTEPAWI.js";
|
|
79
79
|
import "../chunk-2ESYSVXG.js";
|
|
80
80
|
export {
|
package/dist/composition-ops.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
playableSpans
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LB54TVWM.js";
|
|
4
4
|
import "./chunk-QH3YI3ND.js";
|
|
5
5
|
import "./chunk-QISFYLBB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-3SXCFAND.js";
|
|
7
7
|
import "./chunk-VZ7TYX6Z.js";
|
|
8
8
|
import "./chunk-DENF4TPI.js";
|
|
9
9
|
import {
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-B7J5UUUV.js";
|
|
31
31
|
import "./chunk-KYRDKK2D.js";
|
|
32
32
|
import "./chunk-WREYUH2E.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-TABHHNVY.js";
|
|
34
34
|
import "./chunk-7PA7FGLD.js";
|
|
35
35
|
import {
|
|
36
36
|
SCENE_SLOT_MEDIA_FORMATS,
|
package/dist/composition.js
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
silhouetteKeepOutForWindow,
|
|
47
47
|
sourceRectToOutput,
|
|
48
48
|
sourceWindowKey
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-SYOAAD5J.js";
|
|
50
50
|
import {
|
|
51
51
|
BRAND_TOKEN_REFS,
|
|
52
52
|
BRAND_TOKEN_ROOT_KEYS,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
ReframeSegmentFields
|
|
195
195
|
} from "./chunk-B7J5UUUV.js";
|
|
196
196
|
import "./chunk-WREYUH2E.js";
|
|
197
|
-
import "./chunk-
|
|
197
|
+
import "./chunk-TABHHNVY.js";
|
|
198
198
|
import "./chunk-AVTEPAWI.js";
|
|
199
199
|
import "./chunk-2ESYSVXG.js";
|
|
200
200
|
|
package/dist/core/render.js
CHANGED
|
@@ -66,19 +66,19 @@ import {
|
|
|
66
66
|
sliceTranscriptWords,
|
|
67
67
|
splitIntoSentences,
|
|
68
68
|
validateComposition
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-LB54TVWM.js";
|
|
70
70
|
import {
|
|
71
71
|
buildEasedZooms,
|
|
72
72
|
buildPannedCenters,
|
|
73
73
|
easeOutCubic
|
|
74
74
|
} from "../chunk-QH3YI3ND.js";
|
|
75
75
|
import "../chunk-QISFYLBB.js";
|
|
76
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-3SXCFAND.js";
|
|
77
77
|
import "../chunk-VZ7TYX6Z.js";
|
|
78
78
|
import "../chunk-DENF4TPI.js";
|
|
79
79
|
import "../chunk-KYRDKK2D.js";
|
|
80
80
|
import "../chunk-WREYUH2E.js";
|
|
81
|
-
import "../chunk-
|
|
81
|
+
import "../chunk-TABHHNVY.js";
|
|
82
82
|
import "../chunk-7PA7FGLD.js";
|
|
83
83
|
import "../chunk-XACXNDFL.js";
|
|
84
84
|
import "../chunk-2L7PYYJK.js";
|
package/dist/core/select.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
stabilizeIncumbentChallenger,
|
|
8
8
|
stabilizePresenceGate,
|
|
9
9
|
stabilizeSelectionHysteresis
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-3SXCFAND.js";
|
|
11
|
+
import "../chunk-TABHHNVY.js";
|
|
12
12
|
import "../chunk-2ESYSVXG.js";
|
|
13
13
|
|
|
14
14
|
// ../execution/core/src/select/errorCodes.ts
|
package/dist/core.js
CHANGED
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
ensureEven,
|
|
11
11
|
extractCaptionWordsFromDoc,
|
|
12
12
|
isEmphasized
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LB54TVWM.js";
|
|
14
14
|
import "./chunk-QH3YI3ND.js";
|
|
15
15
|
import "./chunk-QISFYLBB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-3SXCFAND.js";
|
|
17
17
|
import "./chunk-VZ7TYX6Z.js";
|
|
18
18
|
import "./chunk-DENF4TPI.js";
|
|
19
19
|
import "./chunk-KYRDKK2D.js";
|
|
20
20
|
import "./chunk-WREYUH2E.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-TABHHNVY.js";
|
|
22
22
|
import "./chunk-7PA7FGLD.js";
|
|
23
23
|
import "./chunk-XACXNDFL.js";
|
|
24
24
|
import "./chunk-2L7PYYJK.js";
|
package/dist/director/ai-sdk.js
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
dataChunk,
|
|
11
11
|
generationArtifactFromToolResult,
|
|
12
12
|
projectDirectorHistory
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-ZS2WRJZ4.js";
|
|
14
|
+
import "../chunk-2FKR6UTY.js";
|
|
15
15
|
import "../chunk-73DQTUWY.js";
|
|
16
16
|
import "../chunk-BADZHXLR.js";
|
|
17
17
|
import "../chunk-U3JPILZS.js";
|
|
18
18
|
import "../chunk-XELS2BGA.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-TABHHNVY.js";
|
|
20
20
|
import "../chunk-2ESYSVXG.js";
|
|
21
21
|
export {
|
|
22
22
|
CueFrameIteration,
|
package/dist/director/domain.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ProjectRef,
|
|
10
10
|
chatErrorViewFromEnvelope,
|
|
11
11
|
chatErrorViewFromUnknown
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-2FKR6UTY.js";
|
|
13
13
|
import {
|
|
14
14
|
ClientRequestId,
|
|
15
15
|
GenerateMediaCommand,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import "../chunk-BADZHXLR.js";
|
|
32
32
|
import "../chunk-U3JPILZS.js";
|
|
33
33
|
import "../chunk-XELS2BGA.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-TABHHNVY.js";
|
|
35
35
|
import "../chunk-2ESYSVXG.js";
|
|
36
36
|
export {
|
|
37
37
|
ChatErrorView,
|
package/dist/director.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
dataChunk,
|
|
11
11
|
generationArtifactFromToolResult,
|
|
12
12
|
projectDirectorHistory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZS2WRJZ4.js";
|
|
14
14
|
import "./chunk-FTVZF4GO.js";
|
|
15
15
|
import {
|
|
16
16
|
ChatErrorView,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ProjectRef,
|
|
23
23
|
chatErrorViewFromEnvelope,
|
|
24
24
|
chatErrorViewFromUnknown
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2FKR6UTY.js";
|
|
26
26
|
import {
|
|
27
27
|
ClientRequestId,
|
|
28
28
|
GenerateMediaCommand,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import "./chunk-BADZHXLR.js";
|
|
45
45
|
import "./chunk-U3JPILZS.js";
|
|
46
46
|
import "./chunk-XELS2BGA.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-TABHHNVY.js";
|
|
48
48
|
import "./chunk-2ESYSVXG.js";
|
|
49
49
|
export {
|
|
50
50
|
ChatErrorView,
|
package/dist/errors.js
CHANGED
package/dist/render-harness.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertCardHtmlAssetFree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I3TP2HIJ.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNoRemoteRefs,
|
|
6
6
|
assetSlots,
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
parseSceneComponentCaptureIntentV1,
|
|
43
43
|
prepareSceneShotRenderInput,
|
|
44
44
|
readSceneShotManifest
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-LB54TVWM.js";
|
|
46
46
|
import "./chunk-QH3YI3ND.js";
|
|
47
47
|
import "./chunk-QISFYLBB.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-3SXCFAND.js";
|
|
49
49
|
import "./chunk-VZ7TYX6Z.js";
|
|
50
50
|
import "./chunk-DENF4TPI.js";
|
|
51
51
|
import "./chunk-KYRDKK2D.js";
|
|
52
52
|
import "./chunk-WREYUH2E.js";
|
|
53
53
|
import {
|
|
54
54
|
CueframeError
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TABHHNVY.js";
|
|
56
56
|
import "./chunk-7PA7FGLD.js";
|
|
57
57
|
import {
|
|
58
58
|
evaluateScene,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cueframe/kernel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Publish-only aggregate of CueFrame's isomorphic kernel packages — composition, primitives, authoring, MCP, and friends shipped as one npm artifact. Members remain separate workspace packages; this only changes what ships.",
|
|
6
6
|
"files": [
|
|
@@ -16,26 +16,26 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"tsup": "^8.3.5",
|
|
18
18
|
"typescript": "^5.9.3",
|
|
19
|
+
"@cueframe/animate": "0.1.0",
|
|
20
|
+
"@cueframe/cloud-import": "0.1.0",
|
|
19
21
|
"@cueframe/account-model": "0.1.0",
|
|
20
22
|
"@cueframe/authoring": "0.1.0",
|
|
21
|
-
"@cueframe/composition
|
|
23
|
+
"@cueframe/composition": "0.1.0",
|
|
22
24
|
"@cueframe/component-runtime": "0.1.0",
|
|
23
|
-
"@cueframe/cloud-import": "0.1.0",
|
|
24
|
-
"@cueframe/animate": "0.1.0",
|
|
25
25
|
"@cueframe/core": "0.1.0",
|
|
26
|
-
"@cueframe/
|
|
26
|
+
"@cueframe/brand-derivation": "0.1.0",
|
|
27
|
+
"@cueframe/media-model": "0.1.0",
|
|
27
28
|
"@cueframe/director": "0.1.0",
|
|
28
29
|
"@cueframe/compose": "0.1.0",
|
|
29
|
-
"@cueframe/media-model": "0.1.0",
|
|
30
|
-
"@cueframe/mcp": "0.1.0",
|
|
31
30
|
"@cueframe/foundation": "0.1.0",
|
|
32
|
-
"@cueframe/errors": "0.1.0",
|
|
33
31
|
"@cueframe/nle-export": "0.1.0",
|
|
32
|
+
"@cueframe/perception": "0.1.0",
|
|
34
33
|
"@cueframe/plane": "0.1.0",
|
|
35
34
|
"@cueframe/primitives": "0.1.0",
|
|
36
|
-
"@cueframe/
|
|
37
|
-
"@cueframe/
|
|
38
|
-
"@cueframe/render-harness": "0.1.0"
|
|
35
|
+
"@cueframe/errors": "0.1.0",
|
|
36
|
+
"@cueframe/composition-ops": "0.1.0",
|
|
37
|
+
"@cueframe/render-harness": "0.1.0",
|
|
38
|
+
"@cueframe/mcp": "0.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"gsap": "3.13.0",
|