@openclaw/perplexity-plugin 2026.8.1 → 2026.8.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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-B2_VZX21.js";
1
+ import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-BCKqky14.js";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/perplexity/index.ts
4
4
  var perplexity_default = definePluginEntry({
@@ -70,7 +70,7 @@ function resolvePerplexityRuntimeTransport(params) {
70
70
  }
71
71
  //#endregion
72
72
  //#region extensions/perplexity/src/perplexity-web-search-provider.ts
73
- const loadPerplexityWebSearchRuntime = createLazyRuntimeModule(() => import("./perplexity-web-search-provider.runtime-BVBYV1y4.js"));
73
+ const loadPerplexityWebSearchRuntime = createLazyRuntimeModule(() => import("./perplexity-web-search-provider.runtime-Cex5MH8x.js"));
74
74
  function createPerplexityParameters(transport) {
75
75
  const properties = {
76
76
  query: {
@@ -1,4 +1,4 @@
1
- import { a as isDirectPerplexityBaseUrl, i as inferPerplexityBaseUrlFromApiKey, n as DEFAULT_PERPLEXITY_BASE_URL, r as PERPLEXITY_DIRECT_BASE_URL } from "./perplexity-web-search-provider-B2_VZX21.js";
1
+ import { a as isDirectPerplexityBaseUrl, i as inferPerplexityBaseUrlFromApiKey, n as DEFAULT_PERPLEXITY_BASE_URL, r as PERPLEXITY_DIRECT_BASE_URL } from "./perplexity-web-search-provider-BCKqky14.js";
2
2
  import { normalizeOptionalString, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { readProviderJsonResponse } from "openclaw/plugin-sdk/provider-http";
4
4
  import { DEFAULT_SEARCH_COUNT, MAX_SEARCH_COUNT, buildSearchCacheKey, isoToPerplexityDate, normalizeFreshness, parseWebSearchTimeFilters, readCachedSearchPayload, readConfiguredSecretString, readPositiveIntegerParam, readProviderEnvValue, readStringArrayParam, readStringParam, resolveSearchCacheTtlMs, resolveSearchCount, resolveSearchTimeoutSeconds, resolveSiteName, throwWebSearchApiError, withTrustedWebSearchEndpoint, wrapWebContent, writeCachedSearchPayload } from "openclaw/plugin-sdk/provider-web-search";
@@ -72,7 +72,8 @@ function extractPerplexityCitations(data) {
72
72
  const citations = [];
73
73
  for (const choice of data.choices ?? []) for (const annotation of choice.message?.annotations ?? []) {
74
74
  if (annotation.type !== "url_citation") continue;
75
- const normalizedUrl = normalizeOptionalString(typeof annotation.url_citation?.url === "string" ? annotation.url_citation.url : typeof annotation.url === "string" ? annotation.url : void 0);
75
+ const url = typeof annotation.url_citation?.url === "string" ? annotation.url_citation.url : typeof annotation.url === "string" ? annotation.url : void 0;
76
+ const normalizedUrl = normalizeOptionalString(url);
76
77
  if (normalizedUrl) citations.push(normalizedUrl);
77
78
  }
78
79
  return uniqueStrings(citations);
@@ -1,3 +1,3 @@
1
- import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-B2_VZX21.js";
1
+ import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-BCKqky14.js";
2
2
  import "./web-search-provider.js";
3
3
  export { createPerplexityWebSearchProvider };
@@ -1,2 +1,2 @@
1
- import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-B2_VZX21.js";
1
+ import { t as createPerplexityWebSearchProvider } from "./perplexity-web-search-provider-BCKqky14.js";
2
2
  export { createPerplexityWebSearchProvider };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/perplexity-plugin",
3
- "version": "2026.8.1",
3
+ "version": "2026.8.2",
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.8.1"
21
+ "pluginApi": ">=2026.8.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.8.1",
24
+ "openclawVersion": "2026.8.2",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -38,7 +38,7 @@
38
38
  "README.md"
39
39
  ],
40
40
  "peerDependencies": {
41
- "openclaw": ">=2026.8.1"
41
+ "openclaw": ">=2026.8.2"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {