Skip to content

feat: use real logos-delivery-module for Delivery transport#173

Open
jimmy-claw wants to merge 1 commit into
masterfrom
jimmy/lmao-issue-143-20260418
Open

feat: use real logos-delivery-module for Delivery transport#173
jimmy-claw wants to merge 1 commit into
masterfrom
jimmy/lmao-issue-143-20260418

Conversation

@jimmy-claw

Copy link
Copy Markdown
Owner

Summary

  • Add DeliveryTransport C++ class: QtRO bridge to delivery_module via logosAPI->getClient(), exposing send/subscribe/unsubscribe
  • Update LmaoBackend::sendTask() to prefer QtRO delivery when connected, with automatic fallback to FFI transport
  • Add lmao_build_task_envelope FFI function for building A2A envelopes without sending (enables C++ QtRO routing)
  • Add logos-core feature flag to lmao-ffi for compile-time transport selection (LogosCoreDeliveryTransport vs LogosMessagingTransport)
  • Add lmao_get_info and lmao_get_metrics FFI functions
  • Wire DeliveryTransport into LmaoComponent::createWidget via LogosAPI

Test plan

  • cargo test --workspace — all tests pass (including new envelope/info/metrics tests)
  • Manual test: verify sendTask uses QtRO path when DeliveryTransport is connected in Logos Core
  • Manual test: verify fallback to FFI when delivery_module is unavailable

Fixes #143

🤖 Generated with Claude Code

Wire up QtRO inter-module IPC to logos-co/logos-delivery-module as the
primary delivery transport, replacing the FFI-only path.

- Add DeliveryTransport C++ class: QtRO bridge to delivery_module via
  logosAPI->getClient(), with send/subscribe/unsubscribe/createNode/start
- Update LmaoBackend to prefer QtRO delivery when connected, with
  automatic fallback to FFI transport
- Add lmao_build_task_envelope FFI function: builds A2A envelope without
  sending, enabling C++ side to route via QtRO
- Add lmao_get_info and lmao_get_metrics FFI functions
- Add logos-core feature flag to lmao-ffi for compile-time transport
  selection (LogosCoreDeliveryTransport vs LogosMessagingTransport)
- Wire DeliveryTransport into LmaoComponent::createWidget via LogosAPI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: use real logos-delivery-module for Delivery transport

1 participant