videodraft 0.3.7 → 0.3.8

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 +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24,8 +24,8 @@ function readVersionFromDisk() {
24
24
  }
25
25
  }
26
26
  function resolveVersion() {
27
- if ("0.3.7") {
28
- return "0.3.7";
27
+ if ("0.3.8") {
28
+ return "0.3.8";
29
29
  }
30
30
  return readVersionFromDisk();
31
31
  }
@@ -1237,11 +1237,14 @@ function registerAccountCommands(program) {
1237
1237
  const balance = await ctx.client.callTool("get_credits_balance");
1238
1238
  emit(ctx.out, balance, (o) => {
1239
1239
  kv(o, [
1240
+ ["Plan", balance?.planId],
1240
1241
  ["Available credits", balance?.availableCredits],
1241
1242
  ["Monthly allowance", balance?.totalCreditsMonthly],
1242
1243
  ["Used this month", balance?.monthlyCreditsUsed],
1243
1244
  ["Bonus credits", balance?.bonusCredits],
1244
- ["Bonus expiry", balance?.bonusCreditsExpiry]
1245
+ ["Bonus expiry", balance?.bonusCreditsExpiry],
1246
+ ["Last monthly reset", balance?.lastMonthlyReset],
1247
+ ["Next monthly reset", balance?.nextMonthlyReset]
1245
1248
  ]);
1246
1249
  });
1247
1250
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videodraft",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Official VideoDraft CLI — create AI videos, images and audio from your terminal. Agent-friendly: --json everywhere, stable exit codes, async job polling.",
5
5
  "license": "MIT",
6
6
  "type": "module",