hyperframes 0.4.29 → 0.4.31

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/cli.js CHANGED
@@ -54,7 +54,7 @@ var VERSION;
54
54
  var init_version = __esm({
55
55
  "src/version.ts"() {
56
56
  "use strict";
57
- VERSION = true ? "0.4.29" : "0.0.0-dev";
57
+ VERSION = true ? "0.4.31" : "0.0.0-dev";
58
58
  }
59
59
  });
60
60
 
@@ -41446,15 +41446,7 @@ async function captureSnapshots(projectDir, opts) {
41446
41446
  const { ensureBrowser: ensureBrowser2 } = await Promise.resolve().then(() => (init_manager2(), manager_exports2));
41447
41447
  const numFrames = opts.frames ?? 5;
41448
41448
  let html = await bundleToSingleHtml2(projectDir);
41449
- const runtimePath = resolve36(
41450
- __dirname4,
41451
- "..",
41452
- "..",
41453
- "..",
41454
- "core",
41455
- "dist",
41456
- "hyperframe.runtime.iife.js"
41457
- );
41449
+ const runtimePath = resolve36(__dirname4, "hyperframe.runtime.iife.js");
41458
41450
  if (existsSync52(runtimePath)) {
41459
41451
  const runtimeSource = readFileSync36(runtimePath, "utf-8");
41460
41452
  html = html.replace(
@@ -73,6 +73,20 @@ npx hyperframes preview --port 4567 # custom port (default 3002)
73
73
 
74
74
  Hot-reloads on file changes. Opens the studio in your browser automatically.
75
75
 
76
+ When handing a project back to the user, use the Studio project URL, not the
77
+ source `index.html` path:
78
+
79
+ ```text
80
+ http://localhost:<port>/#project/<project-name>
81
+ ```
82
+
83
+ Use the actual port from the preview output and the project directory name. For
84
+ example, after `npx hyperframes preview --port 3017` in `codex-openai-video`,
85
+ report `http://localhost:3017/#project/codex-openai-video`.
86
+
87
+ Treat `index.html` as source-code context only. It is fine to link it as an
88
+ implementation file, but do not label it as the project or preview surface.
89
+
76
90
  ## Rendering
77
91
 
78
92
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperframes",
3
- "version": "0.4.29",
3
+ "version": "0.4.31",
4
4
  "description": "HyperFrames CLI — create, preview, and render HTML video compositions",
5
5
  "repository": {
6
6
  "type": "git",