Skip to content

Releases: Minara-AI/minara-cli

v0.4.7

03 Apr 12:45

Choose a tag to compare

What's Changed

Features

  • limit-order: Add non-interactive flags to create command (#10)
  • swap: Add --chain flag for explicit chain selection (#7)
  • perps: Add --symbol and --leverage options to leverage command (#5)

Bug Fixes

  • swap: Correct fee simulation display with proper decimal conversion (#11)
  • commands: Add input validation for negative amounts and invalid addresses (#9)
  • tokens: Reject unknown token symbols with error instead of allowing continuation (#8)
  • premium: Remove buy-credits command and add test case for PREMIUM-004 (#6)
  • discover: Remove redundant positional argument from trending command (#4)

Full Changelog: v0.4.6...v0.4.7

v0.4.6

26 Mar 11:56

Choose a tag to compare

What's Changed

Features

  • deposit perps: Add --address flag for non-interactive mode to show perps deposit address

Removed

  • deposit buy: Remove MoonPay credit card purchase option

Migration Notes

  • Use minara deposit perps --address to programmatically get the deposit address without prompts
  • Credit card purchases are no longer available; use crypto deposits via minara deposit spot or minara deposit perps

v0.4.5

25 Mar 07:20

Choose a tag to compare

What's Changed

New Features

  • Command aliases: Added send, receive, ask, research command aliases for quicker access

Bug Fixes

  • Non-interactive mode for discover commands: Added --type option to discover search and discover trending commands to skip interactive prompts in non-TTY environments (agents, CI)

Usage

# Explicit type selection (recommended for agents)
minara discover search BTC --type tokens
minara discover trending --type stocks

# Non-interactive mode auto-defaults to tokens
minara discover search BTC   # → searches tokens automatically

Full Changelog: v0.4.4...v0.4.5

v0.4.4

23 Mar 17:07

Choose a tag to compare

What's New

Command Aliases

  • send — alias for transfer, send tokens to another address
  • receive — alias for deposit, deposit/receive to wallet
  • ask — quick AI chat in fast mode (minara ask "What is BTC price?")
  • research — deep AI research in quality mode (minara research "Analyze ETH outlook")

Tests

  • Added test coverage for ask, research, transfer (alias), and deposit (alias) commands (251 → 263 tests)

v0.4.3

23 Mar 11:12

Choose a tag to compare

Changes

  • feat: filter default wallets in account command

    • By default, only show abstraction-evm, abstraction-solana, and perpetual-evm
    • Add --show-all flag to display all wallets including internal addresses
    • Add description for perpetual-evm wallet
  • fix: clarify perpetual-evm wallet description

    • Clarify that perpetual-evm only supports USDC deposits on Arbitrum

v0.4.2 — Stop Loss / Take Profit Orders

19 Mar 06:52

Choose a tag to compare

What's Changed

Features

  • Perps: Add --tpsl option for stop loss / take profit trigger market orders
    • --tpsl sl for stop loss orders
    • --tpsl tp for take profit orders
    • Use with -p to set trigger price

Example

# Stop loss BTC at $90000
minara perps order -S sell -s BTC -T market -p 90000 -z 0.1 --tpsl sl

# Take profit ETH at $3000
minara perps order -S sell -s ETH -T market -p 3000 -z 1 --tpsl tp

Full Changelog: v0.4.1...v0.4.2

v0.4.1 — Non-Interactive Perps Orders

18 Mar 08:04

Choose a tag to compare

What's Changed

New Features

  • Non-interactive perps orders — Place orders directly via CLI flags without interactive prompts
    minara perps order -S long -s BTC -z 0.1                    # Market long
    minara perps order -S short -s ETH -T limit -p 3000 -z 2    # Limit short
    minara perps order -S buy -s SOL -z 10 --reduce-only        # Reduce-only

New Flags for perps order

Flag Alias Description
--side -S Order side: long/buy/short/sell
--symbol -s Asset symbol (BTC, ETH, SOL, etc.)
--type -T Order type: market/limit (default: market)
--price -p Limit price (required for limit orders)
--size -z Position size in contracts
--reduce-only -r Reduce-only order flag
--grouping -g TP/SL grouping: na/normalTpsl/positionTpsl

Full Changelog: v0.4.0...v0.4.1

v0.4.0 — Multi-Wallet Perps & Autopilot Dashboard

16 Mar 08:16

Choose a tag to compare

What's New

Multi-Wallet Perps Support

  • Multiple sub-wallets per account — create, rename, sweep, and transfer USDC between wallets
  • --wallet flag on all trading commands (order, deposit, withdraw, close, cancel, leverage, trades, fund-records, ask) — omit to pick interactively
  • minara perps wallets — overview of all wallets with real-time equity, available cash, margin, PnL, positions, and autopilot strategy status
  • minara perps transfer — move USDC between any two sub-wallets (internal, no gas)
  • minara perps sweep — consolidate funds from a sub-wallet to the default wallet (blocked when autopilot is active)

Autopilot Dashboard

  • Multi-strategy per wallet — each wallet can have multiple AI strategies; list, select, and manage individually
  • Strategy dashboard — shows name, status (ON/OFF), symbols, config, and timestamps
  • Performance comparison table — all available strategies shown side-by-side with Est. APR and trade counts, active strategy highlighted with ★
  • Inline config management — view and update strategy config (risk control, pattern, grid settings) directly from the dashboard
  • Create & attach strategies — create new strategies or bind unbound strategies to specific wallets

Display & Data Fixes

  • Accurate per-wallet financials — fetches real data from Hyperliquid sub-account summary API instead of stale list response
  • Hyperliquid format normalization — correctly parses marginSummary, assetPositions, withdrawable and position fields (coin, szi, entryPx, leverage objects)
  • Wallet pickers show available cash — all interactive wallet selectors display withdrawable USDC (not equity including locked margin)
  • Dates formatted — ISO timestamps shown as human-readable (e.g. Jan 23, 2026, 05:54 PM)
  • Strategy names — auto-generated from symbols + pattern when API doesn't provide an explicit name (e.g. BTC P5)

Test Coverage

  • 251 tests (was 162) across 17 test files, all passing
  • New: tests/formatters.test.ts — 48 tests for table/KV/value formatters
  • Expanded: API perps tests (91% stmt coverage), utils tests (51%), formatter tests (50%)
  • Added @vitest/coverage-v8 for coverage reporting

Other

  • Pre-commit test rule added to CLAUDE.md — all tests must pass before committing

v0.3.1

11 Mar 09:48

Choose a tag to compare

What's Changed

Bug Fixes

  • Fixed npm publish error (v0.3.0 was already published)

Features (from v0.3.0)

  • Added --all option to minara perps close for closing all positions non-interactively
  • Added --symbol <SYMBOL> option to minara perps close for closing specific positions non-interactively

Usage:

minara perps close --all --yes      # Close all positions
minara perps close --symbol BTC     # Close BTC position

Full Changelog: v0.3.0...v0.3.1

v0.3.0

11 Mar 09:43

Choose a tag to compare

What's Changed

New Features

  • minara perps close --all - Close all positions (non-interactive)
  • minara perps close --symbol <SYMBOL> - Close by symbol (non-interactive)
  • Interactive mode - Added "[ CLOSE ALL POSITIONS ]" option

Bug Fixes

  • Fixed timeout issue when closing positions via automation/openclaw

Full Changelog: v0.2.9...v0.3.0