@openclaw/cohere-provider 2026.9.1 → 2026.9.3
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 { i as openclaw_plugin_default, r as isModernCohereModelId } from "./models-
|
|
1
|
+
import { i as openclaw_plugin_default, r as isModernCohereModelId } from "./models-D3h2ViQk.js";
|
|
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";
|
|
@@ -13,7 +13,10 @@ var cohere_default = defineSingleProviderPluginEntry({
|
|
|
13
13
|
label: "Cohere",
|
|
14
14
|
docsPath: "/providers/cohere",
|
|
15
15
|
manifestAuth: { applyConfig: applyCohereConfig },
|
|
16
|
-
catalog: {
|
|
16
|
+
catalog: {
|
|
17
|
+
discoveryMode: "strict",
|
|
18
|
+
liveModelDiscovery: COHERE_LIVE_MODEL_DISCOVERY
|
|
19
|
+
},
|
|
17
20
|
wrapStreamFn: wrapCohereProviderStream,
|
|
18
21
|
wrapSimpleCompletionStreamFn: wrapCohereProviderStream,
|
|
19
22
|
isModernModelRef: ({ modelId }) => isModernCohereModelId(modelId)
|
package/dist/models.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as buildCohereCatalogModels, r as isModernCohereModelId, t as COHERE_BASE_URL } from "./models-
|
|
1
|
+
import { n as buildCohereCatalogModels, r as isModernCohereModelId, t as COHERE_BASE_URL } from "./models-D3h2ViQk.js";
|
|
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 "./models-
|
|
1
|
+
import { i as openclaw_plugin_default, n as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./models-D3h2ViQk.js";
|
|
2
2
|
import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
3
3
|
import { createModelCatalogPresetAppliers } 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
6
|
const { applyConfig: applyCohereConfig } = createModelCatalogPresetAppliers({
|
|
7
7
|
primaryModelRef: COHERE_DEFAULT_MODEL_REF,
|
|
8
|
-
resolveParams: () => ({
|
|
8
|
+
resolveParams: (cfg) => ({
|
|
9
9
|
providerId: "cohere",
|
|
10
10
|
api: "openai-completions",
|
|
11
11
|
baseUrl: COHERE_BASE_URL,
|
|
12
|
-
catalogModels: buildCohereCatalogModels(),
|
|
12
|
+
catalogModels: cfg.models?.mode === "replace" ? buildCohereCatalogModels() : [],
|
|
13
13
|
aliases: [{
|
|
14
14
|
modelRef: COHERE_DEFAULT_MODEL_REF,
|
|
15
15
|
alias: "Cohere Command A+"
|
package/dist/provider-catalog.js
CHANGED
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/cohere-provider",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.3",
|
|
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.9.
|
|
21
|
+
"pluginApi": ">=2026.9.3"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.9.
|
|
24
|
+
"openclawVersion": "2026.9.3",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.9.
|
|
41
|
+
"openclaw": ">=2026.9.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|