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.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
fix(release): exclude Python interpreter caches
kashorine81c3762fcc6
diff --git a/packages/provider-whisperx-local/package.json b/packages/provider-whisperx-local/package.jsonindex 3b9c7298..711e2db6 100644--- a/packages/provider-whisperx-local/package.json+++ b/packages/provider-whisperx-local/package.json@@ -1,6 +1,6 @@{"name": "@hypit/provider-whisperx-local",- "version": "0.1.0",+ "version": "0.1.1","license": "SEE LICENSE IN LICENSE","private": true,"type": "module",diff --git a/scripts/check-independent-runtime-packages.mjs b/scripts/check-independent-runtime-packages.mjsindex 8a1484b7..ea2dfd16 100644--- a/scripts/check-independent-runtime-packages.mjs+++ b/scripts/check-independent-runtime-packages.mjs@@ -130,6 +130,10 @@ try {await access(join(whisperRuntime, "pyproject.toml"));await access(join(whisperRuntime, "uv.lock"));await access(join(whisperRuntime, "src", "hypit_whisperx_service", "server.py"));+ const whisperRuntimeFiles = await readdir(whisperRuntime, { recursive: true });+ assert.equal(whisperRuntimeFiles.some((path) => path.split(/[\\/]/u).includes("__pycache__")+ || path.endsWith(".pyc") || path.endsWith(".pyo")), false,+ "published Python Runtime must not contain interpreter caches");const openCvRuntime = join(consumer, "node_modules", "@hypit", "provider-image-opencv-local", "runtime");await access(join(openCvRuntime, "pyproject.toml"));await access(join(openCvRuntime, "uv.lock"));diff --git a/scripts/pack-independent-package.mjs b/scripts/pack-independent-package.mjsindex 40bb9bcd..bd8e8037 100644--- a/scripts/pack-independent-package.mjs+++ b/scripts/pack-independent-package.mjs@@ -3,7 +3,7 @@ import { globSync } from "node:fs";import { cp, mkdir, mkdtemp, readFile, rm, stat, writeFile } from "node:fs/promises";import { createRequire } from "node:module";import { tmpdir } from "node:os";-import { dirname, isAbsolute, relative, resolve, sep } from "node:path";+import { basename, dirname, isAbsolute, relative, resolve, sep } from "node:path";import { fileURLToPath, pathToFileURL } from "node:url";const repositoryRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");@@ -47,7 +47,13 @@ async function copyDeclaredEntry(packageRoot, stage, entry) {const source = resolve(packageRoot, entry);if (!inside(packageRoot, source)) throw new Error(`${entry} escapes ${packageRoot}`);await stat(source);- await cp(source, resolve(stage, entry), { recursive: true });+ await cp(source, resolve(stage, entry), {+ recursive: true,+ filter: (candidate) => {+ const name = basename(candidate);+ return name !== "__pycache__" && !name.endsWith(".pyc") && !name.endsWith(".pyo");+ },+ });}async function compileSources(packageRoot, stage) {