Skip to content

feat(agent): /agent・setup.md・llms.txt を MCP 0.16 に切り替える (wallet_history) - #549

Merged
cipherwebllc merged 1 commit into
mainfrom
feat/agent-web-mcp-016
Sep 21, 2026
Merged

cipherwebllc merged 1 commit into
mainfrom
feat/agent-web-mcp-016

Conversation

@cipherwebllc

Copy link
Copy Markdown
Owner

何をするか

openpay-x402-mcp 0.16.0 が npm に公開された (9/22・registry の integrity sha512-ESwhSg…6sbu9Q==#547 merge 後の npm pack --dry-run と一致・11 files) ので、Web 側の版固定を 0.15 → 0.16 に上げ、wallet_history の案内を足す。#547 の「② Web 切替」。

  • lib/agentSetup.ts: AGENT_MCP_VERSION = '0.16' → /agent の生成設定と /guide/ai-pay の設定例が追従
  • public/agent/setup.md: 版固定 5 箇所・冒頭の説明・Step 5 の末尾に wallet_history の 1 段落
  • public/llms.txt: 全 11 → 12 ツールwallet_history の説明
  • docs/agent-templates/jpyc-service-monitor.md と AI ストアの MCP 設定例 (components/X402DiscoveryView.tsx・bundle のため直書き) の版

公開文言 (要承認)

setup.md (英語・Agent が読む手順書) に追加した段落:

After payments are enabled, the person can ask what this agent bought: call wallet_history. It reads a local log on this machine (~/.openpay-x402/purchases.jsonl) — OpenPay's servers keep no per-buyer purchase history. The log can be incomplete, and only paid_verified entries carry an amount and a transaction hash; never present paid_unverified or unknown as paid. Amounts and settlement are confirmed on-chain, in Agent activity on the fundingUrl page.

冒頭: 「The commands below pin @0.16. The local wallet arrived in 0.15; 0.16 adds wallet_history, a local log of what this agent bought.」

llms.txt に追加した文 (日本語):

0.16 以降は wallet_history が、この Agent が買ったものを利用者のマシン上のログから返す(OpenPay のサーバーは買い手別の購入履歴を保持しない・ログは欠損しうる・金額と tx は検証済みの領収書がある分だけ・着金の確認はオンチェーン)

料率・チェーン対応・課金条件の変更なし (掟 14 の開示 3 点セットは対象外)。プライバシーポリシーも変更なし (サーバは新しく何も保持しない)。/agent ページ本文 (lib/agentPage.ts) には触れていない — 「Agent に『最近なにを買った?』と聞けます」の 1 行を足すかは別途相談。

検証

  • npm view openpay-x402-mcp@0.16 version0.16.0 (版固定が npm で解決する)
  • 実機一巡済み (9/22・リポ版 0.16.0): x402_paysettlement: verifiedhistory: recordedwallet_historypaid_verified 1 件・tx が本番 Agent activity の出金行と一致
  • フェンス 16 files / 273 tests pass (agentSetupagentSetupMd = setup.md 内の版が AGENT_MCP_SPEC と一致・agentTemplateDocsaiPayGuideX402DiscoveryViewllmsTxtDisclosure・agent components)
  • typecheck / eslint OK・page ファイル変更なし

🤖 Generated with Claude Code

https://claude.ai/code/session_01HeizmagJBgL5peL5mQpxkc

…ry = 何を買ったかの手元ログ)

openpay-x402-mcp 0.16.0 が npm に公開された (registry の integrity は #547 の dry-run と一致)。
Web 側の版固定を 0.15 → 0.16 に上げ、wallet_history の案内を足す。

- lib/agentSetup.ts AGENT_MCP_VERSION = 0.16 (/agent の生成設定・/guide/ai-pay が追従)
- public/agent/setup.md: 版固定 5 箇所・Step 5 の末尾に wallet_history の 1 段落
  (手元のログ・OpenPay のサーバーは買い手別の履歴を持たない・欠損しうる・paid_verified 以外を
  支払い済みとして示さない・金額と着金はオンチェーンで確認)
- public/llms.txt: 全 11 → 12 ツール・wallet_history の説明
- docs/agent-templates と AI ストアの MCP 設定例 (直書き) の版

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HeizmagJBgL5peL5mQpxkc
@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
openpay Ignored Ignored Preview Sep 21, 2026 10:03pm UTC

Request Review

@cipherwebllc
cipherwebllc merged commit 916ac75 into main Sep 21, 2026
7 checks passed
@cipherwebllc
cipherwebllc deleted the feat/agent-web-mcp-016 branch September 21, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant