Repository navigation
feat: runzivo OpenHands skill and Agent Server backend over SSH - #1
Merged
Merged
Conversation
The runzivo skill teaches an OpenHands agent to create, connect to, check, stop, start and delete Runzivo sandboxes through rzv 0.26.0+, and to ask before deleting. bin/rzv-openhands-backend runs a pinned, checksummed OpenHands Agent Server in a sandbox on 127.0.0.1 and tunnels it over SSH for Agent Canvas or the SDK. Resolves Runzivo/rzv-platform#145 Signed-off-by: Ditah Kumbong <ditah.kumbong@runzivo.dev>
- start the agent server as the direct background job and stop an old one by its exact binary path, so connect after key really restarts it - key: refuse empty stdin and names other than *_API_KEY/_KEY/_TOKEN - up: on failure, say how to delete the sandbox; connect closes a tunnel on a previous port and rejects unknown options; port 1024-65535 - skill: pending or starting, stop waiting on failed/expired/deleted, credits are equivalent minutes; document that agent commands can read provider keys in the sandbox - e2e: resume the conversation when the model stops early, keep the sandbox id from up for cleanup, retry transient API errors, check the provider key is not under /workspace Signed-off-by: Ditah Kumbong <ditah.kumbong@runzivo.dev>
…y expects Signed-off-by: Ditah Kumbong <ditah.kumbong@runzivo.dev>
… e2e checks - up: expand the sandbox id when the EXIT trap is set; bash 3.2 drops function locals before the trap runs - remote start: stop any installed agent-server version, refuse if the port is still answering - 20-shared-e2e: checks read every turn of the step, so a resumed turn does not have to repeat a command - 30-backend-e2e: the /workspace key check fails unless grep found nothing Signed-off-by: Ditah Kumbong <ditah.kumbong@runzivo.dev>
Signed-off-by: Ditah Kumbong <ditah.kumbong@runzivo.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves Runzivo/rzv-platform#145
Part of Runzivo/rzv-platform#146
skills/runzivo: Agent Skills SKILL.md (with OpenHandstriggers:) that drivesrzv0.26.0+: sign-in check, createopenhands-<slug>, wait, SSH alias, run work, status/cost/expiry, stop/start, delete only after confirmation, error table. No keys, no scripts.bin/rzv-openhands-backend: OpenHands Agent Server 1.60.1 (pinned, SHA-256 checked) in a sandbox on 127.0.0.1, reached overssh -Las an Agent Canvas / SDK remote backend.scripts/10-check.sh+ shellcheck in CI (checkjob). Live tests:scripts/20-shared-e2e.sh(OpenHands CLI 1.16.0 headless) andscripts/30-backend-e2e.sh(SDK task through the tunnel).