Skip to content

feat(arm64): fix rmcp-sdk compatibility and add arm64 documentation#947

Open
w8explorer wants to merge 2 commits intoRightNow-AI:mainfrom
w8explorer:fix/arm64-runtime-support
Open

feat(arm64): fix rmcp-sdk compatibility and add arm64 documentation#947
w8explorer wants to merge 2 commits intoRightNow-AI:mainfrom
w8explorer:fix/arm64-runtime-support

Conversation

@w8explorer
Copy link
Copy Markdown

Summary

This PR enables building and running OpenFang on ARM64 (aarch64) architectures. It addresses a critical compilation error in the rmcp SDK and provides a dedicated deployment guide for ARM-based cloud environments.

Changes

Core Fix: Refactored crates/openfang-runtime/src/mcp.rs to use Default::default() for StreamableHttpClientTransportConfig. This resolves error E0639 caused by the #[non_exhaustive] attribute in the latest rmcp library.
Documentation: Added docs/arm64.md detailing native system dependencies and build instructions for aarch64 Linux.
Visibility: Added an "ARM64 Support" link to the main README.md header.

Testing

cargo clippy --workspace --all-targets -- -D warnings (Verified on ARM64).
cargo check -p openfang-runtime passes on Neoverse-N1 architecture.
Live integration tested on Oracle Cloud ARM64 instance.

Security

No new unsafe code.
No secrets or API keys in diff.
User input validated at boundaries.

Technical Assistance: Code debugging, architecture verification, and documentation were assisted by Antigravity (an AI by Google DeepMind).

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.

1 participant