viyv-daemon
v0.1.8
Published
Viyv Agent Daemon - Multi-agent orchestration system
Downloads
879
Maintainers
Readme
viyv-daemon
Multi-agent orchestration daemon for Viyv Agent.
Installation
npm install -g viyv-daemonQuick Start
# Create a daemon configuration
viyv-daemon create
# Start the daemon (prompts for Hub/Enroll URLs and enrollment if needed)
viyv-daemonCommands
| Command | Description |
|---------|-------------|
| viyv-daemon | Start daemon (default) |
| viyv-daemon create | Create configuration |
| viyv-daemon configs | List configurations |
| viyv-daemon list | List running daemons |
| viyv-daemon status | Show status |
| viyv-daemon enroll | Manual enrollment |
| viyv-daemon config | Show/update configuration |
Configuration
On first startup, you'll be prompted to configure Hub URL and Enroll URL. You can also pre-configure these via environment variables or CLI.
Environment Variables
export VIYV_HUB_URL=wss://hub.example.com
export VIYV_ENROLL_URL=https://app.example.comCLI Configuration
# Set Hub URL
viyv-daemon config --hub-url wss://hub.example.com
# Set Enroll URL
viyv-daemon config --enroll-url https://app.example.com
# View current configuration
viyv-daemon configStart Options
# Start with auto-enrollment (default)
viyv-daemon
# or explicitly
viyv-daemon start
# Start without auto-enrollment
viyv-daemon --no-auto-enroll
# Start specific daemon by name
viyv-daemon -n my-daemon
# Start in foreground
viyv-daemon -f
# Update commands on startup
viyv-daemon -u
# Combine options
viyv-daemon -n my-daemon -fManual Enrollment
If you prefer to enroll manually:
# Enroll using configured URL
viyv-daemon enroll
# Enroll using specific URL
viyv-daemon enroll -u https://app.example.com
# Enroll without opening browser
viyv-daemon enroll --no-browserDaemon Management
Create a daemon configuration
# Interactive mode
viyv-daemon create
# Non-interactive mode
viyv-daemon create my-daemon --type development --no-interactiveList and manage daemons
# List all configurations
viyv-daemon configs
# List running daemons
viyv-daemon list
# Delete a configuration
viyv-daemon delete my-daemonCheck status
# Check running daemon status
viyv-daemon status
# Check local configuration only
viyv-daemon status --localRequirements
- Node.js 20+
- Viyv Hub server connection
- Viyv workspace account
License
SEE LICENSE IN LICENSE
