Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
test: inject Windows creator capabilities in parity E2E
Leggett9f9bfa4a611d
diff --git a/apps/daemon/src/api/server.ts b/apps/daemon/src/api/server.tsindex ea8826cf..0b78a1d3 100644--- a/apps/daemon/src/api/server.ts+++ b/apps/daemon/src/api/server.ts@@ -274,6 +274,8 @@ export type BuildServerInput = {creatorSourceMaxSizeBytes?: number;creatorYtDlpPath?: string;creatorYtDlpUpdateManager?: YtDlpUpdateManager;+ creatorRuntimePlatform?: NodeJS.Platform;+ creatorRuntimeArch?: string;creatorExecutors?: CreatorExecutor[];creatorAgentRuntime?: AgentRuntimeAdapter;allowedWebOrigins?: string[];@@ -529,7 +531,11 @@ export async function buildServer(input: BuildServerInput) {const creatorRuntimeRoot = process.env.OPENCREATOR_CREATOR_RUNTIME_ROOT?? join(runtimeDir, 'krillinai');const krillinDependencyLoader = createKrillinDependencyLoader({- root: join(runtimeDir, 'krillinai', 'dependencies')+ root: join(runtimeDir, 'krillinai', 'dependencies'),+ ...(input.creatorRuntimePlatform === undefined+ ? {}+ : { platform: input.creatorRuntimePlatform }),+ ...(input.creatorRuntimeArch === undefined ? {} : { arch: input.creatorRuntimeArch })});const krillinTtsService = createKrillinTtsService({resourceRoot: creatorRuntimeRoot,diff --git a/apps/daemon/src/main.ts b/apps/daemon/src/main.tsindex f4c90291..44c6a7e9 100644--- a/apps/daemon/src/main.ts+++ b/apps/daemon/src/main.ts@@ -143,6 +143,15 @@ async function main(): Promise<void> {getCodexAvailabilityProbe: () => availabilityProbe,persistentAppServerEnabled:process.env.OPENCREATOR_PERSISTENT_APP_SERVER !== '0',+ ...(process.env.OPENCREATOR_E2E_FAKE_CODEX_CONFIG !== undefined+ && process.env.OPENCREATOR_E2E_CREATOR_RUNTIME_PLATFORM !== undefined+ && process.env.OPENCREATOR_E2E_CREATOR_RUNTIME_ARCH !== undefined+ ? {+ creatorRuntimePlatform:+ process.env.OPENCREATOR_E2E_CREATOR_RUNTIME_PLATFORM as NodeJS.Platform,+ creatorRuntimeArch: process.env.OPENCREATOR_E2E_CREATOR_RUNTIME_ARCH+ }+ : {}),...environment,appHome,dataDir,diff --git a/apps/web/e2e/fixtures/runtime.ts b/apps/web/e2e/fixtures/runtime.tsindex 2daa1047..19a90bdf 100644--- a/apps/web/e2e/fixtures/runtime.ts+++ b/apps/web/e2e/fixtures/runtime.ts@@ -174,7 +174,9 @@ export const test = base.extend<TestFixtures>({OPENCREATOR_E2E_FAKE_CODEX_CONFIG: configPath,OPENCREATOR_E2E_FAKE_CODEX_STATE_DIR: stateDir,OPENCREATOR_E2E_NODE_BINARY: process.execPath,- OPENCREATOR_E2E_FAKE_CODEX_SCRIPT: fakeCodexScript+ OPENCREATOR_E2E_FAKE_CODEX_SCRIPT: fakeCodexScript,+ OPENCREATOR_E2E_CREATOR_RUNTIME_PLATFORM: 'win32',+ OPENCREATOR_E2E_CREATOR_RUNTIME_ARCH: 'x64'},stdio: ['ignore', 'pipe', 'pipe']}