@openclaw/cohere-provider 2026.7.2-beta.1 → 2026.7.2-beta.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/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as isModernCohereModelId } from "./models-C5lqoGJq.js";
|
|
2
2
|
import { COHERE_DEFAULT_MODEL_REF, applyCohereConfig } from "./onboard.js";
|
|
3
3
|
import { buildCohereProvider } from "./provider-catalog.js";
|
|
4
4
|
import { createCohereCompletionsWrapper } from "./stream.js";
|
|
@@ -151,13 +151,10 @@ const COHERE_MANIFEST_CATALOG = {
|
|
|
151
151
|
const COHERE_BASE_URL = COHERE_MANIFEST_CATALOG.baseUrl;
|
|
152
152
|
const COHERE_MODEL_CATALOG = COHERE_MANIFEST_CATALOG.models;
|
|
153
153
|
const COHERE_COMMAND_A_PLUS_MODEL_ID = "command-a-plus-05-2026";
|
|
154
|
-
const COHERE_COMMAND_A_REASONING_MODEL_ID = "command-a-reasoning-08-2025";
|
|
155
|
-
const COHERE_COMMAND_A_VISION_MODEL_ID = "command-a-vision-07-2025";
|
|
156
|
-
const COHERE_NORTH_MINI_CODE_MODEL_ID = "north-mini-code-1-0";
|
|
157
154
|
const COHERE_MODERN_MODEL_IDS = /* @__PURE__ */ new Set([
|
|
158
155
|
COHERE_COMMAND_A_PLUS_MODEL_ID,
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
"command-a-reasoning-08-2025",
|
|
157
|
+
"north-mini-code-1-0"
|
|
161
158
|
]);
|
|
162
159
|
function isModernCohereModelId(modelId) {
|
|
163
160
|
return COHERE_MODERN_MODEL_IDS.has(modelId.trim().toLowerCase());
|
|
@@ -178,4 +175,4 @@ function buildCohereModelDefinition(model) {
|
|
|
178
175
|
}).models.at(0), "normalized Cohere manifest model");
|
|
179
176
|
}
|
|
180
177
|
//#endregion
|
|
181
|
-
export {
|
|
178
|
+
export { buildCohereModelDefinition as a, buildCohereCatalogModels as i, COHERE_COMMAND_A_PLUS_MODEL_ID as n, isModernCohereModelId as o, COHERE_MODEL_CATALOG as r, COHERE_BASE_URL as t };
|
package/dist/models.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { COHERE_BASE_URL, COHERE_COMMAND_A_PLUS_MODEL_ID,
|
|
1
|
+
import { a as buildCohereModelDefinition, i as buildCohereCatalogModels, n as COHERE_COMMAND_A_PLUS_MODEL_ID, o as isModernCohereModelId, r as COHERE_MODEL_CATALOG, t as COHERE_BASE_URL } from "./models-C5lqoGJq.js";
|
|
2
|
+
export { COHERE_BASE_URL, COHERE_COMMAND_A_PLUS_MODEL_ID, COHERE_MODEL_CATALOG, buildCohereCatalogModels, buildCohereModelDefinition, isModernCohereModelId };
|
package/dist/onboard.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as buildCohereModelDefinition, n as COHERE_COMMAND_A_PLUS_MODEL_ID, r as COHERE_MODEL_CATALOG, t as COHERE_BASE_URL } from "./models-C5lqoGJq.js";
|
|
2
2
|
import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
3
|
-
|
|
4
|
-
const COHERE_DEFAULT_MODEL_ID = COHERE_COMMAND_A_PLUS_MODEL_ID;
|
|
5
|
-
const COHERE_DEFAULT_MODEL_REF = `cohere/${COHERE_DEFAULT_MODEL_ID}`;
|
|
3
|
+
const COHERE_DEFAULT_MODEL_REF = `cohere/${COHERE_COMMAND_A_PLUS_MODEL_ID}`;
|
|
6
4
|
const coherePresetAppliers = createModelCatalogPresetAppliers({
|
|
7
5
|
primaryModelRef: COHERE_DEFAULT_MODEL_REF,
|
|
8
6
|
resolveParams: (_cfg) => ({
|
|
@@ -20,4 +18,4 @@ function applyCohereConfig(cfg) {
|
|
|
20
18
|
return coherePresetAppliers.applyConfig(cfg);
|
|
21
19
|
}
|
|
22
20
|
//#endregion
|
|
23
|
-
export {
|
|
21
|
+
export { COHERE_DEFAULT_MODEL_REF, applyCohereConfig };
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./models-C5lqoGJq.js";
|
|
2
2
|
//#region extensions/cohere/provider-catalog.ts
|
|
3
3
|
function buildCohereProvider() {
|
|
4
4
|
return {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/cohere-provider",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/cohere-provider",
|
|
9
|
-
"version": "2026.7.2-beta.
|
|
9
|
+
"version": "2026.7.2-beta.2"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/cohere-provider",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.2",
|
|
4
4
|
"description": "OpenClaw Cohere provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
21
|
+
"pluginApi": ">=2026.7.2-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.7.2-beta.
|
|
24
|
+
"openclawVersion": "2026.7.2-beta.2",
|
|
25
25
|
"bundledDist": true
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"README.md"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"openclaw": ">=2026.7.2-beta.
|
|
42
|
+
"openclaw": ">=2026.7.2-beta.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"openclaw": {
|