@attesso/mcp 2.0.0 → 2.0.1

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 CHANGED
@@ -33,7 +33,7 @@ Attesso doesn't touch money — it authorizes, validates, revokes, and audits. T
33
33
 
34
34
  | Tool | Description |
35
35
  |------|-------------|
36
- | `attesso_revoke_mandate` | Revoke mandate, atomically destroy all derived instruments |
36
+ | `attesso_revoke_mandate` | Revoke mandate, destroy all derived instruments with cryptographic proof |
37
37
 
38
38
  ## Environment Variables
39
39
 
File without changes
package/dist/src/tools.js CHANGED
@@ -30,8 +30,8 @@ export const toolDefinitions = [
30
30
  // Write operations
31
31
  {
32
32
  name: 'attesso_revoke_mandate',
33
- description: 'Revoke a mandate, atomically destroying all derived payment instruments ' +
34
- 'across all processors. Use this when spending authorization is no longer needed.',
33
+ description: 'Revoke a mandate, destroying all derived payment instruments across all ' +
34
+ 'processors with cryptographic proof. Use this when spending authorization is no longer needed.',
35
35
  inputSchema: zodToJsonSchema(schemas.revokeMandate, 'RevokeMandateInput'),
36
36
  zodSchema: schemas.revokeMandate,
37
37
  isWriteOperation: true,
@@ -1 +1 @@
1
- {"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAUvC,MAAM,CAAC,MAAM,eAAe,GAAqB;IAC/C,kBAAkB;IAClB;QACE,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EACT,+FAA+F;YAC/F,4EAA4E;QAC9E,WAAW,EAAE,eAAe,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC;QACnE,SAAS,EAAE,OAAO,CAAC,UAAU;QAC7B,gBAAgB,EAAE,KAAK;KACxB;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,WAAW,EAC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ACE,IAAI,EAAE,yBAAyB;QAC/B,WAAW,EACT,wEAAwE;YACxE,4DAA4D;YAC5D,2EAA2E;QAC7E,WAAW,EAAE,eAAe,CAAC,OAAO,CAAC,aAAa,EAAE,oBAAoB,CAAC;QACzE,SAAS,EAAE,OAAO,CAAC,aAAa;QAChC,gBAAgB,EAAE,KAAK;KACxB;IACD,mBAAmB;IACnB;QACE,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EACT,0EAA0E;YAC1E,gGAAgG;QAClG,WAAW,EAAE,eAAe,CAAC,OAAO,CAAC,aAAa,EAAE,oBAAoB,CAAC;QACzE,SAAS,EAAE,OAAO,CAAC,aAAa;QAChC,gBAAgB,EAAE,IAAI;KACvB;CACF,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,IAAY;IACxC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC;AAC5D,CAAC;AAED,MAAM,UAAU,WAAW;IACzB,OAAO,eAAe,CAAC;AACzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attesso/mcp",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Attesso MCP server. Authorization and safety tools for AI agents.",
5
5
  "author": "Attesso",
6
6
  "license": "MIT",
@@ -31,11 +31,6 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "scripts": {
35
- "build": "tsc",
36
- "dev": "tsc --watch",
37
- "clean": "rm -rf dist"
38
- },
39
34
  "keywords": [
40
35
  "attesso",
41
36
  "mcp",
@@ -48,10 +43,10 @@
48
43
  "llm"
49
44
  ],
50
45
  "dependencies": {
51
- "@attesso/sdk": "workspace:*",
52
- "@attesso/types": "workspace:*",
53
46
  "@modelcontextprotocol/sdk": "^1.26.0",
54
- "zod-to-json-schema": "^3.23.0"
47
+ "zod-to-json-schema": "^3.23.0",
48
+ "@attesso/sdk": "2.1.0",
49
+ "@attesso/types": "2.0.1"
55
50
  },
56
51
  "peerDependencies": {
57
52
  "zod": ">=3.25.0"
@@ -65,5 +60,11 @@
65
60
  "typescript": "^5.9.0",
66
61
  "vitest": "^4.0.0",
67
62
  "zod": "^3.25.0"
63
+ },
64
+ "scripts": {
65
+ "build": "tsc",
66
+ "dev": "tsc --watch",
67
+ "test": "vitest run",
68
+ "clean": "rm -rf dist"
68
69
  }
69
- }
70
+ }