← back to Dw Marketing Reels
chore: lint, refactor, v0.8.0 (session close)
ce006d6eccaefc068f56d1425e9eef22e9d9429b · 2026-07-22 08:14:06 -0700 · Steve
- video-runner: hoist prompt(j) to a single const (drop duplicate call in retry loop)
- lint pass: 0 autofixes needed; flagged pre-existing serveFile Range-header
null-deref for a future scoped fix (not session code)
Files touched
M package-lock.jsonM package.jsonM scripts/video-runner.mjs
Diff
commit ce006d6eccaefc068f56d1425e9eef22e9d9429b
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Jul 22 08:14:06 2026 -0700
chore: lint, refactor, v0.8.0 (session close)
- video-runner: hoist prompt(j) to a single const (drop duplicate call in retry loop)
- lint pass: 0 autofixes needed; flagged pre-existing serveFile Range-header
null-deref for a future scoped fix (not session code)
---
package-lock.json | 4 ++--
package.json | 2 +-
scripts/video-runner.mjs | 5 +++--
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 277eb48..2a186b0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "dw-marketing-reels",
- "version": "0.7.0",
+ "version": "0.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "dw-marketing-reels",
- "version": "0.7.0"
+ "version": "0.8.0"
}
}
}
diff --git a/package.json b/package.json
index b4c93e1..7c508f6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "dw-marketing-reels",
- "version": "0.7.0",
+ "version": "0.8.0",
"private": true,
"type": "module",
"description": "DW Marketing — auto-generated New Arrivals reels (HyperFrames) + auth-gated console",
diff --git a/scripts/video-runner.mjs b/scripts/video-runner.mjs
index 35ce4f6..a6fefa9 100644
--- a/scripts/video-runner.mjs
+++ b/scripts/video-runner.mjs
@@ -95,13 +95,14 @@ const prompt = (j) => {
for (const j of toRun) {
const local = isLocalReel(j);
- if (!local) { const pr0 = prompt(j); if (!pr0) { j.status = 'error'; j.note = 'unknown kind'; await writeFile(JOBS, JSON.stringify(jobs, null, 2)); continue; } }
+ const pr = local ? null : prompt(j);
+ if (!local && !pr) { j.status = 'error'; j.note = 'unknown kind'; await writeFile(JOBS, JSON.stringify(jobs, null, 2)); continue; }
j.status = 'running'; j.started_at = new Date().toISOString(); j.renderer = local ? 'build-reel' : 'claude-skill';
await writeFile(JOBS, JSON.stringify(jobs, null, 2));
let res, tries = 0;
for (;;) {
tries++;
- res = local ? await runLocalBuild() : await runClaude(CLAUDE_BIN, prompt(j));
+ res = local ? await runLocalBuild() : await runClaude(CLAUDE_BIN, pr);
j.attempts = tries;
if (res.ok) break;
// Only retry self-healing API throttles — a real skill/code failure fails fast.
← d385b43 Route 9:16 catalog reels through build-reel.mjs ($0, IG-publ
·
back to Dw Marketing Reels
·
auto-save: 2026-07-23T07:19:17 (3 files) — data/new-arrivals acc7a77 →