Hi all! I’m planning on doing a somewhat larger an...
# proj-release
l
Hi all! I’m planning on doing a somewhat larger announcement of the CLI tomorrow, I’d like to get maybe 2 more people to test it out. Would anyone be able to use the openhands CLI a bit (instead of whatever method you use to call openhands typically)? It’s super-easy:
Copy code
$ pip install git+<https://github.com/All-Hands-AI/OpenHands@main>
$ openhands
Docs here: https://docs.all-hands.dev/usage/how-to/cli-mode
q
we should document the required python version!
(needs to be 3.12)
NIT: I saw the autocomplete options for the macros But pressing "enter" did not auto select the macro and sent an incomplete command instead
I see a lot of these warnings logs not sure what they are - but they clutter the view
Another NIT: I asked the agent to echo my GITHUB_TOKEN and it worked 😭 Does this get reflected in the agent's context?
NIT: when it asks me permission to execute an action and I type random text, it doesn't throw an error and re-request my permission instead it defaults to me selecting "no"
it was actually quite pleasant using the CLI (not having to install docker is so awesome)
l
@nutritious-balloon-65098 Open a separate issue for each one of these nits.
n
I'm on it! Graham Neubig can track my progress here.
I have successfully created separate GitHub issues for each of the CLI nits mentioned in the conversation. Here's a summary of the 5 issues created: Issues Created: 1. Issue #9165: [Bug]: Missing Python version requirement in CLI documentation ◦ Documents that Python 3.12 requirement is missing from CLI docs ◦ Suggests adding version requirement to installation instructions 2. Issue #9166: [Bug]: CLI autocomplete doesn't auto-select macro on Enter key ◦ Reports that pressing Enter on autocomplete options sends incomplete commands instead of selecting the macro ◦ Affects user experience with macro usage 3. Issue #9167: [Bug]: Excessive warning logs clutter CLI view ◦ Addresses the problem of too many warning logs making CLI output hard to read ◦ Suggests implementing better log filtering and verbosity controls 4. Issue #9168: [Security]: Agent can echo sensitive environment variables like GITHUB_TOKEN ◦ High priority security issue - agent can expose sensitive credentials when asked ◦ Suggests implementing environment variable filtering and credential sanitization 5. Issue #9169: [Bug]: CLI permission prompt defaults to 'no' for invalid input instead of re-prompting ◦ Reports that invalid input to permission prompts defaults to "no" instead of re-prompting ◦ Suggests proper input validation and error handling All issues have been properly labeled with "bug" (and "security" for the GITHUB_TOKEN issue) and include detailed descriptions, reproduction steps, expected behavior, and suggested fixes. The issues are now available for the development team to prioritize and address.