@openclaw/perplexity-plugin 2026.7.2-beta.3 → 2026.7.2-beta.5

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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-BqVitUBb.js";
1
+ import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-CWMYSpnj.js";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/perplexity/index.ts
4
4
  var perplexity_default = definePluginEntry({
@@ -3,7 +3,7 @@ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
3
3
  import { mergeScopedSearchConfig, resolveProviderWebSearchPluginConfig } from "openclaw/plugin-sdk/provider-web-search-config-contract";
4
4
  import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
5
5
  //#region extensions/perplexity/src/perplexity-web-search-provider.ts
6
- const loadPerplexityWebSearchRuntime = createLazyRuntimeModule(() => import("./perplexity-web-search-provider.runtime-BC-si1Uo.js"));
6
+ const loadPerplexityWebSearchRuntime = createLazyRuntimeModule(() => import("./perplexity-web-search-provider.runtime-CCtdE3-R.js"));
7
7
  function createPerplexityParameters(transport) {
8
8
  const properties = {
9
9
  query: {
@@ -10,7 +10,7 @@ function resolvePerplexityConfig(searchConfig) {
10
10
  return perplexity && typeof perplexity === "object" && !Array.isArray(perplexity) ? perplexity : {};
11
11
  }
12
12
  function resolvePerplexityApiKey(perplexity) {
13
- const fromConfig = readConfiguredSecretString(perplexity?.apiKey, "tools.web.search.perplexity.apiKey");
13
+ const fromConfig = readConfiguredSecretString(perplexity?.apiKey, "plugins.entries.perplexity.config.webSearch.apiKey");
14
14
  if (fromConfig) return {
15
15
  apiKey: fromConfig,
16
16
  source: "config"
@@ -143,7 +143,7 @@ async function executePerplexitySearch(args, searchConfig) {
143
143
  const runtime = resolvePerplexityTransport(resolvePerplexityConfig(searchConfig));
144
144
  if (!runtime.apiKey) return {
145
145
  error: "missing_perplexity_api_key",
146
- message: "web_search (perplexity) needs an API key. Set PERPLEXITY_API_KEY or OPENROUTER_API_KEY in the Gateway environment, or configure tools.web.search.perplexity.apiKey. If you do not want to configure a search API key, use web_fetch for a specific URL or the browser tool for interactive pages.",
146
+ message: "web_search (perplexity) needs an API key. Set PERPLEXITY_API_KEY or OPENROUTER_API_KEY in the Gateway environment, or configure plugins.entries.perplexity.config.webSearch.apiKey. If you do not want to configure a search API key, use web_fetch for a specific URL or the browser tool for interactive pages.",
147
147
  docs: "https://docs.openclaw.ai/tools/web"
148
148
  };
149
149
  const query = readStringParam(args, "query", { required: true });
@@ -1,2 +1,2 @@
1
- import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-BqVitUBb.js";
1
+ import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-CWMYSpnj.js";
2
2
  export { createPerplexityWebSearchProvider };
@@ -31,9 +31,6 @@
31
31
  "contracts": {
32
32
  "webSearchProviders": ["perplexity"]
33
33
  },
34
- "configContracts": {
35
- "compatibilityRuntimePaths": ["tools.web.search.apiKey"]
36
- },
37
34
  "configSchema": {
38
35
  "type": "object",
39
36
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/perplexity-plugin",
3
- "version": "2026.7.2-beta.3",
3
+ "version": "2026.7.2-beta.5",
4
4
  "description": "OpenClaw Perplexity 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.7.2-beta.3"
21
+ "pluginApi": ">=2026.7.2-beta.5"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.7.2-beta.3",
24
+ "openclawVersion": "2026.7.2-beta.5",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -35,11 +35,10 @@
35
35
  "files": [
36
36
  "dist/**",
37
37
  "openclaw.plugin.json",
38
- "npm-shrinkwrap.json",
39
38
  "README.md"
40
39
  ],
41
40
  "peerDependencies": {
42
- "openclaw": ">=2026.7.2-beta.3"
41
+ "openclaw": ">=2026.7.2-beta.5"
43
42
  },
44
43
  "peerDependenciesMeta": {
45
44
  "openclaw": {
@@ -1,12 +0,0 @@
1
- {
2
- "name": "@openclaw/perplexity-plugin",
3
- "version": "2026.7.2-beta.3",
4
- "lockfileVersion": 3,
5
- "requires": true,
6
- "packages": {
7
- "": {
8
- "name": "@openclaw/perplexity-plugin",
9
- "version": "2026.7.2-beta.3"
10
- }
11
- }
12
- }