Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.4.0

- Add staging-only UPI platform discovery, quotes, maker registration and
deposit/intent previews. Production and preproduction continue rejecting UPI.
- Adopt Peer Cash 0.5.3 and SDK 0.14.1 with stable contracts 0.4.1,
including the current Cash App readiness risk window.
- Pin the packaged MCP launcher to the matching CLI release.
- Update the MCP transport’s Hono and qs dependencies to resolve current
production dependency audit findings.

## 0.3.1

- Made free-form MCP inputs emit explicit recursive JSON schemas so strict MCP
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ The package is `peer-protocol-cli`; do not install the unrelated unscoped
`peer-cli` package.

```bash
npm install --global peer-protocol-cli@0.3.1
npm install --global peer-protocol-cli@0.4.0
peer --help
```

Run without a global install:

```bash
npx -y peer-protocol-cli@0.3.1 quote --from USD --amount 100 --platform wise
npx -y peer-protocol-cli@0.4.0 quote --from USD --amount 100 --platform wise
```

Successful output is JSON by default. Errors always use the canonical JSON
Expand Down Expand Up @@ -73,7 +73,7 @@ The current tool counts are generated in `agents/runtime-manifest.json`.
"command": "npx",
"args": [
"-y",
"peer-protocol-cli@0.3.1",
"peer-protocol-cli@0.4.0",
"mcp",
"--profile",
"read-only"
Expand Down Expand Up @@ -196,3 +196,12 @@ The documentation application for `agents.peer.xyz` is owned by
`zkp2p/zkp2p-clients` at `clients/agents`; this repository owns the executable
runtime, package manifests, portable skill, and generated contracts it
documents.

### Staging UPI

UPI/INR is available only with `--env staging`. Use `peer config platforms
--env staging` to inspect that environment’s catalog and `peer quote --env
staging --from INR --amount 100 --platform upi` to request a quote. Deposit
creation, payee registration and intent previews accept the same staging
platform. Peerlytics analytics and Peer Cash keep their own supported rails;
this does not add UPI to those services.
2 changes: 1 addition & 1 deletion agents/tool-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -3671,7 +3671,7 @@
"config",
"platforms"
],
"description": "List supported payment platforms.",
"description": "List payment platforms supported in the selected environment.",
"parameter_schema": {
"type": "object",
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ catalogs own enumerations; prose must not duplicate a command inventory.

## MCP

Run `npx -y https://github.com/zkp2p/peer-cli/releases/download/v0.3.1/peer-protocol-cli-0.3.1.tgz mcp --profile <profile>`.
Run `npx -y peer-protocol-cli@0.4.0 mcp --profile <profile>`.

- read-only: generic and Peer Cash reads; no signing or broadcasting
- cash: complete peer_cash_* surface; prepares unsigned plans and never accepts
Expand Down
2 changes: 1 addition & 1 deletion mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"command": "npx",
"args": [
"-y",
"peer-protocol-cli",
"peer-protocol-cli@0.4.0",
"mcp",
"--profile",
"cash"
Expand Down
83 changes: 21 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peer-protocol-cli",
"version": "0.3.1",
"version": "0.4.0",
"mcpName": "io.github.zkp2p/peer",
"description": "Agent-first CLI and MCP server for the Peer (ZKP2P) protocol and Peer Cash",
"bin": {
Expand Down Expand Up @@ -77,8 +77,8 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.30.0",
"@zkp2p/cash": "^0.5.1",
"@zkp2p/sdk": "^0.14.0",
"@zkp2p/cash": "^0.5.3",
"@zkp2p/sdk": "^0.14.1",
"commander": "^14.0.3",
"viem": "^2.55.19",
"zod": "^4.4.3"
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "peer",
"version": "0.3.1",
"version": "0.4.0",
"description": "Operate the Peer protocol and prepare custody-separated Peer Cash transactions through one CLI and MCP server.",
"author": {
"name": "Peer",
Expand Down
2 changes: 1 addition & 1 deletion server.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "io.github.zkp2p/peer",
"title": "Peer",
"description": "Read Peer protocol, market, checkout, and Peer Cash data through one MCP server.",
"version": "0.3.1",
"version": "0.4.0",
"websiteUrl": "https://agents.peer.xyz",
"repository": {
"url": "https://github.com/zkp2p/peer-cli",
Expand Down
2 changes: 1 addition & 1 deletion skills/peer-cash/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ broadcasts.
Configure the host to run:

```bash
npx -y https://github.com/zkp2p/peer-cli/releases/download/v0.3.1/peer-protocol-cli-0.3.1.tgz mcp --profile cash
npx -y peer-protocol-cli@0.4.0 mcp --profile cash
```

Keep optional `PEER_CASH_*` values in the host's secret or MCP configuration,
Expand Down
6 changes: 3 additions & 3 deletions src/commands/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { privateKeyToAccount } from 'viem/accounts';
import type { CommandDefinition } from './framework.js';
import { readStoredConfig, replaceStoredConfig, writeStoredConfig } from '../sdk/config.js';
import { SUPPORTED_CURRENCIES, SUPPORTED_ENVS, SUPPORTED_PLATFORMS } from '../utils/constants.js';
import { SUPPORTED_CURRENCIES, SUPPORTED_ENVS, supportedPlatforms } from '../utils/constants.js';
import { createError } from '../output/errors.js';
import { ensureHexPrivateKey, ensureOneOf, ensureString } from '../utils/validation.js';

Expand Down Expand Up @@ -137,9 +137,9 @@ export const configDefinitions: CommandDefinition[] = [
},
{
path: ['config', 'platforms'],
description: 'List supported payment platforms.',
description: 'List payment platforms supported in the selected environment.',
readOnly: true,
handler: async () => [...SUPPORTED_PLATFORMS],
handler: async (_input, context) => [...supportedPlatforms(context.config.env)],
},
{
path: ['config', 'currencies'],
Expand Down
Loading