@nativestudio/sdk 0.3.0-rc.6 → 0.3.0-rc.7

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 (150) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/{chunk-7YCEMDNZ.js → chunk-CJEQNH37.js} +1 -1
  4. package/dist/_chunks/chunk-FMJ2J6DY.js +1 -0
  5. package/dist/_chunks/chunk-OXFBQBNS.js +1 -0
  6. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  7. package/dist/_chunks/chunk-YZITP3AM.js +1 -0
  8. package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
  9. package/dist/_types/contracts/audio.d.ts +4 -0
  10. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  11. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  12. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  13. package/dist/_types/contracts/composition-render.d.ts +8 -8
  14. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  15. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  16. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11765
  17. package/dist/_types/contracts/delivery-operations.d.ts +51 -3921
  18. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  19. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  20. package/dist/_types/contracts/device-render.d.ts +67 -0
  21. package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
  22. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11655
  23. package/dist/_types/contracts/external-agent-access.d.ts +9 -3
  24. package/dist/_types/contracts/final-ready.d.ts +22 -22
  25. package/dist/_types/contracts/final-render.d.ts +1569 -6949
  26. package/dist/_types/contracts/human-identity.d.ts +13 -0
  27. package/dist/_types/contracts/index.d.ts +3 -0
  28. package/dist/_types/contracts/interface/media-output.d.ts +28 -0
  29. package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
  30. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  31. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +2 -2
  32. package/dist/_types/contracts/local-execution/agent-grant.d.ts +2 -2
  33. package/dist/_types/contracts/local-execution/agent-review.d.ts +30 -285
  34. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  35. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  36. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  37. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  38. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  39. package/dist/_types/contracts/local-execution/device.d.ts +19 -59
  40. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  41. package/dist/_types/contracts/local-execution/index.d.ts +19 -0
  42. package/dist/_types/contracts/local-execution/ipc.d.ts +1517 -711
  43. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  44. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  45. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  46. package/dist/_types/contracts/local-execution/lifecycle.d.ts +21 -5
  47. package/dist/_types/contracts/local-execution/local-navigation.d.ts +161 -44
  48. package/dist/_types/contracts/local-execution/management.d.ts +214 -208
  49. package/dist/_types/contracts/local-execution/media-recipe.d.ts +5 -1
  50. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  51. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  52. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  53. package/dist/_types/contracts/local-execution/preview.d.ts +120 -10988
  54. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  55. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  56. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  57. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  58. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  59. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  60. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  61. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  62. package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
  63. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  64. package/dist/_types/contracts/local-execution/work.d.ts +69 -10741
  65. package/dist/_types/contracts/local-execution/workspace.d.ts +5 -0
  66. package/dist/_types/contracts/media-category.d.ts +11 -0
  67. package/dist/_types/contracts/media-observation.d.ts +929 -8
  68. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  69. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  70. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -6009
  71. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  72. package/dist/_types/contracts/provider-models.d.ts +16 -8
  73. package/dist/_types/contracts/provider.d.ts +66 -1
  74. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  75. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  76. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  77. package/dist/_types/contracts/repair-strategy.d.ts +162 -4505
  78. package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8163
  79. package/dist/_types/contracts/review-intelligence.d.ts +450 -11468
  80. package/dist/_types/contracts/rough-cut-manifest.d.ts +1 -0
  81. package/dist/_types/contracts/rough-cut-review.d.ts +134 -12566
  82. package/dist/_types/contracts/rough-cut.d.ts +1076 -5731
  83. package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
  84. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  85. package/dist/_types/contracts/speech.d.ts +149 -0
  86. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  87. package/dist/_types/contracts/timeline-audio.d.ts +1 -0
  88. package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
  89. package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
  90. package/dist/_types/contracts/timeline-v2.d.ts +4 -0
  91. package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
  92. package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
  93. package/dist/_types/contracts/timeline.d.ts +50 -4850
  94. package/dist/_types/contracts/transcription.d.ts +1 -1
  95. package/dist/_types/contracts/video-generation.d.ts +33 -0
  96. package/dist/_types/contracts/visual-layer-render.d.ts +37 -6
  97. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  98. package/dist/_types/contracts/workspace.d.ts +22 -0
  99. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37664
  100. package/dist/_types/sdk/catalog/audio-caption.d.ts +10 -2
  101. package/dist/_types/sdk/catalog/canonical-repair.d.ts +114 -114
  102. package/dist/_types/sdk/catalog/carriers.d.ts +31 -0
  103. package/dist/_types/sdk/catalog/composition-source.d.ts +12 -12
  104. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  105. package/dist/_types/sdk/catalog/core.d.ts +112 -3
  106. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  107. package/dist/_types/sdk/catalog/device-library.d.ts +992 -0
  108. package/dist/_types/sdk/catalog/device-management.d.ts +462 -0
  109. package/dist/_types/sdk/catalog/discovery.d.ts +12 -4
  110. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  111. package/dist/_types/sdk/catalog/generation.d.ts +276 -0
  112. package/dist/_types/sdk/catalog/imported-visual.d.ts +229 -30
  113. package/dist/_types/sdk/catalog/mcp.d.ts +30 -0
  114. package/dist/_types/sdk/catalog/media-descriptors.d.ts +136 -11
  115. package/dist/_types/sdk/catalog/media-observation.d.ts +1029 -12
  116. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  117. package/dist/_types/sdk/catalog/provider.d.ts +58 -20
  118. package/dist/_types/sdk/catalog/reference-preview.d.ts +30 -30
  119. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  120. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  121. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  122. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  123. package/dist/_types/sdk/catalog/source-sync.d.ts +2 -0
  124. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  125. package/dist/_types/sdk/catalog/speech.d.ts +398 -0
  126. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +2 -0
  127. package/dist/_types/sdk/catalog/visual-exploration.d.ts +43 -43
  128. package/dist/_types/sdk/client.d.ts +22 -3
  129. package/dist/_types/sdk/device-renders.d.ts +3257 -21
  130. package/dist/_types/sdk/direct-source.d.ts +147 -0
  131. package/dist/_types/sdk/errors.d.ts +1 -1
  132. package/dist/_types/sdk/image-media.d.ts +2 -2
  133. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  134. package/dist/_types/sdk/index.d.ts +7 -0
  135. package/dist/_types/sdk/local-runtime/device-client.d.ts +7 -33
  136. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  137. package/dist/_types/sdk/local-runtime/workspace.d.ts +9 -4
  138. package/dist/_types/sdk/local-runtime-client.d.ts +477 -32
  139. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  140. package/dist/_types/sdk/media.d.ts +6 -6
  141. package/dist/account.js +1 -1
  142. package/dist/index.d.ts +2 -2
  143. package/dist/index.js +1 -1
  144. package/dist/local-runtime.js +1 -1
  145. package/dist/runtime-authority.js +1 -1
  146. package/package.json +2 -8
  147. package/README.md +0 -95
  148. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  149. package/dist/_chunks/chunk-GLD5WP6Z.js +0 -1
  150. package/dist/_chunks/chunk-NSS2BKVM.js +0 -1
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { TenantIdSchema, ProductionIdSchema } from "./ids.js";
2
3
  export declare const SemanticRepairBudgetSchema: z.ZodObject<{
3
4
  maxSemanticAttempts: z.ZodInt;
4
5
  maxElapsedMs: z.ZodInt;
@@ -54,11 +55,11 @@ export declare const AuthorRepairPlanSchema: z.ZodObject<{
54
55
  HUMAN: "HUMAN";
55
56
  }>;
56
57
  purpose: z.ZodEnum<{
58
+ IMAGE: "IMAGE";
59
+ VIDEO: "VIDEO";
57
60
  SOURCE: "SOURCE";
58
61
  DATA: "DATA";
59
62
  FONT: "FONT";
60
- IMAGE: "IMAGE";
61
- VIDEO: "VIDEO";
62
63
  }>;
63
64
  }, z.core.$strict>;
