Skip to content

Commit e0b2da7

Browse files
committed
docs: 统一双语 README 头部格式与版本线说明(目录换行、JDK 版本线修正、锚点修复)
1 parent 319986a commit e0b2da7

2 files changed

Lines changed: 35 additions & 28 deletions

File tree

README.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
# opencode-java-sdk
22

3-
<div align="center">
4-
5-
**Pure Java SDK (no Spring) for the OpenCode Server: HTTP REST API, SSE event stream and local CLI**
6-
7-
![Java](https://img.shields.io/badge/Java-21-orange) ![License](https://img.shields.io/badge/license-Apache%202.0-green)
3+
[English](./README.md) | [简体中文](./README.zh-CN.md)
84

5+
Pure Java SDK (no Spring) for the OpenCode Server: HTTP REST API, SSE event stream and local CLI
96
[简体中文](./README.zh-CN.md)
107

11-
[1. Project Overview](#1-project-overview) · [2. Features & Status](#2-features--status) · [3. Requirements & Compatibility](#3-requirements--compatibility) · [4. Architecture & Modules](#4-architecture--modules) · [5. Installation](#5-installation) · [6. Quick Start](#6-quick-start) · [7. Configuration](#7-configuration) · [8. Core Usage](#8-core-usage) · [9. Testing & Build](#9-testing--build) · [10. Versioning & Branches](#10-versioning--branches) · [11. Contributing & License](#11-contributing--license)
12-
13-
</div>
8+
> **Current branch**: `feature/3.0.x`
9+
> **Version**: `3.0.x.x.20260630-SNAPSHOT`
10+
> **JDK baseline**: 8
11+
> **Project status**: stable (1.0.x line). Not yet published to Maven Central; artifacts are distributed via the Aliyun Maven repository and GitHub Releases.
1412
15-
---
13+
## Table of Contents
1614

17-
> **Current branch**: `feature/3.0.x`<br>
18-
> **Version**: `3.0.x.x.20260630-SNAPSHOT`<br>
19-
> **JDK baseline**: 8<br>
20-
> **Project status**: stable (1.0.x line). Not yet published to Maven Central; artifacts are distributed via the Aliyun Maven repository and GitHub Releases.
15+
- [1. Project Overview](#1-project-overview)
16+
- [2. Features & Status](#2-features--status)
17+
- [3. Requirements & Compatibility](#3-requirements--compatibility)
18+
- [4. Architecture & Modules](#4-architecture--modules)
19+
- [5. Installation](#5-installation)
20+
- [6. Quick Start](#6-quick-start)
21+
- [7. Configuration](#7-configuration)
22+
- [8. Core Usage](#8-core-usage)
23+
- [9. Testing & Build](#9-testing--build)
24+
- [10. Versioning & Branches](#10-versioning--branches)
25+
- [11. Contributing & License](#11-contributing--license)
2126

22-
<a id="1-project-overview"></a>
2327
## 1. Project Overview
2428

2529
### 1.1 What it is

README.zh-CN.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
# opencode-java-sdk
22

3-
<div align="center">
4-
5-
**纯 Java 库(无 Spring):通过 HTTP REST API、SSE 事件流与本地 CLI 与 OpenCode Server 交互**
6-
7-
![Java](https://img.shields.io/badge/Java-21-orange) ![License](https://img.shields.io/badge/license-Apache%202.0-green)
8-
93
[English](./README.md) | [简体中文](./README.zh-CN.md)
104

11-
[1. 项目概述](#1-project-overview) · [2. 能力与状态](#2-features--status) · [3. 运行要求与兼容性](#3-requirements--compatibility) · [4. 架构与模块](#4-architecture--modules) · [5. 引入依赖](#5-installation) · [6. 快速开始](#6-quick-start) · [7. 配置](#7-configuration) · [8. 核心用法](#8-core-usage) · [9. 测试与构建](#9-testing--build) · [10. 版本线与分支](#10-versioning--branches) · [11. 贡献与许可证](#11-contributing--license)
5+
纯 Java 库(无 Spring):通过 HTTP REST API、SSE 事件流与本地 CLI 与 OpenCode Server 交互
126

13-
</div>
7+
> **当前分支**`feature/3.0.x`
8+
> **版本**`3.0.x.x.20260630-SNAPSHOT`
9+
> **JDK 基线**:8
10+
> **项目状态**:稳定(1.0.x 线)。尚未发布 Maven Central;制品通过 Aliyun Maven 仓库与 GitHub Releases 分发。
1411
15-
---
12+
## 目录
1613

17-
> **当前分支**`feature/3.0.x`<br>
18-
> **版本**`3.0.x.x.20260630-SNAPSHOT`<br>
19-
> **JDK 基线**:8<br>
20-
> **项目状态**:稳定(1.0.x 线)。尚未发布 Maven Central;制品通过 Aliyun Maven 仓库与 GitHub Releases 分发。
14+
- [1. 项目概述](#1-项目概述)
15+
- [2. 能力与状态](#2-features--status)
16+
- [3. 运行要求与兼容性](#3-requirements--compatibility)
17+
- [4. 架构与模块](#4-architecture--modules)
18+
- [5. 引入依赖](#5-installation)
19+
- [6. 快速开始](#6-quick-start)
20+
- [7. 配置](#7-configuration)
21+
- [8. 核心用法](#8-core-usage)
22+
- [9. 测试与构建](#9-testing--build)
23+
- [10. 版本线与分支](#10-versioning--branches)
24+
- [11. 贡献与许可证](#11-contributing--license)
2125

22-
<a id="1-project-overview"></a>
2326
## 1. 项目概述
2427

2528
### 1.1 是什么

0 commit comments

Comments
 (0)