ai-discovery
Kodachi Auto-Discovery Daemon - Monitors and indexes Rust service binaries
Version: 9.0.1 | Size: 1.3MB | Author: Warith Al Maawali
License: Proprietary | Website: https://www.digi77.com
File Information
| Property | Value |
|---|---|
| Binary Name | ai-discovery |
| Version | 9.0.1 |
| Build Date | 2026-02-14T07:59:31.617257243Z |
| Rust Version | 1.82.0 |
| File Size | 1.3MB |
| JSON Data | View Raw JSON |
SHA256 Checksum
Features
| Feature | Description |
|---|---|
| Feature | Binary file watching with inotify |
| Feature | Automatic command extraction from -e --json |
| Feature | Live command registry updates |
| Feature | Daemon process management |
Security Features
| Feature | Description |
|---|---|
| Inputvalidation | All inputs are validated and sanitized |
| Ratelimiting | Built-in rate limiting for network operations |
| Authentication | Secure authentication with certificate pinning |
| Encryption | TLS 1.3 for all network communications |
System Requirements
| Requirement | Value |
|---|---|
| OS | Linux (Debian-based) |
| Privileges | root/sudo for system operations |
| Dependencies | OpenSSL, libcurl |
Global Options
| Flag | Description |
|---|---|
-h, --help |
Print help information |
-v, --version |
Print version information |
-n, --info |
Display detailed information |
-e, --examples |
Show usage examples |
--json |
Output in JSON format |
--json-pretty |
Pretty-print JSON output with indentation |
--json-human |
Enhanced JSON output with improved formatting (like jq) |
--verbose |
Enable verbose output |
--quiet |
Suppress non-essential output |
--no-color |
Disable colored output |
--config <FILE> |
Use custom configuration file |
--timeout <SECS> |
Set timeout (default: 30) |
--retry <COUNT> |
Retry attempts (default: 3) |
Commands
Daemon Control
start
Start the auto-discovery daemon
Usage:
status
Show daemon status
Usage:
Registry Management
reindex
Force reindex all binaries
Usage:
Examples
Daemon Control
Start and monitor the auto-discovery daemon
Start discovery daemon to monitor binaries
Expected Output: Discovery daemon started successfullyNote
Monitors /dashboard/hooks/rust/*/target/release/
Start in foreground mode for debugging
Expected Output: Discovery daemon running in foregroundNote
Shows real-time file system events
Foreground mode with JSON status output
Expected Output: JSON events as binaries are discoveredNote
Combines debug visibility with structured output
Check daemon status and registry statistics
Expected Output: Daemon status with command registry infoNote
Shows total commands, services, and last update
Get status in JSON format
Expected Output: JSON response with daemon and registry statusNote
Useful for automated monitoring scripts
Registry Management
Manage the command registry and reindex binaries
Force reindex all Rust service binaries
Expected Output: All binaries reindexed successfullyNote
Extracts commands using -e --json from each binary
Reindex with JSON output
Expected Output: Reindex results in JSON formatNote
Shows discovered services and command counts
Reindex specific service only
Expected Output: Single service reindexed successfullyNote
Faster than full reindex for debugging
Reindex single service with JSON output
Expected Output: JSON with reindexed command count for health-controlNote
Fast targeted reindex with structured output
Show detailed registry contents
Expected Output: Full list of discovered commands by serviceNote
Displays all registered commands and metadata
Detailed registry contents as JSON
Expected Output: JSON with full command list by serviceNote
Combines verbose detail with structured output
Environment Variables
| Variable | Description | Default | Values |
|---|---|---|---|
RUST_LOG |
Set logging level | info | error |
NO_COLOR |
Disable all colored output when set | unset | 1 |
Exit Codes
| Code | Description |
|---|---|
| 1 | General error |
| 4 | Network error |
| 5 | File not found |
| 3 | Permission denied |
| 2 | Invalid arguments |
| 0 | Success |