64
65
  }, z.core.$strict>], "kind">>;
@@ -336,11 +337,11 @@ export declare const RepairDecisionSchema: z.ZodObject<{
336
337
  HUMAN: "HUMAN";
337
338
  }>;
338
339
  purpose: z.ZodEnum<{
340
+ IMAGE: "IMAGE";
341
+ VIDEO: "VIDEO";
339
342
  SOURCE: "SOURCE";
340
343
  DATA: "DATA";
341
344
  FONT: "FONT";
342
- IMAGE: "IMAGE";
343
- VIDEO: "VIDEO";
344
345
  }>;
345
346
  }, z.core.$strict>;
346
347
  }, z.core.$strict>], "kind">>;
@@ -487,13 +488,13 @@ export declare const RepairDecisionSchema: z.ZodObject<{
487
488
  bindings: z.ZodArray<z.ZodObject<{
488
489
  name: z.ZodString;
489
490
  purpose: z.ZodEnum<{
491
+ IMAGE: "IMAGE";
492
+ VIDEO: "VIDEO";
490
493
  SOURCE: "SOURCE";
491
494
  DEPENDENCY_MANIFEST: "DEPENDENCY_MANIFEST";
492
495
  DEPENDENCY_LOCK: "DEPENDENCY_LOCK";
493
496
  DATA: "DATA";
494
497
  FONT: "FONT";
495
- IMAGE: "IMAGE";
496
- VIDEO: "VIDEO";
497
498
  }>;
498
499
  artifactId: z.ZodUUID;
499
500
  representationId: z.ZodUUID;
@@ -533,98 +534,15 @@ export declare const RepairDecisionSchema: z.ZodObject<{
533
534
  }, z.core.$strict>, z.ZodObject<{
534
535
  kind: z.ZodLiteral<"TIMELINE_BUILD">;
535
536
  input: z.ZodObject<{
536
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
537
+ tenantId: typeof TenantIdSchema;
537
538
  schemaVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
538
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
539
+ productionId: typeof ProductionIdSchema;
539
540
  expectedProductionRevision: z.ZodInt;
540
- audio: z.ZodOptional<z.ZodObject<{
541
- tracks: z.ZodArray<z.ZodObject<{
542
- sourceInMs: z.ZodInt;
543
- sourceOutMs: z.ZodInt;
544
- startMs: z.ZodInt;
545
- gainPermille: z.ZodInt;
546
- purpose: z.ZodEnum<{
547
- VOICEOVER: "VOICEOVER";
548
- MUSIC: "MUSIC";
549
- }>;
550
- versionId: z.ZodUUID;
551
- }, z.core.$strict>>;
552
- duckingMusicPermille: z.ZodDefault<z.ZodInt>;
553
- }, z.core.$strict>>;
554
- graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
555
- artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
556
- placement: z.ZodObject<{
557
- startFrame: z.ZodInt;
558
- endFrame: z.ZodInt;
559
- anchor: z.ZodEnum<{
560
- TOP_LEFT: "TOP_LEFT";
561
- TOP_RIGHT: "TOP_RIGHT";
562
- BOTTOM_LEFT: "BOTTOM_LEFT";
563
- BOTTOM_RIGHT: "BOTTOM_RIGHT";
564
- }>;
565
- widthPermille: z.ZodInt;
566
- marginXPermille: z.ZodInt;
567
- marginYPermille: z.ZodInt;
568
- opacityPermille: z.ZodInt;
569
- }, z.core.$strict>;
570
- }, z.core.$strict>>>;
571
- clips: z.ZodArray<z.ZodObject<{
572
- shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
573
- acceptanceId: z.ZodUUID;
574
- framing: z.ZodOptional<z.ZodObject<{
575
- algorithm: z.ZodLiteral<"CROP_PAD_V1">;
576
- crop: z.ZodObject<{
577
- x: z.ZodInt;
578
- y: z.ZodInt;
579
- width: z.ZodInt;
580
- height: z.ZodInt;
581
- }, z.core.$strict>;
582
- anchorXPermille: z.ZodInt;
583
- anchorYPermille: z.ZodInt;
584
- }, z.core.$strict>>;
585
- transition: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
586
- kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
587
- durationFrames: z.ZodInt;
588
- }, z.core.$strict>]>>;
589
- sourceInMs: z.ZodInt;
590
- sourceOutMs: z.ZodInt;
591
- }, z.core.$strict>>;
592
- sourceSound: z.ZodOptional<z.ZodObject<{
593
- duckingMusicPermille: z.ZodOptional<z.ZodInt>;
594
- soundPlanVersionId: z.ZodUUID;
595
- clips: z.ZodArray<z.ZodObject<{
596
- ordinal: z.ZodInt;
597
- treatment: z.ZodObject<{
598
- policy: z.ZodEnum<{
599
- KEEP: "KEEP";
600
- MUTE: "MUTE";
601
- DUCK: "DUCK";
602
- }>;
603
- gainPermille: z.ZodInt;
604
- duckingPermille: z.ZodInt;
605
- }, z.core.$strict>;
606
- importedAudioVersionId: z.ZodOptional<z.ZodUUID>;
607
- }, z.core.$strict>>;
608
- speechCues: z.ZodArray<z.ZodObject<{
609
- cueId: z.ZodString;
610
- audioVersionId: z.ZodUUID;
611
- }, z.core.$strict>>;
612
- }, z.core.$strict>>;
613
- visualLayers: z.ZodOptional<z.ZodArray<z.ZodObject<{
614
- id: z.ZodUUID;
615
- artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
616
- sourceInFrame: z.ZodInt;
617
- sourceOutFrame: z.ZodInt;
618
- startFrame: z.ZodInt;
619
- zIndex: z.ZodInt;
620
- opacityPermille: z.ZodInt;
621
- placement: z.ZodObject<{
622
- xPermille: z.ZodInt;
623
- yPermille: z.ZodInt;
624
- widthPermille: z.ZodInt;
625
- heightPermille: z.ZodInt;
626
- }, z.core.$strict>;
627
- }, z.core.$strict>>>;
541
+ audio: z.ZodOptional<typeof import("./timeline-audio.js").TimelineAudioInputSchema>;
542
+ graphics: z.ZodOptional<z.ZodArray<typeof import("./timeline-graphics.js").TimelineGraphicInputSchema>>;
543
+ clips: z.ZodArray<typeof import("./timeline.js").TimelineClipInputSchema>;
544
+ sourceSound: z.ZodOptional<typeof import("./timeline-source-sound.js").TimelineSourceSoundInputSchema>;
545
+ visualLayers: z.ZodOptional<z.ZodArray<typeof import("./timeline-visual-layers.js").TimelineVisualLayerInputSchema>>;
628
546
  expectedTimelineVersion: z.ZodInt;
629
547
  captionVersionId: z.ZodOptional<z.ZodUUID>;
630
548
  }, z.core.$strict>;
@@ -650,9 +568,9 @@ export declare const RepairDecisionSchema: z.ZodObject<{
650
568
  input: z.ZodObject<{
651
569
  reviewId: z.ZodUUID;
652
570
  renderId: z.ZodUUID;
653
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
571
+ tenantId: typeof TenantIdSchema;
654
572
  reason: z.ZodString;
655
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
573
+ productionId: typeof ProductionIdSchema;
656
574
  expectedProductionRevision: z.ZodInt;
657
575
  action: z.ZodEnum<{
658
576
  REJECT: "REJECT";