@phantomcodes/cli 1.3.3 → 1.3.4

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.
@@ -50,7 +50,7 @@ export const COMMANDS = [
50
50
  {
51
51
  name: 'fund', handler: fundDispatch, keyless: true,
52
52
  group: 'Money', summary: 'add credit by card or crypto',
53
- help: ` fund --amount <USD> [--card | --coin usdc|usdt|sol|usdc-base] [--no-browser]
53
+ help: ` fund --amount <USD> [--card | --coin usdc|usdc-base] [--no-browser]
54
54
  fund your workspace balance with card (plus Stripe's fee) or crypto`,
55
55
  },
56
56
  {
@@ -1,2 +1,2 @@
1
1
  /** This release of phantom. `npm version` keeps it equal to the version in package.json. */
2
- export const VERSION = '1.3.3';
2
+ export const VERSION = '1.3.4';
@@ -417,7 +417,7 @@ export async function workspaceCommand(input) {
417
417
  if (flags.pay)
418
418
  die('--pay has been removed. Use --card or --coin.');
419
419
  if (flags.coin === true)
420
- die(`--coin needs usdc, usdt, sol or usdc-base. ${FUND_EXAMPLE}`);
420
+ die(`--coin needs usdc or usdc-base. ${FUND_EXAMPLE}`);
421
421
  let amount = dollarsFlag(flags);
422
422
  let method = flags.card ? 'card' : flags.coin;
423
423
  // At a terminal, whatever is missing is asked for: first how much, then how to pay.
@@ -436,9 +436,7 @@ export async function workspaceCommand(input) {
436
436
  hint: "on Stripe's page, plus Stripe's card fee",
437
437
  value: 'card',
438
438
  },
439
- { label: 'USDC', hint: 'from a Solana wallet', value: 'usdc' },
440
- { label: 'USDT', hint: 'from a Solana wallet', value: 'usdt' },
441
- { label: 'SOL', hint: 'from a Solana wallet', value: 'sol' },
439
+ { label: 'USDC', hint: 'from a Solana wallet, to Stripe', value: 'usdc' },
442
440
  ])) ?? undefined;
443
441
  if (!method)
444
442
  return leaveFund(input);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phantomcodes/cli",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "AI inference for your coding agents. Route models, control spending, and fund your workspace.",
5
5
  "keywords": [
6
6
  "phantom",
@@ -70,7 +70,7 @@ phantom fund --amount 10 --coin usdc
70
70
  phantom workspace payment --id <payment-id>
71
71
  ```
72
72
 
73
- Card checkout opens the payment URL in your browser. Crypto funding (`--coin usdc|usdt|sol`)
73
+ Card checkout opens the payment URL in your browser. Crypto funding (`--coin usdc` on Solana, `--coin usdc-base` on Base)
74
74
  provides a Solana pay URL. Credit is available once confirmed. Check pending payments with
75
75
  `phantom workspace payment --id <id>`. Check balance anytime with `phantom balance`.
76
76