@openclaw/cohere-provider 2026.9.1-beta.1 → 2026.9.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 { i as openclaw_plugin_default, r as isModernCohereModelId } from "./models-C55DsAXK.js";
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";
@@ -1,4 +1,4 @@
1
- import { buildManifestModelDefinition } from "openclaw/plugin-sdk/provider-catalog-shared";
1
+ import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
2
  //#region extensions/cohere/openclaw.plugin.json
3
3
  var openclaw_plugin_default = {
4
4
  id: "cohere",
@@ -8,6 +8,7 @@ var openclaw_plugin_default = {
8
8
  enabledByDefault: true,
9
9
  providers: ["cohere"],
10
10
  modelCatalog: {
11
+ "modelsDev": { "cohere": "cohere" },
11
12
  "providers": { "cohere": {
12
13
  "baseUrl": "https://api.cohere.ai/compatibility/v1",
13
14
  "api": "openai-completions",
@@ -188,7 +189,6 @@ var openclaw_plugin_default = {
188
189
  */
189
190
  const COHERE_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.cohere;
190
191
  const COHERE_BASE_URL = COHERE_MANIFEST_CATALOG.baseUrl;
191
- const COHERE_MODEL_CATALOG = COHERE_MANIFEST_CATALOG.models;
192
192
  const COHERE_MODERN_MODEL_IDS = /* @__PURE__ */ new Set([
193
193
  "command-a-plus-05-2026",
194
194
  "command-a-reasoning-08-2025",
@@ -198,10 +198,10 @@ function isModernCohereModelId(modelId) {
198
198
  return COHERE_MODERN_MODEL_IDS.has(modelId.trim().toLowerCase());
199
199
  }
200
200
  function buildCohereCatalogModels() {
201
- return COHERE_MODEL_CATALOG.map(buildManifestModelDefinition({
201
+ return buildManifestModelProviderConfig({
202
202
  providerId: "cohere",
203
203
  catalog: COHERE_MANIFEST_CATALOG
204
- }));
204
+ }).models;
205
205
  }
206
206
  //#endregion
207
207
  export { openclaw_plugin_default as i, buildCohereCatalogModels as n, isModernCohereModelId as r, COHERE_BASE_URL as t };
package/dist/models.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as buildCohereCatalogModels, r as isModernCohereModelId, t as COHERE_BASE_URL } from "./models-C55DsAXK.js";
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,4 +1,4 @@
1
- import { i as openclaw_plugin_default, n as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./models-C55DsAXK.js";
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
@@ -1,4 +1,4 @@
1
- import { t as COHERE_BASE_URL } from "./models-C55DsAXK.js";
1
+ import { t as COHERE_BASE_URL } from "./models-D3h2ViQk.js";
2
2
  //#region extensions/cohere/provider-catalog.ts
3
3
  const COHERE_LIVE_MODEL_DISCOVERY = {
4
4
  endpointUrl: {
@@ -8,6 +8,9 @@
8
8
  "enabledByDefault": true,
9
9
  "providers": ["cohere"],
10
10
  "modelCatalog": {
11
+ "modelsDev": {
12
+ "cohere": "cohere"
13
+ },
11
14
  "providers": {
12
15
  "cohere": {
13
16
  "baseUrl": "https://api.cohere.ai/compatibility/v1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/cohere-provider",
3
- "version": "2026.9.1-beta.1",
3
+ "version": "2026.9.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.9.1-beta.1"
21
+ "pluginApi": ">=2026.9.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.9.1-beta.1",
24
+ "openclawVersion": "2026.9.2",
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.1-beta.1"
41
+ "openclaw": ">=2026.9.2"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {