@superagnt/exa-search 2.0.4 → 2.0.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/README.md CHANGED
@@ -10,17 +10,11 @@ openclaw plugins install @superagnt/exa-search
10
10
 
11
11
  This package is the official **OpenClaw** plugin for the **Exa** integration via [superagnt](https://superagnt.com). Pair it with the [documentation](https://superagnt.com/docs) and your superagnt API key.
12
12
 
13
- ## Want the live MCP surface instead?
13
+ ## What this plugin contains
14
14
 
15
- This plugin ships a fixed, baked-in toolset that only needs your
16
- `SUPERAGNT_API_KEY`. For the live workspace tool surface — the full value
17
- layer (data sources plus workspace Postgres, schedules, canvases,
18
- enrichment), growing server-side with no plugin update — install the
19
- primary superagnt plugin instead:
15
+ A fixed, baked-in toolset for the **Exa** endpoints below — nothing else. Calls run on the Exa account the user connected in their dashboard; the plugin does not change after install and adds no other platform surface. Where Exa supports destructive or outbound operations (deletes, updates, sending as the user), always confirm with the user before performing them.
20
16
 
21
- ```bash
22
- openclaw plugins install @superagnt/superagnt
23
- ```
17
+ Prefer MCP? The `@superagnt/superagnt` plugin connects the workspace MCP server instead, whose tool surface is managed by the user in the dashboard.
24
18
 
25
19
  ## Overview
26
20
 
@@ -47,8 +41,8 @@ OpenClaw plugin for Exa — run neural web search, fetch parsed contents, find s
47
41
 
48
42
  ## Prerequisites
49
43
 
50
- 1. An **superagnt API key** — create and manage keys in the [superagnt dashboard](https://app.superagnt.com/dashboard).
51
- 2. A connected **Exa** account — configure in the [integrations dashboard](https://app.superagnt.com/dashboard/connections).
44
+ 1. A **superagnt API key** — create and manage keys in the [superagnt dashboard](https://app.superagnt.com/dashboard).
45
+ 2. A connected **Exa** account — configure in the [connections dashboard](https://app.superagnt.com/dashboard/connections).
52
46
 
53
47
  ## Authentication
54
48
 
@@ -71,7 +65,7 @@ Set `SUPERAGNT_API_KEY` in your environment, or complete browser login when the
71
65
 
72
66
  ## Related
73
67
 
74
- - **Skill (curl-oriented):** `clawhub install exa-search` on [ClawHub](https://clawhub.ai/superagnt/skills/exa-search)
68
+ - **Skill (curl-oriented):** `clawhub install superagnt/exa-search` on [ClawHub](https://clawhub.ai/superagnt/skills/exa-search)
75
69
 
76
70
  ## License
77
71
 
package/index.js CHANGED
@@ -7,7 +7,8 @@ import { homedir as _homedir } from 'node:os'
7
7
  import { join as _join } from 'node:path'
8
8
  import { existsSync as _existsSync, readFileSync as _readFileSync } from 'node:fs'
9
9
 
10
- const BASE_URL = 'https://api.superagnt.com/v1/connections/exa'
10
+ // SUPERAGNT_API_URL overrides the API origin (QA/staging); customers never set it.
11
+ const BASE_URL = (process.env.SUPERAGNT_API_URL || 'https://api.superagnt.com') + '/v1/connections/exa'
11
12
 
12
13
 
13
14
  // ── Auth Module (inlined) ────────────────────────────────────────────────────
@@ -171,7 +172,7 @@ export default function register(api) {
171
172
  "query"
172
173
  ]
173
174
  },
174
- execute: async (input) => {
175
+ execute: async (_toolCallId, input) => {
175
176
  const key = ensureApiKey()
176
177
  const params = parseToolInput(input)
177
178
  return callSuperagnt(key, 'POST', '/search', undefined, params)
@@ -233,7 +234,7 @@ export default function register(api) {
233
234
  "urls"
234
235
  ]
235
236
  },
236
- execute: async (input) => {
237
+ execute: async (_toolCallId, input) => {
237
238
  const key = ensureApiKey()
238
239
  const params = parseToolInput(input)
239
240
  return callSuperagnt(key, 'POST', '/contents', undefined, params)
@@ -291,7 +292,7 @@ export default function register(api) {
291
292
  "url"
292
293
  ]
293
294
  },
294
- execute: async (input) => {
295
+ execute: async (_toolCallId, input) => {
295
296
  const key = ensureApiKey()
296
297
  const params = parseToolInput(input)
297
298
  return callSuperagnt(key, 'POST', '/findSimilar', undefined, params)
@@ -325,7 +326,7 @@ export default function register(api) {
325
326
  "query"
326
327
  ]
327
328
  },
328
- execute: async (input) => {
329
+ execute: async (_toolCallId, input) => {
329
330
  const key = ensureApiKey()
330
331
  const params = parseToolInput(input)
331
332
  return callSuperagnt(key, 'POST', '/answer', undefined, params)
@@ -2,7 +2,7 @@
2
2
  "id": "exa-search",
3
3
  "name": "Exa Integration",
4
4
  "description": "OpenClaw plugin for Exa — run neural web search, fetch parsed contents, find similar URLs, and get agentic answers through your superagnt API key.",
5
- "version": "2.0.4",
5
+ "version": "2.0.6",
6
6
  "contracts": {
7
7
  "tools": [
8
8
  "superagnt_connection_exa_search",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superagnt/exa-search",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "type": "module",
5
5
  "description": "OpenClaw plugin for Exa — run neural web search, fetch parsed contents, find similar URLs, and get agentic answers through your superagnt API key.",
6
6
  "main": "index.js",