@openclaw/cohere-provider 2026.11.1 → 2026.11.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.
@@ -1,5 +1,5 @@
1
1
  import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
- // extensions/cohere/openclaw.plugin.json
2
+ //#region extensions/cohere/openclaw.plugin.json
3
3
  var openclaw_plugin_default = {
4
4
  id: "cohere",
5
5
  categories: ["models"],
@@ -183,7 +183,8 @@ var openclaw_plugin_default = {
183
183
  "properties": {}
184
184
  }
185
185
  };
186
- // extensions/cohere/models.ts
186
+ //#endregion
187
+ //#region extensions/cohere/models.ts
187
188
  const COHERE_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.cohere;
188
189
  const COHERE_BASE_URL = COHERE_MANIFEST_CATALOG.baseUrl;
189
190
  const COHERE_MODERN_MODEL_IDS = /* @__PURE__ */ new Set([
@@ -200,4 +201,5 @@ function buildCohereCatalogModels() {
200
201
  catalog: COHERE_MANIFEST_CATALOG
201
202
  }).models;
202
203
  }
204
+ //#endregion
203
205
  export { openclaw_plugin_default as i, buildCohereCatalogModels as n, isModernCohereModelId as r, COHERE_BASE_URL as t };
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { i as openclaw_plugin_default, r as isModernCohereModelId } from "./.setup/models-YdwYeSfI.mjs";
1
+ import { i as openclaw_plugin_default, r as isModernCohereModelId } from "./.setup/models-BtjAnVPh.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";
5
5
  import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
6
- // extensions/cohere/index.ts
6
+ //#region extensions/cohere/index.ts
7
7
  var cohere_default = defineSingleProviderPluginEntry({
8
8
  id: "cohere",
9
9
  name: "Cohere Provider",
@@ -22,4 +22,5 @@ var cohere_default = defineSingleProviderPluginEntry({
22
22
  isModernModelRef: ({ modelId }) => isModernCohereModelId(modelId)
23
23
  }
24
24
  });
25
+ //#endregion
25
26
  export { cohere_default as default };
package/dist/models.js CHANGED
@@ -1 +1,2 @@
1
- export { t as COHERE_BASE_URL, n as buildCohereCatalogModels, r as isModernCohereModelId } from "./.setup/models-YdwYeSfI.mjs";
1
+ import { n as buildCohereCatalogModels, r as isModernCohereModelId, t as COHERE_BASE_URL } from "./.setup/models-BtjAnVPh.mjs";
2
+ export { COHERE_BASE_URL, buildCohereCatalogModels, isModernCohereModelId };
package/dist/onboard.js CHANGED
@@ -1,7 +1,7 @@
1
- import { i as openclaw_plugin_default, n as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./.setup/models-YdwYeSfI.mjs";
1
+ import { i as openclaw_plugin_default, n as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./.setup/models-BtjAnVPh.mjs";
2
2
  import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
4
- // extensions/cohere/onboard.ts
4
+ //#region extensions/cohere/onboard.ts
5
5
  const COHERE_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "cohere");
6
6
  const { applyConfig: applyCohereConfig } = createProviderConnectionPresetAppliers({
7
7
  primaryModelRef: COHERE_DEFAULT_MODEL_REF,
@@ -16,4 +16,5 @@ const { applyConfig: applyCohereConfig } = createProviderConnectionPresetApplier
16
16
  }]
17
17
  })
18
18
  });
19
+ //#endregion
19
20
  export { applyCohereConfig };
@@ -1,6 +1,6 @@
1
- import { t as COHERE_BASE_URL } from "./.setup/models-YdwYeSfI.mjs";
1
+ import { t as COHERE_BASE_URL } from "./.setup/models-BtjAnVPh.mjs";
2
2
  import { asOptionalObjectRecord, asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
3
- // extensions/cohere/provider-catalog.ts
3
+ //#region extensions/cohere/provider-catalog.ts
4
4
  const COHERE_LIVE_MODEL_DISCOVERY = {
5
5
  endpointUrl: {
6
6
  url: "https://api.cohere.com/v1/models?endpoint=chat&page_size=1000",
@@ -20,4 +20,5 @@ const COHERE_LIVE_MODEL_DISCOVERY = {
20
20
  });
21
21
  }
22
22
  };
23
+ //#endregion
23
24
  export { COHERE_LIVE_MODEL_DISCOVERY };
package/dist/stream.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createPayloadPatchStreamWrapper } from "openclaw/plugin-sdk/provider-stream-shared";
2
- // extensions/cohere/stream.ts
2
+ //#region extensions/cohere/stream.ts
3
3
  function wrapCohereProviderStream(ctx) {
4
4
  return createPayloadPatchStreamWrapper(ctx.streamFn, ({ payload }) => {
5
5
  if (Array.isArray(payload.messages)) payload.messages = payload.messages.map((message) => message && typeof message === "object" && message.role === "system" ? {
@@ -9,4 +9,5 @@ function wrapCohereProviderStream(ctx) {
9
9
  delete payload.tool_choice;
10
10
  });
11
11
  }
12
+ //#endregion
12
13
  export { wrapCohereProviderStream };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/cohere-provider",
3
- "version": "2026.11.1",
3
+ "version": "2026.11.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.11.1"
21
+ "pluginApi": ">=2026.11.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.11.1",
24
+ "openclawVersion": "2026.11.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.11.1"
43
+ "openclaw": ">=2026.11.2"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "openclaw": {
@@ -1 +0,0 @@
1
- {"version":3,"entries":[{"output":"index.js","source":"extensions/cohere/index.ts"},{"output":"models.js","source":"extensions/cohere/models.ts"},{"output":"onboard.js","source":"extensions/cohere/onboard.ts"},{"output":"provider-catalog.js","source":"extensions/cohere/provider-catalog.ts"},{"output":"stream.js","source":"extensions/cohere/stream.ts"}],"chunks":[{"output":".setup/models-YdwYeSfI.mjs","sha256":"2ed398ec311eca55030975654d4fbc26ec20de18f7e24ca694f8b9a355bec98e","facadeSource":null,"sources":["extensions/cohere/models.ts","extensions/cohere/openclaw.plugin.json"]},{"output":"index.js","sha256":"1fa11caa691d33588176d04dae7074eb3bb769b80fb8a7da5193eb3b83eda938","facadeSource":"extensions/cohere/index.ts","sources":["extensions/cohere/index.ts"]},{"output":"models.js","sha256":"3c7684b6ee4927d5acc6096a0d07d62630218023402fbef4a19163a0d1835b90","facadeSource":"extensions/cohere/models.ts","sources":[]},{"output":"onboard.js","sha256":"8b4e8a6a21f313706e93f9d316d08aa641df2ed2d3d24f979d31a45da247e8ca","facadeSource":"extensions/cohere/onboard.ts","sources":["extensions/cohere/onboard.ts"]},{"output":"provider-catalog.js","sha256":"bbbae394c086c659cf35d357caa143fe76d8e3450be1a739c862c40db84085f2","facadeSource":"extensions/cohere/provider-catalog.ts","sources":["extensions/cohere/provider-catalog.ts"]},{"output":"stream.js","sha256":"8fbdc78defba964c258e306ca739400f05b8c28be7c09c224eef3ee60957d0bf","facadeSource":"extensions/cohere/stream.ts","sources":["extensions/cohere/stream.ts"]}],"unrenderedSources":[]}