0.1.16 • Published 10 months ago
@dust-tt/dust-cli v0.1.16
Dust CLI
A command-line interface for interacting with Dust.
Installation
To install the Dust CLI globally, run:
npm install -g @dust-tt/dust-cliLinux
Dust CLI depends on keytar for storing credentials. On
Linux, keytar requires libsecret to be installed.
Depending on your distribution, you will need to run the following command:
- Debian/Ubuntu:
sudo apt-get install libsecret-1-dev - Red Hat-based:
sudo yum install libsecret-devel - Arch Linux:
sudo pacman -S libsecret
Usage
The Dust CLI allows you to manage your Dust authentication session and chat with Dust agents.
dust [command] [options]When no command is provided, the chat command will be used by default.
Commands
login: Authenticate with your Dust account.dust logindust login --force: Force re-authentication even if already logged in.
status: Check your current authentication status.dust status
logout: Log out from your Dust account.dust logout
agents-mcp: Select Dust agents and launch a Model Context Protocol server (via SSE transport) to interact with them.dust agents-mcp- Optional:
--port <number>or-p <number>to specify the listening port (defaults to auto-selection) - Optional:
--sId <sId>or-s <sId>to specify the agent sId to use directly (can be repeated)
chat: Chat with a Dust agent (default command).dust chator simplydust- Optional:
--sId <sId>or-s <sId>to specify the agent sId to use directly
help: Display help information.dust help
Options
-v,--version: Display the installed CLI version.-f,--force: Used with thelogincommand to force re-authentication.--help: Display help information for the CLI.
Examples
dust(starts a chat with a Dust agent)dust logindust agents-mcpdust agents-mcp --port 8080dust agents-mcp --sId 1234567890dust chatdust chat --sId 1234567890dust help
Development
To set up the development environment:
- Make sure you have the right version of Node.js installed (
nvm usein the CLI directory). - Install dependencies:
npm install - Build the CLI:
npm run buildornpm run build:dev(ornpm run devfor hot-reloading) - Run the CLI locally:
node dist/index.js <command>
0.1.16
10 months ago
0.1.15
10 months ago
0.1.14
10 months ago
0.1.13
10 months ago
0.1.12
10 months ago
0.1.11
11 months ago
0.1.10
11 months ago
0.1.9
11 months ago
0.1.8
11 months ago
0.1.7
11 months ago
0.1.6
11 months ago
0.1.5
11 months ago
0.1.4
11 months ago
0.1.3
12 months ago
0.1.2
12 months ago
0.1.1
12 months ago
0.1.0
12 months ago