@nativestudio/cli 0.3.0-rc.2 → 0.3.0-rc.5

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 (92) hide show
  1. package/COMPATIBILITY.json +7 -7
  2. package/README.md +27 -3
  3. package/components/runtime.json +3 -3
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/{chunk-BVSTJQJI.js → chunk-6LU6GJKW.js} +1 -1
  6. package/dist/_chunks/chunk-CA54SKBO.js +1 -0
  7. package/dist/_chunks/chunk-D533YC7J.js +1 -0
  8. package/dist/_chunks/{chunk-C33A2DW4.js → chunk-DXJQWTLG.js} +1 -1
  9. package/dist/_chunks/{chunk-7S3DJ2QE.js → chunk-FU3524Z6.js} +1 -1
  10. package/dist/_chunks/chunk-INLSOHAK.js +1 -0
  11. package/dist/_chunks/chunk-JPH576UL.js +1 -0
  12. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  13. package/dist/_chunks/{chunk-C753RRRA.js → chunk-KNFUMWDY.js} +1 -1
  14. package/dist/_chunks/chunk-N6S6HCWE.js +1 -0
  15. package/dist/_chunks/chunk-PBEHCYR7.js +1 -0
  16. package/dist/_chunks/chunk-RVGDXRPK.js +1 -0
  17. package/dist/_chunks/chunk-YKOJPJZR.js +1 -0
  18. package/dist/_chunks/{files-FZEK2ZZJ.js → files-TTIQ7LYJ.js} +1 -1
  19. package/dist/_chunks/local-main-S2K34Y2F.js +1 -0
  20. package/dist/_chunks/local-mcp-LCHXL2IE.js +1 -0
  21. package/dist/_chunks/{main-VRIQTI6R.js → main-KLXOK7QK.js} +2 -2
  22. package/dist/_chunks/mcp-P7W623FE.js +1 -0
  23. package/dist/_chunks/oauth-WJ36KWAC.js +1 -0
  24. package/dist/_chunks/project-connect-W7V3OALV.js +1 -0
  25. package/dist/_chunks/render-main-ZW6UJHGN.js +1 -0
  26. package/dist/_chunks/src-BXLFLNRG.js +1 -0
  27. package/dist/_chunks/{stdio-main-KOGQ5OWF.js → stdio-main-4Z2JVCMO.js} +1 -1
  28. package/dist/_types/cli/local/desktop-contract.d.ts +1382 -0
  29. package/dist/_types/cli/local/desktop-device-contract.d.ts +1165 -0
  30. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  31. package/dist/_types/cli/local/desktop-device-owner.d.ts +275 -0
  32. package/dist/_types/cli/local/desktop-device-state.d.ts +230 -0
  33. package/dist/_types/cli/local/desktop-owner.d.ts +552 -1
  34. package/dist/_types/cli/local/ledger.d.ts +62 -10
  35. package/dist/_types/cli/local/manager.d.ts +485 -20
  36. package/dist/_types/cli/local/mcp-tools.d.ts +75 -12
  37. package/dist/_types/cli/local/project-render-tools.d.ts +522 -0
  38. package/dist/_types/cli/local/releases.d.ts +10 -2
  39. package/dist/_types/cli/local-management.d.ts +3 -0
  40. package/dist/_types/cli/local-navigation.d.ts +1 -0
  41. package/dist/_types/contracts/delivery-manifest.d.ts +63 -27
  42. package/dist/_types/contracts/delivery-operations.d.ts +21 -9
  43. package/dist/_types/contracts/device-render.d.ts +10 -0
  44. package/dist/_types/contracts/exploration-recommendation.d.ts +84 -36
  45. package/dist/_types/contracts/final-render.d.ts +9 -0
  46. package/dist/_types/contracts/index.d.ts +1 -0
  47. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  48. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  49. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  50. package/dist/_types/contracts/local-execution/agent-review.d.ts +733 -46
  51. package/dist/_types/contracts/local-execution/device.d.ts +10 -2
  52. package/dist/_types/contracts/local-execution/index.d.ts +6 -0
  53. package/dist/_types/contracts/local-execution/ipc.d.ts +1759 -37
  54. package/dist/_types/contracts/local-execution/lifecycle.d.ts +48 -6
  55. package/dist/_types/contracts/local-execution/local-navigation.d.ts +112 -10
  56. package/dist/_types/contracts/local-execution/management.d.ts +394 -0
  57. package/dist/_types/contracts/local-execution/media-recipe.d.ts +203 -0
  58. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  59. package/dist/_types/contracts/local-execution/preview.d.ts +7607 -159
  60. package/dist/_types/contracts/local-execution/work.d.ts +7674 -294
  61. package/dist/_types/contracts/local-execution/workspace.d.ts +136 -0
  62. package/dist/_types/contracts/programmatic-exploration.d.ts +42 -18
  63. package/dist/_types/contracts/repair-strategy.d.ts +42 -18
  64. package/dist/_types/contracts/review-intelligence-final-output.d.ts +42 -18
  65. package/dist/_types/contracts/review-intelligence.d.ts +84 -36
  66. package/dist/_types/contracts/rough-cut-manifest.d.ts +7 -3
  67. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  68. package/dist/_types/contracts/rough-cut-review.d.ts +126 -54
  69. package/dist/_types/contracts/rough-cut.d.ts +85 -32
  70. package/dist/_types/contracts/visual-layer-render.d.ts +21 -9
  71. package/dist/_types/sdk/local-runtime/device-client.d.ts +138 -2
  72. package/dist/_types/sdk/local-runtime/workspace.d.ts +181 -0
  73. package/dist/_types/sdk/local-runtime-client.d.ts +1294 -56
  74. package/dist/entry.js +1 -1
  75. package/dist/local-management.js +1 -1
  76. package/dist/local-navigation.js +1 -1
  77. package/dist/native/JobNative.cs +10 -0
  78. package/dist/native/JobRunner.cs +24 -3
  79. package/dist/native/NativeMain.cs +15 -0
  80. package/package.json +1 -1
  81. package/dist/_chunks/chunk-66CUOZVI.js +0 -1
  82. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  83. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  84. package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
  85. package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
  86. package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
  87. package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
  88. package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
  89. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  90. package/dist/_chunks/oauth-F7EZGVME.js +0 -1
  91. package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
  92. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -1,14 +1,22 @@
