Skip to content

Commit 4d69855

Browse files
committed
revise v1.3.0 release notes
1 parent e04fe8b commit 4d69855

File tree

2 files changed

+42
-167
lines changed
  • docs
    • i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.3.x/Release Notes
    • versioned_docs/version-1.3.x/Release Notes

2 files changed

+42
-167
lines changed
Lines changed: 41 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,68 @@
11
# v1.3.0
22

33
## 发布日期
4-
2026 年 2 月 3 日
5-
4+
2026 年 3 月 4 日
65

76
---
87

98
## SDK
109

1110
### 新功能
1211

13-
#### 运行时环境(Runtime Environment)
14-
**[运行时环境参考文档](../References/Python%20SDK%20References/runtime-env.md)**
15-
16-
- **新增**:通过 `extra_symlink_dir``extra_symlink_executables` 支持可执行文件符号链接,可将运行时可执行文件暴露到系统路径
17-
18-
#### Model Service(实验性)
19-
**[Model Service 参考文档](../References/Python%20SDK%20References/model-service.md)**
20-
21-
处理 Agent 与 LLM 推理服务之间的模型调用通信:
22-
- Local 模式:Agent 与 Roll 运行时之间的文件通信,基于文件的通信协议,实现请求-响应机制
23-
- Proxy 模式:支持请求转发到外部 LLM 服务,具备路由和重试功能
12+
#### Sandbox 客户端
13+
- **新增**: Sandbox 客户端中的 `close_session` 方法,用于显式管理会话生命周期 ([#451](https://github.com/alibaba/ROCK/pull/451))
2414

25-
- SDK 支持 `anti_call_llm`,用于代理 Agent 请求
26-
- **新增**:完整的 CLI start 命令参数(`--config-file``--host``--port``--proxy-base-url``--retryable-status-codes``--request-timeout`
27-
- **新增**:轨迹(traj)日志记录 - 将 LLM 请求/响应记录到 JSONL 文件(`ROCK_MODEL_SERVICE_DATA_DIR``ROCK_MODEL_SERVICE_TRAJ_APPEND_MODE`
28-
- **新增**:服务端 `ModelServiceConfig` 配置(`host``port``proxy_base_url``proxy_rules``retryable_status_codes``request_timeout`
15+
#### 评测示例
16+
- **swe_bench/**: 集成 iFlow 的 SWE-bench Verified 评测示例 ([#508](https://github.com/alibaba/ROCK/pull/508))
2917

30-
#### Agent 示例
31-
**[示例目录](https://github.com/Modelized/ROCK/tree/master/examples/agents)**
18+
## Admin
3219

33-
演示 ROCK Agent 与各种 AI 框架集成的实践示例:
20+
### 新功能
3421

35-
- **claude_code/**: Claude Code Agent 集成示例(使用 Node.js 运行时)
36-
- 命令:`claude -p ${prompt}`
37-
- 依赖:`npm install -g @anthropic-ai/claude-code`
38-
- 通过 `rock_agent_config.yaml` 配置
22+
#### Kubernetes Operator
23+
- **新增**: 支持 K8s Operator,用于基于 Kubernetes 的沙箱编排 ([#423](https://github.com/alibaba/ROCK/pull/423))
24+
-`extensions` 重命名为 `extended_params` 以保持一致性 ([#470](https://github.com/alibaba/ROCK/pull/470))
3925

40-
- **iflow_cli/**: iFlow CLI Agent 集成示例(使用 Node.js 运行时)
41-
- 命令:`iflow -p ${prompt} --yolo`
42-
- 依赖:`npm i -g @iflow-ai/iflow-cli@latest`
26+
#### Docker 镜像仓库登录
27+
- **新增**: 支持 Docker 镜像仓库登录,以便从私有镜像仓库拉取镜像 ([#537](https://github.com/alibaba/ROCK/pull/537))
4328

44-
- **swe_agent/**: SWE Agent 集成示例
45-
- 演示标准 ROCK Agent 设置模式
29+
#### Sandbox
4630

47-
- **iflow_cli/integration_with_model_service/**: Model Service 集成示例
48-
- **local/**: Local 模式示例,包含自定义 LLM 后端
49-
- 展示 `anti_call_llm` 用法和服务循环模式
50-
- **proxy/**: Proxy 模式示例,配合 iFlow CLI 使用
51-
- 演示 `rock model-service start --type proxy --proxy-base-url` 用法
31+
- **新增**: 沙箱镜像元数据中新增 `image_os` 字段 ([#510](https://github.com/alibaba/ROCK/pull/510))
32+
- **新增**: 支持 Kata 容器运行时,增强沙箱隔离性 ([#474](https://github.com/alibaba/ROCK/pull/474))
33+
- **新增**: 命名空间级别的指标采集 ([#427](https://github.com/alibaba/ROCK/pull/427))
34+
- **新增**: 支持指定端点的监控 ([#469](https://github.com/alibaba/ROCK/pull/469))
35+
- **新增**: 沙箱配置中新增自动清理秒数参数 ([#458](https://github.com/alibaba/ROCK/pull/458))
36+
- **新增**: `get_status` 遇到超时或失败阶段时上报指标 ([#552](https://github.com/alibaba/ROCK/pull/552))
5237

38+
---
5339

54-
## Admin
40+
### Enhancements
5541

56-
### 新功能
42+
#### 性能优化
43+
-`get_status` 从 rocklet 委托至 Ray operator,改善关注点分离 ([#487](https://github.com/alibaba/ROCK/pull/487))
5744

58-
#### 任务调度器(Task Scheduler)
59-
一个灵活的任务调度系统,用于管理 Ray Worker 节点上的周期性维护任务。
60-
61-
**内置任务:**
62-
- **ImageCleanupTask**:使用 [docuum](https://github.com/stepchowfun/docuum) 进行 Docker 镜像清理,支持可配置的磁盘阈值
63-
64-
**配置示例:**
65-
```yaml
66-
scheduler:
67-
enabled: true
68-
worker_cache_ttl: 3600
69-
tasks:
70-
- task_class: "rock.admin.scheduler.tasks.image_cleanup_task.ImageCleanupTask"
71-
enabled: true
72-
interval_seconds: 3600
73-
params:
74-
threshold: "1T"
75-
```
76-
77-
**可扩展性:**
78-
通过继承 `BaseTask` 并实现 `run_action(runtime: RemoteSandboxRuntime)` 方法来创建自定义任务。
79-
80-
#### Entrypoints
81-
82-
- **新增**: 批量查询沙箱状态 API (`POST /sandboxes/batch`)
83-
- 在单个请求中高效检索多个沙箱的状态信息
84-
- 接受包含 `sandbox_ids` 列表的 `BatchSandboxStatusRequest` 请求
85-
- 返回包含所有请求沙箱状态详情的 `BatchSandboxStatusResponse` 响应
86-
- 支持可配置的最大数量限制(默认值来自 `batch_get_status_max_count` 配置)
87-
88-
- **新增**: 沙箱列表和过滤 API (`GET /sandboxes`)
89-
- 使用灵活的查询参数查询和过滤沙箱
90-
- 通过 `page` 和 `page_size` 参数支持分页
91-
- 返回包含条目列表、总数和 `has_more` 标识的 `SandboxListResponse` 响应
92-
- 支持按沙箱属性过滤(例如:部署类型、状态、自定义元数据等)
93-
- 最大页面大小可通过 `batch_get_status_max_count` 配置
45+
#### 架构重构
46+
- 将沙箱生命周期管理操作(启动/停止/销毁)委托至 operator 层 ([#423](https://github.com/alibaba/ROCK/pull/423))
47+
- 将非管理类方法移回 proxy 服务,使服务边界更清晰 ([#433](https://github.com/alibaba/ROCK/pull/433))
48+
- 将调度器从独立进程重构为独立线程,降低资源开销 ([#507](https://github.com/alibaba/ROCK/pull/507))
9449

95-
#### Sandbox
50+
#### 部署
51+
- 部署格式化方法中支持 `${}``<<>>` 模板语法 ([#485](https://github.com/alibaba/ROCK/pull/485))
52+
- 在不需要时跳过对运行命令的包装 ([#483](https://github.com/alibaba/ROCK/pull/483))
53+
- 沙箱代理 HTTP 支持 ([#453](https://github.com/alibaba/ROCK/pull/453))
9654

97-
- 修改 Sandbox 日志格式:时间戳使用 ISO 8601 格式,默认时区为 Asia/Shanghai(亚洲/上海)
98-
- 丰富 SandboxInfo:添加 create_time、start_time、stop_time
99-
- 添加计费日志:当 sandbox 关闭时记录计费日志
55+
#### 配置
56+
- `/tmp` 作为 `ROCK_SERVICE_STATUS_DIR` 的默认值 ([#522](https://github.com/alibaba/ROCK/pull/522))
57+
- 支持阿里云 MSE 的 `server_addresses` 以集成 Nacos ([#521](https://github.com/alibaba/ROCK/pull/521))
10058

10159
---
10260

103-
### 增强
61+
### 缺陷修复
62+
63+
- 修复自定义安装命令未设置工作目录的问题 ([#505](https://github.com/alibaba/ROCK/pull/505))
64+
- 修复模型服务 CLI 命令中 Python 警告未被抑制的问题 ([#503](https://github.com/alibaba/ROCK/pull/503))
65+
- 修复本地 admin 启动失败的问题 ([#494](https://github.com/alibaba/ROCK/pull/494))
66+
- 修复调度器任务文件检测问题 ([#465](https://github.com/alibaba/ROCK/pull/465))
67+
- 修复抛出异常时 `count.total` 指标未上报的问题 ([#527](https://github.com/alibaba/ROCK/pull/527))
10468

105-
#### 性能优化
106-
- 实现 get_status 接口逻辑与 Ray 的解耦:将 API 响应耗时从 1s 以上显著降低至 100ms 级别;支持新旧逻辑的动态在线切换。
107-
- 将ray相关操作从sandbox manager中下沉至ray service。

docs/versioned_docs/version-1.3.x/Release Notes/v1.3.0.md

Lines changed: 1 addition & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# v1.3.0
22

33
## Release Date
4-
February 3, 2026
4+
Mar 4, 2026
55

66

77
---
@@ -10,54 +10,12 @@ February 3, 2026
1010

1111
### New Features
1212

13-
#### Runtime Environment
14-
**[Runtime Environment References Documentation](../References/Python%20SDK%20References/runtime-env.md)**
15-
16-
- **NEW**: Executable symlink support via `extra_symlink_dir` and `extra_symlink_executables` for exposing runtime executables to system paths ([#384](https://github.com/alibaba/ROCK/pull/384))
17-
18-
#### Model Service (Experimental)
19-
**[Model Service References Documentation](../References/Python%20SDK%20References/model-service.md)**
20-
21-
Handles AI model call communications between agents and LLM inference services:
22-
- Local mode: File-based IPC between Agent and Roll runtime, implementing request-response via file protocol
23-
- Proxy mode: Request forwarding to external LLM services with routing and retry support
24-
25-
- SDK supports `anti_call_llm` for proxying Agent requests ([#300](https://github.com/alibaba/ROCK/pull/300))
26-
- **NEW**: Complete CLI start command parameters (`--config-file`, `--host`, `--port`, `--proxy-base-url`, `--retryable-status-codes`, `--request-timeout`) ([#386](https://github.com/alibaba/ROCK/pull/386), [#388](https://github.com/alibaba/ROCK/pull/388))
27-
- **NEW**: Trajectory (traj) logging - records LLM request/response to JSONL files (`ROCK_MODEL_SERVICE_DATA_DIR`, `ROCK_MODEL_SERVICE_TRAJ_APPEND_MODE`) ([#394](https://github.com/alibaba/ROCK/pull/394), [#396](https://github.com/alibaba/ROCK/pull/396))
28-
- **NEW**: Server-side `ModelServiceConfig` configuration (`host`, `port`, `proxy_base_url`, `proxy_rules`, `retryable_status_codes`, `request_timeout`) ([#386](https://github.com/alibaba/ROCK/pull/386))
29-
3013
#### Sandbox Client
3114
- **NEW**: `close_session` method in Sandbox client for explicit session lifecycle management ([#451](https://github.com/alibaba/ROCK/pull/451))
3215

33-
#### Agent Examples
34-
**[Examples Directory](https://github.com/alibaba/ROCK/tree/master/examples/agents)**
35-
36-
Practical examples demonstrating ROCK Agent integration with various AI frameworks:
37-
38-
- **claude_code/**: Claude Code Agent integration example using Node.js runtime ([#356](https://github.com/alibaba/ROCK/pull/356))
39-
- Command: `claude -p ${prompt}`
40-
- Requires: `npm install -g @anthropic-ai/claude-code`
41-
- Configuration via `rock_agent_config.yaml`
42-
43-
- **iflow_cli/**: iFlow CLI Agent integration example using Node.js runtime ([#356](https://github.com/alibaba/ROCK/pull/356))
44-
- Command: `iflow -p ${prompt} --yolo`
45-
- Requires: `npm i -g @iflow-ai/iflow-cli@latest`
46-
47-
- **swe_agent/**: SWE Agent integration example ([#143](https://github.com/alibaba/ROCK/pull/143))
48-
- Demonstrates standard ROCK Agent setup pattern
49-
50-
- **qwen_code/cursor_cli/**: Qwen Code and Cursor CLI Agent integration examples ([#426](https://github.com/alibaba/ROCK/pull/426))
51-
5216
#### Evaluation Examples
5317
- **swe_bench/**: SWE-bench Verified evaluation demo with iFlow integration ([#508](https://github.com/alibaba/ROCK/pull/508))
5418

55-
- **iflow_cli/integration_with_model_service/**: Model Service integration examples ([#402](https://github.com/alibaba/ROCK/pull/402))
56-
- **local/**: Local mode example with custom LLM backend
57-
- Shows `anti_call_llm` usage and model service loop pattern
58-
- **proxy/**: Proxy mode example with iFlow CLI
59-
- Demonstrates `rock model-service start --type proxy --proxy-base-url` usage
60-
6119

6220
## Admin
6321

@@ -67,54 +25,12 @@ Practical examples demonstrating ROCK Agent integration with various AI framewor
6725
- **NEW**: K8s Operator support for Kubernetes-based sandbox orchestration ([#423](https://github.com/alibaba/ROCK/pull/423))
6826
- Rename `extensions` to `extended_params` for consistency ([#470](https://github.com/alibaba/ROCK/pull/470))
6927

70-
#### Early Docker Validation
71-
- **NEW**: Docker availability validation in `SandboxManager.start_async()` — fails fast with clear error message before attempting sandbox creation ([#542](https://github.com/alibaba/ROCK/pull/542))
72-
7328
#### Docker Registry Login
7429
- **NEW**: Support Docker registry login for pulling images from private registries ([#537](https://github.com/alibaba/ROCK/pull/537))
7530

76-
#### Task Scheduler
77-
A flexible task scheduling system for managing periodic maintenance tasks across Ray workers.
78-
79-
**Built-in Tasks:**
80-
- **ImageCleanupTask**: Docker image cleanup using [docuum](https://github.com/stepchowfun/docuum) with configurable disk threshold ([#382](https://github.com/alibaba/ROCK/pull/382))
81-
82-
**Configuration Example:**
83-
```yaml
84-
scheduler:
85-
enabled: true
86-
worker_cache_ttl: 3600
87-
tasks:
88-
- task_class: "rock.admin.scheduler.tasks.image_cleanup_task.ImageCleanupTask"
89-
enabled: true
90-
interval_seconds: 3600
91-
params:
92-
threshold: "1T"
93-
```
94-
95-
**Extensibility:**
96-
Create custom tasks by extending `BaseTask` and implementing the `run_action(runtime: RemoteSandboxRuntime)` method.
97-
98-
#### Entrypoints
99-
100-
- **NEW**: Batch sandbox status query API (`POST /sandboxes/batch`) ([#262](https://github.com/alibaba/ROCK/pull/262))
101-
- Efficiently retrieve status information for multiple sandboxes in a single request
102-
- Accepts `BatchSandboxStatusRequest` with `sandbox_ids` list
103-
- Returns `BatchSandboxStatusResponse` containing status details for all requested sandboxes
104-
- Supports up to configurable maximum count (default from `batch_get_status_max_count`)
105-
106-
- **NEW**: Sandbox listing and filtering API (`GET /sandboxes`) ([#266](https://github.com/alibaba/ROCK/pull/266))
107-
- Query and filter sandboxes with flexible query parameters
108-
- Supports pagination via `page` and `page_size` parameters
109-
- Returns `SandboxListResponse` with items, total count, and `has_more` indicator
110-
- Enables filtering by sandbox attributes (e.g., deployment type, status, custom metadata)
111-
- Maximum page size configurable via `batch_get_status_max_count`
11231

11332
#### Sandbox
11433

115-
- Modify Sandbox log format: use iso 8601 format for timestamp, default time zone is Asia/Shanghai ([#289](https://github.com/alibaba/ROCK/pull/289))
116-
- Enrich SandboxInfo: add create_time, start_time, stop_time for metrics ([#365](https://github.com/alibaba/ROCK/pull/365))
117-
- Add Billing log when sandbox is closed ([#365](https://github.com/alibaba/ROCK/pull/365))
11834
- **NEW**: `image_os` field for sandbox image metadata ([#510](https://github.com/alibaba/ROCK/pull/510))
11935
- **NEW**: Kata container runtime support for enhanced sandbox isolation ([#474](https://github.com/alibaba/ROCK/pull/474))
12036
- **NEW**: Namespace-level metrics collection ([#427](https://github.com/alibaba/ROCK/pull/427))
@@ -127,8 +43,6 @@ Create custom tasks by extending `BaseTask` and implementing the `run_action(run
12743
### Enhancements
12844

12945
#### Performance Optimizations
130-
- Decouple the `get_status` API logic from Ray, reducing API latency from 1s+ to 100ms+; support dynamically toggling between the new and legacy logic. ([#268](https://github.com/alibaba/ROCK/pull/268))
131-
- Sink ray operations from sandbox manager into ray service. ([#403](https://github.com/alibaba/ROCK/pull/403))
13246
- Delegate `get_status` from rocklet into Ray operator for improved separation of concerns ([#487](https://github.com/alibaba/ROCK/pull/487))
13347

13448
#### Architecture Refactoring

0 commit comments

Comments
 (0)