npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@limxdynamics/flux-cli

v1.0.1

Published

Flux CLI — 训练任务管理命令行工具,支持 Agent 集成

Downloads

235

Readme

Flux CLI

Cross-platform CLI for managing training tasks and projects on Flux. It outputs structured JSON by default and is designed for AI Agent integration.

Features

  • Cross-platform binary — macOS / Linux / Windows (amd64 & arm64)
  • Secure authentication — API key stored in system keychain (macOS Keychain / Windows Credential Manager / Linux Secret Service)
  • Multi-profile config — switch quickly between dev / staging / prod environments
  • Full task lifecycle — create, edit, run, stop, delete, logs, hyperparameters, and batch operations
  • Agent-friendly output — JSON by default + JSONL request logs for automation
  • Resilient requests — built-in retry with exponential backoff, configurable timeout and concurrency

Installation

npm install -g @limxdynamics/flux-cli

Requires Node.js >= 16. The installer auto-selects the correct binary for your OS/architecture.

Verify

flux --version

Quick Start

# 1. Login (API key saved to system keychain)
flux auth login --api-key "gm_sk_your_key"

# 2. Verify connection
flux auth status        # local check
flux auth whoami        # server check

# 3. Start using
flux task list
flux project list

Create API keys in Flux: avatar menu (bottom-left) → API Key Management. The full key is shown only once at creation time.

Command Overview

flux
├── auth        login / logout / status / whoami
├── config      set / get / profile (list / set / use)
├── project     list / create / info / edit / delete
└── task        create / edit / copy / list / info / run / stop / delete
                logs / resource / image / storage / data / hp / env
                params / tag / batch / model

Use flux --help or flux <command> --help for details.

Common Examples

# Task management
flux task list --page 1 --limit 50
flux task info --task-id "task_xxx"
flux task create --file ./create.json
flux task run --task-id "task_xxx"
flux task logs --task-id "task_xxx" --follow --interval 2s --timeout 5m
flux task stop --task-id "task_xxx"

# Project management
flux project list --page 1 --limit 50
flux project create --file ./project-create.json

# Profile switching
flux config profile set dev --base-url "https://dev.example.com/prod-api" --timeout 30s
flux config profile use dev

# Output control
flux task list --human          # human-readable table
flux task list --quiet          # key fields only
flux task list --debug          # debug logs

Configuration

Priority: CLI flags > Environment variables > Config file

| Variable | Description | |----------|-------------| | FLUX_BASE_URL | Service endpoint | | FLUX_API_KEY | API key (temporary, not persisted) | | FLUX_TIMEOUT | Request timeout (e.g. 30s) | | FLUX_RETRY | Retry count | | FLUX_CONCURRENCY | Concurrency limit | | FLUX_PROFILE | Temporary profile |

Config file location:

  • macOS / Linux: ~/.config/gradmotion/config.yaml
  • Windows: %APPDATA%\gradmotion\config.yaml