@pollinations/cli 0.1.28 → 0.1.29

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/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var init_package = __esm({
14
14
  "package.json"() {
15
15
  package_default = {
16
16
  name: "@pollinations/cli",
17
- version: "0.1.28",
17
+ version: "0.1.29",
18
18
  description: "The Pollinations CLI \u2014 for humans, AI agents, and everything in between",
19
19
  type: "module",
20
20
  bin: {
@@ -6127,7 +6127,7 @@ var usageCommand = new Command25("usage").description(
6127
6127
  "Filter by model id (repeatable)",
6128
6128
  collect,
6129
6129
  []
6130
- ).option("--days <n>", "Rolling window in days").option("--csv", "Print the raw CSV export").addHelpText(
6130
+ ).option("--days <n>", "Rolling window in days (--daily defaults to 7)").option("--csv", "Print the raw CSV export").addHelpText(
6131
6131
  "after",
6132
6132
  chalk10.dim(
6133
6133
  '\nKey filter:\n --key <name-or-id> Filter by API key name or id (repeatable, resolves\n names via /account/keys). Placed after "usage" it filters;\n before "usage" it stays the global auth override.'
@@ -6192,7 +6192,8 @@ var usageCommand = new Command25("usage").description(
6192
6192
  }
6193
6193
  }
6194
6194
  const params = new URLSearchParams();
6195
- if (opts.days !== void 0) params.set("days", opts.days);
6195
+ const days = opts.days ?? (opts.daily ? "7" : void 0);
6196
+ if (days !== void 0) params.set("days", days);
6196
6197
  try {
6197
6198
  if (opts.daily) {
6198
6199
  if (opts.csv) {