feat: add catlog command, agent flag reorder, and TUI polish
- Add `coinhunter catlog` with limit/offset pagination for audit logs - Optimize audit log reading with deque to avoid loading all history - Allow `-a/--agent` flag after subcommands - Fix upgrade spinner artifact and empty line issues - Render audit log TUI as timeline with low-saturation event colors - Convert audit timestamps to local timezone in TUI - Remove futures-related capabilities - Add conda environment.yml for development - Bump version to 2.0.9 and update README Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
14
README.md
14
README.md
@@ -88,6 +88,11 @@ coinhunter opportunity portfolio
|
||||
coinhunter opportunity scan
|
||||
coinhunter opportunity scan --symbols BTCUSDT ETHUSDT SOLUSDT
|
||||
|
||||
# Audit log
|
||||
coinhunter catlog
|
||||
coinhunter catlog -n 20
|
||||
coinhunter catlog -n 10 -o 10
|
||||
|
||||
# Self-upgrade
|
||||
coinhunter upgrade
|
||||
|
||||
@@ -127,6 +132,8 @@ Events include:
|
||||
- `opportunity_portfolio_generated`
|
||||
- `opportunity_scan_generated`
|
||||
|
||||
Use `coinhunter catlog` to read recent entries in the terminal. It aggregates across all days and supports pagination with `-n/--limit` and `-o/--offset`.
|
||||
|
||||
## Development
|
||||
|
||||
Clone the repo and install in editable mode:
|
||||
@@ -137,6 +144,13 @@ cd coinhunter-cli
|
||||
pip install -e ".[dev]"
|
||||
```
|
||||
|
||||
Or use the provided Conda environment:
|
||||
|
||||
```bash
|
||||
conda env create -f environment.yml
|
||||
conda activate coinhunter
|
||||
```
|
||||
|
||||
Run quality checks:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user