Skip to content

feat(cli): add -V/--version to http, agent, and mcp entry points - #72

Merged
m3lonxd merged 1 commit into
m3lonxd:masterfrom
Burakceliks:feat/version-flag-http-agent-mcp
Dec 2, 2026
Merged

m3lonxd merged 1 commit into
m3lonxd:masterfrom
Burakceliks:feat/version-flag-http-agent-mcp

Conversation

@Burakceliks

Copy link
Copy Markdown
Contributor

Closes #66

Summary

  • Add -V/--version via argparse action="version" (%(prog)s <__version__>) to computer-use-linux-http, computer-use-linux-agent, and computer-use-linux-mcp.
  • Parse CLI args in adapters/mcp/server before _recover_session_env() and mcp.run(transport="stdio") so -V/--version exits 0 without starting the stdio server, while no-arg execution stays unchanged.
  • Add offline unit tests in test_http_server_edges, test_agent_loop, and test_mcp_server.

@m3lonxd

m3lonxd commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Thanks @Burakceliks — the build_parser() refactor and unit tests look great, and CI passed on the original base.

The only blocker is a conflict in adapters/mcp/server.py and tests/test_mcp_server.py from v0.8.0 landing on master. Since you opened #72 first for #66, could you please rebase onto master so we can merge this cleanly?

@Burakceliks

Copy link
Copy Markdown
Contributor Author

Rebased cleanly onto latest master — ready to merge!

@Burakceliks
Burakceliks force-pushed the feat/version-flag-http-agent-mcp branch from bf34460 to a4f74e4 Compare December 2, 2026 07:51
@m3lonxd
m3lonxd merged commit 2de80fc into m3lonxd:master Dec 2, 2026
5 checks passed
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.

Add -V/--version to computer-use-linux-http, -agent, and -mcp entry points

2 participants