@playcraft/common 0.1.63 → 0.1.64

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 (68) hide show
  1. package/dist/agent-tools/replica-validation.d.ts +8 -8
  2. package/dist/agent-tools/video-model-proxy.d.ts +1 -1
  3. package/dist/cloud-workspace/runtime/animation-editor.d.ts +9 -9
  4. package/dist/cloud-workspace/runtime/artifacts.d.ts +9 -9
  5. package/dist/cloud-workspace/runtime/asset-generation-bundle.d.ts +1 -1
  6. package/dist/cloud-workspace/runtime/asset-generation-tools.d.ts +9 -9
  7. package/dist/cloud-workspace/runtime/asset-generation.d.ts +33 -33
  8. package/dist/cloud-workspace/runtime/asset-library-save.d.ts +10 -10
  9. package/dist/cloud-workspace/runtime/batch-runs.d.ts +7 -7
  10. package/dist/cloud-workspace/runtime/capabilities.d.ts +2 -2
  11. package/dist/cloud-workspace/runtime/delivery.d.ts +5 -5
  12. package/dist/cloud-workspace/runtime/execution-admission.d.ts +2 -2
  13. package/dist/cloud-workspace/runtime/handshake.d.ts +1 -1
  14. package/dist/cloud-workspace/runtime/index.d.ts +5 -0
  15. package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
  16. package/dist/cloud-workspace/runtime/index.js +5 -0
  17. package/dist/cloud-workspace/runtime/index.js.map +1 -1
  18. package/dist/cloud-workspace/runtime/model-adaptation-core.d.ts +82 -0
  19. package/dist/cloud-workspace/runtime/model-adaptation-core.d.ts.map +1 -0
  20. package/dist/cloud-workspace/runtime/model-adaptation-core.js +335 -0
  21. package/dist/cloud-workspace/runtime/model-adaptation-core.js.map +1 -0
  22. package/dist/cloud-workspace/runtime/model-adaptation.d.ts +111 -0
  23. package/dist/cloud-workspace/runtime/model-adaptation.d.ts.map +1 -0
  24. package/dist/cloud-workspace/runtime/model-adaptation.js +60 -0
  25. package/dist/cloud-workspace/runtime/model-adaptation.js.map +1 -0
  26. package/dist/cloud-workspace/runtime/model-build-inputs.d.ts +1 -1
  27. package/dist/cloud-workspace/runtime/model-quality.d.ts +2088 -0
  28. package/dist/cloud-workspace/runtime/model-quality.d.ts.map +1 -0
  29. package/dist/cloud-workspace/runtime/model-quality.js +150 -0
  30. package/dist/cloud-workspace/runtime/model-quality.js.map +1 -0
  31. package/dist/cloud-workspace/runtime/model-source-packing.d.ts +63 -0
  32. package/dist/cloud-workspace/runtime/model-source-packing.d.ts.map +1 -0
  33. package/dist/cloud-workspace/runtime/model-source-packing.js +237 -0
  34. package/dist/cloud-workspace/runtime/model-source-packing.js.map +1 -0
  35. package/dist/cloud-workspace/runtime/model-validation.d.ts +907 -0
  36. package/dist/cloud-workspace/runtime/model-validation.d.ts.map +1 -0
  37. package/dist/cloud-workspace/runtime/model-validation.js +124 -0
  38. package/dist/cloud-workspace/runtime/model-validation.js.map +1 -0
  39. package/dist/cloud-workspace/runtime/operations.d.ts +879 -1
  40. package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
  41. package/dist/cloud-workspace/runtime/operations.js +6 -1
  42. package/dist/cloud-workspace/runtime/operations.js.map +1 -1
  43. package/dist/cloud-workspace/runtime/previews.d.ts +4 -4
  44. package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts +1 -1
  45. package/dist/cloud-workspace/runtime/skills.d.ts +5 -0
  46. package/dist/cloud-workspace/runtime/skills.d.ts.map +1 -1
  47. package/dist/cloud-workspace/runtime/skills.js +1 -0
  48. package/dist/cloud-workspace/runtime/skills.js.map +1 -1
  49. package/dist/cloud-workspace/runtime/workspace-ui.d.ts +6 -6
  50. package/dist/model-proxy/diagnostics.d.ts +2 -0
  51. package/dist/model-proxy/diagnostics.d.ts.map +1 -1
  52. package/dist/model-proxy/display-restoration.d.ts +18 -0
  53. package/dist/model-proxy/display-restoration.d.ts.map +1 -0
  54. package/dist/model-proxy/display-restoration.js +57 -0
  55. package/dist/model-proxy/display-restoration.js.map +1 -0
  56. package/dist/model-proxy/governance-workbench.d.ts +66 -0
  57. package/dist/model-proxy/governance-workbench.d.ts.map +1 -0
  58. package/dist/model-proxy/governance-workbench.js +2 -0
  59. package/dist/model-proxy/governance-workbench.js.map +1 -0
  60. package/dist/model-proxy/index.d.ts +3 -0
  61. package/dist/model-proxy/index.d.ts.map +1 -1
  62. package/dist/model-proxy/index.js +3 -0
  63. package/dist/model-proxy/index.js.map +1 -1
  64. package/dist/model-proxy/media-request-diagnostics.d.ts +59 -0
  65. package/dist/model-proxy/media-request-diagnostics.d.ts.map +1 -0
  66. package/dist/model-proxy/media-request-diagnostics.js +26 -0
  67. package/dist/model-proxy/media-request-diagnostics.js.map +1 -0
  68. package/package.json +1 -1
@@ -6,11 +6,12 @@ export declare const reasoningEffortSchema: z.ZodEnum<{
6
6
  max: "max";
7
7
  }>;
8
8
  export type WorkspaceReasoningEffort = z.infer<typeof reasoningEffortSchema>;
