diff --git a/bot_retranscribe_failed_transcription_jobs/.env.sample b/bot_retranscribe_failed_transcription_jobs/.env.sample new file mode 100644 index 0000000..d2c742e --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/.env.sample @@ -0,0 +1,2 @@ +RECALL_API_KEY=RECALL_API_KEY +RECALL_REGION=RECALL_REGION # e.g. us-west-2, us-east-1, eu-central-1, ap-northeast-1 diff --git a/bot_retranscribe_failed_transcription_jobs/README.md b/bot_retranscribe_failed_transcription_jobs/README.md new file mode 100644 index 0000000..ce129b3 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/README.md @@ -0,0 +1,138 @@ +# Retranscribe Failed Bot Transcription Jobs + +This example demonstrates how to bulk retranscribe recordings from bots using the Recall.ai API. + +This script lists bots by date range and metadata filters (only bots with status `done` or `analysis_failed`) and creates new async transcript jobs for each recording. This is useful for retrying failed transcription jobs or re-transcribing with different settings. + +## Pre-requisites + +- [Node.js](https://nodejs.org/en/download) +- [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) + +## Quickstart + +### 1. Set up environment variables + +Copy the `.env.sample` file and rename it to `.env`: + +```bash +cp .env.sample .env +``` + +Then fill out the variables in the `.env` file: + +- `RECALL_API_KEY` - Your Recall.ai API key +- `RECALL_REGION` - Your Recall.ai region (e.g., `us-west-2`) + +### 2. Install dependencies + +Open this directory in a terminal and run: + +```bash +npm install +``` + +### 3. Run the script + +Retranscribe all recordings from bots that joined after a specific date using Recall.ai async transcription: + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --transcript_config '{"provider":{"recallai_async":{}}}' +``` + +Retranscribe recordings within a date range using AssemblyAI: + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --end_date_utc "2025-12-31 00:00:00" \ + --transcript_config '{"provider":{"assembly_ai_async":{"language_code":"en_us"}}}' +``` + +Filter by custom metadata to retranscribe only specific customer's recordings: + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --metadata '{"team_id":"1872"}' \ + --transcript_config '{"provider":{"recallai_async":{"language_code":"en"}}}' +``` + +Retranscribe with custom vocabulary/key terms: + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --transcript_config '{"provider":{"recallai_async":{"key_terms":["Recall","API","transcription"]}}}' +``` + +### 4. View the output + +The script will output progress and final count: + +``` +Retranscribing recordings from bots: 2025-12-15 00:00:00 → 2025-12-31 00:00:00 + +Transcript config: {"provider":{"recallai_async":{}}} + +{ pageCount: 5, nextPage: null } +Created transcript job for recording: rec_abc123 (bot: bot_xyz789) +Created transcript job for recording: rec_def456 (bot: bot_uvw012) +Bot bot_nop345 has no recordings, skipping +... + +Created 4 transcript jobs (skipped 1 bots with no recordings) +``` + +## CLI Options + +| Option | Required | Description | +| --------------------- | -------- | --------------------------------------------------------------------------- | +| `--start_date_utc` | Yes | Process bots that joined after this date | +| `--end_date_utc` | No | Process bots that joined before this date | +| `--metadata` | No | JSON object to filter by custom bot metadata (e.g., `'{"team_id":"1872"}'`) | +| `--transcript_config` | Yes | JSON object with transcript configuration | +| `--help` | No | Show help message | + +**Note:** The script only processes bots with status `done` or `analysis_failed` (i.e., bots that have completed and have recordings available). + +## Transcript Configuration + +The `--transcript_config` option accepts a JSON object with the following structure: + +```json +{ + "metadata": {}, // Optional: custom metadata for the transcript + "diarization": {}, // Optional: diarization settings + "provider": { + // Required: transcription provider config + "recallai_async": {}, // OR + "assembly_ai_async": {} + } +} +``` + +### Recall.ai Async Provider Options + +| Option | Type | Default | Description | +| ------------------ | ------- | ------- | ---------------------------------------------- | +| `language_code` | string | "auto" | Language code (e.g., "en", "es", "fr", "auto") | +| `spelling` | array | [] | Find/replace text in transcript | +| `key_terms` | array | [] | Boost recognition of specific terms | +| `filter_profanity` | boolean | false | Filter profane words | + +### AssemblyAI Async Provider Options + +| Option | Type | Default | Description | +| --------------- | ------- | ------- | ------------------------------ | +| `language_code` | string | "en_us" | Language code | +| `punctuate` | boolean | true | Enable automatic punctuation | +| `format_text` | boolean | true | Enable text formatting | +| `disfluencies` | boolean | false | Include filler words (umm, uh) | + +## API Reference + +- [Create Async Transcript](https://docs.recall.ai/reference/recording_create_transcript_create) +- [List Bots](https://docs.recall.ai/reference/bot_list) diff --git a/bot_retranscribe_failed_transcription_jobs/package.json b/bot_retranscribe_failed_transcription_jobs/package.json new file mode 100644 index 0000000..7ce3e5e --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/package.json @@ -0,0 +1,22 @@ +{ + "name": "bot_retranscribe_failed_transcription_jobs", + "version": "1.0.0", + "description": "Retranscribe failed transcription jobs by creating async transcript jobs for recordings", + "main": "index.ts", + "scripts": { + "dev": "ts-node src/index.ts" + }, + "author": "Gerry Saporito", + "license": "MIT", + "devDependencies": { + "@types/mri": "^1.1.4", + "@types/node": "^24.10.1", + "ts-node": "^10.9.2", + "typescript": "^5.9.3" + }, + "dependencies": { + "dotenv": "^17.2.3", + "mri": "^1.2.0", + "zod": "^4.1.13" + } +} diff --git a/bot_retranscribe_failed_transcription_jobs/src/bot_retranscribe_failed_transcription_jobs.ts b/bot_retranscribe_failed_transcription_jobs/src/bot_retranscribe_failed_transcription_jobs.ts new file mode 100644 index 0000000..915f91f --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/src/bot_retranscribe_failed_transcription_jobs.ts @@ -0,0 +1,126 @@ +import { z } from "zod"; +import { env } from "./config/env"; +import { fetch_with_retry } from "./fetch_with_retry"; +import { BotArtifactSchema } from "./schemas/BotArtifactSchema"; + +/** + * Retranscribe failed transcription jobs by creating async transcript jobs for recordings. + */ +export async function bot_retranscribe_failed_transcription_jobs(args: any) { + const { start_date_utc, end_date_utc, metadata, transcript_config } = z.object({ + start_date_utc: z.string(), + end_date_utc: z.string().optional(), + metadata: z.record(z.string(), z.string()).optional(), + transcript_config: z.record(z.string(), z.unknown()), + }).parse(args); + + let count = 0; + let skipped = 0; + let next: string | null = null; + do { + const page = await list_bots({ + join_at_after: start_date_utc, + join_at_before: end_date_utc, + metadata, + next, + }); + console.log({ pageCount: page.results.length, nextPage: page.next }); + + await Promise.all(page.results.map(async (bot) => { + const recordings = bot.recordings || []; + if (recordings.length === 0) { + console.log(`Bot ${bot.id} has no recordings, skipping`); + skipped++; + return; + } + + for (const recording of recordings) { + const recording_id = recording.id; + try { + await create_async_transcript_job({ recording_id, transcript_config }); + console.log(`Created transcript job for recording: ${recording_id} (bot: ${bot.id})`); + count++; + } catch (error) { + console.error(`Failed to create transcript job for recording ${recording_id}: ${error}`); + } + } + })); + next = page.next; + } while (next); + + return { count, skipped }; +} + +/** + * Filters bots by the given arguments. + * Returns a page of bots and the next page URL to fetch the next page of bots. + */ +async function list_bots(args: { + next?: string | null; // next page URL + join_at_after?: string; // ISO 8601, e.g. "2025-12-15 00:00:00" + join_at_before?: string; // ISO 8601, e.g. "2025-12-15 00:25:00" + metadata?: Record; // add one key-value pair +}) { + const { next, join_at_after, join_at_before, metadata } = z.object({ + next: z.string().nullable(), + join_at_after: z.string().optional(), + join_at_before: z.string().optional(), + metadata: z.record(z.string(), z.string()).optional(), + }).parse(args); + + const url = next + ? new URL(next) + : new URL(`https://${env.RECALL_REGION}.recall.ai/api/v1/bot`); + if (!next) { + ["done", "analysis_failed"].forEach((status) => { + url.searchParams.append("status", status); + }); + if (join_at_after) url.searchParams.set("join_at_after", join_at_after); + if (join_at_before) url.searchParams.set("join_at_before", join_at_before); + if (metadata) { + for (const [key, value] of Object.entries(metadata)) { + url.searchParams.set(`metadata__${key}`, value); + } + } + } + + const response = await fetch_with_retry(url.toString(), { + method: "GET", + headers: { + "Authorization": `${env.RECALL_API_KEY}`, + "Content-Type": "application/json", + }, + }); + if (!response.ok) throw new Error(await response.text()); + + return z.object({ + results: BotArtifactSchema.array(), + next: z.string().nullable(), + }).parse(await response.json()); +} + +/** + * Creates an async transcript job for a recording. + * API Docs: https://docs.recall.ai/reference/recording_create_transcript_create + */ +async function create_async_transcript_job(args: { + recording_id: string; + transcript_config: Record; +}) { + const { recording_id, transcript_config } = z.object({ + recording_id: z.string(), + transcript_config: z.record(z.string(), z.unknown()), + }).parse(args); + + const response = await fetch_with_retry(`https://${env.RECALL_REGION}.recall.ai/api/v1/recording/${recording_id}/create_transcript/`, { + method: "POST", + headers: { + "Authorization": `${env.RECALL_API_KEY}`, + "Content-Type": "application/json", + }, + body: JSON.stringify(transcript_config), + }); + if (!response.ok) throw new Error(await response.text()); + + return response.json(); +} diff --git a/bot_retranscribe_failed_transcription_jobs/src/config/env.ts b/bot_retranscribe_failed_transcription_jobs/src/config/env.ts new file mode 100644 index 0000000..9611b67 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/src/config/env.ts @@ -0,0 +1,6 @@ +import dotenv from "dotenv"; +import { EnvSchema } from "../schemas/EnvSchema"; + +dotenv.config(); + +export const env = EnvSchema.parse(process.env); diff --git a/bot_retranscribe_failed_transcription_jobs/src/fetch_with_retry.ts b/bot_retranscribe_failed_transcription_jobs/src/fetch_with_retry.ts new file mode 100644 index 0000000..c913278 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/src/fetch_with_retry.ts @@ -0,0 +1,24 @@ +/** + * Helper function to fetch with retry. + * Respects the Retry-After header. + */ +export async function fetch_with_retry(url: string, options: RequestInit, max_attempts: number = 5): Promise { + for (let attempt = 1; attempt <= max_attempts; attempt++) { + const response = await fetch(url, options); + if (response.status === 429) { + let retry_after = Number(response.headers.get("Retry-After")) || 0; + console.log(`Rate limit exceeded, retrying in ${retry_after} seconds`); + if (!retry_after) { + console.error("Retry-After header not found"); + retry_after = 0; + } + await new Promise((resolve) => setTimeout( + resolve, + 1000 * (retry_after + Math.ceil(Math.random() * 5)), + )); + continue; + } + return response; + } + throw new Error(`Max attempts (${max_attempts}) reached while fetching ${url}. options=${JSON.stringify(options)}`); +} diff --git a/bot_retranscribe_failed_transcription_jobs/src/index.ts b/bot_retranscribe_failed_transcription_jobs/src/index.ts new file mode 100644 index 0000000..aac35c0 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/src/index.ts @@ -0,0 +1,76 @@ +import mri from "mri"; +import { bot_retranscribe_failed_transcription_jobs } from "./bot_retranscribe_failed_transcription_jobs"; +import { CmdLineArgsSchema } from "./schemas/CmdLineArgsSchema"; + +const raw = mri(process.argv.slice(2), { alias: { h: "help" } }); + +if (raw.help) { + console.log(` +Usage: npx ts-node src/index.ts [options] + +Options: + --start_date_utc Process bots that joined after this date (ISO 8601, e.g., "2025-01-01 00:00:00") + --end_date_utc Process bots that joined before this date (ISO 8601, e.g., "2025-02-01 00:00:00") [optional] + --metadata Filter by custom metadata (e.g., '{"customer_id":"123"}') + --transcript_config JSON object with transcript configuration (e.g., '{"provider":{"recallai_async":{}}}') + --help Show this help message + +Examples: + npx ts-node src/index.ts \\ + --start_date_utc "2025-12-15 00:00:00" \\ + --transcript_config '{"provider":{"recallai_async":{}}}' + + npx ts-node src/index.ts \\ + --start_date_utc "2025-12-15 00:00:00" \\ + --end_date_utc "2025-12-31 00:00:00" \\ + --transcript_config '{"provider":{"assembly_ai_async":{"language_code":"en_us"}}}' + + npx ts-node src/index.ts \\ + --start_date_utc "2025-12-15 00:00:00" \\ + --metadata '{"team":"engineering"}' \\ + --transcript_config '{"provider":{"recallai_async":{"language_code":"en"}}}' + +Transcript Config Options: + The --transcript_config accepts a JSON object with the following structure: + { + "metadata": { ... }, // Optional: custom metadata for the transcript + "diarization": { ... }, // Optional: diarization settings + "provider": { // Required: transcription provider config + "recallai_async": { ... }, // Recall.ai async transcription + "assembly_ai_async": { ... } // AssemblyAI async transcription + } + } + + Provider options for recallai_async: + - language_code: "auto", "en", "es", "fr", etc. + - spelling: [{ "find": ["word1"], "replace": "replacement" }] + - key_terms: ["term1", "term2"] + - filter_profanity: true/false + + Provider options for assembly_ai_async: + - language_code: "en_us", "en", "es", "fr", etc. + - punctuate: true/false + - format_text: true/false + - disfluencies: true/false + `); + process.exit(0); +} + +async function main() { + + const args = CmdLineArgsSchema.parse(raw); + + console.log(`Retranscribing recordings from bots: ${args.start_date_utc}${args.end_date_utc ? ` → ${args.end_date_utc}` : ""}\n`); + console.log(`Transcript config: ${JSON.stringify(args.transcript_config)}\n`); + + try { + const { count, skipped } = await bot_retranscribe_failed_transcription_jobs(args); + console.log(`\nCreated ${count} transcript jobs (skipped ${skipped} bots with no recordings)`); + } catch (error) { + console.error("Error retranscribing recordings:"); + console.error(error); + process.exit(1); + } +} + +main().catch((e) => { console.error("Error:", e.message); process.exit(1); }); diff --git a/bot_retranscribe_failed_transcription_jobs/src/schemas/BotArtifactSchema.ts b/bot_retranscribe_failed_transcription_jobs/src/schemas/BotArtifactSchema.ts new file mode 100644 index 0000000..31f5297 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/src/schemas/BotArtifactSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; + +export const BotArtifactSchema = z.object({ + id: z.string(), + status_changes: z.array(z.object({ + code: z.string(), // status code, e.g. "joining_call", "done", "fatal" + created_at: z.string(), // ISO 8601, e.g. "2025-12-15 00:00:00" + })), + recordings: z.array(z.object({ + id: z.string(), + })).default([]), +}); diff --git a/bot_retranscribe_failed_transcription_jobs/src/schemas/CmdLineArgsSchema.ts b/bot_retranscribe_failed_transcription_jobs/src/schemas/CmdLineArgsSchema.ts new file mode 100644 index 0000000..82b5017 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/src/schemas/CmdLineArgsSchema.ts @@ -0,0 +1,9 @@ +import { z } from "zod"; + +export const CmdLineArgsSchema = z.object({ + start_date_utc: z.string({ message: "--start_date_utc is required" }), + end_date_utc: z.string().optional(), + metadata: z.string().optional().transform((v) => v ? JSON.parse(v) : {}), + transcript_config: z.string({ message: "--transcript_config is required" }).transform((v) => JSON.parse(v)), + help: z.boolean().optional(), +}); diff --git a/bot_retranscribe_failed_transcription_jobs/src/schemas/EnvSchema.ts b/bot_retranscribe_failed_transcription_jobs/src/schemas/EnvSchema.ts new file mode 100644 index 0000000..259c048 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/src/schemas/EnvSchema.ts @@ -0,0 +1,6 @@ +import { z } from "zod"; + +export const EnvSchema = z.object({ + RECALL_API_KEY: z.string(), + RECALL_REGION: z.string(), +}); diff --git a/bot_retranscribe_failed_transcription_jobs/tsconfig.json b/bot_retranscribe_failed_transcription_jobs/tsconfig.json new file mode 100644 index 0000000..3332414 --- /dev/null +++ b/bot_retranscribe_failed_transcription_jobs/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "outDir": "dist", + "rootDir": "src", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "sourceMap": true + }, + "include": ["src"] +} diff --git a/package-lock.json b/package-lock.json index 77ec253..81c641e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7276,6 +7276,262 @@ "url": "https://github.com/sponsors/colinhacks" } }, + "bot_retranscribe_failed_transcription_jobs": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "dotenv": "^17.2.3", + "mri": "^1.2.0", + "zod": "^4.1.13" + }, + "devDependencies": { + "@types/mri": "^1.1.4", + "@types/node": "^24.10.1", + "ts-node": "^10.9.2", + "typescript": "^5.9.3" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/@types/mri": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@types/mri/-/mri-1.1.5.tgz", + "integrity": "sha512-C6NscC1RO9iz1YmvqPlFdbo/q8krKwrvWsciw2MG+pH+WUgxWKv1VFpY/Y2AAZubzUpA4FH6d+FDtroboN9xMw==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/@types/node": { + "version": "24.10.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.13.tgz", + "integrity": "sha512-oH72nZRfDv9lADUBSo104Aq7gPHpQZc4BTx38r9xf9pg5LfP6EzSyH2n7qFmmxRQXh7YlUXODcYsg6PuTDSxGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~7.16.0" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/@types/node/node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/dotenv": { + "version": "17.3.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.3.1.tgz", + "integrity": "sha512-IO8C/dzEb6O3F9/twg6ZLXz164a2fhTnEWb95H23Dm4OuN+92NmEAlTrupP9VW6Jm3sO26tQlqyvyi4CsnY9GA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@tsconfig/node10": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.12.tgz", + "integrity": "sha512-UCYBaeFvM11aU2y3YPZ//O5Rhj+xKyzy7mvcIoAjASbigy8mHMryP5cK7dgjlz2hWxh1g5pLw084E0a/wlUSFQ==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/diff": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz", + "integrity": "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/ts-node/node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "bot_retranscribe_failed_transcription_jobs/node_modules/zod": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", + "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "bot_separate_audio_streams_per_participant_realtime_write_to_audio_files": { "version": "1.0.0", "license": "MIT", @@ -14638,6 +14894,10 @@ "resolved": "bot_real_time_transcription", "link": true }, + "node_modules/bot_retranscribe_failed_transcription_jobs": { + "resolved": "bot_retranscribe_failed_transcription_jobs", + "link": true + }, "node_modules/bot_separate_audio_streams_per_participant_realtime_write_to_audio_files": { "resolved": "bot_separate_audio_streams_per_participant_realtime_write_to_audio_files", "link": true