You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add macro style commands with dropdown window (#17)
* Add macro style commands with dropdown window
- Implement CommandCompleter class for interactive dropdown with autocomplete
- Add support for arrow key navigation and Tab completion for commands
- Start agent session by default instead of showing 1-3 menu
- Add enhanced command handling with /exit, /help, /clear, /status, /new
- Improve UI with better welcome message and session management
- Add comprehensive tests for TUI functionality
Fixes#16
Co-authored-by: openhands <openhands@all-hands.dev>
* ci: add pytest workflow similar to lint to run unit tests using uv + pytest\n\nCo-authored-by: openhands <openhands@all-hands.dev>
* ci: add pytest workflow similar to lint (uses uv sync --extra dev and uv run pytest -v)\n\nCo-authored-by: openhands <openhands@all-hands.dev>
* Fix build script to fail CI when executable test fails
- Changed build.py to return exit code 1 when executable test fails
- This ensures GitHub workflow 'Build and Test Binary' fails appropriately
- Previously the workflow would pass even when executable couldn't run
Co-authored-by: openhands <openhands@all-hands.dev>
* collect data files
* add trace to err
* fix(build): ensure PyInstaller uses packaged SDK and keep docstrings
- Remove /openhands/code from sys.path in spec so analysis freezes agent-sdk's openhands package, not monorepo
- Set optimize=0 to retain docstrings required by PLY/bashlex grammar
This resolves runtime errors:
- No module named 'openhands.core.agent' (due to wrong package on path)
- bashlex IndexError from stripped docstrings when optimize=2
Co-authored-by: openhands <openhands@all-hands.dev>
* build(pyinstaller): include agent prompt templates in binary
- Add collect_data_files for openhands.core.agent.codeact_agent/prompts/*.j2 so runtime can load Jinja templates
Co-authored-by: openhands <openhands@all-hands.dev>
* ci(build): export dummy LITELLM env vars during binary build/test
- Set LITELLM_API_KEY and LITELLM_MODEL in Build and Test Binary workflow to exercise prompt/template and agent init paths
- Prevents regressions like missing Jinja templates from slipping by
Co-authored-by: openhands <openhands@all-hands.dev>
* Fix lint issues: add type annotations and format code
- Add missing return type annotations to test functions
- Fix import ordering and formatting issues
- Remove trailing whitespace and fix end-of-file issues
- Update typing imports to use collections.abc.Generator
- All pre-commit hooks now pass successfully
Co-authored-by: openhands <openhands@all-hands.dev>
---------
Co-authored-by: openhands <openhands@all-hands.dev>
0 commit comments