@vibe-cafe/vibe-usage 0.7.4 → 0.7.5

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/README.md CHANGED
@@ -19,7 +19,7 @@ This will:
19
19
  npx @vibe-cafe/vibe-usage # Init (first run) or sync (subsequent runs)
20
20
  npx @vibe-cafe/vibe-usage init # Re-run setup
21
21
  npx @vibe-cafe/vibe-usage sync # Manual sync
22
- npx @vibe-cafe/vibe-usage daemon # Continuous sync (every 5m, foreground)
22
+ npx @vibe-cafe/vibe-usage daemon # Continuous sync (every 30m, foreground)
23
23
  npx @vibe-cafe/vibe-usage daemon install # Install background service (systemd/launchd)
24
24
  npx @vibe-cafe/vibe-usage daemon uninstall # Remove background service
25
25
  npx @vibe-cafe/vibe-usage daemon status # Show background service status
@@ -115,7 +115,7 @@ Install as a system service for automatic background syncing:
115
115
  npx @vibe-cafe/vibe-usage daemon install
116
116
  ```
117
117
 
118
- This creates a user-level service (systemd on Linux, launchd on macOS) that syncs every 5 minutes and starts automatically on login. Manage with:
118
+ This creates a user-level service (systemd on Linux, launchd on macOS) that syncs every 30 minutes and starts automatically on login. Manage with:
119
119
 
120
120
  ```bash
121
121
  npx @vibe-cafe/vibe-usage daemon status
@@ -128,7 +128,7 @@ For reliable operation, install globally first: `npm install -g @vibe-cafe/vibe-
128
128
 
129
129
  ### Foreground mode
130
130
 
131
- Run continuous syncing in the foreground (every 5 minutes):
131
+ Run continuous syncing in the foreground (every 30 minutes):
132
132
 
133
133
  ```bash
134
134
  npx @vibe-cafe/vibe-usage daemon
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-cafe/vibe-usage",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Track your AI coding tool token usage and sync to vibecafe.ai",
5
5
  "type": "module",
6
6
  "bin": {
@@ -158,7 +158,7 @@ function install() {
158
158
  console.log('Service loaded and started.');
159
159
  }
160
160
 
161
- console.log('\nDaemon installed. Usage data will sync automatically every 5 minutes.');
161
+ console.log('\nDaemon installed. Usage data will sync automatically every 30 minutes.');
162
162
  console.log('Run `vibe-usage daemon status` to check.');
163
163
  }
164
164
 
package/src/daemon.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { loadConfig } from './config.js';
2
2
  import { runSync } from './sync.js';
3
3
 
4
- const INTERVAL = 5 * 60_000; // 5 minutes
4
+ const INTERVAL = 30 * 60_000; // 30 minutes
5
5
 
6
6
  function log(msg) {
7
7
  const ts = new Date().toLocaleTimeString('en-US', { hour12: false });
@@ -19,7 +19,7 @@ export async function runDaemon() {
19
19
  process.exit(1);
20
20
  }
21
21
 
22
- log('Daemon started (sync every 5m, Ctrl+C to stop)');
22
+ log('Daemon started (sync every 30m, Ctrl+C to stop)');
23
23
 
24
24
  // eslint-disable-next-line no-constant-condition
25
25
  while (true) {
package/src/index.js CHANGED
@@ -142,7 +142,7 @@ export async function run(args) {
142
142
  npx @vibe-cafe/vibe-usage Init (first run) or sync
143
143
  npx @vibe-cafe/vibe-usage init Set up API key
144
144
  npx @vibe-cafe/vibe-usage sync Manually sync usage data
145
- npx @vibe-cafe/vibe-usage daemon Continuous sync (every 5m, foreground)
145
+ npx @vibe-cafe/vibe-usage daemon Continuous sync (every 30m, foreground)
146
146
  npx @vibe-cafe/vibe-usage daemon install Install background service (systemd/launchd)
147
147
  npx @vibe-cafe/vibe-usage daemon uninstall Remove background service
148
148
  npx @vibe-cafe/vibe-usage daemon status Show background service status
package/src/skill.js CHANGED
@@ -63,7 +63,7 @@ Other available commands:
63
63
  |---------|-------------|
64
64
  | \`npx @vibe-cafe/vibe-usage sync\` | Sync latest usage data |
65
65
  | \`npx @vibe-cafe/vibe-usage status\` | Show config and detected tools |
66
- | \`npx @vibe-cafe/vibe-usage daemon\` | Continuous sync every 5 minutes |
66
+ | \`npx @vibe-cafe/vibe-usage daemon\` | Continuous sync every 30 minutes |
67
67
  | \`npx @vibe-cafe/vibe-usage reset\` | Delete all data and re-upload |
68
68
  | \`npx @vibe-cafe/vibe-usage reset --local\` | Delete this host's data and re-upload |
69
69