@clawcard/cli 1.0.0 → 1.0.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 ADDED
@@ -0,0 +1,92 @@
1
+ # @clawcard/cli
2
+
3
+ On-demand credit cards, email, and phone for your AI agents.
4
+
5
+ ClawCard gives your agent a full identity — dedicated email inbox, SMS-enabled US phone number, virtual Mastercards with spend limits, and an encrypted credential vault. One API key, simple REST endpoints.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g @clawcard/cli
11
+ ```
12
+
13
+ ## Get Started
14
+
15
+ ```bash
16
+ # Sign up (requires invite code)
17
+ clawcard signup
18
+
19
+ # Or log in
20
+ clawcard login
21
+
22
+ # Create an API key
23
+ clawcard keys create
24
+
25
+ # Set up your agent (installs skill + configures API key)
26
+ clawcard setup
27
+ ```
28
+
29
+ `clawcard setup` uses [skills.sh](https://skills.sh) to install the ClawCard skill for your agent. Works with Claude Code, Cursor, Codex, Cline, OpenClaw, and 40+ other agents.
30
+
31
+ ## Commands
32
+
33
+ ### Authentication
34
+ | Command | Description |
35
+ |---|---|
36
+ | `clawcard login` | Log in via browser |
37
+ | `clawcard signup` | Sign up with invite code |
38
+ | `clawcard logout` | Clear session |
39
+ | `clawcard whoami` | Show current account |
40
+
41
+ ### Keys
42
+ | Command | Description |
43
+ |---|---|
44
+ | `clawcard keys` | Interactive key management |
45
+ | `clawcard keys create` | Create a new API key |
46
+ | `clawcard keys list` | List all keys |
47
+ | `clawcard keys info` | Show key details |
48
+ | `clawcard keys revoke` | Revoke a key |
49
+
50
+ ### Setup
51
+ | Command | Description |
52
+ |---|---|
53
+ | `clawcard setup` | Install ClawCard skill for your agent |
54
+
55
+ ### Billing
56
+ | Command | Description |
57
+ |---|---|
58
+ | `clawcard billing` | Interactive billing dashboard |
59
+ | `clawcard billing balance` | Quick balance check |
60
+ | `clawcard billing topup` | Top up balance |
61
+ | `clawcard billing upgrade` | Upgrade subscription |
62
+ | `clawcard billing transactions` | View transaction history |
63
+
64
+ ### Other
65
+ | Command | Description |
66
+ |---|---|
67
+ | `clawcard referral` | Show referral code |
68
+ | `clawcard help` | Show all commands |
69
+
70
+ ## What Your Agent Gets
71
+
72
+ Each API key comes with:
73
+
74
+ - **Email** — Dedicated inbox (@mail.clawcard.sh), send and receive
75
+ - **Phone** — SMS-enabled US number for verification codes
76
+ - **Virtual Cards** — Mastercards with per-card spend limits (single-use or merchant-locked)
77
+ - **Credential Vault** — AES-256 encrypted key-value storage
78
+ - **Budget Controls** — Per-key spending limits with full audit trail
79
+
80
+ ## Pricing
81
+
82
+ - **Free** — 1 key, 1 card/month
83
+ - **Starter** ($7/mo) — 2 keys, 5 cards/month
84
+ - **Pro** ($19/mo) — 5 keys, 25 cards/month
85
+
86
+ Card spend is separate — top up your balance anytime.
87
+
88
+ ## Links
89
+
90
+ - [Website](https://clawcard.sh)
91
+ - [Docs](https://clawcard.sh/docs)
92
+ - [Skill](https://github.com/latchagent/skill)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawcard/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "The ClawCard CLI — manage your agent keys, billing, and setup from the terminal",
5
5
  "bin": {
6
6
  "clawcard": "./bin/clawcard.mjs"
@@ -228,7 +228,7 @@ export async function setupCommand() {
228
228
 
229
229
  try {
230
230
  const globalFlag = scope === "global" ? " -g" : "";
231
- execSync(`npx -y skills add clawcard/skill${globalFlag} -y`, {
231
+ execSync(`npx -y skills add latchagent/skill${globalFlag} -y`, {
232
232
  stdio: "pipe",
233
233
  timeout: 60_000,
234
234
  });
@@ -239,7 +239,7 @@ export async function setupCommand() {
239
239
  "Failed to install skill via skills.sh. You can install it manually:"
240
240
  );
241
241
  p.log.info(
242
- `Run: npx skills add clawcard/skill${scope === "global" ? " -g" : ""}`
242
+ `Run: npx skills add latchagent/skill${scope === "global" ? " -g" : ""}`
243
243
  );
244
244
  }
245
245
 
package/src/index.js CHANGED
@@ -7,7 +7,7 @@ import { isLoggedIn } from "./config.js";
7
7
  showSplash();
8
8
 
9
9
  const program = new Command();
10
- program.name("clawcard").description("The ClawCard CLI").version("1.0.0");
10
+ program.name("clawcard").description("The ClawCard CLI").version("1.0.2");
11
11
 
12
12
  // Auth commands
13
13
  program
package/src/splash.js CHANGED
@@ -6,6 +6,6 @@ const d = chalk.dim;
6
6
  export function showSplash() {
7
7
  console.log();
8
8
  console.log(` 🦞 ${o.bold("clawcard.sh")}`);
9
- console.log(` ${d("on-demand credit cards, email and phone for your agents")}`);
9
+ console.log(` ${o("on-demand credit cards, email and phone for your agents")}`);
10
10
  console.log();
11
11
  }