@openclaw/exa-plugin 2026.9.4 → 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.
- package/assets/activity.svg +31 -0
- package/assets/icon.png +0 -0
- package/dist/{exa-web-search-provider-Cij--E9H.js → .setup/exa-web-search-provider-BlNqLa7N.mjs} +1 -1
- package/dist/{exa-web-search-provider.runtime-CHNjsUsX.js → .setup/exa-web-search-provider.runtime-s8vRjwmE.mjs} +3 -3
- package/dist/index.js +1 -1
- package/dist/web-search-contract-api.js +1 -1
- package/dist/web-search-provider.js +1 -1
- package/openclaw.plugin.json +8 -0
- package/package.json +7 -5
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<!--
|
|
3
|
+
Source: @lobehub/icons-static-svg@1.95.0, exa.svg
|
|
4
|
+
https://www.npmjs.com/package/@lobehub/icons-static-svg/v/1.95.0
|
|
5
|
+
https://github.com/lobehub/lobe-icons
|
|
6
|
+
|
|
7
|
+
MIT License
|
|
8
|
+
Copyright (c) 2023 LobeHub
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Names and marks remain the property of their respective owners.
|
|
29
|
+
-->
|
|
30
|
+
<path clip-rule="evenodd" fill="currentColor" fill-rule="evenodd" stroke="none" d="M3 0h19v1.791L13.892 12 22 22.209V24H3V0zm9.62 10.348l6.589-8.557H6.03l6.59 8.557zM5.138 3.935v7.17h5.52l-5.52-7.17zm5.52 8.96h-5.52v7.17l5.52-7.17zM6.03 22.21l6.59-8.557 6.589 8.557H6.03z" />
|
|
31
|
+
</svg>
|
package/assets/icon.png
ADDED
|
Binary file
|
package/dist/{exa-web-search-provider-Cij--E9H.js → .setup/exa-web-search-provider-BlNqLa7N.mjs}
RENAMED
|
@@ -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-
|
|
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
|
|
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 "
|
|
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,2 +1,2 @@
|
|
|
1
|
-
import { t as createExaWebSearchProvider } from "
|
|
1
|
+
import { t as createExaWebSearchProvider } from "./.setup/exa-web-search-provider-BlNqLa7N.mjs";
|
|
2
2
|
export { createExaWebSearchProvider };
|
package/openclaw.plugin.json
CHANGED
|
@@ -27,6 +27,14 @@
|
|
|
27
27
|
"contracts": {
|
|
28
28
|
"webSearchProviders": ["exa"]
|
|
29
29
|
},
|
|
30
|
+
"configGroups": [
|
|
31
|
+
{
|
|
32
|
+
"id": "web-search",
|
|
33
|
+
"title": "Web search",
|
|
34
|
+
"order": 10,
|
|
35
|
+
"properties": ["webSearch"]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
30
38
|
"configSchema": {
|
|
31
39
|
"type": "object",
|
|
32
40
|
"additionalProperties": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/exa-plugin",
|
|
3
|
-
"version": "2026.9.
|
|
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.
|
|
21
|
+
"pluginApi": ">=2026.9.6"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.9.
|
|
24
|
+
"openclawVersion": "2026.9.6",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -35,10 +35,12 @@
|
|
|
35
35
|
"files": [
|
|
36
36
|
"dist/**",
|
|
37
37
|
"openclaw.plugin.json",
|
|
38
|
-
"README.md"
|
|
38
|
+
"README.md",
|
|
39
|
+
"assets/icon.png",
|
|
40
|
+
"assets/activity.svg"
|
|
39
41
|
],
|
|
40
42
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.9.
|
|
43
|
+
"openclaw": ">=2026.9.6"
|
|
42
44
|
},
|
|
43
45
|
"peerDependenciesMeta": {
|
|
44
46
|
"openclaw": {
|