@hsafa/cli
v0.0.3
Published
CLI to control HSAFA without UI
Readme
HSAFA CLI
A comprehensive CLI to control HSAFA without a UI.
Installation
cd hsafa/cli
pnpm install
pnpm run build
npm linkConfiguration
Set the server URL (default: http://localhost:3900):
hsafa config -s http://your-server:3900Commands
Authentication
hsafa auth login
hsafa auth status
hsafa auth logoutWorkspaces
hsafa workspace listAgents
hsafa agent list --workspace <workspace-id>
hsafa agent chat <agent-id>Knowledge Bases
hsafa kb list
hsafa kb docs <kb-id>
hsafa kb create <name>
hsafa kb doc-add <kb-id> <file-path>Documents
hsafa doc upload <file-path>System Status
hsafa statusFeatures
- Interactive Chat: Real-time streaming conversation with agents.
- Workspace Navigation: Easily list workspaces and agents.
- Secure Auth: Stores session tokens locally.
- File Uploads: Command-line file uploads to the server.