1
1
  import { RoughCutManifestSchema } from "./rough-cut-manifest.js";
2
2
  export { RoughCutManifestSchema } from "./rough-cut-manifest.js";
3
- export { RoughCutProfileSchema } from "./rough-cut-profile.js";
3
+ export { RoughCutProfileSchema, RoughCutProfileIdSchema } from "./rough-cut-profile.js";
4
4
  import { z } from "zod";
5
5
  export declare const RoughCutStartSchema: z.ZodObject<{
6
6
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
7
7
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
8
+ deviceExecution: z.ZodOptional<z.ZodObject<{
9
+ mode: z.ZodLiteral<"tenant-device-only">;
10
+ deviceId: z.ZodOptional<z.ZodUUID>;
11
+ }, z.core.$strict>>;
8
12
  timelineVersionId: z.ZodUUID;
9
13
  timelineFingerprint: z.ZodString;
10
14
  expectedProductionRevision: z.ZodInt;
11
- profileId: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
15
+ profileId: z.ZodEnum<{
16
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
17
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
18
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
19
+ }>;
12
20
  idempotencyKey: z.ZodString;
13
21
  }, z.core.$strict>;
14
22
  export declare const RoughCutGetSchema: z.ZodObject<{
@@ -35,14 +43,18 @@ export declare const RoughCutV2ManifestSchema: z.ZodObject<{
35
43
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
36
44
  }, z.core.$strict>], "id">>;
