@kakedashi/paylog 0.1.0 → 0.1.1

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/README.md +17 -26
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,20 +1,18 @@
1
1
  # paylog
2
-
3
- CLI tool to view your [MPP](https://mpp.dev) spending history, powered by [paylog.dev](https://paylog.dev).
2
+ CLI tool to view your **MPP** spending history, powered by **paylog.dev**.
4
3
 
5
4
  ## Usage
6
5
 
7
- ```bash
8
- npx paylog report --days 7
9
- npx paylog report --days 30 --enrich
10
- npx paylog wallet
11
- npx paylog balance
6
+ ```
7
+ npx @kakedashi/paylog report --days 7
8
+ npx @kakedashi/paylog report --days 30 --enrich
9
+ npx @kakedashi/paylog wallet
10
+ npx @kakedashi/paylog balance
12
11
  ```
13
12
 
14
13
  ## Commands
15
14
 
16
15
  ### `paylog report`
17
-
18
16
  Show a spending report for your Tempo wallet.
19
17
 
20
18
  ```
@@ -29,24 +27,19 @@ Options:
29
27
  The `--enrich` flag reads your shell history and Claude Code chat logs to identify which Locus MPP services you used, since all Locus services share a single on-chain recipient address.
30
28
 
31
29
  ### `paylog wallet`
32
-
33
30
  Display the auto-detected wallet address and its source.
34
31
 
35
32
  ### `paylog balance`
36
-
37
- Run `tempo wallet whoami` (requires the [Tempo CLI](https://tempo.xyz)).
33
+ Run `tempo wallet whoami` (requires the **Tempo CLI**).
38
34
 
39
35
  ## Wallet Auto-Detection
40
-
41
36
  The wallet address is resolved in this order:
42
-
43
37
  1. `~/.agentcash/wallet.json` → `address` field
44
38
  2. `~/.mppx/wallet.json` → `address` field
45
39
  3. `~/.tempo/wallet/keys.toml` → `wallet_address` field
46
40
  4. `--wallet 0x...` option
47
41
 
48
42
  ## `--enrich` Details
49
-
50
43
  Locus routes 40+ services through a single on-chain recipient (`0x060b0fb0...`), making them indistinguishable from on-chain data alone. The `--enrich` flag uses local history to estimate which service was used:
51
44
 
52
45
  **History sources scanned:**
@@ -58,25 +51,23 @@ Locus routes 40+ services through a single on-chain recipient (`0x060b0fb0...`),
58
51
  **Matching logic:**
59
52
 
60
53
  | Confidence | Condition |
61
- |-----------|-----------|
62
- | High | Timestamp matches within ±30 seconds |
63
- | Medium | Timestamp matches within ±60 seconds + price match |
64
- | Low | Price match only |
54
+ |---|---|
55
+ | High | Timestamp matches within ±30 seconds |
56
+ | Medium | Timestamp matches within ±60 seconds + price match |
57
+ | Low | Price match only |
65
58
 
66
59
  **Example output:**
67
60
  ```
68
61
  Locus (paywithlocus.com) $0.048 4 txns
69
- ┌─ Locus内訳 (ローカル履歴より推定) ─────────────────
70
- │ ✓ Brave $0.010 1件 信頼度:高
71
- │ ✓ Perplexity $0.010 1件 信頼度:高
72
- │ ? Deepseek $0.020 1件 信頼度:中
73
- └─ ローカル履歴との照合による推定 ──────────────
62
+ ┌─ Estimated breakdown (from local history) ──────────
63
+ │ ✓ Brave Search $0.010 1 txn confidence: high
64
+ │ ✓ Perplexity $0.010 1 txn confidence: high
65
+ │ ? DeepSeek $0.020 1 txn confidence: medium
66
+ └─ * estimated via local history correlation ─────────
74
67
  ```
75
68
 
76
69
  ## Cost
77
-
78
- Reports cost **$0.001 USDC** per call via MPP (Tempo chain). Your wallet must be funded.
70
+ Reports cost $0.001 USDC per call via MPP (Tempo chain). Your wallet must be funded.
79
71
 
80
72
  ## License
81
-
82
73
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kakedashi/paylog",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CLI tool to view your MPP spending history powered by paylog.dev",
5
5
  "type": "module",
6
6
  "bin": {