perp-cli 0.7.5 → 0.7.6

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.
@@ -79,7 +79,7 @@ export function registerAgentCommands(program, getAdapter, isJson) {
79
79
  schemaVersion: "2.0",
80
80
  cliVersion: _pkg.version,
81
81
  generatedAt: new Date().toISOString(),
82
- exchanges: ["pacifica", "hyperliquid", "lighter"],
82
+ exchanges: ["pacifica", "hyperliquid", "lighter", "aster"],
83
83
  errorCodes: errorCodeDocs,
84
84
  commands: program.commands
85
85
  .filter(c => c.name() !== "help")
@@ -102,7 +102,7 @@ export function registerAgentCommands(program, getAdapter, isJson) {
102
102
  schemaVersion: "2.0",
103
103
  cliVersion: _pkg.version,
104
104
  generatedAt: new Date().toISOString(),
105
- exchanges: ["pacifica", "hyperliquid", "lighter"],
105
+ exchanges: ["pacifica", "hyperliquid", "lighter", "aster"],
106
106
  errorCodes: errorCodeDocs,
107
107
  commands: program.commands
108
108
  .filter(c => c.name() !== "help" && c.name() !== "schema")
@@ -118,8 +118,8 @@ export function registerAgentCommands(program, getAdapter, isJson) {
118
118
  printJson(jsonOk({
119
119
  name: "perp-cli",
120
120
  version: _pkg.version,
121
- description: "Multi-DEX Perpetual Futures CLI (Pacifica, Hyperliquid, Lighter) with HIP-3 deployed dex support",
122
- exchanges: ["pacifica", "hyperliquid", "lighter"],
121
+ description: "Multi-DEX Perpetual Futures CLI (Pacifica, Hyperliquid, Lighter, Aster) with HIP-3 deployed dex support",
122
+ exchanges: ["pacifica", "hyperliquid", "lighter", "aster"],
123
123
  capabilities: [
124
124
  {
125
125
  category: "market_data",
@@ -250,7 +250,7 @@ export function registerAgentCommands(program, getAdapter, isJson) {
250
250
  ],
251
251
  notes: [
252
252
  "Always use --json flag for machine-readable output",
253
- "Use -e <exchange> to switch between pacifica, hyperliquid, lighter",
253
+ "Use -e <exchange> to switch between pacifica, hyperliquid, lighter, aster",
254
254
  "Use --dex <name> for HIP-3 deployed perp dexes on Hyperliquid",
255
255
  "Use -n testnet for testnet mode",
256
256
  "Use --client-id or --auto-id on trade commands for retry safety",
package/dist/index.js CHANGED
@@ -632,13 +632,17 @@ if (rawArgs.length === 0 || (!hasSubcommand && !rawArgs.includes("-h") && !rawAr
632
632
  process.env.LIGHTER_PRIVATE_KEY);
633
633
  // ── ASCII banner ──
634
634
  const banner = [
635
- chalk.cyan(" ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓"),
636
- chalk.cyan(" ┃") + chalk.white.bold(" perp-cli ") + chalk.gray(`v${_pkg.version}`) + " ".repeat(Math.max(0, 32 - _pkg.version.length)) + chalk.cyan("┃"),
637
- chalk.cyan(" ┃") + chalk.gray(" Multi-DEX Perpetual Futures ") + chalk.cyan("┃"),
638
- chalk.cyan(" ┃") + chalk.gray(" Pacifica · Hyperliquid · Lighter · Aster ") + chalk.cyan("┃"),
639
- chalk.cyan(" ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛"),
635
+ "",
636
+ chalk.cyan(" ██████╗ ███████╗██████╗ ██████╗ ██████╗██╗ ██╗"),
637
+ chalk.cyan(" ██╔══██╗██╔════╝██╔══██╗██╔══██╗ ██╔════╝██║ ██║"),
638
+ chalk.cyan(" ██████╔╝█████╗ ██████╔╝██████╔╝ ██║ ██║ ██║"),
639
+ chalk.cyan(" ██╔═══╝ ██╔══╝ ██╔══██╗██╔═══╝ ██║ ██║ ██║"),
640
+ chalk.cyan(" ██║ ███████╗██║ ██║██║ ╚██████╗███████╗██║"),
641
+ chalk.cyan(" ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝╚══════╝╚═╝"),
642
+ "",
643
+ chalk.gray(` 4 exchanges · 19 strategies · v${_pkg.version}`),
640
644
  ];
641
- console.log("\n" + banner.join("\n"));
645
+ console.log(banner.join("\n"));
642
646
  if (!status.hasWallets && !hasEnvKey && !settings.defaultExchange) {
643
647
  // Fresh install — onboarding
644
648
  console.log(chalk.yellow.bold("\n ⚡ Get started:\n"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perp-cli",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "Multi-DEX Perpetual Futures CLI - Pacifica, Hyperliquid, Lighter",
5
5
  "bin": {
6
6
  "perp": "dist/index.js",