Releases: Minara-AI/minara-cli
Releases · Minara-AI/minara-cli
v0.4.7
What's Changed
Features
- limit-order: Add non-interactive flags to create command (#10)
- swap: Add
--chainflag for explicit chain selection (#7) - perps: Add
--symboland--leverageoptions 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
What's Changed
Features
- deposit perps: Add
--addressflag for non-interactive mode to show perps deposit address
Removed
- deposit buy: Remove MoonPay credit card purchase option
Migration Notes
- Use
minara deposit perps --addressto programmatically get the deposit address without prompts - Credit card purchases are no longer available; use crypto deposits via
minara deposit spotorminara deposit perps
v0.4.5
What's Changed
New Features
- Command aliases: Added
send,receive,ask,researchcommand aliases for quicker access
Bug Fixes
- Non-interactive mode for discover commands: Added
--typeoption todiscover searchanddiscover trendingcommands 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 automaticallyFull Changelog: v0.4.4...v0.4.5
v0.4.4
What's New
Command Aliases
send— alias fortransfer, send tokens to another addressreceive— alias fordeposit, deposit/receive to walletask— 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), anddeposit(alias) commands (251 → 263 tests)
v0.4.3
Changes
-
feat: filter default wallets in account command
- By default, only show
abstraction-evm,abstraction-solana, andperpetual-evm - Add
--show-allflag to display all wallets including internal addresses - Add description for
perpetual-evmwallet
- By default, only show
-
fix: clarify perpetual-evm wallet description
- Clarify that perpetual-evm only supports USDC deposits on Arbitrum
v0.4.2 — Stop Loss / Take Profit Orders
What's Changed
Features
- Perps: Add
--tpsloption for stop loss / take profit trigger market orders--tpsl slfor stop loss orders--tpsl tpfor take profit orders- Use with
-pto 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 tpFull Changelog: v0.4.1...v0.4.2
v0.4.1 — Non-Interactive Perps Orders
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
What's New
Multi-Wallet Perps Support
- Multiple sub-wallets per account — create, rename, sweep, and transfer USDC between wallets
--walletflag on all trading commands (order,deposit,withdraw,close,cancel,leverage,trades,fund-records,ask) — omit to pick interactivelyminara perps wallets— overview of all wallets with real-time equity, available cash, margin, PnL, positions, and autopilot strategy statusminara 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,withdrawableand 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-v8for coverage reporting
Other
- Pre-commit test rule added to
CLAUDE.md— all tests must pass before committing
v0.3.1
What's Changed
Bug Fixes
- Fixed npm publish error (v0.3.0 was already published)
Features (from v0.3.0)
- Added
--alloption tominara perps closefor closing all positions non-interactively - Added
--symbol <SYMBOL>option tominara perps closefor closing specific positions non-interactively
Usage:
minara perps close --all --yes # Close all positions
minara perps close --symbol BTC # Close BTC positionFull Changelog: v0.3.0...v0.3.1
v0.3.0
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