@openclaw/brave-plugin 2026.7.1 → 2026.7.2-beta.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.
@@ -8,7 +8,7 @@ import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
8
8
  * Brave web-search provider factory. It builds the agent tool definition and
9
9
  * lazy-loads HTTP execution only when a search is run.
10
10
  */
11
- const loadBraveWebSearchRuntime = createLazyRuntimeModule(() => import("./brave-web-search-provider.runtime-DVzNE_y0.js"));
11
+ const loadBraveWebSearchRuntime = createLazyRuntimeModule(() => import("./brave-web-search-provider.runtime-CRTupGGc.js"));
12
12
  const BraveSearchSchema = {
13
13
  type: "object",
14
14
  properties: {
@@ -134,6 +134,7 @@ function normalizeBraveUiLang(value) {
134
134
  const match = trimmed.match(BRAVE_UI_LANG_LOCALE);
135
135
  if (!match) return;
136
136
  const [, language, region] = match;
137
+ if (!language || !region) return;
137
138
  return `${normalizeLowercaseStringOrEmpty(language)}-${region.toUpperCase()}`;
138
139
  }
139
140
  /** Resolve Brave-specific web-search config from scoped search config. */
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-_Ozo0UJR.js";
1
+ import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-qnnPKt1z.js";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/brave/index.ts
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-_Ozo0UJR.js";
1
+ import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-qnnPKt1z.js";
2
2
  export { createBraveWebSearchProvider };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/brave-plugin",
3
- "version": "2026.7.1",
3
+ "version": "2026.7.2-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/brave-plugin",
9
- "version": "2026.7.1"
9
+ "version": "2026.7.2-beta.2"
10
10
  }
11
11
  }
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/brave-plugin",
3
- "version": "2026.7.1",
3
+ "version": "2026.7.2-beta.2",
4
4
  "description": "OpenClaw Brave Search provider plugin for web search.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "allowInvalidConfigRecovery": true
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.7.1"
21
+ "pluginApi": ">=2026.7.2-beta.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.7.1"
24
+ "openclawVersion": "2026.7.2-beta.2"
25
25
  },
26
26
  "release": {
27
27
  "publishToClawHub": true,
@@ -38,7 +38,7 @@
38
38
  "README.md"
39
39
  ],
40
40
  "peerDependencies": {
41
- "openclaw": ">=2026.7.1"
41
+ "openclaw": ">=2026.7.2-beta.2"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {