feat(storage): add StorageModuleClient for logos-storage-module#172
Open
jimmy-claw wants to merge 3 commits into
Open
feat(storage): add StorageModuleClient for logos-storage-module#172jimmy-claw wants to merge 3 commits into
jimmy-claw wants to merge 3 commits into
Conversation
Update logos-module-builder and all transitive Nix inputs to pull in the latest logos-cpp-sdk. All 1063 Rust workspace tests pass, cargo build --all-features succeeds with no breaking changes. Fixes #146 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add a new `storage-module` feature and `StorageModuleClient` backend that connects to a logos-storage-module instance via REST API. This replaces the need to talk directly to the Codex REST API when a logos-storage-module instance is available. The client supports: - Lifecycle management (init → start) on connection - upload_file / download_cid via /api/v1/ endpoints - Configurable upload/download throttle controls - Unchecked constructor for pre-initialized modules Fixes #144 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…LMAO #144) Add storage-module feature flag to the node crate and umbrella crate, exposing StorageModuleClient as a first-class storage backend. Adds with_storage_module() convenience builder on WakuA2ANode and re-exports StorageModuleClient/Config from the umbrella crate. 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
StorageModuleClientbackend behindstorage-modulefeature flag in the storage cratelogos-storage-moduleinstance via REST (/api/v1/init,/api/v1/start,/api/v1/upload,/api/v1/download/{cid})new_uncheckedconstructor for pre-initialized modulesTest plan
cargo test -p logos-messaging-a2a-storage --features storage-module— all 7 new tests passcargo test --workspace— full workspace passes, no regressionslogos-storage-modulev0.3.2 instanceFixes #144
🤖 Generated with Claude Code