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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/trim.mjs +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demobites",
3
- "version": "1.30.1",
3
+ "version": "1.30.2",
4
4
  "description": "The DemoBites agentic recorder — you prompt, it films a real browser, and DemoBites turns the take into an editable demo bite.",
5
5
  "bin": {
6
6
  "demobites": "launcher/index.mjs"
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
- const { estimateTake } = await import("../skill/scripts/clock.mjs");
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;