5 Commits

Author SHA1 Message Date
Timur Gordon
d3c2966f10 Remove non-existent feature from hero-supervisor-openrpc-client dependency 2025-11-06 13:47:25 +01:00
Timur Gordon
4c62894c08 update deps 2025-11-06 13:43:55 +01:00
Timur Gordon
2e88bf33ba Update OsirisClient to use unified JobBuilder for both native and WASM
- Use hero_supervisor_openrpc_client::JobBuilder for both native and WASM builds
- Simplified execute_script method by removing duplicate job building code
- JobBuilder now works consistently across platforms
- Removed separate WasmJobBuilder usage
2025-11-04 17:09:11 +01:00
Timur Gordon
5d82959457 Restructure Osiris: separate core, client, and server crates to avoid circular dependencies 2025-11-04 13:08:43 +01:00
Timur Gordon
ae846ea734 Start CQRS refactoring: Create Osiris client crate
- Added workspace structure to Osiris Cargo.toml
- Created osiris-client crate for query operations (GET requests)
- Implemented generic get(), list(), query() methods
- Added KYC, payment, and communication query modules
- Created comprehensive refactoring plan document

CQRS Pattern:
- Commands (writes) → Supervisor client → Rhai scripts
- Queries (reads) → Osiris client → REST API

Next steps:
- Implement Osiris server with Axum
- Restructure SDK client by category (kyc/, payment/, etc.)
- Update FreezoneClient to use both supervisor and osiris clients
2025-11-04 10:26:33 +01:00