37
45
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
38
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
46
+ id: z.ZodEnum<{
47
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
48
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
49
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
50
+ }>;
39
51
  algorithm: z.ZodEnum<{
40
52
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
41
53
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
42
54
  }>;
43
55
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
44
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
45
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
56
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
57
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
46
58
  frameRate: z.ZodLiteral<30>;
47
59
  codec: z.ZodLiteral<"h264">;
48
60
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -953,14 +965,18 @@ export declare const RoughCutManifestReaderSchema: z.ZodDiscriminatedUnion<[z.Zo
953
965
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
954
966
  }, z.core.$strict>], "id">>;
955
967
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
956
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
968
+ id: z.ZodEnum<{
969
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
970
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
971
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
972
+ }>;
957
973
  algorithm: z.ZodEnum<{
958
974
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
959
975
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
960
976
  }>;
961
977
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
962
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
963
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
978
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
979
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
964
980
  frameRate: z.ZodLiteral<30>;
965
981
  codec: z.ZodLiteral<"h264">;
966
982
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -997,14 +1013,18 @@ export declare const RoughCutManifestReaderSchema: z.ZodDiscriminatedUnion<[z.Zo
997
1013
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
998
1014
  }, z.core.$strict>], "id">>;
999
1015
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
1000
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
1016
+ id: z.ZodEnum<{
1017
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
1018
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
1019
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
1020
+ }>;
1001
1021
  algorithm: z.ZodEnum<{
1002
1022
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
1003
1023
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
1004
1024
  }>;
1005
1025
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
1006
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1007
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1026
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
1027
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
1008
1028
  frameRate: z.ZodLiteral<30>;
1009
1029
  codec: z.ZodLiteral<"h264">;
1010
1030
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -1620,14 +1640,18 @@ export declare const RoughCutManifestReaderSchema: z.ZodDiscriminatedUnion<[z.Zo
1620
1640
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1621
1641
  }, z.core.$strict>], "id">>;
1622
1642
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
1623
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
1643
+ id: z.ZodEnum<{
1644
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
1645
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
1646
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
1647
+ }>;
1624
1648
  algorithm: z.ZodEnum<{
1625
1649
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
1626
1650
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
1627
1651
  }>;
1628
1652
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
1629
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1630
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1653
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
1654
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
1631
1655
  frameRate: z.ZodLiteral<30>;
1632
1656
  codec: z.ZodLiteral<"h264">;
1633
1657
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -2370,6 +2394,11 @@ export declare const RoughCutArtifactSchema: z.ZodObject<{
2370
2394
  }>;
2371
2395
  }, z.core.$strict>;
2372
2396
  export declare const RoughCutAdmissionSchema: z.ZodObject<{
2397
+ deviceExecution: z.ZodOptional<z.ZodObject<{
2398
+ mode: z.ZodLiteral<"tenant-device-only">;
2399
+ deviceId: z.ZodUUID;
2400
+ runtimeJobId: z.ZodUUID;
2401
+ }, z.core.$strict>>;
2373
2402
  semanticStatus: z.ZodLiteral<"ACCEPTED">;
2374
2403
  renderId: z.ZodUUID;
2375
2404
  operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
@@ -2704,14 +2733,18 @@ export declare const RoughCutViewSchema: z.ZodObject<{
2704
2733
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2705
2734
  }, z.core.$strict>], "id">>;
2706
2735
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
2707
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
2736
+ id: z.ZodEnum<{
2737
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
2738
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
2739
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
2740
+ }>;
2708
2741
  algorithm: z.ZodEnum<{
2709
2742
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
2710
2743
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
2711
2744
  }>;
2712
2745
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
2713
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
2714
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
2746
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
2747
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
2715
2748
  frameRate: z.ZodLiteral<30>;
2716
2749
  codec: z.ZodLiteral<"h264">;
2717
2750
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -2748,14 +2781,18 @@ export declare const RoughCutViewSchema: z.ZodObject<{
2748
2781
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
2749
2782
  }, z.core.$strict>], "id">>;
