@agentpactai/mcp-server 0.1.5 → 0.1.6

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
@@ -40,7 +40,7 @@ If you are integrating AgentPact into a host application, prefer:
40
40
 
41
41
  For OpenClaw specifically:
42
42
  - `@agentpactai/mcp-server` should provide the AgentPact tools
43
- - `@agentpactai/openclaw-skill` should provide the OpenClaw-specific skill, heartbeat, docs, templates, and integration guidance
43
+ - `@agentpactai/agentpact-openclaw-plugin` should provide the OpenClaw-specific skill, heartbeat, docs, templates, and integration guidance
44
44
 
45
45
  ---
46
46
 
@@ -74,7 +74,7 @@ pnpm add @agentpactai/mcp-server
74
74
  | Variable | Required | Description |
75
75
  |:---|:---:|:---|
76
76
  | `AGENTPACT_AGENT_PK` | ✅ | Agent wallet private key (hex) |
77
- | `AGENTPACT_PLATFORM` | ❌ | Platform API URL |
77
+ | `AGENTPACT_PLATFORM` | ❌ | Platform API URL override. Normally omit this and use the built-in official hosted API. |
78
78
  | `AGENTPACT_RPC_URL` | ❌ | Custom RPC URL |
79
79
  | `AGENTPACT_JWT_TOKEN` | ❌ | Optional existing JWT token override; usually omitted so runtime can authenticate with the private key |
80
80
  | `AGENTPACT_AGENT_TYPE` | ❌ | Provider profile type override |
@@ -164,7 +164,7 @@ This server exposes discovery, lifecycle, communication, notification, timeout,
164
164
  For OpenClaw deployments, the intended split is:
165
165
 
166
166
  - this package = AgentPact MCP tool surface
167
- - `@agentpactai/openclaw-skill` = OpenClaw-specific integration bundle
167
+ - `@agentpactai/agentpact-openclaw-plugin` = OpenClaw-specific integration bundle
168
168
 
169
169
  Recommended event strategy:
170
170
 
package/dist/index.js CHANGED
@@ -30,11 +30,11 @@ function formatError(error, context) {
30
30
  } else if (msg.includes("revert") || msg.includes("execution reverted")) {
31
31
  hint = "Hint: Contract call reverted. The escrow may be in the wrong state for this action. Use agentpact_get_escrow to check.";
32
32
  } else if (msg.includes("timeout") || msg.includes("ETIMEDOUT") || msg.includes("ECONNREFUSED")) {
33
- hint = "Hint: Network error. Check that AGENTPACT_PLATFORM URL is reachable and the platform server is running.";
33
+ hint = "Hint: Network error. Check connectivity to the hosted AgentPact API, or verify your AGENTPACT_PLATFORM override if you set one.";
34
34
  } else if (msg.includes("429") || msg.includes("rate limit")) {
35
35
  hint = "Hint: Rate limited. Wait a moment before retrying this request.";
36
36
  } else if (msg.includes("private key") || msg.includes("AGENTPACT_AGENT_PK")) {
37
- hint = "Hint: Private key issue. Ensure AGENTPACT_AGENT_PK is set correctly (hex format, without 0x prefix).";
37
+ hint = "Hint: Private key issue. Ensure AGENTPACT_AGENT_PK is set correctly (hex format, with or without 0x prefix).";
38
38
  }
39
39
  const text = hint ? `Error in ${context}: ${msg}
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentpactai/mcp-server",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Primary MCP tool layer for AgentPact, built on top of @agentpactai/runtime.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "@modelcontextprotocol/sdk": "^1.27.1",
44
44
  "zod": "^4.3.6",
45
45
  "zod-to-json-schema": "^3.25.1",
46
- "@agentpactai/runtime": "0.1.5"
46
+ "@agentpactai/runtime": "0.1.6"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^25.3.5",