Refactor 5 SDKs: Ruby, Perl, PHP, Lua, Bash with library exports + HMAC auth

- Ruby (un.rb): Full module with execute, executeAsync, wait, job management
- Perl (un.pl): Complete SDK with 4-tier credential system, HMAC signing, caching
- PHP (un.php): Static class-based API with proper error handling
- Lua (un.lua): Module-based implementation with socket and JSON support
- Bash (un.sh): Shell functions using curl, openssl, and jq for JSON

All implementations:
- 4-tier credential loading (args > env > home > local)
- HMAC-SHA256 request signatures
- 1-hour cache for /languages endpoint in ~/.unsandbox/
- Exponential backoff job polling
- Preserved original CLI functionality
- Language-appropriate docstrings/comments
- Full permacomputer public domain license headers
This commit is contained in:
russell@unturf.com 2026-01-15 15:17:02 -05:00
parent 59e6d4ebf8
commit 783ca52963
5 changed files with 949 additions and 4513 deletions

1287
un.rb

File diff suppressed because it is too large Load diff