2750
2783
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
2751
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
2784
+ id: z.ZodEnum<{
2785
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
2786
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
2787
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
2788
+ }>;
2752
2789
  algorithm: z.ZodEnum<{
2753
2790
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
2754
2791
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
2755
2792
  }>;
2756
2793
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
2757
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
2758
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
2794
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
2795
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
2759
2796
  frameRate: z.ZodLiteral<30>;
2760
2797
  codec: z.ZodLiteral<"h264">;
2761
2798
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -3371,14 +3408,18 @@ export declare const RoughCutViewSchema: z.ZodObject<{
3371
3408
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
3372
3409
  }, z.core.$strict>], "id">>;
3373
3410
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
3374
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
3411
+ id: z.ZodEnum<{
3412
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
3413
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
3414
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
3415
+ }>;
3375
3416
  algorithm: z.ZodEnum<{
3376
3417
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
3377
3418
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
3378
3419
  }>;
3379
3420
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
3380
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
3381
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
3421
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
3422
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
3382
3423
  frameRate: z.ZodLiteral<30>;
3383
3424
  codec: z.ZodLiteral<"h264">;
3384
3425
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -4424,14 +4465,18 @@ export declare const RoughCutPageSchema: z.ZodObject<{
4424
4465
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
4425
4466
  }, z.core.$strict>], "id">>;
4426
4467
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
4427
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
4468
+ id: z.ZodEnum<{
4469
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
4470
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
4471
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
4472
+ }>;
4428
4473
  algorithm: z.ZodEnum<{
4429
4474
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
4430
4475
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
4431
4476
  }>;
4432
4477
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
4433
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
4434
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
4478
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
4479
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
4435
4480
  frameRate: z.ZodLiteral<30>;
4436
4481
  codec: z.ZodLiteral<"h264">;
4437
4482
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -4468,14 +4513,18 @@ export declare const RoughCutPageSchema: z.ZodObject<{
4468
4513
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
4469
4514
  }, z.core.$strict>], "id">>;
4470
4515
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
4471
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
4516
+ id: z.ZodEnum<{
4517
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
4518
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
4519
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
4520
+ }>;
4472
4521
  algorithm: z.ZodEnum<{
4473
4522
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
4474
4523
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
4475
4524
  }>;
4476
4525
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
4477
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
4478
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
4526
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
4527
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
4479
4528
  frameRate: z.ZodLiteral<30>;
4480
4529
  codec: z.ZodLiteral<"h264">;
4481
4530
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -5091,14 +5140,18 @@ export declare const RoughCutPageSchema: z.ZodObject<{
5091
5140
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
5092
5141
  }, z.core.$strict>], "id">>;
5093
5142
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
5094
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
5143
+ id: z.ZodEnum<{
5144
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
5145
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
5146
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
5147
+ }>;
5095
5148
  algorithm: z.ZodEnum<{
5096
5149
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
5097
5150
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
5098
5151
  }>;
5099
5152
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
5100
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
5101
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
5153
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
5154
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
5102
5155
  frameRate: z.ZodLiteral<30>;
5103
5156
  codec: z.ZodLiteral<"h264">;
5104
5157
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -11,14 +11,18 @@ export declare const VisualLayerPreviewProfileSchema: z.ZodObject<{
11
11
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
12
12
  }, z.core.$strict>], "id">>;
13
13
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
14
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
14
+ id: z.ZodEnum<{
15
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
16
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
17
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
18
+ }>;
15
19
  algorithm: z.ZodEnum<{
16
20
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
17
21
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
18
22
  }>;
19
23
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
20
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
21
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
24
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
25
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
22
26
  frameRate: z.ZodLiteral<30>;
23
27
  codec: z.ZodLiteral<"h264">;
24
28
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -111,14 +115,18 @@ export declare const VisualLayerPreviewManifestSchema: z.ZodObject<{
111
115
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
112
116
  }, z.core.$strict>], "id">>;
