@openclaw/exa-plugin 2026.9.1-beta.1 → 2026.9.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.
@@ -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-C29VmLqm.js"));
47
+ const loadExaWebSearchRuntime = createLazyRuntimeModule(() => import("./exa-web-search-provider.runtime-MGDc8RH0.js"));
48
48
  const ExaSearchSchema = {
49
49
  type: "object",
50
50
  properties: {
@@ -20,10 +20,11 @@ const EXA_FRESHNESS_VALUES = [
20
20
  "year"
21
21
  ];
22
22
  const EXA_MAX_SEARCH_COUNT = 100;
23
- const EXA_ERROR_BODY_LIMIT_BYTES = 8 * 1024;
24
- const EXA_SEARCH_JSON_MAX_BYTES = 16 * 1024 * 1024;
23
+ const EXA_ERROR_BODY_LIMIT_BYTES = 8192;
24
+ const EXA_SEARCH_JSON_MAX_BYTES = 16777216;
25
25
  async function readExaSearchResults(response, opts) {
26
- const bytes = await readResponseWithLimit(response, opts?.maxBytes ?? EXA_SEARCH_JSON_MAX_BYTES, { onOverflow: ({ maxBytes: maxBytesLocal }) => /* @__PURE__ */ new Error(`Exa API response exceeds ${maxBytesLocal} bytes`) });
26
+ const maxBytes = opts?.maxBytes ?? EXA_SEARCH_JSON_MAX_BYTES;
27
+ const bytes = await readResponseWithLimit(response, maxBytes, { onOverflow: ({ maxBytes: maxBytesLocal }) => /* @__PURE__ */ new Error(`Exa API response exceeds ${maxBytesLocal} bytes`) });
27
28
  try {
28
29
  return normalizeExaResults(JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(bytes)));
29
30
  } catch (cause) {
@@ -276,7 +277,8 @@ async function executeExaWebSearchProviderTool(ctx, args, signal) {
276
277
  dateBefore,
277
278
  contents
278
279
  });
279
- const cached = readCachedSearchPayload(cacheKey);
280
+ const cacheTtlMs = resolveSearchCacheTtlMs(searchConfig);
281
+ const cached = readCachedSearchPayload(cacheKey, cacheTtlMs);
280
282
  if (cached) return cached;
281
283
  const start = Date.now();
282
284
  const results = await runExaSearch({
@@ -320,7 +322,7 @@ async function executeExaWebSearchProviderTool(ctx, args, signal) {
320
322
  }, summary ? { summary: wrapWebContent(summary, `web_search`) } : {}, highlightScores.length > 0 ? { highlightScores } : {});
321
323
  })
322
324
  };
323
- writeCachedSearchPayload(cacheKey, payload, resolveSearchCacheTtlMs(searchConfig));
325
+ writeCachedSearchPayload(cacheKey, payload, cacheTtlMs);
324
326
  return payload;
325
327
  }
326
328
  const testing = {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createExaWebSearchProvider } from "./exa-web-search-provider-Du2L8CNV.js";
1
+ import { t as createExaWebSearchProvider } from "./exa-web-search-provider-DAcMYoLQ.js";
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 "./exa-web-search-provider-Du2L8CNV.js";
1
+ import { t as createExaWebSearchProvider } from "./exa-web-search-provider-DAcMYoLQ.js";
2
2
  import "./web-search-provider.js";
3
3
  export { createExaWebSearchProvider };
@@ -1,2 +1,2 @@
1
- import { t as createExaWebSearchProvider } from "./exa-web-search-provider-Du2L8CNV.js";
1
+ import { t as createExaWebSearchProvider } from "./exa-web-search-provider-DAcMYoLQ.js";
2
2
  export { createExaWebSearchProvider };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/exa-plugin",
3
- "version": "2026.9.1-beta.1",
3
+ "version": "2026.9.1",
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.1-beta.1"
21
+ "pluginApi": ">=2026.9.1"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.9.1-beta.1",
24
+ "openclawVersion": "2026.9.1",
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.9.1-beta.1"
41
+ "openclaw": ">=2026.9.1"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {