Skip to content

AstraBox 0.1.15

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Nov 21:49
· 6 commits to main since this release
3b80e11

AstraBox 0.1.15

English

Added

  • dsh-superagent Assistants. An Assistant can run on dsh-superagent: it takes requests from GitHub, or from your own ticket service, and has its owner's Agents do the work over A2A. Guide
  • A2A task outcome. An Agent reports a task's outcome with report_outcome: a declined request ends TASK_STATE_REJECTED, and the branch, commit and pull request travel in an extension. Guide
  • Codex on a ChatGPT plan. Users link ChatGPT accounts (astrabox model-account login chatgpt, or the console's new Model accounts page), and a chatgpt_plan RuntimeProfile runs Codex on the conversation owner's account. With the team pool on, shared accounts take over when one reaches its limit. Guide
  • Claude Code on your own account. anthropic_api_key runs Claude Code on the owner's Anthropic API key; claude_login runs it on the login the user makes inside the sandbox. API key · Login
  • Several provider accounts for one model on the bundled gateway. Guide
  • Sandbox size per RuntimeProfile: CPU and memory. Guide
  • A container engine in the sandbox. sandbox_container_engine: docker gives a conversation a rootless Docker Engine, on Docker and on Kubernetes. Guide
  • Host networks and storage. A RuntimeProfile can join Docker networks and mount host directories, volumes or PersistentVolumeClaims the operator allows. Guide
  • Execd access token (ASTRABOX_SANDBOX_EXECD_ACCESS_TOKEN, off by default, bundled Docker only). Guide
  • OAuth2 Vault credentials. An environment-variable credential can get its value from a password or client_credentials grant; the server renews the token, also while a response runs.
  • Assistants accept every Vault credential type, not only MCP credentials.
  • Signed generic_json requests, a continuing conversation by conversation_id, and an event's fields in data. Guide
  • Session list filters: agent_id and runtime_status on GET /api/v1/sessions.
  • Installer settings review: the installer shows and asks for the settings that depend on the host and the team. Guide

Fixed and improved

  • A conversation whose runtime fails to start reports the code in the Session's new last_error_code.
  • A response can run longer than the sandbox lease without losing its box.
  • Kubernetes: pausing an idle sandbox no longer loses it while OpenSandbox is still committing.
  • Kubernetes: hibernating, deleting and replacing a sandbox no longer wait about 15 seconds for the Pod to stop.
  • A Claude Code conversation that left a background shell running is ready for the next message; the console lists the shells, each with a Stop.
  • A2A CancelTask stops the work a task's message started. It used to be refused.
  • Deleting an Agent stops the boxes its conversations hold.
  • Deleting an Assistant or one of its conversations no longer fails after the Assistant's box was replaced.
  • A command that prints a NUL character no longer stops the conversation for good.
  • A conversation's sandbox no longer dies while starting on a busy host.
  • POST /api/v1/sessions/{session_id}/inputs refuses a field it does not take instead of dropping it.
  • Compose: every operator setting in containers/.env reaches the server; 108 documented settings did not.
  • An Assistant on a non-default engine starts under a resource preparation provider again.
  • A Hermes Assistant's workspace starts about a tenth sooner on a new box.
  • The server names the signal when a bundled service is killed at startup; the server container needs 4 GiB.
  • The source-development stack loads the checkout's providers and engines.
  • A fractional sandbox CPU limit above the host's CPU count no longer fails every create on Docker.
  • astrabox verify-opensandbox-snapshots no longer times out on a slow-starting Pod.
  • Codex 0.169.0; dependency updates.

Upgrading

  • Update the server image and every sandbox image together. New images: egress and sandbox-dsh-superagent.
  • OpenSandbox moves to 1.2.1. On Kubernetes, install the controller, CRDs and ingress Gateway from release-1.2.1. With an existing OpenSandbox service, set terminationGracePeriodSeconds: 1 in its BatchSandbox template. Guide
  • Remove ASTRABOX_SANDBOX_SERVER_KUBE_INFORMER from the settings.
  • Every account that can sign in may now use the deployment (ASTRABOX_ENVIRONMENT_ENTRY_POLICY=authenticated). Select members to keep the Environment member list.
  • Codex and DeepSeek Harness conversations start in danger-full-access when no permission mode is selected.
  • On Docker, Advanced-level sandboxes run without masked /proc and /sys paths; give that level only to trusted teams.
  • A first install without a terminal needs ASTRABOX_SANDBOX_QUOTA_MEMORY.
  • POST /api/v1/admin/sandbox-idle-sweep reports idle_parking_started and idle_parking_in_flight.
  • PostgreSQL applies schema revisions 0017 to 0027 on startup; external persistence providers need the new schema.
  • Provider authors: pause returns True only once the box is paused; SandboxClientPoolStatus.last_error is a message; engine, networks and mounts need the provider's capability flags; model endpoint providers declare credential_owner.
  • A host-run lifecycle server that publishes sandbox ports on a non-loopback address is refused at startup.

中文

新增

  • dsh-superagent Assistant。 Assistant 可以运行在 dsh-superagent 上:从 GitHub 或你自己的工单服务接收请求,通过 A2A 让所有者的 Agent 完成工作。文档
  • A2A 任务结果。 Agent 用 report_outcome 报告任务结果:拒绝的请求以 TASK_STATE_REJECTED 结束,分支、提交和 pull request 通过扩展传递。文档
  • Codex 使用 ChatGPT 订阅。 用户关联 ChatGPT 账号(astrabox model-account login chatgpt,或控制台新增的 Model accounts 页面),chatgpt_plan RuntimeProfile 用对话所有者的账号运行 Codex。开启团队池后,某个账号用量到限时由共享账号接替。文档
  • Claude Code 使用自己的账号。 anthropic_api_key 用所有者的 Anthropic API key 运行 Claude Code;claude_login 用用户在沙箱内自行登录的账号运行。API key · 登录
  • 一个模型配多个供应商账号(内置网关)。文档
  • 按 RuntimeProfile 设置沙箱大小:CPU 和内存。文档
  • 沙箱内的容器引擎。 sandbox_container_engine: docker 给对话一个 rootless Docker Engine,Docker 和 Kubernetes 上都可用。文档
  • 主机网络与存储。 RuntimeProfile 可以加入 Docker 网络,挂载运维人员允许的主机目录、卷或 PersistentVolumeClaim。文档
  • execd 访问令牌(ASTRABOX_SANDBOX_EXECD_ACCESS_TOKEN,默认关闭,仅内置 Docker)。文档
  • OAuth2 Vault 凭证。 环境变量凭证可以通过 password 或 client_credentials 授权获取值;服务端负责续期,回复进行中也会续。
  • Assistant 接受所有 Vault 凭证类型,不再只限 MCP 凭证。
  • generic_json 签名请求、按 conversation_id 持续的对话,以及用 data 携带事件字段。文档
  • Session 列表筛选:GET /api/v1/sessions 支持 agent_id 和 runtime_status。
  • 安装器设置确认:安装器展示并询问取决于主机和团队的设置。文档

修复与改进

  • 运行时启动失败的对话会在 Session 新增的 last_error_code 中报告错误码。
  • 单次回复可以超过沙箱租约时长而不丢失沙箱。
  • Kubernetes:OpenSandbox 仍在提交快照时,暂停空闲沙箱不再把它弄丢。
  • Kubernetes:休眠、删除和更换沙箱不再为 Pod 停止等待约 15 秒。
  • 留下后台 shell 的 Claude Code 对话可以直接接收下一条消息;控制台列出这些 shell,每个都有 Stop。
  • A2A CancelTask 会停止任务消息引发的工作,此前一律拒绝。
  • 删除 Agent 会停止其对话占用的沙箱。
  • Assistant 的沙箱被更换后,删除 Assistant 或其对话不再失败。
  • 命令输出 NUL 字符不再让对话永久停住。
  • 主机繁忙时,对话的沙箱不再在启动过程中退出。
  • POST /api/v1/sessions/{session_id}/inputs 拒绝它不接收的字段,不再静默丢弃。
  • Compose:containers/.env 里的每个运维设置都会传给 server,此前有 108 个文档列出的设置没有传到。
  • 使用非默认引擎的 Assistant 在资源准备 provider 下可以再次启动。
  • Hermes Assistant 的工作区在新沙箱上启动快约十分之一。
  • 内置服务在启动时被信号杀死时,server 会报出信号名;server 容器需要 4 GiB 内存。
  • 源码开发栈会加载 checkout 中的 provider 和引擎。
  • Docker 上,高于主机 CPU 数的非整数沙箱 CPU 上限不再导致每次创建失败。
  • astrabox verify-opensandbox-snapshots 不再因 Pod 启动慢而超时。
  • Codex 0.169.0;依赖更新。

升级说明

  • server 镜像和所有沙箱镜像一起更新。新增镜像:egress 和 sandbox-dsh-superagent。
  • OpenSandbox 升级到 1.2.1。Kubernetes 上请从 release-1.2.1 安装 controller、CRD 和 ingress Gateway。使用已有 OpenSandbox 服务时,在其 BatchSandbox 模板中设置 terminationGracePeriodSeconds: 1。文档
  • 从设置中删除 ASTRABOX_SANDBOX_SERVER_KUBE_INFORMER。
  • 所有能登录的账号默认都可以使用部署(ASTRABOX_ENVIRONMENT_ENTRY_POLICY=authenticated)。要继续使用 Environment 成员列表,请选择 members。
  • 未选择权限模式时,Codex 和 DeepSeek Harness 对话以 danger-full-access 启动。
  • Docker 上,Advanced 级别的沙箱不再遮蔽 /proc 和 /sys 路径;只把该级别给可信团队。
  • 没有终端的首次安装需要设置 ASTRABOX_SANDBOX_QUOTA_MEMORY。
  • POST /api/v1/admin/sandbox-idle-sweep 改为报告 idle_parking_started 和 idle_parking_in_flight。
  • PostgreSQL 启动时应用 schema 修订 0017 到 0027;外部持久化 provider 需要新 schema。
  • Provider 作者:pause 只在沙箱确实暂停后返回 True;SandboxClientPoolStatus.last_error 改为消息;引擎、网络和挂载需要 provider 声明对应能力;模型端点 provider 声明 credential_owner。
  • 在主机上运行、并把沙箱端口发布到非回环地址的生命周期服务会在启动时被拒绝。