-
Notifications
You must be signed in to change notification settings - Fork 4
docs(sdk): polish SDK docs + CI follow-ups from review (PR-only sync, links, usage_id) #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Synced from agent-sdk ref: main
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Update sdk/getting-started.mdx to reference the actual hello world example file (examples/01_standalone_sdk/01_hello_world.py) instead of maintaining inline code. This allows the sync_code_blocks.py workflow to automatically keep the documentation in sync with the agent-sdk repository. Co-authored-by: openhands <openhands@all-hands.dev>
- Remove agent-sdk gitlink from index and add to .gitignore - Avoid broken submodule state and clarify intended local checkout behavior Co-authored-by: openhands <openhands@all-hands.dev>
- Don’t hard-fail when agent-sdk path is missing; exit cleanly - Replace blocks using known slice instead of inner regex - Remove GITHUB_OUTPUT coupling; rely on git status in workflow Co-authored-by: openhands <openhands@all-hands.dev>
- Limit to main/sdk pushes and PRs - Use peter-evans/create-pull-request to open PR instead of direct push Co-authored-by: openhands <openhands@all-hands.dev>
- Fix /sdk/getting-started link on SDK index - Hello World: use openhands.sdk.preset.default.get_default_agent and usage_id - Remove duplicate heading in custom-tools example - Workflow: only run on main/sdk and open PR for updates - Script: no-op if agent-sdk missing; simpler replacement - Ignore local agent-sdk checkout and remove gitlink Co-authored-by: openhands <openhands@all-hands.dev>
…o-authored-by: openhands <openhands@all-hands.dev>
- Add separate API tab for agent-sdk.json (generated by workflow) - Update company/blog/cloud anchors to openhands.dev Co-authored-by: openhands <openhands@all-hands.dev>
- Replace all-hands.dev -> openhands.dev for app/docs/blog/home - Preserve docker.* and jira.* hosts as-is Co-authored-by: openhands <openhands@all-hands.dev>
…pens PRs only - Replace /sdk/architecture/* links with working /sdk/arch/llms/* or remove - Hello World imports fixed and usage_id consistent - Domain move to openhands.dev; keep docker.* and jira.* - sync_code_blocks.py: no-op if SDK missing; remove walrus operator; simpler block replace - sync-sdk-changes workflow: create branch + PR for OpenAPI updates - docs.json: Agent SDK (v1) is primary; add OpenAPI tab for Agent SDK Co-authored-by: openhands <openhands@all-hands.dev>
…ot identity - Add pull-requests: write - Use create-pull-request for agent-sdk OpenAPI updates - Update bot name/email to openhands.dev Co-authored-by: openhands <openhands@all-hands.dev>
|
Will review first thing tomorrow 👍 |
|
Thank you. They're actually to Xingyao's PR, so it's like, they're meant to be:
|
…g deletion (replaced by sync-agent-sdk-openapi.yml)
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
|
Looks generally okay. I don't know what the sync job is for but wondering if it's just for SDK, it can just run when SDK changes or something. Also can you run: mint broken-links |
|
Yes, it’s a bit in flux. I think this PR or the other were trying to fix broken links. |
Synced from agent-sdk ref: main
Synced from agent-sdk ref: main
…ructure (#33) Co-authored-by: openhands <openhands@all-hands.dev>
Summary
Key changes
Notes
Testing
Request
Please review and merge into sdk (PR #32 source branch). This keeps CI non-destructive (PR-only), fixes broken links, and aligns SDK docs with v1 expectations.
@enyst can click here to continue refining the PR