43 Commits

Author SHA1 Message Date
Rohit Malhotra a32d621417 Remove OpenHands start and stop hooks (#345)
Remove .openhands/hooks.json and .openhands/hooks/on_stop.sh which were
blocking subsequent prompts by running quality gate checks (npm run lint
and npm test) before allowing agent completion.

Co-authored-by: openhands <openhands@all-hands.dev>
2026-05-11 19:07:05 -04:00
Rohit Malhotra d281324c67 Add session_start hook to run setup.sh automatically (#343)
* fix(setup): always run npm ci to ensure hooks have dependencies

The on_stop.sh hook runs npm run lint and npm test, which require
node_modules to be installed. Previously, setup.sh only ran npm ci
if node_modules was missing, which could fail if:
- node_modules existed but was incomplete/corrupt
- setup.sh hadn't completed before hooks ran
- package-lock.json was updated but node_modules was stale

Now npm ci always runs during setup, ensuring dependencies are
consistently installed when OpenHands begins working with the repo.

Co-authored-by: openhands <openhands@all-hands.dev>

* Add session_start hook to run setup.sh automatically

The hooks.json was missing a session_start hook, which meant setup.sh
(which installs npm packages via 'npm ci') was never run automatically
when OpenHands began working with this repository.

This caused the stop hook to fail because npm packages weren't installed.

Co-authored-by: openhands <openhands@all-hands.dev>

---------

Co-authored-by: openhands <openhands@all-hands.dev>
2026-05-11 17:36:34 -04:00
Graham Neubig 00f1d99b1c Fix lint failures and enforce linting in CI (#209)
* Fix lint errors and run lint in CI

Closes #208

Co-authored-by: openhands <openhands@all-hands.dev>

* fix: enforce LF line endings in CI

Co-authored-by: openhands <openhands@all-hands.dev>

* chore: address PR review feedback (#209)

Co-authored-by: openhands <openhands@all-hands.dev>

* chore: use stop hook for OpenHands quality gate

Co-authored-by: openhands <openhands@all-hands.dev>

* fix: resolve main merge typecheck failure

Co-authored-by: openhands <openhands@all-hands.dev>

* fix: keep settings retry helper iterative

Co-authored-by: openhands <openhands@all-hands.dev>

---------

Co-authored-by: openhands <openhands@all-hands.dev>
2026-05-09 07:35:39 -04:00
Rohit Malhotra 6fa219cf25 feat: use uvx for temporary agent-server installation in dev mode (#99)
* feat: use uvx for temporary agent-server installation in dev mode

- Replace direct agent-server CLI invocation with uvx temporary install
- Add OH_AGENT_SERVER_VERSION env var for specific PyPI versions
- Add OH_AGENT_SERVER_GIT_REF env var for git commits/branches
- Auto-install uv in .openhands/setup.sh if not present
- Update documentation (README, DEVELOPMENT.md, AGENTS.md)
- Add comprehensive tests for buildAgentServerCommand()

This removes the requirement to permanently install agent-server via
'uv tool install'. Users only need uv installed, and npm run dev will
automatically download and run the appropriate agent-server version.

Co-authored-by: openhands <openhands@all-hands.dev>

* fix: use subdirectory syntax for git ref in uvx monorepo

The software-agent-sdk is a uv workspace monorepo with packages in
subdirectories (openhands-agent-server/, openhands-tools/, etc.).

When installing from git, uvx requires the #subdirectory= fragment to
specify which package to install from the workspace.

Tested with: OH_AGENT_SERVER_GIT_REF=main npm run dev

Co-authored-by: openhands <openhands@all-hands.dev>

---------

Co-authored-by: openhands <openhands@all-hands.dev>
2026-05-05 13:14:14 -04:00
Graham Neubig 72eef808f0 Add OpenHands repository setup files (#23)
Co-authored-by: openhands <openhands@all-hands.dev>
2026-04-25 18:22:43 -04:00
Graham Neubig cb9138caf6 chore: clear repository for Agent Canvas migration (#15397)
Co-authored-by: neubig <neubig@users.noreply.github.com>
2026-07-27 09:09:20 -04:00
Tim O'Farrell 8a880b2996 docs: fix stale and inaccurate markdown documentation (#14256)
Co-authored-by: openhands <openhands@all-hands.dev>
2026-05-01 11:38:57 -06:00
Xingyao Wang 9171986dde Consolidate repo guidance into AGENTS.md (#12375)
Co-authored-by: openhands <openhands@all-hands.dev>
2026-01-13 15:53:14 +00:00
Engel Nyst 08df955ba7 Clarify OpenHands naming (replace “OSS” wording in docs and backend) (#12235)
Co-authored-by: openhands <openhands@all-hands.dev>
2026-01-07 07:24:27 +01:00
Engel Nyst 15bc78f4c1 Remove VSCode extension integration from OpenHands repo (#12234) 2026-01-01 19:28:05 +01:00
Hiep Le 9ef11bf930 feat: show available skills for v1 conversations (#12039) 2025-12-17 23:25:10 +07:00
John-Mason P. Shackelford 694ac74bb9 chore: repo.md now has instructions for enterprise directory (#11478)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-27 07:45:04 -04:00
骆艺轩 ecfbae2285 refactor: Tweak labels prompt (#10523) (#10757) 2025-09-06 03:17:44 +02:00
Xingyao Wang 3fea7fd2fc feat: improve MCP config UI with comprehensive add/edit/delete functionality (#10145)
Co-authored-by: OpenHands <openhands@all-hands.dev>
2025-08-18 16:33:27 +00:00
Engel Nyst 97bcb2162d Add instruction to use existing repository labels in PR/MR microagents (#10446)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-08-18 04:35:20 +02:00
Erkin Alp Güney a59a6f3041 Optimize pre commit hooks (#9939)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-07-28 16:07:22 +04:00
Engel Nyst fcb190281c microagent: Add Git best practices (#9335)
Co-authored-by: OpenHands <openhands@all-hands.dev>
2025-07-25 21:45:00 +08:00
Xingyao Wang 58ea7b5248 Add make lint to pre-commit hook (#9795)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-07-22 12:36:54 -04:00
Xingyao Wang cd32b5508c Add OpenAI o3 model support to verified models and OpenHands provider (#9720)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-07-15 18:19:44 +00:00
Engel Nyst ef502ccba8 Add CLI/vscode integration (#9085)
Co-authored-by: OpenHands-Gemini <openhands@all-hands.dev>
Co-authored-by: Claude 3.5 Sonnet <claude-3-5-sonnet@anthropic.com>
2025-07-03 22:42:06 +02:00
Engel Nyst 0c1c570dac Microagents doc (for LLMs) (#9324)
Co-authored-by: OpenHands-Claude <openhands@all-hands.dev>
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2025-06-24 17:04:36 +02:00
Graham Neubig 91e6d359c2 Update repo.md with better "openhands with openhands" directions (#9216) 2025-06-18 12:38:51 -04:00
Graham Neubig e6e0f4673f docs: Add "Running OpenHands with OpenHands" section for recursive development (#9146)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-06-16 20:57:52 -04:00
Xingyao Wang 96fe5a50d6 Update repo.md (#9054) 2025-06-10 21:51:13 -04:00
Xingyao Wang 73f01657eb docs: Add TanStack Query state management documentation (#9047) 2025-06-10 16:44:00 -04:00
Kent Johnson 35d2281717 feat: Add dev container (#8589) 2025-05-26 21:35:27 -04:00
Xingyao Wang be78cc07bd docs: add documentation for adding user settings and tooltips (#8634)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-05-22 17:38:54 +00:00
Graham Neubig 0b26174d60 Add documentation microagent (#8563)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-05-18 16:34:15 -04:00
mamoodi e06aac7521 Remove unnecessary frontmatter from repo microagent (#8477) 2025-05-13 11:32:35 -04:00
Engel Nyst 10c56932af Fix: update pre-commit docs (#8433)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-05-12 02:13:33 +02:00
Graham Neubig 689d3c9046 Update pre-commit hook versions to most recent versions (#8343)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-05-08 03:59:13 +00:00
Robert Brennan 64b5c0a604 Add support for pre-commit.sh git hook (#8095)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-05-05 09:56:07 -04:00
Xingyao Wang 4de8c4d6b1 Update repo microagent docs with frontend action handling information (#7856)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-04-16 14:27:31 +00:00
Xingyao Wang b6321488bc Update pre-commit instructions in repository memory (#7595)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-03-31 21:15:45 +08:00
Xingyao Wang 2c4496b129 feat: Use LLM-generated natural-language descriptions as conversation title (#7049)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-03-30 21:34:07 +00:00
Graham Neubig aab818716e Add Japanese documentation (#7386)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-03-28 14:14:45 +00:00
Xingyao Wang e2a0884ecd Update repo.md to remind the agent about PR template (#7456) 2025-03-24 02:03:56 +00:00
Robert Brennan 3c43d3d154 Auto-generate conversation titles from first user message (#7390)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com>
2025-03-22 22:07:33 +00:00
Engel Nyst c830177207 Move security.md to the global microagents (#7361) 2025-03-20 05:40:05 +08:00
Nick 78708efbf1 feat(microagents): Add security microagent (#7323) 2025-03-18 17:13:06 +00:00
Robert Brennan 75f3f282af Add comprehensive OpenHands glossary (#6310)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2025-02-10 10:13:39 -05:00
Xingyao Wang c1b514e9d3 refactor: restructure microagents system (#5886)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-01-03 07:13:18 +09:00
Robert Brennan e2a25f1b31 update .openhands instructions (#5821) 2024-12-26 18:15:49 +00:00