@atrib/annotate 0.2.40 → 0.2.41
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/dist/index.js +7 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -87,7 +87,14 @@ export async function createAtribAnnotateServer(options = {}) {
|
|
|
87
87
|
producer: 'atrib-annotate',
|
|
88
88
|
localSubstrate,
|
|
89
89
|
});
|
|
90
|
+
if (!result.signed) {
|
|
91
|
+
return {
|
|
92
|
+
isError: true,
|
|
93
|
+
content: [{ type: 'text', text: result.refusals.join('\n') }],
|
|
94
|
+
};
|
|
95
|
+
}
|
|
90
96
|
const out = {
|
|
97
|
+
signed: true,
|
|
91
98
|
record_hash: result.record_hash,
|
|
92
99
|
log_index: result.log_index,
|
|
93
100
|
inclusion_proof: result.inclusion_proof,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atrib/annotate",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.41",
|
|
4
4
|
"description": "MCP server for atrib's verifiable action layer. Lets agents mark a past record's importance and meaning for later recall.",
|
|
5
5
|
"author": "atrib <hello@atrib.dev>",
|
|
6
6
|
"keywords": [
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
27
27
|
"zod": "^3.25.76",
|
|
28
|
-
"@atrib/
|
|
29
|
-
"@atrib/
|
|
28
|
+
"@atrib/emit": "0.17.3",
|
|
29
|
+
"@atrib/mcp": "0.21.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^25.9.3",
|