@openclaw/amazon-bedrock-provider 2026.5.31-beta.2 → 2026.5.31-beta.4

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.
@@ -245,15 +245,15 @@ async function createBedrockEmbeddingProvider(options) {
245
245
  const embedCohere = async (texts, inputType, signal) => {
246
246
  return parseCohereBatch(family, await invoke(buildCohereBody(family, texts, inputType, client.dimensions), signal)).map((e) => sanitizeAndNormalizeEmbedding(e));
247
247
  };
248
- const embedQuery = async (text, options) => {
248
+ const embedQuery = async (text, optionsValue) => {
249
249
  if (!text.trim()) return [];
250
- if (isCohere) return (await embedCohere([text], "search_query", options?.signal))[0] ?? [];
251
- return embedSingle(text, options?.signal);
250
+ if (isCohere) return (await embedCohere([text], "search_query", optionsValue?.signal))[0] ?? [];
251
+ return embedSingle(text, optionsValue?.signal);
252
252
  };
253
- const embedBatch = async (texts, options) => {
253
+ const embedBatch = async (texts, optionsLocal) => {
254
254
  if (texts.length === 0) return [];
255
- if (isCohere) return embedCohere(texts, "search_document", options?.signal);
256
- return Promise.all(texts.map((t) => t.trim() ? embedSingle(t, options?.signal) : Promise.resolve([])));
255
+ if (isCohere) return embedCohere(texts, "search_document", optionsLocal?.signal);
256
+ return Promise.all(texts.map((t) => t.trim() ? embedSingle(t, optionsLocal?.signal) : Promise.resolve([])));
257
257
  };
258
258
  return {
259
259
  provider: {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/amazon-bedrock-provider",
3
- "version": "2026.5.31-beta.2",
3
+ "version": "2026.5.31-beta.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/amazon-bedrock-provider",
9
- "version": "2026.5.31-beta.2",
9
+ "version": "2026.5.31-beta.4",
10
10
  "dependencies": {
11
11
  "@aws-sdk/client-bedrock": "3.1056.0",
12
12
  "@aws-sdk/client-bedrock-runtime": "3.1056.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/amazon-bedrock-provider",
3
- "version": "2026.5.31-beta.2",
3
+ "version": "2026.5.31-beta.4",
4
4
  "description": "OpenClaw Amazon Bedrock provider plugin with model discovery, embeddings, and guardrail support.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,10 +25,10 @@
25
25
  "minHostVersion": ">=2026.5.12-beta.1"
26
26
  },
27
27
  "compat": {
28
- "pluginApi": ">=2026.5.31-beta.2"
28
+ "pluginApi": ">=2026.5.31-beta.4"
29
29
  },
30
30
  "build": {
31
- "openclawVersion": "2026.5.31-beta.2",
31
+ "openclawVersion": "2026.5.31-beta.4",
32
32
  "bundledDist": false
33
33
  },
34
34
  "release": {
@@ -46,7 +46,7 @@
46
46
  "README.md"
47
47
  ],
48
48
  "peerDependencies": {
49
- "openclaw": ">=2026.5.31-beta.2"
49
+ "openclaw": ">=2026.5.31-beta.4"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "openclaw": {