Cloudflare Agents: Agent Safe policy for `withX402Client`
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- blockchain, typescript
- 領域
- blockchain, payments
調査の方向性
Start by reading the Cloudflare x402 docs to see what the withX402Client confirmation callback receives, then check whether it exposes the origin. The work goes in examples/cloudflare-agents/, with a test against the SDK's mock merchant. Done means one allowed payment passes, and a swapped payee is refused with nothing signed. Comment on the issue before starting, since the maintainers ask for discussion first.
索引モデルが issue の本文から書いたものです。
説明
Cloudflare's Agents SDK pays x402 through withX402Client (see the docs). It takes a confirmation callback that decides whether a payment goes ahead. A budget or payee check could live there.
What: investigate what that callback receives. Does it get the payment requirements, and the URL or tool that triggered the payment? Then build the smallest adapter that runs Agent Safe's policy in it: payee pinned per origin, price pin, sealed plan and budget. If the callback can't see the origin, document that limit and use the guard's fixed origin option where one URL is known.
Acceptance:
- An example in
examples/cloudflare-agents/plus a test against the SDK's mock merchant: one allowed payment, and one swapped payee refused with nothing signed. - No new runtime dependency in the SDK.
New to the repo? Start with CONTRIBUTING.md. Every outside PR goes through the review gates in docs/REVIEWING.md. Please discuss any new dependency in this issue first. Comment here before starting, so two people don't build the same thing.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 51分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeepFirstHQ/deepfirstsearch のほかの issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
help wanted integration
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
enhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
help wanted integration
難易度 3/5 半日 初心者へのやさしさ 25/100
-
enhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
DeepFirstHQ/deepfirstsearch の issue をすべて見る
似ている issue
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
code-yeongyu/senpi#3436 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lingdojo/kana-dojo#32505 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/gh-aw-firewall#10040 ·
メンテナーはふだん 1 日以内に返信
-
review-followup
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
griffinwork40/agent-afk#3868 ·
メンテナーはふだん 1 日以内に返信
-
area: import-export bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
amatya-aditya/obsidian-rss-dashboard#1191 ·
メンテナーはふだん 1 日以内に返信