@openclaw/cohere-provider 2026.10.10-beta.4 → 2026.10.10

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
- //#region extensions/cohere/openclaw.plugin.json
2
+ // extensions/cohere/openclaw.plugin.json
3
3
  var openclaw_plugin_default = {
4
4
  id: "cohere",
5
5
  categories: ["models"],
@@ -183,8 +183,7 @@ var openclaw_plugin_default = {
183
183
  "properties": {}
184
184
  }
185
185
  };
186
- //#endregion
187
- //#region extensions/cohere/models.ts
186
+ // extensions/cohere/models.ts
188
187
  const COHERE_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.cohere;
189
188
  const COHERE_BASE_URL = COHERE_MANIFEST_CATALOG.baseUrl;
190
189
  const COHERE_MODERN_MODEL_IDS = /* @__PURE__ */ new Set([
@@ -201,5 +200,4 @@ function buildCohereCatalogModels() {
201
200
  catalog: COHERE_MANIFEST_CATALOG
202
201
  }).models;
203
202
  }
204
- //#endregion
205
203
  export { openclaw_plugin_default as i, buildCohereCatalogModels as n, isModernCohereModelId as r, COHERE_BASE_URL as t };
@@ -1 +1 @@
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-BtjAnVPh.mjs","sha256":"bcbb932eafe6343d94f57233daa5fb1b61d8eefe780a480e0c7fb2f88d959d8d","facadeSource":null,"sources":["extensions/cohere/models.ts","extensions/cohere/openclaw.plugin.json"]},{"output":"index.js","sha256":"f19ec27a21b78646053b84e0f42c380e03dab9a1d30cdf92c37526779259331c","facadeSource":"extensions/cohere/index.ts","sources":["extensions/cohere/index.ts"]},{"output":"models.js","sha256":"baf9b20368a171c5375a8790305029f3677be09b7def7606258023e03a43a2fa","facadeSource":"extensions/cohere/models.ts","sources":[]},{"output":"onboard.js","sha256":"4de4c01a4f4bfb97e5083811353692a4575d1b0f1bed56963fb09be43bcdc632","facadeSource":"extensions/cohere/onboard.ts","sources":["extensions/cohere/onboard.ts"]},{"output":"provider-catalog.js","sha256":"34654b0ec6b3b1d609daa111da1aacd349734b3bed4cb07041dcd5da5827303b","facadeSource":"extensions/cohere/provider-catalog.ts","sources":["extensions/cohere/provider-catalog.ts"]},{"output":"stream.js","sha256":"ed788d2b7650ce758062509552b47e0e0ecb5fd87f79bce2b8c15b9684b72c87","facadeSource":"extensions/cohere/stream.ts","sources":["extensions/cohere/stream.ts"]}],"unrenderedSources":[]}
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":[]}
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { i as openclaw_plugin_default, r as isModernCohereModelId } from "./.setup/models-BtjAnVPh.mjs";
1
+ import { i as openclaw_plugin_default, r as isModernCohereModelId } from "./.setup/models-YdwYeSfI.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
- //#region extensions/cohere/index.ts
6
+ // extensions/cohere/index.ts
7
7
  var cohere_default = defineSingleProviderPluginEntry({
8
8
  id: "cohere",
9
9
  name: "Cohere Provider",
@@ -22,5 +22,4 @@ var cohere_default = defineSingleProviderPluginEntry({
22
22
  isModernModelRef: ({ modelId }) => isModernCohereModelId(modelId)
23
23
  }
24
24
  });
25
- //#endregion
26
25
  export { cohere_default as default };
package/dist/models.js CHANGED
@@ -1 +1 @@
1
- export { t as COHERE_BASE_URL, n as buildCohereCatalogModels, r as isModernCohereModelId } from "./.setup/models-BtjAnVPh.mjs";
1
+ export { t as COHERE_BASE_URL, n as buildCohereCatalogModels, r as isModernCohereModelId } from "./.setup/models-YdwYeSfI.mjs";
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-BtjAnVPh.mjs";
1
+ import { i as openclaw_plugin_default, n as buildCohereCatalogModels, t as COHERE_BASE_URL } from "./.setup/models-YdwYeSfI.mjs";
2
2
  import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
4
- //#region extensions/cohere/onboard.ts
4
+ // 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,5 +16,4 @@ const { applyConfig: applyCohereConfig } = createProviderConnectionPresetApplier
16
16
  }]
17
17
  })
18
18
  });
19
- //#endregion
20
19
  export { applyCohereConfig };
@@ -1,6 +1,6 @@
1
- import { t as COHERE_BASE_URL } from "./.setup/models-BtjAnVPh.mjs";
1
+ import { t as COHERE_BASE_URL } from "./.setup/models-YdwYeSfI.mjs";
2
2
  import { asOptionalObjectRecord, asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
3
- //#region extensions/cohere/provider-catalog.ts
3
+ // 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,5 +20,4 @@ const COHERE_LIVE_MODEL_DISCOVERY = {
20
20
  });
21
21
  }
22
22
  };
23
- //#endregion
24
23
  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
- //#region extensions/cohere/stream.ts
2
+ // 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,5 +9,4 @@ function wrapCohereProviderStream(ctx) {
9
9
  delete payload.tool_choice;
10
10
  });
11
11
  }
12
- //#endregion
13
12
  export { wrapCohereProviderStream };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/cohere-provider",
3
- "version": "2026.10.10-beta.4",
3
+ "version": "2026.10.10",
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.10.10-beta.4"
21
+ "pluginApi": ">=2026.10.10"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.10.10-beta.4",
24
+ "openclawVersion": "2026.10.10",
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.10.10-beta.4"
43
+ "openclaw": ">=2026.10.10"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "openclaw": {