Podcast workflow steps: read script, record, edit, upload; v2.15.1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-12 08:18:51 -04:00
1 parent f181cdb182
commit 28fc822132
4 files changed
+19 -23

No files matched your search

+1 -4
View File
@@ -9,8 +9,7 @@ import { fetchAllEpisodes } from './episodes.js'
const WORKFLOW_FILE = path.join(DATA_DIR, 'podcast-workflow.json')
// Same steps as the Nuggets workflow.
const STEPS = ['listen', 'coldOpen', 'recordColdOpen', 'edit', 'spotify']
const STEPS = ['readScript', 'record', 'edit', 'upload']
async function load() {
try {
@@ -26,7 +25,6 @@ const save = data => writeFile(WORKFLOW_FILE, JSON.stringify(data, null, 2), 'ut
function emptyState() {
return {
steps: Object.fromEntries(STEPS.map(s => [s, null])),
coldOpenText: '',
notes: '',
}
}
@@ -133,7 +131,6 @@ export function register(app) {
}
}
}
if (typeof body.coldOpenText === 'string') next.coldOpenText = body.coldOpenText.slice(0, 5000)
if (typeof body.notes === 'string') next.notes = body.notes.slice(0, 5000)
wf.items[key] = next
await save(wf)