Skip to content

Commit e16dd2d

Browse files
committed
docs: align OpenCLI consumer examples with the version line
1 parent f2e9e03 commit e16dd2d

2 files changed

Lines changed: 30 additions & 28 deletions

File tree

‎README.md‎

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
[English](./README.md) | [简体中文](./README.zh-CN.md)
44

5-
[![Java](https://img.shields.io/badge/Java-21-orange)](https://github.com/easy-4-java/opencli-java-sdk) [![License](https://img.shields.io/badge/license-Apache%202.0-green)](./LICENSE)
5+
[![Java](https://img.shields.io/badge/Java-17-orange)](https://github.com/easy-4-java/opencli-java-sdk) [![License](https://img.shields.io/badge/license-Apache%202.0-green)](./LICENSE)
66

77
Multi-adapter CLI integration SDK for OpenCLI: browser / desktop / public-API adapters, remote agent and center WebSocket
88
[简体中文](./README.zh-CN.md)
99

10-
> **Current branch**: `feature/3.0.x`
11-
> **Version**: `3.0.x.20260630-SNAPSHOT`
12-
> **JDK baseline**: 21
13-
> **Project status**: stable (3.0.x line). Not yet published to Maven Central; artifacts are distributed via the Aliyun Maven repository and GitHub Releases.
10+
> **Maintenance line**: `feature/2.0.x`
11+
> **Version**: `2.0.x.20260630-SNAPSHOT`
12+
> **JDK baseline**: 17
13+
> **Release notes**: [2.0.x.20260630](https://github.com/easy-4-java/opencli-java-sdk/releases/tag/v2.0.x.20260630)
1414
1515
## Table of Contents
1616

@@ -70,11 +70,12 @@ Multi-adapter CLI integration SDK for OpenCLI: browser / desktop / public-API ad
7070

7171
| Component | Version | Notes |
7272
|---|---:|---|
73-
| JDK | 21+ | 1.0.x line baseline |
74-
| commons-exec | — | Local subprocess execution |
75-
| Unirest Java | — | Remote agent HTTP |
76-
| Java-WebSocket | — | Center WebSocket |
77-
| Jackson databind | 2.17.x | JSON parsing |
73+
| JDK | 17+ | 2.0.x line baseline |
74+
| Maven | 3.9.16 | Repository Maven Wrapper version |
75+
| commons-exec | 1.6.0 | Local subprocess execution |
76+
| Unirest Java | 3.14.5 | Remote agent HTTP |
77+
| Java-WebSocket | 1.6.0 | Center WebSocket |
78+
| `com.fasterxml.jackson.core:jackson-databind` | 2.22.1 | JSON parsing |
7879
| SLF4J | 2.0.18 | Logging facade |
7980

8081
Version-line matrix:
@@ -133,14 +134,14 @@ Maven:
133134
<dependency>
134135
<groupId>io.github.easy4j</groupId>
135136
<artifactId>opencli-java-sdk</artifactId>
136-
<version>3.0.x.20260630-SNAPSHOT</version>
137+
<version>2.0.x.20260630-SNAPSHOT</version>
137138
</dependency>
138139
```
139140

140141
Gradle:
141142

142143
```groovy
143-
implementation 'io.github.easy4j:opencli-java-sdk:3.0.x.x.20260630-SNAPSHOT'
144+
implementation 'io.github.easy4j:opencli-java-sdk:2.0.x.20260630-SNAPSHOT'
144145
```
145146

146147
Snapshot builds require an enabled snapshot repository (Aliyun Maven snapshot repository per `distributionManagement` in `pom.xml`).
@@ -272,9 +273,9 @@ mvn clean verify
272273

273274
| Branch | Version pattern | JDK | Maintenance policy |
274275
|---|---|---|---|
275-
| `feature/1.0.x` (this branch) | `1.0.x.*` | 8 | Compatibility fixes and JDK-8-safe dependency upgrades only |
276+
| `feature/1.0.x` | `1.0.x.*` | 8 | Compatibility fixes and JDK-8-safe dependency upgrades only |
276277
| `feature/2.0.x` | `2.0.x.*` | 17 | JDK 17 line |
277-
| `feature/3.0.x` (this branch) | `3.0.x.*` | 21 | JDK 21 line |
278+
| `feature/3.0.x` | `3.0.x.*` | 21 | JDK 21 line |
278279

279280
Branch POMs (JDK and dependency stack per line) are rendered by `scripts/render-branch-pom.py`.
280281

‎README.zh-CN.md‎

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
[English](./README.md) | [简体中文](./README.zh-CN.md)
44

5-
[![Java](https://img.shields.io/badge/Java-21-orange)](https://github.com/easy-4-java/opencli-java-sdk) [![License](https://img.shields.io/badge/license-Apache%202.0-green)](./LICENSE)
5+
[![Java](https://img.shields.io/badge/Java-17-orange)](https://github.com/easy-4-java/opencli-java-sdk) [![License](https://img.shields.io/badge/license-Apache%202.0-green)](./LICENSE)
66

77
面向 OpenCLI 多适配器体系的 Java SDK:browser / desktop / public-api 适配器、远程 Agent 与中心 WebSocket
88

9-
> **当前分支**:`feature/3.0.x`
10-
> **版本**:`3.0.x.20260630-SNAPSHOT`
11-
> **JDK 基线**:21
12-
> **项目状态**:稳定(3.0.x 线)。尚未发布 Maven Central;制品通过 Aliyun Maven 仓库与 GitHub Releases 分发。
9+
> **维护线**:`feature/2.0.x`
10+
> **版本**:`2.0.x.20260630-SNAPSHOT`
11+
> **JDK 基线**:17
12+
> **发布说明**:[2.0.x.20260630](https://github.com/easy-4-java/opencli-java-sdk/releases/tag/v2.0.x.20260630)
1313
1414
## 目录
1515

@@ -69,11 +69,12 @@
6969

7070
| 组件 | 版本 | 说明 |
7171
|---|---:|---|
72-
| JDK | 21+ | 1.0.x 线基线 |
73-
| commons-exec | — | 本地子进程执行 |
74-
| Unirest Java | — | 远程 Agent HTTP |
75-
| Java-WebSocket | — | 中心 WebSocket |
76-
| Jackson databind | 2.17.x | JSON 解析 |
72+
| JDK | 17+ | 2.0.x 线基线 |
73+
| Maven | 3.9.16 | 仓库 Maven Wrapper 版本 |
74+
| commons-exec | 1.6.0 | 本地子进程执行 |
75+
| Unirest Java | 3.14.5 | 远程 Agent HTTP |
76+
| Java-WebSocket | 1.6.0 | 中心 WebSocket |
77+
| `com.fasterxml.jackson.core:jackson-databind` | 2.22.1 | JSON 解析 |
7778
| SLF4J | 2.0.18 | 日志门面 |
7879

7980
版本线矩阵:
@@ -132,14 +133,14 @@ Maven:
132133
<dependency>
133134
<groupId>io.github.easy4j</groupId>
134135
<artifactId>opencli-java-sdk</artifactId>
135-
<version>3.0.x.20260630-SNAPSHOT</version>
136+
<version>2.0.x.20260630-SNAPSHOT</version>
136137
</dependency>
137138
```
138139

139140
Gradle:
140141

141142
```groovy
142-
implementation 'io.github.easy4j:opencli-java-sdk:3.0.x.x.20260630-SNAPSHOT'
143+
implementation 'io.github.easy4j:opencli-java-sdk:2.0.x.20260630-SNAPSHOT'
143144
```
144145

145146
快照版本需要启用对应快照仓库(`pom.xml` 中 `distributionManagement` 指向 Aliyun Maven 仓库)。
@@ -272,9 +273,9 @@ mvn clean verify
272273

273274
| 分支 | 版本模式 | JDK | 维护策略 |
274275
|---|---|---|---|
275-
| `feature/1.0.x`(当前分支) | `1.0.x.*` | 8 | 仅接受兼容性修复与 JDK 8 安全的依赖升级 |
276+
| `feature/1.0.x` | `1.0.x.*` | 8 | 仅接受兼容性修复与 JDK 8 安全的依赖升级 |
276277
| `feature/2.0.x` | `2.0.x.*` | 17 | JDK 17 线 |
277-
| `feature/3.0.x`(当前分支) | `3.0.x.*` | 21 | JDK 21 线 |
278+
| `feature/3.0.x` | `3.0.x.*` | 21 | JDK 21 线 |
278279

279280
各分支 POM(JDK 与依赖栈随线变化)由 `scripts/render-branch-pom.py` 渲染。
280281

0 commit comments

Comments
 (0)