Skip to content

Commit 341429c

Browse files
Add repo.md with instructions for updating agent-sdk SHA (#29)
* Add repo.md with instructions for updating agent-sdk SHA Co-authored-by: openhands <openhands@all-hands.dev> * Move agent-SDK SHA update instructions to .openhands/microagents/repo.md - Removed repo.md from root directory - Added agent-SDK SHA update instructions to .openhands/microagents/repo.md - Ran make lint successfully Co-authored-by: openhands <openhands@all-hands.dev> --------- Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 44ab87c commit 341429c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.openhands/microagents/repo.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,15 @@ When using types, prefer modern typing syntax (e.g., use `| None` instead of `Op
2727
- **Do NOT send summary updates in the README.md** for the repository
2828
- **Do NOT create .md files in the root** of the repository to track or send updates
2929
- Only make documentation changes when explicitly requested to
30+
31+
## Updating Agent-SDK SHA
32+
33+
If the user says something along the lines of "update the sha" or "update the agent-sdk sha", you need to:
34+
35+
1. Use the `$GITHUB_TOKEN` to get the latest commit from the agent-sdk repository
36+
2. Update the poetry toml file with the new SHA
37+
3. Regenerate the uv lock file
38+
4. Run `./build.sh` to confirm that the build still works
39+
5. Open a pull request with the changes
40+
41+
If the build fails, still open the pull request and explain what error you're seeing, and the steps you plan to take to fix it; don't fix it yet though.

0 commit comments

Comments
 (0)