@astrasyncai/verification-gateway 2.5.0 → 2.5.1
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/dist/adapters/nextjs.js +1 -1
- package/dist/adapters/nextjs.js.map +1 -1
- package/dist/adapters/nextjs.mjs +1 -1
- package/dist/adapters/nextjs.mjs.map +1 -1
- package/dist/browser/background.js.map +1 -1
- package/dist/browser/background.mjs.map +1 -1
- package/dist/cursor/extension.js.map +1 -1
- package/dist/cursor/extension.mjs.map +1 -1
- package/dist/gateway/gateway.js.map +1 -1
- package/dist/gateway/gateway.mjs.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/dist/registration/index.js +7 -7
- package/dist/registration/index.js.map +1 -1
- package/dist/registration/index.mjs +7 -7
- package/dist/registration/index.mjs.map +1 -1
- package/dist/ui/index.js +2 -2
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/dist/ui/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1271,7 +1271,7 @@ function generateCommerceShieldHtml(result, options) {
|
|
|
1271
1271
|
);
|
|
1272
1272
|
const registrationUrl = sanitizeUrl(
|
|
1273
1273
|
result.guidance?.registrationUrl,
|
|
1274
|
-
"https://astrasync.ai/register"
|
|
1274
|
+
"https://astrasync.ai/agents/register"
|
|
1275
1275
|
);
|
|
1276
1276
|
const docsUrl = sanitizeUrl(
|
|
1277
1277
|
result.guidance?.documentationUrl,
|
|
@@ -5067,15 +5067,15 @@ function buildGuidance(params) {
|
|
|
5067
5067
|
status: "credentials_required",
|
|
5068
5068
|
message,
|
|
5069
5069
|
guidance: {
|
|
5070
|
-
message: "
|
|
5071
|
-
registrationUrl: `${origin}/register`,
|
|
5070
|
+
message: "Register either with an agent-scoped API key (the recommended credentialed path) OR, if you hold no credentials, via the owner's email using request_registration. Never send a password or private key over the wire.",
|
|
5071
|
+
registrationUrl: `${origin}/agents/register`,
|
|
5072
5072
|
documentationUrl: `${origin}${docsPath.startsWith("/") ? docsPath : `/${docsPath}`}`,
|
|
5073
5073
|
steps: [
|
|
5074
|
-
"
|
|
5075
|
-
"
|
|
5076
|
-
"
|
|
5077
|
-
"
|
|
5078
|
-
"
|
|
5074
|
+
"Credentialed path (recommended): have your human mint an agent-scoped API key at Settings \u2192 API Keys, then re-call register_agent with apiKey set. An agent holding its own scoped kya_ key is fine and intended.",
|
|
5075
|
+
"No-credentials path: call request_registration({ name, ownerEmail, ... }) with the human owner's email \u2014 the only bootstrap credential. No API key is involved.",
|
|
5076
|
+
"The owner approves via an emailed link (first time, they create an account and complete a quick verification).",
|
|
5077
|
+
"Use poll_registration({ requestId }) once the owner confirms approval to retrieve the astraId.",
|
|
5078
|
+
"Never transmit a password or private key over the MCP wire \u2014 those are never required."
|
|
5079
5079
|
]
|
|
5080
5080
|
}
|
|
5081
5081
|
};
|