Commit Graph

5 Commits

Author SHA1 Message Date
Timur Gordon
285199edac feat: add get_all_runner_status to WASM client and use it to show real runner status in dropdown 2025-11-11 15:09:19 +01:00
Timur Gordon
d6184e7507 Treat secrets as API keys - unify authentication
- Updated verify_api_key() to check secrets first (admin, user, register)
- Secrets are now treated as API keys with appropriate scopes
- All OpenRPC methods now work with secrets (register_runner, list_runners, etc.)
- Simplified auth_verify since verify_api_key handles everything
- Admin UI now fully functional with admin secret from .env
2025-11-07 00:38:33 +01:00
Timur Gordon
43ad9b60aa Fix auth_verify to accept admin/user/register secrets directly
- Check secrets (admin_secrets, user_secrets, register_secrets) before API keys
- Allow UI to authenticate with the secrets provided in .env
- Secrets now work as expected for authentication
- API keys still supported as fallback for backward compatibility
2025-11-07 00:33:09 +01:00
Timur Gordon
8a02fffcca Update build/test scripts with clean progress indicators and minimal output 2025-11-06 23:55:17 +01:00
Timur Gordon
6d518599b8 Restructure: move src to core/ crate, move cmd/supervisor.rs to core/src/bin/supervisor.rs, create workspace 2025-11-06 23:30:18 +01:00