@varun-ai07/covenant-mcp 2.2.0 → 2.3.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/dist/auto-verifier.js +2 -2
- package/dist/server.js +1 -1
- package/dist/shared-types.js +10 -10
- package/package.json +6 -4
package/dist/auto-verifier.js
CHANGED
|
@@ -21,8 +21,8 @@ import { execSync } from "child_process";
|
|
|
21
21
|
import { existsSync, rmSync } from "fs";
|
|
22
22
|
import { createHash } from "crypto";
|
|
23
23
|
// ─── Configuration ───────────────────────────────────────────
|
|
24
|
-
const COVENANT_ESCROW = "
|
|
25
|
-
const COVENANT_IDENTITY = "
|
|
24
|
+
const COVENANT_ESCROW = "0xc9C113A766a4311B6Ebd129a2f88f5BCC5a5B9aa";
|
|
25
|
+
const COVENANT_IDENTITY = "0x694a9bD525288A8Faa5b795f861626ae6A10b68c";
|
|
26
26
|
const ESCROW_ABI = [
|
|
27
27
|
{ "type": "event", "name": "TaskSubmitted", "inputs": [{ "name": "taskId", "type": "uint256", "indexed": false }, { "name": "worker", "type": "address", "indexed": false }, { "name": "deliverableHash", "type": "bytes32", "indexed": false }] },
|
|
28
28
|
{ "type": "event", "name": "TaskCreated", "inputs": [{ "name": "taskId", "type": "uint256", "indexed": false }, { "name": "client", "type": "address", "indexed": false }, { "name": "metaHash", "type": "bytes32", "indexed": false }] },
|
package/dist/server.js
CHANGED
|
@@ -37,7 +37,7 @@ import { registerCovenantHelpTools } from "./tools/covenant-help.js";
|
|
|
37
37
|
export function createServer() {
|
|
38
38
|
const server = new McpServer({
|
|
39
39
|
name: "covenant-mcp",
|
|
40
|
-
version: "2.
|
|
40
|
+
version: "2.3.1",
|
|
41
41
|
});
|
|
42
42
|
// ── Core Identity ─────────────────────────────────────────────
|
|
43
43
|
registerAgentTools(server); // corven_agent: register, get, update, deactivate, stake, find
|
package/dist/shared-types.js
CHANGED
|
@@ -25,21 +25,21 @@ export const RECEIPT_TYPE = {
|
|
|
25
25
|
export const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
|
|
26
26
|
export const BASE_SEPOLIA_ADDRESSES = {
|
|
27
27
|
// V5 Core (NEW)
|
|
28
|
-
CovenantIdentity: "
|
|
29
|
-
CovenantEscrow: "
|
|
30
|
-
CovenantSettlement: "
|
|
31
|
-
CovenantArbitration: "
|
|
32
|
-
CovenantAttestation: "
|
|
33
|
-
CovenantGovernance: "
|
|
28
|
+
CovenantIdentity: "0x694a9bD525288A8Faa5b795f861626ae6A10b68c",
|
|
29
|
+
CovenantEscrow: "0xc9C113A766a4311B6Ebd129a2f88f5BCC5a5B9aa",
|
|
30
|
+
CovenantSettlement: "0x1FbD8465cF79435Ea1C12AAcA25f83468e268816",
|
|
31
|
+
CovenantArbitration: "0x84FE876aC91f4e1FA9c7DbeaFf9299500812933D",
|
|
32
|
+
CovenantAttestation: "0x0F5B060D7Eab7a2c65628CC81174958c19db91bF",
|
|
33
|
+
CovenantGovernance: "0xED595Cbe2ffe2B6836A290497Bf9c0A1B2cfc29f",
|
|
34
34
|
// V5 Extensions (NEW)
|
|
35
35
|
ParallelTaskBatch: "0xaE8C7897ED19A38B416b7B32E58F820d8D5Cd5D8",
|
|
36
36
|
AgentCollective: "0xfc5E4f36e7477F744D1d99dEf13caC02e1C0f9cE",
|
|
37
37
|
MultiTokenEscrow: "0x1930240Ab0c6D6a2d42733a4715067F355761DC1",
|
|
38
38
|
COVENANTRouter: "0xD139a54CcE4d34ebD893E47d8bFA4fcA14f6d022",
|
|
39
|
-
TrainingMarketplace: "
|
|
40
|
-
GrantProgram: "
|
|
41
|
-
InsurancePool: "
|
|
42
|
-
RevisionManager: "
|
|
39
|
+
TrainingMarketplace: "0xEC62BF280c9A5D0e492952258c38C186F3467C2a",
|
|
40
|
+
GrantProgram: "0xe625F5e90901197c560b7d213D5EA81dC96E3CEE",
|
|
41
|
+
InsurancePool: "0x6BA6971b06Acd7000AF12168ba2529Bc20E7802A",
|
|
42
|
+
RevisionManager: "0x3A1B5c762Fd0a38e708cC9F835AA144F62056d76",
|
|
43
43
|
// Legacy V1 (still deployed)
|
|
44
44
|
AgentRegistry: "0x0003072b15d2c299d46bC5FfE7785E803895E614",
|
|
45
45
|
TaskEscrow: "0x787a26f68536A53D9DB5De63a79Ef21ACA24F71C",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varun-ai07/covenant-mcp",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "COVENANT Protocol MCP Server
|
|
3
|
+
"version": "2.3.1",
|
|
4
|
+
"description": "COVENANT Protocol MCP Server \u2014 AI agent access to on-chain task marketplace",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
22
|
-
"better-sqlite3": "^12.11.1",
|
|
23
22
|
"dotenv": "^17.3.1",
|
|
24
23
|
"express": "^5.2.1",
|
|
25
24
|
"express-rate-limit": "^8.5.1",
|
|
@@ -68,5 +67,8 @@
|
|
|
68
67
|
],
|
|
69
68
|
"publishConfig": {
|
|
70
69
|
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"optionalDependencies": {
|
|
72
|
+
"better-sqlite3": "^12.11.1"
|
|
71
73
|
}
|
|
72
|
-
}
|
|
74
|
+
}
|