9
- export declare const OPERATION_KINDS: readonly ["runtime.ensure", "runtime.destroy", "session.create", "session.turn", "session.review", "session.compact", "session.steer", "session.interrupt", "session.approval.respond", "file.write", "file.binary.write", "directory.create", "directory.rename", "directory.delete", "asset.library.import", "asset.bundle.save", "git.commit", "git.push", "git.pull", "git.merge.abort", "git.stage", "git.unstage", "git.discard", "workspace.save", "workspace.references.import", "terminal.create", "parameter.patch", "parameter.verify", "skills.update", "preview.publish", "delivery.build", "delivery.cancel", "model.preview", "model.preview.cancel", "checkpoint.create", "checkpoint.restore"];
9
+ export declare const OPERATION_KINDS: readonly ["runtime.ensure", "runtime.destroy", "session.create", "session.turn", "session.review", "session.compact", "session.steer", "session.interrupt", "session.approval.respond", "file.write", "file.binary.write", "directory.create", "directory.rename", "directory.delete", "asset.library.import", "asset.bundle.save", "git.commit", "git.push", "git.pull", "git.merge.abort", "git.stage", "git.unstage", "git.discard", "workspace.save", "workspace.references.import", "terminal.create", "parameter.patch", "parameter.verify", "skills.update", "preview.publish", "delivery.build", "delivery.cancel", "model.preview", "model.preview.cancel", "artifact.validation", "checkpoint.create", "checkpoint.restore"];
10
10
  export type OperationKind = (typeof OPERATION_KINDS)[number];
