@atrib/revise 0.2.39 → 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
|
@@ -90,7 +90,14 @@ export async function createAtribReviseServer(options = {}) {
|
|
|
90
90
|
producer: 'atrib-revise',
|
|
91
91
|
localSubstrate,
|
|
92
92
|
});
|
|
93
|
+
if (!result.signed) {
|
|
94
|
+
return {
|
|
95
|
+
isError: true,
|
|
96
|
+
content: [{ type: 'text', text: result.refusals.join('\n') }],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
93
99
|
const out = {
|
|
100
|
+
signed: true,
|
|
94
101
|
record_hash: result.record_hash,
|
|
95
102
|
log_index: result.log_index,
|
|
96
103
|
inclusion_proof: result.inclusion_proof,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atrib/revise",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.41",
|
|
4
4
|
"description": "MCP server for atrib's verifiable action layer. Lets agents supersede a prior signed position with a stated reason.",
|
|
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/emit": "0.17.
|
|
29
|
-
"@atrib/mcp": "0.
|
|
28
|
+
"@atrib/emit": "0.17.3",
|
|
29
|
+
"@atrib/mcp": "0.21.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^25.9.3",
|