@openclaw/exa-plugin 2026.9.5 → 2026.9.6

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.
@@ -44,7 +44,7 @@ const EXA_FRESHNESS_VALUES = [
44
44
  "year"
45
45
  ];
46
46
  const EXA_MAX_SEARCH_COUNT = 100;
47
- const loadExaWebSearchRuntime = createLazyRuntimeModule(() => import("./exa-web-search-provider.runtime-CHNjsUsX.mjs"));
47
+ const loadExaWebSearchRuntime = createLazyRuntimeModule(() => import("./exa-web-search-provider.runtime-s8vRjwmE.mjs"));
48
48
  const ExaSearchSchema = {
49
49
  type: "object",
50
50
  properties: {
@@ -1,5 +1,5 @@
1
1
  import { parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
2
- import { readResponseTextLimited } from "openclaw/plugin-sdk/provider-http";
2
+ import { ProviderHttpError, readResponseTextLimited } from "openclaw/plugin-sdk/provider-http";
3
3
  import { DEFAULT_SEARCH_COUNT, buildSearchCacheKey, mergeScopedSearchConfig, parseIsoDateRange, readCachedSearchPayload, readConfiguredSecretString, readPositiveIntegerParam, readProviderEnvValue, readStringParam, resolveProviderWebSearchPluginConfig, resolveSearchCacheTtlMs, resolveSearchTimeoutSeconds, resolveSiteName, withTrustedWebSearchEndpoint, wrapWebContent, writeCachedSearchPayload } from "openclaw/plugin-sdk/provider-web-search";
4
4
  import { readResponseWithLimit } from "openclaw/plugin-sdk/response-limit-runtime";
5
5
  import { normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -197,9 +197,9 @@ async function runExaSearch(params) {
197
197
  }, async (res) => {
198
198
  if (!res.ok) {
199
199
  const detail = await readExaErrorDetail(res);
200
- throw new Error(`Exa API error (${res.status}): ${detail || res.statusText}`);
200
+ throw new ProviderHttpError(`Exa API error (${res.status}): ${detail || res.statusText}`, { status: res.status });
201
201
  }
202
- return readExaSearchResults(res);
202
+ return (await readExaSearchResults(res)).slice(0, params.count);
203
203
  });
204
204
  }
205
205
  function missingExaKeyPayload() {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-DH_i2Ces.mjs";
1
+ import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-BlNqLa7N.mjs";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/exa/index.ts
4
4
  var exa_default = definePluginEntry({
@@ -1,3 +1,3 @@
1
- import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-DH_i2Ces.mjs";
1
+ import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-BlNqLa7N.mjs";
2
2
  import "./web-search-provider.js";
3
3
  export { createExaWebSearchProvider };
@@ -1,2 +1,2 @@
1
- import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-DH_i2Ces.mjs";
1
+ import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-BlNqLa7N.mjs";
2
2
  export { createExaWebSearchProvider };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/exa-plugin",
3
- "version": "2026.9.5",
3
+ "version": "2026.9.6",
4
4
  "description": "OpenClaw Exa 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.9.5"
21
+ "pluginApi": ">=2026.9.6"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.9.5",
24
+ "openclawVersion": "2026.9.6",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -40,7 +40,7 @@
40
40
  "assets/activity.svg"
41
41
  ],
42
42
  "peerDependencies": {
43
- "openclaw": ">=2026.9.5"
43
+ "openclaw": ">=2026.9.6"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "openclaw": {