11
11
  export declare const operationKindSchema: z.ZodEnum<{
12
12
  "directory.rename": "directory.rename";
13
13
  "directory.delete": "directory.delete";
14
+ "artifact.validation": "artifact.validation";
14
15
  "runtime.ensure": "runtime.ensure";
15
16
  "runtime.destroy": "runtime.destroy";
16
17
  "session.create": "session.create";
@@ -198,6 +199,10 @@ export declare const OPERATION_EFFECTS: {
198
199
  readonly mutatesWorkspace: false;
199
200
  readonly executionSlot: false;
200
201
  };
202
+ readonly 'artifact.validation': {
203
+ readonly mutatesWorkspace: false;
204
+ readonly executionSlot: false;
205
+ };
201
206
  readonly 'checkpoint.create': {
202
207
  readonly mutatesWorkspace: true;
203
208
  readonly executionSlot: false;
@@ -258,6 +263,7 @@ export declare const operationAcceptRequestSchema: z.ZodObject<{
258
263
  kind: z.ZodEnum<{
259
264
  "directory.rename": "directory.rename";
260
265
  "directory.delete": "directory.delete";
266
+ "artifact.validation": "artifact.validation";
261
267
  "runtime.ensure": "runtime.ensure";
262
268
  "runtime.destroy": "runtime.destroy";
263
269
  "session.create": "session.create";
@@ -412,6 +418,7 @@ export declare const operationRecordSchema: z.ZodObject<{
412
418
  kind: z.ZodEnum<{
413
419
  "directory.rename": "directory.rename";
414
420
  "directory.delete": "directory.delete";
421
+ "artifact.validation": "artifact.validation";
415
422
  "runtime.ensure": "runtime.ensure";
416
423
  "runtime.destroy": "runtime.destroy";
417
424
  "session.create": "session.create";
@@ -691,6 +698,877 @@ export declare const operationRecordSchema: z.ZodObject<{
691
698
  error: z.ZodOptional<z.ZodString>;
692
699
  createdAt: z.ZodString;
693
700
  updatedAt: z.ZodString;
701
+ }, z.core.$strict>, z.ZodObject<{
702
+ kind: z.ZodLiteral<"artifact-validation">;
703
+ schemaVersion: z.ZodLiteral<1>;
704
+ phase: z.ZodEnum<{
705
+ completed: "completed";
706
+ prepared: "prepared";
707
+ cancelled: "cancelled";
708
+ expired: "expired";
709
+ }>;
710
+ binding: z.ZodObject<{
711
+ workspaceId: z.ZodString;
712
+ directoryName: z.ZodString;
713
+ artifactId: z.ZodString;
714
+ versionId: z.ZodString;
715
+ outputHash: z.ZodString;
716
+ artifactFilesHash: z.ZodString;
717
+ primaryPath: z.ZodString;
718
+ files: z.ZodArray<z.ZodObject<{
719
+ path: z.ZodString;
720
+ mimeType: z.ZodString;
721
+ size: z.ZodNumber;
722
+ sha256: z.ZodString;
723
+ role: z.ZodEnum<{
724
+ resource: "resource";
725
+ primary: "primary";
726
+ thumbnail: "thumbnail";
727
+ }>;
728
+ }, z.core.$strict>>;
729
+ modelBuildHash: z.ZodString;
730
+ manifestHash: z.ZodString;
731
+ inputHash: z.ZodString;
732
+ models: z.ZodArray<z.ZodObject<{
733
+ sourceIdentityHash: z.ZodString;
734
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
735
+ kind: z.ZodLiteral<"resource">;
736
+ path: z.ZodString;
737
+ contentHash: z.ZodString;
738
+ files: z.ZodArray<z.ZodObject<{
739
+ path: z.ZodString;
740
+ contentHash: z.ZodString;
741
+ }, z.core.$strict>>;
742
+ }, z.core.$strict>, z.ZodObject<{
743
+ kind: z.ZodLiteral<"procedural">;
744
+ runId: z.ZodString;
745
+ candidateId: z.ZodString;
746
+ sourceHash: z.ZodString;
747
+ dependencyHash: z.ZodString;
748
+ previewId: z.ZodString;
749
+ contentHash: z.ZodString;
750
+ parameterHash: z.ZodString;
751
+ sourceRoot: z.ZodString;
752
+ parametersPath: z.ZodString;
753
+ }, z.core.$strict>], "kind">;
754
+ adaptationFiles: z.ZodArray<z.ZodObject<{
755
+ path: z.ZodString;
756
+ contentHash: z.ZodString;
757
+ }, z.core.$strict>>;
758
+ adaptationHash: z.ZodString;
759
+ parameterHash: z.ZodOptional<z.ZodString>;
760
+ }, z.core.$strict>>;
761
+ }, z.core.$strict>;
762
+ producerId: z.ZodLiteral<"artifact-validator">;
763
+ validator: z.ZodObject<{
764
+ validatorId: z.ZodString;
765
+ validatorHash: z.ZodString;
766
+ configurationHash: z.ZodString;
767
+ }, z.core.$strict>;
768
+ policy: z.ZodObject<{
769
+ policyId: z.ZodLiteral<"workspace-3d-desktop-v1">;
770
+ parameterNames: z.ZodArray<z.ZodString>;
771
+ openable: z.ZodBoolean;
772
+ persistence: z.ZodEnum<{
773
+ required: "required";
774
+ "not-applicable": "not-applicable";
775
+ }>;
776
+ notApplicableReason: z.ZodOptional<z.ZodString>;
777
+ }, z.core.$strict>;
778
+ environment: z.ZodObject<{
779
+ kind: z.ZodLiteral<"desktop">;
780
+ platform: z.ZodString;
781
+ browserName: z.ZodString;
782
+ browserVersion: z.ZodString;
783
+ renderer: z.ZodEnum<{
784
+ unknown: "unknown";
785
+ hardware: "hardware";
786
+ software: "software";
787
+ }>;
788
+ viewport: z.ZodObject<{
789
+ width: z.ZodNumber;
790
+ height: z.ZodNumber;
791
+ }, z.core.$strict>;
792
+ deviceScaleFactor: z.ZodNumber;
793
+ }, z.core.$strict>;
794
+ fixtureOnly: z.ZodBoolean;
795
+ expiresAt: z.ZodString;
796
+ ticketHash: z.ZodString;
797
+ evidence: z.ZodArray<z.ZodObject<{
798
+ contentHash: z.ZodString;
799
+ size: z.ZodNumber;
800
+ mimeType: z.ZodEnum<{
801
+ "image/png": "image/png";
802
+ "image/jpeg": "image/jpeg";
803
+ "application/json": "application/json";
804
+ "text/plain": "text/plain";
805
+ }>;
806
+ storageBackend: z.ZodEnum<{
807
+ local: "local";
808
+ cos: "cos";
809
+ }>;
810
+ }, z.core.$strict>>;
811
+ receipt: z.ZodOptional<z.ZodObject<{
812
+ schemaVersion: z.ZodLiteral<1>;
813
+ operationId: z.ZodString;
814
+ reportSetHash: z.ZodString;
815
+ binding: z.ZodObject<{
816
+ workspaceId: z.ZodString;
817
+ directoryName: z.ZodString;
818
+ artifactId: z.ZodString;
819
+ versionId: z.ZodString;
820
+ outputHash: z.ZodString;
821
+ artifactFilesHash: z.ZodString;
822
+ primaryPath: z.ZodString;
823
+ files: z.ZodArray<z.ZodObject<{
824
+ path: z.ZodString;
825
+ mimeType: z.ZodString;
826
+ size: z.ZodNumber;
827
+ sha256: z.ZodString;
828
+ role: z.ZodEnum<{
829
+ resource: "resource";
830
+ primary: "primary";
831
+ thumbnail: "thumbnail";
832
+ }>;
833
+ }, z.core.$strict>>;
834
+ modelBuildHash: z.ZodString;
835
+ manifestHash: z.ZodString;
836
+ inputHash: z.ZodString;
837
+ models: z.ZodArray<z.ZodObject<{
838
+ sourceIdentityHash: z.ZodString;
839
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
840
+ kind: z.ZodLiteral<"resource">;
841
+ path: z.ZodString;
842
+ contentHash: z.ZodString;
843
+ files: z.ZodArray<z.ZodObject<{
844
+ path: z.ZodString;
845
+ contentHash: z.ZodString;
846
+ }, z.core.$strict>>;
847
+ }, z.core.$strict>, z.ZodObject<{
848
+ kind: z.ZodLiteral<"procedural">;
849
+ runId: z.ZodString;
850
+ candidateId: z.ZodString;
851
+ sourceHash: z.ZodString;
852
+ dependencyHash: z.ZodString;
853
+ previewId: z.ZodString;
854
+ contentHash: z.ZodString;
855
+ parameterHash: z.ZodString;
856
+ sourceRoot: z.ZodString;
857
+ parametersPath: z.ZodString;
858
+ }, z.core.$strict>], "kind">;
859
+ adaptationFiles: z.ZodArray<z.ZodObject<{
860
+ path: z.ZodString;
861
+ contentHash: z.ZodString;
862
+ }, z.core.$strict>>;
863
+ adaptationHash: z.ZodString;
864
+ parameterHash: z.ZodOptional<z.ZodString>;
865
+ }, z.core.$strict>>;
866
+ }, z.core.$strict>;
867
+ producerId: z.ZodLiteral<"artifact-validator">;
868
+ validator: z.ZodObject<{
869
+ validatorId: z.ZodString;
870
+ validatorHash: z.ZodString;
871
+ configurationHash: z.ZodString;
872
+ }, z.core.$strict>;
873
+ policy: z.ZodObject<{
874
+ policyId: z.ZodLiteral<"workspace-3d-desktop-v1">;
875
+ parameterNames: z.ZodArray<z.ZodString>;
876
+ openable: z.ZodBoolean;
877
+ persistence: z.ZodEnum<{
878
+ required: "required";
879
+ "not-applicable": "not-applicable";
880
+ }>;
881
+ notApplicableReason: z.ZodOptional<z.ZodString>;
882
+ }, z.core.$strict>;
883
+ environment: z.ZodNullable<z.ZodObject<{
884
+ kind: z.ZodLiteral<"desktop">;
885
+ platform: z.ZodString;
886
+ browserName: z.ZodString;
887
+ browserVersion: z.ZodString;
888
+ renderer: z.ZodEnum<{
889
+ unknown: "unknown";
890
+ hardware: "hardware";
891
+ software: "software";
892
+ }>;
893
+ viewport: z.ZodObject<{
894
+ width: z.ZodNumber;
895
+ height: z.ZodNumber;
896
+ }, z.core.$strict>;
897
+ deviceScaleFactor: z.ZodNumber;
898
+ }, z.core.$strict>>;
899
+ requestedEnvironment: z.ZodObject<{
900
+ kind: z.ZodLiteral<"desktop">;
901
+ platform: z.ZodString;
902
+ browserName: z.ZodString;
903
+ browserVersion: z.ZodString;
904
+ renderer: z.ZodEnum<{
905
+ unknown: "unknown";
906
+ hardware: "hardware";
907
+ software: "software";
908
+ }>;
909
+ viewport: z.ZodObject<{
910
+ width: z.ZodNumber;
911
+ height: z.ZodNumber;
912
+ }, z.core.$strict>;
913
+ deviceScaleFactor: z.ZodNumber;
914
+ }, z.core.$strict>;
915
+ environmentHash: z.ZodString;
916
+ fixtureOnly: z.ZodBoolean;
917
+ modelAcceptance: z.ZodLiteral<false>;
918
+ reports: z.ZodArray<z.ZodObject<{
919
+ kind: z.ZodEnum<{
920
+ "source-and-artifact": "source-and-artifact";
921
+ "render-and-lifecycle": "render-and-lifecycle";
922
+ "parameter-persistence": "parameter-persistence";
923
+ "visible-controls-and-interaction": "visible-controls-and-interaction";
924
+ }>;
925
+ status: z.ZodEnum<{
926
+ failed: "failed";
927
+ blocked: "blocked";
928
+ "not-applicable": "not-applicable";
929
+ passed: "passed";
930
+ }>;
931
+ checks: z.ZodArray<z.ZodObject<{
932
+ name: z.ZodString;
933
+ status: z.ZodEnum<{
934
+ failed: "failed";
935
+ blocked: "blocked";
936
+ "not-applicable": "not-applicable";
937
+ passed: "passed";
938
+ }>;
939
+ evidenceHashes: z.ZodArray<z.ZodString>;
940
+ note: z.ZodOptional<z.ZodString>;
941
+ }, z.core.$strict>>;
942
+ missingChecks: z.ZodArray<z.ZodString>;
943
+ reason: z.ZodOptional<z.ZodString>;
944
+ }, z.core.$strict>>;
945
+ evidence: z.ZodArray<z.ZodObject<{
946
+ contentHash: z.ZodString;
947
+ size: z.ZodNumber;
948
+ mimeType: z.ZodEnum<{
949
+ "image/png": "image/png";
950
+ "image/jpeg": "image/jpeg";
951
+ "application/json": "application/json";
952
+ "text/plain": "text/plain";
953
+ }>;
954
+ }, z.core.$strict>>;
955
+ startedAt: z.ZodString;
956
+ finishedAt: z.ZodString;
957
+ }, z.core.$strict>>;
958
+ }, z.core.$strict>, z.ZodObject<{
959
+ kind: z.ZodLiteral<"artifact-quality">;
960
+ schemaVersion: z.ZodLiteral<1>;
961
+ phase: z.ZodEnum<{
962
+ completed: "completed";
963
+ prepared: "prepared";
964
+ cancelled: "cancelled";
965
+ expired: "expired";
966
+ }>;
967
+ binding: z.ZodObject<{
968
+ workspaceId: z.ZodString;
969
+ directoryName: z.ZodString;
970
+ artifactId: z.ZodString;
971
+ versionId: z.ZodString;
972
+ outputHash: z.ZodString;
973
+ artifactFilesHash: z.ZodString;
974
+ primaryPath: z.ZodString;
975
+ files: z.ZodArray<z.ZodObject<{
976
+ path: z.ZodString;
977
+ mimeType: z.ZodString;
978
+ size: z.ZodNumber;
979
+ sha256: z.ZodString;
980
+ role: z.ZodEnum<{
981
+ resource: "resource";
982
+ primary: "primary";
983
+ thumbnail: "thumbnail";
984
+ }>;
985
+ }, z.core.$strict>>;
986
+ modelBuildHash: z.ZodString;
987
+ manifestHash: z.ZodString;
988
+ inputHash: z.ZodString;
989
+ models: z.ZodArray<z.ZodObject<{
990
+ sourceIdentityHash: z.ZodString;
991
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
992
+ kind: z.ZodLiteral<"resource">;
993
+ path: z.ZodString;
994
+ contentHash: z.ZodString;
995
+ files: z.ZodArray<z.ZodObject<{
996
+ path: z.ZodString;
997
+ contentHash: z.ZodString;
998
+ }, z.core.$strict>>;
999
+ }, z.core.$strict>, z.ZodObject<{
1000
+ kind: z.ZodLiteral<"procedural">;
1001
+ runId: z.ZodString;
1002
+ candidateId: z.ZodString;
1003
+ sourceHash: z.ZodString;
1004
+ dependencyHash: z.ZodString;
1005
+ previewId: z.ZodString;
1006
+ contentHash: z.ZodString;
1007
+ parameterHash: z.ZodString;
1008
+ sourceRoot: z.ZodString;
1009
+ parametersPath: z.ZodString;
1010
+ }, z.core.$strict>], "kind">;
1011
+ adaptationFiles: z.ZodArray<z.ZodObject<{
1012
+ path: z.ZodString;
1013
+ contentHash: z.ZodString;
1014
+ }, z.core.$strict>>;
1015
+ adaptationHash: z.ZodString;
1016
+ parameterHash: z.ZodOptional<z.ZodString>;
1017
+ }, z.core.$strict>>;
1018
+ }, z.core.$strict>;
1019
+ baselineBinding: z.ZodObject<{
1020
+ workspaceId: z.ZodString;
1021
+ directoryName: z.ZodString;
1022
+ artifactId: z.ZodString;
1023
+ versionId: z.ZodString;
1024
+ outputHash: z.ZodString;
1025
+ artifactFilesHash: z.ZodString;
1026
+ primaryPath: z.ZodString;
1027
+ files: z.ZodArray<z.ZodObject<{
1028
+ path: z.ZodString;
1029
+ mimeType: z.ZodString;
1030
+ size: z.ZodNumber;
1031
+ sha256: z.ZodString;
1032
+ role: z.ZodEnum<{
1033
+ resource: "resource";
1034
+ primary: "primary";
1035
+ thumbnail: "thumbnail";
1036
+ }>;
1037
+ }, z.core.$strict>>;
1038
+ modelBuildHash: z.ZodString;
1039
+ manifestHash: z.ZodString;
1040
+ inputHash: z.ZodString;
1041
+ models: z.ZodArray<z.ZodObject<{
1042
+ sourceIdentityHash: z.ZodString;
1043
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1044
+ kind: z.ZodLiteral<"resource">;
1045
+ path: z.ZodString;
1046
+ contentHash: z.ZodString;
1047
+ files: z.ZodArray<z.ZodObject<{
1048
+ path: z.ZodString;
1049
+ contentHash: z.ZodString;
1050
+ }, z.core.$strict>>;
1051
+ }, z.core.$strict>, z.ZodObject<{
1052
+ kind: z.ZodLiteral<"procedural">;
1053
+ runId: z.ZodString;
1054
+ candidateId: z.ZodString;
1055
+ sourceHash: z.ZodString;
1056
+ dependencyHash: z.ZodString;
1057
+ previewId: z.ZodString;
1058
+ contentHash: z.ZodString;
1059
+ parameterHash: z.ZodString;
1060
+ sourceRoot: z.ZodString;
1061
+ parametersPath: z.ZodString;
1062
+ }, z.core.$strict>], "kind">;
1063
+ adaptationFiles: z.ZodArray<z.ZodObject<{
1064
+ path: z.ZodString;
1065
+ contentHash: z.ZodString;
1066
+ }, z.core.$strict>>;
1067
+ adaptationHash: z.ZodString;
1068
+ parameterHash: z.ZodOptional<z.ZodString>;
1069
+ }, z.core.$strict>>;
1070
+ }, z.core.$strict>;
1071
+ producerId: z.ZodLiteral<"artifact-validator">;
1072
+ validator: z.ZodObject<{
1073
+ validatorId: z.ZodString;
1074
+ validatorHash: z.ZodString;
1075
+ configurationHash: z.ZodString;
1076
+ }, z.core.$strict>;
1077
+ policy: z.ZodObject<{
1078
+ policyId: z.ZodLiteral<"workspace-3d-model-quality-v1">;
1079
+ modelIndex: z.ZodNumber;
1080
+ executionSurface: z.ZodLiteral<"offline-native-model">;
1081
+ openable: z.ZodBoolean;
1082
+ requireInterior: z.ZodBoolean;
1083
+ requiredViews: z.ZodArray<z.ZodEnum<{
1084
+ front: "front";
1085
+ right: "right";
1086
+ back: "back";
1087
+ left: "left";
1088
+ hero: "hero";
1089
+ top: "top";
1090
+ interior: "interior";
1091
+ }>>;
1092
+ requiredPoses: z.ZodArray<z.ZodString>;
1093
+ minimumReferenceFidelity: z.ZodNumber;
1094
+ minimumMaterialFidelity: z.ZodNumber;
1095
+ minimumInteriorPlausibility: z.ZodNumber;
1096
+ budget: z.ZodObject<{
1097
+ maxModelBytes: z.ZodNumber;
1098
+ maxArtifactBytes: z.ZodNumber;
1099
+ minArtifactReductionRatio: z.ZodOptional<z.ZodNumber>;
1100
+ maxTriangles: z.ZodOptional<z.ZodNumber>;
1101
+ maxTextureBytes: z.ZodOptional<z.ZodNumber>;
1102
+ }, z.core.$strict>;
1103
+ }, z.core.$strict>;
1104
+ inputs: z.ZodObject<{
1105
+ profileHash: z.ZodString;
1106
+ references: z.ZodArray<z.ZodObject<{
1107
+ contentHash: z.ZodString;
1108
+ size: z.ZodNumber;
1109
+ mimeType: z.ZodEnum<{
1110
+ "image/png": "image/png";
1111
+ "image/jpeg": "image/jpeg";
1112
+ }>;
1113
+ id: z.ZodString;
1114
+ view: z.ZodEnum<{
1115
+ front: "front";
1116
+ right: "right";
1117
+ back: "back";
1118
+ left: "left";
1119
+ hero: "hero";
1120
+ top: "top";
1121
+ interior: "interior";
1122
+ }>;
1123
+ pose: z.ZodString;
1124
+ region: z.ZodEnum<{
1125
+ interior: "interior";
1126
+ exterior: "exterior";
1127
+ }>;
1128
+ origin: z.ZodEnum<{
1129
+ provided: "provided";
1130
+ "generated-design": "generated-design";
1131
+ inferred: "inferred";
1132
+ }>;
1133
+ }, z.core.$strict>>;
1134
+ captures: z.ZodArray<z.ZodObject<{
1135
+ contentHash: z.ZodString;
1136
+ size: z.ZodNumber;
1137
+ mimeType: z.ZodEnum<{
1138
+ "image/png": "image/png";
1139
+ "image/jpeg": "image/jpeg";
1140
+ }>;
1141
+ id: z.ZodString;
1142
+ view: z.ZodEnum<{
1143
+ front: "front";
1144
+ right: "right";
1145
+ back: "back";
1146
+ left: "left";
1147
+ hero: "hero";
1148
+ top: "top";
1149
+ interior: "interior";
1150
+ }>;
1151
+ pose: z.ZodString;
1152
+ region: z.ZodEnum<{
1153
+ interior: "interior";
1154
+ exterior: "exterior";
1155
+ }>;
1156
+ variant: z.ZodEnum<{
1157
+ current: "current";
1158
+ baseline: "baseline";
1159
+ "map-stripped": "map-stripped";
1160
+ }>;
1161
+ angleDegrees: z.ZodNumber;
1162
+ profileHash: z.ZodString;
1163
+ poseHash: z.ZodString;
1164
+ stateHash: z.ZodString;
1165
+ }, z.core.$strict>>;
1166
+ tools: z.ZodArray<z.ZodObject<{
1167
+ name: z.ZodString;
1168
+ version: z.ZodString;
1169
+ binaryHash: z.ZodString;
1170
+ scriptHash: z.ZodString;
1171
+ configurationHash: z.ZodString;
1172
+ manifestHash: z.ZodString;
1173
+ }, z.core.$strict>>;
1174
+ derivation: z.ZodObject<{
1175
+ parentSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
1176
+ kind: z.ZodLiteral<"resource">;
1177
+ path: z.ZodString;
1178
+ contentHash: z.ZodString;
1179
+ files: z.ZodArray<z.ZodObject<{
1180
+ path: z.ZodString;
1181
+ contentHash: z.ZodString;
1182
+ }, z.core.$strict>>;
1183
+ }, z.core.$strict>, z.ZodObject<{
1184
+ kind: z.ZodLiteral<"procedural">;
1185
+ runId: z.ZodString;
1186
+ candidateId: z.ZodString;
1187
+ sourceHash: z.ZodString;
1188
+ dependencyHash: z.ZodString;
1189
+ previewId: z.ZodString;
1190
+ contentHash: z.ZodString;
1191
+ parameterHash: z.ZodString;
1192
+ sourceRoot: z.ZodString;
1193
+ parametersPath: z.ZodString;
1194
+ }, z.core.$strict>], "kind">;
1195
+ outputSourceHash: z.ZodString;
1196
+ recipeHash: z.ZodString;
1197
+ receiptHash: z.ZodString;
1198
+ }, z.core.$strict>;
1199
+ }, z.core.$strict>;
1200
+ environment: z.ZodObject<{
1201
+ kind: z.ZodLiteral<"native-renderer">;
1202
+ executionSurface: z.ZodLiteral<"offline-native-model">;
1203
+ platform: z.ZodString;
1204
+ renderer: z.ZodString;
1205
+ rendererVersion: z.ZodString;
1206
+ toolManifestHash: z.ZodString;
1207
+ viewport: z.ZodObject<{
1208
+ width: z.ZodNumber;
1209
+ height: z.ZodNumber;
1210
+ }, z.core.$strict>;
1211
+ }, z.core.$strict>;
1212
+ fixtureOnly: z.ZodBoolean;
1213
+ expiresAt: z.ZodString;
1214
+ ticketHash: z.ZodString;
1215
+ evidence: z.ZodArray<z.ZodObject<{
1216
+ contentHash: z.ZodString;
1217
+ size: z.ZodNumber;
1218
+ mimeType: z.ZodEnum<{
1219
+ "image/png": "image/png";
1220
+ "image/jpeg": "image/jpeg";
1221
+ "application/json": "application/json";
1222
+ "text/plain": "text/plain";
1223
+ }>;
1224
+ storageBackend: z.ZodEnum<{
1225
+ local: "local";
1226
+ cos: "cos";
1227
+ }>;
1228
+ }, z.core.$strict>>;
1229
+ receipt: z.ZodOptional<z.ZodObject<{
1230
+ schemaVersion: z.ZodLiteral<1>;
1231
+ domain: z.ZodLiteral<"model-quality">;
1232
+ operationId: z.ZodString;
1233
+ reportSetHash: z.ZodString;
1234
+ binding: z.ZodObject<{
1235
+ workspaceId: z.ZodString;
1236
+ directoryName: z.ZodString;
1237
+ artifactId: z.ZodString;
1238
+ versionId: z.ZodString;
1239
+ outputHash: z.ZodString;
1240
+ artifactFilesHash: z.ZodString;
1241
+ primaryPath: z.ZodString;
1242
+ files: z.ZodArray<z.ZodObject<{
1243
+ path: z.ZodString;
1244
+ mimeType: z.ZodString;
1245
+ size: z.ZodNumber;
1246
+ sha256: z.ZodString;
1247
+ role: z.ZodEnum<{
1248
+ resource: "resource";
1249
+ primary: "primary";
1250
+ thumbnail: "thumbnail";
1251
+ }>;
1252
+ }, z.core.$strict>>;
1253
+ modelBuildHash: z.ZodString;
1254
+ manifestHash: z.ZodString;
1255
+ inputHash: z.ZodString;
1256
+ models: z.ZodArray<z.ZodObject<{
1257
+ sourceIdentityHash: z.ZodString;
1258
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1259
+ kind: z.ZodLiteral<"resource">;
1260
+ path: z.ZodString;
1261
+ contentHash: z.ZodString;
1262
+ files: z.ZodArray<z.ZodObject<{
1263
+ path: z.ZodString;
1264
+ contentHash: z.ZodString;
1265
+ }, z.core.$strict>>;
1266
+ }, z.core.$strict>, z.ZodObject<{
1267
+ kind: z.ZodLiteral<"procedural">;
1268
+ runId: z.ZodString;
1269
+ candidateId: z.ZodString;
1270
+ sourceHash: z.ZodString;
1271
+ dependencyHash: z.ZodString;
1272
+ previewId: z.ZodString;
1273
+ contentHash: z.ZodString;
1274
+ parameterHash: z.ZodString;
1275
+ sourceRoot: z.ZodString;
1276
+ parametersPath: z.ZodString;
1277
+ }, z.core.$strict>], "kind">;
1278
+ adaptationFiles: z.ZodArray<z.ZodObject<{
1279
+ path: z.ZodString;
1280
+ contentHash: z.ZodString;
1281
+ }, z.core.$strict>>;
1282
+ adaptationHash: z.ZodString;
1283
+ parameterHash: z.ZodOptional<z.ZodString>;
1284
+ }, z.core.$strict>>;
1285
+ }, z.core.$strict>;
1286
+ baselineBinding: z.ZodObject<{
1287
+ workspaceId: z.ZodString;
1288
+ directoryName: z.ZodString;
1289
+ artifactId: z.ZodString;
1290
+ versionId: z.ZodString;
1291
+ outputHash: z.ZodString;
1292
+ artifactFilesHash: z.ZodString;
1293
+ primaryPath: z.ZodString;
1294
+ files: z.ZodArray<z.ZodObject<{
1295
+ path: z.ZodString;
1296
+ mimeType: z.ZodString;
1297
+ size: z.ZodNumber;
1298
+ sha256: z.ZodString;
1299
+ role: z.ZodEnum<{
1300
+ resource: "resource";
1301
+ primary: "primary";
1302
+ thumbnail: "thumbnail";
1303
+ }>;
1304
+ }, z.core.$strict>>;
1305
+ modelBuildHash: z.ZodString;
1306
+ manifestHash: z.ZodString;
1307
+ inputHash: z.ZodString;
1308
+ models: z.ZodArray<z.ZodObject<{
1309
+ sourceIdentityHash: z.ZodString;
1310
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1311
+ kind: z.ZodLiteral<"resource">;
1312
+ path: z.ZodString;
1313
+ contentHash: z.ZodString;
1314
+ files: z.ZodArray<z.ZodObject<{
1315
+ path: z.ZodString;
1316
+ contentHash: z.ZodString;
1317
+ }, z.core.$strict>>;
1318
+ }, z.core.$strict>, z.ZodObject<{
1319
+ kind: z.ZodLiteral<"procedural">;
1320
+ runId: z.ZodString;
1321
+ candidateId: z.ZodString;
1322
+ sourceHash: z.ZodString;
1323
+ dependencyHash: z.ZodString;
1324
+ previewId: z.ZodString;
1325
+ contentHash: z.ZodString;
1326
+ parameterHash: z.ZodString;
1327
+ sourceRoot: z.ZodString;
1328
+ parametersPath: z.ZodString;
1329
+ }, z.core.$strict>], "kind">;
1330
+ adaptationFiles: z.ZodArray<z.ZodObject<{
1331
+ path: z.ZodString;
1332
+ contentHash: z.ZodString;
1333
+ }, z.core.$strict>>;
1334
+ adaptationHash: z.ZodString;
1335
+ parameterHash: z.ZodOptional<z.ZodString>;
1336
+ }, z.core.$strict>>;
1337
+ }, z.core.$strict>;
1338
+ producerId: z.ZodLiteral<"artifact-validator">;
1339
+ validator: z.ZodObject<{
1340
+ validatorId: z.ZodString;
1341
+ validatorHash: z.ZodString;
1342
+ configurationHash: z.ZodString;
1343
+ }, z.core.$strict>;
1344
+ policy: z.ZodObject<{
1345
+ policyId: z.ZodLiteral<"workspace-3d-model-quality-v1">;
1346
+ modelIndex: z.ZodNumber;
1347
+ executionSurface: z.ZodLiteral<"offline-native-model">;
1348
+ openable: z.ZodBoolean;
1349
+ requireInterior: z.ZodBoolean;
1350
+ requiredViews: z.ZodArray<z.ZodEnum<{
1351
+ front: "front";
1352
+ right: "right";
1353
+ back: "back";
1354
+ left: "left";
1355
+ hero: "hero";
1356
+ top: "top";
1357
+ interior: "interior";
1358
+ }>>;
1359
+ requiredPoses: z.ZodArray<z.ZodString>;
1360
+ minimumReferenceFidelity: z.ZodNumber;
1361
+ minimumMaterialFidelity: z.ZodNumber;
1362
+ minimumInteriorPlausibility: z.ZodNumber;
1363
+ budget: z.ZodObject<{
1364
+ maxModelBytes: z.ZodNumber;
1365
+ maxArtifactBytes: z.ZodNumber;
1366
+ minArtifactReductionRatio: z.ZodOptional<z.ZodNumber>;
1367
+ maxTriangles: z.ZodOptional<z.ZodNumber>;
1368
+ maxTextureBytes: z.ZodOptional<z.ZodNumber>;
1369
+ }, z.core.$strict>;
1370
+ }, z.core.$strict>;
1371
+ inputs: z.ZodObject<{
1372
+ profileHash: z.ZodString;
1373
+ references: z.ZodArray<z.ZodObject<{
1374
+ contentHash: z.ZodString;
1375
+ size: z.ZodNumber;
1376
+ mimeType: z.ZodEnum<{
1377
+ "image/png": "image/png";
1378
+ "image/jpeg": "image/jpeg";
1379
+ }>;
1380
+ id: z.ZodString;
1381
+ view: z.ZodEnum<{
1382
+ front: "front";
1383
+ right: "right";
1384
+ back: "back";
1385
+ left: "left";
1386
+ hero: "hero";
1387
+ top: "top";
1388
+ interior: "interior";
1389
+ }>;
1390
+ pose: z.ZodString;
1391
+ region: z.ZodEnum<{
1392
+ interior: "interior";
1393
+ exterior: "exterior";
1394
+ }>;
1395
+ origin: z.ZodEnum<{
1396
+ provided: "provided";
1397
+ "generated-design": "generated-design";
1398
+ inferred: "inferred";
1399
+ }>;
1400
+ }, z.core.$strict>>;
1401
+ captures: z.ZodArray<z.ZodObject<{
1402
+ contentHash: z.ZodString;
1403
+ size: z.ZodNumber;
1404
+ mimeType: z.ZodEnum<{
1405
+ "image/png": "image/png";
1406
+ "image/jpeg": "image/jpeg";
1407
+ }>;
1408
+ id: z.ZodString;
1409
+ view: z.ZodEnum<{
1410
+ front: "front";
1411
+ right: "right";
1412
+ back: "back";
1413
+ left: "left";
1414
+ hero: "hero";
1415
+ top: "top";
1416
+ interior: "interior";
1417
+ }>;
1418
+ pose: z.ZodString;
1419
+ region: z.ZodEnum<{
1420
+ interior: "interior";
1421
+ exterior: "exterior";
1422
+ }>;
1423
+ variant: z.ZodEnum<{
1424
+ current: "current";
1425
+ baseline: "baseline";
1426
+ "map-stripped": "map-stripped";
1427
+ }>;
1428
+ angleDegrees: z.ZodNumber;
1429
+ profileHash: z.ZodString;
1430
+ poseHash: z.ZodString;
1431
+ stateHash: z.ZodString;
1432
+ }, z.core.$strict>>;
1433
+ tools: z.ZodArray<z.ZodObject<{
1434
+ name: z.ZodString;
1435
+ version: z.ZodString;
1436
+ binaryHash: z.ZodString;
1437
+ scriptHash: z.ZodString;
1438
+ configurationHash: z.ZodString;
1439
+ manifestHash: z.ZodString;
1440
+ }, z.core.$strict>>;
1441
+ derivation: z.ZodObject<{
1442
+ parentSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
1443
+ kind: z.ZodLiteral<"resource">;
1444
+ path: z.ZodString;
1445
+ contentHash: z.ZodString;
1446
+ files: z.ZodArray<z.ZodObject<{
1447
+ path: z.ZodString;
1448
+ contentHash: z.ZodString;
1449
+ }, z.core.$strict>>;
1450
+ }, z.core.$strict>, z.ZodObject<{
1451
+ kind: z.ZodLiteral<"procedural">;
1452
+ runId: z.ZodString;
1453
+ candidateId: z.ZodString;
1454
+ sourceHash: z.ZodString;
1455
+ dependencyHash: z.ZodString;
1456
+ previewId: z.ZodString;
1457
+ contentHash: z.ZodString;
1458
+ parameterHash: z.ZodString;
1459
+ sourceRoot: z.ZodString;
1460
+ parametersPath: z.ZodString;
1461
+ }, z.core.$strict>], "kind">;
1462
+ outputSourceHash: z.ZodString;
1463
+ recipeHash: z.ZodString;
1464
+ receiptHash: z.ZodString;
1465
+ }, z.core.$strict>;
1466
+ }, z.core.$strict>;
1467
+ inputSetHash: z.ZodString;
1468
+ environment: z.ZodNullable<z.ZodObject<{
1469
+ kind: z.ZodLiteral<"native-renderer">;
1470
+ executionSurface: z.ZodLiteral<"offline-native-model">;
1471
+ platform: z.ZodString;
1472
+ renderer: z.ZodString;
1473
+ rendererVersion: z.ZodString;
1474
+ toolManifestHash: z.ZodString;
1475
+ viewport: z.ZodObject<{
1476
+ width: z.ZodNumber;
1477
+ height: z.ZodNumber;
1478
+ }, z.core.$strict>;
1479
+ }, z.core.$strict>>;
1480
+ requestedEnvironment: z.ZodObject<{
1481
+ kind: z.ZodLiteral<"native-renderer">;
1482
+ executionSurface: z.ZodLiteral<"offline-native-model">;
1483
+ platform: z.ZodString;
1484
+ renderer: z.ZodString;
1485
+ rendererVersion: z.ZodString;
1486
+ toolManifestHash: z.ZodString;
1487
+ viewport: z.ZodObject<{
1488
+ width: z.ZodNumber;
1489
+ height: z.ZodNumber;
1490
+ }, z.core.$strict>;
1491
+ }, z.core.$strict>;
1492
+ reviewer: z.ZodNullable<z.ZodObject<{
1493
+ kind: z.ZodEnum<{
1494
+ "vision-model": "vision-model";
1495
+ "manual-review": "manual-review";
1496
+ "deterministic-tool": "deterministic-tool";
1497
+ }>;
1498
+ reviewerId: z.ZodString;
1499
+ modelRef: z.ZodOptional<z.ZodString>;
1500
+ requestHash: z.ZodString;
1501
+ responseHash: z.ZodString;
1502
+ evidenceHash: z.ZodString;
1503
+ authority: z.ZodLiteral<"producer-attested">;
1504
+ }, z.core.$strict>>;
1505
+ measurements: z.ZodObject<{
1506
+ modelContentHash: z.ZodString;
1507
+ modelBytes: z.ZodNumber;
1508
+ triangles: z.ZodNumber;
1509
+ textureBytes: z.ZodNumber;
1510
+ referenceFidelity: z.ZodNullable<z.ZodNumber>;
1511
+ materialFidelity: z.ZodNullable<z.ZodNumber>;
1512
+ interiorPlausibility: z.ZodNullable<z.ZodNumber>;
1513
+ evidenceHashes: z.ZodArray<z.ZodString>;
1514
+ }, z.core.$strict>;
1515
+ packageMetrics: z.ZodObject<{
1516
+ artifactBytes: z.ZodNumber;
1517
+ baselineArtifactBytes: z.ZodNumber;
1518
+ artifactReductionRatio: z.ZodNumber;
1519
+ artifactMeasurementAuthority: z.ZodLiteral<"archive">;
1520
+ modelMeasurementAuthority: z.ZodLiteral<"trusted-producer">;
1521
+ }, z.core.$strict>;
1522
+ fixtureOnly: z.ZodBoolean;
1523
+ modelAcceptance: z.ZodLiteral<false>;
1524
+ desktopBrowserValidation: z.ZodLiteral<"pending">;
1525
+ cloudUiValidation: z.ZodLiteral<"pending">;
1526
+ interiorReferenceValidation: z.ZodLiteral<"pending">;
1527
+ reports: z.ZodArray<z.ZodObject<{
1528
+ kind: z.ZodEnum<{
1529
+ appearance: "appearance";
1530
+ structure: "structure";
1531
+ "package-budget": "package-budget";
1532
+ }>;
1533
+ scope: z.ZodEnum<{
1534
+ "exterior-reference": "exterior-reference";
1535
+ "derived-structure": "derived-structure";
1536
+ "artifact-package": "artifact-package";
1537
+ }>;
1538
+ status: z.ZodEnum<{
1539
+ pending: "pending";
1540
+ failed: "failed";
1541
+ blocked: "blocked";
1542
+ "not-applicable": "not-applicable";
1543
+ passed: "passed";
1544
+ }>;
1545
+ checks: z.ZodArray<z.ZodObject<{
1546
+ name: z.ZodString;
1547
+ status: z.ZodEnum<{
1548
+ failed: "failed";
1549
+ blocked: "blocked";
1550
+ "not-applicable": "not-applicable";
1551
+ passed: "passed";
1552
+ }>;
1553
+ evidenceHashes: z.ZodArray<z.ZodString>;
1554
+ note: z.ZodOptional<z.ZodString>;
1555
+ }, z.core.$strict>>;
1556
+ missingChecks: z.ZodArray<z.ZodString>;
1557
+ reasons: z.ZodArray<z.ZodString>;
1558
+ }, z.core.$strict>>;
1559
+ evidence: z.ZodArray<z.ZodObject<{
1560
+ contentHash: z.ZodString;
1561
+ size: z.ZodNumber;
1562
+ mimeType: z.ZodEnum<{
1563
+ "image/png": "image/png";
1564
+ "image/jpeg": "image/jpeg";
1565
+ "application/json": "application/json";
1566
+ "text/plain": "text/plain";
1567
+ }>;
1568
+ }, z.core.$strict>>;
1569
+ startedAt: z.ZodString;
1570
+ finishedAt: z.ZodString;
1571
+ }, z.core.$strict>>;
694
1572
  }, z.core.$strict>]>>;
695
1573
  userText: z.ZodOptional<z.ZodString>;
696
1574
  reviewTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{