@rizzmo/tokochi-cli 0.1.1 → 0.1.2

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
@@ -1,17 +1,17 @@
1
- # @tokochi/cli
1
+ # @rizzmo/tokochi-cli
2
2
 
3
3
  Connect local Codex, Claude Code, and GitHub Copilot token usage to your Tokochi.
4
4
 
5
5
  ```bash
6
- npx @tokochi/cli connect --url https://your-tokochi.app
6
+ npx @rizzmo/tokochi-cli connect --url https://your-tokochi.app
7
7
  ```
8
8
 
9
9
  The browser handles GitHub authentication and device approval. No token copying is required.
10
10
 
11
11
  ```bash
12
- npx @tokochi/cli sync
13
- npx @tokochi/cli status
14
- npx @tokochi/cli disconnect
12
+ npx @rizzmo/tokochi-cli sync
13
+ npx @rizzmo/tokochi-cli status
14
+ npx @rizzmo/tokochi-cli disconnect
15
15
  ```
16
16
 
17
17
  Only event IDs, timestamps, agent/model names, and token counts are uploaded. Prompts and responses remain on the computer.
package/dist/api.js CHANGED
@@ -20,7 +20,7 @@ export async function uploadEvents(baseUrl, token, events) {
20
20
  headers: {
21
21
  authorization: `Bearer ${token}`,
22
22
  "content-type": "application/json",
23
- "user-agent": "@tokochi/cli",
23
+ "user-agent": "@rizzmo/tokochi-cli",
24
24
  },
25
25
  body: JSON.stringify({ events }),
26
26
  });
package/dist/index.js CHANGED
@@ -85,7 +85,7 @@ async function runSync(config) {
85
85
  async function status() {
86
86
  const config = await loadConfig();
87
87
  if (!config) {
88
- console.log("Not connected. Run `npx @tokochi/cli connect --url https://your-tokochi.app`.");
88
+ console.log("Not connected. Run `npx @rizzmo/tokochi-cli connect --url https://your-tokochi.app`.");
89
89
  return;
90
90
  }
91
91
  const events = await collectUsageEvents();
@@ -119,7 +119,7 @@ Tokochi CLI
119
119
  tokochi disconnect Remove this computer's connection
120
120
 
121
121
  Run without installing:
122
- npx @tokochi/cli connect --url http://localhost:3000
122
+ npx @rizzmo/tokochi-cli connect --url http://localhost:3000
123
123
  `.trim());
124
124
  }
125
125
  async function requireConfig() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizzmo/tokochi-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Feed your Tokochi from local AI coding token usage.",
5
5
  "type": "module",
6
6
  "bin": {