ccclub 0.2.11 → 0.2.12

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -592,6 +592,7 @@ import Table from "cli-table3";
592
592
  import ora4 from "ora";
593
593
  async function rankCommand(options) {
594
594
  const config = await requireConfig();
595
+ if (!isHookInstalled()) await installHook();
595
596
  if (needsFullSync()) {
596
597
  await doSync(true, true);
597
598
  }
@@ -820,7 +821,7 @@ async function hookCommand() {
820
821
 
821
822
  // src/index.ts
822
823
  var program = new Command();
823
- program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.2.11");
824
+ program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.2.12");
824
825
  program.command("init").description("Initialize CCClub (one-time setup)").action(initCommand);
825
826
  program.command("join").description("Join a friend's group").argument("<invite-code>", "6-character invite code").action(joinCommand);
826
827
  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.11",
3
+ "version": "0.2.12",
4
4
  "type": "module",
5
5
  "description": "See how much Claude Code you and your friends are using",
6
6
  "bin": {