ccclub 0.2.27 → 0.2.28

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -738,7 +738,7 @@ async function printActivity(apiUrl, code, range) {
738
738
  if (active.length === 0) return;
739
739
  const startMs = new Date(data.start).getTime();
740
740
  const endMs = new Date(data.end).getTime();
741
- const bucketCount = range === "24h" ? 24 : range === "7d" ? 28 : 30;
741
+ const bucketCount = range === "24h" ? 8 : range === "7d" ? 28 : 30;
742
742
  const bucketMs = (endMs - startMs) / bucketCount;
743
743
  const allBuckets = [];
744
744
  for (const user of active) {
@@ -938,7 +938,7 @@ async function hookCommand() {
938
938
 
939
939
  // src/index.ts
940
940
  var program = new Command();
941
- program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.2.27");
941
+ program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.2.28");
942
942
  program.command("init").description("Initialize CCClub (one-time setup)").action(initCommand);
943
943
  program.command("join").description("Join a friend's group").argument("<invite-code>", "6-character invite code").action(joinCommand);
944
944
  program.command("sync").description("Sync local usage data to server").option("-s, --silent", "No output (used by auto-sync hook)").option("-f, --full", "Force full re-sync of all data").action(syncCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccclub",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "type": "module",
5
5
  "description": "See how much Claude Code you and your friends are using",
6
6
  "bin": {