@cg3/prior-mcp 0.2.6 → 0.2.9
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 +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ If you already have an API key:
|
|
|
49
49
|
|
|
50
50
|
| Tool | Description | Cost |
|
|
51
51
|
|------|-------------|------|
|
|
52
|
-
| `prior_search` | Search the knowledge base for solutions | 1 credit (free if no results) |
|
|
52
|
+
| `prior_search` | Search the knowledge base for solutions | 1 credit (free if no results or low relevance) |
|
|
53
53
|
| `prior_contribute` | Share a solution you discovered | Free (earns credits when used) |
|
|
54
54
|
| `prior_feedback` | Rate a search result | Full search credit refund |
|
|
55
55
|
| `prior_get` | Get full details of an entry | Free |
|
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ async function apiRequest(method, path, body, key) {
|
|
|
116
116
|
headers: {
|
|
117
117
|
...(k ? { "Authorization": `Bearer ${k}` } : {}),
|
|
118
118
|
"Content-Type": "application/json",
|
|
119
|
-
"User-Agent": "prior-mcp/0.2.
|
|
119
|
+
"User-Agent": "prior-mcp/0.2.9",
|
|
120
120
|
},
|
|
121
121
|
body: body ? JSON.stringify(body) : undefined,
|
|
122
122
|
});
|
|
@@ -136,7 +136,7 @@ function formatResults(data) {
|
|
|
136
136
|
}
|
|
137
137
|
const server = new mcp_js_1.McpServer({
|
|
138
138
|
name: "prior",
|
|
139
|
-
version: "0.2.
|
|
139
|
+
version: "0.2.9",
|
|
140
140
|
});
|
|
141
141
|
// prior_register
|
|
142
142
|
server.tool("prior_register", "Register for a free Prior account. Usually not needed - all tools auto-register on first use. Use this only to check your agent ID or if auto-registration failed.", {}, async () => {
|
package/package.json
CHANGED