opencode-usage-limits 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.en.md +8 -0
- package/CHANGELOG.md +8 -0
- package/README.en.md +11 -0
- package/README.md +11 -0
- package/package.json +1 -1
package/CHANGELOG.en.md
CHANGED
|
@@ -6,6 +6,14 @@ All notable changes to `usage-limits` are documented here. The format is based o
|
|
|
6
6
|
|
|
7
7
|
[简体中文](./CHANGELOG.md) · [English](./CHANGELOG.en.md)
|
|
8
8
|
|
|
9
|
+
## 0.2.1 - 2026-10-06
|
|
10
|
+
|
|
11
|
+
### Docs
|
|
12
|
+
|
|
13
|
+
- Added npm version / downloads / license / OpenCode version badges to the README.
|
|
14
|
+
- Added a "Requirements" section (OpenCode v2.0.0+, a connected subscription, reachable usage endpoints).
|
|
15
|
+
- This release is the first automated publish through GitHub Actions + OIDC trusted publishing.
|
|
16
|
+
|
|
9
17
|
## 0.2.0 - 2026-10-06
|
|
10
18
|
|
|
11
19
|
### Added
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
[简体中文](./CHANGELOG.md) · [English](./CHANGELOG.en.md)
|
|
6
6
|
|
|
7
|
+
## 0.2.1 - 2026-10-06
|
|
8
|
+
|
|
9
|
+
### 文档
|
|
10
|
+
|
|
11
|
+
- README 增加 npm 版本 / 下载量 / 许可 / OpenCode 版本徽章。
|
|
12
|
+
- README 新增「要求」小节(OpenCode v2.0.0+、已连接订阅、网络可达用量接口)。
|
|
13
|
+
- 本次为通过 GitHub Actions + OIDC 可信发布的首次自动发布验证。
|
|
14
|
+
|
|
7
15
|
## 0.2.0 - 2026-10-06
|
|
8
16
|
|
|
9
17
|
### 新增
|
package/README.en.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# usage-limits
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/opencode-usage-limits)
|
|
4
|
+
[](https://www.npmjs.com/package/opencode-usage-limits)
|
|
5
|
+
[](./LICENSE)
|
|
6
|
+
[](https://opencode.ai/v2/docs/)
|
|
7
|
+
|
|
3
8
|
> Show your subscription usage limits (5-hour / weekly / monthly) in the OpenCode sidebar.
|
|
4
9
|
|
|
5
10
|
[简体中文](./README.md) · [English](./README.en.md)
|
|
@@ -45,6 +50,12 @@ Monthly 60%
|
|
|
45
50
|
|
|
46
51
|
> Cline's public documentation is at [Cline API](https://docs.cline.bot/api/overview).
|
|
47
52
|
|
|
53
|
+
## Requirements
|
|
54
|
+
|
|
55
|
+
- [OpenCode](https://opencode.ai/v2/docs/) **v2.0.0 or newer**
|
|
56
|
+
- An **OpenCode Go** or **ClinePass** subscription connected via `/connect`
|
|
57
|
+
- Network access to the matching usage endpoint (see the table above)
|
|
58
|
+
|
|
48
59
|
## Install
|
|
49
60
|
|
|
50
61
|
**From npm (recommended)**:
|
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# usage-limits
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/opencode-usage-limits)
|
|
4
|
+
[](https://www.npmjs.com/package/opencode-usage-limits)
|
|
5
|
+
[](./LICENSE)
|
|
6
|
+
[](https://opencode.ai/v2/docs/)
|
|
7
|
+
|
|
3
8
|
> 在 OpenCode 右侧侧边栏实时显示订阅方案的用量限额(5 小时 / 周 / 月)。
|
|
4
9
|
|
|
5
10
|
[简体中文](./README.md) · [English](./README.en.md)
|
|
@@ -44,6 +49,12 @@ Monthly 60%
|
|
|
44
49
|
|
|
45
50
|
> Cline 的公开文档见 [Cline API](https://docs.cline.bot/api/overview)。
|
|
46
51
|
|
|
52
|
+
## 要求
|
|
53
|
+
|
|
54
|
+
- [OpenCode](https://opencode.ai/v2/docs/) **v2.0.0 或更高版本**
|
|
55
|
+
- 已通过 `/connect` 连接 **OpenCode Go** 或 **ClinePass** 订阅
|
|
56
|
+
- 能访问对应用量接口的网络环境(端点见上方数据源表)
|
|
57
|
+
|
|
47
58
|
## 安装
|
|
48
59
|
|
|
49
60
|
**从 npm 安装(推荐)**:
|
package/package.json
CHANGED