技能 2026-05-20 17:58 UTC
skills
由提交人 aashirjaved 提交,主要更新类型为:文档完善与说明补充。提交说明:docs(moonpay-auth): document URL-share step and session check before login (#85)。补充或修正了使用说明,上手更顺畅。
Commit提交信息原文
docs(moonpay-auth): document URL-share step and session check before login (#85) Two changes, both targeting agents that drive `mp login` on behalf of a human (chat-channel agents in particular): 1. URL share. `mp login` returns a URL whose opening is what triggers the OTP email send. The skill previously described login as OTP-only, so an agent following it would say "I sent a code to your email" and the user would never receive one — login stalls silently. The skill now tells the agent to open the URL itself if it can (e.g. browser access, fetch) or share it back to the user verbatim, with query parameters intact. 2. Session check. Before any `mp login`, run `mp user retrieve` and prompt the user if a session already exists. On a shared agent host without this gate, an agent can silently swap identities and serve the wrong user's portfolio in response to a "what's my balance" query. Both fixes are doc-only; no CLI change required.