feat(studio): support VeStack deployment and personal sandbox agents - #1057
Merged
yaozheng-fang merged 2 commits intoSep 4, 2026
Merged
Conversation
Xiaoaier-Z-L
force-pushed
the
fix/vestack-studio-pr-clean
branch
from
September 4, 2026 04:28
7c72881 to
84ae3fa
Compare
yaozheng-fang
approved these changes
Sep 4, 2026
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.
背景
VeADK Studio 当前主要通过公有云 VeFaaS Application 部署。VeStack 环境缺少对应的 Application/BFF 能力,需要使用预构建镜像创建 VeFaaS Function,并通过 APIG 暴露浏览器访问地址。
此外,Studio 原有权限将“通用 Runtime 部署”和“个人 Sandbox 智能体创建”绑定在一起,导致普通用户无法创建 Codex、Hermes、DeepSeek Harness 等个人智能体。
VeStack 新增能力
Studio 混合云部署
新增
veadk studio deploy --deploy-target vestack:可配置的 VeStack 环境参数
支持配置:
代码中没有写死 e70、节点 IP、域名或 NodePort。只有明确指定
--deploy-target vestack时才进入混合云部署分支。VeStack Studio 镜像
新增 VeStack Dockerfile、启动脚本和构建文档:
run.sh;独立 Managed Tool
VeStack 不依赖全局 Sandbox Tool,而是为每个个人智能体创建独立 Tool:
强制磁盘持久化
VeStack Managed Tool 使用
DiskGb:VeStack IAM 隔离
新增独立的 VeStack IAM 分支:
公有云修改
普通用户创建个人智能体
新增
createPersonalAgents权限,与createAgents分离:普通用户现在可以创建 Codex、Hermes、DeepSeek Harness 和 OpenClaw,但仍不能创建或管理通用 Runtime。
该权限调整同时适用于公有云和 VeStack。
创建界面能力协商
Sandbox 创建窗口会读取后端能力,判断:
公有云继续使用原有 Snapshot 逻辑;DiskGb 只在 VeStack Managed Tool 模式使用。
Hermes 和 Sandbox 代理
完善 Studio 内的 Sandbox 访问:
这些代理能力同时支持公有云共享 Tool 和 VeStack 独立 Tool。
公有云兼容性
公有云默认部署逻辑保持不变:
veadk studio deploy默认仍使用 application 模式;VeStack 特有逻辑由
--deploy-target vestack和VEADK_STUDIO_DEPLOY_TARGET=vestack显式隔离。安全性
验证
分支:
fix/vestack-studio-pr-clean提交:
92c3ed80 feat(studio): add VeStack deployment and managed sandboxesf0d2ea7a feat(studio): expose personal sandbox controls to users已覆盖:
补充执行结果:
验证当前分支的注意事项
当前提交尚未发布到 PyPI。公有云部署当前 checkout 时必须增加
--from-source:uv run veadk studio deploy --from-source ...只进入源码目录执行
veadk studio deploy不会自动打包当前 checkout;未指定--from-source时,Function 默认安装 PyPI 版本。