feature: add git_clone, list_sandboxes, and manage_sandbox tools#7
Open
hjpinheiro wants to merge 1 commit into
Open
feature: add git_clone, list_sandboxes, and manage_sandbox tools#7hjpinheiro wants to merge 1 commit into
hjpinheiro wants to merge 1 commit into
Conversation
Three new tools for development workflow and resource management: - git_clone: clone a Git repository into a sandbox (supports branch, commit checkout, and private repo authentication) - list_sandboxes: list all sandboxes with their IDs and states - manage_sandbox: lifecycle management (start, stop, archive) with a single action parameter These complement the existing create_sandbox/destroy_sandbox tools to provide full sandbox lifecycle management.
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.
Summary
Three new tools for development workflow and resource management:
git_clonesandbox.git.clone(url, path, branch, commit_id, username, password)list_sandboxesdaytona.list(query=ListSandboxesQuery(limit=N))manage_sandboxsandbox.start()/sandbox.stop()/sandbox.archive()Design
actionselect parameter (start/stop/archive) — avoids adding 3 separate tools for related operationsstart: resumes a stopped/archived sandbox (callsstart()+wait_for_sandbox_start())stop: pauses a running sandbox (filesystem preserved, costs reduced)archive: compresses for long-term storage (minimal cost, slower resume)daytona.get()directly instead ofget_sandbox()to avoid unintended auto-start when stopping/archivingThese complement the existing
create_sandbox/destroy_sandboxtools to provide full lifecycle management:Testing
.pyfiles passpy_compile.yamlfiles passyaml.safe_loadprovider/daytona.yamlvalidates with 10 total tools (7 original + 3 new)