vidistill 0.2.1 → 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 +15 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,6 +6,7 @@ var __glob = (map) => (path) => {
6
6
  };
7
7
 
8
8
  // src/cli/index.ts
9
+ import { createRequire as createRequire2 } from "module";
9
10
  import { defineCommand, runMain } from "citty";
10
11
 
11
12
  // src/cli/ui.ts
@@ -265,6 +266,7 @@ function createProgressDisplay() {
265
266
  seenTotalSteps = true;
266
267
  s.stop("");
267
268
  progressBar = progress({ max: status.totalSteps });
269
+ progressBar.start(label);
268
270
  }
269
271
  if (progressBar != null) {
270
272
  if (status.status === "done" && status.currentStep != null) {
@@ -280,7 +282,16 @@ function createProgressDisplay() {
280
282
  }
281
283
  function onWait(_delayMs) {
282
284
  }
283
- 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
+ }
284
295
  }
285
296
  return { update, onWait, complete };
286
297
  }
@@ -3737,11 +3748,14 @@ async function runDistill(args) {
3737
3748
  var globImport_commands_js = __glob({});
3738
3749
 
3739
3750
  // src/cli/index.ts
3751
+ var _require2 = createRequire2(import.meta.url);
3752
+ var { version } = _require2("../package.json");
3740
3753
  var DEFAULT_OUTPUT = "./vidistill-output/";
3741
3754
  var SUBCOMMANDS = /* @__PURE__ */ new Set(["ask", "search", "extract", "mcp", "watch", "rename-speakers"]);
3742
3755
  var main = defineCommand({
3743
3756
  meta: {
3744
3757
  name: "vidistill",
3758
+ version,
3745
3759
  description: "Video Intelligence Distiller \u2014 turn video into structured notes\n\nCommands: ask, search, extract, mcp, watch, rename-speakers"
3746
3760
  },
3747
3761
  args: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vidistill",
3
- "version": "0.2.1",
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",