@agentvalet/register 0.1.7 → 0.1.8
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/index.js +10 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -223,25 +223,20 @@ ${platformSections}
|
|
|
223
223
|
|
|
224
224
|
## How to call a platform
|
|
225
225
|
|
|
226
|
-
All platform calls **must** go through
|
|
226
|
+
All platform calls **must** go through the \`mcp__agent-authority__use_platform\` MCP tool.
|
|
227
227
|
|
|
228
|
-
|
|
228
|
+
**NEVER** write inline JWT signing code, \`node -e\` scripts, or manual HTTP calls. The MCP tool handles all authentication internally.
|
|
229
229
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
"method": "POST",
|
|
239
|
-
"scope": "<scope>",
|
|
240
|
-
"data": { ... }
|
|
241
|
-
}
|
|
230
|
+
\`\`\`
|
|
231
|
+
mcp__agent-authority__use_platform({
|
|
232
|
+
platform: "<platformId>",
|
|
233
|
+
endpoint: "<endpoint>",
|
|
234
|
+
method: "POST",
|
|
235
|
+
scope: "<scope>",
|
|
236
|
+
data: { ... }
|
|
237
|
+
})
|
|
242
238
|
\`\`\`
|
|
243
239
|
|
|
244
|
-
Run \`node test-agent.mjs\` for a live smoke-test.
|
|
245
240
|
To refresh this file: \`agentvalet-register refresh\`
|
|
246
241
|
`;
|
|
247
242
|
}
|