@cotal-ai/connector-opencode 0.90.0 → 0.91.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/dist/extension.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/plugin/index.js +1988 -1635
- package/package.json +3 -3
package/dist/extension.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,KAAK,SAAS,EAAuE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,KAAK,SAAS,EAAuE,MAAM,gBAAgB,CAAC;AA0G/H;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,EAAE,SA+L/B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -23577,9 +23577,10 @@ function listOpenCodeModels(opts = {}) {
|
|
|
23577
23577
|
}).trim();
|
|
23578
23578
|
const line = opencodeLine(versionRaw, "opencode");
|
|
23579
23579
|
if (line === 2)
|
|
23580
|
-
|
|
23581
|
-
|
|
23582
|
-
|
|
23580
|
+
return {
|
|
23581
|
+
models: [],
|
|
23582
|
+
unavailable: "OpenCode 2.x serves its model catalog from a running opencode server, not the CLI; pass --model provider/model"
|
|
23583
|
+
};
|
|
23583
23584
|
const args = ["models", "--pure", "--verbose"];
|
|
23584
23585
|
if (opts.refresh) args.push("--refresh");
|
|
23585
23586
|
try {
|