search1api-mcp 0.14.0 → 0.15.0
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 +6 -1
- package/build/feedback.js +4 -2
- package/package.json +2 -2
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -259,13 +259,18 @@ The tool waits up to about 45 seconds. If the crawl is still running, it returns
|
|
|
259
259
|
| `task_id` | No | - | `task_id` of a crawl that was still running; only checks its status, and the other parameters are ignored |
|
|
260
260
|
|
|
261
261
|
### send_feedback
|
|
262
|
-
Report a wrong, empty or incomplete result, an error you could not resolve, documentation that did not match behavior, or a missing capability to the Search1API team. Free; it spends no credits. When the server has a Search1API credential, the report is linked to that account so the team can follow up. Do not include credentials or private data.
|
|
262
|
+
Report a wrong, empty or incomplete result, an error you could not resolve, documentation that did not match behavior, or a missing capability to the Search1API team. Free; it spends no credits. When the server has a Search1API credential, the report is linked to that account, with the account's email, so the team can follow up. Do not include credentials or private data.
|
|
263
263
|
|
|
264
264
|
| Parameter | Required | Description |
|
|
265
265
|
|-----------|----------|-------------|
|
|
266
266
|
| `message` | Yes | What went wrong or what was missing, up to 4000 characters |
|
|
267
|
+
| `outcome` | Yes | How the task ended: `blocked` (could not finish), `worked_around` (finished another way), `friction` (finished after retries or guessing) |
|
|
267
268
|
| `intent` | No | What you were trying to accomplish |
|
|
269
|
+
| `expected` | No | What you expected to happen |
|
|
270
|
+
| `actual` | No | What happened instead: the calls made, in order, and the error text |
|
|
271
|
+
| `tool` | No | Name of the tool that had the problem |
|
|
268
272
|
| `category` | No | bug, feature_request, docs, other |
|
|
273
|
+
| `suggestion` | No | What would have helped |
|
|
269
274
|
| `request_id` | No | Request id of the call that had the problem |
|
|
270
275
|
| `model` | No | Your model name |
|
|
271
276
|
|
package/build/feedback.js
CHANGED
|
@@ -2,7 +2,8 @@ import { API_CONFIG } from "./config.js";
|
|
|
2
2
|
import { log } from "./utils.js";
|
|
3
3
|
/**
|
|
4
4
|
* Look up the signed Agentback identity of the Search1API user behind
|
|
5
|
-
* `apiKey`, so their feedback shows up under their account
|
|
5
|
+
* `apiKey`, so their feedback shows up under their account, with their email
|
|
6
|
+
* when the gateway has one so the report can be answered. Returns undefined
|
|
6
7
|
* when there is no key or the lookup fails; the report is then sent without an
|
|
7
8
|
* account rather than not at all.
|
|
8
9
|
*/
|
|
@@ -19,9 +20,10 @@ export async function feedbackIdentity(apiKey) {
|
|
|
19
20
|
return undefined;
|
|
20
21
|
}
|
|
21
22
|
const body = (await response.json());
|
|
23
|
+
const email = typeof body.email === "string" && body.email ? body.email : undefined;
|
|
22
24
|
return typeof body.account === "string" &&
|
|
23
25
|
typeof body.signature === "string"
|
|
24
|
-
? { account: body.account, signature: body.signature }
|
|
26
|
+
? { account: body.account, signature: body.signature, email }
|
|
25
27
|
: undefined;
|
|
26
28
|
}
|
|
27
29
|
catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "search1api-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"mcpName": "io.github.superagents-lab/search1api",
|
|
5
5
|
"description": "A Model Context Protocol (MCP) server that provides search and crawl functionality using Search1API",
|
|
6
6
|
"private": false,
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@modelcontextprotocol/node": "^2.0.0",
|
|
34
34
|
"@modelcontextprotocol/server": "^2.3.1",
|
|
35
|
-
"agentback": "^0.
|
|
35
|
+
"agentback": "^0.7.0",
|
|
36
36
|
"dotenv": "^16.6.1",
|
|
37
37
|
"express": "^4.22.2",
|
|
38
38
|
"zod": "^4.6.7"
|
package/server.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/superagents-lab/search1api-mcp",
|
|
17
17
|
"source": "github"
|
|
18
18
|
},
|
|
19
|
-
"version": "0.
|
|
19
|
+
"version": "0.15.0",
|
|
20
20
|
"remotes": [
|
|
21
21
|
{
|
|
22
22
|
"type": "streamable-http",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"registryType": "npm",
|
|
29
29
|
"identifier": "search1api-mcp",
|
|
30
|
-
"version": "0.
|
|
30
|
+
"version": "0.15.0",
|
|
31
31
|
"transport": {
|
|
32
32
|
"type": "stdio"
|
|
33
33
|
},
|