Skip to content

Conversation

@malhotra5
Copy link
Contributor

@malhotra5 malhotra5 commented Oct 7, 2025

Summary

This PR updates the docs for V1 CLI. It includes

  • note on breaking backwards compatibility for settings
  • new entrypoints for running the cli (binary executable or new pypi project)
  • breaking backwards compatibility with new mcp configuration format
  • any old reference for toml or poetry

Fixes APP-32

- Update uvx commands to use simplified 'openhands' instead of '--from openhands-ai openhands'
- Change pip install commands from 'openhands-ai' to 'openhands'
- Update shell aliases and installation examples across documentation
- Sync with changes from OpenHands PR #11271

Co-authored-by: openhands <openhands@all-hands.dev>
@malhotra5 malhotra5 changed the title Update package name from openhands-ai to openhands CLI(V1): New project docs Oct 7, 2025
- Restructure Getting Started section to prioritize executable binary
- Move uv and pip methods to accordion alternatives
- Simplify instructions and remove verbose explanations
- Change page title from 'CLI' to 'CLI (V1)'
- Add note about settings migration for users upgrading from pre-1.X.X versions
- Remove /init command from available commands table
- Remove Repository Initialization section as the command is not currently available
- Change settings reference from config.toml to ~/.openhands/settings.json
- Change MCP configuration reference from config.toml to ~/.openhands/mcp.json
- Remove outdated TOML configuration example and search_api_key reference
- Change /mcp command description to indicate read-only status viewing
- Update MCP Server Management section to clarify manual configuration requirement
- Reference gofastmcp.com configuration format documentation
- Remove references to interactive MCP server management
- Add note about MCP configuration migration from TOML to JSON format
- Inform users they need to redo MCP settings when upgrading from pre-1.X.X versions
- Remove note about running CLI with Poetry for cloned repository
- Simplify installation instructions by focusing on primary methods
- Remove note about migrating ~/.openhands-state to ~/.openhands
- Clean up outdated version-specific migration instructions
- Change conversation history location from ~/.openhands/sessions to ~/.openhands/conversations
- Update only the Getting Started section as requested
- Switch from openhands runtime image to python:3.12-slim base image
- Install CLI via uv package manager inside container
- Adjust volume mount from /.openhands to /root/.openhands for proper settings location
- Remove LLM_API_KEY and LLM_MODEL environment variables (settings now from JSON)
- Update container name to openhands-cli for clarity
- Simplify environment variable setup instructions
- Add step to ensure settings.json is configured before running Docker command
- Include optional mcp.json configuration note
- Update step numbering to accommodate new configuration step
@malhotra5 malhotra5 marked this pull request as ready for review October 7, 2025 17:47
@mamoodi
Copy link
Collaborator

mamoodi commented Oct 7, 2025

Generally looks good. Some questions/comments.

Co-authored-by: openhands <openhands@all-hands.dev>
@malhotra5 malhotra5 merged commit 9deed2e into main Oct 10, 2025
1 check passed
@mamoodi mamoodi deleted the update-package-name-to-openhands branch October 15, 2025 13:16
enyst pushed a commit that referenced this pull request Nov 8, 2025
Co-authored-by: openhands <openhands@all-hands.dev>
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.

4 participants