@vibe-cafe/vibe-usage 0.8.3 → 0.8.4

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
@@ -4,7 +4,7 @@ Track your AI coding tool token usage and sync to [vibecafe.ai](https://vibecafe
4
4
 
5
5
  ## Quick Start
6
6
 
7
- Get your API key at [vibecafe.ai/usage](https://vibecafe.ai/usage), then copy the one-liner shown there:
7
+ Get your API key at [vibecafe.ai/usage/setup](https://vibecafe.ai/usage/setup), then copy the one-liner shown there:
8
8
 
9
9
  ```bash
10
10
  npx @vibe-cafe/vibe-usage --key vbu_xxxxxxxxxxxx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-cafe/vibe-usage",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Track your AI coding tool token usage and sync to vibecafe.ai",
5
5
  "type": "module",
6
6
  "bin": {
package/src/init.js CHANGED
@@ -58,10 +58,10 @@ export async function runInit(options = {}) {
58
58
  }
59
59
  apiKey = providedKey;
60
60
  } else {
61
- console.log(`${arrow('获取 API Key')} ${link(`${apiUrl}/usage`)}`);
62
- console.log(dim(' 浏览器会自动打开,登录后复制 Key 粘贴到下方。'));
61
+ console.log(`${arrow('获取 API Key')} ${link(`${apiUrl}/usage/setup`)}`);
62
+ console.log(dim(' 浏览器会自动打开,登录后在「API Keys」处生成并复制 Key(vbu_ 开头),粘贴到下方。'));
63
63
  console.log();
64
- openBrowser(`${apiUrl}/usage`);
64
+ openBrowser(`${apiUrl}/usage/setup`);
65
65
 
66
66
  while (true) {
67
67
  apiKey = await prompt('粘贴 API Key: ');