Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

docs: clarify workspace layout and browser render tests

kashorin4c7e0752523a
diff --git a/docs/guide/develop.md b/docs/guide/develop.md
index ec73d6aa..e1935fed 100644
--- a/docs/guide/develop.md
+++ b/docs/guide/develop.md
@@ -41,10 +41,10 @@ hypit/
├── packages/ workspace packages
├── docs/ VitePress documentation site
├── examples/ runnable example sources
-├── services/ Python services (whisperx, image-opencv)
+├── services/ local media and transcription services
├── test/ repository boundary tests and shared fixtures
├── package.json root workspace manifest
-├── pnpm-workspace.yaml workspace: [packages/*]
+├── pnpm-workspace.yaml package, service and example-component workspaces
└── tsconfig.json TypeScript config
```
diff --git a/docs/guide/testing.md b/docs/guide/testing.md
index 545f2cd7..f6cae7a0 100644
--- a/docs/guide/testing.md
+++ b/docs/guide/testing.md
@@ -92,6 +92,12 @@ explicitly opt-in, use no committed secret and fail before spending money unless
| `pnpm test:whisperx-service` | Python WhisperX service | Python 3.13, uv, frozen sync |
| `pnpm test:image-opencv` | the shared OpenCV Raster interpreter across both request variants | the service's own interpreter at `services/image-opencv/.venv`; set `HYPIT_OPENCV_PYTHON` to use another |
+For the local HyperFrames browser render tests, set `HYPIT_BROWSER_TESTS=1` in your shell environment, then run the command below from the repository root. Chrome, ffmpeg and ffprobe must be available.
+
+```sh
+node --import tsx --test packages/provider-hyperframes-local/test/provider.test.ts
+```
+
## Test fixtures
Test fixtures go in `packages/<name>/test/fixtures/`. They are
diff --git a/docs/zh/guide/develop.md b/docs/zh/guide/develop.md
index 2a65b2cb..25c86c3d 100644
--- a/docs/zh/guide/develop.md
+++ b/docs/zh/guide/develop.md
@@ -41,10 +41,10 @@ hypit/
├── packages/ workspace packages
├── docs/ VitePress documentation site
├── examples/ runnable example sources
-├── services/ Python 服务 (whisperx, image-opencv)
+├── services/ 本地媒体与转写服务
├── test/ repository boundary tests and shared fixtures
├── package.json root workspace manifest
-├── pnpm-workspace.yaml workspace: [packages/*]
+├── pnpm-workspace.yaml package, service and example-component workspaces
└── tsconfig.json TypeScript config
```
diff --git a/docs/zh/guide/testing.md b/docs/zh/guide/testing.md
index 6ac524ea..0e5eae05 100644
--- a/docs/zh/guide/testing.md
+++ b/docs/zh/guide/testing.md
@@ -72,6 +72,12 @@ OpenCV 的集成测试可以显式 opt-in;它们不得联网调用付费服务
| `pnpm test:whisperx-service` | Python WhisperX 服务 | Python 3.13、uv、frozen sync |
| `pnpm test:image-opencv` | OpenCV 图像变换 | 服务自带的解释器,位于 `services/image-opencv/.venv`;要用别的解释器就设 `HYPIT_OPENCV_PYTHON` |
+要运行本地 HyperFrames 浏览器渲染测试,先在当前 shell 环境中设置 `HYPIT_BROWSER_TESTS=1`,再从仓库根目录执行以下命令。需要可用的 Chrome、ffmpeg 和 ffprobe。
+
+```sh
+node --import tsx --test packages/provider-hyperframes-local/test/provider.test.ts
+```
+
## 测试 fixtures
测试夹具放在 `packages/<name>/test/fixtures/`。它们是普通的 `.svml`、`.svs` 和 `.svrun` 文件,用于覆盖特定的编译路径。