vidistill 0.2.2 → 0.2.3

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/dist/index.js +11 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -266,6 +266,7 @@ function createProgressDisplay() {
266
266
  seenTotalSteps = true;
267
267
  s.stop("");
268
268
  progressBar = progress({ max: status.totalSteps });
269
+ progressBar.start(label);
269
270
  }
270
271
  if (progressBar != null) {
271
272
  if (status.status === "done" && status.currentStep != null) {
@@ -281,7 +282,16 @@ function createProgressDisplay() {
281
282
  }
282
283
  function onWait(_delayMs) {
283
284
  }
284
- function complete(_result, _elapsedMs) {
285
+ function complete(result, _elapsedMs) {
286
+ if (progressBar != null) {
287
+ if (result.errors.length > 0) {
288
+ progressBar.stop("");
289
+ } else {
290
+ progressBar.stop("");
291
+ }
292
+ } else {
293
+ s.stop("");
294
+ }
285
295
  }
286
296
  return { update, onWait, complete };
287
297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vidistill",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Video intelligence distiller — extract structured notes, transcripts, and insights from any video using Gemini",
5
5
  "type": "module",
6
6
  "license": "MIT",