agent-passport-system-mcp 6.1.2 → 7.0.0

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
@@ -12,7 +12,7 @@ Enforcement and accountability layer for AI agents. Bring your own identity. 152
12
12
  npx agent-passport-system-mcp
13
13
  ```
14
14
 
15
- agent-passport-system-mcp 6.0.0 targets SDK 6.0.0; 5.0.2 targets SDK 5.x.
15
+ agent-passport-system-mcp 7.0.0 targets SDK 8.x. The 6.x line targets SDK 6.x, and 5.0.2 targets SDK 5.x.
16
16
 
17
17
  The default profile is `full`, all 152 tools. Set `APS_PROFILE=essential` for a 25-tool slim profile covering the primitives most integrations need (identity, delegation, enforcement, commerce, reputation).
18
18
 
@@ -217,7 +217,7 @@ Layer 1: Agent Passport Protocol (Ed25519 identity)
217
217
 
218
218
  ## Links
219
219
 
220
- - npm SDK: [agent-passport-system](https://www.npmjs.com/package/agent-passport-system) (v7.2.1)
220
+ - npm SDK: [agent-passport-system](https://www.npmjs.com/package/agent-passport-system) (v8.0.0)
221
221
  - Python SDK: [agent-passport-system](https://pypi.org/project/agent-passport-system/) (v4.2.1)
222
222
  - Rust SDK: [agent-passport-system](https://crates.io/crates/agent-passport-system) (v0.3.0; library crate `agent_passport`)
223
223
  - Go SDK: [agent-passport-go](https://pkg.go.dev/github.com/aeoess/agent-passport-go) (v0.7.0; `go get github.com/aeoess/agent-passport-go@v0.7.0`)
package/build/index.js CHANGED
@@ -1732,7 +1732,7 @@ server.registerTool("create_delegation", { description: "[OPERATOR] Create a sco
1732
1732
  delegated_to: z.string().describe("Public key of the agent receiving delegation"),
1733
1733
  scope: z.array(z.string()).describe("Scopes to grant (e.g. ['web_search', 'code_execution'])"),
1734
1734
  spend_limit: z.number().default(500).describe("Maximum spend allowed"),
1735
- max_depth: z.number().default(1).describe("How many levels of sub-delegation"),
1735
+ max_depth: z.number().int().min(0).default(1).describe("How many levels of sub-delegation (a non-negative integer)"),
1736
1736
  expires_in_hours: z.number().default(24).describe("Delegation validity in hours"),
1737
1737
  }) }, async (args) => {
1738
1738
  recordBehavior('create_delegation');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-passport-system-mcp",
3
- "version": "6.1.2",
3
+ "version": "7.0.0",
4
4
  "mcpName": "io.github.agent-passport-system/agent-passport-mcp",
5
5
  "description": "MCP server for the Agent Passport System, protocol-layer tools only. Identity, delegation, reputation, attestation, coordination, commerce, charter amendment lifecycle, attribution. Counts and the SDK version it tracks live in the README.",
6
6
  "type": "module",
@@ -51,7 +51,7 @@
51
51
  "homepage": "https://github.com/agent-passport-system/agent-passport-mcp",
52
52
  "dependencies": {
53
53
  "@modelcontextprotocol/server": "2.0.0",
54
- "agent-passport-system": "^6.0.0",
54
+ "agent-passport-system": "^8.0.0",
55
55
  "zod": "^4.2.0"
56
56
  },
57
57
  "overrides": {