feat(cli): add plugin install and agent logs subcommands ( Task 6 )#281
Merged
lijingrs merged 3 commits intomofa-org:mainfrom Feb 23, 2026
Merged
feat(cli): add plugin install and agent logs subcommands ( Task 6 )#281lijingrs merged 3 commits intomofa-org:mainfrom
lijingrs merged 3 commits intomofa-org:mainfrom
Conversation
f03211f to
1891672
Compare
Contributor
Author
Collaborator
|
The check failed; it appears the branch code is not up to date. |
Contributor
Author
|
hi @lijingrs, it is up to date now |
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
Fleshes out the mofa-cli tool by implementing the routing and structural stubs for two practical and highly requested subcommands: mofa plugin install and mofa agent logs <agent_id> [--tail]. These additions provide a more complete out-of-the-box CLI experience for managing background agents and plugins.
🔗 Related Issues
Closes #213
🧠 Context
Currently, the mofa-cli has a solid foundation for managing agents and plugins but is missing some commands that developers expect:
By adding these Subcommands to clap, we open the door for standardizing these workflows within the MoFA CLI.
🛠️ Changes
🧪 How you Tested
📸 Screenshots / Logs (if applicable)
🧹 Checklist
Code Quality
cargo fmtruncargo clippypasses without warningsTesting
cargo testpasses locally without any errorDocumentation
PR Hygiene
main🚀 Deployment Notes (if applicable)
N/A
🧩 Additional Notes for Reviewers
Just a heads up on my approach here:
// TODOcomments, exactly matching how files like [src/commands/agent/start.rs] are currently set up.@lijingrs @BH3GEI