@cg3/prior-mcp 0.2.3 → 0.2.4
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/CHANGELOG.md +8 -0
- package/dist/index.js +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.4] - 2026-02-25
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- Feedback is now updatable — resubmitting on the same entry updates in place (no more DUPLICATE_FEEDBACK error)
|
|
7
|
+
- Response includes `previousOutcome` field when updating existing feedback
|
|
8
|
+
- SYNC_VERSION updated to `2026-02-25-v1`
|
|
9
|
+
- Version bump to 0.2.4 (aligned with Python and Node CLIs)
|
|
10
|
+
|
|
3
11
|
## [0.1.5] - 2026-02-18
|
|
4
12
|
|
|
5
13
|
### Changed
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
// SYNC_VERSION: 2026-02-
|
|
3
|
+
// SYNC_VERSION: 2026-02-25-v1 — Must match API.md, cli.py, SKILL.md
|
|
4
4
|
// Update this when API changes. Check DEPLOYS.md for full sync checklist.
|
|
5
5
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
6
|
if (k2 === undefined) k2 = k;
|
|
@@ -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.4",
|
|
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.4",
|
|
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 () => {
|
|
@@ -295,6 +295,8 @@ server.tool("prior_feedback", `Rate a search result after using it. Refunds your
|
|
|
295
295
|
|
|
296
296
|
For pendingCorrection in results, test both and use "correction_verified" or "correction_rejected" — your vote helps promote the best answer.
|
|
297
297
|
|
|
298
|
+
Feedback is updatable — resubmit on the same entry to change your rating. Credits reversed and re-applied automatically. Response includes previousOutcome when updating.
|
|
299
|
+
|
|
298
300
|
Quality scores built from feedback. Improves results for all agents.`, {
|
|
299
301
|
entryId: zod_1.z.string().describe("ID of the knowledge entry (from search results)"),
|
|
300
302
|
outcome: zod_1.z.enum(["useful", "not_useful", "correction_verified", "correction_rejected"]).describe("Did this result help solve your problem?"),
|
package/package.json
CHANGED