@openclaw/cohere-provider 2026.9.2 → 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
@@ -13,7 +13,10 @@ var cohere_default = defineSingleProviderPluginEntry({
13
13
  label: "Cohere",
14
14
  docsPath: "/providers/cohere",
15
15
  manifestAuth: { applyConfig: applyCohereConfig },
16
- catalog: { liveModelDiscovery: COHERE_LIVE_MODEL_DISCOVERY },
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/onboard.js CHANGED
@@ -5,11 +5,11 @@ import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-o
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/cohere-provider",
3
- "version": "2026.9.2",
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.2"
21
+ "pluginApi": ">=2026.9.3"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.9.2",
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.2"
41
+ "openclaw": ">=2026.9.3"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {