@cotal-ai/connector-opencode 0.90.1 → 0.92.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 +5 -4
- package/dist/plugin/index.js +3070 -2527
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin2.d.ts.map +1 -1
- 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
|
@@ -21758,7 +21758,7 @@ config(en_default());
|
|
|
21758
21758
|
import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken3, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked, EpEnvelopeError as EpEnvelopeError3, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges, presenceText } from "@cotal-ai/core";
|
|
21759
21759
|
|
|
21760
21760
|
// ../connector-core/dist/orientation.js
|
|
21761
|
-
import { peerLabel as peerLabel3 } from "@cotal-ai/core";
|
|
21761
|
+
import { parsePrincipalKey as parsePrincipalKey2, peerLabel as peerLabel3 } from "@cotal-ai/core";
|
|
21762
21762
|
|
|
21763
21763
|
// ../connector-core/dist/docs.js
|
|
21764
21764
|
var STOP = new Set("a an and are as at be by do for from has how in is it of on or that the this to use using was what when where which who with you your".split(" "));
|
|
@@ -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 {
|