@clawcard/cli 2.0.0 → 2.0.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.
- package/package.json +1 -1
- package/src/index.js +8 -4
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -379,14 +379,17 @@ if (process.argv.length <= 2) {
|
|
|
379
379
|
|
|
380
380
|
options = [
|
|
381
381
|
...(!hasBalance
|
|
382
|
-
? [{ value: "topup", label: "Top up
|
|
382
|
+
? [{ value: "topup", label: "Top up my account", hint: "required — minimum $5 to get started" }]
|
|
383
383
|
: !hasAgent
|
|
384
384
|
? [{ value: "keys-create", label: "Create agent", hint: "you have balance — create your agent now" }]
|
|
385
|
-
: [
|
|
385
|
+
: [
|
|
386
|
+
{ value: "agent", label: "View agent details", hint: "phone, email, budget" },
|
|
387
|
+
{ value: "agent-fund", label: "Fund my agent", hint: "allocate budget from your balance" },
|
|
388
|
+
]),
|
|
386
389
|
...(hasAgent
|
|
387
|
-
? [{ value: "setup", label: "
|
|
390
|
+
? [{ value: "setup", label: "Configure", hint: "install skill for your agent" }]
|
|
388
391
|
: []),
|
|
389
|
-
{ value: "
|
|
392
|
+
{ value: "topup", label: "Top up my account", hint: "add balance (10% fee)" },
|
|
390
393
|
{ value: "referral", label: "Referral", hint: "share & earn $5" },
|
|
391
394
|
{ value: "whoami", label: "Who am I?", hint: "show current account" },
|
|
392
395
|
{ value: "logout", label: "Logout", hint: "clear session" },
|
|
@@ -410,6 +413,7 @@ if (process.argv.length <= 2) {
|
|
|
410
413
|
logout: () => import("./commands/logout.js").then((m) => m.logoutCommand()),
|
|
411
414
|
whoami: () => import("./commands/whoami.js").then((m) => m.whoamiCommand()),
|
|
412
415
|
agent: () => import("./commands/keys.js").then((m) => m.agentStatusCommand()),
|
|
416
|
+
"agent-fund": () => import("./commands/keys.js").then((m) => m.agentFundCommand()),
|
|
413
417
|
"keys-create": () => import("./commands/keys.js").then((m) => m.keysCreateCommand()),
|
|
414
418
|
"topup": () => import("./commands/billing.js").then((m) => m.billingTopupCommand()),
|
|
415
419
|
keys: () => import("./commands/keys.js").then((m) => m.keysCommand()),
|