feat(storage): use logos-storage-module for CID offloading#154
Open
jimmy-claw wants to merge 3 commits intomasterfrom
Open
feat(storage): use logos-storage-module for CID offloading#154jimmy-claw wants to merge 3 commits intomasterfrom
jimmy-claw wants to merge 3 commits intomasterfrom
Conversation
Update logos-core-module/flake.lock to latest logos-cpp-sdk (rev 1468180b) and run cargo update for all workspace dependencies. Build and all tests pass with no breaking changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…module bridge Implement LezExecutionBackend that communicates with the lez_multisig_module Logos Core module via its JSON-RPC HTTP bridge for agent registration, token transfers, balance queries, and transfer verification on the Logos Execution Zone. Key features: - Agent registry: register agent identity + capabilities on-chain via lez_registerAgent - Spending threshold: owner-configurable max cumulative spend with atomic tracking - Task payments: pay for completed tasks via lez_sendTransaction - Balance queries: check agent balances via lez_getBalance - Transfer verification: confirm payments via lez_getTransactionReceipt - x402 integration ready: works with existing PaymentConfig/verify_payment flow Includes comprehensive unit tests (16) and wiremock integration tests (20+) covering spending limits, error handling, and bridge communication. Closes #79 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ffloading Replace direct Codex REST calls with StorageModuleClient that uses the logos-storage-module API (init → start → upload_file / download_cid). Adds feature flag `storage-module`, config with throttle controls, lifecycle management, and wiremock integration tests. Fixes #144 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
StorageModuleClientimplementingStorageBackendtrait, using the logos-storage-module REST API (init → start → upload_file / download_cid)storage-modulefeature flag in the storage crate withStorageModuleConfigsupporting headless mode and upload/download throttle controlsTest plan
cargo test -p logos-messaging-a2a-storage --features storage-module— 91 tests pass (63 unit + 8 storage-module integration + 19 REST + 1 doctest)Fixes #144
🤖 Generated with Claude Code