@openclaw/exa-plugin 2026.10.10-beta.4 → 2026.10.10-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/.setup/{exa-web-search-provider-DkWJpeaV.mjs → exa-web-search-provider-D4XL4FbA.mjs} +1 -1
- package/dist/.setup/{exa-web-search-provider.runtime-ClUkM3ZN.mjs → exa-web-search-provider.runtime-BHMevXlO.mjs} +5 -5
- package/dist/.source-module-urls/5cfcb03c5b0024dec174889a3f9c18da47ed3402dc2c1542d3c7152d85411a6d.json +1 -1
- package/dist/index.js +1 -1
- package/dist/web-search-contract-api.js +1 -1
- package/dist/web-search-provider.js +1 -1
- package/package.json +4 -4
package/dist/.setup/{exa-web-search-provider-DkWJpeaV.mjs → exa-web-search-provider-D4XL4FbA.mjs}
RENAMED
|
@@ -17,7 +17,7 @@ const EXA_FRESHNESS_VALUES = [
|
|
|
17
17
|
"year"
|
|
18
18
|
];
|
|
19
19
|
const EXA_MAX_SEARCH_COUNT = 100;
|
|
20
|
-
const loadExaWebSearchRuntime = createLazyRuntimeModule(() => import("./exa-web-search-provider.runtime-
|
|
20
|
+
const loadExaWebSearchRuntime = createLazyRuntimeModule(() => import("./exa-web-search-provider.runtime-BHMevXlO.mjs"));
|
|
21
21
|
const ExaSearchSchema = {
|
|
22
22
|
type: "object",
|
|
23
23
|
properties: {
|
|
@@ -39,25 +39,25 @@ function normalizeExaFreshness(value) {
|
|
|
39
39
|
function resolveExaApiKey(exa) {
|
|
40
40
|
return readConfiguredSecretString(exa?.apiKey, "plugins.entries.exa.config.webSearch.apiKey") ?? readProviderEnvValue(["EXA_API_KEY"]);
|
|
41
41
|
}
|
|
42
|
-
function invalidBaseUrlPayload(
|
|
42
|
+
function invalidBaseUrlPayload() {
|
|
43
43
|
return {
|
|
44
44
|
error: "invalid_base_url",
|
|
45
|
-
message:
|
|
45
|
+
message: "plugins.entries.exa.config.webSearch.baseUrl must be a valid http(s) URL.",
|
|
46
46
|
docs: "https://docs.openclaw.ai/tools/exa-search"
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
function resolveExaSearchEndpoint(exa) {
|
|
50
50
|
const configured = normalizeOptionalString(exa?.baseUrl);
|
|
51
51
|
if (!configured) return { endpoint: EXA_SEARCH_ENDPOINT };
|
|
52
|
-
if (/^[a-z][a-z0-9+.-]*:\/\//i.test(configured) && !/^https?:\/\//i.test(configured)) return invalidBaseUrlPayload(
|
|
52
|
+
if (/^[a-z][a-z0-9+.-]*:\/\//i.test(configured) && !/^https?:\/\//i.test(configured)) return invalidBaseUrlPayload();
|
|
53
53
|
const candidate = /^https?:\/\//i.test(configured) ? configured : `https://${configured}`;
|
|
54
54
|
let parsed;
|
|
55
55
|
try {
|
|
56
56
|
parsed = new URL(candidate);
|
|
57
57
|
} catch {
|
|
58
|
-
return invalidBaseUrlPayload(
|
|
58
|
+
return invalidBaseUrlPayload();
|
|
59
59
|
}
|
|
60
|
-
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return invalidBaseUrlPayload(
|
|
60
|
+
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return invalidBaseUrlPayload();
|
|
61
61
|
const pathname = parsed.pathname.replace(/\/+$/, "");
|
|
62
62
|
parsed.pathname = pathname.endsWith("/search") ? pathname : `${pathname}/search`;
|
|
63
63
|
parsed.hash = "";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"index.js","source":"extensions/exa/index.ts"},{"output":"web-search-contract-api.js","source":"extensions/exa/web-search-contract-api.ts"},{"output":"web-search-provider.js","source":"extensions/exa/web-search-provider.ts"}],"chunks":[{"output":".setup/exa-web-search-provider-
|
|
1
|
+
{"version":3,"entries":[{"output":"index.js","source":"extensions/exa/index.ts"},{"output":"web-search-contract-api.js","source":"extensions/exa/web-search-contract-api.ts"},{"output":"web-search-provider.js","source":"extensions/exa/web-search-provider.ts"}],"chunks":[{"output":".setup/exa-web-search-provider-D4XL4FbA.mjs","sha256":"ff4076f65d5805620dd6bef6926a8af9532bda8ebeb16a19d9d397d2bfacd8a8","facadeSource":null,"sources":["extensions/exa/src/exa-web-search-provider.ts"]},{"output":".setup/exa-web-search-provider.runtime-BHMevXlO.mjs","sha256":"a72abd12d5fc1be0282b78c4a20bc47dfec001a2c507019008a4a2d14411f6b5","facadeSource":"extensions/exa/src/exa-web-search-provider.runtime.ts","sources":["extensions/exa/src/exa-web-search-provider.runtime.ts"]},{"output":"index.js","sha256":"93e440b278672a33fcbe10570119060f8f414632fbe05bf04771b65b038397f4","facadeSource":"extensions/exa/index.ts","sources":["extensions/exa/index.ts"]},{"output":"web-search-contract-api.js","sha256":"8b9afbbff151a0c846cfac5561bd89972d67ba43d6057eb728b23282526ad6ad","facadeSource":"extensions/exa/web-search-contract-api.ts","sources":[]},{"output":"web-search-provider.js","sha256":"ebb4426904f3597aac31c81c3adb691a0ad470a9c000514bf528ceca90dff029","facadeSource":"extensions/exa/web-search-provider.ts","sources":[]}],"unrenderedSources":["extensions/exa/web-search-contract-api.ts","extensions/exa/web-search-provider.ts"]}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-
|
|
1
|
+
import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-D4XL4FbA.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,2 +1,2 @@
|
|
|
1
|
-
export { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-
|
|
1
|
+
export { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-D4XL4FbA.mjs";
|
|
2
2
|
import "./web-search-provider.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-
|
|
1
|
+
export { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-D4XL4FbA.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/exa-plugin",
|
|
3
|
-
"version": "2026.10.10-beta.
|
|
3
|
+
"version": "2026.10.10-beta.5",
|
|
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.10.10-beta.
|
|
21
|
+
"pluginApi": ">=2026.10.10-beta.5"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.10.10-beta.
|
|
24
|
+
"openclawVersion": "2026.10.10-beta.5",
|
|
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.10.10-beta.
|
|
43
|
+
"openclaw": ">=2026.10.10-beta.5"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|