Skip to content

feat(agentstudio): add Sandbox and managed Agent APIs - #306

Merged
luk384090-cloud merged 17 commits into
dashscope:mainfrom
guningLt:dev/agentstudio-sandbox-api
Dec 3, 2026
Merged

luk384090-cloud merged 17 commits into
dashscope:mainfrom
guningLt:dev/agentstudio-sandbox-api

Conversation

@guningLt

@guningLt guningLt commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add com.alibaba.dashscope.agentstudio.sandbox so applications can manage Sandbox resources and use DeepSeek Harness/OpenClaw through DashScope Java SDK.

  • Provide a unified client for official-image templates, template files, Sandbox lifecycle operations and typed resource handles.
  • Support managed Agent launch, lookup, sessions, turns, SSE subscriptions, cancellation, attachments and release.
  • Open native DSH/OpenClaw Web UIs through a local preview, with template/Sandbox reuse, automatic OpenClaw device pairing by default and cleanup of newly created resources.

The implementation is contained in the new Sandbox package and preview resource. It reuses OkHttp and explicitly declares Jackson for Sandbox JSON mapping.

Validation

Validation in the separate demo/regression projects covers five official images, template/instance/file APIs, managed Agent workflows and native Web UI creation, reuse, pairing, conversation and cleanup. Test code is maintained in those separate demo/regression projects.

Usage notes

  • Model credentials are configured independently of the platform API key.
  • Reused templates and Sandboxes must correspond to the requested Harness image.
  • Native Web UI previews require Node.js when used; explicit autoPairOpenClaw=false retains manual pairing.
  • The known OpenClaw image cancellation/next-turn issue is outside this SDK change.

@guningLt
guningLt requested a review from kevinlin09 December 2, 2026 10:36
@luk384090-cloud
luk384090-cloud requested review from luk384090-cloud and removed request for kevinlin09 December 2, 2026 10:41
luk384090-cloud
luk384090-cloud approved these changes Dec 3, 2026 •
@luk384090-cloud
luk384090-cloud merged commit 4339556 into dashscope:main Dec 3, 2026
6 checks passed
luk384090-cloud pushed a commit that referenced this pull request Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants