@usenaive-sdk/cli 0.1.0 → 0.2.0

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 +15 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,8 @@ Command-line interface for the Naive API v2. Register, manage identity, and use
6
6
 
7
7
  - **Auth & Onboarding** — Register new accounts, login, link existing ones, manage API keys
8
8
  - **Identity** — View agent profile, company, email inboxes, resources
9
- - **Domains** — List domains, connect custom domains (BYOD), view DNS records, verify
9
+ - **Domains** — List domains, connect custom domains (BYOD), view DNS records, verify, search, purchase
10
+ - **Billing** — Plans, subscribe, upgrade, credit top-ups, billing portal
10
11
  - **Email** — Create/delete inboxes, send emails, read inboxes
11
12
  - **Search** — Web search, URL extraction, deep research
12
13
  - **Images** — Generate via fal.ai, search stock photos (dynamic pricing)
@@ -100,6 +101,17 @@ naive domains # List all domains
100
101
  naive domains connect example.com # Connect a custom domain (BYOD)
101
102
  naive domains dns-records <domain-id> # Show required DNS records
102
103
  naive domains verify <domain-id> # Trigger domain verification
104
+ naive domains search example.com # Check domain availability + price
105
+ naive domains purchase example.com # Purchase a domain via Stripe
106
+
107
+ # Billing
108
+ naive billing plans # List plans with pricing
109
+ naive billing subscribe --plan starter # Subscribe to a plan
110
+ naive billing upgrade --plan pro # Upgrade existing subscription
111
+ naive billing status # Check subscription + credits
112
+ naive billing portal # Stripe billing management
113
+ naive billing packs # List credit top-up packs
114
+ naive billing topup --pack medium # Buy credits
103
115
 
104
116
  # Email
105
117
  naive email inboxes
@@ -188,7 +200,8 @@ src/
188
200
  ├── identity.ts # naive identity
189
201
  ├── status.ts # naive status
190
202
  ├── usage.ts # naive usage
191
- ├── domains.ts # naive domains (list/connect/dns-records/verify)
203
+ ├── domains.ts # naive domains (list/connect/dns-records/verify/search/purchase)
204
+ ├── billing.ts # naive billing (plans/subscribe/upgrade/status/portal/packs/topup)
192
205
  ├── email.ts # naive email (inboxes/create/delete/send/inbox/read)
193
206
  ├── search.ts # naive search (web/url/research)
194
207
  ├── images.ts # naive images (generate/stock/models)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usenaive-sdk/cli",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "CLI for Naive AI Business Primitives API",
6
6
  "license": "MIT",