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: verify platform-specific transcription capabilities
Leggett6c4a958cb929
diff --git a/apps/desktop/e2e/creator-packaged-app.spec.ts b/apps/desktop/e2e/creator-packaged-app.spec.tsindex d4959c56..735d5db4 100644--- a/apps/desktop/e2e/creator-packaged-app.spec.ts+++ b/apps/desktop/e2e/creator-packaged-app.spec.ts@@ -173,23 +173,27 @@ test('实际 Desktop 包创建并重启恢复 Creator Job,且使用内嵌 Runtplatform: string;arch: string;transcription: {- providers: Array<{ provider: string; available: boolean; models: string[] }>;+ providers: Array<{+ provider: string;+ kind: 'cloud' | 'local';+ available: boolean;+ models: string[];+ }>;};}>(currentApp.page, 'GET', '/creator-services/capabilities');expect(creatorCapabilities.status).toBe(200);expect(creatorCapabilities.body).toMatchObject({platform: process.platform,- arch: process.arch,- transcription: {- providers: expect.arrayContaining([- expect.objectContaining({- provider: 'whisper.cpp',- available: true,- models: ['tiny', 'medium', 'large-v2']- })- ])- }+ arch: process.arch});+ const expectedLocalProviders = process.platform === 'darwin' && process.arch === 'arm64'+ ? ['whisperkit']+ : process.platform === 'win32' && process.arch === 'x64'+ ? ['whisper.cpp']+ : [];+ expect(creatorCapabilities.body.transcription.providers+ .filter(provider => provider.kind === 'local' && provider.available)+ .map(provider => provider.provider)).toEqual(expectedLocalProviders);const ytDlpStatus = await runtimeRequest<{ytDlp: {channel: string;