@pygmalionjs/pygmalion 0.6.34 → 0.7.1

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 (63) hide show
  1. package/LICENSE +190 -0
  2. package/README.ko.md +309 -28
  3. package/README.md +37 -16
  4. package/dist-lib/CameraLayer-D2wrEPwG.js +415 -0
  5. package/dist-lib/frameLodRuntime-CU0IYaSu.js +272 -0
  6. package/dist-lib/pygmalion.js +11670 -16016
  7. package/dist-lib/routePreviewStatus-DTr-UJhV.js +64 -0
  8. package/dist-lib/{FrozenRoutePreview-BbF5Ov5K.js → runtime-DRkTU9eq.js} +9515 -5306
  9. package/dist-lib/testing.js +46 -6
  10. package/dist-lib/types/{App.d.ts → EditorShell.d.ts} +1 -1
  11. package/dist-lib/types/canvas/CameraLayer.d.ts +2 -1
  12. package/dist-lib/types/canvas/FrameLabelBanner.d.ts +1 -1
  13. package/dist-lib/types/canvas/FrameView.d.ts +1 -1
  14. package/dist-lib/types/canvas/FrozenRoutePreview.d.ts +1 -1
  15. package/dist-lib/types/canvas/SectionBoxes.d.ts +2 -1
  16. package/dist-lib/types/canvas/ShadowRoutePreview.d.ts +1 -1
  17. package/dist-lib/types/contract/errors.d.ts +30 -0
  18. package/dist-lib/types/contract/index.d.ts +5 -0
  19. package/dist-lib/types/contract/memoryTransport.d.ts +19 -0
  20. package/dist-lib/types/contract/paths.d.ts +57 -0
  21. package/dist-lib/types/contract/transport.d.ts +69 -0
  22. package/dist-lib/types/contract/types.d.ts +150 -0
  23. package/dist-lib/types/contract/validate.d.ts +15 -0
  24. package/dist-lib/types/contract/viteTransport.d.ts +10 -0
  25. package/dist-lib/types/core/context.d.ts +12 -0
  26. package/dist-lib/types/core/debug.d.ts +187 -0
  27. package/dist-lib/types/core/defaultRuntime.d.ts +3 -0
  28. package/dist-lib/types/core/hostBindings.d.ts +90 -0
  29. package/dist-lib/types/core/runtime.d.ts +36 -0
  30. package/dist-lib/types/core/runtimeContext.d.ts +13 -0
  31. package/dist-lib/types/editor/flowSessionScheduler.d.ts +21 -7
  32. package/dist-lib/types/editor/framePreviewKeys.d.ts +10 -10
  33. package/dist-lib/types/editor/host.d.ts +31 -26
  34. package/dist-lib/types/editor/previewBootstrap.d.ts +5 -15
  35. package/dist-lib/types/editor/previewCaptureProgress.d.ts +7 -2
  36. package/dist-lib/types/editor/projectBootGate.d.ts +17 -4
  37. package/dist-lib/types/editor/projectRuntime.d.ts +11 -95
  38. package/dist-lib/types/editor/revisionCatalog.d.ts +8 -9
  39. package/dist-lib/types/editor/scenarioCoverage.d.ts +2 -1
  40. package/dist-lib/types/editor/store.d.ts +17 -2
  41. package/dist-lib/types/editor/storyboardComposition.d.ts +1 -5
  42. package/dist-lib/types/editor/storyboardDiscovery.d.ts +6 -16
  43. package/dist-lib/types/editor/storyboardEnvironment.d.ts +2 -2
  44. package/dist-lib/types/editor/variantPrefetch.d.ts +3 -2
  45. package/dist-lib/types/editor/visualQa.d.ts +7 -2
  46. package/dist-lib/types/lib.d.ts +25 -204
  47. package/dist-lib/types/shell/ComponentStateControls.d.ts +1 -1
  48. package/dist-lib/types/testing.d.ts +5 -1
  49. package/node/component-branches.mjs +3 -3
  50. package/node/contract.d.mts +63 -0
  51. package/node/contract.mjs +175 -0
  52. package/node/design-session.mjs +4 -2
  53. package/node/dev-mirror.mjs +27 -14
  54. package/node/inspect-plugin.mjs +3 -2
  55. package/node/preview-artifact-plugin.mjs +13 -16
  56. package/node/preview-artifact-store.mjs +4 -2
  57. package/node/qa-capture-plugin.mjs +3 -2
  58. package/node/storyboard-canonical.mjs +2 -2
  59. package/node/storyboard-capture-runtime.mjs +2 -2
  60. package/node/storyboard-environment.mjs +9 -6
  61. package/node/vite.mjs +2 -13
  62. package/package.json +24 -4
  63. package/storyboard.d.ts +11 -0
package/storyboard.d.ts CHANGED
@@ -1,3 +1,8 @@
1
+ import type {
2
+ PygmalionStoryboardEnvironmentManifest,
3
+ PygmalionStoryboardEnvironmentScanOptions,
4
+ } from './vite';
5
+
1
6
  export type StoryboardCaptureStatus =
2
7
  'ready' | 'rendered-with-qa-failure' | 'capture-error';
3
8
 
@@ -378,3 +383,9 @@ export declare function canonicalizeStoryboardExecutions(
378
383
  candidates: readonly Record<string, unknown>[],
379
384
  executions: readonly Record<string, unknown>[],
380
385
  ): unknown;
386
+
387
+ export declare const PYGMALION_STORYBOARD_ENVIRONMENT_QUERY: string;
388
+ export declare function scanStoryboardEnvironment(
389
+ root: string,
390
+ options?: PygmalionStoryboardEnvironmentScanOptions,
391
+ ): Promise<PygmalionStoryboardEnvironmentManifest>;