feat: keyless scan_site via the anonymous free tier#3
Merged
Conversation
Started without AGENT_READY_API_KEY, the server previously returned a configuration message from every scan tool. scan_site now falls back to the public POST /api/scan path (anonymous IP quota, 3 scans/30 days, 25-page depth, synchronous) so the tool works with zero configuration — the result carries a tier note in the declared `message` field, and the quota-429 maps to a ToolError with the reset date and Pro hint. - client: postAnonScan() — keyless, string-error body handling - get_scan keyless now explains that history needs a Pro key - bin/server/README copy updated to the keyless reality; 0.6.0 - new test file covers the fallback incl. SDK output-schema validation end-to-end through the registered handler Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the activation fix from the Hermes commercial diagnosis (2026-07-18): ~1,369 monthly npm downloads currently boot into a server whose scan tools only return a configuration message without a Pro key.
scan_sitenow works keyless via the public anonymous/api/scanpath (3 scans/30 days/IP, 25 pages, synchronous), with the upsell riding the declaredmessageoutput field.postAnonScan()client fn — no auth header, maps the{error, resetAt}429 body toquota_exhausted+ Pro hintget_scankeyless returns a tailored message (history is account-scoped; anonymous scans return results inline)Companion changes: agent-ready-cli keyless fallback (mlava/agent-ready-cli#2) + main-repo pricing/docs copy (separate PR).
🤖 Generated with Claude Code