@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 +1 -1
- package/dist/{perplexity-web-search-provider-BqVitUBb.js → perplexity-web-search-provider-CWMYSpnj.js} +1 -1
- package/dist/{perplexity-web-search-provider.runtime-BC-si1Uo.js → perplexity-web-search-provider.runtime-CCtdE3-R.js} +2 -2
- package/dist/web-search-provider.js +1 -1
- package/openclaw.plugin.json +0 -3
- package/package.json +4 -5
- package/npm-shrinkwrap.json +0 -12
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-
|
|
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-
|
|
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, "
|
|
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
|
|
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-
|
|
1
|
+
import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-CWMYSpnj.js";
|
|
2
2
|
export { createPerplexityWebSearchProvider };
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/perplexity-plugin",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
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.
|
|
21
|
+
"pluginApi": ">=2026.7.2-beta.5"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.7.2-beta.
|
|
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.
|
|
41
|
+
"openclaw": ">=2026.7.2-beta.5"
|
|
43
42
|
},
|
|
44
43
|
"peerDependenciesMeta": {
|
|
45
44
|
"openclaw": {
|
package/npm-shrinkwrap.json
DELETED