opencode-copilot-auto 0.1.1 → 0.1.2
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 +4 -0
- package/README.md +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2 (2026-11-22)
|
|
4
|
+
|
|
5
|
+
- README: the install example used `"plugin"`; OpenCode 2.x reads `"plugins"`.
|
|
6
|
+
|
|
3
7
|
## 0.1.1 (2026-11-22)
|
|
4
8
|
|
|
5
9
|
- Fixes 0.1.0 hiding the models Auto routes to. OpenCode refuses a hidden model, so a request failed whenever Auto picked a model other than the picker's one entry. All allowed models stay on again, each labelled "· via Auto".
|
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ Copilot login and identify themselves as `opencode-copilot-auto`.
|
|
|
37
37
|
2. Add the plugin to `opencode.json`:
|
|
38
38
|
|
|
39
39
|
```json
|
|
40
|
-
{ "
|
|
40
|
+
{ "plugins": ["opencode-copilot-auto"] }
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
or copy `index.js` to `~/.config/opencode/plugins/copilot-auto.js`.
|
package/index.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
import { createHash } from "node:crypto"
|
|
24
24
|
|
|
25
|
-
export const VERSION = "0.1.
|
|
25
|
+
export const VERSION = "0.1.2"
|
|
26
26
|
const PROVIDER = "github-copilot"
|
|
27
27
|
const USER_AGENT = `opencode-copilot-auto/${VERSION}`
|
|
28
28
|
const API_VERSION = "2026-08-01" // what OpenCode 2.3 sends to the Copilot API
|
package/package.json
CHANGED