demobites 1.30.1 → 1.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/trim.mjs +4 -1
package/package.json
CHANGED
package/scripts/trim.mjs
CHANGED
|
@@ -137,7 +137,10 @@ if (cutAt !== r0 - beaconDelta) console.log("beacon: corrected cut clamped at 0
|
|
|
137
137
|
// fit (the identity law stands): a known, deliberate, uniform compression, recorded in the manifest.
|
|
138
138
|
let speed = 1;
|
|
139
139
|
try {
|
|
140
|
-
|
|
140
|
+
// The clock sits beside trim.mjs once installed (~/.claude/skills/agentic-recorder/scripts flattens skill/scripts and
|
|
141
|
+
// scripts into one folder) and under skill/scripts in the repository: try the installed layout first (1.30.2: on the
|
|
142
|
+
// founder's Mac the repository path did not exist and the fit was silently skipped, "speed: as filmed").
|
|
143
|
+
const { estimateTake } = await import("./clock.mjs").catch(() => import("../skill/scripts/clock.mjs"));
|
|
141
144
|
const sb = JSON.parse(fs.readFileSync(path.join(dir, "storyboard.json"), "utf8"));
|
|
142
145
|
const planned = estimateTake(sb.steps);
|
|
143
146
|
const filmed = lastStepEnd > r0 ? lastStepEnd - r0 + TAIL_BEAT_S : 0;
|