@openclaw/cohere-provider 2026.9.8 → 2026.10.1-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.
|
@@ -185,9 +185,6 @@ var openclaw_plugin_default = {
|
|
|
185
185
|
};
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region extensions/cohere/models.ts
|
|
188
|
-
/**
|
|
189
|
-
* Cohere model catalog helpers derived from the plugin manifest.
|
|
190
|
-
*/
|
|
191
188
|
const COHERE_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.cohere;
|
|
192
189
|
const COHERE_BASE_URL = COHERE_MANIFEST_CATALOG.baseUrl;
|
|
193
190
|
const COHERE_MODERN_MODEL_IDS = /* @__PURE__ */ new Set([
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as openclaw_plugin_default, r as isModernCohereModelId } from "./.setup/models-
|
|
1
|
+
import { i as openclaw_plugin_default, r as isModernCohereModelId } from "./.setup/models-BLTLa6bn.mjs";
|
|
2
2
|
import { applyCohereConfig } from "./onboard.js";
|
|
3
3
|
import { COHERE_LIVE_MODEL_DISCOVERY } from "./provider-catalog.js";
|
|
4
4
|
import { wrapCohereProviderStream } from "./stream.js";
|
package/dist/models.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as buildCohereCatalogModels, r as isModernCohereModelId, t as COHERE_BASE_URL } from "./.setup/models-
|
|
1
|
+
import { n as buildCohereCatalogModels, r as isModernCohereModelId, t as COHERE_BASE_URL } from "./.setup/models-BLTLa6bn.mjs";
|
|
2
2
|
export { COHERE_BASE_URL, buildCohereCatalogModels, isModernCohereModelId };
|
package/dist/onboard.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { i as openclaw_plugin_default, n as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./.setup/models-
|
|
1
|
+
import { i as openclaw_plugin_default, n as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./.setup/models-BLTLa6bn.mjs";
|
|
2
2
|
import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
3
|
-
import {
|
|
3
|
+
import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
4
4
|
//#region extensions/cohere/onboard.ts
|
|
5
5
|
const COHERE_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "cohere");
|
|
6
|
-
const { applyConfig: applyCohereConfig } =
|
|
6
|
+
const { applyConfig: applyCohereConfig } = createProviderConnectionPresetAppliers({
|
|
7
7
|
primaryModelRef: COHERE_DEFAULT_MODEL_REF,
|
|
8
|
-
resolveParams: (
|
|
8
|
+
resolveParams: () => ({
|
|
9
9
|
providerId: "cohere",
|
|
10
10
|
api: "openai-completions",
|
|
11
11
|
baseUrl: COHERE_BASE_URL,
|
|
12
|
-
catalogModels:
|
|
12
|
+
catalogModels: buildCohereCatalogModels,
|
|
13
13
|
aliases: [{
|
|
14
14
|
modelRef: COHERE_DEFAULT_MODEL_REF,
|
|
15
15
|
alias: "Cohere Command A+"
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as COHERE_BASE_URL } from "./.setup/models-
|
|
1
|
+
import { t as COHERE_BASE_URL } from "./.setup/models-BLTLa6bn.mjs";
|
|
2
2
|
import { asOptionalObjectRecord, asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
//#region extensions/cohere/provider-catalog.ts
|
|
4
4
|
const COHERE_LIVE_MODEL_DISCOVERY = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/cohere-provider",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.10.1-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.
|
|
21
|
+
"pluginApi": ">=2026.10.1-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.
|
|
24
|
+
"openclawVersion": "2026.10.1-beta.2",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.
|
|
43
|
+
"openclaw": ">=2026.10.1-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|