@justsilver/opencode-providers 0.1.0-beta.2 → 0.1.0
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.md +33 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,37 @@
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.0] - 2026-10-07
|
|
11
|
+
|
|
12
|
+
> 首个**正式版**(由 `0.1.0-beta.0` → `0.1.0-beta.2` 三个预发布版本稳定而来);npm 的 `latest` 指向它。
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- 自维护注册表 `registry/registry.json` + `registry/registry.schema.json`:共享 `models` 表 + provider `base` 引用/覆盖,
|
|
17
|
+
带 `schemaVersion` —— 改数据**不需要**发插件版本
|
|
18
|
+
- 注册表收入两家真实供应商:**Command Code**(`https://api.commandcode.ai/provider/v1`)与
|
|
19
|
+
**R4 Coder**(`https://api.r4.codes/v1`)。二者共享 `deepseek-v4.1-flash`
|
|
20
|
+
(context 1048576 / output 393216,`reasoningEffort` 变体 low/high/max);Command Code 用 `modelID` 覆盖成 `deepseek/deepseek-v4.1-flash`
|
|
21
|
+
- server 入口:按注册表注册 integration(只声明 `key` 方法)与 provider(`activation: "auto"`)及其模型;
|
|
22
|
+
拉取 6h TTL + `ETag` + 失败沿用旧缓存(`ctx.storage`)
|
|
23
|
+
- TUI 入口 `/connect-providers`:选供应商 → 贴 API Key / 切换账号,与内置 `/connect` 共用同一张凭据表
|
|
24
|
+
- 两种安装方式:npm 包(`"plugins": ["@justsilver/opencode-providers"]`)与安装脚本(整目录复制到
|
|
25
|
+
`~/.config/opencode/plugins/`,支持 `--local` / `-Local` 从工作树部署)
|
|
26
|
+
- 预发布优先的发版流水线:CD 走 OIDC(自动签名 provenance),预发布发 npm 的 `next`;
|
|
27
|
+
正式版必须**手动** Run workflow 勾 `publish` + `stable`(该次运行发布到 `latest` 并补 tag + GitHub Release)
|
|
28
|
+
- `.opencode/skills/opencode-providers-registry`:维护注册表的技能(两条路由 + 最小字段铁律 + 协议 → package)
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- **`/connect-providers` 在输入框里"看不见"**:命令图层补 `mode: "global"`(图层默认 `base`,而提示框 push 的是
|
|
33
|
+
`composer`/补全时 `autocomplete` → 不可达,命令不进补全列表)
|
|
34
|
+
- 仓库自身不再是插件发现根(源码移到 `plugin/opencode-providers/`),避免在仓库里跑 opencode 时与全局安装**同 id 相撞**
|
|
35
|
+
(supervisor 会把后者标成 `failed` + `Duplicate plugin ID`)
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- 注册表移出仓库根:`registry.json` → `registry/registry.json`(`$id` 同步);插件默认拉取地址与**缓存键**同步改为含 URL,换地址立即重拉
|
|
40
|
+
|
|
10
41
|
## [0.1.0-beta.2] - 2026-10-07
|
|
11
42
|
|
|
12
43
|
### Added
|
|
@@ -58,7 +89,8 @@
|
|
|
58
89
|
- 插件源码从 `.opencode/plugins/opencode-providers/` 移到 `plugin/opencode-providers/`:仓库自身不再是插件发现根,避免在仓库里跑 opencode 时与全局安装的同 id 副本相撞(`Duplicate plugin ID` → 面板里一条 `failed`)
|
|
59
90
|
- 安装后**通常无需重启**(插件目录被文件监视热重载),不再要求 `opencode service restart`
|
|
60
91
|
|
|
61
|
-
[Unreleased]: https://github.com/Just-Silver/opencode-providers/compare/v0.1.0
|
|
92
|
+
[Unreleased]: https://github.com/Just-Silver/opencode-providers/compare/v0.1.0...HEAD
|
|
93
|
+
[0.1.0]: https://github.com/Just-Silver/opencode-providers/releases/tag/v0.1.0
|
|
62
94
|
[0.1.0-beta.2]: https://github.com/Just-Silver/opencode-providers/releases/tag/v0.1.0-beta.2
|
|
63
95
|
[0.1.0-beta.1]: https://github.com/Just-Silver/opencode-providers/releases/tag/v0.1.0-beta.1
|
|
64
96
|
[0.1.0-beta.0]: https://github.com/Just-Silver/opencode-providers/releases/tag/v0.1.0-beta.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justsilver/opencode-providers",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Register providers missing from the models.dev catalog in OpenCode V2 from a self-hosted registry — no opencode.json needed",
|
|
6
6
|
"license": "MIT",
|