@openclaw/brave-plugin 2026.5.24-beta.2 → 2026.5.26-beta.1

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,6 @@
1
1
  import { isDiagnosticFlagEnabled } from "openclaw/plugin-sdk/diagnostic-runtime";
2
2
  import { createWebSearchProviderContractFields } from "openclaw/plugin-sdk/provider-web-search-config-contract";
3
+ import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
3
4
  //#region extensions/brave/src/brave-web-search-provider.ts
4
5
  const BRAVE_CREDENTIAL_PATH = "plugins.entries.brave.config.webSearch.apiKey";
5
6
  let braveWebSearchRuntimePromise;
@@ -50,9 +51,6 @@ const BraveSearchSchema = {
50
51
  }
51
52
  }
52
53
  };
53
- function isRecord(value) {
54
- return typeof value === "object" && value !== null && !Array.isArray(value);
55
- }
56
54
  function resolveProviderWebSearchPluginConfig(config, pluginId) {
57
55
  if (!isRecord(config)) return;
58
56
  const plugins = isRecord(config.plugins) ? config.plugins : void 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-IAhFMRwd.js";
1
+ import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-fWQQZtaW.js";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/brave/index.ts
4
4
  var brave_default = definePluginEntry({
@@ -1,8 +1,6 @@
1
1
  import { createWebSearchProviderContractFields } from "openclaw/plugin-sdk/provider-web-search-config-contract";
2
+ import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
2
3
  //#region extensions/brave/web-search-contract-api.ts
3
- function isRecord(value) {
4
- return typeof value === "object" && value !== null && !Array.isArray(value);
5
- }
6
4
  function resolveLegacyTopLevelBraveCredential(config) {
7
5
  if (!isRecord(config)) return;
8
6
  const tools = isRecord(config.tools) ? config.tools : void 0;
@@ -1,2 +1,2 @@
1
- import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-IAhFMRwd.js";
1
+ import { t as createBraveWebSearchProvider } from "./brave-web-search-provider-fWQQZtaW.js";
2
2
  export { createBraveWebSearchProvider };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/brave-plugin",
3
- "version": "2026.5.24-beta.2",
3
+ "version": "2026.5.26-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/brave-plugin",
9
- "version": "2026.5.24-beta.2"
9
+ "version": "2026.5.26-beta.1"
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.5.24-beta.2",
3
+ "version": "2026.5.26-beta.1",
4
4
  "description": "OpenClaw Brave plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "allowInvalidConfigRecovery": true
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.5.24-beta.2"
21
+ "pluginApi": ">=2026.5.26-beta.1"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.5.24-beta.2"
24
+ "openclawVersion": "2026.5.26-beta.1"
25
25
  },
26
26
  "release": {
27
27
  "publishToClawHub": true,
@@ -37,7 +37,7 @@
37
37
  "npm-shrinkwrap.json"
38
38
  ],
39
39
  "peerDependencies": {
40
- "openclaw": ">=2026.5.24-beta.2"
40
+ "openclaw": ">=2026.5.26-beta.1"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "openclaw": {