113
117
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
114
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
118
+ id: z.ZodEnum<{
119
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
120
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
121
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
122
+ }>;
115
123
  algorithm: z.ZodEnum<{
116
124
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
117
125
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
118
126
  }>;
119
127
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
120
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
121
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
128
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
129
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
122
130
  frameRate: z.ZodLiteral<30>;
123
131
  codec: z.ZodLiteral<"h264">;
124
132
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -1453,14 +1461,18 @@ export declare const VisualLayerRenderManifestSchema: z.ZodUnion<readonly [z.Zod
1453
1461
  framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
1454
1462
  }, z.core.$strict>], "id">>;
1455
1463
  graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
1456
- id: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
1464
+ id: z.ZodEnum<{
1465
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
1466
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
1467
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
1468
+ }>;
1457
1469
  algorithm: z.ZodEnum<{
1458
1470
  ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
1459
1471
  ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
1460
1472
  }>;
1461
1473
  picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
1462
- width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1463
- height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>]>;
1474
+ width: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
1475
+ height: z.ZodUnion<readonly [z.ZodLiteral<854>, z.ZodLiteral<480>, z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>]>;
1464
1476
  frameRate: z.ZodLiteral<30>;
1465
1477
  codec: z.ZodLiteral<"h264">;
1466
1478
  pixelFormat: z.ZodLiteral<"yuv420p">;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { EnrollLocalDeviceSchema, GrantLocalDeviceSchema, RevokeLocalDeviceSchema, RevokeLocalDeviceGrantSchema, StartLocalPreviewSchema } from "../../contracts/local-execution/index.js";
2
+ import { EnrollLocalDeviceSchema, GrantLocalDeviceSchema, RevokeLocalDeviceSchema, RevokeLocalDeviceGrantSchema, StartLocalPreviewSchema, StartLocalFinalRenderSchema, LocalManagementCommandSchema } from "../../contracts/local-execution/index.js";
3
3
  /** Human/member-authorized native management; never composed with an MCP execution connector. */
4
4
  export declare class NativeStudioLocalDeviceClient {
5
5
  private readonly options;
@@ -31,10 +31,108 @@ export declare class NativeStudioLocalDeviceClient {
31
31
  verifiedAt: string | null;
32
32
  revokedAt: string | null;
33
33
  }>;
34
+ managementReceipt(input: z.infer<typeof LocalManagementCommandSchema>, signal?: AbortSignal): Promise<{
35
+ fingerprint: string;
36
+ result: {
37
+ tenantId: string;
38
+ publicKey: {
39
+ kty: "EC";
40
+ crv: "P-256";
41
+ x: string;
42
+ y: string;
43
+ };
44
+ label: string;
45
+ platform: {
46
+ os: "darwin" | "linux" | "win32";
47
+ architecture: "x64" | "arm64";
48
+ };
49
+ runtimeVersion: string;
50
+ deviceId: string;
51
+ revision: number;
52
+ enrolledByPrincipalId: string;
53
+ createdAt: string;
54
+ verifiedAt: string | null;
55
+ revokedAt: string | null;
56
+ } | {
57
+ tenantId: string;
58
+ projectId: string;
59
+ capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
60
+ expiresAt: string;
61
+ deviceId: string;
62
+ deviceRevision: number;
63
+ grantId: string;
64
+ revision: number;
65
+ approvedByPrincipalId: string;
66
+ createdAt: string;
67
+ revokedAt: string | null;
68
+ executionPolicy?: "DEVICE_ONLY" | undefined;
69
+ } | {
70
+ semanticStatus: "ACCEPTED";
71
+ renderId: string;
72
+ operationId: string & z.core.$brand<"OperationId">;
73
+ productionId: string;
74
+ timelineVersionId: string;
75
+ timelineFingerprint: string;
76
+ executionClass: "LIVE" | "TEST_ONLY";
77
+ manifestFingerprint: string;
78
+ productionRevision: number;
79
+ placement: {
80
+ target: "DEVICE" | "SERVER";
81
+ reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
82
+ policy: {
83
+ mode: "local-only";
84
+ deviceId: string;
85
+ } | {
86
+ mode: "local-preferred";
87
+ deviceId: string;
88
+ } | {
89
+ mode: "cloud-only";
90
+ };
91
+ };
92
+ deviceExecution?: {
93
+ mode: "tenant-device-only";
94
+ deviceId: string;
95
+ runtimeJobId: string;
96
+ } | undefined;
97
+ } | {
98
+ semanticStatus: "ACCEPTED";
99
+ renderId: string;
100
+ operationId: string & z.core.$brand<"OperationId">;
101
+ productionId: string;
102
+ timelineVersionId: string;
103
+ timelineFingerprint: string;
104
+ executionClass: "LIVE" | "TEST_ONLY";
105
+ manifestFingerprint: string;
106
+ productionRevision: number;
107
+ selectionId: string;
108
+ selectionVersion: number;
109
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
110
+ placement: {
111
+ target: "DEVICE" | "SERVER";
112
+ reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
113
+ policy: {
114
+ mode: "local-only";
115
+ deviceId: string;
116
+ } | {
117
+ mode: "local-preferred";
118
+ deviceId: string;
119
+ } | {
120
+ mode: "cloud-only";
121
+ };
122
+ };
123
+ deviceExecution?: {
124
+ mode: "tenant-device-only";
125
+ deviceId: string;
126
+ runtimeJobId: string;
127
+ } | undefined;
128
+ } | {
129
+ semanticStatus: "SUCCESS";
130
+ } | null;
131
+ }>;
34
132
  grant(input: z.infer<typeof GrantLocalDeviceSchema>, signal?: AbortSignal): Promise<{
35
133
  tenantId: string;
36
134
  projectId: string;
37
- capability: "ROUGH_CUT_PREVIEW_V1";
135
+ capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
38
136
  expiresAt: string;
39
137
  deviceId: string;
40
138
  deviceRevision: number;
@@ -43,6 +141,7 @@ export declare class NativeStudioLocalDeviceClient {
43
141
  approvedByPrincipalId: string;
44
142
  createdAt: string;
45
143
  revokedAt: string | null;
144
+ executionPolicy?: "DEVICE_ONLY" | undefined;
46
145
  }>;
47
146
  revokeDevice(input: z.infer<typeof RevokeLocalDeviceSchema>, signal?: AbortSignal): Promise<{
48
147
  semanticStatus: "SUCCESS";
@@ -73,5 +172,42 @@ export declare class NativeStudioLocalDeviceClient {
73
172
  mode: "cloud-only";
74
173
  };
75
174
  };
175
+ deviceExecution?: {
176
+ mode: "tenant-device-only";
177
+ deviceId: string;
178
+ runtimeJobId: string;
179
+ } | undefined;
180
+ }>;
181
+ startFinal(input: z.infer<typeof StartLocalFinalRenderSchema>, signal?: AbortSignal): Promise<{
182
+ semanticStatus: "ACCEPTED";
183
+ renderId: string;
184
+ operationId: string & z.core.$brand<"OperationId">;
185
+ productionId: string;
186
+ timelineVersionId: string;
187
+ timelineFingerprint: string;
188
+ executionClass: "LIVE" | "TEST_ONLY";
189
+ manifestFingerprint: string;
190
+ productionRevision: number;
191
+ selectionId: string;
192
+ selectionVersion: number;
193
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
194
+ placement: {
195
+ target: "DEVICE" | "SERVER";
196
+ reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
197
+ policy: {
198
+ mode: "local-only";
199
+ deviceId: string;
200
+ } | {
201
+ mode: "local-preferred";
202
+ deviceId: string;
203
+ } | {
204
+ mode: "cloud-only";
205
+ };
206
+ };
207
+ deviceExecution?: {
208
+ mode: "tenant-device-only";
209
+ deviceId: string;
210
+ runtimeJobId: string;
211
+ } | undefined;
76
212
  }>;
77
213
  }